/* ============================================================
   ORA — landing page
   Palette + type system from Ora Brand Book V01
   ============================================================ */

:root {
  --bone:  #F2EDE4;
  --paper: #EAE3D5;
  --ink:   #111111;
  --clay:  #B86B3C;
  --clay-dark: #9d572d;
  --sage:  #7B8B72;
  --ochre: #C99046;

  --ink-70: rgba(17, 17, 17, 0.70);
  --ink-55: rgba(17, 17, 17, 0.55);
  --ink-40: rgba(17, 17, 17, 0.40);
  --bone-70: rgba(242, 237, 228, 0.72);
  --bone-45: rgba(242, 237, 228, 0.45);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --font-body: 'Poppins', system-ui, sans-serif;
  --font-mark: 'Quicksand', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bone);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- shared atoms ---------- */
.micro {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.eyebrow { margin-bottom: 22px; }
.eyebrow--center { text-align: center; }
.eyebrow--bone { color: var(--bone-70); }

.accent-clay { color: var(--clay); }
.accent-sage { color: var(--sage); }

.section-title {
  font-weight: 600;
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 16ch;
  margin: 0 auto;
}

/* brand mark */
.brand { display: inline-flex; flex-direction: column; gap: 2px; text-decoration: none; }
.brand__mark {
  font-family: var(--font-mark);
  font-weight: 600;
  font-size: 1.85rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
.brand__mark--bone { color: var(--bone); }
.brand__tag { color: var(--ink-40); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 100px;
  padding: 15px 28px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, opacity 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--clay { background: var(--clay); color: var(--bone); }
.btn--clay:hover { background: var(--clay-dark); }
.btn--bone { background: var(--bone); color: var(--ink); }
.btn--bone:hover { opacity: 0.9; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-40);
}
.btn--ghost:hover { border-color: var(--ink); background: rgba(17,17,17,0.04); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px var(--gutter);
  background: rgba(242, 237, 228, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.07);
}
.nav__links { display: flex; align-items: center; gap: clamp(16px, 3vw, 38px); }
.nav__links a {
  text-decoration: none;
  color: var(--ink-70);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.btn--clay { color: var(--bone); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: calc(100svh - 70px);
}
.hero__media { position: relative; overflow: hidden; background: var(--paper); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 6vw, 84px) var(--gutter);
  max-width: 660px;
}
.hero__title {
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero__lede {
  font-size: 1.05rem;
  color: var(--ink-70);
  max-width: 46ch;
  margin-bottom: 18px;
}
.hero__launch { margin-bottom: 30px; color: var(--clay); }

/* ---------- club signup box ---------- */
.club {
  background: var(--paper);
  border: 1px solid rgba(17,17,17,0.08);
  border-radius: 18px;
  padding: 24px;
  margin-bottom: 22px;
}
.club__headline { font-weight: 600; font-size: 1.05rem; margin-bottom: 6px; }
.club__sub { font-size: 0.85rem; color: var(--ink-55); margin-bottom: 18px; max-width: 50ch; }
.club__row { display: flex; gap: 10px; }
.club__input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid rgba(17,17,17,0.15);
  border-radius: 100px;
  background: var(--bone);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease;
}
.club__input:focus { border-color: var(--clay); }
.club__input::placeholder { color: var(--ink-40); }
.club__status { font-size: 0.85rem; margin-top: 12px; min-height: 1.1em; }
.club__status.is-ok { color: var(--sage); font-weight: 600; }
.club__status.is-err { color: var(--clay); }

.btn--explore { align-self: flex-start; }

/* ============================================================
   OUR FABRICS  (dark / ink)
   ============================================================ */
.fabrics { background: var(--ink); color: var(--bone); padding: clamp(70px, 9vw, 130px) var(--gutter); }
.fabrics__inner { max-width: var(--maxw); margin: 0 auto; }
.fabrics .eyebrow { color: var(--ochre); }
.fabrics .section-title { color: var(--bone); margin-bottom: 56px; max-width: 22ch; }

.compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
  max-width: 940px;
  margin: 0 auto;
}
.compare__vs {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-45);
  padding: 0 22px;
}

.label {
  border: 1px solid rgba(242,237,228,0.16);
  border-radius: 18px;
  padding: 32px 30px;
}
.label__tag { margin-bottom: 20px; }
.label--them { background: transparent; color: var(--bone-70); }
.label--them .label__tag { color: var(--bone-45); }
.label--ora {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--bone);
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
.label--ora .label__tag { color: var(--bone); }

.label__spec {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.label__spec span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0;
  margin-top: 6px;
  opacity: 0.85;
}
.label__source {
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(242,237,228,0.18);
}
.label--them .label__source { color: var(--ochre); }
.label__list { list-style: none; display: grid; gap: 11px; }
.label__list li { position: relative; padding-left: 22px; font-size: 0.92rem; }
.label__list li::before {
  position: absolute; left: 0; top: 0;
  font-weight: 700;
}
.label--them .label__list li::before { content: "✕"; color: var(--ochre); font-size: 0.8rem; top: 1px; }
.label--ora .label__list li::before { content: "✓"; color: var(--bone); }

.fabrics__note {
  max-width: 70ch;
  margin: 52px auto 0;
  text-align: center;
  font-size: 0.98rem;
  color: var(--bone-70);
}

/* ============================================================
   COLLECTION
   ============================================================ */
.collection { padding: clamp(70px, 9vw, 130px) var(--gutter); max-width: var(--maxw); margin: 0 auto; }
.collection .section-title { margin-bottom: 64px; }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: start;
}
.card { display: flex; flex-direction: column; gap: 22px; }
.card--raised { margin-top: clamp(0px, 6vw, 70px); }
.card__media {
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  aspect-ratio: 4 / 5;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card figcaption h3 { font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 6px; }
.card figcaption p { font-size: 0.92rem; color: var(--ink-55); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta { background: var(--clay); color: var(--bone); padding: clamp(64px, 8vw, 110px) var(--gutter); }
.cta__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.cta .eyebrow { color: var(--bone-70); }
.cta__title {
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}
.club--cta { background: transparent; border: none; padding: 0; margin: 0; }
.club--cta .club__row { max-width: 480px; margin: 0 auto; }
.club--cta .club__input { background: var(--bone); border-color: transparent; }
.club--cta .club__status.is-ok { color: var(--bone); }
.club--cta .club__status.is-err { color: var(--ink); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  padding: 56px var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer__brand { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.footer__brand .micro { color: var(--bone-45); }
.footer__meta { color: var(--bone-45); }
.footer__copy { font-size: 0.85rem; color: var(--bone-70); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { aspect-ratio: 4 / 5; max-height: 70svh; }
  .hero__content { max-width: none; }

  .compare { grid-template-columns: 1fr; gap: 14px; max-width: 460px; }
  .compare__vs { padding: 4px 0; }

  .grid { grid-template-columns: 1fr; gap: 36px; max-width: 460px; margin: 0 auto; }
  .card--raised { margin-top: 0; }
  /* keep natural reading order on mobile: image then caption */
  .card--above { flex-direction: column-reverse; }
}

@media (max-width: 560px) {
  .nav__links { gap: 14px; }
  .nav__links a:not(.btn) { display: none; }
  .club__row { flex-direction: column; }
  .club__input, .club .btn { width: 100%; }
  .btn--explore { align-self: stretch; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .card:hover .card__media img { transform: none; }
}
