@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f3ede1;
  --paper-2: #e9e0ce;
  --ink: #1b2140;
  --indigo: #2b3a7a;
  --indigo-deep: #18204a;
  --muted: #595d72;
  --line: rgba(27, 33, 64, 0.14);
  --amber: #b06d2a;
  --ok: #2f6b4a;
  --err: #a33a2a;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
  --max: 1180px;
  --motif-indigo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath fill='%232b3a7a' d='M8 0h1v1h-1zM7 1h1v1h-1zM9 1h1v1h-1zM6 2h1v1h-1zM10 2h1v1h-1zM5 3h1v1h-1zM8 3h1v1h-1zM11 3h1v1h-1zM4 4h1v1h-1zM7 4h1v1h-1zM9 4h1v1h-1zM12 4h1v1h-1zM3 5h1v1h-1zM6 5h1v1h-1zM10 5h1v1h-1zM13 5h1v1h-1zM2 6h1v1h-1zM5 6h1v1h-1zM8 6h1v1h-1zM11 6h1v1h-1zM14 6h1v1h-1zM1 7h1v1h-1zM4 7h1v1h-1zM7 7h1v1h-1zM9 7h1v1h-1zM12 7h1v1h-1zM15 7h1v1h-1zM0 8h1v1h-1zM3 8h1v1h-1zM6 8h1v1h-1zM8 8h1v1h-1zM10 8h1v1h-1zM13 8h1v1h-1zM1 9h1v1h-1zM4 9h1v1h-1zM7 9h1v1h-1zM9 9h1v1h-1zM12 9h1v1h-1zM15 9h1v1h-1zM2 10h1v1h-1zM5 10h1v1h-1zM8 10h1v1h-1zM11 10h1v1h-1zM14 10h1v1h-1zM3 11h1v1h-1zM6 11h1v1h-1zM10 11h1v1h-1zM13 11h1v1h-1zM4 12h1v1h-1zM7 12h1v1h-1zM9 12h1v1h-1zM12 12h1v1h-1zM5 13h1v1h-1zM8 13h1v1h-1zM11 13h1v1h-1zM6 14h1v1h-1zM10 14h1v1h-1zM7 15h1v1h-1zM9 15h1v1h-1z'/%3E%3C/svg%3E");
  --motif-cream: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' shape-rendering='crispEdges'%3E%3Cpath fill='%23f3ede1' d='M8 0h1v1h-1zM7 1h1v1h-1zM9 1h1v1h-1zM6 2h1v1h-1zM10 2h1v1h-1zM5 3h1v1h-1zM8 3h1v1h-1zM11 3h1v1h-1zM4 4h1v1h-1zM7 4h1v1h-1zM9 4h1v1h-1zM12 4h1v1h-1zM3 5h1v1h-1zM6 5h1v1h-1zM10 5h1v1h-1zM13 5h1v1h-1zM2 6h1v1h-1zM5 6h1v1h-1zM8 6h1v1h-1zM11 6h1v1h-1zM14 6h1v1h-1zM1 7h1v1h-1zM4 7h1v1h-1zM7 7h1v1h-1zM9 7h1v1h-1zM12 7h1v1h-1zM15 7h1v1h-1zM0 8h1v1h-1zM3 8h1v1h-1zM6 8h1v1h-1zM8 8h1v1h-1zM10 8h1v1h-1zM13 8h1v1h-1zM1 9h1v1h-1zM4 9h1v1h-1zM7 9h1v1h-1zM9 9h1v1h-1zM12 9h1v1h-1zM15 9h1v1h-1zM2 10h1v1h-1zM5 10h1v1h-1zM8 10h1v1h-1zM11 10h1v1h-1zM14 10h1v1h-1zM3 11h1v1h-1zM6 11h1v1h-1zM10 11h1v1h-1zM13 11h1v1h-1zM4 12h1v1h-1zM7 12h1v1h-1zM9 12h1v1h-1zM12 12h1v1h-1zM5 13h1v1h-1zM8 13h1v1h-1zM11 13h1v1h-1zM6 14h1v1h-1zM10 14h1v1h-1zM7 15h1v1h-1zM9 15h1v1h-1z'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.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;
}

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

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 22px; padding-bottom: 22px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 3px;
  background: var(--indigo) var(--motif-cream) center / 17px 17px;
  box-shadow: inset 0 0 0 3px var(--indigo);
}
.brand-name {
  font: 600 21px/1 var(--serif); letter-spacing: 0.01em;
}
.lang {
  display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px;
}
.lang button {
  font: 600 12px/1 var(--sans); letter-spacing: 0.08em;
  border: 0; background: transparent; color: var(--muted);
  padding: 7px 11px; border-radius: 999px; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.lang button:focus-visible { outline: 2px solid var(--indigo); outline-offset: 2px; }

/* ---------------------------------------------------------------- hero */

.hero {
  display: grid; gap: clamp(32px, 6vw, 72px);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  padding-top: clamp(16px, 4vw, 48px); padding-bottom: clamp(48px, 8vw, 96px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; }
h1 {
  font-size: clamp(40px, 6.2vw, 74px); line-height: 1.02;
  font-variation-settings: "opsz" 144;
}
h1 em, h2 em { font-style: italic; color: var(--indigo); font-weight: 400; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 34em; margin: 26px 0 34px; }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px;
  box-shadow: 0 30px 60px -30px rgba(24, 32, 74, 0.55);
}
.hero-figure::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 46%; height: 38%; z-index: -1;
  background: var(--motif-indigo) 0 0 / 22px 22px; opacity: 0.2; border-radius: 4px;
}
.hero-figure figcaption {
  position: absolute; left: 16px; bottom: 16px; right: 16px;
  color: #f3ede1; font: italic 400 15px/1.35 var(--serif);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

/* ---------------------------------------------------------------- signup */

.signup {
  background: #fbf8f2; border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(18px, 3vw, 26px); max-width: 540px;
  scroll-margin-top: 24px;
}
.signup-row { display: flex; gap: 10px; }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0;
  font: 400 16px/1 var(--sans); color: var(--ink);
  background: #fff; border: 1px solid rgba(27, 33, 64, 0.25); border-radius: 4px;
  padding: 15px 14px;
}
.signup input[type="email"]:focus { outline: 2px solid var(--indigo); outline-offset: 1px; border-color: transparent; }
.btn {
  flex: 0 0 auto;
  font: 600 15px/1 var(--sans); letter-spacing: 0.01em;
  background: var(--indigo); color: #fff; border: 0; border-radius: 4px;
  padding: 15px 20px; cursor: pointer; transition: background 0.15s;
}
.btn:hover { background: var(--indigo-deep); }
.btn:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.btn[disabled] { opacity: 0.65; cursor: progress; }
.consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13.5px; line-height: 1.5; color: var(--muted); margin-top: 14px; cursor: pointer;
}
.consent input { margin: 3px 0 0; width: 16px; height: 16px; accent-color: var(--indigo); flex: 0 0 auto; }
.promise {
  display: flex; gap: 10px; align-items: flex-start;
  margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 14px; line-height: 1.5; color: var(--ink);
}
.promise svg { flex: 0 0 auto; margin-top: 2px; color: var(--indigo); }
.status { font-size: 14.5px; margin: 12px 0 0; min-height: 0; }
.status:empty { display: none; }
.status.err { color: var(--err); }
.signup.done .signup-row,
.signup.done .consent { display: none; }
.signup.done .status {
  color: var(--ok); font: 500 18px/1.45 var(--serif); margin: 0;
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- band */

.band {
  height: 34px;
  background: var(--indigo) var(--motif-cream) center / 34px 34px;
  border-top: 6px solid var(--indigo); border-bottom: 6px solid var(--indigo);
  box-sizing: content-box;
}
.band.thin { height: 17px; background-size: 17px 17px; border-width: 4px; }

/* ---------------------------------------------------------------- sections */

section { padding: clamp(64px, 10vw, 120px) 0; }
.kicker {
  font: 600 12.5px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber); margin: 0 0 16px;
}
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.08; max-width: 18em; }
.intro { color: var(--muted); max-width: 40em; margin: 20px 0 0; font-size: 18px; }

.steps {
  list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px);
  counter-reset: step;
}
.steps li { border-top: 1px solid var(--ink); padding-top: 20px; counter-increment: step; }
.steps li::before {
  content: "0" counter(step);
  display: block; font: italic 400 15px/1 var(--serif); color: var(--amber); margin-bottom: 14px;
}
.steps h3 { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* gallery */
.gallery-sec { background: var(--paper-2); }
.gallery {
  display: grid; gap: clamp(14px, 2vw, 24px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(36px, 5vw, 56px);
}
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: #d9cfbb; }
.gallery figcaption { font-size: 14.5px; color: var(--muted); margin-top: 12px; }
.gallery figcaption strong { display: block; color: var(--ink); font: 500 18px/1.3 var(--serif); margin-bottom: 2px; }

/* fair */
.fair {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin-top: clamp(36px, 5vw, 56px);
}
.fair-card { background: #fbf8f2; border: 1px solid var(--line); border-radius: 6px; padding: clamp(22px, 3vw, 34px); }
.fair-card h3 { font-size: 26px; margin-bottom: 12px; }
.fair-card p { margin: 0; color: var(--muted); }
.fair-card .tag {
  display: inline-block; font: 600 11.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--indigo); background: rgba(43, 58, 122, 0.08); padding: 7px 10px; border-radius: 3px; margin-bottom: 18px;
}

/* closing CTA */
.closing {
  background: var(--indigo-deep); color: var(--paper); text-align: center;
  position: relative; overflow: hidden;
}
.closing::before {
  content: ""; position: absolute; inset: 0;
  background: var(--motif-cream) center / 40px 40px; opacity: 0.05; pointer-events: none;
}
.closing .wrap { position: relative; }
.closing h2 { margin: 0 auto; color: var(--paper); }
.closing h2 em { color: #c9b98f; }
.closing p { color: rgba(243, 237, 225, 0.75); max-width: 34em; margin: 20px auto 32px; font-size: 18px; }
.btn-light { display: inline-block; text-decoration: none; background: var(--paper); color: var(--indigo-deep); }
.btn-light:hover { background: #fff; color: var(--indigo-deep); }

/* footer */
footer { padding: 48px 0 56px; font-size: 14.5px; color: var(--muted); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: flex-start; }
footer details { max-width: 640px; }
footer summary { cursor: pointer; color: var(--ink); font-weight: 600; }
footer details p { margin: 10px 0 0; }

/* ---------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- responsive */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 520px; }
  .hero-figure img { aspect-ratio: 5 / 4; }
  .steps { grid-template-columns: 1fr; }
  .fair { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .signup-row { flex-direction: column; }
  .btn { width: 100%; }
  .gallery { grid-template-columns: 1fr; }
  .hero-figure::before { display: none; }
  .brand-name { font-size: 19px; }
}

/* ---------------------------------------------------------------- collection gallery */

.collection {
  list-style: none; padding: 0; margin: clamp(32px, 5vw, 52px) 0 0;
  display: grid; gap: clamp(10px, 1.6vw, 18px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.collection li[hidden] { display: none; }
.tile {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  background: var(--paper-2); border-radius: 4px; overflow: hidden;
  aspect-ratio: 3 / 4;
}
.tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.tile:hover img { transform: scale(1.04); }
.tile:focus-visible { outline: 2px solid var(--indigo); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }

.more-wrap { text-align: center; margin: clamp(28px, 4vw, 40px) 0 0; }
.more-wrap[hidden] { display: none; }
.btn-ghost {
  background: transparent; color: var(--indigo);
  box-shadow: inset 0 0 0 1.5px var(--indigo);
}
.btn-ghost:hover { background: var(--indigo); color: #fff; }

/* lightbox */
.lightbox {
  width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(14, 18, 40, 0.94); color: var(--paper);
}
.lightbox::backdrop { background: rgba(14, 18, 40, 0.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure {
  margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  max-width: calc(100vw - 32px); touch-action: pan-y;
}
.lightbox img {
  max-width: min(calc(100vw - 32px), 900px);
  max-height: calc(100dvh - 120px);
  width: auto; height: auto; object-fit: contain; border-radius: 3px;
  user-select: none; -webkit-user-drag: none;
}
.lightbox figcaption {
  display: flex; gap: 14px; align-items: baseline;
  font: italic 400 17px/1.3 var(--serif);
}
.lb-count { font: 500 13px/1 var(--sans); font-style: normal; letter-spacing: 0.08em; opacity: 0.6; }
.lb-btn {
  position: fixed; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(243, 237, 225, 0.12); color: var(--paper);
  transition: background 0.15s;
}
.lb-btn:hover { background: rgba(243, 237, 225, 0.25); }
.lb-btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .collection { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lightbox img { max-height: calc(100dvh - 170px); }
}
