/* =========================================================
   SEPHIROTHOS
   2016 CORPORATE WEBSITE
   ========================================================= */

:root {
    --yellow: #f3d76b;
    --yellow-dark: #e7c84f;
    --yellow-pale: #fff9dc;

    --white: #ffffff;
    --off-white: #fafaf8;
    --gray-bg: #f5f5f3;

    --text: #292929;
    --text-soft: #666666;
    --text-light: #888888;

    --border: #e6e6e3;

    --blue: #607f9d;

    --radius: 8px;
    --radius-large: 12px;

    --shadow:
        0 4px 18px rgba(0, 0, 0, 0.07);

    --max-width: 1120px;
}


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;

    background: var(--white);
    color: var(--text);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 14px;
    line-height: 1.7;

    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin-inline: auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    height: 52px;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);

    backdrop-filter: blur(8px);
}

.navbar {
    height: 52px;

    display: flex;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--text);
    text-decoration: none;

    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.brand-mark {
    width: 22px;
    height: 22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 5px;

    background: var(--yellow);

    color: #3d371f;

    font-size: 12px;
    font-weight: 800;
}

.nav-menu {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu > a:not(.nav-cta) {
    color: #555;
    text-decoration: none;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.45px;

    transition: color 0.15s ease;
}

.nav-menu > a:not(.nav-cta):hover {
    color: #111;
}

.nav-cta {
    padding: 7px 14px;

    border-radius: 3px;

    background: var(--yellow);

    color: #3a341e;
    text-decoration: none;

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.35px;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;

    margin-left: auto;

    width: 38px;
    height: 34px;

    border: 1px solid var(--border);
    border-radius: 5px;

    background: white;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 17px;
    height: 2px;

    margin: 3px auto;

    background: #444;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;

    height: 430px;

    margin-top: 16px;

    overflow: hidden;

    border-radius: var(--radius);

    box-shadow: var(--shadow);
}

.hero-image,
.hero-image img,
.hero-overlay {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
}

.hero-image img {
    object-fit: cover;
}

.hero-overlay {
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.76) 0%,
            rgba(0, 0, 0, 0.48) 38%,
            rgba(0, 0, 0, 0.08) 75%
        );
}

.hero-content {
    position: relative;
    z-index: 2;

    width: min(530px, 65%);

    padding-top: 105px;
    padding-left: 48px;

    color: white;
}

.eyebrow,
.section-label {
    color: var(--yellow-dark);

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.hero .eyebrow {
    color: #fff;
}

.hero h1 {
    margin-top: 8px;

    font-size: clamp(38px, 5vw, 57px);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -1.8px;
}

.hero h1 span,
h2 span {
    color: var(--yellow-dark);
}

.hero-copy {
    max-width: 470px;

    margin-top: 16px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 13px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 9px;

    margin-top: 22px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 9px 17px;

    border-radius: 4px;

    text-decoration: none;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.55px;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.1);
}

.button-yellow {
    background: var(--yellow);
    color: #3b351d;
}

.button-yellow:hover {
    background: var(--yellow-dark);
}

.button-light {
    background: rgba(255, 255, 255, 0.92);
    color: #333;
}

.button-large {
    min-height: 42px;
    padding-inline: 22px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 88px 0;
}

.section-gray {
    background: var(--gray-bg);
}

.section-heading {
    margin-bottom: 38px;
}

.section-heading.centered {
    max-width: 650px;
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.split-copy h2,
.story-copy h2,
.about h2,
.download-card h2,
.contact h2 {
    margin-top: 8px;

    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.12;
    letter-spacing: -1px;
}

.section-heading > p:last-child {
    max-width: 580px;
    margin-top: 12px;

    color: var(--text-soft);
    font-size: 13px;
}


/* =========================================================
   INTRO / SPLIT
   ========================================================= */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 75px;

    align-items: center;
}

.split-copy {
    max-width: 500px;
}

.split-copy > p:not(.section-label) {
    margin-top: 15px;

    color: var(--text-soft);
    font-size: 13px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-top: 21px;

    color: #333;
    text-decoration: none;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.text-link span {
    color: var(--yellow-dark);
    font-size: 14px;

    transition: transform 0.15s ease;
}

.text-link:hover span {
    transform: translateX(4px);
}

.media-card {
    position: relative;

    overflow: hidden;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}

.media-card img {
    width: 100%;
    height: 310px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.media-card:hover img {
    transform: scale(1.025);
}

.media-badge {
    position: absolute;
    left: 18px;
    bottom: 18px;

    padding: 7px 10px;

    border-radius: 4px;

    background: rgba(255, 255, 255, 0.92);

    color: #333;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.7px;
}


/* =========================================================
   FEATURES
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.feature-card {
    padding: 25px 21px;

    min-height: 255px;

    display: flex;
    flex-direction: column;

    background: white;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.025);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: var(--yellow-pale);
    color: #a58a2f;

    font-size: 18px;
}

.feature-card h3 {
    margin-top: 22px;

    font-size: 17px;
}

.feature-card p {
    margin-top: 9px;

    color: var(--text-soft);

    font-size: 12px;
    line-height: 1.7;
}

.feature-card a {
    margin-top: auto;
    padding-top: 18px;

    color: #555;
    text-decoration: none;

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.6px;
}

.feature-card a:hover {
    color: #111;
}


/* =========================================================
   STORY
   ========================================================= */

.story {
    background: white;
}

.story-row {
    display: grid;
    grid-template-columns: 1.03fr 0.97fr;
    gap: 70px;

    align-items: center;
}

.story-row + .story-row {
    margin-top: 100px;
}

.story-row-reverse {
    grid-template-columns: 0.97fr 1.03fr;
}

.story-row-reverse .story-image {
    order: 2;
}

.story-row-reverse .story-copy {
    order: 1;
}

.story-image {
    overflow: hidden;

    border-radius: var(--radius-large);

    box-shadow: var(--shadow);
}

.story-image img {
    width: 100%;
    height: 315px;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.story-image:hover img {
    transform: scale(1.025);
}

.story-copy > p:not(.section-label) {
    margin-top: 15px;

    color: var(--text-soft);

    font-size: 13px;
}

.story-copy .button {
    margin-top: 23px;
}


/* =========================================================
   TESTIMONIAL
   ========================================================= */

.testimonial {
    background: var(--yellow-pale);
}

.testimonial-inner {
    max-width: 820px;

    text-align: center;
}

.quote-mark {
    color: var(--yellow-dark);

    font-family: Georgia, serif;
    font-size: 65px;
    line-height: 0.7;
}

blockquote {
    margin-top: 15px;

    color: #37352c;

    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.6px;
}

.quote-author {
    margin-top: 20px;

    color: #8d7e47;

    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
}


/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 90px;
}

.about-copy {
    color: var(--text-soft);

    font-size: 14px;
}

.about-copy p + p {
    margin-top: 17px;
}


/* =========================================================
   DOWNLOAD
   ========================================================= */

.download {
    background: var(--gray-bg);
}

.download-card {
    padding: 55px 60px;

    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;

    align-items: center;

    border-radius: var(--radius-large);

    background: white;

    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.download-card > div:first-child > p:last-child {
    max-width: 590px;

    margin-top: 13px;

    color: var(--text-soft);

    font-size: 13px;
}

.download-actions {
    text-align: center;
}

.download-actions > p {
    margin-top: 10px;

    color: var(--text-light);

    font-size: 9px;
}


/* =========================================================
   NEWS
   ========================================================= */

.news {
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
}

.news-card {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-large);

    background: white;

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.news-card > img {
    width: 100%;
    height: 185px;

    object-fit: cover;
}

.news-content {
    padding: 21px;
}

.news-date {
    color: var(--yellow-dark);

    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.news-content h3 {
    margin-top: 8px;

    font-size: 17px;
    line-height: 1.35;
}

.news-content > p:not(.news-date) {
    margin-top: 9px;

    color: var(--text-soft);

    font-size: 11px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact {
    background: var(--gray-bg);
}

.contact-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    padding-top: 55px;

    background: #292929;

    color: #ddd;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 70px;

    padding-bottom: 45px;
}

.footer .brand {
    color: white;
}

.footer-brand > p {
    margin-top: 15px;

    color: #999;

    font-size: 11px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 130px);
    gap: 25px;
}

.footer-links h4 {
    margin-bottom: 13px;

    color: #777;

    font-size: 8px;
    letter-spacing: 0.8px;
}

.footer-links a {
    display: block;

    margin-top: 7px;

    color: #bbb;
    text-decoration: none;

    font-size: 10px;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    min-height: 50px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #414141;

    color: #777;

    font-size: 9px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {

    .nav-menu {
        gap: 14px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .split,
    .story-row,
    .story-row-reverse,
    .about-grid {
        gap: 45px;
    }

    .download-card {
        grid-template-columns: 1fr;
    }

    .download-actions {
        text-align: left;
    }
}


@media (max-width: 720px) {

    .container {
        width: min(var(--max-width), calc(100% - 28px));
    }

    .site-header,
    .navbar {
        height: 58px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 58px;
        left: 14px;
        right: 14px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        padding: 15px;

        background: white;

        border: 1px solid var(--border);
        border-radius: 8px;

        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu > a:not(.nav-cta),
    .nav-cta {
        padding: 9px;
        text-align: center;
    }

    .hero {
        height: 500px;
        margin-top: 10px;
    }

    .hero-content {
        width: 90%;
        padding: 75px 25px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .section {
        padding: 65px 0;
    }

    .split,
    .story-row,
    .story-row-reverse,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .story-row-reverse .story-image,
    .story-row-reverse .story-copy {
        order: initial;
    }

    .feature-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 35px 27px;
    }

    .contact-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        padding: 15px 0;

        flex-direction: column;
        justify-content: center;
        gap: 4px;

        text-align: center;
    }
}


@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}
