/* ── Gee Clarke — pre-reveal landing page ──────────────────────────────
   Palette, type and rhythm carried from the design canvas mockup.
   ------------------------------------------------------------------ */

:root {
  --bone:        #E9E0CE;
  --ink:         #1E2320;
  --rule:        #C9BFA9;
  --claret:      #A63D4E;
  --claret-deep: #9C3949;  /* the fill, 6% darker */

  --ink-mute:  rgba(30, 35, 32, 0.55);
  --bone-mute: rgba(233, 224, 206, 0.60);
  --bone-rule: rgba(233, 224, 206, 0.26);

  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --pad:  72px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* The two scrolling screens ride above the fixed wordmark. */
.stack { position: relative; z-index: 2; }

.screen {
  box-sizing: border-box;
  padding: var(--pad);
}

/* ── Shared type ──────────────────────────────────────────────────── */

.eyebrow {
  display: block;
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rule {
  height: 1px;
  background: var(--rule);
  margin: 14px 0;
}

/* ── Entrance ─────────────────────────────────────────────────────── */

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

.rise { animation: rise 400ms var(--ease) both; }
.rise--1 { animation-delay: 120ms; }
.rise--2 { animation-delay: 160ms; }
.rise--3 { animation-delay: 220ms; }
.rise--4 { animation-delay: 280ms; }
.rise--5 { animation-delay: 340ms; }

/* ── 01 The offers ────────────────────────────────────────────────── */

.screen--work {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--bone);
  color: var(--ink);
  display: flex;
  flex-direction: column;
}

.work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.work__meta {
  text-align: right;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  line-height: 2;
  text-transform: uppercase;
}

.work__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px 0;
}

.work__series {
  margin: 0 0 40px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.offers {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer { --indent: 60px; }

.offer__heading { margin: 0; font-weight: inherit; }

.offer__trigger {
  display: flex;
  align-items: baseline;
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}

.offer__num {
  flex: none;
  width: var(--indent);
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  white-space: nowrap;
}

/* The rule beside the number appears only while the panel is open. */
.offer__dash {
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--ink-mute);
  vertical-align: baseline;
  margin-left: 0;
  transition: width 320ms var(--ease), margin-left 320ms var(--ease);
}

.offer__trigger[aria-expanded="true"] .offer__dash {
  width: 24px;
  margin-left: 10px;
}

.offer__word {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.offer__trigger:hover .offer__word,
.offer__trigger:focus-visible .offer__word { color: var(--ink-mute); }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

/* Panels are open by default so the copy is readable without scripting;
   the .js flag collapses them before first paint. */
.offer__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 320ms var(--ease);
}

.js .offer__panel { grid-template-rows: 0fr; }
.js .offer.is-open .offer__panel { grid-template-rows: 1fr; }

.offer__clip {
  overflow: hidden;
  min-height: 0;
}

.offer__inner {
  padding: 28px 0 36px;
  margin-left: var(--indent);
  opacity: 1;
  transition: opacity 200ms ease 0ms;
}

.js .offer__inner { opacity: 0; }

.js .offer.is-open .offer__inner {
  opacity: 1;
  transition-delay: 120ms;
}

.rule--panel { max-width: 62ch; margin: 0; }

.offer__inner p {
  margin: 20px 0 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
  max-width: 62ch;
}

.offer__closing {
  font-style: italic;
  margin-top: 28px !important;
}

.offer__join {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.offer__join:hover { color: var(--ink-mute); }

/* ── 02 The list ──────────────────────────────────────────────────── */

.screen--list {
  min-height: max(100vh, 720px);
  background: var(--ink);
  color: var(--bone);
  --rule: var(--bone-rule);
}

.list__reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
}

.list__reveal.is-in {
  opacity: 1;
  transform: none;
}

.list__grid {
  display: grid;
  grid-template-columns: 48fr 52fr;
  gap: 80px;
  margin-top: 72px;
}

.list__line {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  max-width: 44ch;
}

.list__line--indent { margin: 24px 0 0 60px; }

/* Object photograph ------------------------------------------------- */

/* No frame, no fill, no caption — the photograph or nothing. It fades in
   once with its screen and never moves again. main.js removes it outright
   if the file is not there. */
.object {
  display: block;
  width: 280px;
  height: 280px;
  margin: 56px 0 0;
  object-fit: cover;
}

.social {
  margin-top: 40px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.social__slash { color: var(--bone-mute); }
.social a { text-decoration: none; }
.social a:hover { color: var(--bone-mute); }

/* Form -------------------------------------------------------------- */

.ml-sink { display: none; }

.join { margin: 0; }

/* Offset rather than display:none — some bots skip hidden fields and fill
   positioned ones. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.join__fields {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

fieldset.field, .field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend.field__label {
  padding: 0;
  border: 0;
}

.field__label {
  display: block;
  padding: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--bone-rule);
  border-radius: 0;
  color: var(--bone);
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 0 12px;
  transition: border-color 200ms ease;
}

.field__input:focus {
  outline: none;
  border-bottom-color: var(--bone);
}

.field__input[aria-invalid="true"] { border-bottom-color: var(--claret); }

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 18px 0 16px;
  border-bottom: 1px solid var(--bone-rule);
}

.check {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.check__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check__box {
  display: inline-block;
  flex: none;
  width: 10px;
  height: 10px;
  border: 1px solid var(--bone-rule);
  background: transparent;
  transition: background-color 160ms ease;
}

.check__input:checked + .check__box { background: var(--bone); }
.check__input:focus-visible + .check__box {
  outline: 1px solid var(--bone);
  outline-offset: 3px;
}

.join__submit {
  display: block;
  width: 240px;
  max-width: 100%;
  margin-top: 48px;
  background: var(--claret);
  color: var(--bone);
  border: 0;
  border-radius: 0;
  padding: 16px 0;
  cursor: pointer;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background-color 200ms ease;
}

.join__submit:hover { background: var(--claret-deep); }

.join__fine {
  margin: 20px 0 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 13px;
  line-height: 22px;
  color: var(--bone-mute);
}

/* Same left edge and same type as the form it replaces. */
.join__state {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 30px;
  color: var(--bone);
}

/* A rejected address keeps the form, so the message sits below it. */
.join:not([hidden]) + .join__state { margin-top: 24px; }

/* ── 03 The wordmark ──────────────────────────────────────────────── */

.reveal-spacer { height: max(100vh, 620px); }

.wordmark {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  height: max(100vh, 620px);
  box-sizing: border-box;
  background: var(--bone);
  color: var(--ink);
  padding: var(--pad) var(--pad) 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wordmark__line {
  margin: 28px 0 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 26px;
  max-width: 36ch;
}

.wordmark__links {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 72px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 40px;
}

.wordmark__links a { text-decoration: none; }
.wordmark__links a:hover { color: var(--ink-mute); }

.wordmark__place {
  margin-left: auto;
  color: var(--ink-mute);
}

.wordmark__mark {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(150px, 25vw, 360px);
  line-height: 0.85;
  white-space: nowrap;
  transform: translateY(16%);
  letter-spacing: -0.02em;
}

/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  :root { --pad: 48px; }
  .list__grid { gap: 56px; }
  .wordmark__links { gap: 40px; }
}

@media (max-width: 860px) {
  .list__grid {
    grid-template-columns: 1fr;
    gap: 64px;
    margin-top: 56px;
  }
  .offer { --indent: 40px !important; }
  .offer__word { font-size: clamp(48px, 11vw, 84px); }
}

@media (max-width: 720px) {
  .object { width: 200px; height: 200px; }
}

@media (max-width: 620px) {
  :root { --pad: 24px; }

  .work__head {
    flex-direction: column;
    gap: 20px;
  }
  .work__meta { text-align: left; }

  .work__body { padding: 40px 0; }

  .offer { --indent: 0px !important; }
  .offer__trigger {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .offer__num { width: auto; }
  .offer__word { font-size: clamp(40px, 13vw, 64px); }
  .offer__inner { margin-left: 0; }

  .list__line--indent { margin-left: 0; }

  .join__fields { gap: 32px; }
  .checks { gap: 16px 24px; }
  .join__submit { width: 100%; }

  .wordmark__links {
    gap: 20px 28px;
    padding-bottom: 28px;
  }
  .wordmark__place {
    margin-left: 0;
    width: 100%;
  }
  .wordmark__mark { transform: translateY(10%); }
}

/* ── Motion preferences ───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .list__reveal { opacity: 1; transform: none; }
}

/* ── The privacy page ─────────────────────────────────────────────── */

.doc {
  box-sizing: border-box;
  min-height: 100vh;
  padding: var(--pad);
  background: var(--bone);
  color: var(--ink);
}

.doc__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}

.doc__head .eyebrow { text-decoration: none; }
.doc__head a:hover { color: var(--ink-mute); }
.doc__tag { color: var(--ink-mute); }

.doc__title {
  margin: 96px 0 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.92;
  text-transform: uppercase;
}

.doc__lede {
  margin: 40px 0 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 15px;
  line-height: 28px;
  max-width: 62ch;
}

.doc__section {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  max-width: 62ch;
}

.doc__heading {
  margin: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.doc__section p {
  margin: 20px 0 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 15px;
  line-height: 28px;
}

.doc__link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.doc__link:hover { border-bottom-color: var(--ink); }

.doc__updated {
  margin: 72px 0 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.doc__foot {
  margin-top: 96px;
  font-family: var(--body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.doc__foot a { text-decoration: none; }
.doc__foot a:hover { color: var(--ink-mute); }

@media (max-width: 620px) {
  .doc__title { margin-top: 64px; font-size: clamp(44px, 13vw, 64px); }
  .doc__section { margin-top: 40px; }
}
