:root {
  --paper: #F3ECE3;
  --paper-raised: #FBF7F2;
  --ink: #2A1F1B;
  --ink-soft: #4A3D36;
  --ink-muted: #5E5048;
  --ink-faint: #6B5D54;
  --line: #D9CCBE;
  --field-line: #BFAE9F;
  --accent: #6E2B2B;
  --error: #9B2C2C;
  --frame: #E4D8CA;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

[hidden] { display: none !important; }

.page {
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px 48px;
  display: flex;
  flex-direction: column;
}

/* Header */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.02em;
}

.social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-link {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.divider {
  width: 1px;
  height: 16px;
  margin: 0 16px;
  background: var(--line);
}

.site-link {
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 96px;
  align-items: center;
  padding: 56px 0;
}

.intro {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 520px;
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.rule {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--accent);
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(60px, 7.2vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.015em;
}

h1 em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--ink-soft);
}

/* Form */

.waitlist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.optional {
  text-transform: none;
  letter-spacing: 0;
}

input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--field-line);
  border-radius: 2px;
  background: var(--paper-raised);
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
}

input::placeholder { color: #8C7D72; }

input[aria-invalid="true"] { border-color: var(--error); }

.error {
  margin: 0;
  font-size: 14px;
  color: var(--error);
}

.submit {
  height: 56px;
  border: 0;
  border-radius: 2px;
  background: var(--accent);
  color: var(--paper-raised);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
}

.submit:hover { filter: brightness(1.12); }
.submit:disabled { cursor: progress; opacity: 0.8; }

.fine-print {
  margin: 0;
  font-size: 13px;
  color: var(--ink-faint);
}

.thanks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
}

.thanks:focus { outline: none; }

.thanks-title {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 1.1;
  color: var(--accent);
}

.thanks-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.thanks-body strong {
  font-weight: 500;
  color: var(--ink);
  overflow-wrap: anywhere;
}

/* Look book preview */

.looks {
  position: relative;
  width: 100%;
  max-width: 592px;
  aspect-ratio: 592 / 700;
}

.look {
  position: absolute;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.look-1 { left: 6.8%; top: 0; width: 57.4%; }
.look-2 { left: 50.7%; top: 25.7%; width: 46%; }

/* Stop Look 01's caption where Look 02 overlaps it, so its page number stays visible. */
.look-1 figcaption { width: 72%; }

.frame {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: 50% 70%;
  display: block;
  background: var(--frame);
}

.look-1 .frame { aspect-ratio: 340 / 460; }
.look-2 .frame { aspect-ratio: 272 / 360; box-shadow: 0 24px 48px -24px rgba(42, 31, 27, 0.35); }

figcaption {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.looks-tag {
  position: absolute;
  left: 6.8%;
  bottom: 3.4%;
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  color: var(--accent);
}

/* Footer */

.foot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-faint);
}

/* Tablet */

@media (max-width: 1100px) {
  .page { padding: 32px 40px 40px; }
  .hero { gap: 56px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
}

/* Phone */

@media (max-width: 760px) {
  .page { padding: 0; }

  .bar {
    height: 64px;
    padding: 0 12px 0 24px;
  }

  .wordmark { font-size: 22px; }
  .social { gap: 4px; }
  .divider, .site-link { display: none; }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    align-items: start;
  }

  .looks {
    order: -1;
    max-width: none;
    aspect-ratio: auto;
    padding: 24px 24px 0;
  }

  .look-1 {
    position: static;
    width: 100%;
    gap: 10px;
  }

  .look-1 .frame { aspect-ratio: 4 / 5; }
  .look-1 figcaption { width: 100%; }
  .look-2, .looks-tag { display: none; }
  figcaption { font-size: 11px; }

  .intro {
    max-width: none;
    gap: 20px;
    padding: 32px 24px;
  }

  .eyebrow { gap: 12px; font-size: 12px; letter-spacing: 0.2em; }
  .rule { width: 28px; }
  h1 { font-size: 60px; line-height: 0.95; letter-spacing: -0.01em; }
  .lede { font-size: 16px; line-height: 1.6; }
  .waitlist { gap: 14px; margin-top: 4px; }
  .fine-print { text-align: center; }
  .thanks { padding: 24px; gap: 10px; margin-top: 4px; }
  .thanks-title { font-size: 34px; }
  .thanks-body { font-size: 15px; }

  .foot {
    padding: 20px 24px;
    font-size: 12px;
  }
}
