:root {
    --blush:      #EDD5C8;
    --cream:      #FAF4F0;
    --charcoal:   #2A2020;
    --taupe:      #C4A898;
    --taupe-lt:   #D9C0B4;
    --warm-dark:  #1A1010;
    --body-text:  #5A4844;
}

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

html { scroll-behavior: smooth; }

body {
    background: var(--cream);
    color: var(--charcoal);
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ─── NAVIGATION ───────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 300;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
}

.nav.scrolled {
    background: rgba(250,244,240,0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(196,168,152,0.2);
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.nav.scrolled .nav-brand { opacity: 1; }
.nav-brand img {
    height: 38px;
    width: auto;
    display: block;
}

/* Desktop nav links — hidden on mobile */
.nav-links { display: none; }

.nav-links a {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--taupe); }

/* Hamburger button — visible on mobile */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 310;
}
.nav-hamburger span {
    display: block;
    width: 24px; height: 1px;
    background: var(--charcoal);
    transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
    transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─── MOBILE MENU OVERLAY ──────────────────────────────── */
.mobile-menu {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 290;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-menu a {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 300;
    font-size: 2.4rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: 0.02em;
    padding: 0.7rem 2rem;
    opacity: 0;
    transform: translateY(16px);
    transition: color 0.25s, opacity 0.4s ease, transform 0.4s ease;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:hover { color: var(--taupe); }
.mobile-menu-rule {
    width: 32px; height: 1px;
    background: var(--taupe-lt);
    margin: 1.5rem 0;
    opacity: 0;
    transition: opacity 0.4s ease 0.3s;
}
.mobile-menu.open .mobile-menu-rule { opacity: 1; }
.mobile-menu-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--taupe);
    opacity: 0;
    transition: opacity 0.4s ease 0.35s;
}
.mobile-menu.open .mobile-menu-brand { opacity: 1; }

/* ─── HERO ─────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 1.5rem 4rem;
}

.hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 75% 60% at 50% 46%,
        rgba(237,213,200,0.5) 0%, transparent 68%);
    pointer-events: none;
}

.hero-logo {
    width: min(220px, 62vw);
    position: relative; z-index: 1;
    margin-bottom: 2.2rem;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) both;
}
.hero-eyebrow {
    font-size: 0.65rem; font-weight: 400;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--taupe); margin-bottom: 0.9rem;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) 0.15s both;
}
.hero-tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-weight: 300;
    font-size: clamp(1.5rem, 6vw, 2.3rem);
    color: var(--charcoal); line-height: 1.4;
    max-width: 500px;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) 0.25s both;
}
.hero-rule {
    width: 50px; height: 1px;
    background: var(--taupe); margin: 1.8rem auto;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) 0.38s both;
}
.hero-cta {
    display: inline-block;
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.22em; text-transform: uppercase;
    color: var(--charcoal); text-decoration: none;
    border-bottom: 1px solid var(--taupe); padding-bottom: 3px;
    transition: color 0.3s, border-color 0.3s;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) 0.5s both;
}
.hero-cta:hover { color: var(--taupe); border-color: var(--taupe-lt); }

.scroll-hint {
    position: absolute; bottom: 2rem;
    left: 0; right: 0;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    animation: riseUp 1.5s cubic-bezier(.16,1,.3,1) 1.1s both;
}
.scroll-hint-bar {
    width: 1px; height: 36px;
    background: rgba(196,168,152,0.18);
    position: relative;
    overflow: hidden;
}
.scroll-hint-bar::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(to bottom, transparent, var(--taupe), transparent);
    animation: scrollDown 1.8s ease-in-out infinite;
}
.scroll-hint-label {
    font-size: 0.58rem; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--taupe);
    animation: breathe 1.8s ease-in-out infinite;
    animation-delay: 0.4s;
}

/* ─── SHARED SECTION ───────────────────────────────────── */
.section { padding: 5rem 1.5rem; }
.container { max-width: 1000px; margin: 0 auto; }

.label {
    display: block; font-size: 0.65rem; font-weight: 400;
    letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--taupe); margin-bottom: 1rem;
}
.title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400; font-size: clamp(1.9rem, 6vw, 3rem);
    line-height: 1.18; color: var(--charcoal); margin-bottom: 1.6rem;
}
.title em { font-style: italic; font-weight: 300; }

.body-text { font-size: 0.95rem; line-height: 1.9; color: var(--body-text); }
.body-text + .body-text { margin-top: 1rem; }

/* ─── ABOUT ────────────────────────────────────────────── */
.about { background: var(--blush); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}
.about-visual { display: none; }

.ring {
    position: absolute; border-radius: 50%;
    border: 1px solid rgba(196,168,152,0.3);
}
.ring-sm { width: 270px; height: 270px; }
.ring-lg { width: 320px; height: 320px; border-color: rgba(196,168,152,0.14); }

/* ─── ABOUT READ MORE ──────────────────────────────────── */
.about-full { display: none; }

.about-clickable { cursor: pointer; }
.about-clickable:focus-visible { outline: 2px solid var(--taupe); outline-offset: 6px; border-radius: 2px; }

.about-more {
    display: inline-block;
    margin-top: 1.4rem;
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--taupe);
    background: none; border: none;
    border-bottom: 1px solid var(--taupe-lt);
    padding: 0 0 2px; cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
}
.about-more:hover { color: var(--charcoal); border-color: var(--charcoal); }

/* ─── QUALIFICATIONS ───────────────────────────────────── */
.quals-label {
    display: block;
    font-size: 0.6rem; font-weight: 400;
    letter-spacing: 0.24em; text-transform: uppercase;
    color: var(--taupe); margin-bottom: 0.75rem; margin-top: 2.5rem;
}
.quals { display: flex; flex-direction: column; }
.qual {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 0.75rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(196,168,152,0.25);
}
.qual:last-child { border-bottom: none; }
.qual-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.96rem; font-weight: 500;
    color: var(--charcoal);
}
.qual-school {
    font-size: 0.72rem; color: var(--body-text);
    text-align: right; line-height: 1.5;
}
.qual-progress {
    display: block;
    font-size: 0.6rem; letter-spacing: 0.14em;
    text-transform: uppercase; color: var(--taupe);
    margin-top: 0.1rem;
}

/* ─── OFFER ────────────────────────────────────────────── */
.offer { background: var(--cream); }

.offer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.offer-card {
    position: relative; padding-top: 2.5rem;
    cursor: pointer;
    background: none; border: none; text-align: left;
    font-family: inherit; color: inherit;
}
.offer-card::before {
    content: '';
    position: absolute; top: 0; left: 0;
    width: 40px; height: 1px;
    background: var(--taupe); transition: width 0.6s ease;
}
.offer-card:hover::before,
.offer-card:focus-visible::before { width: 100%; }
.offer-card:focus-visible { outline: 2px solid var(--taupe); outline-offset: 6px; border-radius: 2px; }

.offer-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; font-weight: 300; line-height: 1;
    color: rgba(196,168,152,0.38); margin-bottom: 0.8rem;
}
.offer-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; font-weight: 500;
    color: var(--charcoal); margin-bottom: 0.75rem; line-height: 1.25;
}
.offer-body {
    font-size: 0.92rem; line-height: 1.88; color: var(--body-text);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-more {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--taupe);
    border-bottom: 1px solid var(--taupe-lt);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}
.offer-card:hover .offer-more {
    color: var(--charcoal); border-color: var(--charcoal);
}

/* ─── WORK WITH US ─────────────────────────────────────── */
.collab { background: var(--warm-dark); }
/* Prevent grid cell from expanding beyond viewport to contain carousel */
.collab-grid > div { min-width: 0; }
.collab .label { color: var(--taupe-lt); }
.collab .title { color: var(--cream); }
.collab .body-text { color: rgba(250,244,240,0.65); }
.collab .body-text + .body-text { margin-top: 1rem; }

.collab-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-top: 1rem;
    align-items: start;
}

.collab-list {
    list-style: none;
    display: flex;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    margin-top: 2rem;
}
.collab-list::-webkit-scrollbar { display: none; }

.collab-list li {
    flex: 0 0 100%;
    scroll-snap-align: start;
    display: block;
    font-size: 0.9rem; line-height: 1.75;
    color: rgba(250,244,240,0.6);
    padding: 1.5rem 0 1.5rem 1.2rem;
    border-left: 1px solid rgba(196,168,152,0.2);
}
.collab-list li::before { display: none; }
.collab-list-title {
    display: block; font-weight: 400; color: var(--cream);
    font-size: 1rem; margin-bottom: 0.5rem;
}

/* Swipe hint — mobile only */
.collab-swipe-hint {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(196,168,152,0.5);
    margin-top: 2rem;
    animation: breathe 2.4s ease-in-out infinite;
}

/* Collab carousel dots */
.collab-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.8rem;
}
.collab-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(196,168,152,0.25);
    border: none; cursor: pointer; padding: 0;
    transition: background 0.3s, transform 0.3s;
}
.collab-dot.active {
    background: var(--taupe-lt);
    transform: scale(1.4);
}

.collab-aside { padding-top: 0; }

.collab-aside-intro {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.2rem; font-weight: 300;
    color: var(--taupe-lt); line-height: 1.55; margin-bottom: 2rem;
}

.collab-meta {
    display: flex; flex-direction: column; gap: 0.55rem;
    margin-bottom: 2rem;
}
.collab-meta-item {
    display: flex; align-items: center; gap: 0.7rem;
    font-size: 0.8rem; color: rgba(250,244,240,0.45);
}
.collab-meta-item::before {
    content: '·'; color: var(--taupe); font-size: 1.1rem; line-height: 1;
}

.collab-cta {
    display: inline-block;
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--cream); text-decoration: none;
    border: 1px solid rgba(196,168,152,0.35);
    padding: 0.9rem 2rem;
    transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.collab-cta:hover {
    background: rgba(237,213,200,0.08);
    border-color: rgba(196,168,152,0.6);
}

/* ─── INSTAGRAM ────────────────────────────────────────── */
.instagram { background: var(--charcoal); text-align: center; }
.instagram .label { color: var(--taupe-lt); }
.instagram .title { color: var(--cream); }

.instagram-handle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.12rem;
    color: var(--taupe); margin-top: -1.2rem; margin-bottom: 2.5rem;
}

.instagram-feed-wrapper {
    margin: 0 auto 2.5rem;
    max-width: 900px;
}


.instagram-cta {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 0.9rem 2rem;
    border: 1px solid rgba(196,168,152,0.3);
    color: rgba(250,244,240,0.7);
    font-size: 0.7rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.instagram-cta:hover {
    background: rgba(237,213,200,0.06);
    border-color: rgba(196,168,152,0.55);
    color: var(--blush);
}
.instagram-cta svg { width: 17px; height: 17px; flex-shrink: 0; }

/* ─── CONTACT ──────────────────────────────────────────── */
.contact { background: var(--blush); text-align: center; }
.contact .container { display: flex; flex-direction: column; align-items: center; }
.contact .body-text { max-width: 450px; text-align: center; }

.contact-email {
    display: inline-block; margin-top: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic; font-size: 1.2rem; font-weight: 400;
    color: var(--charcoal); text-decoration: none;
    border-bottom: 1px solid rgba(42,32,32,0.28); padding-bottom: 4px;
    transition: color 0.3s, border-color 0.3s;
    word-break: break-all;
}
.contact-email:hover { color: #6B3830; border-color: #6B3830; }

/* ─── FOOTER ───────────────────────────────────────────── */
.footer {
    background: var(--warm-dark);
    color: rgba(196,168,152,0.5);
    text-align: center; padding: 1.5rem;
    font-size: 0.68rem; letter-spacing: 0.14em;
}

/* ─── MODAL ────────────────────────────────────────────── */
.modal-overlay {
    position: fixed; inset: 0; z-index: 500;
    background: rgba(26,16,16,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex; align-items: flex-end; justify-content: center;
    padding: 0;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal {
    background: var(--cream);
    max-width: 100%; width: 100%;
    max-height: 92vh; overflow: hidden;
    display: flex; flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(.16,1,.3,1);
    border-radius: 16px 16px 0 0;
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-header {
    display: flex; justify-content: flex-end;
    padding: 1rem 1rem 0;
    flex-shrink: 0;
}
.modal-scroll {
    overflow-y: auto; flex: 1;
    padding: 0 1.5rem 2.5rem;
    -webkit-overflow-scrolling: touch;
}

.modal-close {
    background: none; border: none; cursor: pointer;
    color: var(--taupe); padding: 0.3rem;
    transition: color 0.25s;
    line-height: 1;
}
.modal-close:hover { color: var(--charcoal); }
.modal-close svg { width: 20px; height: 20px; display: block; }

.modal-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 300; line-height: 1;
    color: rgba(196,168,152,0.35); margin-bottom: 0.5rem;
}
.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.7rem; font-weight: 500;
    color: var(--charcoal); margin-bottom: 1.2rem; line-height: 1.2;
}
.modal-rule {
    width: 40px; height: 1px; background: var(--taupe); margin-bottom: 1.5rem;
}
.modal-body { font-size: 0.93rem; line-height: 1.9; color: var(--body-text); margin-bottom: 1.4rem; }

.modal-details { list-style: none; margin-bottom: 2rem; }
.modal-details li {
    display: flex; align-items: baseline; gap: 0.8rem;
    font-size: 0.88rem; line-height: 1.7; color: var(--body-text);
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(196,168,152,0.25);
}
.modal-details li::before {
    content: '—';
    color: var(--taupe); flex-shrink: 0;
    font-family: 'Cormorant Garamond', serif;
}

.modal-btn {
    display: inline-block; margin-top: 0.5rem;
    padding: 0.9rem 2rem;
    background: var(--charcoal); color: var(--cream);
    font-size: 0.72rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s;
}
.modal-btn:hover { background: #3D2A28; }

/* ─── FADE-IN ──────────────────────────────────────────── */
.fi { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fi.d1 { transition-delay: 0.1s; }
.fi.d2 { transition-delay: 0.2s; }
.fi.d3 { transition-delay: 0.32s; }
.fi.in { opacity: 1; transform: none; }

/* ─── KEYFRAMES ────────────────────────────────────────── */
@keyframes riseUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes breathe {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.3; }
}
@keyframes scrollDown {
    0%   { transform: translateY(-100%); }
    100% { transform: translateY(250%); }
}

/* ─── DESKTOP ──────────────────────────────────────────── */
@media (min-width: 820px) {
    .nav { padding: 1.6rem 3.5rem; }
    .nav-brand img { height: 44px; }
    .nav-links { display: flex; gap: 2.5rem; }
    .nav-hamburger { display: none; }
    .mobile-menu { display: none !important; }

    .section { padding: 8rem 2rem; }

    .hero { padding: 8rem 2rem 5rem; }
    .hero-logo { width: min(260px, 62vw); margin-bottom: 2.8rem; }
    .scroll-hint-bar { height: 44px; }

    .about-grid { grid-template-columns: 1.2fr 0.8fr; gap: 6rem; }
    .about-visual {
        display: flex; justify-content: center;
        align-items: center; position: relative;
        min-height: 320px;
    }
    .about-full { display: block; }
    .about-more { display: none; }
    .about-clickable { cursor: auto; pointer-events: none; }

    .offer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 4.5rem; }
    .offer-num { font-size: 3.5rem; }
    .offer-title { font-size: 1.55rem; }
    .offer-body { display: block; overflow: visible; -webkit-line-clamp: unset; }

    .collab-list {
        display: block;
        overflow: visible;
        scroll-snap-type: none;
        margin-left: 0; margin-right: 0;
    }
    .collab-list li {
        flex: none;
        border-bottom: 1px solid rgba(196,168,152,0.12);
        border-left: none; padding: 0.85rem 0;
    }
    .collab-list li::before { display: flex; }
    .collab-dots { display: none; }
    .collab-swipe-hint { display: none; }

    .collab-grid { grid-template-columns: 1.15fr 0.85fr; gap: 5rem; }
    .collab-aside { padding-top: 5.5rem; }
    .collab-aside-intro { font-size: 1.28rem; }

    .contact-email { font-size: 1.4rem; word-break: normal; }

    .modal-overlay { align-items: center; padding: 2rem; }
    .modal {
        max-width: 560px; border-radius: 0;
        transform: translateY(24px) scale(0.98);
    }
    .modal-overlay.open .modal { transform: translateY(0) scale(1); }
    .modal-header { padding: 2rem 2rem 0; }
    .modal-scroll { padding: 0 3.5rem 3.5rem; }
    .modal-title { font-size: 2rem; }
    .modal-num { font-size: 3rem; }
}
