/* gingeronion.com homepage, 9 Oct (v3). Paul's brief: Studio Moross for the
   hanging-tab nav, opening video and ticker; Rise at Seven for the services
   showcase, What's new, the animated sign-off and the footer. Ginger accents.
   One typeface, Bricolage Grotesque, plus the fixed wordmark. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Fraunces Mark"; src: url("/assets/fonts/fraunces-wordmark.woff2") format("woff2"); font-weight: 700; font-display: block; }

:root {
  --ginger: #E8632B; --ginger-2: #F07A45; --ink: #1D1B19; --ink-2: #2A2724; --ink-3: #3A3632;
  --oat: #F5EFE4; --oat-2: #EAE2D4; --pickle: #C8E04F; --blush: #F7CBB2;
  --grey: #8C857B;
  --gut: clamp(16px, 2vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--oat); color: var(--ink); font: 400 17px/1.5 "Bricolage", ui-sans-serif, system-ui, sans-serif; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img, svg, video, picture { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--ginger); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ginger); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ginger); color: var(--ink); padding: 12px 18px; border-radius: 99px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nw { white-space: nowrap; }
.dot { display: inline-block; width: .16em; height: .16em; border-radius: 50%; background: var(--ginger); margin-left: .03em; vertical-align: baseline; }
.cond { font-weight: 800; font-stretch: 75%; text-transform: uppercase; letter-spacing: -.005em; }

/* ---------------------------------------------------------------- the tab (nav) */
.tab { position: fixed; top: 0; left: 50%; translate: -50% 0; z-index: 200; width: 230px; background: var(--ginger); color: var(--ink); border-radius: 0 0 16px 16px; box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45); }
.tab-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; border: 0; background: none; cursor: pointer; padding: 0; }
.tab-btn .mark { width: 40px; height: 33px; transition: transform .35s var(--ease); }
.tab:not(.shut):hover .tab-btn .mark, .tab.open .tab-btn .mark { transform: rotate(-8deg) scale(1.06); }
.tab-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.tab-menu > div { overflow: hidden; text-align: center; }
.tab.open .tab-menu, .tab:not(.shut):has(.tab-menu a:focus-visible) .tab-menu { grid-template-rows: 1fr; }
@media (hover: hover) { .tab:not(.shut):hover .tab-menu { grid-template-rows: 1fr; } }
.tab-menu nav { padding: 2px 14px 18px; display: grid; }
.tab-menu small { display: block; margin: 10px 0 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.tab-menu a { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 33px; line-height: 1.02; text-decoration: none; transition: color .15s; }
.tab-menu a:hover, .tab-menu a[aria-current] { color: var(--oat); }
.tab-menu .go { display: inline-flex; justify-content: center; margin-top: 14px; padding: 12px 16px; border-radius: 999px; background: var(--ink); color: var(--oat); font-size: 17px; letter-spacing: .02em; }
.tab-menu .go:hover { color: var(--ginger); }
.corner { position: fixed; top: 14px; right: var(--gut); z-index: 190; }

/* ---------------------------------------------------------------- pills */
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--ink); color: var(--oat); font-weight: 500; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, transform .25s var(--ease); }
.pill:hover { background: var(--ginger); color: var(--ink); }
.pill--light { background: var(--oat); color: var(--ink); }
.pill--light:hover { background: var(--ginger); }
.pill--ginger { background: var(--ginger); color: var(--ink); }
.pill--ginger:hover { background: var(--oat); }
.pill--ghost { background: rgba(245, 239, 228, .12); color: var(--oat); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pill .arr { display: inline-block; transition: transform .25s var(--ease); }
.pill:hover .arr { transform: translate(2px, -2px); }

/* ---------------------------------------------------------------- hero (Moross) */
.hero { background: var(--ink); padding: 60px var(--gut) 0; }
.reel { position: relative; height: calc(100svh - 60px - var(--gut)); min-height: 460px; border-radius: 22px; overflow: hidden; background: var(--ink-2); }
.reel video, .reel img, .reel picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 14, .7) 0%, rgba(20, 17, 14, .1) 45%, rgba(20, 17, 14, 0) 70%), radial-gradient(120% 80% at 50% 50%, transparent 55%, rgba(20, 17, 14, .45)); pointer-events: none; }
.reel-copy { position: absolute; left: clamp(20px, 4vw, 56px); right: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 48px); z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; color: var(--oat); }
.reel h1 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(3.6rem, 10.5vw, 11rem); line-height: .84; letter-spacing: -.01em; }
.reel h1 .dot { width: .14em; height: .14em; }
.reel .sub { margin-top: 18px; font-size: clamp(17px, 1.5vw, 21px); max-width: 38ch; color: rgba(245, 239, 228, .88); }
.reel .acts { display: flex; gap: 10px; align-items: center; }
.vid-btn { width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(245, 239, 228, .14); color: var(--oat); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; display: grid; place-items: center; }
.vid-btn svg { width: 14px; height: 14px; }
.vid-btn .i-play { display: none; }
.vid-btn.paused .i-play { display: block; } .vid-btn.paused .i-pause { display: none; }

/* ---------------------------------------------------------------- ticker (Moross) */
.ticker { background: var(--ink); padding: var(--gut) 0 0; }
.ticker .band { background: var(--ginger); color: var(--ink); overflow: hidden; padding: 20px 0 14px; }
.ticker .track { display: flex; width: max-content; animation: tick 40s linear infinite; }
.ticker .track > span { display: inline-flex; align-items: center; gap: .32em; padding-right: .32em; font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(3.4rem, 10.5vw, 12rem); line-height: .92; white-space: nowrap; }
.ticker .sep { display: inline-grid; place-items: center; width: .62em; height: .42em; border-radius: .1em; background: var(--ink); translate: 0 -.06em; }
.ticker .sep svg { width: .3em; height: .25em; }
.ticker--pickle { background: var(--oat); padding: 0; }
.ticker--pickle .band { background: var(--pickle); padding: 10px 0 6px; }
.ticker--pickle .track { animation-duration: 44s; }
.ticker--pickle .track > span { font-size: clamp(2rem, 4.4vw, 4.6rem); }
.ticker:hover .track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- intro */
.intro { padding: clamp(72px, 9vw, 130px) var(--gut); text-align: center; }
.intro p { max-width: 30ch; margin: 0 auto; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.03em; font-weight: 400; text-wrap: balance; }
.intro b { font-weight: 700; }
.intro .hl { color: var(--ginger); }
.intro .aside { display: block; margin-top: 22px; font-size: 17px; letter-spacing: 0; color: var(--grey); font-weight: 500; }
.intro .acts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* ---------------------------------------------------------------- services (Rise "featured work") */
.svc { padding: 0 var(--gut); }
.svc-panel { position: relative; border-radius: 22px; background: var(--ink); color: var(--oat); display: grid; grid-template-columns: 1fr 1fr; }
.svc-side { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.svc-side h2 { font-size: 20px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.svc-side h2 a { font-size: 15px; color: rgba(245, 239, 228, .6); text-decoration: none; }
.svc-side h2 a:hover { color: var(--ginger); }
.svc-list { position: relative; flex: 1; min-height: 0; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.svc-list ol { position: absolute; left: 0; right: 0; top: 50%; transition: transform .7s var(--ease); }
.svc-list li { padding: 14px 0; }
.svc-list .lbl { font-size: 12px; font-weight: 500; color: rgba(245, 239, 228, .5); margin-bottom: 4px; }
.svc-list a { display: block; text-decoration: none; font-size: clamp(40px, 5.2vw, 84px); font-weight: 500; line-height: .98; letter-spacing: -.045em; background: linear-gradient(180deg, rgba(245, 239, 228, .55), rgba(245, 239, 228, .12)); -webkit-background-clip: text; background-clip: text; color: transparent; transition: color .4s; }
.svc-list li.on a { color: var(--oat); }
.svc-list li.on a:hover { color: var(--ginger); }
.svc-list .more { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; color: rgba(245, 239, 228, .75); font-size: 18px; max-width: 34ch; }
.svc-list li.on .more { max-height: 140px; opacity: 1; margin-top: 12px; }
.svc-list .more span { display: inline-block; margin-top: 8px; color: var(--ginger); font-weight: 500; }
.svc-media { padding: 22px 22px 22px 0; display: grid; gap: 22px; }
.svc-media a { position: relative; display: block; height: 82svh; min-height: 420px; border-radius: 16px; overflow: hidden; background: var(--ink-2); }
.svc-media img, .svc-media picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.svc-media a:hover img { transform: scale(1.03); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(29, 27, 25, .55); color: var(--oat); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; }
.chip svg { width: 15px; height: 15px; }
.chip--q { right: 16px; bottom: 16px; }
.chip--q .arr { color: var(--ginger); }
.chip--n { left: 16px; top: 16px; }
.svc-m-name { display: none; }
@media (max-width: 899px) {
  .svc-panel { grid-template-columns: 1fr; }
  .svc-side { position: relative; height: auto; padding-bottom: 0; }
  .svc-list { display: none; }
  .svc-media { padding: 22px; }
  .svc-media a { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .svc-m-name { display: block; position: absolute; left: 16px; right: 16px; bottom: 64px; z-index: 2; color: var(--oat); font-size: 40px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
  .svc-media a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 17, 14, .65), transparent 55%); }
  .chip { z-index: 3; }
}

/* ---------------------------------------------------------------- what's new (Rise) */
.news { padding: clamp(80px, 9vw, 130px) var(--gut) clamp(40px, 5vw, 64px); }
.news-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(29, 27, 25, .15); }
.news-head h2 { display: flex; align-items: center; gap: .14em; font-size: clamp(52px, 7vw, 108px); line-height: .95; letter-spacing: -.05em; }
.news-head .thumb { display: inline-block; width: .82em; height: .82em; border-radius: .14em; overflow: hidden; flex: none; rotate: -4deg; }
.news-head .thumb img, .news-head .thumb picture { width: 100%; height: 100%; object-fit: cover; }
.news-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 800px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.post { display: block; text-decoration: none; }
.post .img { position: relative; aspect-ratio: 1 / 1.02; border-radius: 18px; overflow: hidden; background: var(--ink); }
.post .img img, .post .img picture { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .img img { transform: scale(1.04); }
.post .img .chip { left: 12px; top: 12px; font-size: 13px; padding: 6px 12px; }
.post .cover { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 28px; text-align: center; color: var(--oat); z-index: 2; }
.post .cover b { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(36px, 4vw, 58px); line-height: .9; }
.post .cover b em { font-style: normal; color: var(--ginger); }
.post .img::after { content: ""; position: absolute; inset: 0; background: rgba(20, 17, 14, .45); }
.post .meta { display: flex; gap: 6px; margin-top: 14px; }
.post .meta span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 13px; color: #5a544d; }
.post .meta .g { width: 14px; height: 12px; }
.post h3 { margin-top: 12px; font-size: clamp(20px, 1.7vw, 24px); line-height: 1.15; letter-spacing: -.02em; max-width: 26ch; }
.post:hover h3 { text-decoration: underline; text-decoration-color: var(--ginger); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------------------------------------------------------------- ready to get found (Rise sign-off) */
.ready { display: block; text-decoration: none; padding: clamp(40px, 6vw, 90px) 0 clamp(50px, 7vw, 110px); overflow: hidden; }
.ready .words { display: flex; justify-content: center; flex-wrap: nowrap; font-size: clamp(48px, 11.6vw, 230px); font-weight: 500; letter-spacing: -.055em; line-height: .9; white-space: nowrap; }
.ready .ch { display: inline-block; will-change: transform; transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--tr, 0)); }
.ready .ch.sp { width: .24em; }
.ready .q { color: var(--ginger); }
.ready .under { display: flex; justify-content: center; margin-top: clamp(20px, 3vw, 36px); }
.ready:hover .pill { background: var(--ginger); color: var(--ink); }

/* ---------------------------------------------------------------- footer (Rise) */
.foot { padding: 0 8px 8px; }
.foot-panel { border-radius: 22px; background: var(--ink); color: var(--oat); padding: clamp(28px, 3vw, 40px) clamp(20px, 3vw, 40px) 20px; overflow: hidden; }
.foot-top { display: grid; gap: 36px; }
@media (min-width: 960px) { .foot-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.foot h2 { font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; }
.news-form { position: relative; margin-top: 18px; max-width: 480px; }
.news-form input { width: 100%; height: 58px; border-radius: 999px; border: 0; background: var(--ink-3); padding: 0 70px 0 22px; color: var(--oat); font-size: 17px; outline: 0; }
.news-form input::placeholder { color: rgba(245, 239, 228, .5); }
.news-form input:focus { box-shadow: 0 0 0 2px var(--ginger); }
.news-form button { position: absolute; right: 6px; top: 6px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ginger); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .25s var(--ease); }
.news-form button:hover { background: var(--oat); transform: rotate(-45deg); }
.news-form button svg { width: 18px; height: 18px; }
.news-note { margin-top: 10px; font-size: 14px; color: rgba(245, 239, 228, .55); min-height: 1.4em; }
.news-note.ok { color: var(--pickle); }
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.socials a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--ink-3); font-size: 13px; text-decoration: none; }
.socials a:hover { background: var(--ginger); color: var(--ink); }
.foot-col { border-left: 1px solid rgba(245, 239, 228, .14); padding-left: 18px; display: grid; align-content: start; gap: 4px; }
.foot-col a, .foot-col button { font-size: 19px; text-decoration: none; letter-spacing: -.01em; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; width: fit-content; }
.foot-col a:hover, .foot-col button:hover { color: var(--ginger); }
.foot-col small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(245, 239, 228, .45); margin-bottom: 6px; }
.giant { display: flex; align-items: baseline; justify-content: space-between; margin: clamp(40px, 6vw, 90px) 0 clamp(30px, 4vw, 56px); font: 700 clamp(56px, 13.2vw, 250px)/.82 "Fraunces Mark", Georgia, serif; letter-spacing: -.055em; white-space: nowrap; color: var(--oat); }
.giant .dot { width: .16em; height: .16em; }
.giant .mark { width: .95em; height: auto; flex: none; translate: 0 .06em; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 13px; color: rgba(245, 239, 228, .55); }
.foot-base a { color: inherit; }
.foot-base span + span::before { content: "•"; margin: 0 10px; }

/* ---------------------------------------------------------------- mobile */
@media (max-width: 700px) {
  .tab { width: 180px; }
  .corner { display: none; }
  .tab-menu a { font-size: 30px; }
  .reel { height: calc(100svh - 60px - var(--gut)); }
  .news-head { flex-direction: column; align-items: flex-start; }
}

@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ready .ch { transform: none !important; }
}
/* Hero reel: landscape cut on wide screens, its own portrait cut on phones and tall windows */
.reel .v-port { display: none; }
@media (max-aspect-ratio: 4/5) { .reel .v-land { display: none; } .reel .v-port { display: block; object-position: 50% 30%; } }
/* short phones: a tighter headline block so it never sits on the reel's cards */
@media (max-aspect-ratio: 4/5) and (max-height: 760px) { .reel-copy { gap: 14px; bottom: 18px; } .reel h1 { font-size: 3rem; } .reel .sub { margin-top: 10px; font-size: 15px; } }
/* wide, short windows (big monitors): crop the reel from the bottom, never the top, so its baked-in captions stay whole, and size the headline by height so it stays below them */
@media (min-aspect-ratio: 16/9) { .reel .v-land { object-position: 50% 0; } .reel h1 { font-size: clamp(3.6rem, min(10.5vw, 14svh), 11rem); } }
.reel > .vid-btn { position: absolute; top: 18px; right: 18px; z-index: 3; }

/* ================================================================ inner pages (same system) */
.wrap { width: min(100%, 1320px); margin-inline: auto; padding-inline: clamp(20px, 3vw, 40px); }
.narrow { max-width: 760px; }
.sec { padding-block: clamp(48px, 6vw, 96px); }
.sec--tight { padding-block: clamp(40px, 5vw, 72px); }
.sec--flush { padding-top: 0; }
.label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.on-ink .label { color: rgba(245, 239, 228, .55); }
.h-xl { font-size: clamp(44px, 6.4vw, 100px); line-height: .95; letter-spacing: -.05em; font-weight: 500; text-wrap: balance; }
.h-l { font-size: clamp(36px, 4.6vw, 68px); line-height: .98; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.h-m { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; }
.h-s { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-weight: 600; }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: #4A453F; max-width: 46ch; }
.on-ink .lede { color: rgba(245, 239, 228, .78); }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.head > div { max-width: 820px; }
.head .lede { margin-top: 18px; }
.head .label { display: block; margin-bottom: 14px; }
.acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; }
.pill--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(29, 27, 25, .25); }
.on-ink .pill--line { color: var(--oat); box-shadow: inset 0 0 0 1.5px rgba(245, 239, 228, .3); }
.pill--lg { min-height: 56px; padding: 0 28px; font-size: 17px; }
.link { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--ginger); }
.link:hover { color: var(--ginger); }

/* page hero: a dark rounded panel, like the reel, with copy and a picture */
.phero { background: var(--ink); padding: 60px var(--gut) 0; }
.phero-panel { border-radius: 22px; background: var(--ink-2); color: var(--oat); display: grid; gap: 28px; padding: clamp(28px, 5vw, 64px); min-height: min(78svh, 760px); align-items: end; overflow: hidden; position: relative; }
@media (min-width: 960px) { .phero-panel.has-img { grid-template-columns: 1.1fr .9fr; align-items: stretch; } }
.phero .copy { display: flex; flex-direction: column; justify-content: flex-end; }
.phero h1 { font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(3.2rem, 8.2vw, 8.6rem); line-height: .86; letter-spacing: -.005em; margin-top: 18px; text-wrap: balance; }
.phero h1 .dot { width: .14em; height: .14em; }
.phero .lede { margin-top: 22px; }
.phero .crumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: rgba(245, 239, 228, .6); }
.phero .crumb a { text-decoration: none; } .phero .crumb a:hover { color: var(--ginger); }
.phero .pic { position: relative; border-radius: 16px; overflow: hidden; min-height: 320px; background: var(--ink-3); }
.phero .pic img, .phero .pic picture, .phero .pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 24px; }
.phero .tags li { padding: 6px 12px; border-radius: 999px; background: rgba(245, 239, 228, .1); font-size: 13.5px; color: rgba(245, 239, 228, .85); }
.phero--short .phero-panel { min-height: 0; padding-top: clamp(80px, 9vw, 120px); }

/* big centred statement */
.statement { text-align: center; }
.statement p.big { max-width: 30ch; margin: 0 auto; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.12; letter-spacing: -.03em; text-wrap: balance; }
.statement b { font-weight: 700; } .statement .hl { color: var(--ginger); }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.facts li { padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 15px; }
.facts b { font-weight: 600; margin-right: 6px; color: var(--ginger); }

/* cards and grids */
.g2, .g3, .g4 { display: grid; gap: 16px; }
@media (min-width: 760px) { .g2, .g3, .g4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { display: block; border-radius: 18px; background: #fff; padding: clamp(22px, 2.4vw, 32px); text-decoration: none; transition: transform .3s var(--ease), background .3s; }
a.card:hover { transform: translateY(-3px); }
.card .h-s { margin-bottom: 10px; }
.card p { color: #5A544D; font-size: 16.5px; }
.card .n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ginger); color: var(--ink); font-weight: 700; font-size: 14px; margin-bottom: 20px; }
.card .kind { display: inline-block; margin-bottom: 22px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ginger); }
.card .go { display: inline-flex; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--ginger); }
.on-ink .card { background: var(--ink-3); }
.on-ink .card p { color: rgba(245, 239, 228, .72); }
.panel-ink { border-radius: 22px; background: var(--ink); color: var(--oat); padding: clamp(28px, 5vw, 64px); }
.panel-ink.on-ink .lede { color: rgba(245, 239, 228, .78); }
.panel-gin { border-radius: 22px; background: var(--ginger); color: var(--ink); padding: clamp(28px, 5vw, 64px); }
.panel-gin .label { color: rgba(29, 27, 25, .65); }
.panel-gin .lede { color: var(--ink); }
.photo { position: relative; border-radius: 18px; overflow: hidden; background: var(--ink); }
.photo img, .photo picture { width: 100%; height: 100%; object-fit: cover; }
.r11 { aspect-ratio: 1; } .r45 { aspect-ratio: 4 / 5; } .r43 { aspect-ratio: 4 / 3; } .r32 { aspect-ratio: 3 / 2; } .r169 { aspect-ratio: 16 / 9; }
.mcard { display: block; text-decoration: none; }
.mcard .photo { margin-bottom: 16px; }
.mcard p { color: #5A544D; font-size: 16.5px; margin-top: 6px; }
a.mcard:hover img { transform: scale(1.04); } .mcard img { transition: transform 1.2s var(--ease); }
.split { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split--top { align-items: start; } .split--57 { grid-template-columns: 5fr 7fr; } }

/* lists */
.ticks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; padding: 8px 0; font-size: 17px; }
.ticks svg { width: 20px; height: 20px; color: var(--ginger); margin-top: 2px; }
.incl { display: grid; gap: 0 48px; counter-reset: inc; }
@media (min-width: 860px) { .incl { grid-template-columns: 1fr 1fr; } }
.incl li { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 22px 0; border-top: 1px solid rgba(29, 27, 25, .14); counter-increment: inc; }
.incl li::before { content: counter(inc, decimal-leading-zero); grid-row: span 2; font-weight: 800; font-stretch: 75%; font-size: 30px; line-height: 1; color: var(--ginger); }
.incl p { color: #5A544D; font-size: 16.5px; }
.steps { display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; padding: 26px 0; border-top: 1px solid rgba(29, 27, 25, .14); }
.steps .num { grid-row: span 3; font-weight: 800; font-stretch: 75%; font-size: 52px; line-height: .85; color: var(--ginger); }
.steps p { color: #5A544D; }
.steps dl { display: grid; gap: 10px; margin: 12px 0 0; font-size: 15.5px; }
@media (min-width: 760px) { .steps dl { grid-template-columns: 1fr 1fr; } }
.steps dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.steps dd { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 10px 16px; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; }
.chips li.lead { background: var(--ginger); }
.wont li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: baseline; padding: 18px 0; border-top: 1px solid rgba(245, 239, 228, .14); font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; }
.wont svg { width: 20px; height: 20px; color: var(--ginger); }

/* faq */
.faq { border-top: 1px solid rgba(29, 27, 25, .16); }
.faq details { border-bottom: 1px solid rgba(29, 27, 25, .16); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; }
.faq .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #fff; position: relative; transition: rotate .3s var(--ease), background .3s; }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); translate: -50% -50%; }
.faq .pm::after { rotate: 90deg; }
.faq details[open] .pm { rotate: 45deg; background: var(--ginger); }
.faq .ans { padding: 0 0 24px; max-width: 66ch; color: #4A453F; font-size: 17px; }
.faq-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: 4fr 8fr; } }

/* prose (articles, GEO detail, privacy) */
.prose { font-size: 18.5px; line-height: 1.65; color: #2E2A26; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-weight: 500; margin-top: 1.8em; color: var(--ink); }
.prose h3 { font-size: 21px; font-weight: 600; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--ginger); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 4px solid var(--ginger); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); }
.prose .ticks, .prose .incl { padding: 0; list-style: none; }
.byline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.byline span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(245, 239, 228, .12); font-size: 14px; }
.byline .g { width: 15px; height: 13px; }

/* contact form */
.form { border-radius: 22px; background: #fff; padding: clamp(24px, 4vw, 48px); display: grid; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 15px; font-weight: 600; }
.form input:not([type=checkbox]), .form textarea { width: 100%; min-height: 56px; padding: 14px 18px; border-radius: 14px; border: 1.5px solid rgba(29, 27, 25, .14); background: var(--oat); font: 400 17px/1.4 "Bricolage", sans-serif; color: var(--ink); outline: 0; transition: border-color .2s; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus { border-color: var(--ginger); }
.form .invalid { border-color: var(--ginger) !important; }
.form .note { font-size: 14px; color: var(--grey); }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 0; font-weight: 600; min-height: 1em; }
.form-status.err { color: #B5441A; }
.form.sent { text-align: center; padding-block: 64px; }
.form.sent h3 { font-size: 34px; letter-spacing: -.03em; font-weight: 500; margin: 18px 0 8px; }
.sent-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ginger); margin: 0 auto; }
.next { display: grid; gap: 14px; counter-reset: n; }
.next li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; counter-increment: n; color: #5A544D; }
.next li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ginger); color: var(--ink); font-weight: 700; font-size: 13px; }
.next b { color: var(--ink); }

/* product mockups (Spyglo, search, AI answers) */
.mock { border-radius: 18px; background: #fff; padding: 22px 24px; font-size: 15px; line-height: 1.5; box-shadow: 0 24px 50px -32px rgba(29, 27, 25, .4); }
.mock .bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 13px; color: var(--grey); margin-bottom: 14px; }
.ex { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 99px; box-shadow: inset 0 0 0 1px rgba(29, 27, 25, .2); }
.spy-scores { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.score { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; background: var(--oat); }
.score svg { width: 52px; height: 52px; rotate: -90deg; flex: none; }
.score circle { fill: none; stroke-width: 3.4; }
.score .trk { stroke: rgba(29, 27, 25, .1); }
.score .val { stroke: var(--ginger); stroke-linecap: round; stroke-dasharray: 0 100; transition: stroke-dasharray 1.4s var(--ease) .2s; }
.score.in .val { stroke-dasharray: var(--v) 100; }
.score b { display: block; font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.score span { font-size: 12.5px; color: var(--grey); }
.spy-list li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid rgba(29, 27, 25, .1); font-size: 14.5px; }
.spy-list i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.spy-list .ok { background: #8DB33A; } .spy-list .warn { background: #E2A93B; } .spy-list .bad { background: var(--ginger); }
.mock-stage { border-radius: 22px; background: var(--blush); padding: clamp(18px, 4vw, 48px); display: grid; gap: 14px; }

/* strip of images (about) */
.strip { display: flex; gap: 14px; width: max-content; padding-inline: var(--gut); translate: var(--sx, 0) 0; }
.strip figure { margin: 0; width: clamp(220px, 24vw, 360px); }
.strip figcaption { margin-top: 8px; font-size: 13px; color: var(--grey); }
.strip-wrap { overflow: hidden; }
.pic > .vid-btn, .phero .vid-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.phero .lede { color: rgba(245, 239, 228, .8); }
.split > *, .head > *, .g2 > *, .g3 > *, .g4 > * { min-width: 0; }

.tab-btn .chev { width: 13px; height: 9px; opacity: .8; transition: transform .35s var(--ease), opacity .2s; }
.tab:not(.shut):hover .tab-btn .chev, .tab.open .tab-btn .chev { opacity: 1; transform: rotate(180deg); }
@media (prefers-reduced-motion: no-preference) { .tab:not(.open):not(:hover) .tab-btn .chev { animation: nudge 2.4s ease-in-out 1.5s 3; } }
@keyframes nudge { 0%, 60%, 100% { translate: 0 0; } 30% { translate: 0 3px; } }

/* photo pairs inside articles (Reorient style): a touch wider than the text, side by side, stacked on phones */
.prose .ip { margin: 2.6em calc(50% - min(560px, 50vw - 20px)); }
.ip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ip .photo { aspect-ratio: 4 / 5; border-radius: 16px; }
.ip figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--grey); text-align: center; }

/* articles and inner pages on phones */
@media (max-width: 700px) {
  .phero { padding-top: 56px; }
  .phero-panel { padding: 28px 20px 24px; min-height: 0; gap: 22px; }
  .phero h1 { font-size: clamp(2.5rem, 11.5vw, 3.6rem); line-height: .9; }
  .phero .pic { min-height: 0; aspect-ratio: 4 / 3; }
  .phero .lede { font-size: 17px; }
  .phero .acts .pill--lg { min-height: 50px; padding: 0 20px; font-size: 16px; }
  .byline span { font-size: 13px; padding: 5px 10px; }
  .prose { font-size: 17.5px; line-height: 1.62; }
  .prose h2 { font-size: 26px; margin-top: 1.6em; }
  .prose blockquote { font-size: 21px; padding-left: 16px; }
  .statement p.big { font-size: 24px; }
  .h-xl { font-size: 40px; } .h-l { font-size: 34px; }
  .faq summary { padding: 18px 0; } .faq summary h3 { font-size: 18px; }
  .panel-ink, .panel-gin { padding: 24px 18px; border-radius: 18px; }
  .incl li { grid-template-columns: 40px 1fr; } .incl li::before { font-size: 24px; }
  .steps li { grid-template-columns: 48px 1fr; } .steps .num { font-size: 40px; }
  .ticker .track > span { font-size: 3rem; }
}
@media (max-width: 560px) {
  .prose .ip { margin: 2em 0; }
  .ip-grid { grid-template-columns: 1fr; gap: 12px; }
  .ip .photo { aspect-ratio: 4 / 3; }
}
.latest { margin-top: 16px; font-size: 14px; color: rgba(245, 239, 228, .6); max-width: 420px; } .latest a { color: var(--oat); text-decoration: underline; text-decoration-color: var(--ginger); text-underline-offset: 3px; } .latest a:hover { color: var(--ginger); }
