/* ============================================================================
   T&B Custom Clean — front-end design system
   Palette: warm cream + sand + sage greenery, charcoal-olive ink.
   Type:    Cormorant Garamond (display serif) · Fraunces (accent serif)
            · Jost (UI / body)
   ========================================================================== */

:root {
    /* Surfaces */
    --cream:      #faf6ee;
    --cream-2:    #f4eee1;
    --sand:       #ece3d2;
    --sand-deep:  #e0d4ba;

    /* Greenery */
    --sage:       #93a085;
    --sage-soft:  #b6c0a8;
    --sage-deep:  #6c7a5d;
    --olive:      #49543c;
    --olive-ink:  #38422e;

    /* Ink */
    --ink:        #2c312a;
    --ink-soft:   #5d6353;
    --ink-faint:  #8a8775;

    /* Lines & accents */
    --line:       #ddd1ba;
    --line-soft:  #ebe2d1;
    --gold:       #b89b6a;

    --white:      #ffffff;

    /* Type */
    --serif:  'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --script: 'Great Vibes', 'Segoe Script', cursive;   /* flowing calligraphy accent */
    --sans:   'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

    /* Rhythm */
    --container: 1200px;
    --gutter: clamp(20px, 5vw, 64px);
    --radius: 14px;
    --shadow-soft: 0 24px 50px -28px rgba(56, 66, 46, .45);
    --shadow-lift: 0 36px 70px -32px rgba(56, 66, 46, .55);

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--sage-soft); color: var(--olive-ink); }

/* ---- Type ----------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; color: var(--olive-ink); letter-spacing: .005em; }
.display { font-size: clamp(2.8rem, 6.2vw, 5.4rem); font-weight: 500; }
.h-xl    { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.h-lg    { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
p { color: var(--ink-soft); }
.lead { font-size: 1.18rem; color: var(--ink-soft); }

.eyebrow {
    font-family: var(--sans);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .32em;
    font-size: .72rem;
    color: var(--sage-deep);
}
.script {
    font-family: var(--script);
    font-weight: 400;
    color: var(--sage-deep);
    line-height: 1;
    letter-spacing: .01em;
}
.script-accent { /* flowing script accent inside serif headings */
    font-family: var(--script);
    color: var(--sage-deep);
    font-size: 1.32em;
    font-weight: 400;
    line-height: 1;
}

/* ---- Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }
.bg-cream2 { background: var(--cream-2); }
.bg-sand   { background: var(--sand); }
.bg-olive  { background: var(--olive); color: var(--cream); }
.center { text-align: center; }
.measure { max-width: 60ch; }
.mx-auto { margin-inline: auto; }

/* Section heading cluster */
.heading { max-width: 640px; }
.heading.center { margin-inline: auto; }
.heading .eyebrow { display: block; margin-bottom: 18px; }
.heading h2 { margin-bottom: 18px; }
.heading p { font-size: 1.08rem; }

/* ---- Botanical divider (echoes the logo's olive sprig) -------------------- */
.sprig { display: flex; align-items: center; justify-content: center; gap: 16px; color: var(--sage); }
.sprig svg { width: 116px; height: auto; opacity: .9; }
.sprig .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sage); }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
    --btn-bg: var(--olive);
    --btn-fg: var(--cream);
    display: inline-flex; align-items: center; gap: .6em;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--sans); font-weight: 400;
    text-transform: uppercase; letter-spacing: .16em; font-size: .76rem;
    padding: 16px 32px; border: 1px solid var(--btn-bg); border-radius: 999px;
    transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(56,66,46,.6); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--olive-ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--sage-deep); color: var(--sage-deep); box-shadow: none; }
.btn--light { --btn-bg: var(--cream); --btn-fg: var(--olive-ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: var(--cream); border-color: rgba(250,246,238,.45); }
.btn--on-dark:hover { background: var(--cream); color: var(--olive-ink); }
.btn--sm { padding: 11px 22px; font-size: .7rem; }

.link-underline {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .74rem;
    color: var(--olive-ink); padding-bottom: 4px;
    border-bottom: 1px solid var(--sage); transition: gap .3s var(--ease), color .3s;
}
.link-underline:hover { gap: 1em; color: var(--sage-deep); }

/* ============================================================================
   NAV
   ========================================================================== */
.site-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px var(--gutter);
    transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s var(--ease);
}
.site-nav.is-stuck {
    background: rgba(250, 246, 238, .9);
    backdrop-filter: blur(14px);
    padding-block: 14px;
    box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -34px rgba(56,66,46,.6);
}
.brand { display: flex; align-items: center; gap: 13px; z-index: 2; }
.brand img { width: 46px; height: 46px; border-radius: 50%; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-family: var(--serif); font-weight: 600; font-size: 1.35rem; letter-spacing: .04em; color: var(--olive-ink); }
.brand-name span { font-family: var(--sans); font-weight: 400; font-size: .56rem; letter-spacing: .42em; text-transform: uppercase; color: var(--sage-deep); margin-top: 4px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
    font-size: .82rem; letter-spacing: .08em; color: var(--ink); font-weight: 400;
    position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px;
    background: var(--sage-deep); transition: width .35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.site-nav.on-light .nav-links a, .site-nav.on-light .brand-name strong { color: var(--olive-ink); }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--olive-ink); margin: 5px 0; transition: .3s; }

/* Mobile menu is hidden at all widths by default; only the <=720px query
   reveals it when toggled open. (Without this base rule it renders as loose
   text beneath the nav on desktop.) */
.mobile-menu { display: none; }

/* ============================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; background: var(--cream); }
.hero-grid {
    display: grid; grid-template-columns: 1.02fr 1fr; width: 100%; align-items: center;
}
.hero-copy { padding: 150px var(--gutter) 90px; max-width: 680px; margin-left: auto; }
.hero-copy .eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero-copy .eyebrow::before { content: ''; width: 38px; height: 1px; background: var(--sage); }
.hero h1 { margin-bottom: 26px; }
.hero h1 .script-accent { font-size: 1.04em; }
.hero-copy .lead { max-width: 46ch; margin-bottom: 38px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

/* Top padding clears the fixed nav so the arched image never bleeds under it. */
.hero-figure { position: relative; height: 100svh; min-height: 600px; padding: 104px 26px 30px 0; }
.hero-figure .frame {
    position: relative; height: 100%; width: 100%; overflow: hidden;
    border-radius: 280px 280px var(--radius) var(--radius); /* arched top — architectural, elegant */
    box-shadow: var(--shadow-lift);
}
.hero-figure .frame img { height: 100%; width: 100%; object-fit: cover; }
.hero-figure .frame::after { /* warm wash to keep it in palette */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(73,84,60,.12), rgba(73,84,60,0) 40%, rgba(44,49,42,.18));
}
/* Floating stat tile over the image */
.hero-badge {
    position: absolute; left: -34px; bottom: 64px; z-index: 3;
    background: var(--cream); border-radius: var(--radius);
    padding: 22px 26px; box-shadow: var(--shadow-soft); text-align: center;
    border: 1px solid var(--line-soft);
}
.hero-badge .num { font-family: var(--serif); font-size: 2.6rem; color: var(--olive-ink); line-height: 1; }
.hero-badge .lbl { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); margin-top: 8px; }

.hero-scroll {
    position: absolute; left: var(--gutter); bottom: 30px; z-index: 4;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-faint);
}
.hero-scroll .line { width: 1px; height: 42px; background: linear-gradient(var(--sage), transparent); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100%{ opacity:.3; transform: scaleY(.7);} 50%{ opacity:1; transform: scaleY(1);} }

/* ---- Trust strip ---------------------------------------------------------- */
.trust { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--cream-2); }
.trust .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-block: 26px; }
.trust .item { display: flex; align-items: center; gap: 12px; font-size: .82rem; letter-spacing: .04em; color: var(--ink-soft); }
.trust .item svg { width: 22px; height: 22px; color: var(--sage-deep); flex: none; }

/* ============================================================================
   INTRO / STATS
   ========================================================================== */
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.stat { padding: 26px 8px; border-top: 1px solid var(--line); }
.stat .num { font-family: var(--serif); font-size: 2.9rem; color: var(--sage-deep); line-height: 1; }
.stat .lbl { font-size: .76rem; color: var(--ink-soft); margin-top: 10px; letter-spacing: .03em; }
.intro-figure { position: relative; }
.intro-figure img { border-radius: var(--radius); box-shadow: var(--shadow-soft); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.intro-figure .tag {
    position: absolute; bottom: 24px; right: -22px; background: var(--olive); color: var(--cream);
    padding: 16px 22px; border-radius: 10px; max-width: 200px; box-shadow: var(--shadow-soft);
}
.intro-figure .tag .script { color: var(--sage-soft); font-size: 1.7rem; }
.intro-figure .tag p { color: rgba(250,246,238,.85); font-size: .8rem; margin-top: 4px; }

/* ============================================================================
   SERVICES / WHAT WE DO  (editorial list, not card-grid)
   ========================================================================== */
.svc-list { display: grid; gap: 0; margin-top: 50px; border-top: 1px solid var(--line); }
.svc {
    display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: baseline;
    padding: 30px 8px; border-bottom: 1px solid var(--line);
    transition: padding .4s var(--ease), background .4s var(--ease);
}
.svc:hover { background: var(--cream-2); padding-inline: 22px; }
.svc h3 { font-size: 1.7rem; margin-bottom: 8px; }
.svc p { max-width: 56ch; }
.svc .svc-meta { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); white-space: nowrap; align-self: center; }

/* ============================================================================
   WATCH US WORK  (cinematic auto-advancing reel)
   ========================================================================== */
.reel { position: relative; }
.reel-stage {
    position: relative; border-radius: var(--radius); overflow: hidden;
    aspect-ratio: 16/9; box-shadow: var(--shadow-lift); background: var(--olive-ink);
}
.reel-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease);
}
.reel-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.reel-slide.is-active { opacity: 1; }
.reel-slide.is-active img { transform: scale(1); }
.reel-stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,49,42,.05), rgba(44,49,42,.55)); pointer-events: none; }
.reel-caption {
    position: absolute; left: 32px; bottom: 30px; z-index: 3; color: var(--cream);
    display: flex; align-items: center; gap: 16px;
}
.reel-caption .play {
    width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(250,246,238,.6);
    display: grid; place-items: center; backdrop-filter: blur(6px); background: rgba(250,246,238,.12);
}
.reel-caption .play svg { width: 18px; height: 18px; margin-left: 3px; }
.reel-caption .txt strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; display: block; }
.reel-caption .txt span { font-size: .8rem; color: rgba(250,246,238,.8); letter-spacing: .04em; }
.reel-dots { position: absolute; right: 28px; bottom: 36px; z-index: 3; display: flex; gap: 9px; }
.reel-dots button { width: 30px; height: 3px; border: 0; border-radius: 2px; background: rgba(250,246,238,.35); padding: 0; transition: background .4s; }
.reel-dots button.is-active { background: var(--cream); }
.reel-note { margin-top: 22px; text-align: center; font-size: .86rem; color: var(--ink-faint); }

/* ============================================================================
   GALLERY
   ========================================================================== */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 38px 0 44px; }
.filter-btn {
    background: transparent; border: 1px solid var(--line); color: var(--ink-soft);
    border-radius: 999px; padding: 9px 20px; font-size: .76rem; letter-spacing: .1em;
    text-transform: uppercase; transition: .35s var(--ease);
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-deep); }
.filter-btn.is-active { background: var(--olive); color: var(--cream); border-color: var(--olive); }

/* Masonry via CSS columns — flows by each image's natural height, so it never
   leaves the blank/clipped tiles a fixed-row-span grid produced. */
.masonry { columns: 3; column-gap: 20px; }
.gtile {
    position: relative; break-inside: avoid; margin: 0 0 20px;
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    box-shadow: var(--shadow-soft); background: var(--sand-deep); display: block;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.gtile:hover, .gtile:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-lift); outline: none; }
.gtile img { width: 100%; height: auto; display: block; transition: transform 1.1s var(--ease); }
.gtile:hover img { transform: scale(1.05); }
.gtile-zoom {
    position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%;
    background: rgba(250,246,238,.92); color: var(--olive-ink); display: grid; place-items: center;
    opacity: 0; transform: scale(.8); transition: .4s var(--ease); backdrop-filter: blur(4px);
}
.gtile-zoom svg { width: 17px; height: 17px; }
.gtile:hover .gtile-zoom, .gtile:focus-visible .gtile-zoom { opacity: 1; transform: none; }
.gtile figcaption {
    position: absolute; inset: auto 0 0 0; padding: 34px 18px 16px;
    background: linear-gradient(transparent, rgba(44,49,42,.82));
    color: var(--cream); transform: translateY(8px); opacity: 0; transition: .45s var(--ease);
}
.gtile:hover figcaption, .gtile:focus-visible figcaption { transform: none; opacity: 1; }
.gtile figcaption .cat { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage-soft); display: block; margin-bottom: 4px; }
.gtile figcaption .cap { font-family: var(--serif); font-size: 1.18rem; }
.gtile.is-hidden { display: none; }

/* ---- Lightbox ---- */
.lightbox {
    position: fixed; inset: 0; z-index: 1000; display: none;
    background: rgba(34, 38, 30, .95); backdrop-filter: blur(8px);
    padding: clamp(16px, 4vw, 46px); grid-template-rows: 1fr auto; gap: 14px;
}
.lightbox.open { display: grid; animation: lbfade .35s var(--ease); }
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 0; }
.lb-stage img { max-width: min(1100px, 92vw); max-height: 70vh; width: auto; height: auto;
    border-radius: 10px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); object-fit: contain; }
.lb-caption { margin-top: 18px; text-align: center; color: var(--cream); }
.lb-caption .cat { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-soft); display: block; margin-bottom: 5px; }
.lb-caption .cap { font-family: var(--serif); font-size: 1.5rem; }
.lb-count { display: block; font-size: .78rem; color: rgba(250,246,238,.6); margin-top: 8px; letter-spacing: .1em; }
.lb-close { position: absolute; top: 16px; right: 20px; z-index: 3; background: none; border: 0; color: var(--cream);
    font-size: 2.4rem; line-height: 1; width: 48px; height: 48px; border-radius: 50%; transition: .3s; }
.lb-close:hover { background: rgba(250,246,238,.12); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(250,246,238,.3);
    background: rgba(250,246,238,.08); color: var(--cream); display: grid; place-items: center; transition: .3s var(--ease); }
.lb-nav:hover { background: var(--cream); color: var(--olive-ink); border-color: var(--cream); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: clamp(8px, 3vw, 34px); }
.lb-next { right: clamp(8px, 3vw, 34px); }
.lb-strip { display: flex; gap: 10px; overflow-x: auto; padding: 8px 2px 2px;
    scrollbar-width: thin; scrollbar-color: var(--sage-deep) transparent; scroll-behavior: smooth; }
.lb-strip::-webkit-scrollbar { height: 6px; }
.lb-strip::-webkit-scrollbar-thumb { background: var(--sage-deep); border-radius: 3px; }
.lb-strip img { height: 58px; width: 82px; object-fit: cover; border-radius: 7px; cursor: pointer;
    opacity: .45; transition: .3s var(--ease); flex: none; }
.lb-strip img:hover { opacity: .8; }
.lb-strip img.is-active { opacity: 1; outline: 2px solid var(--sage-soft); outline-offset: 2px; }

@media (max-width: 900px) { .masonry { columns: 2; } }
/* On phones, drop CSS multi-column entirely and stack as plain blocks. A single
   ~30,000px-tall multicol column can exceed the mobile GPU's max layer/texture
   size and fail to paint (blank gallery). Plain block flow paints incrementally. */
@media (max-width: 560px) {
    .masonry { columns: initial; column-count: initial; column-width: initial; }
    .gtile { width: 100%; }
    .lb-nav { width: 44px; height: 44px; }
    .lb-caption .cap { font-size: 1.2rem; }
}

/* ============================================================================
   ABOUT  (Tiffany)
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-portrait { position: relative; }
.about-portrait .frame {
    border-radius: 240px 240px var(--radius) var(--radius); overflow: hidden;
    box-shadow: var(--shadow-lift); aspect-ratio: 3/4;
}
.about-portrait .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .signature { margin-top: 24px; text-align: center; }
.about-portrait .signature .script { font-size: 2.6rem; color: var(--olive-ink); }
.about-portrait .signature .role { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage-deep); }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p + p { margin-top: 18px; }
.about-quote {
    font-family: var(--serif); font-size: 1.7rem; line-height: 1.4; color: var(--olive-ink);
    border-left: 2px solid var(--sage); padding-left: 26px; margin: 32px 0;
}
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 30px; margin-top: 30px; }
.about-points li { list-style: none; display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.about-points svg { width: 20px; height: 20px; color: var(--sage-deep); flex: none; margin-top: 3px; }

/* ============================================================================
   PORTAL PROMO  (client login teaser)
   ========================================================================== */
.portal-promo { background: var(--olive); color: var(--cream); position: relative; overflow: hidden; }
.portal-promo::before { /* faint botanical watermark */
    content: ''; position: absolute; right: -80px; top: -60px; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(182,192,168,.18), transparent 65%);
}
.portal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; position: relative; z-index: 1; }
.portal-grid h2 { color: var(--cream); margin-bottom: 20px; }
.portal-grid .lead { color: rgba(250,246,238,.82); }
.portal-features { margin-top: 30px; display: grid; gap: 16px; }
.portal-features li { list-style: none; display: flex; gap: 14px; align-items: center; color: rgba(250,246,238,.9); font-size: .95rem; }
.portal-features .ic { width: 38px; height: 38px; border-radius: 50%; background: rgba(250,246,238,.12); display: grid; place-items: center; flex: none; }
.portal-features .ic svg { width: 18px; height: 18px; color: var(--sage-soft); }

/* Mock device preview */
.portal-mock {
    background: var(--cream); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-lift);
    transform: rotate(-1.4deg);
}
.portal-mock .bar { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line-soft); }
.portal-mock .bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sand-deep); }
.portal-mock .bar .ttl { margin-left: auto; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sage-deep); }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 13px 6px; border-bottom: 1px solid var(--line-soft); }
.mock-row .thumb { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; flex: none; }
.mock-row .meta { flex: 1; }
.mock-row .meta strong { font-family: var(--serif); font-size: 1.05rem; color: var(--olive-ink); font-weight: 500; }
.mock-row .meta span { display: block; font-size: .74rem; color: var(--ink-faint); }
.mock-pill { font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.mock-pill.green { background: #e3ead7; color: var(--olive); }
.mock-pill.amber { background: #f3e7cf; color: #97712f; }

/* ============================================================================
   NEWSLETTER
   ========================================================================== */
.news { background: var(--sand); }
.news-card {
    background: var(--cream); border: 1px solid var(--line-soft); border-radius: 20px;
    padding: clamp(36px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr;
    gap: 50px; align-items: center; box-shadow: var(--shadow-soft);
}
.news-card .script { font-size: 2.4rem; }
.news-form { display: flex; flex-direction: column; gap: 14px; }
.news-form .row { display: flex; gap: 12px; }
.news-form input {
    flex: 1; background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px;
    padding: 16px 22px; font-family: var(--sans); font-size: .95rem; color: var(--ink);
}
.news-form input:focus { outline: none; border-color: var(--sage); background: var(--white); }
.news-form .note { font-size: .76rem; color: var(--ink-faint); }

/* ============================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); }
.contact-aside h2 { margin-bottom: 20px; }
.contact-aside .script { font-size: 2.2rem; }
.contact-info { margin-top: 36px; display: grid; gap: 22px; }
.contact-info .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .ic { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.contact-info .ic svg { width: 19px; height: 19px; color: var(--sage-deep); }
.contact-info .item span { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 3px; }
.contact-info .item strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; color: var(--olive-ink); }

/* Form — underline inputs, no boxy template look */
.form-card {
    background: var(--cream); border: 1px solid var(--line-soft); border-radius: 20px;
    padding: clamp(30px, 4vw, 50px); box-shadow: var(--shadow-soft);
}
.field { position: relative; margin-bottom: 30px; }
.field label { display: block; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage-deep); margin-bottom: 9px; }
.field input, .field select, .field textarea {
    width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
    padding: 10px 2px; font-family: var(--sans); font-size: 1.02rem; color: var(--ink);
    transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.form-card .btn { width: 100%; justify-content: center; margin-top: 6px; }

/* ---- Flash / alerts ------------------------------------------------------- */
.alert { padding: 15px 20px; border-radius: 12px; font-size: .92rem; margin-bottom: 22px; }
.alert--ok  { background: #e6ecdb; color: var(--olive); border: 1px solid var(--sage-soft); }
.alert--err { background: #f6e6df; color: #8a4b34; border: 1px solid #e0bda9; }

/* ============================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--olive-ink); color: rgba(250,246,238,.78); padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(250,246,238,.12); }
.footer-brand .brand-name strong { color: var(--cream); }
.footer-brand img { width: 56px; height: 56px; border-radius: 50%; background: var(--cream); padding: 4px; }
.footer-brand p { color: rgba(250,246,238,.62); margin-top: 18px; max-width: 34ch; font-size: .92rem; }
.footer-col h4 { font-family: var(--sans); font-weight: 500; text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; color: var(--sage-soft); margin-bottom: 20px; }
.footer-col a, .footer-col p { display: block; color: rgba(250,246,238,.74); font-size: .92rem; padding: 6px 0; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 28px; font-size: .8rem; color: rgba(250,246,238,.5); }

/* ============================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .reel-slide img { transition: none; transform: none; }
}

/* ============================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-figure { display: none; }
    .hero-copy { padding-block: 140px 80px; margin-inline: auto; text-align: left; max-width: 640px; }
    .intro-grid, .about-grid, .portal-grid, .contact-grid, .news-card { grid-template-columns: 1fr; }
    .about-portrait { max-width: 420px; }
    .intro-figure { max-width: 460px; order: -1; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    body { font-size: 16px; }
    .nav-links, .nav-cta .btn { display: none; }
    .nav-toggle { display: block; }
    .site-nav.nav-open { background: var(--cream); }
    .mobile-menu { position: fixed; inset: 0; background: var(--cream); z-index: 99; padding: 110px var(--gutter) 40px;
                   display: none; flex-direction: column; gap: 6px; }
    .mobile-menu.open { display: flex; }
    .mobile-menu a { font-family: var(--serif); font-size: 1.7rem; color: var(--olive-ink); padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
    .mobile-menu .btn { margin-top: 22px; justify-content: center; }

    .svc { grid-template-columns: 1fr; gap: 8px; }
    .svc .svc-meta { display: none; }
    .stat-row { grid-template-columns: 1fr; }
    .about-points { grid-template-columns: 1fr; }
    .field-row, .news-form .row { grid-template-columns: 1fr; flex-direction: column; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; }
    .reel-caption .txt strong { font-size: 1.1rem; }
    .hero-badge { left: auto; right: 16px; bottom: 16px; }
}
