/* ═══════════════════════════════════════════════════════════════════
   NODARAMA — global.css
   Shared tokens, reset, header, footer, editorial blocks, animation
   Alpha-Cx1 naming: A = top shell / B = major section / C = block / D = element
      Sizing rule: use only ratio %'s for sizing rules, no pixel based limits

   ═══════════════════════════════════════════════════════════════════ */

/* ── I. TOKENS ── */
:root {
  /* Palette */
  --bg:          #000;
  --panel:       #06080c;
  --text:        #d8c996;
  --muted:       rgba(216, 201, 150, 0.80);
  --cream:       #f2efea;
  --ink:         #1a1714;
  --accent:      #d48631;   /* orange — shared warm */
  --accent-g:    #5db87a;   /* green  — coding */
  --accent-b:    #61a9e4;   /* blue   — atelier */
  --accent-gold: #c8a044;   /* gold   — atelier secondary */
  --line:        rgba(255, 255, 255, 0.08);
  --line-warm:   rgba(212, 134, 49, 0.18);

  /* Type */
  --sans:  "Chivo", Arial, Helvetica, sans-serif;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --mono:  "Courier New", Courier, monospace;

  /* Layout */
  --max:  1360px;
  --gutter: clamp(1.2rem, 3vw, 2.8rem);

  /* Motion */
  --ease:       cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast:   180ms;
  --dur-med:    380ms;
  --dur-slow:   700ms;
}

/* ── II. RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { 
  scroll-behavior: smooth;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

/* ── GLOBAL SCROLLBARS ── */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(150,150,150,0.42) rgba(0,0,0,0.02);
}
*::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
*::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.03);
  border-left: 1px solid rgba(255,255,255,0.08);
}
*::-webkit-scrollbar-thumb {
  background: rgba(150,150,150,0.28);
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  box-shadow: 0 0 8px rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.18);
}
*::-webkit-scrollbar-thumb:hover {
  background: rgba(180,180,180,0.42);
}
*::-webkit-scrollbar-corner {
  background: rgba(0,0,0,0.02);
}

/* ── III. HEADER (Nav-Ax) ── */
.Nav-Ax {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  min-height: clamp(4rem, 8svh, 9rem);
}

/* 5header.png IS the header — logo already baked in */
.Nav-Ax::before {
  content: "";
  position: absolute; inset: 0;
  background: url("assets/5header.png") right top / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

/* Subtle bottom fade only — so nav links stay readable */
.Nav-Ax::after {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.45));
  pointer-events: none;
}

.Nav-Bx {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* ← anchor to right */
  justify-content: flex-end; /* ← anchor to bottom */
  height: 100%;
  min-height: inherit;
  gap: 0.5rem;
}

.Nav-List-Cx {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  width: auto; /* ← don't stretch full width */
  max-width: 680px;
}

/* Hide the injected brand img — logo is already in 5header.png */
.Nav-Brand-Cx {
  display: none;
}


.Nav-Item-Dx {
  position: relative;
  text-align: center;
}

.Nav-Link-Dx {
  display: inline-block;
  padding: 0.28rem 0;
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  transition: color var(--dur-fast) ease;
  position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7);
}
.Nav-Link-Dx::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--dur-med) ease;
}
.Nav-Link-Dx:hover,
.Nav-Item-Dx.is-Ax .Nav-Link-Dx { color: var(--accent); }
.Nav-Link-Dx:hover::after,
.Nav-Item-Dx.is-Ax .Nav-Link-Dx::after { width: 100%; }

/* Dropdown */
.Nav-Drop-Dx {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(4, 8, 16, 0.95);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  padding: 0.6rem 0;
  display: none;
  z-index: 10;
}
.Nav-Item-Dx:hover .Nav-Drop-Dx,
.Nav-Item-Dx:focus-within .Nav-Drop-Dx { display: block; }

.Nav-Drop-Link-Ex {
  display: block;
  padding: 0.32rem 1.1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  line-height: 1.65;
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
  white-space: nowrap;
}
.Nav-Drop-Link-Ex:hover {
  color: var(--accent);
  padding-left: 1.4rem;
}

/* Dropdown */
.Nav-Drop-Dx {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(4, 8, 16, 0.95);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  padding: 0.6rem 0;
  display: none;
  z-index: 10;
}
.Nav-Item-Dx:hover .Nav-Drop-Dx,
.Nav-Item-Dx:focus-within .Nav-Drop-Dx { display: block; }

.Nav-Drop-Link-Ex {
  display: block;
  padding: 0.32rem 1.1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  line-height: 1.65;
  transition: color var(--dur-fast) ease, padding-left var(--dur-fast) ease;
  white-space: nowrap;
}
.Nav-Drop-Link-Ex:hover {
  color: var(--accent);
  padding-left: 1.4rem;
}

/* ── IV. FOOTER (Foot-Ax) ── */
.Foot-Ax {
  background: #020305;
  border-top: 1px solid var(--line);
}
.Foot-Bx {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
}

.Foot-Brand-Cx {
  display: flex;
  justify-content: center;
  margin-bottom: 1.8rem;
}
.Foot-Brand-Cx img {
  width: clamp(180px, 24vw, 320px);
  height: auto;
  filter: drop-shadow(0 0 10px rgba(212,134,49,0.14));
  transition: filter var(--dur-slow) ease;
}
.Foot-Brand-Cx img:hover {
  filter: drop-shadow(0 0 26px rgba(212,134,49,0.36));
}

.Foot-Grid-Cx {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-bottom: 1.8rem;
}

.Foot-Col-Dx h4 {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.7rem;
}
.Foot-Link-Ex {
  display: block;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  transition: color var(--dur-fast) ease;
}
.Foot-Link-Ex:hover { color: var(--accent); }

.Foot-Copy-Cx {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ── V. SHARED EDITORIAL BLOCKS ── */

/* Full-bleed helper */
.Bleed-Ax {
  margin-left: calc(-1 * var(--gutter) - max(0px, (100vw - var(--max)) / 2));
  margin-right: calc(-1 * var(--gutter) - max(0px, (100vw - var(--max)) / 2));
}

/* Image break — cinematic */
.ImgBreak-Ax {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
}
.ImgBreak-Ax img {
  width: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.88);
  transition: filter 1.4s ease;
  will-change: transform;
}
.ImgBreak-Ax:hover img { filter: brightness(0.88) saturate(1.05); }
.ImgBreak-Tall-Ax { max-height: 540px; }
.ImgBreak-Tall-Ax img { height: 540px; object-fit: cover; }

/* Pull quote band */
.PullBand-Ax {
  background: #000;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 5rem var(--gutter);
  text-align: center;
}
.PullBand-Ax p {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 400;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: 0.01em;
}
.PullBand-Ax p .Hi { color: var(--accent); font-style: italic; }
.PullBand-Ax p .Alt { color: var(--accent-b); font-style: normal; }

/* Split feature */
.Split-Ax {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  align-items: stretch;
}
.Split-Rev-Ax { direction: rtl; }
.Split-Rev-Ax > * { direction: ltr; }

.Split-Img-Bx {
  overflow: hidden;
  position: relative;
}
.Split-Img-Bx img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.70) saturate(0.85);
  transition: filter 1.2s ease, transform 1.8s ease;
  will-change: transform;
}
.Split-Img-Bx:hover img {
  filter: brightness(0.88) saturate(1.05);
  transform: scale(1.04);
}

.Split-Copy-Bx {
  background: #000;
  padding: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
}
.Split-Copy-Bx .Label-Cx {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.Split-Copy-Bx h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  color: #fff;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}
.Split-Copy-Bx p {
  color: var(--muted);
  font-size: clamp(0.97rem, 1.2vw, 1.08rem);
  line-height: 1.78;
  margin-bottom: 1rem;
}
.Split-Copy-Bx p:last-child { margin-bottom: 0; }
.Split-Copy-Bx ul { margin-top: 1rem; }
.Split-Copy-Bx li {
  color: var(--muted);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.72;
  padding-left: 1.2rem;
  position: relative;
}
.Split-Copy-Bx li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.34em;
}

/* Feature grid */
.FeatGrid-Ax {
  background: #000;
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  display: grid;
  gap: 2.5rem;
}
.FeatGrid-2-Ax { grid-template-columns: repeat(2, 1fr); }
.FeatGrid-3-Ax { grid-template-columns: repeat(3, 1fr); }

.Feat-Bx .Label-Cx {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.Feat-Bx h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.55rem);
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.9rem;
}
.Feat-Bx p {
  color: var(--muted);
  font-size: clamp(0.94rem, 1.15vw, 1.04rem);
  line-height: 1.76;
}

/* Ambient image section */
.Ambient-Ax {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.Ambient-Bg-Bx {
  position: absolute; inset: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: brightness(0.26) saturate(0.65);
  transition: filter 1.4s ease;
  will-change: transform;
}
.Ambient-Ax:hover .Ambient-Bg-Bx { filter: brightness(0.38) saturate(0.85); }

.Ambient-Copy-Bx {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter);
  max-width: 700px;
}
.Ambient-Copy-Bx h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}
.Ambient-Copy-Bx p {
  font-size: clamp(0.97rem, 1.3vw, 1.14rem);
  color: var(--muted);
  line-height: 1.76;
  margin-bottom: 1rem;
}

/* Screenshot block */
.Screen-Ax {
  background: #000;
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.Screen-Cap-Bx {
  text-align: center;
  max-width: 560px;
}
.Screen-Cap-Bx .Label-Cx {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.Screen-Cap-Bx p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.Screen-Frame-Bx {
  width: min(92vw, 1100px);
  border: 1px solid var(--line);
  box-shadow: 0 32px 80px rgba(0,0,0,0.72), 0 0 0 1px rgba(212,134,49,0.07);
  overflow: hidden;
  transition: box-shadow 0.7s ease, transform 0.7s ease;
}
.Screen-Frame-Bx:hover {
  box-shadow: 0 44px 100px rgba(0,0,0,0.82), 0 0 0 1px rgba(212,134,49,0.18);
  transform: translateY(-5px);
}
.Screen-Frame-Bx img {
  width: 100%; height: auto;
  filter: brightness(0.92);
  transition: filter 0.7s ease;
}
.Screen-Frame-Bx:hover img { filter: brightness(1); }

/* Content card */
.Card-Ax {
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  padding: clamp(1.8rem, 3vw, 2.8rem);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease,
    border-color var(--dur-med) ease,
    box-shadow var(--dur-med) ease;
}
.Card-Ax.in-Ax {
  opacity: 1;
  transform: translateY(0);
}
.Card-Ax::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,134,49,0.05), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.Card-Ax:hover {
  border-color: rgba(212,134,49,0.22);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(212,134,49,0.07);
}
.Card-Ax:hover::before { opacity: 1; }

.Card-Ax h2 {
  font-size: clamp(1.1rem, 1.75vw, 1.45rem);
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.Card-Ax p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 0.7rem;
}
.Card-Ax p:last-child { margin-bottom: 0; }
.Card-Ax strong { color: rgba(255,255,255,0.92); }
.Card-Ax ul { margin: 0.6rem 0 0.8rem; }
.Card-Ax li {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  padding-left: 1rem;
  position: relative;
}
.Card-Ax li::before {
  content: "–";
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 0.78rem;
}

/* Back button (policy pages) */
.BackBtn-Ax {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
  margin: 1.5rem 0 2rem;
}
.BackBtn-Ax:hover { border-color: var(--accent); color: var(--accent); }

/* Floating CTA */
.FloatCta-Ax {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 200;
  padding: 0.82rem 1.2rem;
  border: 1px solid rgba(212,134,49,0.42);
  background: rgba(6,8,12,0.88);
  color: #f7ead0;
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
  animation: CtaPulse-Kf 5s ease-in-out infinite;
}
.FloatCta-Ax:hover {
  border-color: var(--accent);
  background: rgba(212,134,49,0.14);
  transform: translateY(-2px);
}

@keyframes CtaPulse-Kf {
  0%, 100% { box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 0 rgba(212,134,49,0); }
  50%       { box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 0 6px rgba(212,134,49,0.12); }
}

/* ── VI. SHARED TYPE UTILITIES ── */
.Kicker-Ax {
  display: block;
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.Display-Ax {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 4.4rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.08;
  letter-spacing: 0.04em;
  margin-bottom: 1.2rem;
}
.Heading-Ax {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
}
.Lead-Ax {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.58;
  margin-bottom: 0.9rem;
}
.Para-Ax {
  font-size: clamp(0.97rem, 1.2vw, 1.07rem);
  color: var(--muted);
  line-height: 1.74;
  margin-bottom: 1rem;
}
.List-Ax { margin-top: 0.9rem; }
.List-Ax li {
  color: rgba(216,201,150,0.8);
  font-size: clamp(0.94rem, 1.1vw, 1.03rem);
  line-height: 1.72;
  padding-left: 1.1rem;
  position: relative;
}
.List-Ax li::before {
  content: "—";
  position: absolute; left: 0;
  color: var(--accent);
  font-size: 0.7rem;
  top: 0.34em;
}

/* Roman numeral accent */
.Roman-Ax {
  font-family: var(--serif);
  color: rgba(255,255,255,0.18);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  display: block;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Section anchor offset */
.Anchor-Ax { scroll-margin-top: 140px; }

/* Dark spacer */
.Spacer-Ax {
  background: #000;
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ── VII. BREATHING ANIMATIONS ── */

/* Global soft breathe — applied to bg images */
@keyframes Breathe-Kf {
  from { transform: scale(1.0) translate3d(0, 0, 0); }
  to   { transform: scale(1.04) translate3d(0, -8px, 0); }
}
@keyframes BreatheAlt-Kf {
  from { transform: scale(1.02) translate3d(-6px, 0, 0); }
  to   { transform: scale(1.06) translate3d(6px, -10px, 0); }
}
@keyframes FloatUp-Kf {
  from { transform: translateY(0); }
  to   { transform: translateY(-7px); }
}
@keyframes GlowPulse-Kf {
  from { opacity: 0.6; }
  to   { opacity: 1; }
}
@keyframes FadeUp-Kf {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Apply breathing to editorial images */
.ImgBreak-Ax img,
.Split-Img-Bx img {
  animation: Breathe-Kf 18s ease-in-out infinite alternate;
}
.Ambient-Bg-Bx {
  animation: BreatheAlt-Kf 24s ease-in-out infinite alternate;
}
.Screen-Frame-Bx {
  animation: FloatUp-Kf 9s ease-in-out infinite alternate;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .ImgBreak-Ax img,
  .Split-Img-Bx img,
  .Ambient-Bg-Bx,
  .Screen-Frame-Bx,
  .FloatCta-Ax { animation: none; }
}

/* ── VIII. PAGE SHELL ── */
.Shell-Ax {
  min-height: 100vh;
  background: var(--bg);
  overflow-x: hidden;
}

/* Main content wrapper */
.Main-Ax {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 6vw, 5rem);
}

/* Card grid */
.CardGrid-Ax {
  display: grid;
  gap: 1.4rem;
  margin-top: 1.4rem;
}

/* ── IX. RESPONSIVE ── */
@media (max-width: 1400px) {
  .Bleed-Ax {
    margin-left: calc(-1 * var(--gutter));
    margin-right: calc(-1 * var(--gutter));
  }
}

@media (max-width: 960px) {
  .Split-Ax,
  .Split-Rev-Ax {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .Split-Img-Bx { min-height: 280px; max-height: 360px; }
  .FeatGrid-2-Ax,
  .FeatGrid-3-Ax { grid-template-columns: 1fr; gap: 2rem; }
  .PullBand-Ax { padding: 3.5rem var(--gutter); }
  .Foot-Grid-Cx { grid-template-columns: repeat(2, 1fr); }
  .Nav-List-Cx { max-width: 100%; }
}

@media (max-width: 640px) {
  .Nav-Brand-Cx img { width: min(72vw, 300px); }
  .Nav-List-Cx { grid-template-columns: repeat(2, 1fr); gap: 0.3rem 0.5rem; }
  .Nav-Link-Dx { font-size: 0.82rem; letter-spacing: 0.08em; }
  .Nav-Drop-Dx { display: none !important; }
  .ImgBreak-Tall-Ax, .ImgBreak-Tall-Ax img { max-height: 220px; height: 220px; }
  .Split-Img-Bx { min-height: 200px; max-height: 240px; }
  .Split-Copy-Bx { padding: 2.2rem 1.2rem; }
  .PullBand-Ax { padding: 2.5rem 1.2rem; }
  .PullBand-Ax p { font-size: clamp(1.2rem, 4.5vw, 1.65rem); }
  .Ambient-Ax { min-height: 300px; }
  .Ambient-Copy-Bx { padding: 2rem 1.2rem; }
  .FeatGrid-Ax { padding: 2.5rem 1.2rem; }
  .Foot-Grid-Cx { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .FloatCta-Ax { left: 1rem; right: 1rem; text-align: center; bottom: 1rem; }
}