/* ── Audio experience case study ──
   Same system as the other cases: white ground, Space Grotesk headings,
   Manrope body, 13px uppercase labels, 16px media radii, #0d0d0d dark
   sections. The Denon accent survives only where it carries meaning —
   "after" markers, the palette swatch — the way ym.css uses its award red. */

:root {
  --ae-accent: #ED4D33;
  --ae-line: rgba(0, 0, 0, 0.08);
  --ae-line-dark: rgba(255, 255, 255, 0.12);
}

.case-hero { max-width: none; }

.case-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 80px;
  align-items: start;
}

/* ─────────────────────────────────────────────
   Typography
───────────────────────────────────────────── */
.ae-label {
  font-size: 13px;
  font-weight: 700;
  color: #8a8a8a;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ae-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  color: #000;
}

.ae-title--lg { font-size: 52px; }

.ae-sub {
  font-size: 20px;
  line-height: 1.6;
  color: #5a5a5a;
  max-width: 760px;
}

.ae-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
}

.ae-text-block--wide { max-width: 1000px; }

/* Label sitting beside a tag, e.g. "09 — Automotive HMI  CONCEPT" */
.ae-label-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ─────────────────────────────────────────────
   Section — a label/title/body group plus its content
───────────────────────────────────────────── */
.ae-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ─────────────────────────────────────────────
   Tags
───────────────────────────────────────────── */
.ae-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.06);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
  width: fit-content;
}

.ae-tag--ink   { background: #0d0d0d; color: #fff; }
.ae-tag--accent{ background: var(--ae-accent); color: #fff; }

.ae-dark .ae-tag {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

.ae-dark .ae-tag--ink {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ae-dark .ae-tag--accent { background: var(--ae-accent); color: #fff; }

/* ─────────────────────────────────────────────
   Card grids
───────────────────────────────────────────── */
.ae-grid {
  display: grid;
  gap: 16px;
}

.ae-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ae-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ae-grid--4 { grid-template-columns: repeat(4, 1fr); }

.ae-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  border: 1px solid var(--ae-line);
  border-radius: 16px;
  background: #fff;
}

.ae-card p {
  font-size: 16px;
  line-height: 1.65;
  color: #5a5a5a;
}

.ae-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
  color: #000;
}

.ae-card-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #b5b5b5;
}

.ae-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 26px;
}

.ae-dark .ae-card {
  background: transparent;
  border-color: var(--ae-line-dark);
}

.ae-dark .ae-card-title { color: #fff; }
.ae-dark .ae-card p     { color: rgba(255, 255, 255, 0.62); }
.ae-dark .ae-card-num   { color: rgba(255, 255, 255, 0.38); }

/* ─────────────────────────────────────────────
   Dark section — same treatment as .dn-dark-section / .ym-dark
───────────────────────────────────────────── */
.ae-dark {
  background: #0d0d0d;
  border-radius: 20px;
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ae-dark .ae-label { color: rgba(255, 255, 255, 0.4); }
.ae-dark .ae-title { color: #fff; }
.ae-dark .ae-sub,
.ae-dark .case-body { color: rgba(255, 255, 255, 0.65); }

/* ─────────────────────────────────────────────
   Rule row — a label, a hairline, a count
───────────────────────────────────────────── */
.ae-rule-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.ae-rule-row span:first-child {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.ae-rule-row i {
  flex: 1;
  height: 1px;
  background: var(--ae-line-dark);
}

.ae-rule-row span:last-child {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   Session clips — click-to-load Vimeo façade
───────────────────────────────────────────── */
.ae-sessions {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
}

.ae-sessions > li { display: flex; }

.ae-session {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.ae-session img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.ae-session:hover img,
.ae-session:focus-visible img { opacity: 1; transform: scale(1.03); }

.ae-session:focus-visible { outline: 2px solid #fff; outline-offset: -3px; }

.ae-session-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.ae-session-play::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 0;
  height: 0;
  border-left: 14px solid #000;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  transform: translateX(3px);
}

.ae-session-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.ae-session-frame {
  width: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 12px;
  display: block;
}

/* ─────────────────────────────────────────────
   Figure + caption
───────────────────────────────────────────── */
.ae-figure { margin: 0; }

.ae-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  background: #f1f2f4;
}

.ae-figure figcaption {
  font-size: 14px;
  line-height: 1.6;
  color: #8a8a8a;
  margin-top: 14px;
}

.ae-dark .ae-figure figcaption { color: rgba(255, 255, 255, 0.5); }
.ae-figure figcaption strong { color: #2a2a2a; font-weight: 700; }
.ae-dark .ae-figure figcaption strong { color: rgba(255, 255, 255, 0.85); }

/* ─────────────────────────────────────────────
   Note — a tag and a paragraph, set off by a rule
───────────────────────────────────────────── */
.ae-note {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding-top: 28px;
  border-top: 1px solid var(--ae-line);
}

.ae-note p {
  font-size: 16px;
  line-height: 1.7;
  color: #5a5a5a;
  max-width: 760px;
}

.ae-dark .ae-note { border-top-color: var(--ae-line-dark); }
.ae-dark .ae-note p { color: rgba(255, 255, 255, 0.62); }

/* ─────────────────────────────────────────────
   Process steps
───────────────────────────────────────────── */
.ae-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ae-line);
  border-radius: 16px;
  overflow: hidden;
}

.ae-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 32px 28px 36px;
  border-right: 1px solid var(--ae-line);
  border-bottom: 1px solid var(--ae-line);
}

/* Two rows of four: kill the trailing borders on the outer edges. */
.ae-step:nth-child(4n) { border-right: none; }
.ae-step:nth-last-child(-n + 3) { border-bottom: none; }

.ae-step--wide { grid-column: span 2; }

.ae-step-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b5b5b5;
}

.ae-step-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #000;
}

.ae-step-body {
  font-size: 15px;
  line-height: 1.6;
  color: #5a5a5a;
}

/* ─────────────────────────────────────────────
   Before / after comparisons
───────────────────────────────────────────── */
.ae-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.ae-compare-head {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.ae-compare-caption {
  font-size: 15px;
  color: #8a8a8a;
}

.ae-phone {
  position: relative;
  width: 300px;
  margin: 0 auto;
}

.ae-phone img,
.ae-phone video {
  display: block;
  width: 300px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.16));
}

/* Screen recordings carry a baked-in white background, unlike the transparent
   PNG exports — multiply drops it into the page, and the shadow goes with it. */
.ae-phone--rec img,
.ae-phone--rec video {
  mix-blend-mode: multiply;
  filter: none;
}

.ae-compare-note {
  margin-top: 30px;
  font-size: 15px;
  line-height: 1.65;
  color: #5a5a5a;
}

.ae-compare-note strong { color: #000; font-weight: 700; }

/* Numbered overlay markers, positioned per-instance with --top. */
.ae-marker {
  position: absolute;
  left: 6%;
  top: var(--top);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #0d0d0d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.ae-marker--accent {
  background: var(--ae-accent);
  box-shadow: 0 6px 16px rgba(237, 77, 51, 0.4);
}

.ae-legend {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ae-legend li {
  display: flex;
  gap: 13px;
}

.ae-legend p {
  font-size: 15px;
  line-height: 1.6;
  color: #5a5a5a;
}

.ae-legend p strong { color: #000; font-weight: 700; }

.ae-legend-dot {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d0d0d;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.ae-legend--after .ae-legend-dot { background: var(--ae-accent); }

/* ─────────────────────────────────────────────
   End-to-end flow strips
───────────────────────────────────────────── */
.ae-flow-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--ae-line);
  border-radius: 16px;
  background: #fff;
}

/* The inherited strip sits unframed so the redesigned one reads as the subject. */
.ae-flow-card--muted {
  background: transparent;
  border-style: dashed;
}

.ae-flow-card img {
  display: block;
  width: 100%;
  height: auto;
}

.ae-flow-captions {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--ae-line);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.ae-flow-captions-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b5b5b5;
  margin-bottom: 6px;
}

.ae-flow-captions-label {
  font-size: 14px;
  font-weight: 700;
  color: #000;
}

/* ─────────────────────────────────────────────
   Visual language — specimens & palette
───────────────────────────────────────────── */
.ae-specimen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ae-specimen {
  padding: 40px;
  border: 1px solid var(--ae-line);
  border-radius: 16px;
  background: #fff;
}

.ae-specimen-aa {
  font-family: Archivo, 'Space Grotesk', sans-serif;
  font-size: 92px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  margin: 24px 0 12px;
}

.ae-specimen-mono {
  font-family: 'Space Mono', ui-monospace, Menlo, monospace;
  font-size: 32px;
  font-weight: 400;
  color: #000;
  margin-bottom: 10px;
}

.ae-specimen-caption {
  font-size: 15px;
  color: #8a8a8a;
}

.ae-specimen-caption + .ae-specimen-mono { margin-top: 30px; }

.ae-motif {
  padding: 40px;
  border-radius: 16px;
  background: #0d0d0d;
  overflow: hidden;
}

.ae-motif .ae-label { color: rgba(255, 255, 255, 0.4); }

.ae-motif-grid {
  width: 100%;
  height: 150px;
  margin-top: 24px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.4px, transparent 1.5px);
  background-size: 16px 16px;
}

.ae-motif-caption {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

.ae-palette {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ae-swatch {
  height: 132px;
  padding: 16px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 2px;
}

.ae-swatch span {
  font-size: 13px;
  font-weight: 700;
}

.ae-swatch span + span { font-size: 12px; font-weight: 400; }

.ae-swatch--ink    { background: #0B131A; color: #fff; }
.ae-swatch--accent { background: #ED4D33; color: #fff; }
.ae-swatch--amber  { background: #FFA806; color: #0B131A; }
.ae-swatch--mist   { background: #EAEDF1; color: #0B131A; }
.ae-swatch--paper  { background: #F4F1EA; color: #0B131A; border: 1px solid var(--ae-line); }

.ae-swatch--ink span + span    { color: rgba(255, 255, 255, 0.6); }
.ae-swatch--accent span + span { color: rgba(255, 255, 255, 0.75); }
.ae-swatch--amber span + span,
.ae-swatch--mist span + span,
.ae-swatch--paper span + span  { color: rgba(11, 19, 26, 0.6); }

/* ─────────────────────────────────────────────
   Sound, voice & motion
───────────────────────────────────────────── */
.ae-sensory {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 40px;
  border: 1px solid var(--ae-line);
  border-radius: 16px;
  background: #fff;
}

.ae-sensory > p {
  font-size: 16px;
  line-height: 1.7;
  color: #5a5a5a;
}

.ae-eq {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 88px;
  margin: 14px 0 10px;
}

.ae-eq span {
  flex: 1;
  height: 100%;
  border-radius: 3px;
  background: #d6d6d6;
  transform-origin: bottom;
  animation: ae-eq 1.1s ease-in-out infinite;
}

.ae-eq span:nth-child(3),
.ae-eq span:nth-child(5),
.ae-eq span:nth-child(7) { background: #0d0d0d; }
.ae-eq span:nth-child(2) { animation-delay: 0.15s; }
.ae-eq span:nth-child(3) { animation-delay: 0.3s; }
.ae-eq span:nth-child(4) { animation-delay: 0.45s; }
.ae-eq span:nth-child(5) { animation-delay: 0.6s; }
.ae-eq span:nth-child(6) { animation-delay: 0.75s; }
.ae-eq span:nth-child(7) { animation-delay: 0.9s; }
.ae-eq span:nth-child(8) { animation-delay: 1.05s; }

.ae-pulse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 88px;
  margin: 14px 0 10px;
}

.ae-pulse span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d6d6d6;
  animation: ae-pulse 1.4s ease-in-out infinite;
}

.ae-pulse span:nth-child(2),
.ae-pulse span:nth-child(4) { background: #0d0d0d; }
.ae-pulse span:nth-child(2) { animation-delay: 0.2s; }
.ae-pulse span:nth-child(3) { animation-delay: 0.4s; }
.ae-pulse span:nth-child(4) { animation-delay: 0.6s; }
.ae-pulse span:nth-child(5) { animation-delay: 0.8s; }

@keyframes ae-eq {
  0%, 100% { transform: scaleY(0.22); }
  50%      { transform: scaleY(1); }
}

@keyframes ae-pulse {
  0%, 100% { transform: scale(0.7); opacity: 0.45; }
  50%      { transform: scale(1);   opacity: 1; }
}

.ae-rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.ae-rows li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ae-line);
}

.ae-rows li:first-child { border-top: 1px solid var(--ae-line); }
.ae-rows--spec li { justify-content: space-between; }

.ae-rows-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #b5b5b5;
}

.ae-rows-quote { font-size: 15px; color: #2a2a2a; }
.ae-rows-name  { font-size: 15px; font-weight: 700; color: #000; }
.ae-rows-value { font-size: 14px; color: #8a8a8a; }

/* ─────────────────────────────────────────────
   Entry point to the sibling Denon Automotive case
───────────────────────────────────────────── */
.ae-entry {
  position: relative;
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0d0d;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.3s ease;
}

.ae-entry-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 1.4px, transparent 1.5px);
  background-size: 16px 16px;
  opacity: 0.16;
  -webkit-mask-image: linear-gradient(90deg, transparent 22%, #000 92%);
  mask-image: linear-gradient(90deg, transparent 22%, #000 92%);
  z-index: -1;
}

.ae-entry:hover { transform: translateY(-3px); }

.ae-entry:focus-visible { outline: 2px solid #0d0d0d; outline-offset: 3px; }

.ae-entry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 44px 48px 40px;
}

.ae-entry-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.ae-entry-title {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}

.ae-entry-sub {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

/* Same disc as the footer and .ym-cta buttons. */
.ae-entry-go {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.ae-entry-go svg { width: 16px; height: 16px; }

.ae-entry:hover .ae-entry-go {
  transform: translateX(5px);
  background: #fff;
  border-color: #fff;
  color: #000;
}

.ae-entry-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 48px 22px;
  border-top: 1px solid var(--ae-line-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ─────────────────────────────────────────────
   Press quotes
───────────────────────────────────────────── */
.ae-quote {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px 32px;
  border: 1px solid var(--ae-line-dark);
  border-radius: 16px;
}

.ae-quote blockquote {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.ae-quote--after blockquote { color: #fff; }

.ae-quote figcaption {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.ae-quote cite { font-style: normal; }

/* ─────────────────────────────────────────────
   Closing status board
───────────────────────────────────────────── */
.ae-status-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--ae-line-dark);
  border-radius: 16px;
  overflow: hidden;
}

.ae-status {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 28px;
  border-right: 1px solid var(--ae-line-dark);
}

.ae-status:last-child { border-right: none; }

.ae-status-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.ae-status-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.ae-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--ae-accent);
  flex-shrink: 0;
}

.ae-status-dot--amber   { background: #FFA806; }
.ae-status-dot--success { background: #4ADE80; }

/* ── Fade-in on scroll ── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(.22, .61, .36, 1),
              transform 0.7s cubic-bezier(.22, .61, .36, 1);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in, .hero-anim {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .ae-eq span, .ae-pulse span { animation: none; }
  .ae-eq span { transform: scaleY(0.6); }
}

/* ── Site footer (full-bleed below the case content) ── */
.site-footer { background: #141211; width: 100%; }

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 64px 48px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.footer-cta { display: flex; flex-direction: column; gap: 48px; }

.footer-heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.footer-h-row { display: flex; align-items: flex-end; }

.footer-cycle-wrap {
  overflow: hidden;
  display: inline-block;
  height: 1.05em;
  vertical-align: bottom;
}

.footer-cycle-track { display: flex; flex-direction: column; }

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 24px;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  color: #fff;
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: border-color 0.2s, background 0.2s;
}

.footer-btn:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.05);
}

.footer-btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transform: rotate(-45deg);
}

.footer-btn-icon svg { width: 16px; height: 16px; fill: #000; }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 8px;
}

.footer-email {
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-email:hover { opacity: 0.55; }

.footer-socials { display: flex; gap: 10px; }

.footer-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s;
}

.footer-social-btn:hover { border-color: #fff; }

.footer-social-btn svg { width: 20px; height: 20px; fill: #fff; }

.footer-copyright { padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.07); }

.footer-copyright p { font-size: 14px; color: rgba(255, 255, 255, 0.3); }

/* ─────────────────────────────────────────────
   Responsive
───────────────────────────────────────────── */
@media (max-width: 1000px) {
  .ae-grid--4, .ae-steps { grid-template-columns: repeat(2, 1fr); }
  .ae-step:nth-child(4n) { border-right: 1px solid var(--ae-line); }
  .ae-step:nth-child(2n) { border-right: none; }
  /* Step 07 spans both columns, so its right edge is the container's. */
  .ae-step--wide { border-right: none; }
  .ae-step:nth-last-child(-n + 3) { border-bottom: 1px solid var(--ae-line); }
  .ae-step:last-child { border-bottom: none; }
  .ae-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .ae-palette { grid-template-columns: repeat(3, 1fr); }
  .ae-title--lg { font-size: 40px; }
}

@media (max-width: 767px) {
  .case-content { padding: 40px 20px 80px; gap: 48px; }
  .case-hero-title { font-size: 36px; }
  .case-meta { grid-template-columns: 1fr; gap: 32px; }
  .ae-title, .ae-title--lg { font-size: 28px; }
  .ae-sub { font-size: 17px; }
  .ae-dark { padding: 32px 24px; gap: 32px; }
  .ae-grid--2, .ae-grid--3, .ae-grid--4 { grid-template-columns: 1fr; }
  .ae-steps { grid-template-columns: 1fr; }
  .ae-step { border-right: none !important; border-bottom: 1px solid var(--ae-line) !important; }
  .ae-step:last-child { border-bottom: none !important; }
  .ae-step--wide { grid-column: span 1; }
  .ae-compare { grid-template-columns: 1fr; gap: 56px; }
  .ae-sessions { grid-template-columns: 1fr; }
  .ae-specimen-grid { grid-template-columns: 1fr; }
  .ae-palette { grid-template-columns: repeat(2, 1fr); }
  .ae-flow-captions { grid-template-columns: repeat(2, 1fr); }
  .ae-flow-card, .ae-card, .ae-specimen, .ae-sensory { padding: 24px; }
  .ae-status-board { grid-template-columns: 1fr; }
  .ae-status { border-right: none; border-bottom: 1px solid var(--ae-line-dark); }
  .ae-status:last-child { border-bottom: none; }
  .ae-entry-row { flex-direction: column; align-items: flex-start; gap: 28px; padding: 32px 24px; }
  .ae-entry-meta { flex-direction: column; gap: 8px; padding: 16px 24px 20px; }
  .ae-note { flex-direction: column; gap: 14px; }
  .ae-rule-row { flex-wrap: wrap; gap: 12px; }
  .ae-rule-row i { display: none; }
  .footer-inner { padding: 64px 20px 40px; gap: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 28px; }
}
