:root {
  --ink: #2a241c;
  --muted: #6d6256;
  --line: #e4d9c8;
  --accent: #8a6a3b;
  --paper: #f7f3ec;
  --card: #fffdf8;
  --dark: #3e2f1c;
  --scroll: 0;
  --sy: 0;
  --sans: "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}
body::before {
  content: "";
  position: fixed;
  inset: -12vh -8vw;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(920px 560px at calc(16% + var(--scroll) * 18%) calc(6% + var(--sy) * 0.035px), rgba(138, 106, 59, 0.18), transparent 62%),
    radial-gradient(760px 520px at calc(92% - var(--scroll) * 14%) calc(78% - var(--sy) * 0.028px), rgba(255, 252, 246, 0.95), transparent 58%),
    radial-gradient(540px 380px at calc(48% + var(--scroll) * 8%) calc(42% + var(--sy) * 0.02px), rgba(196, 168, 122, 0.12), transparent 70%);
  transition: background-position 0.2s linear;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--dark);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.6rem; }
.site { position: relative; z-index: 1; width: min(1120px, calc(100% - 2.4rem)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  margin: 0 -0.2rem;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(16px);
}
.mark { font-size: 1.28rem; letter-spacing: 0.03em; text-decoration: none; }
.mark small {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.18rem;
}
.nav-btn {
  display: none;
  font-family: var(--sans);
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}
.nav {
  display: flex;
  gap: 1.05rem;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a { text-decoration: none; position: relative; padding: 0.2rem 0; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.nav a:hover::after, .nav a.on::after { transform: scaleX(1); }
.nav .btn { letter-spacing: 0.06em; text-transform: none; }
.nav .btn::after { display: none; }
.hero { padding: 3.2rem 0 1.4rem; }
.hero h1, .display {
  font-weight: 500;
  font-size: clamp(2.6rem, 6vw, 5.1rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0.35rem 0 0.7rem;
}
.lede { font-size: 1.2rem; max-width: 36rem; line-height: 1.5; }
.eyebrow, .muted { color: var(--muted); font-family: var(--sans); }
.eyebrow { letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.72rem; }
.actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1.3rem; }
.stage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.4rem;
  align-items: end;
  padding-bottom: 2.4rem;
}
.frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #efe7da;
  min-height: 280px;
}
.frame img {
  width: 100%;
  height: 124%;
  margin-top: -8%;
  object-fit: cover;
  transform: translate3d(0, var(--plx, 0px), 0);
}
.frame { height: min(72vh, 640px); }
.caption {
  padding-bottom: 0.4rem;
}
.caption h2 { font-weight: 500; font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0.3rem 0; }
.split, .band, .notes {
  display: grid;
  gap: 1.2rem;
  padding: 1rem 0 2.6rem;
}
.split { grid-template-columns: 0.9fr 1.1fr; align-items: center; }
.split img, .portrait {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #efe7da;
  transform: translate3d(0, var(--plx, 0px), 0) scale(1.12);
}
.portrait-well { overflow: hidden; border-radius: 18px; }
.notes { grid-template-columns: repeat(3, 1fr); }
.note-card, .panel, .sheet {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem 1.2rem 1.25rem;
}
.note-card h2, .panel h2, .sheet h2 { font-weight: 500; margin: 0.35rem 0 0.45rem; }
.rise { opacity: 0; transition: opacity 0.85s ease; }
.rise.in { opacity: 1; }
[data-depth] { transform: translate3d(0, var(--plx, 0px), 0); will-change: transform; }
.veil {
  position: relative;
  height: 54vh;
  min-height: 340px;
  margin: 0.4rem 0 2.8rem;
  border-radius: 18px;
  overflow: hidden;
}
.veil img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 140%;
  top: -18%;
  object-fit: cover;
  transform: translate3d(0, var(--plx, 0px), 0);
}
.veil-copy {
  position: absolute;
  left: 1.4rem;
  bottom: 1.3rem;
  color: #f7f3ec;
  text-shadow: 0 8px 24px rgba(42, 36, 28, 0.35);
}
.veil-copy .eyebrow { color: rgba(247, 243, 236, 0.82); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.5rem 1.2rem;
  padding-bottom: 2.6rem;
}
.card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  text-decoration: none;
  color: inherit;
}
.card:hover .plate-window { transform: translateY(-5px); }
.card img {
  aspect-ratio: 1;
  object-fit: cover;
  background: #efe7da;
}
.card div, .pad { padding: 0.95rem 1rem 1.1rem; }
.card strong { display: block; font-weight: 500; font-size: 1.12rem; }
.price { font-family: var(--sans); color: var(--dark); letter-spacing: 0.02em; }
.price .was, s.was { color: var(--muted); font-weight: 400; margin-right: .35rem; }
.choice { display: flex; gap: .55rem; align-items: flex-start; margin: .35rem 0; }
.choice input { margin-top: .35rem; }
.filters { display: flex; gap: 0.45rem; flex-wrap: wrap; margin: 0.4rem 0 1.2rem; }
.chip {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  background: transparent;
}
.chip.on, .chip:hover { border-color: var(--accent); color: var(--dark); }
.piece {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  padding: 2rem 0 2.4rem;
  align-items: start;
}
.piece .plate {
  position: sticky;
  top: 5.2rem;
}
.piece img { width: 100%; border-radius: 18px; background: #efe7da; }
.stack { display: grid; gap: 0.75rem; }
label { display: grid; gap: 0.3rem; font-family: var(--sans); font-size: 0.84rem; letter-spacing: 0.04em; }
input, select, textarea {
  font: 1rem var(--serif);
  padding: 0.75rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent) 55%, white);
  border-color: var(--accent);
}
button, .btn {
  font-family: var(--sans);
  background: var(--dark);
  color: #f7f3ec;
  border: 0;
  border-radius: 999px;
  padding: 0.78rem 1.2rem;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease, background 0.25s ease;
}
button:hover, .btn:hover { transform: translateY(-1px); background: #2b2116; }
.btn.ghost { background: transparent; color: var(--dark); border: 1px solid var(--line); }
.btn.ghost:hover { background: rgba(255, 253, 248, 0.7); }
.flash {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin: 1rem 0 0;
  font-family: var(--sans);
}
.note { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.checkout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.3rem;
  align-items: start;
  padding-bottom: 2.5rem;
}
.line {
  display: grid;
  grid-template-columns: 92px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.line img { width: 92px; height: 92px; object-fit: cover; border-radius: 12px; }
.totals { display: grid; gap: 0.35rem; font-family: var(--sans); margin: 0.4rem 0 0.8rem; }
.totals div { display: flex; justify-content: space-between; }
.hours { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.92rem; }
.hours td { padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; }
.prose { max-width: 40rem; }
.prose p { line-height: 1.65; font-size: 1.08rem; }
.foot {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2.2rem;
  margin-top: 1rem;
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover { color: var(--dark); }
.foot strong { display: block; color: var(--ink); font-family: var(--serif); font-size: 1.15rem; font-weight: 500; margin-bottom: 0.35rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.honeypot { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.story {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2.2rem;
  align-items: center;
  padding: 2.4rem 0 1.2rem;
}
.story-copy h1 { margin-top: 0.2rem; }
.story-solo, .story-end, .story-flow { display: block; padding-top: 0.2rem; }
.story-solo .plate-detail { width: min(440px, 88%); margin-left: 4%; }
body.wear {
  --hand: clamp(210px, 26vw, 420px);
  --neck: clamp(320px, 42vw, 700px);
  --head: 5rem;
}
body.wear .site {
  width: calc(100vw - var(--hand) - var(--neck));
  max-width: none;
  margin: 0 0 0 var(--hand);
  padding: var(--head) 1.15rem 0;
}
body.wear .top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: auto;
  margin: 0;
  padding: 0.85rem 1.5rem;
  background: color-mix(in srgb, var(--paper) 94%, white);
  border-bottom: 1px solid var(--line);
}
body.wear .story,
body.wear .story-end { display: block; }
body.wear .story { padding-top: 1rem; }
body.wear .story-end .plate,
body.wear .story-flow .plate { width: 100%; }
body.wear .story-copy h1 { font-size: clamp(1.9rem, 2.5vw, 3.15rem); }
body.wear .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); }
body.wear .case-sheet {
  margin-left: 0;
  margin-right: 0;
  width: auto;
  padding: 2rem 0 0.6rem;
  border-radius: 0;
  z-index: 1;
  background: transparent;
}
body.wear .foot { grid-template-columns: 1fr; gap: 1.1rem; }
.wear-rail {
  position: fixed;
  z-index: 4;
  top: var(--head, 5rem);
  bottom: 0;
  margin: 0;
  padding: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}
.wear-hand { left: 0; width: var(--hand); }
.wear-neck { right: 0; width: var(--neck); }
.wear-rail .plate,
.wear-rail .plate-window { width: 100%; height: 100%; margin: 0; }
.wear-rail .plate-window {
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.wear-rail figcaption { display: none; }
.wear-frame {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  border-radius: 0;
  background: #efe7da;
  container-type: size;
}
.wear-frame img {
  position: absolute;
  opacity: 0;
  max-width: none;
}
.wear-frame img:first-child { opacity: 1; }
.wear-hand .wear-frame img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 46%;
}
.wear-neck .wear-frame img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.story-end { display: flex; justify-content: flex-end; }
.story-end .plate { width: min(500px, 92%); }
.story-flow .plate { width: 100%; }
.plate { margin: 0; }
.plate-window {
  display: block;
  padding: 7px;
  border-radius: 8px;
  background: linear-gradient(145deg, #f3e6cf, #8a6a3b 48%, #d4b888);
  box-shadow: 0 22px 46px rgba(62, 47, 28, 0.12);
  transition: transform 0.45s ease;
}
.plate-fit {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: #efe7da;
}
.plate-portrait .plate-fit { aspect-ratio: 2 / 3; }
.plate-square .plate-fit { aspect-ratio: 1; }
.card .plate-fit { aspect-ratio: 1; }
.plate-fit img, .split .plate-fit img {
  width: 100%;
  height: 112%;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: cover;
  object-position: center 18%;
  transform: translate3d(0, var(--plx, 0px), 0) scale(1.04);
}
.plate-portrait .plate-fit img {
  object-position: center center;
  height: 100%;
  transform: none;
}
.plate-detail .plate-fit img { object-position: center 46%; height: 108%; }
.plate-square .plate-fit img, .card .plate-fit img { object-position: center; height: 108%; }
.plate figcaption {
  margin: 0.95rem 0 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}
.plate figcaption .eyebrow { display: block; margin-bottom: 0.35rem; }
.flow {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  background: #efe7da;
}
.flow-band { position: relative; overflow: hidden; min-height: 0; }
.flow-layer {
  width: 180%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transform: translate3d(-8%, 0, 0);
}
.flow-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-sheet {
  position: relative;
  z-index: 6;
  background: var(--paper);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 3.2rem max(1.2rem, calc((100vw - 1120px) / 2)) 1rem;
  border-radius: 28px 28px 0 0;
}
.home-stage .top {
  background: linear-gradient(180deg, rgba(28, 22, 16, 0.38), rgba(28, 22, 16, 0));
  border-bottom-color: transparent;
  color: #f6f1e8;
}
.home-stage .top a, .home-stage .mark small { color: #f6f1e8; }
.home-stage .nav.open a { color: var(--ink); }
.home-stage .nav a::after { background: #f6f1e8; }
.home-stage .nav-btn { color: #f6f1e8; border-color: rgba(246, 241, 232, 0.45); }
.home-stage.nav-solid .top {
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  color: var(--ink);
}
.home-stage.nav-solid .top a, .home-stage.nav-solid .mark small, .home-stage.nav-solid .nav-btn { color: var(--ink); }
.home-stage.nav-solid .nav a::after { background: var(--accent); }
.home-stage.nav-solid .nav-btn { border-color: var(--line); }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: veil-out 0.45s ease both; }
::view-transition-new(root) { animation: veil-in 0.55s ease both; }
@keyframes veil-out { to { opacity: 0; } }
@keyframes veil-in { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 860px) {
  .stage, .split, .piece, .checkout, .notes, .foot { grid-template-columns: 1fr; }
  .frame { height: 68vw; min-height: 240px; }
  .piece .plate { position: relative; top: auto; }
  .story, .story-end { display: block; }
  .story-solo .plate-detail, .story-end .plate { width: 100%; margin-left: 0; }
  body.wear {
    height: auto;
    overflow: visible;
  }
  body.wear .site {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 1;
    width: min(1120px, calc(100% - 1.4rem));
    max-width: none;
    margin: 0 auto;
    padding: 0 0 1.4rem;
    overflow: visible;
    background: transparent;
  }
  body.wear .top {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: auto;
    margin: 0;
    padding: 0.75rem 0;
  }
  body.wear .mark { font-size: 1.05rem; }
  body.wear main {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  body.wear { --head: 4.25rem; }
  body.wear main > :not(.wear-rail) { flex: 1 1 100%; min-width: 0; }
  .wear-stage {
    flex: 1 1 100%;
    min-width: 0;
    min-height: calc(62vw + 180vh);
  }
  .wear-pair {
    position: sticky;
    top: var(--head);
    z-index: 4;
    display: flex;
    height: 62vw;
    background: var(--paper);
  }
  .wear-rail {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    height: 100%;
    flex: 1 1 50%;
    width: 50%;
    z-index: 1;
  }
  .wear-hand, .wear-neck { position: relative; left: auto; right: auto; width: 50%; }
  .flow { aspect-ratio: 4 / 3; }
  .veil { height: 46vh; }
  .nav-btn { display: inline-block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 0.8rem 0 1rem;
    background: color-mix(in srgb, var(--paper) 94%, white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .nav.open { display: flex; }
  .top { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transition: none; }
  [data-depth], .card img, .frame img, .split img, .portrait, .veil img, .plate-fit img, .flow-layer { transform: none; }
  .flow-layer { width: 100%; }
  .flow-video { display: none; }
  .wear-frame img { display: none; }
  .wear-frame img:last-child { display: block; opacity: 1; }
  .card, .btn, button, .nav a::after { transition: none; }
  body::before { inset: 0; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
