:root {
  --bg: #000;
  --ink: #f4f3f0;
  --soft: rgba(244, 243, 240, 0.7);
  --dim: rgba(244, 243, 240, 0.4);
  --rule: rgba(244, 243, 240, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  /* Slow and smooth; nothing snaps. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  interpolate-size: allow-keywords;
}

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button { font: inherit; letter-spacing: inherit; color: inherit; }

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

/* Text links: underline grows from the centre on hover. */
.link {
  position: relative;
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--soft);
  cursor: pointer;
  transition: color 0.5s var(--ease);
}
.link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease);
}
.link:hover { color: var(--ink); }
.link:hover::after { transform: scaleX(1); }
.link:focus-visible { outline: 1px solid var(--dim); outline-offset: 6px; }

header,
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px var(--gutter);
}

header nav { display: flex; gap: 28px; }
header nav [aria-current="page"] { color: var(--ink); }
@media (max-width: 420px) { header nav { gap: 18px; } }

.mark { display: block; padding: 4px 0; }
.mark img { width: 55px; height: 16px; }
.mark:focus-visible { outline: 1px solid var(--dim); outline-offset: 6px; }

/* The logo watermarks the founding run; the door mark is the signature, sign-off and thank-you. */

.run { position: relative; isolation: isolate; }
.run::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("images/logo.svg?v=1") center 40% / auto min(86%, 720px) no-repeat;
  opacity: 0.05;
  pointer-events: none;
}

.sign { display: block; width: 13px; height: 26px; margin: 44px auto 0; opacity: 0.55; }

.end { display: table; margin: 40px auto 72px; padding: 12px; opacity: 0.5; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.end img { width: 28px; height: 56px; }
.end:hover { opacity: 1; transform: translateY(-4px); }
.end:focus-visible { outline: 1px solid var(--dim); outline-offset: 4px; }

.msg.done::before {
  content: "";
  display: block;
  width: 13px;
  height: 26px;
  margin: 0 auto 18px;
  background: url("images/door.svg?v=1") center / contain no-repeat;
  animation: rise 1.2s var(--ease);
}

/* Hero: one plate, one name, one line, one action. Fills the first screen. */

.hero {
  min-height: calc(100svh - 84px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 var(--gutter) 40px;
}

.plate { text-align: center; }

.frame {
  position: relative;
  width: min(640px, 86vw, max(280px, calc((100svh - 400px) * 1.5)));
  aspect-ratio: 3 / 2;
}
.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.6s var(--ease), transform 0.6s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.frame img.on { opacity: 1; }
/* Steered by hand: answer faster than the ambient drift. */
.frame.quick img { transition: opacity 0.7s var(--ease), transform 0.6s var(--ease); }
.frame { touch-action: pan-y; cursor: grab; }
.frame:active { cursor: grabbing; }

.ticks {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.ticks button {
  width: 18px;
  height: 11px;
  padding: 0;
  border: 0;
  background: linear-gradient(var(--rule), var(--rule)) center / 100% 1px no-repeat;
  cursor: pointer;
  transition: background-image 0.6s var(--ease);
}
.ticks button.on { background-image: linear-gradient(var(--ink), var(--ink)); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.02em;
  font-variant-numeric: lining-nums;
}
h1 { margin-top: 26px; font-size: 26px; }
h2, h3, .prose p { text-wrap: balance; }
h1 span, h2 span { color: var(--dim); }

.hook { margin-top: 14px; font-size: 15px; letter-spacing: 0.02em; }
.origin { margin-top: 8px; color: var(--dim); }

.access { display: flex; justify-content: center; }

/* Pre-launch cover: the logo, one line and the list on the first screen. */

.cover {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px var(--gutter);
  text-align: center;
}
.cover .logo { width: auto; height: min(52svh, 440px); user-select: none; -webkit-user-drag: none; }
.cover .hook { margin-top: 44px; }
.cover .solo { margin-top: 40px; }
.cover .more { margin-top: 28px; }

/* Sections: one idea per screen, lots of air. */

.sec {
  padding: clamp(96px, 16vh, 180px) var(--gutter);
  text-align: center;
}
.sec h2 { font-size: clamp(26px, 4.2vw, 34px); margin-bottom: 28px; }
.sec h3 { font-size: 20px; }

.prose {
  width: min(560px, 100%);
  margin: 0 auto;
  font-size: 14px;
  line-height: 1.85;
  letter-spacing: 0.01em;
  color: var(--soft);
}
.prose p + p { margin-top: 1.2em; }

.cta { display: table; margin: 48px auto 0; }

/* The line: seam versions in a strip that scrolls sideways on its own. */

.strip {
  display: flex;
  gap: 8px;
  width: min(980px, 100%);
  margin: 56px auto 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--rule) transparent;
}
.strip figure { flex: 1 0 132px; scroll-snap-align: start; }
.slot {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--rule);
  background: #000;
  color: var(--dim);
  font-size: 10px;
}
.strip figcaption {
  margin-top: 12px;
  color: var(--dim);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Shut lines: image left, text right; stacked on small screens. */

.split {
  display: grid;
  justify-items: center;
  gap: 48px;
}
.split img { width: min(400px, 100%); }
.split .body { width: min(420px, 100%); font-size: 14px; line-height: 1.85; letter-spacing: 0.01em; color: var(--soft); }

@media (min-width: 760px) {
  .split {
    grid-template-columns: minmax(0, 440px) minmax(0, 400px);
    justify-content: center;
    align-items: center;
    gap: clamp(40px, 6vw, 96px);
    text-align: left;
  }
  .split img { width: 100%; }
  .split .cta { margin-left: 0; }
}

/* 360: one square frame, scrubbed with a hairline slider. */

.caption { color: var(--dim); margin-bottom: 32px; }

.spin-body { width: min(560px, 100%, calc(100svh - 240px)); min-width: min(280px, 100%); margin: 0 auto; }

.spin-frame {
  position: relative;
  aspect-ratio: 1;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
}
.spin-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.12s linear;
  pointer-events: none;
}
.spin-frame img.on { opacity: 1; }

input[type="range"] {
  display: block;
  width: 100%;
  height: 24px;
  margin: 28px 0 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
input[type="range"]:focus-visible { outline: 1px solid var(--dim); outline-offset: 4px; }
input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: var(--rule); }
input[type="range"]::-moz-range-track { height: 1px; background: var(--rule); }
input[type="range"]::-webkit-slider-thumb {
  width: 28px;
  height: 3px;
  margin-top: -1px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  -webkit-appearance: none;
}
input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 3px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
}

.pair { display: flex; justify-content: center; gap: 36px; margin-top: 40px; }

/* Built to be worn: three short reasons. */

.three {
  display: grid;
  gap: 40px;
  width: min(940px, 100%);
  margin: 16px auto 0;
}
.three > div { padding-top: 24px; border-top: 1px solid var(--rule); }
.three p { width: min(300px, 100%); margin: 12px auto 0; font-size: 13px; line-height: 1.8; color: var(--soft); }
@media (min-width: 760px) {
  .three { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
}

/* Collection: the three parts on the home page, and the pieces on /collection. */

.parts,
.pieces {
  display: grid;
  gap: 48px;
  width: min(940px, 100%);
  margin: 0 auto;
}
.parts img,
.pieces img {
  width: min(300px, 100%);
  margin: 0 auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: opacity 0.6s var(--ease);
}
.parts h3,
.pieces h3 { margin-top: 20px; }
.parts p,
.pieces p { margin-top: 6px; color: var(--dim); }
.parts a:hover img,
.pieces a:hover img { opacity: 0.8; }
.parts a:focus-visible,
.pieces a:focus-visible { outline: 1px solid var(--dim); outline-offset: 6px; }
.pieces.one { width: min(300px, 100%); }
@media (min-width: 760px) {
  .parts,
  .pieces:not(.one) { grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
}

.intro {
  padding: clamp(72px, 14vh, 160px) var(--gutter) 0;
  text-align: center;
}
.intro h1 { margin-top: 0; font-size: clamp(30px, 5vw, 40px); }
.jump { display: flex; justify-content: center; gap: 28px; margin-top: 40px; }

.solo { display: flex; flex-direction: column; align-items: center; margin-top: 48px; }

/* Details: the reference list. */

.specs > * { width: min(420px, 100%); margin-left: auto; margin-right: auto; }
.specs h2 { margin-bottom: 36px; }
.specs .cta { width: auto; }

.specs dl { text-align: left; }
.specs dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 13px;
}
.specs dl div:first-child { border-top: 1px solid var(--rule); }
.specs dt { color: var(--dim); }
.specs dd { color: var(--soft); }
.specs dd small { display: block; margin-top: 5px; color: var(--dim); font-size: 12px; line-height: 1.6; }

.closeups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 32px;
}
.closeups button { padding: 0; border: 0; background: none; cursor: zoom-in; }
.closeups img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity 0.5s var(--ease); }
.closeups:hover img { opacity: 0.6; }
.closeups button:hover img { opacity: 1; }
.closeups button:focus-visible { outline: 1px solid var(--dim); outline-offset: 3px; }

/* Where things stand: a hairline with four dots. Done is small, now is filled, next is open. */

.timeline {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 48px auto 0;
  padding: 0 0 0 30px;
  list-style: none;
  text-align: left;
  font-size: 13px;
  color: var(--soft);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--rule);
}
.timeline li { position: relative; padding: 0 0 26px; line-height: 1.6; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 5px;
  width: 9px;
  height: 9px;
  border: 1px solid var(--dim);
  border-radius: 50%;
  background: var(--bg);
}
.timeline li.done::before { transform: scale(0.6); border-color: var(--dim); background: var(--dim); }
.timeline li.now { color: var(--ink); }
.timeline li.now::before { top: 0; left: -30px; width: 9px; height: 21px; border: 0; border-radius: 0; background: url("images/door.svg?v=1") center / contain no-repeat, var(--bg); }
.timeline em { font-style: normal; color: var(--dim); margin-left: 6px; }

/* The founding run: two options side by side, one hairline between. */

.options {
  display: grid;
  width: min(780px, 100%);
  margin: 64px auto 0;
}
.option {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
}
.option + .option { border-top: 1px solid var(--rule); }
.option > p:not(.msg) { width: min(300px, 100%); margin: 12px 0 28px; font-size: 13px; line-height: 1.75; color: var(--soft); flex: 1; }
@media (min-width: 760px) {
  .options { grid-template-columns: 1fr 1fr; }
  .option { padding: 8px clamp(24px, 4vw, 56px); }
  .option + .option { border-top: 0; border-left: 1px solid var(--rule); }
}

.signup {
  display: flex;
  width: min(300px, 100%);
  border-bottom: 1px solid var(--dim);
}
.signup[hidden], .reserve[hidden] { display: none; }
.signup:focus-within { border-color: var(--ink); }

.signup input {
  flex: 1;
  min-width: 0;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  text-align: center;
  outline: none;
}
.signup input::placeholder { color: var(--dim); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.signup button {
  padding: 0 0 0 12px;
  border: 0;
  background: none;
  color: var(--soft);
  font-size: 15px;
  cursor: pointer;
}
.signup button:hover { color: var(--ink); }
.signup button:disabled { opacity: 0.35; cursor: default; }

.reserve { width: min(300px, 100%); }

.sizes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}
.sizes legend { width: 100%; padding: 0; margin-bottom: 10px; color: var(--dim); }
.sizes label { position: relative; flex: 0 0 calc(100% / 7); cursor: pointer; }
.sizes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sizes span {
  display: block;
  padding: 8px 0;
  color: var(--dim);
  font-size: 13px;
  font-variant-numeric: lining-nums tabular-nums;
  background: linear-gradient(currentColor, currentColor) center bottom / 0 1px no-repeat;
  transition: color 0.4s var(--ease), background-size 0.5s var(--ease);
}
.sizes label:hover span { color: var(--soft); }
.sizes input:checked + span { color: var(--ink); background-size: 14px 1px; }
.sizes input:focus-visible + span { outline: 1px solid var(--dim); outline-offset: -2px; }

.pay {
  display: flex;
  width: 100%;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--dim);
  background: none;
  color: var(--soft);
  font-size: 14px;
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
.pay span:first-child { flex: 1; padding-left: 24px; }
.pay span:last-child { width: 24px; font-size: 15px; text-align: right; }
.pay:hover, .pay:focus-visible { color: var(--ink); border-color: var(--ink); outline: none; }
.pay:disabled { opacity: 0.35; cursor: default; }

.msg { min-height: 1.4em; margin-top: 12px; color: var(--dim); }
.msg.done { margin-top: 0; color: var(--ink); font-family: var(--serif); font-size: 21px; letter-spacing: 0.02em; }

.fine { margin-top: 48px; color: var(--dim); }

/* FAQ: collapsible rows, closed by default. */

.faq .rows { width: min(560px, 100%); margin: 0 auto; text-align: left; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  font-size: 14px;
  color: var(--soft);
  cursor: pointer;
  list-style: none;
  transition: color 0.4s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--dim); transition: transform 0.5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover, .faq details[open] summary { color: var(--ink); }
.faq summary:focus-visible { outline: 1px solid var(--dim); outline-offset: 4px; }
.faq details p { padding: 0 32px 20px 0; font-size: 13px; line-height: 1.8; color: var(--soft); }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.5s var(--ease), content-visibility 0.5s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }

footer { align-items: flex-start; padding-top: 48px; border-top: 1px solid var(--rule); margin: 0 var(--gutter); padding-left: 0; padding-right: 0; color: var(--dim); }
footer p { max-width: 420px; text-align: right; line-height: 1.7; }
@media (max-width: 600px) {
  footer { flex-direction: column-reverse; gap: 16px; }
  footer p { text-align: left; }
}

/* Views: a contact sheet of every angle; a tile opens large in place. */

.views {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 30px var(--gutter);
  border: 0;
  background: var(--bg);
  color: var(--ink);
  opacity: 0;
  overflow-y: auto;
  transition: opacity 0.8s var(--ease), display 0.8s allow-discrete, overlay 0.8s allow-discrete;
}
.views[open] { display: grid; place-items: safe center; opacity: 1; }
@starting-style { .views[open] { opacity: 0; } }
.views::backdrop { background: transparent; }

.close { position: absolute; top: 30px; right: var(--gutter); }

.views-body { width: min(980px, 100%); padding: 48px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.grid[hidden] { display: none; }
.grid button {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  transition: opacity 0.5s var(--ease);
}
.grid:hover img { opacity: 0.55; }
.grid button:hover img,
.grid button:focus-visible img { opacity: 1; }
.grid button:focus-visible { outline: 1px solid var(--dim); outline-offset: 3px; }

.lightbox { text-align: center; }
.lightbox[hidden] { display: none; }
.lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100svh - 180px);
  width: auto;
  height: auto;
  margin: 0 auto;
  cursor: zoom-out;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform, opacity;
}
.lightbox figcaption {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  margin-top: 20px;
  color: var(--dim);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* Load: plate first, then name, then everything else. Later sections fade in as they arrive. */

.frame, .ticks, .plate figcaption > *, .access, header { opacity: 0; animation: rise 1.8s var(--ease) forwards; }
.frame { animation-delay: 0.1s; }
.ticks, h1 { animation-delay: 0.7s; }
.hook, .origin { animation-delay: 0.9s; }
.access, header { animation-delay: 1.1s; }
.cover .logo, .cover .hook, .cover .origin, .cover .solo, .cover .more { opacity: 0; animation: rise 1.8s var(--ease) forwards; }
.cover .logo { animation-duration: 2.4s; }
.cover .hook, .cover .origin { animation-delay: 0.9s; }
.cover .solo, .cover .more { animation-delay: 1.3s; }

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 1.4s var(--ease), transform 1.4s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .frame, .ticks, .plate figcaption > *, .access, header { animation: none; opacity: 1; }
  .cover .logo, .cover .hook, .cover .origin, .cover .solo, .cover .more { animation: none; opacity: 1; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .frame img, .faq details::details-content { transition: none; }
}
