@charset "UTF-8";

/* =========================================================
   What's Next Society — Redesign 2026
   Palette aligned to brand logo (coral → orange)
   Display: Fraunces · Body: Inter
   ========================================================= */

:root {
    --coral:      #E8654A;
    --orange:     #F4A04C;
    --brand-grad: linear-gradient(118deg, #E8654A 0%, #F4A04C 100%);

    --ink:        #1C1714;   /* deep warm charcoal */
    --ink-2:      #2A231E;
    --ink-soft:   #5A514A;   /* body text on light */
    --muted:      #8A7F76;

    --cream:      #FBF7F1;   /* page background */
    --cream-2:    #F3EADD;   /* alt surface */
    --white:      #FFFFFF;

    --line:       rgba(28, 23, 20, 0.10);
    --line-light: rgba(255, 255, 255, 0.14);

    --shadow-sm:  0 4px 18px rgba(28, 23, 20, 0.06);
    --shadow-md:  0 18px 45px rgba(28, 23, 20, 0.10);
    --shadow-lg:  0 30px 70px rgba(28, 23, 20, 0.16);

    --r-sm: 12px;
    --r-md: 18px;
    --r-lg: 28px;

    --container: 1180px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ink-soft);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, blockquote {
    font-family: 'Fraunces', Georgia, serif;
    color: var(--ink);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.01em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Shared atoms ---- */
.grad-text {
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}
.eyebrow--center { display: block; }

.section-title {
    font-size: clamp(2rem, 4vw, 3.1rem);
    margin-bottom: 1.2rem;
}
.section-title--light { color: var(--cream); }

.section-sub {
    font-size: 1.1rem;
    color: var(--muted);
}

.section-head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3.5rem;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.95rem 1.9rem;
    border-radius: 100px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
}
.btn i { font-size: 0.85em; transition: transform 0.3s var(--ease); }

.btn--solid {
    background: var(--brand-grad);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(232, 101, 74, 0.32);
}
.btn--solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(232, 101, 74, 0.42);
}
.btn--solid:hover i { transform: translateX(4px); }

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.4);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}
.btn--ghost:hover i { transform: translateX(4px); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    padding: 1.1rem 0;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
.nav--scrolled {
    background: rgba(251, 247, 241, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 0.6rem 0;
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand img {
    height: 42px;
    width: auto;
    transition: height 0.4s var(--ease);
    /* logo is dark on transparent → keep crisp; add subtle bg pill on hero for legibility */
}
.nav--scrolled .nav__brand img { height: 36px; }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.4rem;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav__link {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--white);
    transition: color 0.3s;
    padding: 0.25rem 0;
}
.nav__link::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 2px;
    background: var(--brand-grad);
    transition: width 0.3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }

/* When scrolled, links sit on cream → switch to ink */
.nav--scrolled .nav__link { color: var(--ink); }

.nav__cta { padding: 0.7rem 1.5rem; }

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}
.nav__toggle span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}
.nav--scrolled .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span { background: var(--ink); }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('../assets/img/header-bg.jpg') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28,23,20,0.55) 0%, rgba(28,23,20,0.35) 40%, rgba(28,23,20,0.82) 100%),
        linear-gradient(90deg, rgba(28,23,20,0.6) 0%, rgba(28,23,20,0.1) 60%);
}

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding-top: 96px;
    padding-bottom: 96px;
}
.hero__eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 100px;
    margin-bottom: 1.6rem;
    backdrop-filter: blur(4px);
}
.hero__title {
    color: var(--white);
    font-size: clamp(2.6rem, 6.4vw, 5rem);
    font-weight: 600;
    margin-bottom: 1.4rem;
}
.hero__lead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 2.4rem;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero__scroll {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 100px;
    z-index: 2;
}
.hero__scroll span {
    position: absolute;
    left: 50%;
    top: 8px;
    width: 4px; height: 8px;
    margin-left: -2px;
    background: var(--white);
    border-radius: 4px;
    animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
    0% { opacity: 0; transform: translateY(0); }
    40% { opacity: 1; }
    80%, 100% { opacity: 0; transform: translateY(14px); }
}

/* =========================================================
   Stats strip
   ========================================================= */
.stats {
    background: var(--ink);
    color: var(--cream);
    padding: 3.2rem 0;
}
.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.stat {
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
}
.stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0; top: 50%;
    transform: translateY(-50%);
    height: 56%;
    width: 1px;
    background: var(--line-light);
}
.stat__num {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
    background: var(--brand-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat__label {
    font-size: 0.88rem;
    color: rgba(251, 247, 241, 0.7);
    line-height: 1.5;
}

/* =========================================================
   Company Profile
   ========================================================= */
.profile { padding: 7rem 0; }
.profile__grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 4.5rem;
    align-items: center;
}
.profile__media { position: relative; }
.profile__image {
    height: 540px;
    background: url('../assets/img/company-profile.jpg') center/cover no-repeat;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}
.profile__badge {
    position: absolute;
    right: -18px;
    bottom: -24px;
    background: var(--brand-grad);
    color: var(--white);
    padding: 1.4rem 1.8rem;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.profile__badge-top {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.9;
}
.profile__badge-big {
    font-family: 'Fraunces', serif;
    font-size: 1.7rem;
    font-weight: 600;
}

.profile__content p { margin-bottom: 1.1rem; font-size: 1.05rem; }
.profile__points {
    list-style: none;
    margin-top: 1.8rem;
    display: grid;
    gap: 0.9rem;
}
.profile__points li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-weight: 500;
    color: var(--ink);
}
.profile__points i {
    flex: none;
    margin-top: 4px;
    width: 22px; height: 22px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(232, 101, 74, 0.12);
    color: var(--coral);
    font-size: 0.7rem;
}

/* =========================================================
   Quote
   ========================================================= */
.quote {
    background: var(--cream-2);
    padding: 6rem 0;
    text-align: center;
}
.quote .container { max-width: 880px; }
.quote__mark {
    font-size: 2.4rem;
    color: var(--orange);
    opacity: 0.5;
    margin-bottom: 1.4rem;
}
.quote__text {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.6rem, 3.4vw, 2.6rem);
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 1.6rem;
}
.quote__cite {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--muted);
}

/* =========================================================
   Areas of Focus
   ========================================================= */
.focus { padding: 7rem 0; }
.focus__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: 2.6rem 2.2rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: var(--brand-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease);
}
.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.card:hover::before { transform: scaleX(1); }
.card__icon {
    width: 64px; height: 64px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: var(--coral);
    background: rgba(232, 101, 74, 0.10);
    margin-bottom: 1.6rem;
    transition: all 0.4s var(--ease);
}
.card:hover .card__icon {
    background: var(--brand-grad);
    color: var(--white);
    transform: rotate(-6deg) scale(1.05);
}
.card__title { font-size: 1.4rem; margin-bottom: 0.7rem; }
.card__text { color: var(--ink-soft); }

/* =========================================================
   How We Work / Process
   ========================================================= */
.process {
    background: var(--ink);
    color: var(--cream);
    padding: 7rem 0;
}
.process__grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}
.process .eyebrow { color: var(--orange); }
.process__lead {
    color: rgba(251, 247, 241, 0.72);
    font-size: 1.08rem;
    margin: 1.2rem 0 2rem;
    max-width: 420px;
}

.steps { list-style: none; counter-reset: none; }
.step {
    display: flex;
    gap: 1.6rem;
    align-items: flex-start;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--line-light);
    transition: transform 0.4s var(--ease);
}
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.step:hover { transform: translateX(8px); }
.step__num {
    flex: none;
    font-family: 'Fraunces', serif;
    font-size: 1.6rem;
    font-weight: 600;
    width: 56px; height: 56px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid var(--line-light);
    color: var(--orange);
    transition: all 0.4s var(--ease);
}
.step:hover .step__num {
    background: var(--brand-grad);
    color: var(--white);
    border-color: transparent;
}
.step__title { color: var(--white); font-size: 1.25rem; margin-bottom: 0.3rem; }
.step__text { color: rgba(251, 247, 241, 0.68); font-size: 0.98rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact {
    padding: 7rem 0;
    background:
        linear-gradient(rgba(251,247,241,0.92), rgba(251,247,241,0.92)),
        url('../assets/img/talk-to-us.jpg') center/cover no-repeat fixed;
}
.contact__card {
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.contact__intro {
    padding: 3.4rem;
    background: var(--ink);
    color: var(--cream);
}
.contact__intro .eyebrow { color: var(--orange); }
.contact__intro .section-title { color: var(--white); }
.contact__sub {
    color: rgba(251,247,241,0.74);
    margin-bottom: 2rem;
}
.contact__actions .btn { color: var(--white); }

.contact__details {
    padding: 3.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}
.contact__label {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
}
.contact__label i { color: var(--coral); }
.contact__block p { color: var(--ink-soft); }
.contact__block a { color: var(--coral); font-weight: 500; transition: color 0.3s; }
.contact__block a:hover { color: var(--orange); }

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: var(--ink-2);
    color: var(--cream);
    padding: 4rem 0 2.5rem;
    text-align: center;
}
.footer__logo {
    height: 46px;
    width: auto;
    margin: 0 auto 1.4rem;
}
.footer__tagline {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    color: var(--cream);
    margin-bottom: 1.8rem;
}
.footer__divider {
    width: 60px; height: 3px;
    margin: 0 auto 1.8rem;
    border-radius: 3px;
    background: var(--brand-grad);
}
.footer__disclaimer {
    max-width: 660px;
    margin: 0 auto 1.4rem;
    font-size: 0.85rem;
    color: rgba(251, 247, 241, 0.55);
    line-height: 1.7;
}
.footer__copy {
    font-size: 0.85rem;
    color: rgba(251, 247, 241, 0.45);
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
/* stagger children within a grid */
.focus__grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.focus__grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.stats__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.stats__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.stats__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(2) { transition-delay: 0.12s; }
.hero .reveal:nth-child(3) { transition-delay: 0.24s; }
.hero .reveal:nth-child(4) { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__bg { animation: none; transform: none; }
    .hero__scroll span { animation: none; }
    html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 980px) {
    .profile__grid { grid-template-columns: 1fr; gap: 3.5rem; }
    .profile__image { height: 420px; }
    .process__grid { grid-template-columns: 1fr; gap: 3rem; }
    .contact__card { grid-template-columns: 1fr; }
    .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1rem; }
    .stat:nth-child(2)::after { display: none; }
}

@media (max-width: 760px) {
    .nav__toggle { display: flex; }
    .nav__menu {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(78vw, 320px);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 1.8rem;
        background: var(--cream);
        padding: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        box-shadow: -20px 0 60px rgba(0,0,0,0.18);
    }
    .nav.is-open .nav__menu { transform: translateX(0); }
    .nav__links { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
    .nav__link { color: var(--ink); font-size: 1.1rem; }
    .nav__cta { color: var(--white); }

    .profile, .focus, .process, .contact, .quote { padding: 4.5rem 0; }
    .focus__grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .profile__badge { right: 12px; bottom: -18px; padding: 1rem 1.3rem; }
    .contact__intro, .contact__details { padding: 2.4rem; }
    .hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 460px) {
    .stats__grid { grid-template-columns: 1fr; }
    .stat::after { display: none !important; }
    .container { padding: 0 20px; }
}
