/* ============================================================
   AFRO FASHION HOUSE, light editorial system

   paper    #FBF8F2   fashion paper stock, primary ground
   paper-2  #F2ECE0   warm panel, alternating sections
   paper-3  #EFE9DD   neutral tone behind an image while it loads
   ink      #16203C   indigo, all type and rules
   gold     #A8823C   antique aso-oke thread
   gold-lt  #C9A365   lighter thread
   oxblood  #6A1F2A   used sparingly

   Bodoni Moda (display) + Jost (body / UI)
   ============================================================ */

:root {
  --paper: #FBF8F2;
  --paper-2: #F2ECE0;
  --paper-3: #EFE9DD;
  --ink: #16203C;
  --ink-70: rgba(22,32,60,.72);
  --ink-50: rgba(22,32,60,.54);
  --ink-30: rgba(22,32,60,.3);
  --ink-14: rgba(22,32,60,.14);
  --gold: #A8823C;
  --gold-lt: #C9A365;
  --gold-20: rgba(168,130,60,.24);
  /* Darker gold reserved for display type and small labels on light grounds.
     #A8823C measures only 3.34:1 against paper, which reads faint and fails
     AA for body text. #7E5F24 measures 5.58:1 and passes AA. */
  --gold-display: #7E5F24;
  --oxblood: #6A1F2A;

  --display: 'Bodoni Moda', 'Times New Roman', serif;
  --body: 'Jost', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;

  --max: 1240px;
  --gut: 32px;

}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold-lt); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
  outline: 1.5px solid var(--gold); outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- type ---------- */
.eyebrow {
  display: block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-display);
}
.eyebrow.ox { color: var(--oxblood); }

h1, h2, h3 {
  font-family: var(--display); font-weight: 400;
  letter-spacing: -.015em; line-height: 1.04; margin: 0;
}

.lede {
  font-size: 1.09rem; font-weight: 400; line-height: 1.7;
  color: var(--ink-70); max-width: 46ch; margin: 0;
}

.numeral {
  font-family: var(--display); font-size: .95rem; font-style: italic;
  font-weight: 700;
  color: var(--gold-display); letter-spacing: .04em;
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(251,248,242,.82);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid var(--gold-20);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }

.brand { display: flex; align-items: center; gap: 15px; }
.brand img { width: 62px; height: auto; }
.brand .name {
  font-family: var(--display); font-weight: 600; font-size: .74rem;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ink);
  border-left: 1px solid var(--gold-20); padding-left: 15px;
}

.nav-r { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-50); transition: color .25s;
}
.nav-link:hover { color: var(--ink); }

.btn-gold {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border: 1px solid var(--gold);
  color: var(--gold-display); background: transparent; cursor: pointer;
  font-family: var(--body); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn-gold:hover { background: var(--gold); color: var(--paper); }

.btn-solid {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 32px; border: 0; cursor: pointer;
  background: var(--ink); color: var(--paper);
  font-family: var(--body); font-size: .72rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s;
}
.btn-solid:hover { background: var(--oxblood); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 158px 0 0; overflow: hidden; }
.hero-glow {
  position: absolute; top: -26%; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(168,130,60,.13), transparent 66%);
  pointer-events: none;
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1.06fr .94fr; gap: 64px; align-items: end;
}
.hero h1 {
  font-size: clamp(3.1rem, 7.6vw, 6.1rem); margin: 26px 0 0;
  font-weight: 700;
  font-variation-settings: 'opsz' 96;
}
.hero h1 .it {
  font-style: italic;
  font-weight: 700;
  color: var(--gold-display);
  /* Bodoni is an optical-size font. A larger opsz axis value thickens the
     hairline strokes, which is precisely the readability issue being fixed. */
  font-variation-settings: 'opsz' 96;
}
.hero-copy .lede { margin-top: 26px; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 34px; flex-wrap: wrap; }

/* image slots: photography */
.img-slot {
  background-color: var(--paper-3);
  background-image: var(--photo, none), var(--art, none);
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  position: relative;
}
.img-slot::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold-20); pointer-events: none;
}
.hero-fig { position: relative; }
.hero-fig .img-slot { aspect-ratio: 4/5.4; }
.fig-cap {
  position: absolute; left: 0; bottom: -32px;
  font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-30);
}

/* ---------- fact marquee ---------- */
.facts {
  margin-top: 104px;
  border-top: 1px solid var(--gold-20);
  border-bottom: 1px solid var(--gold-20);
  overflow: hidden;
}
.facts-track {
  display: flex; align-items: center; gap: 56px;
  padding: 20px 0; width: max-content;
  animation: slide 42s linear infinite;
}
.facts-track span {
  display: flex; align-items: center; gap: 56px; white-space: nowrap;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-50);
}
.facts-track span::after { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; }
@keyframes slide { to { transform: translateX(-50%); } }
.facts:hover .facts-track { animation-play-state: paused; }

/* ============================================================
   SECTIONS
   ============================================================ */
.sec { padding: 128px 0; }
.sec.warm { background: var(--paper-2); }
.sec-head { max-width: 660px; margin-bottom: 76px; }
.sec-head h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-top: 22px;
  font-weight: 600; font-variation-settings: 'opsz' 72;
}
.sec-head .lede { margin-top: 24px; }

/* ============================================================
   FLOW ROWS
   ============================================================ */
.flow-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; padding: 76px 0; border-top: 1px solid var(--gold-20);
}
.flow-row:first-of-type { border-top: 0; }
.flow-row.flip .flow-txt { order: 2; }
.flow-txt { max-width: 40ch; }
.flow-txt h3 {
  font-size: clamp(1.7rem, 2.7vw, 2.4rem); margin: 14px 0 20px;
  font-weight: 600; font-variation-settings: 'opsz' 48;
}
.flow-txt p { color: var(--ink-70); margin: 0; font-size: 1.02rem; }
.flow-txt .tag {
  display: inline-block; margin-top: 22px; padding: 7px 14px;
  font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-display); border: 1px solid var(--gold-20);
}
.flow-dev { display: flex; justify-content: center; }

/* ============================================================
   DEVICE
   ============================================================ */
.device {
  width: 318px; flex: 0 0 318px; aspect-ratio: 318/660;
  background: #0D1424; border-radius: 46px; padding: 9px; position: relative;
  box-shadow: 0 0 0 1px rgba(22,32,60,.1), 0 40px 70px -30px rgba(22,32,60,.42);
}
.screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; font-family: var(--body); position: relative;
}
.screen.tint { background: var(--paper-2); }

.ios {
  height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px 0 24px; font-size: .6rem; font-weight: 500;
}
.ios .sig { display: flex; align-items: center; gap: 4px; }
.ios .bars { display: flex; align-items: flex-end; gap: 1.5px; height: 8px; }
.ios .bars i { width: 2.5px; background: currentColor; border-radius: .5px; display: block; }
.ios .bars i:nth-child(1) { height: 3px; }
.ios .bars i:nth-child(2) { height: 4.5px; }
.ios .bars i:nth-child(3) { height: 6px; }
.ios .bars i:nth-child(4) { height: 8px; }
.ios .batt { width: 17px; height: 8.5px; border: 1px solid currentColor; border-radius: 2.5px; position: relative; opacity: .9; }
.ios .batt::before { content: ''; position: absolute; inset: 1.5px; right: 5px; background: currentColor; border-radius: 1px; }
.ios .batt::after { content: ''; position: absolute; right: -3px; top: 2.5px; width: 1.5px; height: 3.5px; background: currentColor; border-radius: 0 1px 1px 0; opacity: .5; }

.island {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 78px; height: 22px; background: #0D1424; border-radius: 999px; z-index: 5;
}

.ah { padding: 6px 16px 12px; display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; }
.ah .t { font-family: var(--display); font-size: 1rem; }
.ah .ic { display: flex; gap: 12px; opacity: .45; }
.ah .ic svg { width: 15px; height: 15px; }

.ab { flex: 1 1 auto; overflow: hidden; padding: 0 16px; display: flex; flex-direction: column; gap: 11px; }

.sfield {
  display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px;
  border-radius: 8px; background: rgba(22,32,60,.06);
  font-size: .6rem; color: var(--ink-50);
}
.sfield svg { width: 11px; height: 11px; flex: 0 0 11px; }

.chips { display: flex; gap: 6px; overflow: hidden; }
.chip {
  font-size: .55rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--ink-14); color: var(--ink-50); white-space: nowrap;
}
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pcard { display: flex; flex-direction: column; gap: 5px; }
.pcard .ph {
  aspect-ratio: 1/1.28; border-radius: 5px; position: relative;
  background-color: var(--paper-3);
  background-image: var(--photo, none), var(--art, none);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.pcard .ph .heart {
  position: absolute; top: 6px; right: 6px; width: 15px; height: 15px; border-radius: 50%;
  background: rgba(251,248,242,.92); display: flex; align-items: center; justify-content: center;
}
.pcard .ph .heart svg { width: 8px; height: 8px; }
.pcard .nm { font-family: var(--display); font-size: .62rem; line-height: 1.2; }
.pcard .vd { font-size: .5rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-50); }
.pcard .pr { font-size: .58rem; font-weight: 500; }

.tabs {
  flex: 0 0 auto; height: 52px; border-top: 1px solid var(--ink-14);
  display: flex; align-items: center; justify-content: space-around; padding-bottom: 6px;
}
.tabs .tb { display: flex; flex-direction: column; align-items: center; gap: 3px; opacity: .34; }
.tabs .tb svg { width: 16px; height: 16px; }
.tabs .tb span { font-size: .43rem; letter-spacing: .05em; }
.tabs .tb.on { opacity: 1; color: var(--gold); }

.home-ind {
  position: absolute; bottom: 6px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 4px; border-radius: 999px; background: var(--ink-30);
}

/* ---- AI measure ---- */
.viewfinder {
  flex: 1 1 auto; margin: 0 -16px; position: relative; background: #101830;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.viewfinder .brk { position: absolute; width: 22px; height: 22px; border: 1.5px solid var(--gold-lt); }
.viewfinder .brk.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; }
.viewfinder .brk.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; }
.viewfinder .brk.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; }
.viewfinder .brk.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; }
.viewfinder .hint {
  position: absolute; top: 46px; left: 0; right: 0; text-align: center;
  font-size: .53rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,248,242,.6);
}
.scanline {
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-lt), transparent);
  animation: scan 3.4s ease-in-out infinite;
}
@keyframes scan { 0%,100% { top: 22%; } 50% { top: 78%; } }

.mrow {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 8px 0; border-bottom: 1px solid var(--ink-14); font-size: .58rem;
}
.mrow .k { letter-spacing: .1em; text-transform: uppercase; color: var(--ink-50); font-size: .5rem; }
.mrow .v { font-family: var(--display); font-size: .74rem; }

/* ---- try-on ---- */
.tryon {
  flex: 1 1 auto; margin: 0 -16px; position: relative;
  background-color: var(--paper-3);
  background-image: var(--photo, none), var(--art, none);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
}
.tryon .badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(22,32,60,.86); backdrop-filter: blur(6px);
  border: 1px solid rgba(201,163,101,.5); color: var(--gold-lt);
  font-size: .5rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 5px 9px; display: flex; align-items: center; gap: 5px;
}
.tryon .badge svg { width: 9px; height: 9px; }
.tryon .swatches { position: absolute; bottom: 12px; left: 12px; right: 12px; display: flex; gap: 7px; }
.tryon .sw {
  width: 34px; height: 42px; border-radius: 3px; border: 1px solid rgba(251,248,242,.7);
  box-shadow: 0 2px 6px rgba(22,32,60,.2);
}
.tryon .sw:nth-child(1) { background: #6E2532; }   /* burgundy  */
.tryon .sw:nth-child(2) { background: #5E7360; }   /* sage      */
.tryon .sw:nth-child(3) { background: #9FBBD8; }   /* sky       */
.tryon .sw:nth-child(4) { background: #E8E2D2; }   /* ivory     */
.tryon .sw.on { border: 1.5px solid var(--gold); }

/* ---- tracking ---- */
.eta { border: 1px solid var(--ink-14); padding: 12px; display: flex; align-items: baseline; justify-content: space-between; }
.eta .big { font-family: var(--display); font-size: 1.5rem; line-height: 1; }
.eta .lb { font-size: .5rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-50); display: block; }

.tl { display: flex; flex-direction: column; }
.tl .st { display: flex; gap: 10px; }
.tl .st .col { display: flex; flex-direction: column; align-items: center; flex: 0 0 10px; }
.tl .st .dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--gold); flex: 0 0 8px; }
.tl .st.todo .dot { background: transparent; border: 1px solid var(--ink-30); }
.tl .st .ln { width: 1px; flex: 1 1 auto; background: var(--ink-14); min-height: 20px; }
.tl .st:last-child .ln { display: none; }
.tl .st .tx { padding-bottom: 14px; }
.tl .st .tx b { display: block; font-size: .58rem; font-weight: 500; }
.tl .st .tx i { font-style: normal; font-size: .5rem; color: var(--ink-50); letter-spacing: .05em; }
.tl .st.todo .tx { opacity: .45; }

.acta {
  flex: 0 0 auto; margin: 0 0 10px; height: 34px; border-radius: 6px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-size: .58rem; letter-spacing: .14em; text-transform: uppercase;
}
.acta.gold { background: var(--gold); color: var(--paper); }

/* ============================================================
   STORE BADGES
   ============================================================ */
.stores { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 52px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border: 1px solid var(--gold-20); position: relative; }
.store svg { width: 20px; height: 20px; flex: 0 0 20px; opacity: .7; }
.store .s { font-size: .55rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-50); display: block; }
.store .b { font-family: var(--display); font-size: .95rem; display: block; margin-top: 1px; }
.store .soon {
  position: absolute; top: -9px; right: 14px; background: var(--gold); color: var(--paper);
  font-size: .5rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px;
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px; }
.pillar { padding-top: 26px; border-top: 1px solid var(--gold-20); }
.pillar h3 { font-size: 1.36rem; margin: 16px 0 12px; font-weight: 600; }
.pillar p { margin: 0; font-size: .97rem; color: var(--ink-70); }

/* ============================================================
   ASO EBI
   ============================================================ */
.aso { display: grid; grid-template-columns: .92fr 1.08fr; gap: 76px; align-items: center; }
.aso-fig { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.aso-fig .img-slot { aspect-ratio: 3/4; }
.aso-fig .img-slot:nth-child(2) { margin-top: 42px; }
.aso h2 { font-size: clamp(2rem, 3.9vw, 3.2rem); font-weight: 600; font-variation-settings: 'opsz' 72; }
.aso p { color: var(--ink-70); max-width: 44ch; }
.aso .pull {
  font-family: var(--display); font-style: italic; font-weight: 600;
  font-size: 1.28rem; line-height: 1.5;
  color: var(--ink); border-left: 3px solid var(--gold); padding-left: 22px; margin: 30px 0 0;
}

/* ============================================================
   STRIP
   ============================================================ */
.strip { padding: 96px 0; border-top: 1px solid var(--gold-20); }
.strip .wrap { display: flex; align-items: center; justify-content: space-between; gap: 44px; flex-wrap: wrap; }
.strip h2 { font-size: clamp(1.8rem, 3.3vw, 2.7rem); font-weight: 600; font-variation-settings: 'opsz' 60; }
.strip p { color: var(--ink-70); max-width: 42ch; margin: 16px 0 0; }

/* ============================================================
   FORMS
   ============================================================ */
.wait { display: flex; gap: 10px; max-width: 470px; flex-wrap: wrap; }
.wait input {
  flex: 1 1 230px; min-width: 0; padding: 15px 18px; min-height: 52px;
  background: var(--paper); border: 1px solid var(--ink-14); color: var(--ink);
  font-family: var(--body); font-weight: 400;
  /* 16px exactly: anything smaller makes iOS zoom the page on focus */
  font-size: 16px;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.wait .btn-solid { min-height: 52px; flex: 0 0 auto; }
.wait input::placeholder { color: var(--ink-30); }
.status {
  min-height: 1.3em; margin: 12px 0 0;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oxblood);
}
.finenote { font-size: .74rem; color: var(--ink-30); margin: 8px 0 0; }

.card { background: var(--paper); border: 1px solid var(--gold-20); padding: 46px; max-width: 620px; }
.fld { margin-bottom: 22px; }
.fld label {
  display: block; margin-bottom: 8px;
  font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-50);
}
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 15px; min-height: 50px;
  background: var(--paper-2); border: 1px solid var(--ink-14); color: var(--ink);
  font-family: var(--body); font-weight: 400;
  font-size: 16px;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}
.fld textarea { min-height: 110px; }
.fld textarea { min-height: 96px; resize: vertical; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ============================================================
   STATS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 78px; }
.stat { border-top: 1px solid var(--gold-20); padding-top: 22px; }
.stat .n { font-family: var(--display); font-weight: 600; font-size: 2.5rem; line-height: 1; display: block;
  font-variation-settings: 'opsz' 60; }
.stat .c { font-size: .78rem; color: var(--ink-50); margin-top: 10px; display: block; max-width: 26ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.foot { padding: 68px 0 56px; border-top: 1px solid var(--gold-20); }
.foot .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .meta { font-size: .74rem; color: var(--ink-50); text-align: right; line-height: 2; }
.foot .meta a { color: var(--ink-70); }
.foot .meta a:hover { color: var(--gold); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-fig { max-width: 440px; }
  .aso { grid-template-columns: 1fr; gap: 52px; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 860px) {
  :root { --gut: 22px; }
  .sec { padding: 92px 0; }
  .flow-row { grid-template-columns: 1fr; gap: 44px; padding: 58px 0; }
  .flow-row.flip .flow-txt { order: 0; }
  .flow-txt { max-width: none; }
  .stats { grid-template-columns: 1fr; gap: 34px; }
  .frow { grid-template-columns: 1fr; }
  .foot .wrap { flex-direction: column; }
  .foot .meta { text-align: left; }
  .nav-r .hide-sm { display: none; }
  .card { padding: 30px; }
  .brand .name { display: none; }
}
@media (max-width: 620px) {
  .wait { flex-direction: column; gap: 12px; max-width: 100%; }
  .wait input { width: 100%; flex: 1 1 auto; }
  .wait .btn-solid { width: 100%; }
}

@media (max-width: 480px) {
  .hero { padding-top: 126px; }
  .device { width: 274px; flex-basis: 274px; }
  .aso-fig .img-slot:nth-child(2) { margin-top: 24px; }
}

/* ============================================================
   CATEGORIES
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat { display: block; }
.cat .tile {
  aspect-ratio: 3/3.6; margin-bottom: 16px;
  background-color: var(--paper-3);
  background-image: var(--photo, none), var(--art, none);
  background-size: cover, cover; background-position: center, center; background-repeat: no-repeat, no-repeat;
  position: relative;
}
.cat .tile::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--gold-20); pointer-events: none;
}
.cat h3 { font-size: 1.16rem; margin: 0 0 6px; font-weight: 600; }
.cat p { margin: 0; font-size: .86rem; color: var(--ink-50); }

/* ============================================================
   CONTACT BAND
   ============================================================ */
.contact {
  padding: 104px 0;
  background: var(--paper-2);
  border-top: 1px solid var(--gold-20);
  border-bottom: 1px solid var(--gold-20);
  text-align: center;
}
.contact .eyebrow { margin-bottom: 26px; }
.contact .mail {
  display: inline-block;
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.4rem, 4.6vw, 3.1rem);
  line-height: 1.15; letter-spacing: -.01em;
  color: var(--ink);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 6px;
  transition: color .3s, border-color .3s;
  word-break: break-word;
}
.contact .mail:hover { color: var(--gold); border-color: var(--ink); }
.contact .sub { margin: 30px auto 0; color: var(--ink-70); max-width: 44ch; font-size: 1.02rem; }

/* footer email, given weight */
.foot .mail-lg {
  font-family: var(--display); font-size: 1.06rem;
  color: var(--ink); border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}
.foot .mail-lg:hover { color: var(--gold); }

@media (max-width: 1020px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
@media (max-width: 560px) {
  .cats { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .cat h3 { font-size: 1rem; }
  .cat p { font-size: .8rem; }
  .contact { padding: 76px 0; }
}
