/* =====================================================================
   Grain & Gild — site.css
   Dark editorial luxury. Marcellus display serif + Jost sans.
   Alternating dark (#0E0E0D) and ivory (#F4F0E8) sections; brass accents.
   Mobile-first. Hand-written, no framework.
   ===================================================================== */

/* ----- tokens ------------------------------------------------------- */
:root {
    /* palette */
    --dark:        #0E0E0D;   /* primary dark section bg */
    --dark-alt:    #151413;   /* alternate slightly-lighter dark */
    --dark-panel:  #1B1917;   /* placeholder/image panels on dark */
    --ivory:       #F4F0E8;   /* primary light section bg + text on dark */
    --ivory-dim:   #E7DFCF;
    --ink:         #1A1815;   /* text on ivory */
    --brass:       #B98F4A;   /* primary accent */
    --brass-lit:   #E7D3A9;   /* hover/highlight */
    --brass-dim:   #8A6A4B;   /* on-ivory brass */
    --wa-green:    #25D366;
    --line-dark:   rgba(244,240,232,0.10);
    --line-ivory:  rgba(26,24,21,0.13);
    --mute-dark:   rgba(244,240,232,0.60);
    --mute-dim:    rgba(244,240,232,0.42);
    --mute-faint:  rgba(244,240,232,0.28);
    --mute-ivory:  rgba(26,24,21,0.60);

    /* type */
    --font-serif: "Marcellus", "Cormorant Garamond", Georgia, serif;
    --font-sans:  "Jost", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-mono:  ui-monospace, Menlo, Consolas, monospace;

    /* scale (fluid) */
    --f-eyebrow: 11px;
    --f-body-sm: 14px;
    --f-body:    17px;
    --f-h4:      21px;
    --f-h3:      clamp(26px, 2.6vw, 34px);
    --f-h2:      clamp(38px, 4.4vw, 64px);
    --f-h1:      clamp(52px, 6.4vw, 104px);
    --f-quote:   clamp(28px, 3.2vw, 46px);

    /* layout */
    --container: 1280px;
    --gutter:    48px;
    --gutter-sm: 24px;
    --section-y: 150px;
}

/* ----- reset (minimal) --------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
body {
    margin: 0;
    background: var(--dark);
    color: var(--ivory);
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: var(--f-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
::selection { background: var(--brass); color: var(--dark); }

img, picture, video { max-width: 100%; display: block; height: auto; }
a { color: var(--brass); text-decoration: none; transition: color .2s; }
a:hover { color: var(--brass-lit); }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 .5em;
    letter-spacing: -.005em;
}
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
figure { margin: 0; }
blockquote { margin: 0; font-family: var(--font-serif); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
@media (max-width: 800px) { .container { padding: 0 var(--gutter-sm); } }

/* Skip link (a11y) */
.skip-link {
    position: absolute; left: -9999px;
    background: var(--ink); color: var(--ivory);
    padding: .75rem 1.25rem;
    font-size: var(--f-eyebrow); letter-spacing: .2em; text-transform: uppercase;
    z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Eyebrow (small caps label used everywhere) */
.eyebrow {
    display: block;
    font-size: var(--f-eyebrow);
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--brass);
    font-weight: 400;
}
.eyebrow--dim { color: var(--mute-faint); }
.eyebrow--ivory-dim { color: rgba(26,24,21,0.42); }

/* Dev-only note (renders in dev, hidden in prod via body[data-env]) */
.dev-note {
    background: rgba(185,143,74,0.08);
    color: var(--brass-lit);
    padding: .75rem 1rem;
    border-left: 2px solid var(--brass);
    font-family: var(--font-mono);
    font-size: var(--f-body-sm);
    margin: 1rem 0;
}

/* Placeholder panel used where a real photo isn't in yet */
.panel-placeholder {
    position: relative;
    aspect-ratio: 4/3;
    background: var(--dark-panel);
    background-image: repeating-linear-gradient(112deg, rgba(244,240,232,0.05) 0px, rgba(244,240,232,0.05) 1px, transparent 1px, transparent 11px);
    border: 1px solid rgba(244,240,232,0.08);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.panel-placeholder span {
    font-family: var(--font-mono);
    font-size: var(--f-eyebrow);
    letter-spacing: .16em;
    color: var(--mute-faint);
    text-transform: uppercase;
}

/* Section themes ---------------------------------------------------- */
.section         { padding: var(--section-y) 0; }
.section--dark   { background: var(--dark);     color: var(--ivory); }
.section--alt    { background: var(--dark-alt); color: var(--ivory); }
.section--ivory  { background: var(--ivory);    color: var(--ink); }

@media (max-width: 900px) {
    :root { --section-y: 90px; }
}

/* ----- header (fixed, blur, bordered) ------------------------------ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px var(--gutter);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(14,14,13,0.55);
    border-bottom: 1px solid rgba(244,240,232,0.08);
    transition: padding .3s cubic-bezier(.19,.86,.28,1),
                background-color .3s ease,
                border-color .3s ease;
    animation: headerIn .8s cubic-bezier(.19,.86,.28,1) both;
}
.site-header.is-scrolled {
    padding-top: 14px; padding-bottom: 14px;
    background: rgba(14,14,13,0.88);
    border-bottom-color: rgba(244,240,232,0.14);
}
@keyframes headerIn {
    from { opacity: 0; transform: translateY(-100%); }
    to   { opacity: 1; transform: none; }
}
.site-logo {
    font-family: var(--font-serif);
    font-size: 19px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ivory);
    text-decoration: none;
}
.site-logo em { color: var(--brass); font-style: normal; }

.site-nav__list {
    display: flex;
    gap: 34px;
    align-items: center;
    list-style: none;
    padding: 0; margin: 0;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 400;
}
.site-nav__list a {
    color: rgba(244,240,232,0.72);
    transition: color .2s;
}
.site-nav__list a:hover { color: var(--brass); }

.site-header__cta {
    border: 1px solid rgba(185,143,74,0.5);
    color: var(--brass);
    padding: 11px 22px;
    font-size: 12px;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .2s, color .2s;
}
.site-header__cta:hover { background: var(--brass); color: var(--dark); }

.site-nav__toggle {
    display: none;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line-dark);
}
.site-nav__toggle span {
    display: block; width: 22px; height: 1px; background: var(--ivory);
    margin: 5px auto;
}

.site-nav-mobile {
    display: none;
    background: var(--dark);
    padding: 24px var(--gutter);
    border-bottom: 1px solid var(--line-dark);
}
.site-nav-mobile[hidden] { display: none !important; }
.site-nav-mobile.is-open { display: block; }
.site-nav-mobile ul { list-style: none; padding: 0; margin: 0; }
.site-nav-mobile li { border-bottom: 1px solid var(--line-dark); }
.site-nav-mobile a {
    display: block; padding: 16px 0;
    color: rgba(244,240,232,0.85);
    font-size: 14px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
}

@media (max-width: 1000px) {
    .site-header { padding: 18px var(--gutter-sm); }
    .site-nav, .site-header__cta { display: none; }
    .site-nav__toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
    .site-nav-mobile.is-open { display: block; position: fixed; top: 68px; left: 0; right: 0; z-index: 49; max-height: calc(100vh - 68px); overflow-y: auto; }
}

/* ----- hero (split 2-col with texture layers) --------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    padding-top: 90px; /* clear fixed header */
    background: #141312;
    overflow: hidden;
}
.hero__bg-lines,
.hero__bg-glow {
    position: absolute; inset: 0; pointer-events: none;
}
.hero__bg-lines { background-image: repeating-linear-gradient(102deg, rgba(244,240,232,0.045) 0px, rgba(244,240,232,0.045) 1px, transparent 1px, transparent 9px); }
.hero__bg-glow  { background: radial-gradient(120% 90% at 78% 30%, rgba(185,143,74,0.16), transparent 60%); }

.hero__vertical {
    position: absolute; top: 50%; right: 28px;
    transform: translateY(-40%);
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--mute-faint);
    writing-mode: vertical-rl;
}

.hero__content {
    position: relative;
    padding: 100px 0 96px var(--gutter);
    max-width: 760px;
}
.hero__eyebrow { color: var(--brass); margin-bottom: 34px; }
.hero__h1 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-h1);
    line-height: 0.98;
    letter-spacing: -.015em;
    margin: 0 0 32px;
    text-wrap: balance;
    color: var(--ivory);
}
.hero__h1 em { color: var(--brass); font-style: italic; }
.hero__subhead {
    font-size: var(--f-body);
    line-height: 1.75;
    color: var(--mute-dark);
    max-width: 460px;
    margin: 0 0 46px;
    text-wrap: pretty;
}
.hero__ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.hero__trust { margin-top: 34px; color: var(--mute-dim); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

.hero__media {
    position: relative;
    height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
}
.hero__media-frame {
    position: relative;
    width: 78%; height: 74%;
    overflow: hidden;
    border: 1px solid rgba(244,240,232,0.09);
    background: var(--dark-panel);
    background-image: repeating-linear-gradient(90deg, rgba(185,143,74,0.10) 0px, rgba(185,143,74,0.10) 1px, transparent 1px, transparent 14px);
    display: flex; align-items: center; justify-content: center;
}
.hero__media-frame img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero__media-caption {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    color: var(--mute-faint);
    text-transform: uppercase;
}

@media (max-width: 1000px) {
    .hero { grid-template-columns: 1fr; min-height: auto; }
    .hero__content { padding: 60px var(--gutter-sm) 40px; }
    .hero__media { height: 60vh; min-height: 400px; }
    .hero__vertical { display: none; }
}

/* Narrow hero for utility pages (portfolio, process, about, 404) */
.hero--narrow {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 160px var(--gutter) 90px;
    align-items: start;
}
.hero--narrow .hero__content { padding: 0; max-width: 900px; margin: 0 auto; }

/* ----- buttons ---------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 34px;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
    cursor: pointer;
}
.btn--brass         { border-color: var(--brass); color: var(--brass); background: transparent; }
.btn--brass:hover   { background: var(--brass); color: var(--dark); }
.btn--brass-fill    { background: var(--brass); color: var(--dark); border-color: var(--brass); }
.btn--brass-fill:hover { background: var(--brass-lit); border-color: var(--brass-lit); color: var(--dark); }
.btn--ink           { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--ink:hover     { background: var(--brass-dim); border-color: var(--brass-dim); color: var(--ivory); }
.btn--wa            { background: var(--wa-green); color: #fff; border-color: var(--wa-green); }
.btn--wa:hover      { background: #128c7e; color: #fff; border-color: #128c7e; }
.btn--ghost {
    color: var(--mute-dark);
    padding: 16px 4px;
    border-bottom: 1px solid rgba(244,240,232,0.2);
}
.btn--ghost:hover { color: var(--ivory); }

.cta-cluster { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 1.5rem; }

/* ----- breadcrumb ------------------------------------------------- */
.breadcrumb {
    position: relative;
    padding: 120px var(--gutter) 0;
    max-width: var(--container);
    margin: 0 auto;
}
.breadcrumb__list {
    display: flex; flex-wrap: wrap; gap: .5rem;
    list-style: none; padding: 0; margin: 0;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mute-faint);
}
.breadcrumb__item + .breadcrumb__item::before { content: "/"; margin-right: .5rem; color: var(--mute-faint); }
.breadcrumb__item a { color: var(--mute-dim); text-decoration: none; }
.breadcrumb__item a:hover { color: var(--brass); }

/* Breadcrumb on ivory sections gets darker colours */
.section--ivory .breadcrumb__list,
.section--ivory .breadcrumb__item a,
.section--ivory .breadcrumb__item + .breadcrumb__item::before { color: rgba(26,24,21,0.42); }
.section--ivory .breadcrumb__item a:hover { color: var(--brass-dim); }

/* ----- AEO answer (luxury quote treatment) ---------------------- */
.aeo {
    padding: 90px var(--gutter);
    background: var(--dark);
}
.aeo__inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1.35fr; gap: 110px; align-items: start; }
.aeo__label { padding-top: 14px; }
.aeo__text {
    font-family: var(--font-serif);
    font-size: var(--f-quote);
    line-height: 1.38;
    color: var(--ivory);
    margin: 0;
    text-wrap: pretty;
    max-width: 62ch;
}
@media (max-width: 900px) {
    .aeo__inner { grid-template-columns: 1fr; gap: 30px; }
    .aeo { padding: 60px var(--gutter-sm); }
}

/* Section header (used across most sections) ---------------------- */
.section-head {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 70px;
    gap: 40px; flex-wrap: wrap;
}
.section-head__h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-h2);
    line-height: 1.05;
    margin: 0;
    max-width: 700px;
    text-wrap: balance;
}
.section-head__eyebrow { padding-bottom: 12px; }
.section-lead {
    font-size: var(--f-body);
    line-height: 1.8;
    color: var(--mute-dark);
    max-width: 560px;
    margin: -40px 0 84px;
    text-wrap: pretty;
}
.section--ivory .section-lead { color: var(--mute-ivory); }

/* ----- selected work (proof-strip + portfolio gallery) ---------- */
.selected-work__list { }
.selected-work__item {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
    padding: 52px 0;
    border-top: 1px solid var(--line-dark);
    color: var(--ivory);
    text-decoration: none;
}
.selected-work__item:last-child { border-bottom: 1px solid var(--line-dark); }
.selected-work__item:hover .selected-work__title { color: var(--brass-lit); }
.selected-work__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-h3);
    line-height: 1.12;
    margin: 0 0 22px;
    transition: color .2s;
}
.selected-work__type { color: var(--brass); margin-bottom: 20px; font-size: var(--f-eyebrow); letter-spacing: .36em; text-transform: uppercase; }
.selected-work__note { font-size: 16px; line-height: 1.8; color: var(--mute-dark); margin: 0 0 30px; max-width: 430px; text-wrap: pretty; }
.selected-work__meta {
    display: flex; gap: 26px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--mute-dim);
}
@media (max-width: 900px) {
    .selected-work__item { grid-template-columns: 1fr; gap: 30px; padding: 32px 0; }
}

/* ----- disciplines / craft (what-we-build) ---------------------- */
.craft-grid {
    display: grid; grid-template-columns: 1fr 1.35fr;
    gap: 110px; align-items: start;
    border-top: 1px solid var(--line-dark);
    padding-top: 90px;
}
.craft-grid__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-h2);
    line-height: 1.05;
    margin: 26px 0 0;
}
.craft-list { display: flex; flex-direction: column; }
.craft-list__item {
    display: grid; grid-template-columns: 64px 1fr 1.1fr;
    gap: 32px;
    align-items: baseline;
    padding: 30px 0;
    border-bottom: 1px solid var(--line-dark);
    text-decoration: none;
    color: inherit;
    transition: background .2s;
}
.craft-list__item:hover { background: rgba(185,143,74,0.03); }
.craft-list__item:hover .craft-list__name { color: var(--brass); }
.craft-list__no {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(185,143,74,0.75);
    letter-spacing: .1em;
}
.craft-list__name {
    font-family: var(--font-serif);
    font-size: 25px;
    color: var(--ivory);
    transition: color .2s;
}
.craft-list__desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(244,240,232,0.5);
    text-wrap: pretty;
}
@media (max-width: 900px) {
    .craft-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
    .craft-list__item { grid-template-columns: 40px 1fr; gap: 16px; }
    .craft-list__desc { grid-column: 1 / -1; padding-left: 56px; }
}

/* ----- catalogue (2-col service groups with bullets) ------------ */
.catalogue-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 84px; }
.catalogue-group {
    padding: 44px 0;
    border-top: 1px solid rgba(244,240,232,0.12);
}
.section--ivory .catalogue-group { border-color: var(--line-ivory); }
.catalogue-group__head {
    display: flex; align-items: baseline; gap: 18px;
    margin-bottom: 26px;
}
.catalogue-group__no {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(185,143,74,0.8);
    letter-spacing: .1em;
}
.catalogue-group__name {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 28px;
    margin: 0;
}
.catalogue-group__items { display: flex; flex-direction: column; gap: 11px; padding: 0; list-style: none; }
.catalogue-item {
    display: flex; gap: 14px; align-items: baseline;
    font-size: 15px; line-height: 1.6;
    color: rgba(244,240,232,0.58);
}
.section--ivory .catalogue-item { color: rgba(26,24,21,0.7); }
.catalogue-item::before {
    content: "";
    width: 4px; height: 4px; flex: 0 0 4px;
    background: rgba(185,143,74,0.7);
    transform: translateY(-3px);
}
@media (max-width: 900px) { .catalogue-grid { grid-template-columns: 1fr; } }

/* ----- materials palette ----------------------------------------- */
.materials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.material {
    text-align: left;
}
.material__swatch {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    background: var(--brass-dim);
}
.material__swatch::after {
    content: "";
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(84deg, rgba(0,0,0,0.10) 0px, rgba(0,0,0,0.10) 1px, transparent 1px, transparent 7px);
}
.material__name {
    font-family: var(--font-serif);
    font-size: 21px;
    margin: 22px 0 8px;
}
.material__desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(26,24,21,0.55);
    text-wrap: pretty;
}
@media (max-width: 900px) { .materials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* ----- process (4-col with top-border) --------------------------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.process-step {
    padding-top: 28px;
    border-top: 1px solid rgba(185,143,74,0.4);
}
.process-step__no {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--brass);
    margin-bottom: 20px;
}
.process-step__name {
    font-family: var(--font-serif);
    font-size: 26px;
    margin-bottom: 16px;
}
.process-step__desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--mute-dark);
    text-wrap: pretty;
}
@media (max-width: 900px) {
    .process-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 560px) {
    .process-grid { grid-template-columns: 1fr; }
}

/* ----- why us ---------------------------------------------------- */
.why-us__list {
    list-style: none; padding: 0; margin: 0;
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 60px 84px;
}
.why-us__item { }
.why-us__item h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 25px;
    margin: 0 0 12px;
    color: var(--ivory);
}
.why-us__item p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--mute-dark);
    margin: 0;
    text-wrap: pretty;
}
@media (max-width: 800px) { .why-us__list { grid-template-columns: 1fr; gap: 40px; } }

/* ----- testimonials (centered blockquote) ------------------------ */
.testimonials { text-align: center; }
.testimonials__quote {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-quote);
    line-height: 1.36;
    margin: 0 0 44px;
    max-width: 900px;
    margin-left: auto; margin-right: auto;
    text-wrap: pretty;
}
.testimonials__attribution {
    font-size: 12px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--mute-dim);
    font-family: var(--font-sans);
}

/* ----- FAQ (2-col numbered like disciplines) --------------------- */
.faq-grid {
    display: grid; grid-template-columns: 1fr 1.35fr;
    gap: 110px; align-items: start;
    border-top: 1px solid var(--line-dark);
    padding-top: 90px;
}
.faq-grid__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: var(--f-h2);
    margin: 26px 0 0;
    line-height: 1.05;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--line-dark);
}
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--ivory);
    padding: 8px 0;
    transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brass); }
.faq-item summary::after {
    content: "+";
    color: var(--brass);
    font-size: 24px;
    line-height: 1;
    font-family: var(--font-sans);
    font-weight: 200;
    transition: transform .2s;
    flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer {
    padding: 16px 0 8px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--mute-dark);
    max-width: 60ch;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; } }

/* ----- related niches + city twin (subtle) ---------------------- */
.related-niches {
    padding: 60px var(--gutter);
    background: var(--dark);
}
.related-niches__inner { max-width: var(--container); margin: 0 auto; }
.related-niches__list {
    list-style: none; padding: 0; margin: 20px 0 0;
    display: flex; flex-wrap: wrap; gap: 30px 44px;
    font-family: var(--font-serif);
    font-size: 21px;
}
.related-niches__list a {
    color: var(--ivory);
    text-decoration: none;
    border-bottom: 1px solid var(--line-dark);
    padding-bottom: 6px;
    transition: color .2s, border-color .2s;
}
.related-niches__list a:hover { color: var(--brass); border-bottom-color: var(--brass); }

.city-twin {
    padding: 40px var(--gutter);
    background: var(--dark-alt);
    text-align: center;
}
.city-twin p {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--ivory);
    max-width: 800px;
    margin: 0 auto;
}
.city-twin a { color: var(--brass); border-bottom: 1px solid var(--brass); padding-bottom: 2px; }
.city-twin a:hover { color: var(--brass-lit); border-bottom-color: var(--brass-lit); }

/* ----- content sections (label + content 2-col on hub/legal) ----- */
.content-section {
    padding: 90px 0;
}
.content-section__inner {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1.35fr;
    gap: 110px; align-items: start;
    padding: 0 var(--gutter);
}
.content-section__label { padding-top: 14px; }
.content-section__body {
    max-width: 68ch;
}
.content-section__body h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1.15;
    margin: 0 0 30px;
    color: var(--ivory);
}
.section--ivory .content-section__body h2 { color: var(--ink); }
.content-section__body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--mute-dark);
    margin: 0 0 1.2em;
    text-wrap: pretty;
}
.section--ivory .content-section__body p { color: var(--mute-ivory); }
.content-section__body ul, .content-section__body ol {
    padding-left: 1.4em;
    color: var(--mute-dark);
    font-size: 16px; line-height: 1.8;
}
.section--ivory .content-section__body ul,
.section--ivory .content-section__body ol { color: var(--mute-ivory); }
.content-section__body li { margin-bottom: .35em; }
.content-section__body a { color: var(--brass); border-bottom: 1px solid transparent; padding-bottom: 1px; transition: border-color .15s; }
.content-section__body a:hover { border-bottom-color: var(--brass); }
.content-section__body h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 22px;
    margin: 40px 0 14px;
    color: var(--ivory);
}
.section--ivory .content-section__body h3 { color: var(--ink); }
.content-section__body strong { color: var(--ivory); font-weight: 500; }
.section--ivory .content-section__body strong { color: var(--ink); }

@media (max-width: 900px) {
    .content-section__inner { grid-template-columns: 1fr; gap: 30px; padding: 0 var(--gutter-sm); }
    .content-section { padding: 60px 0; }
}

/* ----- final CTA (ivory contact block) --------------------------- */
.final-cta {
    background: var(--ivory);
    color: var(--ink);
    padding: var(--section-y) var(--gutter) 90px;
}
.final-cta__inner {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1.2fr 1fr;
    gap: 110px; align-items: start;
}
.final-cta__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(42px, 5.2vw, 80px);
    line-height: 1.02;
    margin: 0 0 36px;
    text-wrap: balance;
    color: var(--ink);
}
.final-cta__intro {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(26,24,21,0.6);
    max-width: 440px;
    margin: 0 0 44px;
    text-wrap: pretty;
}
.final-cta__meta {
    display: flex; flex-direction: column; gap: 30px;
    padding-top: 14px;
    margin: 0;
}
.final-cta__meta > div dt {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(26,24,21,0.42);
    margin-bottom: 10px;
    font-weight: 400;
}
.final-cta__meta > div dd {
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink);
    margin: 0;
}
.final-cta__meta > div dd a { color: var(--brass-dim); border-bottom: 1px solid var(--brass-dim); padding-bottom: 1px; }
.final-cta__meta > div dd a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.final-cta__ctas { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 8px; }

@media (max-width: 900px) {
    .final-cta__inner { grid-template-columns: 1fr; gap: 40px; }
    .final-cta { padding: 90px var(--gutter-sm) 60px; }
}

/* ----- footer ---------------------------------------------------- */
.site-footer {
    background: var(--ivory);
    color: var(--ink);
    padding: 60px var(--gutter) 46px;
    border-top: 1px solid var(--line-ivory);
}
.site-footer__grid {
    max-width: var(--container); margin: 0 auto 46px;
    display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px;
}
.site-footer__col h2 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(26,24,21,0.42);
    font-weight: 500;
    margin: 0 0 18px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 10px; }
.site-footer__col a { color: var(--ink); text-decoration: none; font-size: 14px; }
.site-footer__col a:hover { color: var(--brass-dim); }
.site-footer__brand {
    font-family: var(--font-serif);
    font-size: 26px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    margin: 0 0 14px;
}
.site-footer__brand em { color: var(--brass-dim); font-style: normal; }
.site-footer__tag {
    color: rgba(26,24,21,0.55);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 20px;
    max-width: 300px;
}

.site-footer__legal {
    max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--line-ivory);
    padding-top: 32px;
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(26,24,21,0.45);
    gap: 20px; flex-wrap: wrap;
}
.site-footer__legal .brand-mark {
    font-family: var(--font-serif);
    letter-spacing: .24em;
    color: var(--ink);
}
.site-footer__legal .brand-mark em { color: var(--brass-dim); font-style: normal; }

@media (max-width: 900px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .site-footer { padding: 40px var(--gutter-sm) 40px; }
    .site-footer__legal { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ----- sticky mobile CTA bar ------------------------------------ */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
    display: none; gap: 0; padding: 0;
    background: rgba(14,14,13,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-dark);
}
.sticky-cta a {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px;
    font-size: 12px;
    letter-spacing: .24em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 400;
}
.sticky-cta a + a { border-left: 1px solid var(--line-dark); }
.sticky-cta__wa   { background: var(--wa-green); color: var(--ink); }
.sticky-cta__call { color: var(--brass); }
.sticky-cta__call:hover { color: var(--brass-lit); }

@media (max-width: 720px) {
    .sticky-cta { display: flex; }
    body { padding-bottom: 52px; }
}

/* ----- contact page (form on ivory) ----------------------------- */
.contact-block {
    background: var(--ivory);
    color: var(--ink);
    padding: 90px var(--gutter);
}
.contact-grid {
    max-width: var(--container); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
    align-items: start;
}
.contact-grid h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 42px);
    color: var(--ink);
    margin: 0 0 28px;
}
.contact-meta {
    margin: 40px 0 0;
    display: grid; grid-template-columns: max-content 1fr;
    gap: 12px 28px;
    font-size: 15px;
}
.contact-meta dt {
    color: rgba(26,24,21,0.42);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: 11px;
    padding-top: 4px;
}
.contact-meta dd { margin: 0; color: var(--ink); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: block; }
.field > span {
    display: block;
    font-size: 11px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: rgba(26,24,21,0.55);
    margin-bottom: 10px;
    font-weight: 500;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 14px 16px;
    font: 300 15px var(--font-sans);
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(26,24,21,0.15);
    transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form__note {
    font-size: 13px;
    color: rgba(26,24,21,0.55);
    margin-top: 8px;
}
.contact-form__note a { color: var(--brass-dim); border-bottom: 1px solid var(--brass-dim); }

.alert { padding: 20px 24px; margin-bottom: 24px; border-left: 3px solid var(--brass); background: #fff; }
.alert strong { display: block; font-family: var(--font-serif); font-size: 20px; margin-bottom: 6px; }
.alert p { margin: 0; font-size: 15px; color: rgba(26,24,21,0.65); }
.alert--err { border-left-color: #a13323; }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-block { padding: 60px var(--gutter-sm); }
}

/* ----- 404 ------------------------------------------------------- */
.page-404 .link-list { list-style: none; padding: 0; margin: 24px 0 0; }
.page-404 .link-list li { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
.page-404 .link-list a { color: var(--ivory); font-size: 18px; font-family: var(--font-serif); }
.page-404 .link-list a:hover { color: var(--brass); }

/* ----- utilities -------------------------------------------------- */
.visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.btn--sm {
    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: .2em;
}

/* ----- active nav state ------------------------------------------ */
.site-nav__list a.is-active,
.site-nav__list a[aria-current="page"] {
    color: var(--brass);
    position: relative;
}
.site-nav__list a.is-active::after,
.site-nav__list a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -6px;
    height: 1px;
    background: var(--brass);
}
.site-header__cta.is-active,
.site-header__cta[aria-current="page"] {
    background: var(--brass);
    color: var(--dark);
}

/* ----- desktop mega-menu ----------------------------------------- */
.site-nav__has-menu {
    position: relative;
}
.site-nav__has-menu > a {
    display: inline-flex; align-items: center; gap: 6px;
}
.mega-menu {
    position: absolute;
    top: calc(100% + 22px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 780px;
    background: rgba(14,14,13,0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--line-dark);
    padding: 40px 44px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s, transform .2s, visibility 0s .2s;
    z-index: 60;
}
.mega-menu__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
}
.mega-menu__eyebrow {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 16px;
    font-weight: 400;
}
.mega-menu__col ul { list-style: none; padding: 0; margin: 0; }
.mega-menu__col li { padding: 6px 0; }
.mega-menu__col a {
    color: rgba(244,240,232,0.78);
    font-size: 15px;
    letter-spacing: normal;
    text-transform: none;
    font-family: var(--font-serif);
    font-weight: 400;
    text-decoration: none;
    transition: color .15s;
}
.mega-menu__col a:hover { color: var(--brass); }

.site-nav__has-menu:hover > .mega-menu,
.site-nav__has-menu:focus-within > .mega-menu,
.site-nav__has-menu.is-open > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    transition: opacity .2s, transform .2s, visibility 0s;
}
/* Hover-safe hitbox — invisible bridge between trigger and panel */
.site-nav__has-menu::before {
    content: "";
    position: absolute;
    top: 100%; left: -20px; right: -20px;
    height: 22px;
}

@media (max-width: 1000px) {
    .mega-menu { display: none; }
}

/* ----- mobile menu (full grouped drawer) ------------------------- */
.mobile-menu {
    position: fixed; inset: 0; z-index: 55;
    background: var(--dark);
    overflow-y: auto;
    padding-bottom: 60px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px var(--gutter-sm) 40px;
}
.mobile-menu__logo {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--ivory);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
}
.mobile-menu__logo em { color: var(--brass); font-style: normal; }
.mobile-menu__close {
    position: absolute; top: 18px; right: 18px;
    width: 44px; height: 44px;
    font-size: 28px; line-height: 1;
    color: var(--ivory);
    background: none; border: 1px solid var(--line-dark);
    cursor: pointer;
}
.mobile-menu__close:hover { color: var(--brass); border-color: var(--brass); }
.mobile-menu__group { margin-top: 30px; }
.mobile-menu__eyebrow {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--brass);
    margin: 0 0 12px;
    font-weight: 400;
}
.mobile-menu__group ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line-dark); }
.mobile-menu__group li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu__group a {
    display: block;
    padding: 14px 0;
    color: rgba(244,240,232,0.85);
    font-family: var(--font-serif);
    font-size: 18px;
    text-decoration: none;
    transition: color .15s;
}
.mobile-menu__group a:hover,
.mobile-menu__group a.is-active {
    color: var(--brass);
}
.mobile-menu__group--cta {
    margin-top: 40px;
    display: flex; flex-direction: column; gap: 12px;
}

body.is-menu-open { overflow: hidden; }

/* ----- newsletter (footer signup) --------------------------------- */
.site-footer__top {
    max-width: var(--container); margin: 0 auto 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-ivory);
}
.footer-newsletter {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.footer-newsletter__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.15;
    margin: 12px 0 12px;
    color: var(--ink);
}
.footer-newsletter__intro {
    color: rgba(26,24,21,0.6);
    font-size: 15px; line-height: 1.7;
    max-width: 440px;
    margin: 0;
}
.footer-newsletter__form {
    display: flex; flex-direction: column;
    position: relative;
}
.footer-newsletter__form input[type="email"] {
    width: 100%;
    padding: 16px 18px;
    font: 300 15px var(--font-sans);
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(26,24,21,0.15);
    margin-bottom: 12px;
    transition: border-color .2s;
}
.footer-newsletter__form input[type="email"]:focus { outline: none; border-color: var(--brass-dim); }
.footer-newsletter__form button { align-self: flex-start; }
.footer-newsletter__status {
    font-size: 13px;
    color: var(--brass-dim);
    margin: 10px 0 0;
    min-height: 20px;
}
.footer-newsletter__status.is-err { color: #a13323; }

@media (max-width: 800px) {
    .footer-newsletter { grid-template-columns: 1fr; gap: 24px; }
}

/* ----- footer refinements ---------------------------------------- */
.site-footer__col ul li { margin-bottom: 8px; }
.site-footer__col--brand .site-footer__contact { margin: 14px 0 20px; font-size: 14px; line-height: 1.7; }
.site-footer__col--brand .site-footer__contact a { color: var(--ink); border-bottom: 1px solid rgba(26,24,21,0.2); padding-bottom: 1px; }
.site-footer__col--brand .site-footer__contact a:hover { color: var(--brass-dim); border-bottom-color: var(--brass-dim); }
.site-footer__address, .site-footer__hours {
    font-size: 14px;
    color: rgba(26,24,21,0.6);
    line-height: 1.6;
    margin: 4px 0;
    max-width: 260px;
}
.site-footer__h2--gap { margin-top: 32px; }

.site-footer__legal-inner {
    max-width: var(--container); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
}
.site-footer__legal-text { max-width: 480px; }
.site-footer__legal-links a { color: rgba(26,24,21,0.55); }
.site-footer__legal-links a:hover { color: var(--brass-dim); }

/* ----- floating CTAs (desktop only) ------------------------------ */
.floating-cta {
    position: fixed;
    right: 24px; bottom: 24px;
    z-index: 45;
    display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.floating-cta__wa {
    width: 56px; height: 56px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--wa-green); color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.2);
    transition: transform .18s, box-shadow .18s, background .18s;
}
.floating-cta__wa:hover {
    background: #128c7e; color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.45), 0 4px 10px rgba(0,0,0,0.24);
}
.floating-cta__top {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px;
    background: rgba(14,14,13,0.72);
    border: 1px solid var(--brass);
    color: var(--brass);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background .18s, color .18s;
}
.floating-cta__top[hidden] { display: none; }
.floating-cta__top:hover { background: var(--brass); color: var(--dark); }

@media (max-width: 720px) {
    .floating-cta { display: none; }
}

/* ----- scroll progress ------------------------------------------- */
.scroll-progress {
    position: fixed; top: 0; left: 0; right: 0;
    height: 2px;
    background: transparent;
    z-index: 100;
    pointer-events: none;
}
.scroll-progress__bar {
    height: 100%;
    width: 100%;
    background: var(--brass);
    transform: scaleX(0);
    transform-origin: 0 0;
    transition: transform .08s linear;
}

/* ----- journal (blog) grid --------------------------------------- */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.journal-card { display: block; text-decoration: none; color: var(--ivory); }
.journal-card__media { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 20px; }
.journal-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.journal-card:hover .journal-card__media img { transform: scale(1.03); }
.journal-card h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 12px; line-height: 1.2; transition: color .2s; }
.journal-card:hover h3 { color: var(--brass); }
.journal-card p { color: var(--mute-dark); font-size: 14px; line-height: 1.7; margin: 0 0 12px; }
.journal-card time { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mute-faint); }
@media (max-width: 900px) { .journal-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 560px) { .journal-grid { grid-template-columns: 1fr; } }

/* ----- print styles ---------------------------------------------- */
@media print {
    body { background: #fff; color: #000; }
    .site-header, .site-nav, .site-nav__toggle,
    .mobile-menu, .sticky-cta, .floating-cta,
    .scroll-progress,
    .site-footer__top, .site-footer__legal-links,
    [data-back-to-top], .footer-newsletter { display: none !important; }
    .section, .final-cta, .contact-block, .aeo { padding: 20px 0 !important; }
    .section--dark, .section--alt { background: #fff !important; color: #000 !important; }
    .hero { min-height: auto !important; page-break-after: always; padding: 20px 0 !important; }
    .hero__media { display: none; }
    .hero__h1, h1, h2, h3 { color: #000 !important; }
    a { color: #000 !important; text-decoration: underline; }
    [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ----- reveal-on-scroll ------------------------------------------ */
[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 1.05s cubic-bezier(.19,.86,.28,1), transform 1.05s cubic-bezier(.19,.86,.28,1);
    /* JS sets --reveal-delay per element for stagger effect */
    transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-visible,
.no-js [data-reveal],
.print [data-reveal] {
    opacity: 1;
    transform: none;
}
/* is-immediate = first-paint elements (above the fold) still animate,
   just from a smaller offset and slightly faster, so the page feels
   awake rather than pop-in flat. */
[data-reveal].is-immediate {
    opacity: 0;
    transform: translateY(14px);
    animation: revealIn .9s cubic-bezier(.19,.86,.28,1) forwards;
    animation-delay: var(--reveal-delay, 0ms);
}
@keyframes revealIn {
    to { opacity: 1; transform: none; }
}

/* ----- hero image reveal ---------------------------------------- */
.hero__media-frame img {
    animation: heroImgIn 1.4s cubic-bezier(.19,.86,.28,1) both;
    animation-delay: .2s;
}
@keyframes heroImgIn {
    from { opacity: 0; transform: scale(1.05); }
    to   { opacity: 1; transform: scale(1); }
}
.hero__vertical {
    animation: fadeInDown 1s cubic-bezier(.19,.86,.28,1) both;
    animation-delay: 1.1s;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-50%); }
    to   { opacity: .5; transform: translateY(-40%); }
}

/* ----- mega-menu column stagger --------------------------------- */
.site-nav__has-menu:hover > .mega-menu .mega-menu__col,
.site-nav__has-menu:focus-within > .mega-menu .mega-menu__col,
.site-nav__has-menu.is-open > .mega-menu .mega-menu__col {
    animation: fadeUpTiny .5s cubic-bezier(.19,.86,.28,1) both;
}
.mega-menu__col:nth-child(1) { animation-delay: .05s; }
.mega-menu__col:nth-child(2) { animation-delay: .12s; }
.mega-menu__col:nth-child(3) { animation-delay: .19s; }
@keyframes fadeUpTiny {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

/* ----- mobile menu slide-in + backdrop -------------------------- */
.mobile-menu {
    transform: translateX(100%);
    transition: transform .42s cubic-bezier(.19,.86,.28,1);
    will-change: transform;
}
.mobile-menu:not([hidden]) { transform: none; }
.mobile-menu__backdrop {
    position: fixed; inset: 0; z-index: 54;
    background: rgba(0,0,0,0);
    transition: background-color .3s ease;
    pointer-events: none;
}
body.is-menu-open .mobile-menu__backdrop {
    background: rgba(0,0,0,0.55);
    pointer-events: auto;
}
.mobile-menu__group {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s cubic-bezier(.19,.86,.28,1),
                transform .5s cubic-bezier(.19,.86,.28,1);
}
.mobile-menu:not([hidden]) .mobile-menu__group {
    opacity: 1;
    transform: none;
}
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(2) { transition-delay: .12s; }
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(3) { transition-delay: .18s; }
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(4) { transition-delay: .24s; }
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(5) { transition-delay: .30s; }
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(6) { transition-delay: .36s; }
.mobile-menu:not([hidden]) .mobile-menu__group:nth-child(7) { transition-delay: .42s; }

/* ----- button hover micro-lift ---------------------------------- */
.btn {
    will-change: transform;
    transition: background .2s, color .2s, border-color .2s, transform .18s cubic-bezier(.19,.86,.28,1), box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* Card lift on hover */
.niche-card {
    transition: border-color .18s ease, transform .22s cubic-bezier(.19,.86,.28,1);
}
.niche-card:hover { transform: translateY(-3px); }

.craft-list__item, .selected-work__item {
    transition: background .2s ease;
}
.craft-list__name { transition: color .25s cubic-bezier(.19,.86,.28,1), transform .25s cubic-bezier(.19,.86,.28,1); }
.craft-list__item:hover .craft-list__name { transform: translateX(4px); }
.selected-work__title { transition: color .25s cubic-bezier(.19,.86,.28,1); }

/* Underline hover glide for content-section body links */
.content-section__body a {
    position: relative;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0 100%;
    background-repeat: no-repeat;
    border-bottom: none !important;
    transition: background-size .35s cubic-bezier(.19,.86,.28,1), color .2s;
}
.content-section__body a:hover { background-size: 100% 1px; }

/* Floating WA subtle pulse (very quiet — 2 pulses then stops) */
.floating-cta__wa {
    animation: waPulse 6s ease-in-out 2s 2 both;
}
@keyframes waPulse {
    0%, 60%, 100% { box-shadow: 0 8px 24px rgba(37,211,102,0.35), 0 2px 6px rgba(0,0,0,0.2); }
    30% { box-shadow: 0 8px 24px rgba(37,211,102,0.55), 0 0 0 10px rgba(37,211,102,0.10); }
}

/* Details/summary chevron rotate is already set — add opacity glide */
.faq-item summary { transition: color .18s, padding-left .25s cubic-bezier(.19,.86,.28,1); }
.faq-item summary:hover { padding-left: 6px; }
.faq-item__answer { animation: fadeUpTiny .35s cubic-bezier(.19,.86,.28,1) both; }

@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1 !important; transform: none !important; transition: none; animation: none !important; }
    .hero__media-frame img,
    .hero__vertical,
    .mega-menu__col,
    .mobile-menu__group,
    .site-header,
    .floating-cta__wa,
    .faq-item__answer { animation: none !important; opacity: 1 !important; transform: none !important; }
    .mobile-menu { transition: none !important; }
    .btn, .niche-card, .craft-list__name, .selected-work__title { transition: none !important; }
    html { scroll-behavior: auto; }
}
