/* NEODERMIS™ — one-off template for the Oxygen Plus early-access campaign.
   Quarantined from template/styles.css so nothing here can reach the other live pages.

   The world is the owner's creative, sampled rather than invented: a warm sand ground
   #ECE5DE–#E7DED6, black type, a black pill button with white text, a frosted white
   card over the photograph. No accent colour exists on the creative and none is added
   here — the only magenta on the page is the host's own wordmark. Every pairing checked
   with check_design.py:
     ink   #1A1714 on sand 14.44:1 · on white 17.85:1 · on deep sand 12.93:1
     muted #5C544E on sand  6.00:1 · on white  7.41:1 · on deep sand  5.37:1
     white on cta #121110  18.86:1 · sand on cta 15.26:1 */

:root {
  --sand: #ede6df;
  --sand-deep: #e3dad1;
  --paper: #ffffff;
  --line: #e4dcd4;
  --rule: #d6ccc1;
  --ink: #1a1714;
  --muted: #5c544e;
  --cta: #121110;
  --cta-hover: #2b2621;
  --band: #1a1714;
  --on-band: #ede6df;
  --on-band-muted: #c9bfb4;

  --display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Commissioner", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 34rem;
  --pad: 1.375rem;
  --gap: 2.75rem;
  --dock-h: 4.5rem;
  --shadow-lift: 0 1px 2px rgba(60, 46, 34, 0.06), 0 22px 44px -26px rgba(60, 46, 34, 0.55);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px));
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }

/* Browser surfaces we didn't draw still carry the design. */
::selection { background: color-mix(in srgb, var(--ink) 16%, transparent); color: var(--ink); }
:root { accent-color: var(--ink); caret-color: var(--ink); }
* { -webkit-tap-highlight-color: color-mix(in srgb, var(--ink) 10%, transparent); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; }

/* ---------- bar ---------- */

.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.875rem var(--pad);
  background: var(--sand);
}
.bar-mark { width: 115px; height: auto; }
/* The mark links to the brand's own site. The padding widens the tap target to 44px
   without moving the mark; the negative margin gives the space back to the bar. */
.bar-home { display: inline-flex; padding: 0.25rem 0; margin: -0.25rem 0; border-radius: 3px; }
.bar-call {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.bar-call svg { width: 1.0625rem; height: 1.0625rem; fill: var(--ink); }

/* ---------- section furniture ---------- */

.sec-title {
  margin: 0 0 0.5rem;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.375rem, 5.5vw, 1.75rem); line-height: 1.15;
  letter-spacing: -0.015em; text-wrap: balance;
}
.sec-intro { margin: 0 0 1.5rem; color: var(--muted); }

/* ---------- hero: the sand field owns the region ----------
   Colour strategy is Committed: the creative's warm sand carries the wordmark, the
   lede and the photograph as one field; the CTA card is the single raised element,
   riding the photo's lower edge the way the frosted card does on the creative. */

.hero-field {
  background: var(--sand);
  padding: 2rem var(--pad) 2.75rem;
}
.hero-copy { max-width: var(--wrap); margin: 0 auto; }

/* The wordmark line: light, wide-tracked caps, as the creative sets it. */
.mark {
  margin: 0 0 0.875rem;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(2.375rem, 11vw, 3.5rem);
  line-height: 1; letter-spacing: 0.14em;
  color: var(--ink);
}
.mark sup {
  font-size: 0.34em; letter-spacing: 0;
  vertical-align: top; position: relative; top: 0.25em; margin-left: -0.35em;
}
/* The English tagline under the wordmark: the same light tracked caps as .say-tag,
   Latin only, so the uppercase transform carries no Greek casing risk. */
.hero-tag {
  margin: 0 0 1rem;
  font-family: var(--display); font-weight: 300;
  font-size: 0.9375rem; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede {
  margin: 0; max-width: 32ch;
  font-size: 1.0625rem; line-height: 1.5;
  color: var(--ink);
}
.hero-text {
  margin: 0.75rem 0 0; max-width: 36ch;
  font-size: 0.9375rem; line-height: 1.55;
  color: var(--muted);
}

.hero-visual { max-width: var(--wrap); margin: 1.5rem auto 0; }
.hero-media {
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.hero-media img { width: 100%; height: 15rem; object-fit: cover; object-position: 62% 42%; }

.hero-card {
  position: relative;
  margin: -2.5rem 0.875rem 0;
  padding: 1.125rem 1.125rem 1rem;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(60, 46, 34, 0.05), 0 18px 40px -22px rgba(60, 46, 34, 0.5);
}
.hero-note { margin: 0.875rem 0 0; font-size: 0.875rem; line-height: 1.5; color: var(--muted); text-align: center; }

.cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; padding: 0 1.75rem;
  border-radius: 999px; border: 0;
  background: var(--cta); color: #fff;
  font-family: var(--display); font-weight: 700;
  font-size: 0.9375rem; letter-spacing: 0.06em;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 1px 2px rgba(18, 17, 16, 0.14), 0 10px 22px -14px rgba(18, 17, 16, 0.6);
  transition: transform 180ms ease, background-color 180ms ease;
}
.cta:hover { background: var(--cta-hover); }
.cta:active { transform: translateY(1px); }
.cta-block { width: 100%; }
.cta-ghost { background: transparent; color: var(--ink); box-shadow: none; border: 1px solid var(--rule); }
.cta-ghost:hover { background: var(--sand); }

/* ---------- what the list gives: label left, hairline rules ---------- */

.gain { padding: var(--gap) var(--pad); background: var(--paper); }
.rows { margin: 0; padding: 0; }
.row {
  display: grid; gap: 0.125rem;
  padding: 0.9375rem 0;
  border-top: 1px solid var(--rule);
}
.row:last-child { border-bottom: 1px solid var(--rule); }
.rows dt {
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.13em;
  color: var(--ink);
}
.rows dd { margin: 0; font-size: 0.9375rem; color: var(--muted); }

/* ---------- the technology ---------- */

.tech { padding: var(--gap) var(--pad); background: var(--sand); }
.tech-text { margin: 0 0 0.875rem; color: var(--ink); }
.list-h {
  margin: 1.75rem 0 0.625rem;
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.13em; color: var(--muted);
}
.targets {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.375rem 1.5rem;
}
.targets li {
  position: relative; padding-left: 1.125rem;
  font-size: 0.9375rem; line-height: 1.5;
}
.targets li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 0.5rem; height: 1px; background: var(--ink);
}

/* ---------- the statement: the one dark band ---------- */

.say {
  padding: var(--gap) var(--pad);
  background: var(--band); color: var(--on-band);
}
.say-h {
  margin: 0 0 0.75rem;
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.5rem, 6.5vw, 2rem); line-height: 1.12;
  letter-spacing: -0.02em; text-wrap: balance; color: #fff;
}
.say-text { margin: 0 0 1.75rem; max-width: 38ch; font-size: 1.0625rem; line-height: 1.55; }
.say-tag {
  margin: 0 0 0.25rem;
  font-family: var(--display); font-weight: 300;
  font-size: 0.9375rem; letter-spacing: 0.16em;
  text-transform: uppercase;   /* Latin only — no Greek casing risk here */
  color: #fff;
}
.say-note { margin: 0; font-size: 0.875rem; color: var(--on-band-muted); }

/* ---------- lead form ---------- */

.lead { padding: var(--gap) var(--pad); background: var(--sand); }
.lead-card {
  max-width: var(--wrap); margin: 0 auto;
  padding: 1.75rem 1.375rem 2rem;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(60, 46, 34, 0.04), 0 14px 32px -20px rgba(60, 46, 34, 0.4);
}
.field {
  display: block; margin: 0 0 1rem;
  font-family: var(--display); font-weight: 700;
  font-size: 0.8125rem; color: var(--ink);
}
.field input {
  display: block; width: 100%; margin-top: 0.375rem;
  min-height: 3rem; padding: 0 0.875rem;
  border: 1px solid var(--rule); border-radius: 10px;
  background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 1rem; font-weight: 400;
  transition: border-color 160ms ease;
}
.field input:hover { border-color: var(--muted); }
.field input:focus { border-color: var(--ink); outline-offset: 1px; }

/* The signature: the visitor's own concern, as selectable chips that are the
   `interest` radio group. Chosen = the ink fills the pill. */
.pick { margin: 0.25rem 0 1rem; padding: 0; border: 0; min-width: 0; }
.pick legend {
  padding: 0; margin: 0 0 0.625rem;
  font-family: var(--display); font-weight: 700;
  font-size: 0.8125rem; color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.chip span {
  display: inline-flex; align-items: center;
  min-height: 2.5rem; padding: 0.375rem 0.9375rem;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 0.9375rem; line-height: 1.3;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.chip:hover span { border-color: var(--muted); }
.chip input:active + span { transform: scale(0.98); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent {
  display: flex; gap: 0.625rem; align-items: flex-start;
  margin: 0.5rem 0 1.25rem;
  font-size: 0.8125rem; line-height: 1.5; color: var(--muted);
}
.consent input { flex: none; width: 1.25rem; height: 1.25rem; margin: 0.125rem 0 0; }
.consent a { color: var(--ink); }

.form-error {
  margin: 0.875rem 0 0; padding: 0.625rem 0.75rem;
  border-radius: 8px; background: var(--sand);
  border: 1px solid var(--ink);
  font-size: 0.875rem; color: var(--ink);
}
.form-note { margin: 0.875rem 0 0; font-size: 0.8125rem; color: var(--muted); text-align: center; }

.thanks { text-align: center; }
.thanks-mark {
  width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); color: #fff;
}
.thanks-mark svg { width: 1.625rem; height: 1.625rem; }
.thanks h2 {
  margin: 0 0 0.5rem;
  font-family: var(--display); font-weight: 700; font-size: 1.4375rem;
  /* injected by app.js at runtime — {{upper}} can't reach it, so never uppercase here */
  text-transform: none;
}
.thanks p { margin: 0 0 1.25rem; color: var(--muted); }

/* ---------- data protection ---------- */

/* Reference text, set small on purpose. Floor is 0.75rem/12px and it stays there:
   below that the GDPR notice stops being "easily accessible ... in clear and plain
   language". --muted holds 7.41:1 on white at this size. */
.privacy { padding: 2.25rem var(--pad) var(--gap); background: var(--paper); }
.privacy-h {
  margin: 0 0 0.5rem;
  font-family: var(--display); font-weight: 700;
  font-size: 0.6875rem; letter-spacing: 0.13em; color: var(--muted);
}
.privacy-p { margin: 0; font-size: 0.75rem; line-height: 1.55; color: var(--muted); }
.privacy-p a { color: var(--ink); }

/* ---------- footer ---------- */

.foot {
  padding: 2.25rem var(--pad) 2.5rem;
  background: var(--sand);
  text-align: center;
}
.foot-mark { width: 92px; height: auto; margin: 0 auto 1rem; }
.foot-addr, .foot-copy { margin: 0 0 0.5rem; font-size: 0.8125rem; color: var(--muted); }
.foot-links {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
  margin: 0 0 0.875rem; font-size: 0.8125rem;
}
.foot-links a, .foot-addr a { color: var(--ink); }
.foot-copy { margin-bottom: 0; }

/* Every store of the brand (brands/<brand>.json "stores"): the address opens Google Maps,
   the number dials. Two to a row on a phone, one row on desktop. */
.stores { font-style: normal; margin: 0 0 1.25rem; }
.stores-h {
  margin: 0 0 0.75rem;
  font-family: var(--display); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.13em;
  color: var(--muted);
}
.stores-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem 1.5rem;
}
.store { flex: 0 1 9.5rem; display: flex; flex-direction: column; align-items: center; }
.store-name {
  font-family: var(--display); font-weight: 700; font-size: 0.6875rem; letter-spacing: 0.13em;
  color: var(--ink);
}
.store-addr {
  padding: 0.375rem 0; font-size: 0.8125rem; line-height: 1.4; color: var(--muted);
  text-decoration-color: var(--rule);
}
.store-note { margin-top: -0.25rem; font-size: 0.75rem; color: var(--muted); }
.store-tel {
  display: inline-flex; align-items: center; min-height: 2.75rem;
  margin-top: auto; /* rows share a line for the number, however long the address */
  font-family: var(--display); font-weight: 700; font-size: 0.9375rem; color: var(--ink);
  font-variant-numeric: tabular-nums; text-decoration-color: var(--rule);
}

/* ---------- sticky dock ---------- */

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem var(--pad);
  padding-bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
  background: rgba(237, 230, 223, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--sand-deep);
}
.dock-call {
  flex: none;
  width: 3.25rem; height: 3.25rem;
  display: grid; place-items: center;
  border: 1px solid var(--rule); border-radius: 999px;
  background: var(--paper);
}
.dock-call svg { width: 1.375rem; height: 1.375rem; fill: var(--ink); }
.dock-cta {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.25rem; border-radius: 999px;
  background: var(--cta); color: #fff;
  font-family: var(--display); font-weight: 700;
  font-size: 0.9375rem; letter-spacing: 0.06em; text-decoration: none;
}

/* ---------- wider screens ---------- */

@media (min-width: 48rem) {
  :root { --wrap: 40rem; --pad: 2rem; --gap: 3.5rem; }

  /* copy left, photograph right — both inside the field, so no stranded column */
  .hero-field {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    align-items: center;
    max-width: 68rem; margin: 0 auto;
    padding: 4rem var(--pad) 4.5rem;
  }
  .hero { background: var(--sand); }
  .hero-copy { max-width: 28rem; margin: 0 0 0 auto; }
  .mark { font-size: clamp(3rem, 5.2vw, 4rem); }
  .lede { font-size: 1.1875rem; }
  .hero-text { font-size: 1rem; }
  .hero-visual { margin: 0 auto 0 0; max-width: 30rem; }
  .hero-media img { height: 24rem; }
  .hero-card { margin: -3rem 1.5rem 0; padding: 1.375rem 1.5rem 1.25rem; }

  .targets { grid-template-columns: 1fr 1fr; }
  .lead-card { padding: 2.25rem 2.25rem 2.5rem; }

  /* the dock is a phone affordance; on a wide screen the page CTAs are enough */
  .dock { display: none; }
  body { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
  }
}
