/* Hallmark · shape: One-screen product hero, gallery beside the headline, one action · genre: atmospheric · theme: custom (dark graphite, one amber signal, Playfair Display with Inter) · job: visit · draw: manual
 * hero: headline and the action left, the product gallery right at 560px, a soft amber glow behind it · nav: wordmark only · footer: one quiet line of links · imagery: five manufacturer photographs from the official hero, swipeable · signature: the product gallery set large over a dark glow, with a single bright button
 * axes: dark/display-condensed/chromatic-amber · posture: bold · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · waive 38iii · the theme names the coloured word as its signature and it appears once, in the hero · the single amber word carries the page's one accent */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: S, a single screen leaves little to scroll; kept it on purpose because the job is one click */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(fonts/inter-latin.woff2) format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500 900; font-display: swap; src: url(fonts/playfair-display-latin.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px; --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-xs: 0.8125rem; --text-sm: 0.9375rem; --text-md: 1.0625rem; --text-lead: clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --text-display: clamp(2.5rem, 4.4vw + 0.5rem, 4.5rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 640ms;
  --color-bg: oklch(15% 0.014 260); --color-bg-2: oklch(21% 0.016 260); --color-bg-3: oklch(27% 0.018 260);
  --color-line: oklch(34% 0.016 260); --color-fg: oklch(97% 0.006 90); --color-fg-2: oklch(78% 0.012 260);
  --color-accent: oklch(83% 0.17 86); --color-accent-hi: oklch(89% 0.15 90); --color-accent-ink: oklch(19% 0.03 80); --color-focus: oklch(90% 0.14 90);
  --color-scrim: oklch(10% 0.012 260 / 0.78); --color-shadow: oklch(5% 0.01 260 / 0.75);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif; --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --radius-lg: 20px; --radius-md: 14px;
  --container: 1200px; --gutter: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }
body { margin: 0; background: var(--color-bg); color: var(--color-fg); font-family: var(--font-body); font-weight: 400; font-size: var(--text-md); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--space-md); top: -100px; padding: var(--space-xs) var(--space-md); background: var(--color-fg); color: var(--color-bg); z-index: 900; }
.skip:focus-visible { top: var(--space-md); }

/* page */
.page { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; isolation: isolate; }
.page::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 76% 46%, color-mix(in oklab, var(--color-accent) 20%, transparent), transparent 70%), radial-gradient(40% 40% at 8% 0%, color-mix(in oklab, var(--color-bg-3) 80%, transparent), transparent 70%); }


/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2xl) var(--space-3xl); align-items: center; padding-block: var(--space-2xl); }
.hero__text { display: grid; gap: var(--space-lg); justify-items: start; }
.hero h1 { font-family: var(--font-display); font-size: var(--text-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--color-accent); }
.lead { font-size: var(--text-lead); color: var(--color-fg-2); max-width: 30ch; line-height: 1.4; }

.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 60px; padding: 0 var(--space-xl); background: var(--color-accent); color: var(--color-accent-ink); font: 700 1.125rem / 1 var(--font-body); text-decoration: none; border-radius: var(--radius-md); box-shadow: 0 12px 40px -8px color-mix(in oklab, var(--color-accent) 55%, transparent); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.cta:hover { background: var(--color-accent-hi); transform: translateY(-2px); }
.cta:active { transform: translateY(0); }
.hint { font-size: var(--text-sm); color: var(--color-fg-2); max-width: 36ch; }

/* gallery */
.gallery { display: grid; gap: var(--space-sm); min-width: 0; }
.stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-bg-2); box-shadow: 0 40px 80px -30px var(--color-shadow); }
.track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xs); margin: 0; padding: 0; list-style: none; }
.thumbs button { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 10px; background: var(--color-bg-2); cursor: pointer; overflow: hidden; opacity: 0.6; transition: opacity var(--dur-short) var(--ease-out); }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--color-accent); }
.thumbs button:disabled, .cc__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* footer */
.foot { padding-block: var(--space-lg) var(--space-xl); display: grid; gap: var(--space-xs); font-size: var(--text-xs); color: var(--color-fg-2); }
.foot ul { display: flex; flex-wrap: wrap; gap: var(--space-xs) var(--space-lg); margin: 0; padding: 0; list-style: none; }
.foot a, .foot button { color: var(--color-fg-2); }
.foot button { font: inherit; background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

/* cookie banner */
.cc { position: fixed; inset: 0; z-index: 800; display: grid; place-items: center; padding: var(--space-md); background: var(--color-scrim); backdrop-filter: blur(6px); animation: cc-in var(--dur-short) var(--ease-out); }
.cc__box { width: 100%; max-width: 440px; background: var(--color-fg); color: var(--color-bg); border-radius: var(--radius-lg); padding: var(--space-lg); display: grid; gap: var(--space-sm); box-shadow: 0 30px 80px -20px var(--color-shadow); }
.cc__box h2 { font-family: var(--font-display); font-size: 1.625rem; font-weight: 700; line-height: 1.1; text-align: center; }
.cc__box p { font-size: var(--text-sm); line-height: 1.45; text-align: center; color: var(--color-bg-3); }
.cc__box a { color: inherit; }
.cc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-sm); padding-top: var(--space-xs); }
.cc__btn { min-height: 52px; border-radius: var(--radius-md); border: 2px solid var(--color-bg); font: 600 1rem / 1 var(--font-body); cursor: pointer; transition: transform var(--dur-micro) var(--ease-out); }
.cc__btn:active { transform: scale(0.98); }
.cc__btn--yes { background: var(--color-bg); color: var(--color-fg); }
.cc__btn--no { background: transparent; color: var(--color-bg); }
.cc__box :focus-visible { outline-color: var(--color-bg); }
@keyframes cc-in { from { opacity: 0; } to { opacity: 1; } }

/* entrance: only transform and opacity, content stays visible without it */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero__text > * { animation: rise var(--dur-long) var(--ease-out) both; }
.hero__text > :nth-child(2) { animation-delay: 80ms; }
.hero__text > :nth-child(3) { animation-delay: 160ms; }
.hero__text > :nth-child(4) { animation-delay: 220ms; }
.gallery { animation: rise var(--dur-long) var(--ease-out) 120ms both; }

/* mobile dock */
.dock { display: none; }

@media (max-width: 60rem) {
  :root { --gutter: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); padding-block: var(--space-xl); }
  .hero h1 { max-width: 12ch; }
  .hero__text { display: contents; }
  .hero__text > h1 { order: 1; } .hero__text > .lead { order: 2; } .gallery { order: 3; } .hero__text > .cta { display: none; } .hero__text > .hint { order: 4; }
  .hero { display: flex; flex-direction: column; align-items: stretch; }
  .hint { max-width: none; }
  .thumbs { display: none; }
  .foot { padding-bottom: calc(var(--space-3xl) + var(--space-md)); }
  .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 700; padding: var(--space-sm) var(--gutter) calc(var(--space-sm) + env(safe-area-inset-bottom)); background: color-mix(in oklab, var(--color-bg) 88%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--color-line); }
  .dock .cta { width: 100%; min-height: 56px; }
}

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