/* Caysal · site styles. Mobile-first; breakpoints at 40em, 48em, 56.25em (900px) and 75em. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-300.woff2?v=719eedba4e") format("woff2");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-300-italic.woff2?v=1b2b00c0d7") format("woff2");
  font-weight: 300; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-500.woff2?v=991c8aba77") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-var.woff2?v=cea3bdd344") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --bone: #EFE8DC;
  --bone-soft: #F5F0E7;
  --sand: #E3D6C2;
  --ink: #1C2836;
  --ink-soft: #46505C;
  --navy: #34506B;
  --navy-deep: #22364A;
  --havana: #5B3B2A;
  --brass: #A88A55;
  --brass-text: #6E552C;
  --brass-light: #D9BE8C;
  --line: #857A69;
  --error: #8E2F1F;
  --error-light: #F2B8A8;

  /* Section grounds */
  --color-ivory: var(--bone);
  --color-sand: var(--sand);
  --color-midnight: #13202F;
  --on-dark-muted: #CFC7BA;      /* secondary text on midnight */

  --serif: "Cormorant Garamond", "Iowan Old Style", Garamond, Georgia, serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.25rem, 0.8rem + 2.2vw, 3rem);
  --section: clamp(4rem, 2.5rem + 4.5vw, 6.5rem);
  --content: 72rem;
  --inline: max(var(--gutter), (100% - var(--content)) / 2);
  --measure: 34rem;
  --ease: cubic-bezier(.2, .6, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
h1, h2, h3, h4, p, figure, ul, dl { margin: 0; }
ul[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--brass); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
.dial :focus-visible, .founding-list :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-light); }

.skip-link {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 10;
  padding: .6rem 1rem; background: var(--color-midnight); color: var(--bone);
  font-size: .875rem; text-decoration: none;
}
.skip-link:focus { top: .75rem; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.eyebrow, .scene-time, .header-cta, label, legend, .fine-print, .concept-tag, .specs-title {
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: var(--brass-text); margin-bottom: 1.25rem; }
.lede { max-width: var(--measure); color: var(--ink-soft); margin-top: 1.25rem; text-wrap: pretty; }
h2.display { font-size: clamp(2.25rem, 1.6rem + 2.4vw, 3.5rem); }

/* ---------- Header: wordmark + Join the List ---------- */
.site-header {
  display: flex; justify-content: space-between; align-items: center;
  height: 3.5rem;
  padding: 0 var(--gutter);
  background: var(--color-ivory);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: .34em;
  text-decoration: none;
  line-height: 1;
}
.header-cta {
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: 0 1.1rem;
  border-radius: 999px;
  background: var(--color-midnight);
  color: var(--bone);
  font-size: .6875rem; letter-spacing: .14em;
  text-decoration: none;
  transition: background-color .3s var(--ease);
}
.header-cta:hover { background: var(--navy-deep); }

/* ---------- Image wrapper + "Concept" tag ---------- */
.media { position: relative; overflow: hidden; background: var(--sand); }
.media picture { height: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.concept-tag {
  position: absolute; right: .75rem; bottom: .75rem; z-index: 2;
  padding: .35rem .6rem;
  border: 1px solid rgba(239, 232, 220, .6);
  background: rgba(19, 32, 47, .78);
  color: var(--bone);
  font-size: .625rem; letter-spacing: .2em; line-height: 1;
  pointer-events: none;
}
.media:not([data-concept="true"]) > .concept-tag { display: none; }

/* ---------- 1. Hero (ivory) ---------- */
.hero { position: relative; background: var(--color-ivory); }
.hero-media {
  /* ~60vh, but shrinks on short phones so the signup stays on the first screen */
  height: max(15rem, min(60svh, calc(100svh - 3.5rem - 21rem)));
}
.hero-media img { object-position: 60% 50%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(239, 232, 220, 0) 50%, rgba(239, 232, 220, .9) 84%, var(--color-ivory) 94%);
}
.hero-media .concept-tag { bottom: 18%; }
.hero-copy { position: relative; z-index: 2; margin-top: -1.25rem; padding: 0 var(--gutter) 3rem; }
.hero-eyebrow { margin-bottom: .6rem; font-size: .6875rem; letter-spacing: .16em; }
.hero h1 { font-size: clamp(2.125rem, 1.4rem + 3.4vw, 4.25rem); }
.hero-sub { margin-top: .75rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; max-width: 26rem; }

@media (min-width: 56.25em) {
  .site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 5; height: 5.5rem; padding: 0 clamp(2.5rem, 5vw, 5rem); background: transparent; }
  .wordmark { font-size: 1.625rem; }
  .header-cta { font-size: .75rem; padding: 0 1.4rem; }

  .hero { display: flex; align-items: center; min-height: min(100svh, 54rem); }
  .hero-media { position: absolute; inset: 0; height: auto; }
  .hero-media img { object-position: 100% 50%; }          /* anchored right: the watch stays in the right half */
  .hero-media::after { background: linear-gradient(90deg, var(--color-ivory) 0%, var(--color-ivory) 38%, rgba(239, 232, 220, 0) 60%); }
  .hero-media .concept-tag { right: 1.25rem; bottom: 1.25rem; }
  .hero-copy {
    width: 40%; min-width: 24rem;
    margin: 0;
    padding: 7rem 2rem 4rem clamp(2.5rem, 5vw, 5rem);
  }
  .hero-eyebrow { margin-bottom: 1.25rem; font-size: .75rem; }
  .hero-sub { font-size: 1.0625rem; margin-top: 1.25rem; }
  .hero .list-form { margin-top: 2rem; }
}

/* ---------- Form ---------- */
.list-form { margin-top: 1.25rem; max-width: 32rem; }
.field { display: grid; gap: .4rem; }
label, legend { color: var(--ink-soft); }
input[type="email"] {
  width: 100%;
  min-height: 3.125rem;
  padding: .75rem 1rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--bone-soft);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  appearance: none;
}
input[type="email"]:focus-visible { outline-offset: 0; border-color: var(--navy); }
input[aria-invalid="true"] { border-color: var(--error); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%;
  min-height: 3.125rem;
  margin-top: .75rem;
  padding: .8rem 1.75rem;
  border: 1px solid var(--color-midnight);
  border-radius: 0;
  background: var(--color-midnight);
  color: var(--bone);
  font-family: var(--sans);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.button:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.button[disabled] { cursor: progress; opacity: .7; }
.button--light { background: var(--bone); border-color: var(--bone); color: var(--color-midnight); }
.button--light:hover { background: var(--sand); border-color: var(--sand); }

/* Email + button side by side wherever the column is wide enough. */
@media (min-width: 40em) and (max-width: 56.24em), (min-width: 75em) {
  .list-form[data-form="hero"] { display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; align-items: end; }
  .list-form[data-form="hero"] > :not(.field):not(.button) { grid-column: 1 / -1; }
  .list-form[data-form="hero"] .button { width: auto; margin-top: 0; }
}

.form-status:empty { display: none; }
.form-status { margin-top: .9rem; font-size: .9375rem; }
.form-status.is-error { color: var(--error); }
.form-status.is-success {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: 1.625rem; line-height: 1.25; color: inherit;
}
.form-status.is-success small {
  display: block; margin-top: .4rem;
  font-family: var(--sans); font-style: normal; font-size: .9375rem; line-height: 1.5;
}
.list-form.is-done > :not(.form-status) { display: none; }
.list-form.is-done .form-status { margin-top: 0; }

.fine-print { margin-top: .9rem; color: var(--ink-soft); font-size: .6875rem; letter-spacing: .14em; }
.fine-print a { text-decoration-color: var(--line); }

.turnstile-slot:empty { display: none; }
.turnstile-slot { margin-top: .75rem; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.choice { margin: 1.25rem 0 0; padding: 0; border: 0; }
.choice legend { padding: 0; margin-bottom: .75rem; }
.optional { margin-left: .5em; opacity: .8; letter-spacing: .12em; }
.choice-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice-options label {
  position: relative;
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 2.75rem;
  padding: .55rem 1.1rem .55rem .9rem;
  border: 1px solid currentColor;
  font-size: .75rem;
  color: inherit;
  cursor: pointer;
}
.choice-options input { margin: 0; accent-color: var(--brass-light); width: 1rem; height: 1rem; }

/* ---------- 2. The idea (sand) ---------- */
.idea { background: var(--color-sand); padding: var(--section) var(--gutter); }
.idea-intro { max-width: 40rem; margin: 0 auto; text-align: center; }
.idea-intro .lede { margin-inline: auto; }
.scenes {
  display: grid; gap: 2rem;
  max-width: 84rem; margin: clamp(2.5rem, 1.5rem + 3vw, 3.5rem) auto 0;
}
.scene .media { aspect-ratio: 6 / 5; }
.scene figcaption { margin-top: .9rem; }
.scene-time { color: var(--brass-text); }
@media (min-width: 48em) {
  .scenes { grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* ---------- 3. The kit (ivory) ---------- */
.kit { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3rem); background: var(--color-ivory); padding: var(--section) var(--gutter); }
.kit-copy { order: -1; max-width: 40rem; margin: 0 auto; text-align: center; }
.kit-copy .lede { margin-inline: auto; }
.kit-media { width: 100%; max-width: 46rem; margin: 0 auto; aspect-ratio: 3 / 2; }

/* ---------- 4. Dial + Founding Edition (midnight) ---------- */
.dial { background: var(--color-midnight); color: var(--bone); }
.dial .eyebrow { color: var(--brass-light); }
.dial .lede { color: var(--on-dark-muted); }
.dial-media { aspect-ratio: 4 / 3; background: var(--navy-deep); }
.dial-media img { object-position: 35% 50%; }
.dial-copy { padding: 2rem var(--gutter) 0; }
.dial-copy .lede { font-family: var(--serif); font-size: clamp(1.375rem, 1.2rem + .8vw, 1.875rem); line-height: 1.3; margin-top: .75rem; }
@media (min-width: 56.25em) {
  .dial-feature { position: relative; }
  .dial-media { aspect-ratio: 12 / 5; min-height: 26rem; }
  .dial-media::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(19, 32, 47, 0) 45%, rgba(19, 32, 47, .88) 68%, var(--color-midnight) 100%);
  }
  .dial-copy {
    position: absolute; z-index: 2; top: 0; bottom: 0; right: clamp(2.5rem, 5vw, 5rem);
    width: min(30%, 24rem); padding: 0;
    display: flex; flex-direction: column; justify-content: center;
  }
}

.edition {
  display: grid; gap: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding: var(--section) var(--inline);
}
.edition-title { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.edition-count {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.5rem;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
  letter-spacing: .06em;
  color: var(--brass-light);
}
.edition-rule { display: inline-block; width: 3.5rem; height: 1px; background: var(--brass); }
.dials { margin-top: 2rem; display: grid; gap: 1rem; }
.dials li { display: grid; gap: .15rem; }
.dial-name { font-family: var(--serif); font-size: 1.625rem; line-height: 1.2; color: var(--bone); }
.dials li > span:last-child { color: var(--on-dark-muted); }

.specs { border-top: 1px solid var(--brass); padding-top: 1.25rem; max-width: 34rem; }
.specs-title { color: var(--brass-light); }
.specs dl { margin-top: .75rem; }
.specs dl > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(239, 232, 220, .16);
  font-size: .9375rem; line-height: 1.5;
}
.specs dt { color: var(--on-dark-muted); }
.specs dd { margin: 0; color: var(--bone); }
@media (min-width: 56.25em) {
  .edition { grid-template-columns: minmax(0, 1fr) minmax(0, 28rem); column-gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

/* ---------- 5. Founder's note (sand) ---------- */
.founder { background: var(--color-sand); padding: var(--section) var(--gutter); }
.founder-inner { max-width: 38rem; margin: 0 auto; }
.founder-body p {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); line-height: 1.5;
}
.founder-body p + p { margin-top: 1rem; }
.founder-sign {
  display: flex; align-items: center; gap: .9rem;
  margin-top: 2rem;
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink);
}
.founder-sign::before { content: ""; width: 2.5rem; height: 1px; background: var(--brass); }

/* ---------- 6. Closing Founding List signup (midnight over an evening image) ---------- */
.founding-list {
  position: relative; isolation: isolate;
  background: var(--color-midnight); color: var(--bone);
  padding: var(--section) var(--gutter);
}
.closing-media { position: absolute; inset: 0; z-index: -1; background: var(--color-midnight); }
.closing-media::after { content: ""; position: absolute; inset: 0; background: rgba(19, 32, 47, .35); }
.list-inner {
  max-width: 40rem; margin: 0 auto;
  padding: clamp(1.75rem, 1rem + 3vw, 3rem);
  background: rgba(19, 32, 47, .86);           /* dark panel keeps text legible over any photo */
  text-align: center;
}
.founding-list .eyebrow { color: var(--brass-light); }
.founding-list .lede { margin-inline: auto; }
.founding-list .lede, .founding-list label, .founding-list legend, .founding-list .fine-print { color: var(--on-dark-muted); }
.founding-list .fine-print a { text-decoration-color: currentColor; }
.founding-list .list-form { margin: 1.75rem auto 0; text-align: left; }
.founding-list input[type="email"] { background: transparent; border-color: #9AA6B2; color: var(--bone); }
.founding-list input[type="email"]:focus-visible { border-color: var(--brass-light); }
.founding-list .form-status.is-error { color: var(--error-light); }
.founding-list .form-status.is-success { text-align: center; }
.founding-list .fine-print { text-align: center; }
.founding-list .choice-options { justify-content: flex-start; }
.founding-list .button { width: 100%; margin-top: 1.25rem; }
@media (min-width: 40em) {
  .list-form--full { display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; align-items: end; }
  .list-form--full > * { grid-column: 1 / -1; }
  .list-form--full > .field { grid-column: 1; grid-row: 1; }
  .list-form--full > .button { grid-column: 2; grid-row: 1; width: auto; margin-top: 0; }
  .founding-list .button { width: auto; margin-top: 0; }
}

.nojs-result { display: none; margin-top: 2rem; }
.nojs-result .display { font-size: 2rem; font-style: italic; }
.nojs-result:target { display: block; }
.list-inner:has(#joined:target) form { display: none; }

/* ---------- 7. Footer (midnight) ---------- */
.site-footer {
  background: var(--color-midnight);
  color: var(--bone);
  border-top: 1px solid rgba(239, 232, 220, .12);
  padding: 3.5rem var(--gutter) 2.5rem;
  display: grid; gap: 1.5rem;
  font-size: .9375rem;
}
.wordmark--small { font-size: 1.125rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 2rem; }
.footer-links a { display: inline-block; padding: .35rem 0; }
.copyright, .footer-note { color: var(--on-dark-muted); font-size: .8125rem; }
@media (min-width: 48em) {
  .site-footer { grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem 3rem; }
  .footer-links { justify-content: center; }
  .footer-note { grid-column: 1 / -1; }
}

/* ---------- Simple pages (privacy, terms, 404) ---------- */
.page-header { display: flex; justify-content: center; align-items: center; height: 5rem; }
.prose { max-width: 40rem; margin: 0 auto; padding: 3rem var(--gutter) var(--section); }
.prose h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.prose h2 { margin-top: 3rem; font-family: var(--serif); font-weight: 500; font-size: 1.625rem; line-height: 1.2; }
.prose p, .prose ul { margin-top: 1rem; }
.prose ul { padding-left: 1.25rem; }
.prose li + li { margin-top: .4rem; }
.prose .updated { margin-top: 1rem; color: var(--ink-soft); font-size: .9375rem; }

.lost { min-height: calc(100svh - 5rem); display: grid; place-content: center; text-align: center; padding: 2rem var(--gutter) 6rem; }
.lost h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); }
.lost p { margin-top: 1.25rem; color: var(--ink-soft); }
.lost .button { width: auto; margin-top: 2.5rem; text-decoration: none; }

/* ---------- Motion: fades between 300 and 600ms, none under reduced motion ---------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
