/* ==========================================================
   BLINTRUMP — Presidential Blindness, minimal editorial parody
   ========================================================== */

:root {
  --paper: #E8D1B5;
  --paper-warm: #EFDFCB;
  --cream: #F6EBDD;
  --ink: #171717;
  --red: #C91F26;
  --red-deep: #A8181E;
  --brown: #92775E;
  --white: #FFFFFF;

  --line: rgba(23, 23, 23, .16);
  --line-light: rgba(246, 235, 221, .16);

  --font-display: "Anton", "Impact", "Haettenschweiler", "Arial Narrow Bold", sans-serif;
  --font-body: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Menlo, Consolas, monospace;

  --header-h: 84px;
  --gutter: clamp(16px, 4.2vw, 80px);
  --max: 1760px;
  --section-y: clamp(72px, 8.5vw, 168px);
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
}

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .94rem + .22vw, 1.1875rem);
  line-height: 1.55;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.section { padding-block: var(--section-y); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 clamp(14px, 1.6vw, 28px);
  font-size: clamp(.72rem, .68rem + .2vw, .92rem);
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brown);
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 1.3rem + 5.4vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.002em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px 40px;
  margin-bottom: clamp(36px, 4.5vw, 80px);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  min-height: 48px;
  padding: .8em 1.6em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform .28s var(--ease),
    box-shadow .28s var(--ease),
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease;
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); }

.btn-sm { min-height: 42px; padding: .6em 1.15em; font-size: .78rem; }
.btn-lg { min-height: 58px; padding: 1em 2em; font-size: clamp(.88rem, .82rem + .2vw, 1.02rem); }
.btn-xl { min-height: 72px; padding: 1.1em 2.6em; font-size: clamp(1rem, .9rem + .4vw, 1.25rem); }

.btn-red { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-red:hover { background: var(--red-deep); border-color: var(--ink); }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); box-shadow: 4px 4px 0 var(--red); }

.btn-ink { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-ink:hover { background: var(--red); border-color: var(--ink); }

.btn-cream { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.btn-cream:hover { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 235, 221, .94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
  padding-top: env(safe-area-inset-top);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Crop the square logo to the face (with its black bar) via CSS only */
.brand-mark {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid var(--ink);
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(3);
  transform-origin: 50% 5%;
}

.brand-word {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.2rem + .5vw, 1.7rem);
  letter-spacing: .02em;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
}

.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: clamp(24px, 3vw, 60px);
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  position: relative;
  display: inline-block;
  padding: .55em 0;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .2em;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .28s var(--ease);
}
.icon-link svg { width: 17px; height: 17px; }
.icon-link:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-2px); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 48px; height: 48px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
  }
  .menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: currentColor;
    transition: transform .3s var(--ease);
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 12px max(var(--gutter), env(safe-area-inset-right)) 28px max(var(--gutter), env(safe-area-inset-left));
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(23, 23, 23, .25);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s linear .3s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .25s ease, transform .3s var(--ease), visibility 0s;
  }

  .nav-links {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    display: block;
    padding: .4em 0;
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 2.1rem;
    letter-spacing: .01em;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover { color: var(--red); }

  .nav-actions .btn { flex: 1; min-height: 48px; }
  .nav-actions .icon-link { width: 48px; height: 48px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}

/* Warm studio light + soft floor sweep, CSS only */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 46% 62% at 74% 44%, rgba(246, 235, 221, .78), rgba(246, 235, 221, 0) 72%),
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(246, 235, 221, .35), rgba(246, 235, 221, 0) 70%),
    linear-gradient(180deg, #EDD9C0 0%, var(--paper) 55%, #DFC5A6 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 22%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(146, 119, 94, 0), rgba(146, 119, 94, .16));
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  column-gap: clamp(16px, 2vw, 40px);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: clamp(40px, 6vh, 96px);
}

.mini-bar {
  display: inline-block;
  width: 2.8em;
  height: .85em;
  background: var(--ink);
  border-radius: 1px;
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(4.25rem, min(13.2vw, 22.5vh), 17.5rem);
  font-size: clamp(4.25rem, min(13.2vw, 22.5svh), 17.5rem);
  line-height: .86;
  letter-spacing: -.004em;
  text-transform: uppercase;
}
.hero-title .line { display: block; }
.hero-title .line-red { color: var(--red); }

.hero-lede {
  margin: clamp(20px, 3.2vh, 44px) 0 0;
  font-size: clamp(1.25rem, .95rem + 1vw, 2.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.015em;
}

.hero-sub {
  max-width: 36ch;
  margin: .55em 0 0;
  font-size: clamp(1rem, .9rem + .35vw, 1.3rem);
  color: rgba(23, 23, 23, .72);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(24px, 3.6vh, 44px);
}

.id-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: clamp(18px, 2.8vh, 32px) 0 0;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brown);
}
.id-label .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.id-label .sep { opacity: .5; }

.hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
}

.hero-figure {
  position: relative;
  z-index: 1;
}
/* Contact shadow beneath the shoes, tied to the figure's box */
.hero-figure::after {
  content: "";
  position: absolute;
  left: 16%; right: 12%;
  bottom: 3.2%;
  height: 4.5%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(70, 48, 28, .32), rgba(70, 48, 28, 0));
}
.hero-figure img {
  width: auto;
  max-width: none;
  height: min(
    calc(100vh - var(--header-h) - 12px),
    calc((min(100vw, var(--max)) - 2 * var(--gutter)) * .7)
  );
  height: min(
    calc(100svh - var(--header-h) - 12px),
    calc((min(100vw, var(--max)) - 2 * var(--gutter)) * .7)
  );
  min-height: 420px;
  filter: drop-shadow(0 24px 30px rgba(70, 48, 28, .12));
}

.hero-side {
  position: absolute;
  right: max(18px, env(safe-area-inset-right));
  top: 50%;
  margin: 0;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--brown);
  opacity: .8;
}
@media (max-width: 1279px) { .hero-side { display: none; } }

/* Hero entrance */
@keyframes lineIn {
  from { opacity: 0; transform: translateY(.32em); }
  to   { opacity: 1; transform: none; }
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes figureIn {
  from { opacity: 0; transform: translateY(56px); }
  to   { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

.hero-title .line { animation: lineIn .95s var(--ease) both; animation-delay: calc(.12s + var(--i) * .12s); }
.hero-anim { animation: riseIn .85s var(--ease) both; animation-delay: var(--d, 0s); }
.hero-figure { animation: figureIn 1.15s var(--ease) .35s both; }
.hero-figure img { animation: float 6.5s ease-in-out 1.6s infinite; }

/* ---------- Marquee ---------- */

.marquee {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  list-style: none;
  margin: 0; padding: 0;
}
.marquee-group li {
  display: flex;
  align-items: center;
  padding-block: clamp(12px, 1.1vw, 18px);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, .9rem + .55vw, 1.6rem);
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-group li::after {
  content: "\2726";
  margin-inline: clamp(18px, 2vw, 36px);
  font-size: .7em;
  color: var(--red);
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */

.about { background: var(--cream); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 140px);
  align-items: end;
}

.about-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 1.4rem + 6.2vw, 9.75rem);
  line-height: .9;
  letter-spacing: -.002em;
  text-transform: uppercase;
}
.about-title em { font-style: normal; color: var(--red); }

.about-copy {
  max-width: 34rem;
  font-size: clamp(1.08rem, .98rem + .42vw, 1.45rem);
  line-height: 1.5;
}
.about-copy p { margin: 0 0 1em; }

.about-list span {
  display: block;
  font-weight: 800;
  font-size: 1.2em;
  line-height: 1.3;
  letter-spacing: -.01em;
}
.about-list span:nth-child(2)::after {
  content: "";
  display: inline-block;
  width: 2.2em; height: .62em;
  margin-left: .45em;
  vertical-align: .05em;
  background: var(--ink);
}

.about-idea { color: var(--red); font-weight: 700; }

.about-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin: 1.6em 0 0;
}
.ticker-chip {
  display: inline-block;
  padding: .22em .6em .18em;
  background: var(--ink);
  color: var(--cream);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.05rem + 1vw, 2.2rem);
  letter-spacing: .04em;
  line-height: 1.1;
}
.about-tag {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brown);
}

.about-note {
  margin: 1.8em 0 0 !important;
  padding-top: 1em;
  border-top: 1px solid var(--line);
  font-size: .85rem;
  color: var(--brown);
}

/* ---------- The Blind ---------- */

.blind {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: var(--cream);
  text-align: center;
}
.blind-inner { display: flex; flex-direction: column; align-items: center; }

.blind-kicker { color: rgba(246, 235, 221, .72); }

.blind-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, .8rem + 11vw, 15rem);
  line-height: .86;
  text-transform: uppercase;
}

.blind-sub {
  margin: .8em 0 0;
  font-size: clamp(1.2rem, .95rem + 1vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -.01em;
}

.censor {
  display: grid;
  place-items: center;
  width: clamp(180px, 26vw, 520px);
  height: clamp(26px, 2.8vw, 54px);
  margin-top: clamp(32px, 4.5vw, 72px);
  background: var(--ink);
  border-radius: 2px;
  transform: translateX(-14%);
  transition: transform .9s var(--ease);
}
.censor span {
  font-size: clamp(.55rem, .5rem + .2vw, .72rem);
  font-weight: 800;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(246, 235, 221, .45);
}
.blind:hover .censor { transform: translateX(14%); }

/* ---------- How to buy ---------- */

.buy { background: var(--paper-warm); }

/* Mobility-cane rule: black grip, white shaft, red bands, white tip */
.cane {
  display: flex;
  align-items: center;
  margin-bottom: clamp(8px, 1vw, 16px);
}
.cane-stick {
  flex: 1;
  height: 7px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(90deg,
    var(--ink) 0 9%,
    var(--white) 9% 66%,
    var(--red) 66% 73%,
    var(--white) 73% 84%,
    var(--red) 84% 91%,
    var(--white) 91% 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .12), 0 2px 6px rgba(70, 48, 28, .12);
}
.cane-tip {
  width: 18px; height: 18px;
  margin-left: -3px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--white) 0 45%, #E9E2D8 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .14), 0 2px 6px rgba(70, 48, 28, .18);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0; padding: 0;
}

.step {
  padding: clamp(24px, 2.6vw, 44px) clamp(20px, 2.8vw, 52px) clamp(4px, .8vw, 12px);
  border-left: 1px solid var(--line);
}
.step:first-child { border-left: 0; padding-left: 0; }

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 1.8rem + 4.2vw, 7.75rem);
  line-height: .9;
  color: var(--red);
  transition: transform .35s var(--ease);
}
.step:hover .step-num { transform: translateX(6px); }

.step h3 {
  margin: .45em 0 .3em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.15rem + 1.25vw, 2.75rem);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.step p {
  max-width: 30ch;
  margin: 0;
  color: rgba(23, 23, 23, .74);
}

/* ---------- Contract address ---------- */

.ca { background: var(--ink); color: var(--cream); }

.ca-inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 120px);
  align-items: center;
}

.ca .eyebrow { color: rgba(246, 235, 221, .55); }

.ca-lede {
  margin: .8em 0 0;
  font-size: clamp(1.1rem, .95rem + .55vw, 1.6rem);
  font-weight: 700;
  color: rgba(246, 235, 221, .75);
}

.ca-box {
  padding: clamp(20px, 2.6vw, 44px);
  border: 1px solid var(--line-light);
  border-radius: 12px;
}

.ca-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ca-label { color: rgba(246, 235, 221, .6); }
.ca-status {
  padding: .45em .9em;
  background: var(--paper);
  color: var(--ink);
  border-radius: 999px;
}

.ca-row {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.ca-value {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: .55em .8em;
  background: #0E0E0E;
  border: 1px dashed rgba(246, 235, 221, .28);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 2.4rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.ca-copy { min-width: 9rem; }
.ca-copy:hover { box-shadow: 4px 4px 0 var(--cream); }
.ca-copy.is-copied,
.ca-copy.is-copied:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.ca .btn:focus-visible { outline-color: var(--cream); }

.ca-note {
  margin: 16px 0 0;
  font-size: .88rem;
  color: rgba(246, 235, 221, .55);
}

/* ---------- Chart ---------- */

.chart { background: var(--cream); }

.chart-frame {
  overflow: hidden;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 10px 10px 0 var(--paper);
}

.chart-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 44px;
  padding-inline: 18px;
  background: var(--ink);
  color: var(--cream);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.chart-dots { display: flex; gap: 6px; }
.chart-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(246, 235, 221, .3); }
.chart-dots i:first-child { background: var(--red); }

.chart-embed {
  position: relative;
  height: clamp(480px, 42vw, 780px);
}
.chart-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.chart-note {
  margin: 22px 0 0;
  font-size: .88rem;
  color: var(--brown);
}

/* ---------- Community ---------- */

.community {
  background: var(--red);
  color: var(--cream);
  text-align: center;
}
.community-inner { display: flex; flex-direction: column; align-items: center; }

.community-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.5rem, .8rem + 10vw, 14rem);
  line-height: .86;
  text-transform: uppercase;
}

.community-sub {
  margin: .7em 0 clamp(28px, 3vw, 52px);
  font-size: clamp(1.15rem, .95rem + .8vw, 2rem);
  font-weight: 700;
}

.community :focus-visible { outline-color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(56px, 6vw, 104px);
  padding-bottom: calc(clamp(24px, 3vw, 40px) + env(safe-area-inset-bottom));
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 32px 48px;
}
.footer-grid::after {
  content: "";
  flex-basis: 100%;
  height: 1px;
  margin-top: clamp(4px, 1vw, 16px);
  background: var(--line-light);
}

.footer-word {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, .8rem + 8vw, 10rem);
  line-height: .85;
  letter-spacing: .01em;
}
.footer-word span { color: var(--red); }

.footer-meta {
  margin: 1em 0 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 235, 221, .6);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px clamp(20px, 2.6vw, 44px);
  list-style: none;
  margin: 0; padding: 0;
}
.footer-links a,
.to-top {
  position: relative;
  display: inline-block;
  padding: .5em 0;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: .25em;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.footer-links a:hover::after,
.footer-links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px 32px;
  padding-top: 24px;
}
.disclaimer {
  max-width: 72ch;
  margin: 0;
  font-size: .85rem;
  color: rgba(246, 235, 221, .55);
}
.to-top { padding: 0; font-size: .75rem; color: rgba(246, 235, 221, .7); transition: color .2s ease; }
.to-top:hover { color: var(--cream); }

/* ---------- Scroll reveals (only when JS is available) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

.js .cane {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1.5s var(--ease) .15s;
}
.js .cane.is-visible { clip-path: inset(0 0 0 0); }

/* ==========================================================
   Responsive
   ========================================================== */

/* Large desktop / ultrawide: keep the hero composed, not stretched */
@media (min-width: 2200px) {
  .hero-title { font-size: clamp(4.25rem, min(11.5vw, 22.5svh), 17.5rem); }
}

/* Laptop */
@media (max-width: 1280px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Tablet & mobile: stack hero */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .hero-copy { padding-block: clamp(36px, 7vw, 64px) 8px; }
  .hero-title { font-size: clamp(3.5rem, 25vw, 10.5rem); line-height: .85; }
  .hero-sub { max-width: 32ch; }

  .hero-visual { padding-top: 8px; }
  .hero-figure img {
    height: min(68vh, 125vw, 760px);
    min-height: 0;
  }

  .about-grid { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .about-copy { max-width: 40rem; }

  .ca-inner { grid-template-columns: minmax(0, 1fr); }
}

@supports (height: 1svh) {
  @media (max-width: 900px) {
    .hero-figure img { height: min(68svh, 125vw, 760px); }
  }
}

@media (max-width: 760px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 20px;
    align-items: baseline;
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .step:first-child { border-top: 0; }
  .step-num { grid-row: span 2; font-size: clamp(3rem, 16vw, 4.5rem); min-width: 1.15em; }
  .step h3 { margin-top: 0; }

  .section-head .btn { width: 100%; }
}

@media (max-width: 520px) {
  .cta-row { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }

  .ca-row { flex-direction: column; }
  .ca-copy { width: 100%; }

  .chart-frame { box-shadow: 6px 6px 0 var(--paper); }
  .chart-embed { height: 520px; }

  .btn-xl { width: 100%; padding-inline: 1.4em; }
  .footer-links { width: 100%; }
}

@media (max-width: 360px) {
  .brand-word { font-size: 1.2rem; }
  .btn { letter-spacing: .07em; }
}

/* Short desktop viewports (e.g. 1280×720 / 1366×768) */
@media (min-width: 901px) and (max-height: 760px) {
  .hero-copy { padding-block: 28px; }
  .hero-lede { margin-top: 16px; }
  .cta-row { margin-top: 20px; }
  .id-label { margin-top: 16px; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .cane { clip-path: none; }
  .blind:hover .censor { transform: translateX(-14%); }
}
