@charset "UTF-8";
/* ==========================================================================
   emedialocal.net

   One stylesheet. Eight pages do not justify a build step, and a single file
   means one request and no chance of two sheets disagreeing.

   COLOUR: TWO ACCENT TOKENS, NOT ONE
   The brand orange #e8590c clears 4.5:1 against the dark ground (5.06) but
   only reaches 3.31 against the off-white one -- below AA for body text. The
   orange that passes on cream, #c2410c, then falls to 3.50 on the dark
   ground. No single orange passes on both, so there are two:
       --accent      fills, dark grounds, large display type
       --accent-ink  accent-COLOURED TEXT on light grounds
   Never swap them. Both were measured, not guessed.
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face {
    font-family: 'Archivo';
    src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Archivo Black';
    src: url('/assets/fonts/archivo-black-latin.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ---------- tokens ---------- */
:root {
    --ink: #14161a;
    --ink-2: #1e2126;
    --paper: #ffffff;
    --bone: #f7f6f3;
    --bone-2: #efede8;
    --body: #4a5158;
    --muted: #565d68;
    --line: #e3e1dc;
    --line-dark: #2c3037;

    --accent: #e8590c;
    --accent-ink: #c2410c;
    --accent-soft: #fdefe6;

    --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --display: 'Archivo Black', 'Archivo', system-ui, sans-serif;

    --wrap: 1180px;
    --gut: clamp(1.15rem, 4vw, 2.5rem);
    --r: 14px;
    --r-sm: 9px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --sh-1: 0 1px 2px rgba(20, 22, 26, .06);
    --sh-2: 0 6px 22px rgba(20, 22, 26, .09);
    --sh-3: 0 22px 60px rgba(20, 22, 26, .16);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bone);
    color: var(--body);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, picture, video, svg { max-width: 100%; display: block; }
/*
 * height:auto is NOT optional next to max-width:100%.
 *
 * Every <img> here carries real width/height attributes so the browser can
 * reserve space and the page does not shift as images load. But an attribute
 * height is a used value: cap the width with max-width and the height keeps
 * its attribute, so a 3000x2000 board rendered 1100 wide stayed 2000 tall --
 * a 3:2 landscape image squeezed into a 0.55 portrait box.
 *
 * It only showed up where a component had no height rule of its own. The
 * hero, the door cards and the feature rows all set one, so they looked
 * correct and hid the fault everywhere else.
 *
 * Components that genuinely want a fixed height (.hero-media img,
 * .door-media img) are more specific and still win.
 */
img, video { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
a { color: var(--accent-ink); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 3px;
}
.skip {
    position: absolute; left: -9999px; top: 0; z-index: 200;
    background: var(--ink); color: #fff; padding: .85rem 1.3rem;
    border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip:focus { left: 0; }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(3.5rem, 9vw, 7rem); }
.section-tight { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.bg-paper { background: var(--paper); }
.bg-bone2 { background: var(--bone-2); }
.bg-ink { background: var(--ink); color: #c9ced6; }
.bg-ink h2, .bg-ink h3, .bg-ink h4 { color: #fff; }

/*
 * :not(.btn) is load-bearing.
 *
 * `.bg-ink a` is specificity (0,1,1) and `.btn` is (0,1,0), so without the
 * exclusion this rule beats the button's own colour and paints the label of
 * an accent button in the accent colour -- orange text on an orange pill,
 * completely invisible. It shipped that way in the first render and only
 * showed up in a screenshot; no linter or PHP check can see it.
 */
.bg-ink a:not(.btn) { color: var(--accent); }

/* ---------- type ---------- */
.eyebrow {
    font-size: .74rem; font-weight: 700; letter-spacing: .19em;
    text-transform: uppercase; color: var(--accent-ink); margin: 0 0 .75rem;
}
.bg-ink .eyebrow { color: var(--accent); }
.sec-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-title {
    font-family: var(--display); font-weight: 400;
    font-size: clamp(1.85rem, 1.25rem + 2.5vw, 3rem);
    letter-spacing: -.02em; margin: 0 0 .7rem;
}
.sec-sub { font-size: clamp(1.02rem, .98rem + .25vw, 1.16rem); color: var(--muted); margin: 0; }
.lead { font-size: clamp(1.06rem, 1rem + .4vw, 1.28rem); line-height: 1.6; color: var(--body); }
.center { text-align: center; margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
    --btn-bg: var(--ink);
    --btn-fg: #fff;
    position: relative; display: inline-flex; align-items: center;
    justify-content: center; gap: .55rem;
    padding: .92rem 1.7rem; border: 0; border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 700; font-size: .97rem; letter-spacing: .005em;
    text-decoration: none; cursor: pointer; overflow: hidden;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease),
                background-color .25s var(--ease);
    box-shadow: var(--sh-1);
}
.btn::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    background: radial-gradient(120px 60px at var(--mx, 50%) var(--my, 50%),
                rgba(255, 255, 255, .22), transparent 70%);
    opacity: 0; transition: opacity .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.btn:hover::after { opacity: 1; }
.btn:active { transform: translateY(0); }
.btn-accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn-accent:hover { --btn-bg: #d24f0a; }
.btn-ghost {
    --btn-bg: transparent; --btn-fg: var(--ink);
    box-shadow: inset 0 0 0 2px var(--line);
}
.btn-ghost:hover { --btn-bg: var(--paper); box-shadow: inset 0 0 0 2px var(--ink), var(--sh-2); }
/*
 * Every dark ground, not only .bg-ink. The hero, the inner-page hero, the CTA
 * band and the door cards are all dark but none of them carry .bg-ink, so a
 * ghost button on any of them was rendering near-black on a dark photo.
 */
.bg-ink .btn-ghost,
.hero .btn-ghost,
.phero .btn-ghost,
.cta-band .btn-ghost,
.mnav-cta .btn-ghost {
    --btn-fg: #fff;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .34);
}
.bg-ink .btn-ghost:hover,
.hero .btn-ghost:hover,
.phero .btn-ghost:hover,
.cta-band .btn-ghost:hover,
.mnav-cta .btn-ghost:hover {
    --btn-bg: rgba(255, 255, 255, .09);
    box-shadow: inset 0 0 0 2px #fff;
}
.btn-sm { padding: .62rem 1.15rem; font-size: .88rem; }
.btn-lg { padding: 1.06rem 2.1rem; font-size: 1.03rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }

.arrow-link {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 700; text-decoration: none; color: var(--accent-ink);
}
.arrow-link span { transition: transform .28s var(--ease); }
.arrow-link:hover span { transform: translateX(5px); }
.bg-ink .arrow-link { color: var(--accent); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-head {
    position: sticky; top: 0; z-index: 100;
    background: rgba(247, 246, 243, .82);
    backdrop-filter: saturate(1.6) blur(14px);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), border-color .3s var(--ease),
                box-shadow .3s var(--ease);
}
.site-head[data-stuck="true"] {
    border-bottom-color: var(--line);
    box-shadow: 0 6px 24px rgba(20, 22, 26, .06);
}
/*
 * Over a dark hero the header inverts until the page scrolls.
 *
 * It carries its own top-down scrim rather than going fully transparent. The
 * white nav then has a ground of its own and stays legible over a bright
 * patch of hero photograph -- and, more importantly, it cannot be made
 * invisible by anything that happens to the section beneath it. That failure
 * has already happened once here, when a bad edit turned the inner-page hero
 * light and took the whole navigation with it.
 */
body.hero-dark .site-head:not([data-stuck="true"]) {
    background: linear-gradient(180deg, rgba(20, 22, 26, .62), rgba(20, 22, 26, .18) 70%, transparent);
    backdrop-filter: none; -webkit-backdrop-filter: none;
}
body.hero-dark .site-head:not([data-stuck="true"]) .nav-list a,
body.hero-dark .site-head:not([data-stuck="true"]) .brand-word { color: #fff; }
body.hero-dark .site-head:not([data-stuck="true"]) .btn-sm {
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .38);
}
body.hero-dark .site-head:not([data-stuck="true"]) .burger span { background: #fff; }

.head-in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand-mark {
    width: 26px; height: 26px; border-radius: 7px; flex: none;
    background: var(--accent);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .9), 0 0 0 1.5px var(--accent);
    transition: transform .4s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-word {
    font-family: var(--display); font-size: 1.22rem; letter-spacing: -.028em;
    color: var(--ink); line-height: 1;
}
.brand-word span { color: var(--accent); }
.brand-word.big { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: #fff; }

.nav { margin-left: auto; }
.nav-list { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
    position: relative; display: block; padding: .5rem .8rem;
    font-size: .93rem; font-weight: 600; color: var(--ink);
    text-decoration: none; border-radius: 8px;
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.nav-list a::after {
    content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .3rem;
    height: 2px; background: var(--accent); border-radius: 2px;
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.head-cta { display: flex; align-items: center; gap: .9rem; }
.head-phone { font-weight: 700; color: var(--ink); text-decoration: none; font-size: .93rem; }

.burger {
    display: none; width: 44px; height: 44px; padding: 0; border: 0;
    background: none; cursor: pointer; margin-left: auto;
}
.burger span {
    display: block; width: 22px; height: 2px; margin: 5px auto;
    background: var(--ink); border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mnav {
    background: var(--paper); border-top: 1px solid var(--line);
    padding: 1rem var(--gut) 1.7rem;
}
.mnav ul { list-style: none; margin: 0 0 1.2rem; padding: 0; }
/* `ul a`, not `.mnav a`: the CTA buttons live in .mnav-cta and were picking up
   the display font, the block layout and the divider rule meant for the list. */
.mnav ul a {
    display: block; padding: .82rem .2rem; font-family: var(--display);
    font-size: 1.32rem; letter-spacing: -.02em; color: var(--ink);
    text-decoration: none; border-bottom: 1px solid var(--line);
}
.mnav ul a[aria-current="page"] { color: var(--accent-ink); }
.mnav-cta { display: grid; gap: .6rem; }
.mnav-phone { text-align: center; margin: .7rem 0 0; font-weight: 700; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; isolation: isolate;
    min-height: min(92svh, 780px);
    display: flex; align-items: flex-end;
    padding-block: clamp(6rem, 16vw, 9rem) clamp(2.5rem, 6vw, 4rem);
    margin-top: -72px;              /* slide under the transparent header */
    background: var(--ink);
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
/*
 * The <picture> must be sized too.
 *
 * picture is just a wrapper element; height:100% on the <img> resolves
 * against IT, not against .hero-media. Without this the photo stopped at its
 * natural aspect height and the bottom third of the hero was flat dark with a
 * visible hard edge across it.
 */
.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img, .hero-media video {
    width: 100%; height: 100%; object-fit: cover;
}
/* Slow drift on the still, so a poster-only hero is never static.
   Disabled once a real video plays, and by reduced-motion. */
.hero-media.is-still img {
    animation: drift 26s var(--ease) infinite alternate;
    transform-origin: 60% 40%;
}
@keyframes drift {
    from { transform: scale(1.04); }
    to   { transform: scale(1.14) translate3d(-1.5%, -1%, 0); }
}
.hero-scrim {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 22, 26, .72) 0%, rgba(20, 22, 26, .35) 34%,
                        rgba(20, 22, 26, .78) 76%, rgba(20, 22, 26, .95) 100%),
        radial-gradient(90% 60% at 15% 85%, rgba(232, 89, 12, .22), transparent 70%);
}
.hero-in { position: relative; width: 100%; }
.hero h1 {
    font-family: var(--display); font-weight: 400; color: #fff;
    font-size: clamp(2.15rem, 1.1rem + 4.6vw, 4.4rem);
    line-height: 1.02; letter-spacing: -.032em;
    max-width: 17ch; margin: 0 0 1.1rem;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
    color: #d6dae0; font-size: clamp(1.04rem, .98rem + .5vw, 1.3rem);
    max-width: 48ch; margin: 0;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .42rem .95rem .42rem .55rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .18);
    color: #fff; font-size: .82rem; font-weight: 600; margin-bottom: 1.5rem;
}
.hero-badge b {
    background: var(--accent); color: #fff; border-radius: 999px;
    padding: .12rem .6rem; font-size: .75rem; letter-spacing: .04em;
}
.hero-stats {
    display: grid; grid-template-columns: repeat(4, auto);
    justify-content: start; gap: 1.4rem clamp(1.5rem, 5vw, 3.4rem);
    margin-top: clamp(2.2rem, 5vw, 3.4rem);
    padding-top: 1.7rem; border-top: 1px solid rgba(255, 255, 255, .16);
}
.hero-stat { min-width: 0; }
.hero-stat b {
    display: block; font-family: var(--display); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem);
    color: #fff; line-height: 1; letter-spacing: -.02em;
}
.hero-stat span {
    display: block; font-size: .84rem; color: #a8b0ba; margin-top: .35rem;
    max-width: 15ch; line-height: 1.35;
}

/* ---------- page heroes (every page except home) ----------
   These two rules were destroyed by an over-greedy regex during an edit and
   the loss was silent: .phero p and .phero .eyebrow survived, so the section
   still looked styled while its background went light. The header renders
   white-on-transparent over it, so the entire nav, the wordmark and the
   ghost button became invisible on every inner page at once. Anything that
   deletes a rule here must be checked against a rendered inner page, not
   just the home page. */
.phero {
    background: var(--ink);
    padding-block: clamp(6.5rem, 15vw, 9rem) clamp(3rem, 7vw, 4.5rem);
    margin-top: -72px;          /* slide under the sticky header */
}
.phero h1 {
    font-family: var(--display); font-weight: 400; color: #fff;
    font-size: clamp(2rem, 1.3rem + 3.2vw, 3.5rem);
    letter-spacing: -.03em; line-height: 1.05; max-width: 20ch; margin: 0 0 1rem;
}
.phero p { color: #b9c0c9; max-width: 56ch; font-size: clamp(1rem, .96rem + .35vw, 1.18rem); margin: 0; }
.phero .eyebrow { color: var(--accent); }

/* ==========================================================================
   TWO DOORS
   ========================================================================== */
/*
 * TEXT NEVER SITS ON THE PHOTOGRAPH.
 *
 * These were overlay cards: the whole card was a photo with a dark gradient
 * and the copy laid over it. It failed, and it was always going to. A scrim
 * is a fixed darkening applied to an unknown image -- these two photos have a
 * bright open kitchen and a yellow hard hat exactly where the label sits, so
 * the orange eyebrow landed on near-white pixels at roughly 1.5:1. Tuning the
 * gradient only trades one photo's legibility for the other's, and any
 * replacement photograph re-opens the problem.
 *
 * So the structure changed rather than the opacity. Photo on top, copy on a
 * solid panel underneath. Every value below is measured against a known
 * ground instead of an unknown one:
 *
 *   label chip  #fff on --ink ............ 18.1:1
 *   heading     --ink on --paper ......... 17.4:1
 *   body        --body on --paper ........  8.0:1
 *   arrow link  --accent-ink on --paper ...  5.2:1
 *
 * The category label stays visually on the image, but as a solid pill, so it
 * carries its own background and cannot be undermined by what is behind it.
 */
.doors { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); grid-template-columns: repeat(2, 1fr); }
.door {
    display: flex; flex-direction: column;
    border-radius: var(--r); overflow: hidden;
    text-decoration: none; background: var(--paper);
    border: 1px solid var(--line); box-shadow: var(--sh-1);
    transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
                border-color .45s var(--ease-out);
}
.door:hover { transform: translateY(-6px); box-shadow: var(--sh-3); border-color: #d5d2cb; }

.door-media {
    position: relative; overflow: hidden;
    aspect-ratio: 16 / 10; background: var(--bone-2);
}
.door-media picture { display: block; width: 100%; height: 100%; }
.door-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .8s var(--ease-out);
}
.door:hover .door-media img { transform: scale(1.05); }
/* Softens the seam between photo and panel without being asked to carry text. */
.door-media::after {
    content: ''; position: absolute; inset: auto 0 0 0; height: 45%;
    background: linear-gradient(180deg, transparent, rgba(20, 22, 26, .5));
    pointer-events: none;
}

.door-tag {
    position: absolute; left: 1rem; bottom: 1rem; z-index: 1;
    display: inline-block; padding: .44rem .95rem; border-radius: 999px;
    background: var(--ink); color: #fff;
    font-size: .71rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase;
}
.door-tag::before {
    content: ''; display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: var(--accent); margin-right: .55rem;
    vertical-align: middle;
}

.door-body {
    flex: 1; display: flex; flex-direction: column;
    padding: clamp(1.35rem, 2.6vw, 1.9rem);
}
.door h3 {
    font-family: var(--display); font-weight: 400;
    font-size: clamp(1.32rem, 1.1rem + 1vw, 1.85rem);
    color: var(--ink); margin: 0 0 .55rem; letter-spacing: -.022em;
}
.door p { color: var(--body); margin: 0 0 1.25rem; font-size: .97rem; }
/* margin-top:auto pins the link to the bottom so both cards line up even when
   the two descriptions are different lengths. */
.door .arrow-link { margin-top: auto; color: var(--accent-ink); }

/* ==========================================================================
   PICKER  --  the two-way chooser on /contact
   Every colour is declared. The tile is an <a>, so anything left undeclared
   inherits link colour and underline, which is how the first version came out
   entirely orange and underlined.
   ========================================================================== */
.picker { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2.4vw, 1.6rem); }

.pick {
    position: relative; display: flex; gap: 1.15rem; align-items: flex-start;
    padding: clamp(1.4rem, 2.6vw, 1.9rem);
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r); box-shadow: var(--sh-1);
    text-decoration: none; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
                border-color .35s var(--ease);
}
/* accent rail that wipes down the left edge on hover */
.pick::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--accent); transform: scaleY(0); transform-origin: top;
    transition: transform .4s var(--ease-out);
}
.pick:hover, .pick:focus-visible { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d5d2cb; }
.pick:hover::before, .pick:focus-visible::before { transform: scaleY(1); }

.pick-ico {
    flex: none; width: 54px; height: 54px; border-radius: 14px;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent-ink);
    transition: background-color .35s var(--ease), color .35s var(--ease),
                transform .45s var(--ease-out);
}
.pick-ico svg { width: 27px; height: 27px; }
.pick:hover .pick-ico { background: var(--accent); color: #fff; transform: rotate(-5deg) scale(1.06); }

.pick-body { display: block; }
.pick-eyebrow {
    display: block; font-size: .7rem; font-weight: 700; letter-spacing: .17em;
    text-transform: uppercase; color: var(--muted); margin-bottom: .45rem;
}
.pick-title {
    display: block; font-family: var(--display); font-weight: 400;
    font-size: clamp(1.15rem, 1rem + .55vw, 1.45rem); letter-spacing: -.02em;
    color: var(--ink); line-height: 1.15; margin-bottom: .45rem;
}
.pick-text { display: block; color: var(--body); font-size: .96rem; margin-bottom: 1rem; }
.pick-go {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 700; font-size: .93rem; color: var(--accent-ink);
}
.pick-go span { transition: transform .3s var(--ease); }
.pick:hover .pick-go span { transform: translateX(5px); }

@media (max-width: 680px) { .picker { grid-template-columns: 1fr; } }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.6rem); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r); padding: clamp(1.4rem, 2.6vw, 2rem);
    box-shadow: var(--sh-1);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease),
                border-color .35s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: #d5d2cb; }
.card h3 { font-size: 1.14rem; margin: 0 0 .5rem; letter-spacing: -.01em; }
.card p:last-child { margin-bottom: 0; }
.card-ico {
    width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1.1rem;
    display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent-ink);
    font-family: var(--display); font-size: 1.02rem;
}

/* numbered steps */
.steps { counter-reset: s; display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 3.4rem; }
.step::before {
    counter-increment: s; content: counter(s, decimal-leading-zero);
    position: absolute; top: 0; left: 0;
    font-family: var(--display); font-size: 2.5rem; line-height: 1;
    color: var(--accent); opacity: .9; letter-spacing: -.04em;
}
.step::after {
    content: ''; position: absolute; top: 1.5rem; left: 3.6rem; right: -1rem;
    height: 1px; background: var(--line);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.08rem; margin: 0 0 .45rem; }
.step p { font-size: .96rem; margin: 0; }
.bg-ink .step::after { background: var(--line-dark); }
.bg-ink .step p { color: #a8b0ba; }

/* ---------- feature row (image + text) ---------- */
.frow { display: grid; gap: clamp(1.8rem, 5vw, 4rem); align-items: center; grid-template-columns: 1fr 1fr; }
.frow + .frow { margin-top: clamp(3rem, 7vw, 5.5rem); }
.frow-flip .frow-media { order: 2; }
/* The 1px edge matters for LIGHT images. The wall render is a pale wall on a
   white section; without a defined border it dissolves into the page, which
   is the exact complaint that got the original flat render replaced. Dark
   images simply swallow the border, so one rule serves both. */
.frow-media {
    border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh-2); background: var(--bone-2);
}
.frow-media img { width: 100%; height: auto; }
.frow h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); letter-spacing: -.025em; }

/* ---------- ticks ---------- */
.ticks { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.95rem; }
.ticks li::before {
    content: ''; position: absolute; left: 0; top: .46em;
    width: 1.2rem; height: .62rem; border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg);
}
.bg-ink .ticks li { color: #c9ced6; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.plans { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); grid-template-columns: repeat(2, 1fr); align-items: start; }
.plan {
    position: relative; background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r); padding: clamp(1.6rem, 3vw, 2.3rem);
    box-shadow: var(--sh-1); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.plan-best { border-color: var(--ink); box-shadow: var(--sh-2); }
.plan-flag {
    position: absolute; top: -.8rem; left: clamp(1.6rem, 3vw, 2.3rem);
    background: var(--ink); color: #fff; border-radius: 999px;
    padding: .3rem .85rem; font-size: .73rem; font-weight: 700;
    letter-spacing: .1em; text-transform: uppercase;
}
.plan h3 { font-size: 1.02rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin: 0 0 .3rem; }
.plan-size { font-family: var(--display); font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); margin: 0 0 1.1rem; }
.plan-price { display: flex; align-items: baseline; gap: .45rem; margin-bottom: .3rem; }
.plan-price b { font-family: var(--display); font-size: clamp(2.4rem, 2rem + 2vw, 3.4rem); color: var(--ink); line-height: 1; letter-spacing: -.035em; }
.plan-price span { font-size: .95rem; color: var(--muted); font-weight: 600; }
.plan-note { font-size: .92rem; color: var(--muted); margin: 0 0 1.5rem; }
.plan-meta { list-style: none; padding: 0; margin: 0 0 1.6rem; border-top: 1px solid var(--line); }
.plan-meta li { display: flex; justify-content: space-between; gap: 1rem; padding: .72rem 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.plan-meta b { color: var(--ink); font-weight: 700; text-align: right; }

.note-strip {
    display: flex; gap: .9rem; align-items: flex-start;
    background: var(--accent-soft); border-left: 3px solid var(--accent);
    border-radius: var(--r-sm); padding: 1rem 1.2rem;
    font-size: .94rem; color: #7a3a08; margin-top: 1.6rem;
}
.note-strip b { color: #6b3207; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1.2rem;
    padding: 1.25rem 0; cursor: pointer; list-style: none;
    font-family: var(--display); font-weight: 400; color: var(--ink);
    font-size: clamp(1.02rem, .98rem + .3vw, 1.18rem); letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; flex: none; width: 13px; height: 13px;
    border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq summary:hover { color: var(--accent-ink); }
.faq-body { padding: 0 0 1.35rem; max-width: 68ch; }
.faq-body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   BOARD ANATOMY (the annotated diagram on /how-it-works)
   ========================================================================== */
.anat {
    position: relative; border-radius: var(--r); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--sh-3);
}

/* Numbered markers sitting on the board itself. --x / --y are percentages
   set inline from the same array that writes the legend below, so a marker
   and its description cannot disagree. */
.anat-pin {
    position: absolute;
    left: calc(var(--x) * 1%); top: calc(var(--y) * 1%);
    transform: translate(-50%, -50%);
    width: 31px; height: 31px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--accent); color: #fff;
    font-family: var(--display); font-size: .78rem; line-height: 1;
    /* a white keyline first, then the glow: the markers sit on both the black
       writing area and the white advertiser strip, and one ring alone reads
       on only one of them */
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .92),
                0 0 0 6px rgba(232, 89, 12, .30),
                0 5px 16px rgba(20, 22, 26, .4);
}
/* Below this the board is too small for six markers to land clearly; the
   numbered legend still carries all six. */
@media (max-width: 760px) { .anat-pin { display: none; } }

.anat-tags {
    display: grid; gap: 1rem 1.4rem; margin: 1.6rem 0 0;
    grid-template-columns: repeat(3, 1fr);
    list-style: none; padding: 0;
}
.anat-tag { display: flex; gap: .75rem; align-items: flex-start; font-size: .93rem; }
.anat-tag b {
    flex: none; width: 26px; height: 26px; border-radius: 50%;
    background: var(--accent); color: #fff; display: grid; place-items: center;
    font-size: .8rem; font-family: var(--display); line-height: 1;
}

/* sample label -- required wherever a board render appears */
.sample-note {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .8rem; font-weight: 600; color: var(--muted);
    background: var(--bone-2); border-radius: 999px; padding: .35rem .85rem;
    margin-top: .9rem;
}
.sample-note::before {
    content: ''; width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent); flex: none;
}
.bg-ink .sample-note { background: rgba(255, 255, 255, .09); color: #a8b0ba; }

/* ==========================================================================
   MARQUEE (category strip)
   ========================================================================== */
.marq { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 1.15rem 0; }
.marq-track { display: flex; gap: 3rem; width: max-content; animation: slide 42s linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq span {
    font-family: var(--display); font-size: 1.06rem; letter-spacing: -.01em;
    color: var(--ink); opacity: .32; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 3rem;
}
.marq span::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .8; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(70% 120% at 85% 10%, rgba(232, 89, 12, .3), transparent 60%);
}
.cta-in { position: relative; display: grid; gap: 2rem; align-items: center; grid-template-columns: 1.4fr 1fr; }
.cta-in h2 { font-family: var(--display); font-weight: 400; color: #fff; font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem); letter-spacing: -.028em; margin: 0 0 .7rem; }
.cta-in p { color: #b9c0c9; margin: 0; max-width: 50ch; }
.cta-actions { display: grid; gap: .7rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */
.form-wrap {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r); padding: clamp(1.5rem, 3.5vw, 2.6rem);
    box-shadow: var(--sh-2);
}
.lead-form { margin: 0; }
.f-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.05rem 1.2rem; }
.f-row { margin: 0; display: flex; flex-direction: column; gap: .38rem; }
.f-wide { grid-column: 1 / -1; }
.f-row label { font-size: .89rem; font-weight: 700; color: var(--ink); }
.f-row label b { color: var(--accent-ink); font-weight: 700; }
.f-row .opt { font-weight: 500; color: var(--muted); font-size: .82rem; }
.f-row input, .f-row select, .f-row textarea {
    width: 100%; padding: .78rem .95rem; border: 1.5px solid var(--line);
    border-radius: var(--r-sm); background: var(--bone);
    transition: border-color .2s var(--ease), background-color .2s var(--ease),
                box-shadow .2s var(--ease);
}
.f-row textarea { resize: vertical; min-height: 92px; }
.f-row input:hover, .f-row select:hover, .f-row textarea:hover { border-color: #cfccc4; }
.f-row input:focus, .f-row select:focus, .f-row textarea:focus {
    outline: none; background: var(--paper); border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(232, 89, 12, .13);
}
.f-row [aria-invalid="true"] { border-color: #c92a2a; background: #fff6f6; }
.f-hint { font-size: .81rem; color: var(--muted); }
.f-err { font-size: .83rem; font-weight: 600; color: #b02020; margin: 0; }
.f-alert {
    background: #fff3f3; border: 1px solid #f3c0c0; color: #8a1f1f;
    border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .92rem;
    font-weight: 600; margin: 0 0 1.2rem;
}
.f-consent { margin: 1.35rem 0 1.5rem; font-size: .88rem; color: var(--muted); }
.f-consent label { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; }
.f-consent input { width: 19px; height: 19px; flex: none; margin-top: .18rem; accent-color: var(--accent); }
.f-consent.is-bad { color: #8a1f1f; }
.f-foot { font-size: .86rem; color: var(--muted); margin: .95rem 0 0; }
/* honeypot: off-screen, not display:none */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- contact: intro band + the two forms side by side ---------- */
.form-intro {
    display: grid; grid-template-columns: 1.15fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.form-pair {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.4vw, 1.6rem);
    align-items: start;
}
.form-title {
    font-family: var(--display); font-weight: 400; font-size: 1.4rem;
    letter-spacing: -.02em; margin: 0 0 1.2rem;
}

/*
 * Inside a half-width column the paired inputs would be about 230px each,
 * which is too narrow for "Instagram or Google listing" or a category select.
 * One field per row instead -- the two forms are similar lengths, so they
 * still finish level with each other.
 */
.form-pair .f-grid { grid-template-columns: 1fr; }

@media (max-width: 980px) {
    .form-intro { grid-template-columns: 1fr; }
    .form-pair { grid-template-columns: 1fr; }
    /* full width again, so the two-up field rows come back */
    .form-pair .f-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .form-pair .f-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-foot { background: var(--ink); color: #98a0aa; padding-block: clamp(3rem, 7vw, 4.5rem) 2rem; }
.foot-top { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 2fr; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-dark); }
.foot-tag { color: #c9ced6; font-size: 1.02rem; margin: .8rem 0 .55rem; max-width: 34ch; }
.foot-where { font-size: .93rem; margin: 0; }
.foot-phone { color: #fff; font-weight: 700; text-decoration: none; }
.foot-note { font-size: .88rem; color: #7d858f; max-width: 42ch; margin: .9rem 0 0; }
.dot { opacity: .4; margin-inline: .35rem; }
.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.foot-nav h2 { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 .9rem; font-weight: 700; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.foot-nav a { color: #98a0aa; text-decoration: none; font-size: .93rem; transition: color .2s var(--ease); }
.foot-nav a:hover { color: #fff; }
.foot-bot { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; padding-top: 1.6rem; font-size: .83rem; }
.foot-bot p { margin: 0; }
.foot-fine { color: #6f7680; max-width: 58ch; }

/* ==========================================================================
   REVEAL
   Opt-in: main.js adds .reveal-on once the observer is wired. Without JS the
   class never lands and everything is simply visible -- no blank page.
   ========================================================================== */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); }
.reveal-on .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-on .reveal-stagger > * { opacity: 0; transform: translateY(20px); }
.reveal-on .reveal-stagger.is-in > * {
    opacity: 1; transform: none;
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 85ms);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1000px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .step:nth-child(2)::after { display: none; }
    .anat-tags { grid-template-columns: repeat(2, 1fr); }
    .foot-top { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
    .nav, .head-cta { display: none; }
    .burger { display: block; }
    .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
    .frow { grid-template-columns: 1fr; }
    .frow-flip .frow-media { order: 0; }
    .cta-in { grid-template-columns: 1fr; }
    .plans { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .hero { min-height: 88svh; }
    .doors { grid-template-columns: 1fr; }
    /* A little shallower stacked, so both cards are reachable without a long
       scroll on a phone. */
    .door-media { aspect-ratio: 16 / 9; }
    .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .step { padding-top: 2.9rem; }
    .step::after { display: none; }
    .f-grid { grid-template-columns: 1fr; }
    .anat-tags { grid-template-columns: 1fr; }
    .foot-nav { grid-template-columns: repeat(2, 1fr); }
    .hero-stats { gap: 1.4rem 2rem; }
}

/* ==========================================================================
   MOTION / PRINT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .reveal-on .reveal,
    .reveal-on .reveal-stagger > * { opacity: 1 !important; transform: none !important; }
    .hero-media.is-still img { animation: none; }
    .marq-track { animation: none; }
}
@media print {
    .site-head, .site-foot, .burger, .hero-scroll, .cta-band, .marq { display: none !important; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .hero, .phero { background: #fff; margin-top: 0; min-height: 0; padding-block: 1rem; }
    .hero h1, .phero h1, .hero-sub, .phero p { color: #000 !important; }
    a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
