/* MAGNA 3M — landing de apresentação
   Brandbook MAGNA vence o design-system genérico (sem Inter, sem Liquid Glass). */
:root {
  --off-white: #f7f4ef;
  --beige-light: #e7d8c6;
  --taupe: #bda997;
  --coffee-light: #c4a997;
  --coffee-dark: #3b2b22;
  --gold: #d4af37;
  --gold-deep: #b8942e;
  --success: #5c7a4a;
  --surface-dark: #4a382e;
  --white: #fffcf8;

  /* Taupe puro falha 4.5:1 em offWhite; gold puro falha em texto pequeno. */
  --text-muted: color-mix(in srgb, var(--coffee-dark) 70%, var(--taupe));
  --text-muted-dark: color-mix(in srgb, var(--off-white) 80%, var(--beige-light));
  --accent-text: color-mix(in srgb, var(--gold-deep) 55%, var(--coffee-dark));

  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Montserrat", sans-serif;

  --header-h: 4.5rem;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4.75rem, 10vw, 8.75rem);
  --max: 72rem;
  --narrow: 40rem;
  --radius: 1.5rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-hover: 200ms;
  --duration-reveal: 720ms;
  --shadow-cta: 0 10px 28px rgba(59, 43, 34, 0.16);
  --shadow-cta-hover: 0 12px 32px rgba(59, 43, 34, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--coffee-dark);
  background: var(--off-white);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

a,
button,
.btn {
  cursor: pointer;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--coffee-dark);
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.skip:focus,
.skip:focus-visible {
  top: 1rem;
}

.grain {
  position: relative;
}

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--gold);
}

.lead {
  color: var(--coffee-dark);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  max-width: 38rem;
}

.muted {
  color: var(--text-muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition:
    background var(--duration-hover) var(--ease),
    box-shadow var(--duration-hover) var(--ease),
    backdrop-filter var(--duration-hover) var(--ease);
}

.site-header.is-scrolled {
  background: color-mix(in srgb, var(--off-white) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--beige-light) 80%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: color var(--duration-hover) var(--ease);
}

.logo:hover .logo-word {
  color: var(--gold-deep);
}

.logo-sub {
  margin-top: 0.22rem;
  color: var(--accent-text);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
}

.header-nav a {
  text-decoration: none;
  color: var(--coffee-dark);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color var(--duration-hover) var(--ease);
}

.header-nav a:hover {
  color: var(--gold-deep);
}

.header-cta {
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.8rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--duration-hover) var(--ease),
    color var(--duration-hover) var(--ease),
    border-color var(--duration-hover) var(--ease),
    box-shadow var(--duration-hover) var(--ease);
}

.btn-gold {
  background: var(--gold);
  color: var(--coffee-dark);
  box-shadow: var(--shadow-cta);
}

.btn-gold:hover {
  background: var(--gold-deep);
  color: var(--off-white);
  box-shadow: var(--shadow-cta-hover);
}

.btn-ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--coffee-dark) 28%, transparent);
  color: var(--coffee-dark);
}

.btn-ghost:hover {
  border-color: var(--coffee-dark);
  background: color-mix(in srgb, var(--beige-light) 45%, transparent);
}

.btn-light {
  background: var(--off-white);
  color: var(--coffee-dark);
}

.btn-light:hover {
  background: var(--gold);
}

.btn-outline-gold {
  background: transparent;
  border-color: color-mix(in srgb, var(--gold) 70%, var(--off-white));
  color: var(--off-white);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--coffee-dark);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.stores {
  margin-top: 1.7rem;
  max-width: 36rem;
}

.stores-kicker {
  margin: 0 0 0.35rem;
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.stores-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin-top: 0.95rem;
  padding-top: 0.35rem;
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
  line-height: 0;
}

.store-badge img {
  height: 2.6rem;
  width: auto;
  max-width: min(100%, 11.5rem);
  object-fit: contain;
  object-position: left center;
  border-radius: 0;
  filter: none;
  background: transparent;
}

.store-soon {
  position: absolute;
  top: -0.5rem;
  right: 0;
  padding: 0.18rem 0.45rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--coffee-dark);
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 4px 12px rgba(59, 43, 34, 0.16);
}

:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
}

.btn-gold:focus-visible {
  outline-color: var(--coffee-dark);
}

.event :focus-visible,
.final :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

.event .btn-gold:focus-visible,
.final .btn-gold:focus-visible {
  outline-color: var(--off-white);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 1.25rem 0 3rem;
  background:
    radial-gradient(1200px 600px at 85% 20%, color-mix(in srgb, var(--gold) 18%, transparent), transparent 55%),
    radial-gradient(900px 500px at 10% 90%, color-mix(in srgb, var(--beige-light) 80%, transparent), transparent 50%),
    linear-gradient(165deg, var(--off-white) 0%, var(--beige-light) 100%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
  min-width: 0;
}

.brand-mark {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 12.5vw, 9.5rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.brand-3m {
  display: block;
  margin: 0.55rem 0 1.6rem;
  color: var(--accent-text);
  font-size: clamp(0.62rem, 2.6vw, 0.78rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.45;
  max-width: 100%;
}

.hero h1 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
}

.hero .support {
  max-width: 34rem;
  margin-bottom: 1.85rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.hero-visual {
  position: relative;
  width: min(68vw, 18rem);
  margin: 0.25rem auto 0;
  opacity: 0.92;
  pointer-events: none;
  z-index: 1;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

.orbit {
  transform-box: view-box;
  transform-origin: 200px 200px;
  animation: spin-slow 48s linear infinite;
  will-change: transform;
}

/* Problem */
.problem {
  padding: var(--section) 0;
  background: var(--off-white);
}

.problem-grid {
  display: grid;
  gap: 2rem;
}

.problem h2 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  max-width: 16ch;
}

.problem-copy p + p {
  margin-top: 1rem;
}

.problem-note {
  margin-top: 1.6rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--beige-light) 90%, var(--coffee-dark));
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--coffee-dark);
}

/* Method */
.method {
  padding: var(--section) 0;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--beige-light) 55%, var(--off-white)), var(--beige-light));
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}

.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 0.85rem;
}

.pillars {
  display: grid;
  gap: 1.15rem;
}

.pillar {
  padding: 1.75rem 0 1.85rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 55%, var(--beige-light));
  background: transparent;
}

.pillar-index {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.pillar h3 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.15rem);
}

.pillar p {
  margin-bottom: 1rem;
}

.pillar ul {
  display: grid;
  gap: 0.45rem;
}

.pillar li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.4rem;
  height: 1px;
  background: var(--gold);
}

.motto-band {
  margin-top: clamp(2.4rem, 5vw, 3.5rem);
  padding: 1.8rem 0 0;
  border-top: 1px solid color-mix(in srgb, var(--coffee-dark) 12%, transparent);
  text-align: center;
}

.motto-band blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-style: italic;
  font-weight: 500;
}

.motto-band p {
  margin-top: 0.7rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Journey */
.journey {
  padding: var(--section) 0;
  background: var(--off-white);
}

.phases {
  display: grid;
  gap: 0;
  counter-reset: phase;
}

.phase {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 1.7rem 0 1.7rem 1.35rem;
  border-left: 1px solid color-mix(in srgb, var(--gold) 70%, var(--beige-light));
}

.phase::before {
  content: "";
  position: absolute;
  left: -0.38rem;
  top: 2.05rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px var(--off-white);
}

.phase-kicker {
  color: var(--accent-text);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.phase h3 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.phase-meta {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* For whom */
.audience {
  padding: var(--section) 0;
  background: var(--beige-light);
}

.audience-grid {
  display: grid;
  gap: 1.2rem;
}

.panel {
  padding: 1.8rem 0;
  background: transparent;
  border-top: 1px solid color-mix(in srgb, var(--gold) 45%, var(--beige-light));
}

.panel h3 {
  margin-bottom: 1.1rem;
  font-size: 1.7rem;
}

.panel li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.25rem;
  border-bottom: 1px solid color-mix(in srgb, var(--beige-light) 80%, var(--coffee-light));
  font-size: 0.98rem;
}

.panel li:last-child {
  border-bottom: 0;
}

.panel li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.panel-shift li::before {
  content: "";
  top: 1rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

.panel-shift li {
  padding-left: 1.4rem;
}

/* Mayara */
.mayara {
  padding: var(--section) 0;
  background: var(--off-white);
}

.mayara-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
}

.portrait {
  position: relative;
  aspect-ratio: 1;
  max-width: 22rem;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--gold) 28%, var(--beige-light)), var(--beige-light) 55%, var(--coffee-light));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold) 45%, transparent);
}

.portrait-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  border-radius: 50%;
}

.portrait-mono {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 6.5rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--coffee-dark);
}

.mayara h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.mayara-copy p + p {
  margin-top: 1rem;
}

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Community */
.community {
  padding: var(--section) 0;
  background:
    linear-gradient(180deg, var(--beige-light), color-mix(in srgb, var(--beige-light) 40%, var(--off-white)));
}

.community-grid {
  display: grid;
  gap: 1.8rem;
}

.receives {
  display: grid;
  gap: 0.85rem;
}

.receive {
  display: grid;
  gap: 0.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--coffee-dark) 10%, transparent);
}

.receive h3 {
  font-size: 1.25rem;
}

.lexicon {
  display: grid;
  gap: 1rem;
}

.lex-card {
  padding: 1.4rem 0;
  background: transparent;
  border-top: 1px solid color-mix(in srgb, var(--gold) 40%, var(--beige-light));
}

.lex-card h3 {
  margin-bottom: 0.45rem;
  color: var(--accent-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.lex-card p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.4;
}

/* MAGNA DAY */
.event {
  padding: var(--section) 0;
  color: var(--off-white);
  background:
    radial-gradient(720px 380px at 12% 0%, color-mix(in srgb, var(--gold) 20%, transparent), transparent 55%),
    linear-gradient(165deg, var(--coffee-dark), var(--surface-dark));
}

.event .eyebrow {
  color: var(--gold);
}

.event .eyebrow::before {
  background: var(--gold);
}

.event h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  letter-spacing: 0.06em;
}

.event .lead {
  color: var(--text-muted-dark);
  margin-bottom: 1.85rem;
}

.event-grid {
  display: grid;
  gap: 2.2rem;
}

.event-copy .cta-group {
  margin-top: 1.75rem;
}

.event-copy {
  min-width: 0;
}

.event-side {
  display: grid;
  gap: 1.35rem;
  min-width: 0;
}

.event-meta {
  margin: 0;
  display: grid;
  gap: 0;
}

.event-fact {
  display: grid;
  gap: 0.45rem;
  padding: 1.15rem 0;
  border-top: 1px solid color-mix(in srgb, var(--gold) 32%, transparent);
}

.event-fact dt {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.event-icon {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.event-fact dd {
  margin: 0;
  display: grid;
  gap: 0.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  font-style: italic;
  line-height: 1.4;
}

.event-time,
.event-address {
  display: block;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted-dark);
}

.event-map {
  margin: 0;
  display: grid;
  gap: 0;
  min-width: 0;
}

.event-map-frame {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--gold) 38%, transparent);
  background: var(--surface-dark);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.event-map iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 16.5rem;
  border: 0;
  background: var(--surface-dark);
}

.event-map figcaption {
  margin: 0;
}

.event-map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 2.85rem;
  margin-top: 0.15rem;
  padding: 0.35rem 0.15rem 0;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--duration-hover) var(--ease);
}

.event-map-link:hover {
  color: var(--off-white);
}

/* Final CTA */
.final {
  padding: var(--section) 0;
  color: var(--off-white);
  background:
    radial-gradient(800px 420px at 80% 10%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 55%),
    linear-gradient(165deg, var(--coffee-dark), var(--surface-dark));
}

.final .eyebrow {
  color: var(--gold);
}

.final .eyebrow::before {
  background: var(--gold);
}

.final h2 {
  max-width: 16ch;
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}

.final .lead {
  color: var(--text-muted-dark);
  margin-bottom: 1.8rem;
}

.final .cta-group {
  margin-bottom: 0;
}

.final .stores {
  margin-top: 2rem;
  padding-top: 1.6rem;
  border-top: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  max-width: 34rem;
}

.final .stores-kicker {
  color: var(--gold);
}

.final .stores-copy {
  color: var(--text-muted-dark);
}

.stores-on-dark .store-badge img {
  filter: none;
}

/* Footer */
.site-footer {
  padding: 2.4rem 0 calc(2.1rem + env(safe-area-inset-bottom));
  background: var(--coffee-dark);
  color: var(--text-muted-dark);
}

.footer-inner {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  font-family: var(--font-display);
  color: var(--off-white);
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.3rem;
}

.footer-links a {
  color: var(--beige-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--duration-hover) var(--ease);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted-dark);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.15rem);
  transition: opacity var(--duration-reveal) var(--ease), transform var(--duration-reveal) var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="late"] {
  transition-delay: 0.12s;
}

.hero-copy [data-reveal="hero"] {
  animation: rise 0.8s var(--ease) both;
}

.hero-copy [data-reveal="hero"]:nth-child(2) {
  animation-delay: 0.08s;
}

.hero-copy [data-reveal="hero"]:nth-child(3) {
  animation-delay: 0.16s;
}

.hero-copy [data-reveal="hero"]:nth-child(4) {
  animation-delay: 0.24s;
}

.hero-copy [data-reveal="hero"]:nth-child(5) {
  animation-delay: 0.32s;
}

.hero-copy [data-reveal="hero"]:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 3.85rem;
    --section: clamp(3.1rem, 12vw, 5.25rem);
  }

  body {
    font-size: 1rem;
  }

  .logo-word {
    font-size: 1.12rem;
    letter-spacing: 0.1em;
  }

  .header-cta {
    min-height: 2.55rem;
    padding: 0.5rem 0.9rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-visual {
    position: relative;
    width: min(62vw, 16.5rem);
    margin: 0.25rem auto 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(1.4rem, 6.4vw, 1.85rem);
  }

  .hero .support {
    font-size: 0.98rem;
    margin-bottom: 1.35rem;
  }

  .cta-group {
    width: 100%;
    display: grid;
  }

  .cta-group .btn {
    width: 100%;
  }

  .stores {
    max-width: 100%;
  }

  .store-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 0.6rem;
    width: 100%;
  }

  .store-badge {
    width: 100%;
  }

  .store-badge img {
    height: auto;
    width: 100%;
    max-width: 100%;
    max-height: 3.15rem;
  }

  .problem h2,
  .section-head h2 {
    max-width: 100%;
  }

  .portrait {
    max-width: 13.5rem;
  }

  .final h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.4vw, 2.45rem);
  }

  .event h2 {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .event .cta-group .btn {
    width: 100%;
  }

  .event-fact dd {
    font-size: 1.28rem;
  }

  .event-map iframe {
    height: 17rem;
  }

  .footer-links {
    gap: 0.65rem 1rem;
  }
}

@media (max-width: 374px) {
  .store-badges {
    grid-template-columns: 1fr;
    max-width: 13.5rem;
  }

  .brand-mark {
    font-size: clamp(2.45rem, 11.5vw, 2.75rem);
    letter-spacing: 0.04em;
  }
}

@media (min-width: 768px) {
  .wrap,
  .header-inner {
    width: min(100% - 2.25rem, var(--max));
  }

  .brand-3m {
    letter-spacing: 0.22em;
    font-size: 0.78rem;
  }

  .header-nav {
    display: flex;
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }

  .pillar {
    padding: 1.6rem 0 1.85rem;
  }

  .phases {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .phase {
    border-left: 0;
    padding: 1.4rem 0.4rem 0;
  }

  .phase::before {
    left: 0.4rem;
    top: -0.2rem;
    box-shadow: 0 0 0 6px var(--off-white);
  }

  .phase::after {
    content: "";
    position: absolute;
    left: 1.1rem;
    right: -1.1rem;
    top: 0.12rem;
    height: 1px;
    background: color-mix(in srgb, var(--gold) 70%, var(--beige-light));
  }

  .phases .phase:last-child::after {
    display: none;
  }

  .audience-grid,
  .community-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: start;
  }

  .lexicon {
    gap: 1.1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .event-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.75rem;
    align-items: start;
  }

  .event-map iframe {
    height: 18rem;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: calc(100svh - var(--header-h));
    padding: 0.5rem 0 3.5rem;
  }

  .brand-mark {
    letter-spacing: 0.08em;
  }

  .brand-3m {
    letter-spacing: 0.34em;
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    min-height: calc(100svh - var(--header-h) - 2rem);
  }

  .hero-visual {
    position: relative;
    inset: auto;
    width: auto;
    opacity: 1;
    pointer-events: none;
    display: grid;
    place-items: center;
    min-height: 26rem;
  }

  .hero-visual svg {
    width: min(100%, 30rem);
    filter: drop-shadow(0 24px 40px rgba(59, 43, 34, 0.08));
  }

  .problem-grid,
  .mayara-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }

  .portrait {
    margin-inline: 0;
    max-width: 26rem;
  }

  .event-grid {
    gap: 4rem;
  }

  .event-map iframe {
    height: 22rem;
  }
}

@media (min-width: 1440px) {
  :root {
    --section: 9.5rem;
  }

  .wrap,
  .header-inner {
    width: min(100% - 3rem, var(--max));
  }

  .event-map iframe {
    height: 24rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .site-header,
  .logo-word,
  .header-nav a,
  .footer-links a,
  .event-map-link,
  [data-reveal] {
    transition: none;
  }

  .hero-copy [data-reveal="hero"],
  .orbit {
    animation: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
