/* The Tooth Locker mockup, round 2: fossil + water.
   Three looks share every component; html[data-look] (set by look.js) picks the tokens.
   a = Tide line (default), b = Strata, c = Shallows.
   Token names are kept from round 1 so page CSS still works:
   --bone page, --card cards, --sand soft panel, --olive action, --navy deep band, --brass accent. */

@import url('https://fonts.googleapis.com/css2?family=Geologica:wght,CRSV,SHRP@300..800,0..1,0..100&family=Martian+Mono:wght@400;500&family=Darker+Grotesque:wght@500;700;800;900&family=Hanken+Grotesk:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&family=Gabarito:wght@500;600;700;800&family=Albert+Sans:wght@400;500;600&family=Azeret+Mono:wght@400;500&display=swap');

/* ---------- Look a: Tide line ---------- */
:root, html[data-look="a"] {
  --bone: #F4F7F6;        /* foam */
  --card: #FBFCFC;
  --sand: #E4EEEB;        /* shallows */
  --sand-dark: #CFE0DC;
  --line: #D6E2DF;
  --olive: #2F6E68;       /* tide green: actions */
  --olive-dark: #22524E;
  --navy: #163634;        /* deep water */
  --navy-dark: #0F2726;
  --brass: #5E9C93;       /* sea glass */
  --ink: #1C2423;         /* fossil enamel */
  --muted: #566563;
  --coral: #A8483A;
  --on-deep: #E3EEEB;
  --on-deep-muted: #A9C2BE;
  --radius: 10px;
  --btn-radius: 10px;
  --font-display: 'Geologica', system-ui, sans-serif;
  --font-head: 'Geologica', system-ui, sans-serif;
  --font-body: 'Geologica', system-ui, sans-serif;
  --font-data: 'Martian Mono', ui-monospace, monospace;
  --head-weight: 600;
  --head-track: -0.02em;
  --body-weight: 300;
  --display-vary: "SHRP" 80, "CRSV" 0;
  --section-pad: 120px;
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c58-9 103 4 168-3 77-8 120-17 196-12 86 6 128 18 214 14 92-4 136-21 230-19 86 2 126 15 208 12 74-3 118-13 196-11 78 2 126 12 228 9V40z'/%3E%3C/svg%3E");
  --edge-h: 34px;
  --wrap: 1240px;
}

/* ---------- Look b: Strata ---------- */
html[data-look="b"] {
  --bone: #F3F3F0;        /* limestone */
  --card: #FAFAF8;
  --sand: #E8E5DE;        /* pale silt */
  --sand-dark: #D6D1C5;
  --line: #DAD6CC;
  --olive: #3D5F5C;       /* river */
  --olive-dark: #2C4644;
  --navy: #2A2926;        /* wet silt */
  --navy-dark: #1E1D1B;
  --brass: #8A7F6C;       /* wet sand */
  --ink: #1F201E;
  --muted: #625E55;
  --coral: #9B4B36;
  --on-deep: #EDEBE6;
  --on-deep-muted: #B5AFA3;
  --radius: 3px;
  --btn-radius: 2px;
  --font-display: 'Darker Grotesque', system-ui, sans-serif;
  --font-head: 'Darker Grotesque', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;
  --font-data: 'IBM Plex Mono', ui-monospace, monospace;
  --head-weight: 800;
  --head-track: -0.01em;
  --body-weight: 400;
  --display-vary: normal;
  --section-pad: 128px;
  --wrap: 1200px;
}

/* ---------- Look c: Shallows ---------- */
html[data-look="c"] {
  --bone: #F6FAFA;        /* clear water */
  --card: #FCFEFE;
  --sand: #DDF0ED;        /* lagoon tint */
  --sand-dark: #C3E3DE;
  --line: #CDE4E0;
  --olive: #1D7A73;       /* lagoon */
  --olive-dark: #165F59;
  --navy: #0E3B3C;        /* reef shadow */
  --navy-dark: #0A2C2D;
  --brass: #E3AE63;       /* sunlit sand */
  --ink: #142424;
  --muted: #4B6261;
  --coral: #CC5E42;
  --on-deep: #E4F4F2;
  --on-deep-muted: #A6CFCA;
  --radius: 18px;
  --btn-radius: 999px;
  --font-display: 'Gabarito', system-ui, sans-serif;
  --font-head: 'Gabarito', system-ui, sans-serif;
  --font-body: 'Albert Sans', system-ui, sans-serif;
  --font-data: 'Azeret Mono', ui-monospace, monospace;
  --head-weight: 700;
  --head-track: -0.015em;
  --body-weight: 400;
  --display-vary: normal;
  --section-pad: 112px;
  --edge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V20C120 4 240 4 360 20s240 16 360 0 240-16 360 0 240 16 360 0V40z'/%3E%3C/svg%3E");
  --edge-h: 28px;
  --wrap: 1240px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bone); color: var(--ink); font: var(--body-weight) 18px/1.65 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--olive-dark); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-track); line-height: 1.05; margin: 0 0 .55em; font-variation-settings: var(--display-vary); text-transform: none; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 48px); }
h3 { font-size: 24px; line-height: 1.2; }
html[data-look="b"] h1 { font-size: clamp(52px, 8vw, 104px); line-height: .92; }
html[data-look="b"] h2 { font-size: clamp(40px, 5.4vw, 66px); line-height: .95; }
html[data-look="b"] h3 { font-size: 30px; line-height: 1; }
p { margin: 0 0 1.1em; }
strong, b { font-weight: 600; }
.display { font-family: var(--font-display); font-weight: var(--head-weight); font-variation-settings: var(--display-vary); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 560px) { .wrap { padding: 0 18px; } }
.section { padding: var(--section-pad) 0; position: relative; }
@media (max-width: 760px) { .section { padding: 72px 0; } }
.section.alt { background: var(--sand); }
.section.dark { background: var(--navy); color: var(--on-deep); }
.section.dark h2, .section.dark h3 { color: var(--on-deep); }
.section.dark p { color: var(--on-deep-muted); }
.section.dark a:not(.btn) { color: var(--on-deep); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Eyebrow: small data line in the mono face, sentence case. It names what the section is. */
.eyebrow { display: block; font: 400 13px/1.4 var(--font-data); letter-spacing: 0; text-transform: none; color: var(--olive); margin-bottom: 14px; }
html[data-look="b"] .eyebrow { color: var(--brass); }
.section.dark .eyebrow { color: var(--on-deep-muted); }

/* ---------- Signature edges ---------- */
/* Tide line + Shallows: an uneven waterline where a tinted band begins. */
html:not([data-look="b"]) .section.alt::before,
html:not([data-look="b"]) .section.dark::before,
html:not([data-look="b"]) .site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: calc(var(--edge-h) * -1 + 1px); height: var(--edge-h);
  background: inherit; -webkit-mask: var(--edge) center / 100% 100% no-repeat; mask: var(--edge) center / 100% 100% no-repeat; pointer-events: none;
}
.site-footer { position: relative; }
/* Strata: thin sediment layers at the top of each band. */
html[data-look="b"] .section.alt::before, html[data-look="b"] .section.dark::before, html[data-look="b"] .site-footer::before, html[data-look="b"] .page-hero::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; pointer-events: none;
  background: linear-gradient(#B9AE9C 0 3px, #D6D1C5 3px 6px, #8A7F6C 6px 8px, #E8E5DE 8px 11px, #6F6A60 11px 14px);
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 28px; border-radius: var(--btn-radius); border: 1.5px solid var(--olive); background: var(--olive); color: var(--card); font: 500 17px/1 var(--font-body); letter-spacing: 0; text-transform: none; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: var(--card); }
.btn.ghost { background: transparent; color: var(--olive); }
.btn.ghost:hover { background: var(--olive); color: var(--card); }
.btn.light { background: var(--card); border-color: var(--card); color: var(--ink); }
.btn.light:hover { background: var(--sand); border-color: var(--sand); color: var(--ink); }
.btn.block { width: 100%; }
html[data-look="b"] .btn, html[data-look="c"] .btn { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* ---------- Specimen tag: mono data line with a small dot ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font: 400 12px/1.3 var(--font-data); letter-spacing: 0; text-transform: none; color: var(--muted); background: none; border: 0; padding: 0; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); flex: none; }
.tag.coral::before { background: var(--coral); }
.tag.coral { color: var(--coral); }
.tag.navy::before { background: var(--navy); }
html[data-look="c"] .tag { background: var(--sand); padding: 4px 10px; border-radius: 99px; color: var(--navy); }
html[data-look="c"] .tag::before { display: none; }

/* Image placeholder (file name shows until the image exists) */
.ph { position: relative; background: var(--sand); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; }
.ph img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.ph::after { content: attr(data-name); position: absolute; inset: auto 10px 10px 10px; font: 400 11px var(--font-data); color: var(--muted); }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.tall { aspect-ratio: 4 / 5; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 40px 32px; }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.g3, .grid.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid.g2 { grid-template-columns: 1fr; } .grid { gap: 28px 16px; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card-body { padding: 22px; }
.product-card { text-decoration: none; color: var(--ink); display: block; background: none; border: 0; }
.product-card .ph { border-radius: var(--radius); }
.product-card h3 { font-size: 19px; margin: 14px 0 4px; font-family: var(--font-body); font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.product-card .price { font: 400 15px var(--font-data); color: var(--ink); }
.product-card .tags { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.price-old { text-decoration: line-through; color: var(--muted); margin-left: 6px; }

/* ---------- Forms ---------- */
label { display: block; font: 500 14px var(--font-body); letter-spacing: 0; text-transform: none; margin: 0 0 8px; color: var(--ink); }
input, select, textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--sand-dark); border-radius: var(--radius); background: var(--card); color: var(--ink); font: 400 16px var(--font-body); }
html[data-look="c"] input, html[data-look="c"] select { border-radius: 14px; }
textarea { min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--olive); outline-offset: 1px; border-color: var(--olive); }
.field { margin-bottom: 20px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: var(--on-deep); text-align: center; font: 400 13px/1.3 var(--font-data); letter-spacing: 0; text-transform: none; padding: 10px 14px; }
.site-header { background: color-mix(in srgb, var(--bone) 92%, transparent); color: var(--ink); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 80px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.logo .mark { width: 26px; height: 30px; border: 0; display: grid; place-items: center; }
.logo .mark svg { width: 24px; height: 28px; fill: var(--olive); }
.logo .word { font: var(--head-weight) 24px/1 var(--font-display); letter-spacing: var(--head-track); font-variation-settings: var(--display-vary); }
html[data-look="b"] .logo .word { font-size: 32px; font-weight: 800; letter-spacing: 0; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font: 400 16px var(--font-body); letter-spacing: 0; text-transform: none; padding: 6px 0; }
.nav a:hover, .nav a.on { color: var(--olive); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 1.5px; text-decoration-color: var(--brass); }
.icons { display: flex; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: none; color: var(--ink); cursor: pointer; position: relative; text-decoration: none; border-radius: 50%; }
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.icon-btn .count { position: absolute; top: 4px; right: 2px; background: var(--olive); color: var(--card); font: 500 11px/18px var(--font-data); min-width: 18px; border-radius: 9px; text-align: center; }
.menu-btn { display: none; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: grid; }
  .site-header .wrap { gap: 6px; min-height: 68px; }
  .logo { margin-right: auto; }
  .logo .word { font-size: 20px; }
  html[data-look="b"] .logo .word { font-size: 26px; }
}
.mobile-nav { display: none; background: var(--bone); padding: 8px 20px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: var(--ink); text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 18px var(--font-body); text-transform: none; letter-spacing: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-deep-muted); padding: 88px 0 32px; margin-top: var(--edge-h, 0px); }
.site-footer .logo, .site-footer .logo .word { color: var(--on-deep); }
.site-footer .logo .mark svg { fill: var(--on-deep-muted); }
.site-footer a { color: var(--on-deep-muted); text-decoration: none; }
.site-footer a:hover { color: var(--on-deep); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { color: var(--on-deep); font: 400 13px var(--font-data); letter-spacing: 0; text-transform: none; margin-bottom: 16px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-signup { display: flex; gap: 8px; margin-top: 16px; }
.footer-signup input { background: var(--navy-dark); border-color: color-mix(in srgb, var(--on-deep) 25%, transparent); color: var(--on-deep); }
.footer-bottom { border-top: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); margin-top: 56px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 400 13px var(--font-data); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-signup { flex-direction: column; } }

/* ---------- Cart drawer ---------- */
.drawer-scrim { position: fixed; inset: 0; background: color-mix(in srgb, var(--navy-dark) 45%, transparent); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bone); z-index: 100; transform: translateX(100%); transition: transform .25s; display: flex; flex-direction: column; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-scrim { transition: none; } }
body.drawer-open .drawer { transform: none; }
body.drawer-open .drawer-scrim { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 20px 24px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--card); }
.ship-meter { background: var(--sand); border-radius: 99px; height: 6px; overflow: hidden; margin: 10px 0 18px; }
.ship-meter span { display: block; height: 100%; background: var(--olive); }
.line-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line-item .ph { width: 76px; }
.line-item h4 { font: 500 17px var(--font-body); margin: 0 0 4px; letter-spacing: 0; }
.qty { display: inline-flex; border: 1px solid var(--sand-dark); border-radius: var(--btn-radius); overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty span { min-width: 30px; display: grid; place-items: center; font: 500 15px var(--font-data); }

/* ---------- Email popup ---------- */
.popup { position: fixed; inset: 0; display: none; place-items: center; z-index: 120; background: color-mix(in srgb, var(--navy-dark) 50%, transparent); padding: 16px; }
.popup.open { display: grid; }
.popup-card { background: var(--bone); max-width: 780px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; border: 0; box-shadow: 0 24px 60px rgba(10, 30, 30, .25); }
.popup-card .ph { aspect-ratio: auto; border-radius: 0; min-height: 320px; }
.popup-body { padding: 40px 34px; position: relative; }
.popup-close { position: absolute; top: 10px; right: 10px; }
.popup-close svg { stroke: var(--ink); }
@media (max-width: 640px) { .popup-card { grid-template-columns: 1fr; } .popup-card .ph { min-height: 160px; aspect-ratio: 16/9; } }

/* ---------- Page helpers ---------- */
.breadcrumb { font: 400 13px var(--font-data); color: var(--muted); padding: 24px 0 0; }
.breadcrumb a { color: var(--muted); }
.page-hero { background: var(--sand); color: var(--ink); padding: 104px 0 88px; border-bottom: 0; position: relative; }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--muted); max-width: 640px; font-size: 20px; }
.page-hero a:not(.btn) { color: var(--olive); }
.page-hero .eyebrow { color: var(--olive); }
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.stars { color: var(--brass); letter-spacing: 2px; }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.trust-row .item { display: flex; gap: 14px; align-items: flex-start; }
.trust-row svg { width: 28px; height: 28px; stroke: var(--olive); fill: none; stroke-width: 1.4; flex: none; }
@media (max-width: 900px) { .trust-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .trust-row { grid-template-columns: 1fr; } }
table.data { width: 100%; border-collapse: collapse; background: transparent; }
table.data th, table.data td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
table.data th { font: 400 13px var(--font-data); letter-spacing: 0; text-transform: none; color: var(--muted); background: transparent; }
.notice { background: var(--card); border-left: 3px solid var(--brass); padding: 16px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
details.faq { border-bottom: 1px solid var(--line); padding: 20px 0; }
details.faq summary { font: 500 20px var(--font-body); letter-spacing: 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::after { content: '+'; color: var(--olive); font-size: 26px; line-height: 1; font-weight: 300; }
details.faq[open] summary::after { content: '\2212'; }
details.faq p { margin: 14px 0 0; color: var(--muted); }

/* ---------- Overrides for page-level classes from round 1 ----------
   Pages carry their own small styles (uppercase chips, navy photo overlays).
   These higher-specificity rules restyle them for every look without editing 28 pages. */
html[data-look] .chip, html[data-look] .tile span, html[data-look] .status, html[data-look] .info h3, html[data-look] .filters legend,
html[data-look] .coa dt, html[data-look] .coa .sub, html[data-look] .locker-tag dt, html[data-look] .jump a {
  text-transform: none; letter-spacing: 0; font-family: var(--font-body);
}
html[data-look] .chip { border: 1px solid var(--sand-dark); background: transparent; color: var(--ink); font-weight: 400; font-size: 15px; border-radius: var(--btn-radius); min-height: 42px; }
html[data-look] .chip.on, html[data-look] .chip:hover { background: var(--ink); border-color: var(--ink); color: var(--bone); }
html[data-look] .status { font: 400 12px var(--font-data); border-radius: 99px; }
html[data-look] .locker-tag dt, html[data-look] .coa dt { font: 400 12px var(--font-data); color: var(--muted); }

/* Photo heroes: the new hero photos keep calm water on the left, so text sits dark on a light wash. */
html[data-look] .hero-img { background: var(--sand); color: var(--ink); }
html[data-look] .hero-img::before { background: linear-gradient(90deg, color-mix(in srgb, var(--bone) 92%, transparent) 0%, color-mix(in srgb, var(--bone) 70%, transparent) 38%, transparent 68%); }
html[data-look] .hero-img h1, html[data-look] .hero-img h2 { color: var(--ink); }
html[data-look] .hero-img p { color: var(--muted); }
html[data-look] .hero-img a:not(.btn) { color: var(--olive); }
html[data-look] .hero-img .eyebrow { color: var(--olive); }
html[data-look] .hero-img .btn.light { background: transparent; border-color: var(--ink); color: var(--ink); }
html[data-look] .hero-img .btn.light:hover { background: var(--ink); color: var(--bone); }
html[data-look] .hero-img .wrap { padding-top: 140px; padding-bottom: 140px; }
@media (max-width: 760px) {
  html[data-look] .hero-img::before { background: linear-gradient(180deg, color-mix(in srgb, var(--bone) 88%, transparent) 0%, color-mix(in srgb, var(--bone) 72%, transparent) 60%, color-mix(in srgb, var(--bone) 30%, transparent) 100%); }
  html[data-look] .hero-img .wrap { padding-top: 88px; padding-bottom: 88px; }
}
html[data-look] .tile { color: var(--card); }

/* Shallows: soft sunlight ripples drifting over the hero photo. */
html[data-look="c"] .hero-img::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light; opacity: .55;
  background: radial-gradient(40% 30% at 70% 30%, rgba(255,255,255,.7), transparent 70%), radial-gradient(30% 25% at 85% 70%, rgba(255,255,255,.5), transparent 70%);
  animation: shallows 12s ease-in-out infinite alternate;
}
@keyframes shallows { from { transform: translate3d(-2%, -1%, 0); } to { transform: translate3d(2%, 2%, 0); } }
@media (prefers-reduced-motion: reduce) { html[data-look="c"] .hero-img::after { animation: none; } }

/* ---------- Look switcher (mockup only) ---------- */
.look-switch { position: fixed; left: 12px; bottom: calc(var(--rv-bar-h, 0px) + 12px); z-index: 140; display: flex; align-items: center; gap: 2px; padding: 4px; background: #1C2423; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,.22); font: 400 12px/1 'Martian Mono', monospace; }
.look-switch span { color: #A9C2BE; padding: 0 8px; }
.look-switch button { min-height: 36px; padding: 0 12px; border: 0; border-radius: 9px; background: transparent; color: #E3EEEB; font: 400 12px 'Martian Mono', monospace; cursor: pointer; }
.look-switch button[aria-pressed="true"] { background: #E3EEEB; color: #1C2423; }
@media (max-width: 560px) { .look-switch span { display: none; } .look-switch button { padding: 0 9px; } }
html[data-look] .hero-img h1 { max-width: 12ch; }
html[data-look] .hero-img p { max-width: 460px; }

/* Strata hero: split. Text on bare limestone, photo on the right half, no wash. */
@media (min-width: 761px) {
  html[data-look="b"] .hero-img { background: var(--bone); }
  html[data-look="b"] .hero-img .ph { left: 50%; }
  html[data-look="b"] .hero-img::before { display: none; }
  html[data-look="b"] .hero-img .wrap > * { max-width: calc(50% - 40px); }
  html[data-look="b"] .hero-img h1 { max-width: 9ch; }
}
html[data-look="b"] .announce { background: var(--bone); color: var(--muted); border-bottom: 1px solid var(--line); }

/* Shallows hero: the photo sits in a rounded pool inset from the page edge. */
html[data-look="c"] .hero-img { background: var(--bone); margin: 16px; border-radius: 32px; overflow: hidden; isolation: isolate; }
@media (max-width: 560px) { html[data-look="c"] .hero-img { margin: 10px; border-radius: 22px; } }
html[data-look="c"] .announce { background: var(--brass); color: var(--ink); }
html[data-look="c"] .btn.ghost, html[data-look="c"] .hero-img .btn.light { border-width: 2px; }
html[data-look="c"] .tile, html[data-look="c"] .product-card .ph, html[data-look="c"] .card { border-radius: 22px; }
@media (min-width: 761px) { html[data-look="b"] .hero-img .ph img { object-position: 82% center; } }
html[data-look] .status.proc { color: var(--ink); border-color: var(--brass); }
html[data-look] .coa .sub { color: var(--olive); }

/* Native controls follow the brand color, not browser blue. */
:root { accent-color: var(--olive); }

/* Phones: stack the hero. Headline first, then the photo cropped on the tooth (it sits in the right third). */
@media (max-width: 760px) {
  html[data-look] .hero-img { display: flex; flex-direction: column; }
  html[data-look] .hero-img::before { display: none; }
  html[data-look] .hero-img .wrap { order: 1; padding-top: 48px; padding-bottom: 28px; }
  html[data-look] .hero-img .ph { order: 2; position: relative; inset: auto; aspect-ratio: 4 / 3; margin: 0 16px 20px; border-radius: 22px; }
  html[data-look] .hero-img .ph img { object-position: 74% 50%; }
}
@media (max-width: 760px) {
  html[data-look] .hero-img .ph { order: 1; margin: 16px 16px 0; aspect-ratio: 5 / 4; }
  html[data-look] .hero-img .wrap { order: 2; padding-top: 32px; padding-bottom: 48px; }
  html[data-look] .hero-img .ph img { object-position: 76% 45%; }
}
@media (max-width: 760px) { .page-hero { padding: 48px 0 44px; } }
