/* heathen.digital
   Built on the Heathen identity (design system artifact): dark ground, one mint moment per view,
   Poppins headlines ending in a mint full stop, IBM Plex for reading and labels, square corners,
   1px rules instead of shadows, and one 7.3deg split per page. */
/* Fonts, self-hosted (Latin). The page waits for them before it shows; see the script in each page's head. */
@font-face { font-family: Poppins; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/poppins-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 100 700; font-display: swap; src: url(/assets/fonts/plex-sans-var.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/plex-mono-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/plex-mono-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ground: #0e0e0e;
  --ground-raised: #171716;
  --rule: #262624;
  --rule-strong: #5c5c58;
  --ink: #f2f2ef;
  --ink-muted: #8f8f8a;
  --ink-faint: #5c5c58;
  --mint: #3ef0b8;
  --on-mint: #0e0e0e;
  --pink: #f92cc3;

  --font-display: Poppins, "Helvetica Neue", Arial, sans-serif;
  --font-sans: "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 40px; --space-8: 56px; --space-9: 72px; --space-10: 112px;
  --measure: 1180px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --split-angle: 7.3deg;
  --split-rise: 0.128; /* tan(7.3deg) */
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body { transition: opacity .3s ease; }
html.fonts-wait body { opacity: 0; transition: none; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 17px/1.6 var(--font-sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--mint); color: var(--on-mint); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { :root { --gutter: max(40px, env(safe-area-inset-left, 0px)); } .wrap { padding-right: max(40px, env(safe-area-inset-right, 0px)); } }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--mint); color: var(--on-mint); padding: 8px 12px; font: 600 14px/1 var(--font-sans); z-index: 50; }
.skip:focus { left: 8px; }

/* Type */
.label { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.label--mint { color: var(--mint); }
.meta { font: 400 13px/1.5 var(--font-mono); color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.headline { font: 600 clamp(36px, 6.2vw, 80px)/.98 var(--font-display); letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.headline--l { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.04; letter-spacing: -0.03em; }
.heading { font: 600 clamp(24px, 2.6vw, 30px)/1.15 var(--font-display); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.dot { color: var(--mint); }
.lede { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--ink-muted); max-width: 40em; margin: 0; }
.lede strong { color: var(--ink); font-weight: 500; }
.prose { max-width: 40em; }
.prose p { margin: 0 0 1em; }
.prose p:last-child { margin-bottom: 0; }

/* Links and buttons */
.link { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; font: 600 15px/1.2 var(--font-sans); text-decoration: none; border: 0; border-radius: 2px; cursor: pointer; background: var(--mint); color: var(--on-mint); transition: background-color .15s, color .15s, box-shadow .15s; }
.btn:hover { background: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule-strong); }
.btn--ghost:hover { background: transparent; color: var(--mint); box-shadow: inset 0 0 0 1px var(--mint); }
.btns { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(14, 14, 14, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--ground); z-index: 30; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: 68px; }
.brand { display: block; width: 132px; text-decoration: none; }
.brand img, .brand heathen-logo { display: block; width: 100%; }
.nav { display: flex; align-items: center; gap: var(--space-5); }
.nav a { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; padding: 6px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--mint); }
.nav .btn { font: 600 14px/1.2 var(--font-sans); letter-spacing: 0; text-transform: none; color: var(--on-mint); padding: 9px 14px; }
.nav .btn:hover { color: var(--on-mint); }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule-strong); border-radius: 2px; color: var(--ink); font: 500 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; padding: 10px 12px; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--ground); border-bottom: 1px solid var(--rule); padding: var(--space-2) var(--gutter) var(--space-5); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 13px; }
  .nav .btn { margin-top: var(--space-4); justify-content: center; border-bottom: 0; }
  .site-head[data-open="true"] .nav { display: flex; }
}

/* Sections */
.section { padding-block: var(--space-10) 0; }
.section-head { display: grid; gap: var(--space-3); margin-bottom: var(--space-7); }
.section-head--row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
@media (max-width: 640px) { .section-head--row { grid-template-columns: 1fr; } }

/* Hero: live signal field behind the headline */
.hero { position: relative; overflow: hidden; padding-block: clamp(88px, 13vw, 168px) clamp(96px, 12vw, 160px); border-bottom: 0; min-height: min(86vh, 820px); display: grid; align-content: center; }
.field { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; }
.field.hud { pointer-events: none; }
.hero__hint { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 20px; z-index: 1; font: 500 11px/1.4 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); pointer-events: none; }
@media (min-width: 720px) { .hero__hint { right: 40px; } }


/* Parallax: elements drift a little against the scroll */
[data-parallax] { will-change: transform; }
.parallax-img { overflow: hidden; } .parallax-img img { transform: translateY(var(--py, 0px)) scale(1.08); will-change: transform; }
.hero .wrap { position: relative; z-index: 1; display: grid; gap: var(--space-6); }
.hero .lede { max-width: 34em; }

/* Work grid */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }
.work { background: var(--ground); display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; min-width: 0; }
.work__img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--ground-raised); border-bottom: 1px solid var(--rule); }
.work__img img, .work__img video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform .4s ease; }
.work__body { padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.work__body h3 { font: 500 22px/1.3 var(--font-sans); letter-spacing: -0.01em; margin: 0; transition: color .15s; }
.work__body p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }
.work__meta { display: flex; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.work:hover h3 { color: var(--mint); }
.work:hover .work__img img, .work:hover .work__img video { transform: scale(1.02); }
@media (prefers-reduced-motion: reduce) { .work:hover .work__img img { transform: none; } }

/* Engagement models */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
@media (max-width: 860px) { .ways { grid-template-columns: 1fr; } }
.way { padding: var(--space-6) var(--space-5) var(--space-6) 0; display: grid; gap: var(--space-3); align-content: start; border-bottom: 1px solid var(--rule); }
@media (min-width: 861px) { .way + .way { padding-left: var(--space-5); border-left: 1px solid var(--rule); } }
.way h3 { font: 600 26px/1.15 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.way p { margin: 0; color: var(--ink-muted); }
.way dl { margin: var(--space-2) 0 0; display: grid; gap: 4px; }
.way dt { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.way dd { margin: 0 0 var(--space-2); font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; gap: var(--space-6); } }
.about figure { margin: 0; }
.about img { width: 100%; border: 1px solid var(--rule); }
.about figcaption { margin-top: var(--space-3); }
.about .prose { display: grid; gap: var(--space-5); }
.ticker { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ticker li { font: 500 12px/1.6 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); }

/* Talent band */
.band { position: relative; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding-block: var(--space-9); }
.band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: start; }
@media (max-width: 860px) { .band .wrap { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding-block: var(--space-10); }
.contact .wrap { display: grid; gap: var(--space-6); }
.email { font: 600 clamp(26px, 4.4vw, 52px)/1.1 var(--font-display); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; word-break: break-word; }
.email:hover { color: var(--mint); }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding-block: var(--space-7) max(var(--space-7), env(safe-area-inset-bottom, 0px)); }
.site-foot .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-5) var(--space-7); align-items: center; }
.site-foot .mark { width: 32px; height: 32px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.site-foot nav a { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); text-decoration: none; }
.site-foot nav a:hover { color: var(--mint); }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: auto 1fr; } .site-foot .meta { grid-column: 1 / -1; } }

/* Case study pages */
.case-hero { padding-block: clamp(48px, 8vw, 104px) var(--space-8); display: grid; gap: var(--space-5); }
.crumbs { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.crumbs a { color: var(--mint); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--ink-faint); margin: 0 8px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: var(--space-5); border-top: 1px solid var(--rule); padding-top: var(--space-5); margin-top: var(--space-3); }
.facts div { display: grid; gap: 4px; }
.facts dd { margin: 0; font-size: 15px; }
.shot { margin: 0 0 var(--space-9); }
.shot img { width: 100%; border: 1px solid var(--rule); background: var(--ground-raised); }
.shot figcaption { margin-top: var(--space-3); }
.parts { border-top: 1px solid var(--rule); margin-bottom: var(--space-9); }
.part { display: grid; grid-template-columns: minmax(160px, 240px) minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3) var(--space-6); padding-block: var(--space-6); border-bottom: 1px solid var(--rule); }
.part h3 { font: 500 21px/1.3 var(--font-sans); margin: 0; letter-spacing: -0.01em; }
.part p { margin: 0; }
.part .label { margin-bottom: 6px; }
.part .problem p { color: var(--ink-muted); }
@media (max-width: 860px) { .part { grid-template-columns: 1fr; } }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); margin-bottom: var(--space-9); }
.shots figure { margin: 0; }
.shots img { width: 100%; border: 1px solid var(--rule); }
.shots figcaption { margin-top: var(--space-3); }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.next { border-top: 1px solid var(--rule); padding-block: var(--space-7); display: flex; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; align-items: center; }
.next a { text-decoration: none; }
.next .heading { transition: color .15s; }
.next a:hover .heading { color: var(--mint); }

/* Talent page */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); margin-bottom: var(--space-9); }
.role { background: var(--ground); padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.role h3 { font: 500 19px/1.3 var(--font-sans); margin: 0; }
.role p { margin: 0; color: var(--ink-muted); font-size: 15px; }
.steps { list-style: none; margin: 0 0 var(--space-9); padding: 0; border-top: 1px solid var(--rule); counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-4); padding-block: var(--space-5); border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1.9 var(--font-mono); color: var(--mint); }
.steps h3 { font: 500 19px/1.3 var(--font-sans); margin: 0 0 4px; }
.steps p { margin: 0; color: var(--ink-muted); }

/* 404 */
.lost { min-height: 60vh; display: grid; align-content: center; gap: var(--space-5); padding-block: var(--space-10); }

/* Case study chapters: a labeled block inside a case study (Trends, Voices Studio, Audience stats) */
.chapter { border-top: 1px solid var(--rule); padding-top: var(--space-8); margin-bottom: var(--space-9); display: grid; gap: var(--space-7); }
.chapter__head { display: grid; gap: var(--space-3); max-width: 46em; }
.chapter__head .lede { max-width: 40em; }
.tag { display: inline-block; justify-self: start; font: 500 12px/1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--on-mint); background: var(--mint); padding: 6px 8px; border-radius: 2px; }
.chapter .shot, .chapter .shots, .chapter .ways, .chapter .roles { margin-bottom: 0; }
.ways--tight .way { padding-block: var(--space-5); }
.ways--tight .way h3 { font-size: 21px; }

/* Proof row: big number, one line on what it means */
.proofs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 860px) { .proofs { grid-template-columns: 1fr; } }
.proof { background: var(--ground); padding: var(--space-5); display: grid; gap: var(--space-2); align-content: start; }
.proof b { font: 600 clamp(32px, 4vw, 44px)/1 var(--font-display); letter-spacing: -0.03em; color: var(--ink); }
.proof h3 { font: 500 17px/1.35 var(--font-sans); margin: 0; }
.proof p { margin: 0; color: var(--ink-muted); font-size: 15px; line-height: 1.55; }

/* Tool grid inside a suite */
.roles--tools .role { gap: 6px; }
.roles--tools .role .label { margin-bottom: 2px; }

/* Products: Heathen's own */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-7); align-items: center; border: 1px solid var(--rule); padding: var(--space-7); background: var(--ground-raised); }
@media (max-width: 960px) { .product { grid-template-columns: 1fr; padding: var(--space-5); gap: var(--space-6); } }
.product__copy { display: grid; gap: var(--space-4); min-width: 0; }
.product__name { display: flex; align-items: center; gap: var(--space-3); }
.product__name img { width: 48px; height: 48px; border-radius: 10px; }
.product__name h3 { font: 600 28px/1 var(--font-display); letter-spacing: -0.02em; margin: 0; }
.product__copy .headline--l { font-size: clamp(28px, 3.4vw, 40px); }
.product__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.product__steps li { display: grid; gap: var(--space-2); min-width: 0; }
.product__steps img { width: 100%; border: 1px solid var(--rule); border-radius: 6px; }
.product__steps b { font: 500 12px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--mint); }
.product__steps span { font-size: 14px; line-height: 1.45; color: var(--ink-muted); }
@media (max-width: 520px) { .product__steps { grid-template-columns: 1fr; } .product__steps img { max-width: 260px; } }
.product--small { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 1px; }
.product--small .product__art img { width: 100%; border: 1px solid var(--rule); }
.products { display: grid; gap: var(--space-5); }

/* Phone embed: a live product on a true iPhone viewport (393 x 852 points: a 54pt status bar,
   then a 393 x 798 web view). The view is laid out at full size and scaled to the frame, so sites
   render exactly as they do on an iPhone. Loads on click; on phones the button opens the site. */
.phone { --w: 236px; flex: none; width: var(--w); padding: calc(var(--w) * .034); background: #050505; border-radius: calc(var(--w) * .16); box-shadow: 0 0 0 1px var(--rule-strong), inset 0 0 0 1px #1f1f1e; }
.phone__screen { position: relative; aspect-ratio: 393 / 852; border-radius: calc(var(--w) * .13); overflow: hidden; background: #000; container-type: inline-size; isolation: isolate; }
.phone__status { position: absolute; inset: 0 0 auto; height: calc(54 / 852 * 100%); display: flex; align-items: center; justify-content: space-between; padding: 0 calc(100cqw * 32 / 393) 0 calc(100cqw * 44 / 393); color: #fff; font: 600 calc(100cqw * 16 / 393) / 1 -apple-system, "SF Pro Text", var(--font-sans); z-index: 2; }
.phone__status::before { content: ""; position: absolute; top: calc(100cqw * 11 / 393); left: 50%; width: calc(100cqw * 124 / 393); height: calc(100cqw * 36 / 393); transform: translateX(-50%); background: #000; border-radius: 999px; }
.phone__icons { display: flex; gap: calc(100cqw * 5 / 393); align-items: center; }
.phone__icons i { display: block; width: calc(100cqw * 17 / 393); height: calc(100cqw * 11 / 393); border-radius: 2px; background: #fff; }
.phone__icons i:last-child { width: calc(100cqw * 25 / 393); border-radius: 3px; }
.phone__view { position: absolute; top: calc(54 / 852 * 100%); left: 0; width: 393px; height: 798px; transform-origin: 0 0; transform: scale(var(--s, .55)); overflow: hidden; }
.phone__view iframe { display: block; width: 393px; height: 798px; border: 0; background: #000; }
.phone__splash { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 22px; padding: 40px; text-align: center; background: #0b0b0d center / cover no-repeat; }
.phone__splash img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.phone__splash h3 { margin: 0; font: 600 34px/1.05 var(--font-display); letter-spacing: -0.02em; color: #fff; }
.phone__splash p { margin: 0; font: 400 19px/1.45 var(--font-sans); color: #c9c9c4; max-width: 15em; }
.phone__splash .btn { font-size: 22px; padding: 18px 30px; margin-top: 10px; }
.phone__splash--art::before { content: ""; position: absolute; inset: 0; background: rgba(14,14,14,.55); }
.phone__splash > * { position: relative; }
.phone__bar { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-3); }
.phone__icon { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--rule); }
.phone__icon:hover { box-shadow: inset 0 0 0 1px var(--mint); }
.phone__bar a, .phone__bar button { font: 500 11px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; }
.phone__bar a:hover, .phone__bar button:hover { color: var(--mint); }
.phone:not([data-live]) .phone__bar [data-embed-close] { visibility: hidden; }
.phone--l { --w: 300px; margin-inline: auto; }

/* Products: two live phones side by side, each with its copy beside it */
.products--live { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (max-width: 1100px) { .products--live { grid-template-columns: 1fr; } }
.product-live { background: var(--ground-raised); padding: var(--space-6); display: flex; gap: var(--space-6); align-items: center; min-width: 0; }
.product-live .product__copy { min-width: 0; }
.product-live .lede { font-size: 16px; }
.product-live .only-phone { display: none; }
@media (max-width: 640px) {
  .product-live { padding: var(--space-5) var(--space-4); }
  .product-live .phone { display: none; }
  .product-live .only-phone { display: inline-flex; }
}

[hidden] { display: none !important; }

.hint-touch { display: none; }
@media (hover: none) { .hint-mouse { display: none; } .hint-touch { display: inline; } }

/* Hero data credit */
.hero__credit { position: absolute; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 18px; z-index: 2; margin: 0; font: 400 10px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-faint); }
.hero__credit a { color: inherit; text-decoration: none; }
.hero__credit a:hover { color: var(--ink-muted); }
@media (min-width: 720px) { .hero__credit { right: 40px; } }
@media (max-width: 600px) { .hero__credit { left: var(--gutter); right: var(--gutter); } }

.foot-credit { grid-column: 1 / -1; color: var(--ink-faint); font-size: 11px; }
.foot-credit a { color: inherit; }

@media (max-width: 640px) { .not-phone { display: none; } }

/* Ribbon hero: a soft shadow keeps the headline readable where the ribbon passes behind it. */
.hero--ribbon .wrap h1, .hero--ribbon .wrap p { text-shadow: 0 0 18px rgba(14,14,14,.95), 0 0 6px rgba(14,14,14,.8); }

.work__svg { display: block; width: 100%; height: 100%; }
