/* AEYA - design tokens + system. One source of truth, everything derives from here. */
:root {
  /* palette: their three colourways ARE the brand */
  --navy: #1c2740;        /* AEYA Navy - ink + primary action */
  --navy-deep: #141d31;   /* footer / dark sections */
  --cloud: #f5f2ec;       /* Cloud Dancer - the ground */
  --espresso: #4a3428;    /* Espresso - rare warm accent */
  --white: #ffffff;
  --ink: #1c2740;
  --muted: #5b6474;
  --subtle: #9aa1ae;
  --line: rgba(28, 39, 64, 0.12);
  /* type scale: 12/14/16/20/28/40/64 */
  --fs-xs: 0.75rem; --fs-s: 0.875rem; --fs-b: 1rem; --fs-m: 1.25rem;
  --fs-l: 1.75rem; --fs-xl: 2.5rem; --fs-hero: clamp(2.5rem, 6vw, 4.5rem);
  /* spacing scale: 4/8/12/16/24/32/48/72/120 */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px;
  --s7: 48px; --s8: 72px; --s9: 120px;
  --maxw: 1320px;
  --ease: cubic-bezier(.22,.6,.2,1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: var(--fs-b); line-height: 1.6; color: var(--ink);
  background: var(--cloud);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }

/* type voices */
.display {
  font-family: "Inter Tight", "Inter", sans-serif;
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.05;
  text-wrap: balance;
}
.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: var(--fs-xs); font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow--light { color: rgba(255,255,255,0.75); }

/* buttons: exactly one primary style, one quiet style */
.btn {
  display: inline-block; padding: 14px 32px;
  font-family: "IBM Plex Mono", monospace; font-size: var(--fs-s);
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--navy); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
  min-height: 48px;
}
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { border-color: var(--white); background: var(--white); color: var(--navy); }
.btn--light:hover { background: transparent; color: var(--white); }

/* header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cloud) 92%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5);
}
.header__logo img { height: 26px; width: auto; }
.nav { display: flex; gap: var(--s6); }
.nav a {
  font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs);
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink);
  padding: var(--s2) 0; border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover, .nav a[aria-current] { border-bottom-color: var(--navy); }
.header__cta { font-size: var(--fs-xs); padding: 10px 20px; min-height: 40px; }

/* hero */
.hero { position: relative; height: min(88vh, 900px); overflow: hidden; }
.hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,29,49,0.72) 0%, rgba(20,29,49,0.25) 45%, rgba(20,29,49,0.05) 70%);
}
.hero__content {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0 var(--s5) var(--s8);
  max-width: var(--maxw); margin: 0 auto; color: var(--white);
}
.hero__content .display { font-size: var(--fs-hero); color: var(--white); max-width: 14ch; }
.hero__sub { margin-top: var(--s4); font-size: var(--fs-m); color: rgba(255,255,255,0.85); max-width: 44ch; }
.hero__actions { margin-top: var(--s6); display: flex; gap: var(--s4); flex-wrap: wrap; }

/* sections */
.section { padding: var(--s9) 0; }
.section--tight { padding: var(--s8) 0; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--s6); gap: var(--s4); }
.section__head .display { font-size: var(--fs-xl); }
.section__link {
  font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs);
  letter-spacing: 0.18em; text-transform: uppercase;
  border-bottom: 1px solid var(--navy); padding-bottom: 2px; white-space: nowrap;
}

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.card { position: relative; }
.card__media { aspect-ratio: 3/4; overflow: hidden; background: #e7e3da; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--s4) 0 0; }
.card__name { font-size: var(--fs-s); font-weight: 500; }
.card__price { font-size: var(--fs-s); color: var(--muted); margin-top: var(--s1); }
.dots { display: flex; gap: var(--s2); margin-top: var(--s3); }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--line); }
.dot--navy { background: var(--navy); } .dot--cloud { background: var(--cloud); } .dot--espresso { background: var(--espresso); }

/* split editorial */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.split__panel { position: relative; aspect-ratio: 4/5; overflow: hidden; }
.split__panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.split__panel:hover img { transform: scale(1.03); }
.split__panel .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,29,49,0.6), rgba(20,29,49,0) 50%);
}
.split__label {
  position: absolute; left: var(--s5); bottom: var(--s5); color: var(--white);
  display: flex; flex-direction: column; gap: var(--s2);
}
.split__label .display { font-size: var(--fs-l); color: var(--white); }

/* story band */
.story { background: var(--navy-deep); color: var(--white); }
.story__in {
  max-width: 760px; margin: 0 auto; padding: var(--s9) var(--s5);
  text-align: center; display: flex; flex-direction: column; gap: var(--s5); align-items: center;
}
.story .display { font-size: var(--fs-xl); color: var(--white); }
.story p { color: rgba(255,255,255,0.78); font-size: var(--fs-m); line-height: 1.7; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.review {
  background: var(--white); border: 1px solid var(--line);
  padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4);
  min-height: 220px;
}
.review__stars { color: var(--navy); letter-spacing: 3px; font-size: var(--fs-s); }
.review p { font-size: var(--fs-s); color: var(--muted); line-height: 1.7; flex: 1; }
.review cite { font-style: normal; font-size: var(--fs-xs); font-family: "IBM Plex Mono", monospace; letter-spacing: 0.12em; text-transform: uppercase; color: var(--subtle); }

/* access CTA band */
.access-band { position: relative; overflow: hidden; }
.access-band > img { width: 100%; height: 560px; object-fit: cover; object-position: center 35%; }
.access-band__scrim { position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,29,49,0.82) 0%, rgba(20,29,49,0.45) 55%, rgba(20,29,49,0.15) 100%); }
.access-band__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); color: var(--white); gap: var(--s4);
}
.access-band__content .display { font-size: var(--fs-xl); color: var(--white); max-width: 18ch; }
.access-band__content p { max-width: 46ch; color: rgba(255,255,255,0.82); }

/* newsletter: THE visible email capture */
.signup { background: var(--white); border-top: 1px solid var(--line); }
.signup__in {
  max-width: 680px; margin: 0 auto; padding: var(--s8) var(--s5);
  text-align: center; display: flex; flex-direction: column; gap: var(--s4); align-items: center;
}
.signup .display { font-size: var(--fs-l); }
.signup p { color: var(--muted); max-width: 48ch; }
.signup__form { display: flex; width: 100%; max-width: 460px; margin-top: var(--s2); }
.signup__form input {
  flex: 1; padding: 14px 18px; font-size: var(--fs-b); font-family: inherit;
  border: 1px solid var(--navy); border-right: none; background: var(--white);
  min-height: 48px; outline-offset: 2px;
}
.signup__form .btn { border-left: none; }
.signup__legal { font-size: var(--fs-xs); color: var(--subtle); max-width: 40ch; }

/* footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.7); }
.footer__in {
  max-width: var(--maxw); margin: 0 auto; padding: var(--s8) var(--s5) var(--s6);
  display: flex; flex-direction: column; gap: var(--s7);
}
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s6); flex-wrap: wrap; }
.footer__logo img { height: 30px; }
.footer__cols { display: flex; gap: var(--s8); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: var(--s3); }
.footer__col h4 { font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: var(--s2); font-weight: 500; }
.footer__col a { font-size: var(--fs-s); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__base { display: flex; justify-content: space-between; gap: var(--s4); border-top: 1px solid rgba(255,255,255,0.12); padding-top: var(--s5); font-size: var(--fs-xs); color: rgba(255,255,255,0.4); flex-wrap: wrap; }

/* ============ PDP ============ */
.pdp { display: grid; grid-template-columns: 7fr 5fr; gap: var(--s7); padding: var(--s7) 0 var(--s9); }
.pdp__gallery { display: flex; flex-direction: column; gap: var(--s4); }
.pdp__img { aspect-ratio: 3/4; overflow: hidden; background: #e7e3da; }
.pdp__img img { width: 100%; height: 100%; object-fit: cover; }
.pdp__panel { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: var(--s5); }
.pdp__title { font-size: var(--fs-l); }
.pdp__price { font-size: var(--fs-m); color: var(--muted); }
.pdp__group { display: flex; flex-direction: column; gap: var(--s3); }
.pdp__label { font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.swatches { display: flex; gap: var(--s3); }
.swatch {
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line); position: relative;
  transition: transform .15s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"]::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid var(--navy);
}
.sizes { display: flex; gap: var(--s2); }
.size {
  min-width: 52px; min-height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); cursor: pointer; font-size: var(--fs-s);
  background: var(--white); transition: all .15s;
  font-family: "IBM Plex Mono", monospace;
}
.size:hover { border-color: var(--navy); }
.size[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pdp__panel .btn--solid { width: 100%; text-align: center; padding: 18px; }
.pdp__meta { display: flex; flex-direction: column; gap: var(--s2); border-top: 1px solid var(--line); padding-top: var(--s5); }
.pdp__meta li { list-style: none; font-size: var(--fs-s); color: var(--muted); display: flex; gap: var(--s3); }
.pdp__meta li::before { content: "—"; color: var(--subtle); }
.pdp__desc { color: var(--muted); font-size: var(--fs-s); line-height: 1.7; }

/* ============ ACCESS page ============ */
.access-hero { position: relative; height: 62vh; min-height: 480px; overflow: hidden; }
.access-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.access-hero .hero__scrim { background: linear-gradient(to top, rgba(20,29,49,0.78), rgba(20,29,49,0.2) 60%); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.tier { background: var(--white); border: 1px solid var(--line); padding: var(--s6); display: flex; flex-direction: column; gap: var(--s4); }
.tier__num { font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs); letter-spacing: 0.2em; color: var(--subtle); }
.tier h3 { font-size: var(--fs-m); font-weight: 600; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.tier li { font-size: var(--fs-s); color: var(--muted); display: flex; gap: var(--s3); }
.tier li::before { content: "—"; color: var(--subtle); flex: none; }
.access-form { background: var(--white); border: 1px solid var(--line); padding: var(--s7); max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s4); }
.field { display: flex; flex-direction: column; gap: var(--s2); }
.field label { font-family: "IBM Plex Mono", monospace; font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input { padding: 13px 16px; font-size: var(--fs-b); font-family: inherit; border: 1px solid var(--line); min-height: 48px; width: 100%; }
.field input:focus { border-color: var(--navy); outline: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.access-form .btn { width: 100%; text-align: center; }
.access-form__legal { font-size: var(--fs-xs); color: var(--subtle); }

/* demo ribbon */
.ribbon {
  background: var(--espresso); color: var(--white); text-align: center;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 7px var(--s4);
}

/* responsive */
@media (max-width: 960px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .pdp { grid-template-columns: 1fr; }
  .pdp__panel { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .nav { display: none; }
  .split { grid-template-columns: 1fr; }
  .section { padding: var(--s8) 0; }
  .access-band > img { height: 480px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr 1fr; gap: var(--s3); }
  .field-row { grid-template-columns: 1fr; }
  .hero__content .display { font-size: 2.25rem; }
}
