/* Tabula · direction 4 · Warm Minimal
   bone ground, warm greys, ink, one terracotta accent. Fraunces + Inter. */

:root {
  --bone: #F1EDE4;
  --bone-2: #F7F4EE;   /* cards, a shade lighter than the ground */
  --bone-3: #E8E2D6;   /* lines, dividers */
  --ink: #1F1D1A;
  --ink-2: #4A4540;    /* body text, slightly lifted */
  --grey: #8A837A;     /* captions */
  --grey-2: #B9B2A6;   /* hairlines on dark */
  --accent: #C9573A;
  --accent-soft: #EAD4CC;
  --radius: 28px;
  --radius-sm: 18px;
  --gutter: 16px;
  --max: 1120px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--bone); padding: 8px 12px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 16px; }

/* Type */
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-variation-settings: "opsz" 72, "SOFT" 30;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1.display { font-size: clamp(56px, 11vw, 112px); line-height: 0.98; letter-spacing: -0.025em; margin: 0.2em 0 0.35em; }
h2 { font-size: clamp(32px, 4.8vw, 50px); }
h3 { font-size: 24px; font-variation-settings: "opsz" 36, "SOFT" 30; }
.eyebrow {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  margin: 0 0 1.2em;
  font-weight: 500;
}
.lede { font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-2); max-width: 36em; margin: 0 auto 1.6em; text-wrap: pretty; }
.lede-sm { color: var(--ink-2); max-width: 32em; margin: 0 auto 1em; text-wrap: pretty; }
.muted { color: var(--grey); font-size: 15.5px; }
.center { text-align: center; }
.center .lede-sm, .center .eyebrow { margin-left: auto; margin-right: auto; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 16px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--bone) 86%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.brand { display: inline-flex; align-items: center; color: var(--ink); }
.wordmark { height: 26px; width: auto; }
.nav { display: none; gap: 22px; margin-left: 28px; font-size: 15px; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.all { margin-left: auto; font-size: 13.5px; color: var(--grey); white-space: nowrap; }
.all:hover { color: var(--ink); }
.all::before { content: "←"; margin-right: 6px; }

/* Layout */
main { padding: 0 var(--gutter); max-width: var(--max); margin: 0 auto; }
.section { padding: clamp(64px, 10vw, 128px) 0 0; }
.section + .section { border-top: 1px solid var(--bone-3); margin-top: clamp(64px, 10vw, 128px); }

/* Hero */
.hero { text-align: center; padding-top: clamp(40px, 8vw, 96px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: clamp(40px, 7vw, 80px); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 500; font-size: 15.5px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--bone); }
.btn-primary:hover { background: var(--accent); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--grey-2); }
.btn-quiet:hover { border-color: var(--ink); }

.hero-media { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: #1E1D1B; aspect-ratio: 16 / 9; }
.hero-media img, .hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media .hero-video { opacity: 0; transition: opacity 1.2s ease; }
.hero-media.playing .hero-video { opacity: 1; }
.hero-media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 18px; font-size: 13px; color: var(--grey-2); text-align: left;
  background: linear-gradient(to top, rgba(20,18,16,.55), transparent);
}
@media (max-width: 640px) {
  .hero-media { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); }
}

/* Essentials */
.split { display: grid; gap: 32px; align-items: center; }
.split-text h2 { margin-bottom: .5em; }
.split-img { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #2a2a2b; }
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.list-plain { margin: 1.4em 0 1.6em; border-top: 1px solid var(--bone-3); }
.list-plain li { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--bone-3); font-size: 18px; }
.list-plain .num { font-family: var(--serif); font-variation-settings: "opsz" 20; color: var(--accent); font-size: 15px; min-width: 1.2em; }
.list-plain.tight li { font-size: 16px; justify-content: space-between; }
.list-plain.tight span { color: var(--grey); font-size: 14.5px; }

/* How it works */
.steps { display: grid; gap: 20px; margin: clamp(32px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); counter-reset: s; }
.step { background: var(--bone-2); border-radius: var(--radius-sm); padding: 26px 24px 20px; border: 1px solid var(--bone-3); }
.step-n {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px;
  border: 1.5px solid var(--grey-2); color: var(--ink); font-family: var(--serif); font-size: 17px; margin-bottom: 16px;
}
.step h3 { margin-bottom: .35em; }
.step p { color: var(--ink-2); margin: 0; font-size: 16px; }

.asks { display: grid; gap: 14px; margin-top: 8px; }
.ask {
  position: relative;
  background: var(--bone-2);
  border: 1px solid var(--bone-3);
  border-radius: 14px;
  padding: 22px 22px 18px 26px;
  box-shadow: 0 1px 0 rgba(31,29,26,.04), 0 10px 30px -22px rgba(31,29,26,.25);
}
.ask::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--accent-soft); }
.ask p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 24, "SOFT" 100;
  font-size: 22px;
  line-height: 1.35;
  color: var(--ink);
  text-wrap: pretty;
}
.ask .tag { display: inline-block; margin-top: 12px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.ask:nth-child(odd) { transform: rotate(-0.4deg); }
.ask:nth-child(even) { transform: rotate(0.35deg); }

/* Faces */
.face-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(32px, 5vw, 56px); }
.face figure { margin: 0; background: var(--bone-2); border: 1px solid var(--bone-3); border-radius: var(--radius-sm); padding: 12px; }
.face img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; background: #1E1D1B; }
.face figcaption { display: flex; gap: 10px; align-items: baseline; padding: 12px 4px 2px; font-size: 14.5px; color: var(--ink-2); }
.face figcaption span { font-family: var(--serif); color: var(--accent); font-size: 13px; }
.face.missing img { display: none; }
.face.missing figure::before {
  content: ""; display: block; aspect-ratio: 1; border-radius: 12px; background: #1E1D1B;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 2px 9%; background-repeat: no-repeat; background-position: 50% 6%;
}

/* Shapes, sizes, bracelets */
.pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
.card-img { position: relative; border-radius: var(--radius-sm); overflow: hidden; background: #2a2a2b; aspect-ratio: 4 / 5; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  display: flex; flex-direction: column; gap: 2px;
  color: var(--bone); background: linear-gradient(to top, rgba(20,18,16,.6), transparent);
  font-size: 14px;
}
.card-img .cap strong { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.card-img .cap span { color: var(--grey-2); font-size: 13px; }
.wide { margin: 40px 0 0; border-radius: var(--radius); overflow: hidden; background: #2a2a2b; aspect-ratio: 16 / 9; }
.wide img { width: 100%; height: 100%; object-fit: cover; }
.bracelets { max-width: 560px; margin: 36px auto 0; }
.bracelets h3 { margin-bottom: .2em; }
.bracelets > p { color: var(--ink-2); }

.specs { max-width: 720px; margin: clamp(48px, 7vw, 80px) auto 0; }
.specs h3 { margin-bottom: .2em; }
.specs dl { margin: 20px 0 0; border-top: 1px solid var(--bone-3); }
.specs dl div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--bone-3); font-size: 15.5px; }
.specs dt { color: var(--grey); }
.specs dd { margin: 0; color: var(--ink-2); }

/* Pricing */
.agent-card {
  position: relative; margin-top: clamp(32px, 5vw, 56px);
  background: var(--ink); color: var(--bone);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
  overflow: hidden;
}
.agent-card h3 { font-size: clamp(28px, 4vw, 40px); color: var(--bone); }
.agent-card p { color: var(--grey-2); max-width: 34em; }
.agent-card .price { font-family: var(--serif); font-size: 21px; color: var(--bone); margin-bottom: .6em; }
.agent-card .price span { color: #E7866C; font-size: 1.25em; }
.agent-card .btn-primary { background: var(--bone); color: var(--ink); margin-top: 8px; }
.agent-card .btn-primary:hover { background: var(--accent); color: var(--bone); }
.agent-mark { display: none; width: 120px; color: rgba(241,237,228,.16); }

.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.edition { background: var(--bone-2); border: 1px solid var(--bone-3); border-radius: var(--radius-sm); padding: 12px 12px 20px; display: flex; flex-direction: column; }
.edition img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: #1E1D1B; margin-bottom: 16px; }
.edition h3 { font-size: 21px; margin: 0 4px .15em; }
.edition .price { font-family: var(--serif); font-size: 19px; margin: 0 4px .5em; }
.edition .price span { color: var(--accent); }
.edition > p:not(.price) { font-size: 14.5px; color: var(--ink-2); margin: 0 4px 1em; flex: 1; text-wrap: pretty; }
.edition .btn { margin: 0 4px; align-self: flex-start; font-size: 14px; padding: 10px 16px; }
.pay { margin-top: 28px; }

/* Privacy letter */
.privacy { display: flex; justify-content: center; }
.letter {
  max-width: 620px; width: 100%;
  background: var(--bone-2); border: 1px solid var(--bone-3);
  border-radius: var(--radius); padding: clamp(28px, 5vw, 56px);
  font-family: var(--serif); font-size: clamp(19px, 2.2vw, 23px); line-height: 1.5;
  font-variation-settings: "opsz" 20, "SOFT" 30;
  color: var(--ink);
}
.letter p { margin-bottom: 1em; text-wrap: pretty; }
.letter p:first-of-type { font-family: var(--sans); }
.letter .sign { font-style: italic; color: var(--grey); margin: 1.6em 0 0; font-size: .9em; }

/* FAQ */
.qa { max-width: 680px; margin: 28px auto 0; border-top: 1px solid var(--bone-3); }
.qa details { border-bottom: 1px solid var(--bone-3); }
.qa summary {
  cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative;
  font-family: var(--serif); font-size: 20px; font-variation-settings: "opsz" 24, "SOFT" 30;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  color: var(--grey); font-family: var(--sans); font-size: 22px; transition: transform .25s ease;
}
.qa details[open] summary::after { content: "–"; }
.qa details p { color: var(--ink-2); margin: -6px 0 20px; max-width: 38em; }

/* Footer */
.foot { text-align: center; padding: clamp(64px, 10vw, 128px) var(--gutter) 48px; color: var(--grey); font-size: 14px; }
.foot-mark { width: 30px; margin: 0 auto 20px; color: var(--ink); }
.foot p { margin: 0 0 6px; }
.foot a:hover { color: var(--ink); }
.foot-links { color: var(--grey); }

/* Gentle fades, only once JS is present */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .ask.reveal.in:nth-child(odd) { transform: rotate(-0.4deg); }
.js .ask.reveal.in:nth-child(even) { transform: rotate(0.35deg); }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media .hero-video { transition: none; }
}

/* Wider screens */
@media (min-width: 720px) {
  .nav { display: flex; }
  .wordmark { height: 30px; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split-text { padding-right: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .asks { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .face-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pair { gap: 18px; }
  .agent-mark { display: block; }
  .editions { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .specs dl div { grid-template-columns: 140px 1fr; }
  .agent-card { display: grid; grid-template-columns: 1fr 140px; align-items: center; }
  .agent-mark { position: static; width: 120px; justify-self: end; }
}
@media (min-width: 1024px) {
  .top { padding: 18px 32px; }
  .asks { grid-template-columns: repeat(3, 1fr); }
  .pair { grid-template-columns: repeat(4, 1fr); }
  .card-img .cap strong { font-size: 18px; }
  .asks .ask { padding: 28px 26px 24px 30px; }
  .hero { padding-top: 72px; }
}
