/* Nebraska Men's Health — layout after Regrow (ThemeREX), recolored red / black / white. See theme/DESIGN_SPEC.md */
:root {
  --red: #C8102E;        /* brand red: buttons, accents, eyebrow rules */
  --red-dark: #9E0B23;   /* hover */
  --ink: #111111;        /* headings, dark panels, footer */
  --char: #1C1C1E;       /* raised dark surfaces */
  --text: #46464B;       /* body copy, 9:1 on white */
  --muted: #6B6B70;      /* small print, 5.3:1 on white */
  --line: #E4E4E7;
  --paper: #F5F5F5;      /* alternate section background */
  --white: #FFFFFF;
  --radius: 24px;
  --radius-sm: 16px;
  --head: 'Onest', system-ui, sans-serif;
  --body: 'Golos Text', system-ui, sans-serif;
  --wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.65 var(--body); color: var(--text); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--head); font-weight: 500; color: var(--ink); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5.6rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 16px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* eyebrow */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .8rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.on-dark .eyebrow, .eyebrow.light { color: #fff; }
.eyebrow.age-label { text-transform: none; }
.accent { color: var(--red); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; font: 500 1rem/1 var(--head); text-decoration: none; padding: 16px 26px; border-radius: 999px; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; cursor: pointer; }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.on-dark .btn-ghost { color: #fff; }
.on-dark .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* header */
.site-head { position: absolute; inset: 0 0 auto 0; z-index: 20; color: #fff; }
.site-head.solid { position: sticky; top: 0; background: var(--ink); }
.head-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo .mark { height: 38px; width: auto; flex: none; overflow: visible; }
.logo .word { border-left: 1px solid rgba(255,255,255,.3); padding-left: 12px; }
.logo .word { font: 600 1.02rem/1.05 var(--head); letter-spacing: .02em; text-transform: uppercase; }
.logo .word span { display: block; font-size: .7rem; letter-spacing: .26em; font-weight: 500; opacity: .8; margin-top: 3px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav a.nl, .nav button.nl { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: 500 .98rem/1 var(--head); color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 999px; }
.nav a.nl:hover, .nav button.nl:hover, .nav a.nl[aria-current="page"] { color: #fff; background: rgba(255,255,255,.12); }
.nav .has-sub { position: relative; }
.nav .sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 300px; background: #fff; border-radius: var(--radius-sm); padding: 10px; list-style: none; margin: 0; box-shadow: 0 20px 50px rgba(0,0,0,.18); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub, .nav .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 500 .95rem/1.3 var(--head); }
.nav .sub a:hover { background: var(--paper); color: var(--red); }
.head-cta { display: flex; align-items: center; gap: 18px; }
.head-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font: 500 .95rem/1 var(--head); }
.head-phone svg { width: 18px; height: 18px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: #fff; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; background: #0b0b0b; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.05) 75%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 40%); }
.hero-in { position: relative; z-index: 2; padding: 160px 0 64px; }
.hero h1 { color: #fff; max-width: 11ch; margin-bottom: 28px; }
.hero h1 .accent { color: var(--red); }
.hero-lead { font-size: 1.15rem; max-width: 46ch; color: rgba(255,255,255,.86); margin-bottom: 32px; }
.hero-foot { display: flex; align-items: center; gap: 40px; margin-top: 64px; flex-wrap: wrap; }
.spin { position: relative; width: 132px; height: 132px; flex: none; display: grid; place-items: center; text-decoration: none; color: #fff; }
.spin svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.spin .dot { width: 54px; height: 54px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .2s; }
.spin:hover .dot { transform: scale(1.08); }
.spin .dot svg { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-stat { display: flex; align-items: center; gap: 18px; }
.hero-stat b { font: 500 clamp(3.5rem, 7vw, 6.5rem)/1 var(--head); color: var(--red); letter-spacing: -0.04em; }
.hero-stat span { font: 500 1.35rem/1.25 var(--head); max-width: 12ch; }

/* sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: rgba(255,255,255,.8); }
.section.dark h2, .section.dark h3 { color: #fff; }
.center-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.center-head .eyebrow { justify-content: center; }
.center-head p { color: var(--muted); font-size: 1.08rem; }
.split-head { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.split-head p { margin: 0; color: var(--muted); }

/* service cards */
.svc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); transition: transform .2s, box-shadow .2s, border-color .2s; min-height: 250px; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); border-color: transparent; }
.svc .ico { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .2s; }
.svc:hover .ico { background: var(--red); }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 1.18rem; margin: 6px 0 0; }
.svc p { font-size: .93rem; line-height: 1.5; margin: 0; color: var(--muted); }
.svc .more { margin-top: auto; font: 500 .92rem/1 var(--head); color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
.svc .more svg { width: 16px; height: 16px; color: var(--red); }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.rev .split-img { order: 2; }
.split-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-copy p { font-size: 1.06rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.ticks.cols { grid-template-columns: 1fr 1fr; gap: 10px 28px; }

/* numbered rows */
.steps { border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 32px; padding: 40px 0; border-bottom: 1px solid var(--line); align-items: start; }
.step .n { font: 500 1.4rem/1 var(--head); color: var(--red); }
.step h3 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin: 0; }
.step p { margin: 0; }

/* marquee */
.marquee { overflow: hidden; padding: 28px 0; background: var(--white); }
.marquee-track { display: flex; width: max-content; animation: marq 40s linear infinite; }
.marquee span { font: 500 clamp(3.5rem, 9vw, 8.5rem)/1.05 var(--head); color: var(--red); letter-spacing: -0.04em; white-space: nowrap; padding-right: .5em; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
@keyframes marq { to { transform: translateX(-50%); } }

/* photo with overlay card */
.overlay { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 620px; display: flex; align-items: center; justify-content: flex-end; padding: 48px; }
.overlay > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.overlay-card { position: relative; background: #fff; border-radius: var(--radius); padding: 44px; max-width: 480px; }
.overlay-card p { color: var(--text); }

/* age cards */
.ages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.age { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.age .ph { aspect-ratio: 4 / 3; overflow: hidden; }
.age .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.age:hover .ph img { transform: scale(1.04); }
.age .bd { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.age .tag { font: 600 .8rem/1 var(--head); letter-spacing: .14em; color: var(--red); margin-bottom: 12px; }
.age p { font-size: .97rem; }
.age .links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-block; font: 500 .82rem/1 var(--head); padding: 9px 13px; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; }
.chip:hover { background: var(--ink); color: #fff; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font: 500 1.15rem/1.35 var(--head); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--red); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; margin: 0; color: var(--text); }

/* band */
.band { background: var(--red); color: #fff; text-align: center; padding: 44px 0; }
.band p { font: 500 clamp(1.4rem, 3vw, 2.3rem)/1.2 var(--head); margin: 0; letter-spacing: -0.02em; }

/* CTA panel */
.cta-panel { background: var(--ink); color: rgba(255,255,255,.82); border-radius: var(--radius); padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.cta-panel h2 { color: #fff; margin-bottom: 14px; }
.cta-panel .btn-row { justify-content: flex-end; }
.cta-panel::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(200,16,46,.22); }

/* page title (inner pages) */
.page-hero { position: relative; background: var(--ink); color: #fff; padding: 180px 0 80px; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(1); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85), rgba(0,0,0,.35)); }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); max-width: 18ch; }
.page-hero .lead { font-size: 1.15rem; max-width: 58ch; color: rgba(255,255,255,.85); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font: 500 .85rem/1 var(--head); color: rgba(255,255,255,.7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--red); }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* inner content */
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul:not(.ticks) { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .ticks { margin-top: 8px; }
.callout { background: var(--paper); border-left: 4px solid var(--red); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 22px 26px; margin: 28px 0; }
.callout p:last-child { margin: 0; }
.aside { position: sticky; top: 108px; display: grid; gap: 16px; }
.aside-card { background: var(--ink); color: rgba(255,255,255,.82); border-radius: var(--radius); padding: 32px; }
.aside-card h3 { color: #fff; font-size: 1.4rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 8px; }
.aside-list { background: var(--paper); border-radius: var(--radius); padding: 26px; }
.aside-list h4 { margin-bottom: 12px; }
.aside-list ul { list-style: none; padding: 0; margin: 0; }
.aside-list a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 500 .95rem/1.3 var(--head); }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover, .aside-list a[aria-current="page"] { color: var(--red); }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 24px 0; }
.mini { background: var(--paper); border-radius: var(--radius-sm); padding: 26px; }
.mini h3 { font-size: 1.2rem; }
.mini p, .mini ul { font-size: .96rem; margin: 0; }
.mini ul { padding-left: 1.1em; }
.draft-note { font: 500 .85rem/1.4 var(--head); background: #FFF4CC; color: #5C4600; border-radius: 10px; padding: 10px 14px; display: inline-block; }

/* legal pages (privacy / terms / accessibility), Dana Wright Co. legal kit. Their draft notes show only on
   *.pages.dev previews and localhost (the head snippet adds .show-drafts), never on the live domain. */
.legal-page { max-width: 46rem; }
.legal-page h2 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin-top: 1.8em; }
.legal-page ul { padding-left: 1.3em; }
.legal-page li { margin: .45em 0; }
.legal-page a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--red-dark); }
.legal-updated { color: var(--muted); font-size: .95rem; }
.legal-page .draft-note { display: none; }
.show-drafts .legal-page .draft-note { display: block; background: #fff0a6; color: #3b2f00; border: 1px dashed #b89a10;
  border-radius: 8px; padding: 9px 13px; margin: 12px 0 16px; font: 500 14px/1.45 system-ui, -apple-system,
  "Segoe UI", sans-serif; max-width: 40em; text-align: left; }
.show-drafts .legal-page .draft-note::before { content: "To confirm · "; font-weight: 700; }
.show-drafts .legal-page .draft-note.inline { display: inline-block; margin: 6px 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list b { display: block; font: 500 1.05rem/1.3 var(--head); color: var(--ink); }
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font: 500 .95rem/1.2 var(--head); color: var(--ink); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 14px 16px; border: 1px solid #CFCFD4; border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: 3px solid var(--red); outline-offset: 1px; border-color: var(--red); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .88rem; color: var(--muted); }

/* footer */
.site-foot { background: var(--ink); color: rgba(255,255,255,.72); padding: 88px 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr max-content; gap: 40px; }  /* Visit column fits its longest line, so the email and hours stay on one line (Eric, Nov 6) */
.site-foot h4 { color: #fff; font-size: 1.1rem; margin-bottom: 18px; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-foot a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-about p { max-width: 38ch; margin-top: 20px; }
.foot-bottom { margin-top: 64px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .88rem; }
.foot-bottom ul { display: flex; flex-wrap: wrap; gap: 20px; }
.disclaimer { font-size: .85rem; color: rgba(255,255,255,.55); margin-top: 22px; max-width: 90ch; }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* responsive */
@media (max-width: 1180px) {
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .head-phone span { display: none; }
}
@media (max-width: 980px) {
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 100px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; z-index: 30; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 4px; }
  .nav a.nl, .nav button.nl { font-size: 1.3rem; padding: 14px 8px; width: 100%; justify-content: space-between; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .nav .has-sub.open .sub { display: block; }
  .nav .sub a { color: rgba(255,255,255,.85); }
  .nav .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .burger { display: grid; place-items: center; position: relative; z-index: 40; }
  .head-cta .btn { display: none; }
  .split, .faq-grid, .content-grid, .contact-grid, .split-head, .cta-panel { grid-template-columns: 1fr; }
  .split.rev .split-img { order: 0; }
  .cta-panel .btn-row { justify-content: flex-start; }
  .step { grid-template-columns: 60px 1fr; }
  .step p { grid-column: 2; }
  .ages { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .overlay { display: block; padding: 0; min-height: 0; }
  .overlay > img { position: static; display: block; height: 320px; object-position: 15% 35%; }
  .overlay-card { max-width: none; border-radius: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc { padding: 22px 18px; min-height: 0; }
  .svc p { display: none; }
  .hero-in { padding-top: 130px; }
  .hero-foot { gap: 24px; margin-top: 40px; }
  .spin { width: 104px; height: 104px; }
  .ticks.cols, .cards-2, .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .overlay-card { padding: 28px; }
  .head-phone { display: none; }
}
@media (max-width: 640px) {
  .hero::after { background: linear-gradient(0deg, rgba(0,0,0,.92) 35%, rgba(0,0,0,.55) 75%, rgba(0,0,0,.35)); }
  .hero-bg img { object-position: 50% 30%; }
}
.aside-list a svg { width: 16px; height: 16px; flex: none; color: var(--red); margin-left: 12px; }
.head-phone svg, .btn svg { flex: none; }
.photo-ph { background: radial-gradient(circle at 50% 35%, #2a2a2e, var(--ink) 70%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: #fff; text-align: center; }
.photo-ph .ph-mark { width: 52%; height: auto; overflow: visible; margin-bottom: 18px; }
.photo-ph span { font: 500 1.4rem/1.2 var(--head); }
.photo-ph small { font: 500 .8rem/1 var(--head); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); }
@media (max-width: 980px) {
  .site-foot ul { gap: 2px; }
  .site-foot ul a { display: inline-block; padding: 8px 0; }
  .foot-bottom ul a { display: inline-block; padding: 8px 0; }
  .crumbs a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 980px) {
  .foot-bottom ul { gap: 4px 22px; }
  .aside-list { display: none; }   /* service list repeats the menu on phones; keep the booking card */
}
/* demo bar (DEMO in build.py) */
.demo-bar { position: relative; z-index: 25; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--red); color: #fff; font: 500 .8rem/1 var(--head); letter-spacing: .02em; padding: 0 16px; text-align: center; }
.demo-bar a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.demo-bar .short { display: none; }
.demo-bar + .site-head { top: 30px; }
.demo-bar + .site-head.solid { top: 0; }
@media (max-width: 640px) { .demo-bar .long { display: none; } .demo-bar .short { display: inline; } }
.nav .nl svg { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.nav .has-sub.open > .nl svg { transform: rotate(180deg); }
.crumbs { align-items: center; }
.crumbs li { display: flex; align-items: center; }
@media (max-width: 980px) { .nav .nl svg { width: 22px; height: 22px; } }
.demo-bar a { display: inline-block; padding: 6px 0; }
/* header: never wrap, collapse to the menu button before it gets crowded */
.nav a.nl, .nav button.nl, .head-cta .btn, .head-phone, .logo .word { white-space: nowrap; }
.head-in { gap: 18px; }
.logo { flex: none; }
@media (min-width: 1181px) and (max-width: 1320px) { html[lang="es"] .head-phone span { display: none; } }
@media (min-width: 1501px) { .site-head .wrap { width: min(1440px, 100% - 48px); } }
@media (min-width: 1181px) and (max-width: 1500px) { .nav a.nl, .nav button.nl { padding: 10px 10px; font-size: .94rem; } .logo .word { display: none; } .logo .word + * {} }
@media (max-width: 1180px) {
  .nav { position: fixed; inset: 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 100px 24px 32px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; z-index: 30; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; gap: 4px; }
  .nav a.nl, .nav button.nl { font-size: 1.3rem; padding: 14px 8px; width: 100%; justify-content: space-between; }
  .nav .nl svg { width: 22px; height: 22px; }
  .nav .sub { position: static; opacity: 1; visibility: visible; transform: none; display: none; background: transparent; box-shadow: none; padding: 0 0 8px 12px; min-width: 0; }
  .nav .has-sub.open .sub { display: block; }
  .nav .sub a { color: rgba(255,255,255,.85); }
  .nav .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
  .burger { display: grid; place-items: center; position: relative; z-index: 40; }
}
@media (min-width: 641px) and (max-width: 1180px) { .head-cta .btn { display: inline-flex; padding: 12px 20px; } }
@media (max-width: 360px) { .logo .mark { height: 30px; } .logo .word { font-size: .88rem; padding-left: 10px; } .logo { gap: 10px; } .head-in { gap: 10px; } }
.hero-stat b { white-space: nowrap; font-size: clamp(2.6rem, 6vw, 5.6rem); }
@media (max-width: 640px) { .hero-stat { flex-wrap: wrap; gap: 6px 14px; } .hero-stat span { font-size: 1.05rem; } }
.faq summary .qn { flex: none; font: 600 .95rem/1.5 var(--head); color: var(--red); margin-right: 14px; }
.faq summary { justify-content: flex-start; }
.faq summary::after { margin-left: auto; }
.faq .qlink { font-size: .85rem; color: var(--muted); padding-top: 0; }
.faq .qlink a { color: var(--ink); }
.faq details:target summary, .faq details[open] summary { color: var(--ink); }
.faq summary .qn { width: 2.2em; margin-right: 6px; }
/* sticky header: big logo at the top, shrinks once you scroll (Eric, Oct 13) */
.site-head { position: fixed; left: 0; right: 0; top: 0; transition: background .25s, box-shadow .25s, top .2s; }
.demo-bar + .site-head { top: 30px; }
.site-head.scrolled { top: 0 !important; background: rgba(11,11,12,.96); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.site-head .head-in { min-height: 104px; transition: min-height .25s; }
.site-head.scrolled .head-in { min-height: 70px; }
.logo .mark { height: 58px; transition: height .25s; }
.site-head.scrolled .logo .mark { height: 38px; }
.logo .word { font-size: 1.15rem; transition: font-size .25s; }
.site-head.scrolled .logo .word { font-size: 1rem; }
.site-foot .logo .mark { height: 46px; }
.site-head.solid { position: sticky; }
.page-hero { padding-top: 200px; }
@media (min-width: 1181px) and (max-width: 1320px) { .logo .mark { height: 48px; } }
@media (max-width: 640px) {
  .site-head .head-in { min-height: 84px; } .site-head.scrolled .head-in { min-height: 64px; }
  .logo .mark { height: 42px; } .site-head.scrolled .logo .mark { height: 32px; }
  .logo .word { font-size: .95rem; }
  .hero-in { padding-top: 150px; } .page-hero { padding-top: 160px; }
}
@media (max-width: 360px) { .logo .mark { height: 32px; } .logo .word { font-size: .85rem; } }
.nav .home-mobile { display: none; }
@media (max-width: 1180px) { .nav .home-mobile { display: block; } }
/* check-in quiz */
.ci-cta { text-align: center; margin: 32px 0 0; font: 500 1.05rem/1.4 var(--head); color: var(--ink); }
.ci-cta a { color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; }
.ci-cta a svg { width: 18px; height: 18px; }
.ci-cta a:hover { text-decoration: underline; }
.ci fieldset { border: 0; padding: 0; margin: 0 0 36px; }
.ci legend { font: 500 clamp(1.3rem, 2.4vw, 1.75rem)/1.25 var(--head); color: var(--ink); margin-bottom: 18px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.ci legend .qn { font-size: .9rem; color: var(--red); font-weight: 600; }
.ci .opt-note { font: 400 .95rem/1 var(--body); color: var(--muted); }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: block; padding: 16px 18px; border: 1.5px solid #d4d4d8; border-radius: 14px; font: 500 1rem/1.3 var(--head); color: var(--ink); background: #fff; transition: border-color .15s, background .15s; }
.opt input:checked + span { border-color: var(--red); background: #fdf1f3; box-shadow: inset 0 0 0 1px var(--red); }
.opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.ci-alert { background: #fdf1f3; border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 0 0 24px; }
.ci-alert p { margin: 0; color: var(--ink); }
.ci .form-note { margin-top: 14px; }
.ci-out { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); outline: none; }
.ci-out .svc { min-height: 0; }
details[id], [id^="notice"], .ci-out { scroll-margin-top: 110px; }
/* language toggle */
.lang-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; color: #fff; text-decoration: none; font: 600 .85rem/1 var(--head); letter-spacing: .02em; white-space: nowrap; }
.lang-toggle:hover { background: #fff; color: var(--ink); }
@media (max-width: 640px) { .lang-toggle { padding: 8px 11px; font-size: .8rem; } }
.lang-toggle .lt-short { display: none; }
@media (max-width: 640px) { .lang-toggle .lt-full { display: none; } .lang-toggle .lt-short { display: inline; } .lang-toggle { min-width: 44px; } }
@media (max-width: 480px) { .site-head .logo .word { display: none; } }
.faq .qlink a { display: inline-block; padding: 4px 0; }
/* official logo (Copycat Printing, Oct 2026) */
.logo img.mark { height: 58px; width: auto; display: block; }
.site-head.scrolled .logo img.mark { height: 38px; }
.foot-logo { display: inline-block; }
.foot-logo img { width: 230px; height: auto; display: block; }
.photo-ph img.ph-mark { width: 60%; height: auto; margin-bottom: 18px; }
@media (min-width: 1181px) and (max-width: 1320px) { .logo img.mark { height: 48px; } }
@media (max-width: 640px) { .logo img.mark { height: 40px; } .site-head.scrolled .logo img.mark { height: 32px; } .foot-logo img { width: 200px; } }
@media (max-width: 360px) { .logo img.mark { height: 30px; } }
.pull { font: 500 clamp(1.25rem, 2vw, 1.5rem)/1.35 var(--head); color: var(--ink); border-left: 3px solid var(--red); padding-left: 16px; margin: 0 0 18px; }
.foot-email { overflow-wrap: anywhere; }

/* Home hero: on tablets and phones the photo is a banner above the text, so the words never cross his face. */
@media (min-width: 641px) and (max-width: 900px) {
  .hero-bg { bottom: auto; height: 520px; }
  .hero-bg img { object-position: 100% 30%; }
  .hero-in { padding-top: 450px; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 130px, rgba(0,0,0,.15) 340px, #0b0b0b 520px); }
}
@media (max-width: 640px) {
  .hero-bg { bottom: auto; height: auto; aspect-ratio: 900 / 1040; }
  .hero-bg img { object-position: 50% 0; }
  .hero-in { padding-top: 92vw; }
  .hero::after { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.05) 130px, rgba(0,0,0,.12) 80vw, #0b0b0b 115vw); }
}

/* Home hero, Nov 7 2026 (Dana): keep "life" off a line by itself, and a slow, slight zoom on the photo. */
.hero-stat span { max-width: 20ch; text-wrap: balance; }
@keyframes hero-zoom { from { transform: scale(1); } to { transform: scale(1.07); } }
.hero-bg img { transform-origin: 68% 35%; animation: hero-zoom 22s ease-in-out infinite alternate; will-change: transform; }
@media (max-width: 640px) { .hero-bg img { transform-origin: 50% 35%; } }
@media (prefers-reduced-motion: reduce) { .hero-bg img { animation: none; } }

/* Home hero slideshow (Nov 25 2026): slides stack and crossfade. Each photo has the face in the right third. */
.hero-bg picture { position: absolute; inset: 0; display: block; opacity: 0; transition: opacity 1.8s ease; }
.hero-bg picture.on { opacity: 1; }
@media (min-width: 901px) { .hero-bg img { object-position: 85% 40%; transform-origin: 78% 46%; } }
@media (prefers-reduced-motion: reduce) { .hero-bg picture { transition: none; } }

/* Lab Testing (Eric, Nov 25 2026): checkmark lists inside the two cards, and the line under "Tests we offer" */
.mini ul.ticks { padding-left: 0; gap: 8px; }
.mini .ticks li::before { width: 20px; height: 20px; background-size: 12px; }
.prose .sub-lead, .sub-lead { margin: -6px 0 18px; font-size: 1.08rem; color: var(--muted, #555); }

/* Turnstile security check on the Contact form (Nov 26 2026) */
.cf-turnstile { margin: 4px 0 16px; min-height: 65px; }
