/* CDSFM website
   Layout: dark indigo header, hero and footer frame light content sections.
   Hero and page photos fade into the indigo so the page reads as one surface. */

:root {
  --ink: #13112b;
  --ink-2: #1d1b3d;
  --ink-line: rgba(255, 255, 255, 0.14);
  --on-ink: #f4f3fb;
  --on-ink-2: #bbb9d3;
  --paper: #ffffff;
  --mist: #f4f5fa;
  --text: #1a1933;
  --text-2: #54536b;
  --line: #e2e3ee;
  --line-strong: #c7c8da;
  --flame: #f08a3c;
  --flame-hover: #f79c57;
  --flame-deep: #b24710;
  --whatsapp: #1c9c52;
  --radius: 16px;
  --header-h: 76px;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --display: 'Plus Jakarta Sans', 'DM Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--flame-deep); outline-offset: 3px; }
.on-ink :focus-visible { outline-color: var(--flame); }

.shell { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
@media (min-width: 700px) { .shell { width: min(1200px, calc(100% - 64px)); } }

.skip-link {
  position: fixed; top: 12px; left: 16px; z-index: 100;
  padding: 12px 16px; border-radius: 10px;
  background: #fff; color: var(--ink); font: 600 14px/1.2 var(--sans);
  transform: translateY(-200%); transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; }

.i { width: 20px; height: 20px; flex: none; }

/* ---------- Type ---------- */
.eyebrow {
  font: 600 13px/1.4 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--flame-deep);
}
.on-ink .eyebrow { color: var(--flame); }
h1, h2, h3 { font-family: var(--display); color: inherit; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -0.028em; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-2); }
.on-ink .lead { color: var(--on-ink-2); }
.prose p { color: var(--text-2); font-size: 17px; line-height: 1.75; max-width: 62ch; }
.prose p + p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font: 600 15px/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn .i { width: 18px; height: 18px; transition: transform 0.2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--flame); color: var(--ink); }
.btn-primary:hover { background: var(--flame-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.32); color: #fff; }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.08); }
.btn-outline { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.3 var(--sans); color: var(--text); }
.link-arrow .i { width: 18px; height: 18px; color: var(--flame-deep); transition: transform 0.2s var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink); color: var(--on-ink);
  border-bottom: 1px solid var(--ink-line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.brand-text { display: grid; min-width: 0; line-height: 1.2; }
.brand-name { font: 800 18px/1.1 var(--display); letter-spacing: 0.02em; color: #fff; }
.brand-sub { margin-top: 3px; font: 400 12px/1.3 var(--sans); color: var(--on-ink-2); }
.nav-links { display: flex; align-items: center; gap: 28px; font: 500 15px/1.4 var(--sans); color: var(--on-ink-2); }
.nav-links a { position: relative; padding: 8px 0; transition: color 0.2s var(--ease); }
.nav-links a:hover { color: #fff; }
.nav-links a[aria-current='page'] { color: #fff; }
.nav-links a[aria-current='page']::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--flame);
}
.nav-links .menu-cta { display: none; }
.menu-toggle {
  display: none; width: 44px; height: 44px; padding: 0; place-items: center;
  border: 1px solid var(--ink-line); border-radius: 50%; background: transparent; color: #fff; cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded='true'] .icon-open { display: none; }
.menu-toggle[aria-expanded='true'] .icon-close { display: block; }

/* ---------- Home hero ---------- */
.hero { background: var(--ink); color: var(--on-ink); }
.hero-main { position: relative; display: flex; align-items: center; min-height: 620px; overflow: hidden; }
.hero-stage { position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 920px); overflow: hidden; touch-action: pan-y; }
.slides { display: flex; height: 100%; transition: transform 0.9s cubic-bezier(0.65, 0, 0.25, 1); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-stage::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, var(--ink) 0, rgba(19, 17, 43, 0.92) 10%, rgba(19, 17, 43, 0.62) 26%, rgba(19, 17, 43, 0.2) 44%, rgba(19, 17, 43, 0) 62%),
    linear-gradient(0deg, var(--ink) 0, rgba(19, 17, 43, 0) 26%),
    linear-gradient(180deg, var(--ink) 0, rgba(19, 17, 43, 0) 16%);
}
.hero-copy { position: relative; z-index: 2; max-width: 640px; padding-block: 80px 104px; }
.hero h1 {
  margin: 18px 0 20px;
  font: 800 clamp(40px, 4.7vw, 64px)/1.04 var(--display);
  letter-spacing: -0.035em; color: #fff;
}
.hero h1 span { display: block; color: var(--flame); }
.hero .lead { max-width: 500px; margin-bottom: 32px; }
.hero-controls {
  position: absolute; z-index: 3; bottom: 28px;
  right: max(20px, calc((100% - 1200px) / 2));
  display: flex; align-items: center; gap: 18px;
}
.dots { display: flex; gap: 8px; }
.dot { position: relative; width: 28px; height: 4px; padding: 0; border: 0; border-radius: 4px; background: rgba(255, 255, 255, 0.3); cursor: pointer; transition: background-color 0.3s var(--ease); }
.dot::before { content: ''; position: absolute; inset: -12px -2px; }
.dot[aria-current='true'] { background: var(--flame); }
.ctl-group { display: flex; gap: 8px; }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 50%;
  background: rgba(19, 17, 43, 0.45); color: #fff; cursor: pointer;
  transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.7); }
.icon-btn .i { width: 18px; height: 18px; }
.icon-btn .icon-play { display: none; }
.icon-btn[aria-pressed='true'] .icon-pause { display: none; }
.icon-btn[aria-pressed='true'] .icon-play { display: block; }

.facts { border-top: 1px solid var(--ink-line); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { display: flex; align-items: center; gap: 16px; padding-block: 24px; min-width: 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--ink-line); }
.fact-icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--ink-line); border-radius: 50%; color: var(--flame); }
.fact small { display: block; font: 500 13px/1.3 var(--sans); color: var(--on-ink-2); }
.fact strong, .fact a { display: block; font: 600 16px/1.4 var(--display); color: #fff; }
.fact a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: var(--on-ink); }
.page-hero .shell { position: relative; z-index: 2; padding-block: clamp(56px, 8vw, 100px); }
.page-hero h1 { max-width: 14em; margin: 16px 0 16px; font: 800 clamp(36px, 4.8vw, 58px)/1.06 var(--display); letter-spacing: -0.032em; color: #fff; }
.page-hero .lead { max-width: 540px; }
.page-hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: min(46%, 640px); }
.page-hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0, rgba(19, 17, 43, 0.86) 14%, rgba(19, 17, 43, 0.45) 36%, rgba(19, 17, 43, 0) 62%),
    linear-gradient(0deg, var(--ink) 0, rgba(19, 17, 43, 0) 22%),
    linear-gradient(180deg, var(--ink) 0, rgba(19, 17, 43, 0) 18%);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-mist { background: var(--mist); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 12px; }
.section-head .lead { margin-top: 16px; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
.split-photo { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; }
.split h2 { margin-top: 12px; }
.split .prose, .split .lead { margin-top: 20px; }

/* Photo cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: block; }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
a.card:hover .card-media img { transform: scale(1.04); }
.card h3 { margin-top: 20px; }
.card p { margin-top: 8px; color: var(--text-2); }
.card .link-arrow { margin-top: 16px; }
a.card:focus-visible { outline-offset: 8px; border-radius: 4px; }

/* Portrait photo */
.portrait { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 20px; background: var(--mist); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }

/* Rows (programmes) */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); gap: 6px 32px; align-items: baseline; padding-block: 22px; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 19px; }
.row .note { margin-top: 4px; font-size: 15px; color: var(--text-2); }
.row .when { text-align: right; font-weight: 500; }
.row .when span { display: block; color: var(--text-2); font-weight: 400; font-size: 15px; }
.rows-foot { margin-top: 28px; }

/* Info list with icons */
.info-list { border-top: 1px solid var(--line); }
.info { display: flex; gap: 16px; align-items: flex-start; padding-block: 22px; border-bottom: 1px solid var(--line); }
.info-icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--flame-deep); }
.section-mist .info-icon { background: #fff; }
.info small { display: block; font: 500 13px/1.3 var(--sans); color: var(--text-2); }
.info strong, .info a { display: block; margin-top: 2px; font: 600 17px/1.45 var(--display); color: var(--text); }
.info a:hover { text-decoration: underline; text-underline-offset: 4px; }
.info p { margin-top: 2px; color: var(--text-2); font-size: 16px; }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.value-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--mist); color: var(--flame-deep); }
.value p { margin-top: 8px; color: var(--text-2); }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile figcaption {
  position: absolute; inset: auto 0 0; padding: 56px 20px 18px;
  background: linear-gradient(0deg, rgba(19, 17, 43, 0.82), rgba(19, 17, 43, 0));
  color: #fff; font: 600 15px/1.35 var(--display);
}

/* Profiles */
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.profile .portrait { aspect-ratio: 4 / 4.4; }
.profile h3 { margin-top: 20px; font-size: 22px; }
.profile p { margin-top: 6px; color: var(--text-2); }

.flyer { overflow: hidden; border-radius: 20px; background: var(--ink); }
.flyer img { width: 100%; height: auto; }

.map-panel { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: 0 12px 40px rgba(19, 17, 43, 0.08); }
.map-panel iframe { display: block; width: 100%; height: clamp(320px, 42vw, 480px); border: 0; background: var(--mist); }
.map-details { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px clamp(20px, 4vw, 40px); }
.map-details strong { display: block; font: 700 17px/1.4 var(--display); color: var(--text); }
.map-details p { margin-top: 4px; color: var(--text-2); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); }
.footer-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(56px, 8vw, 96px); border-bottom: 1px solid var(--ink-line); }
.footer-cta h2 { max-width: 15em; margin-top: 12px; font-weight: 800; letter-spacing: -0.032em; color: #fff; }
.footer-cta p { margin-top: 14px; color: var(--on-ink-2); font-size: 17px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 48px; padding-block: 56px 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 52px; height: 52px; }
.footer-brand strong { font: 700 16px/1.3 var(--display); color: #fff; }
.footer-about { max-width: 34ch; margin-top: 16px; color: var(--on-ink-2); font-size: 15px; }
.footer h3 { margin-bottom: 16px; font: 600 13px/1.4 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-2); }
.footer li + li { margin-top: 10px; }
.footer-list a { color: var(--on-ink); font-size: 15px; }
.footer-list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact { color: var(--on-ink); font-size: 15px; font-style: normal; }
.footer-contact li { color: var(--on-ink); }
.footer-contact small { display: block; color: var(--on-ink-2); font-size: 13px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; border-top: 1px solid var(--ink-line); color: var(--on-ink-2); font-size: 14px; }
.footer-plain .footer-grid { padding-top: 64px; }

.wa-float {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(19, 17, 43, 0.3);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .i { width: 28px; height: 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .brand-sub { display: none; }
  .nav-links { gap: 22px; }
}

@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 20px 28px; background: var(--ink); border-bottom: 1px solid var(--ink-line);
  }
  .site-header.is-open .nav-links { display: flex; }
  .nav-links a { padding: 16px 0; border-bottom: 1px solid var(--ink-line); font-size: 17px; }
  .nav-links a[aria-current='page']::after { display: none; }
  .nav-links a[aria-current='page'] { color: var(--flame); }
  .nav-links .menu-cta { display: inline-flex; margin-top: 20px; padding: 0 24px; border-bottom: 0; color: var(--ink); font-size: 15px; }
  .nav-links .menu-cta:hover { color: var(--ink); }

  .hero-main { --stage-h: clamp(300px, 80vw, 480px); display: block; min-height: 0; }
  .hero-stage { position: relative; width: 100%; height: var(--stage-h); }
  .hero-stage::after {
    background:
      linear-gradient(0deg, var(--ink) 0, rgba(19, 17, 43, 0.6) 22%, rgba(19, 17, 43, 0) 56%),
      linear-gradient(180deg, var(--ink) 0, rgba(19, 17, 43, 0) 14%);
  }
  .hero-copy { max-width: none; margin-top: -40px; padding-block: 0 48px; }
  .hero-controls { top: calc(var(--stage-h) - 112px); bottom: auto; right: 20px; }
  .facts-grid { grid-template-columns: 1fr; }
  .fact { padding-block: 18px; }
  .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--ink-line); }

  .page-hero-photo { display: none; }
  .split, .split-even, .split-photo { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .brand-name { font-size: 17px; }
  .hero-controls .dots { display: none; }
  .cards { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .profiles { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .row .when { text-align: left; }
  .btn-row .btn { flex: 1 1 100%; }
  .footer-cta .btn-row { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .map-details { align-items: stretch; flex-direction: column; }
  .map-details .btn { width: 100%; white-space: normal; text-align: center; line-height: 1.4; padding-block: 12px; }
  .tile figcaption { padding: 40px 14px 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
/* Unified CDSFM design refinement. */
:root{--paper:#fbfaf7;--mist:#f1eee8;--line:#e4e0d8;--text:#1a1933;--text-2:#54536b}
.shell{width:min(1440px,calc(100% - 64px))}
@media(min-width:1600px){.shell{width:min(1520px,calc(100% - 96px))}}
.eyebrow{letter-spacing:.02em;text-transform:none}
h2{font-weight:600;letter-spacing:-.02em}
h3{font-weight:600;letter-spacing:0}
.btn{border-radius:24px;min-height:48px;padding-inline:24px}
.btn-primary{color:#21182b}
.btn-ghost{color:#fff}
.hero-main{min-height:clamp(620px,calc(100vh - var(--header-h)),820px)}
.hero-stage{left:0;right:0;width:100%;height:100%}
.hero-stage::after{background:linear-gradient(90deg,rgba(19,17,43,.98) 0%,rgba(19,17,43,.91) 34%,rgba(19,17,43,.55) 56%,rgba(19,17,43,.08) 100%)}
.hero-copy{width:min(100%,720px);max-width:720px;padding-block:80px 104px}
.hero h1{font-weight:700;letter-spacing:-.03em}
.hero-controls{display:none!important}
.page-hero{min-height:480px;isolation:isolate}
.page-hero .shell{min-height:480px;display:flex;flex-direction:column;justify-content:center;width:min(1440px,calc(100% - 64px));padding-block:64px}
.page-hero h1{max-width:15ch;font-weight:700;letter-spacing:-.03em}
.page-hero .lead{max-width:48ch}
.page-hero-photo{z-index:-1;left:0;right:0;width:100%;height:100%}
.page-hero-photo img{object-position:center 38%;filter:saturate(.86)}
.page-hero-photo::after{background:linear-gradient(90deg,rgba(19,17,43,.97) 0%,rgba(19,17,43,.88) 35%,rgba(19,17,43,.52) 62%,rgba(19,17,43,.12) 100%),linear-gradient(0deg,rgba(19,17,43,.38),transparent 45%)}
.section-mist{background:var(--mist)}
.section{padding-block:clamp(56px,7vw,96px)}
.cards{gap:24px}
.card-media,.portrait,.tile{border-radius:12px}
.card-media img,.portrait img,.tile img{transition:transform .35s var(--ease)}
a.card:hover .card-media img{transform:scale(1.02)}
.footer{background:#17152e}
.footer-cta{width:100vw;margin:0 calc(50% - 50vw);padding:clamp(48px,6vw,80px) max(32px,calc((100vw - 1440px)/2));border:0;border-radius:0;background:#f1eee8;color:var(--text);box-shadow:none}
.footer-cta .eyebrow{color:var(--flame-deep)}
.footer-cta h2{color:var(--text);font-weight:600}
.footer-cta p{color:var(--text-2)}
.footer-cta .btn-ghost{border-color:var(--line-strong);color:var(--text);background:transparent}
.footer-cta .btn-ghost:hover{border-color:var(--text);background:#fff}
.footer-grid{grid-template-columns:minmax(0,1.2fr) minmax(200px,.8fr) minmax(0,1fr);gap:clamp(28px,4vw,56px)}
.footer-grid>div{min-width:0}
.footer-bottom{align-items:center;gap:12px 32px}
.footer-bottom>span:last-child{padding-right:84px;text-align:right}
.float-contact{z-index:60}
@media(max-width:900px){.shell{width:calc(100% - 48px)}.page-hero,.page-hero .shell{min-height:420px}.page-hero .shell{width:calc(100% - 48px)}.footer-grid{grid-template-columns:1fr 1fr;gap:32px}.footer-grid>:first-child{grid-column:1/-1}.footer-bottom>span:last-child{padding-right:72px}}
@media(max-width:700px){.hero-main{min-height:0;display:block}.hero-stage{position:relative;left:auto;right:auto;height:clamp(320px,88vw,480px)}.hero-stage::after{background:linear-gradient(0deg,rgba(19,17,43,.96),rgba(19,17,43,.04) 78%)}.hero-copy{margin-top:-72px;padding-block:0 48px}.page-hero,.page-hero .shell{min-height:400px}.page-hero .shell{width:calc(100% - 40px);padding-block:48px}.page-hero-photo img{object-position:58% center}.page-hero-photo::after{background:linear-gradient(0deg,rgba(19,17,43,.96),rgba(19,17,43,.24) 80%)}.section{padding-block:56px}.cards{gap:24px}.footer-cta{padding:44px 24px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-grid>:first-child{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column}.footer-bottom>span:last-child{padding-right:0;text-align:left}}
@media(max-width:420px){.shell{width:calc(100% - 36px)}.page-hero .shell{width:calc(100% - 36px)}.hero h1{font-size:clamp(38px,10vw,48px)}.page-hero h1{font-size:clamp(34px,9vw,44px)}.btn{white-space:normal;text-align:center}}
/* Purposeful motion: section reveals and short, staggered content entrances. */
.motion-ready [data-reveal]{opacity:0;transform:translateY(16px);transition:opacity 560ms var(--ease),transform 560ms var(--ease);transition-delay:var(--reveal-delay,0ms)}
.motion-ready [data-reveal].is-visible{opacity:1;transform:translateY(0)}
.btn,.nav-links a,.link-arrow,.wa-float{transition-duration:180ms}
.btn:active{transform:scale(.985)}
@media(prefers-reduced-motion:reduce){.motion-ready [data-reveal],.motion-ready [data-reveal].is-visible{opacity:1;transform:none;transition:none}.card-media img,.btn,.btn .i,.link-arrow .i,.wa-float{transition:none!important}.btn:active{transform:none}}

/* Interface motion: brief page introductions, scroll reveals, and clear interactive feedback. */
@keyframes cdsfm-rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.motion-ready .hero-copy > *,
.motion-ready .page-hero .shell > * {
  animation: cdsfm-rise-in 680ms cubic-bezier(.2,.72,.25,1) both;
}
.motion-ready .hero-copy > :nth-child(1),
.motion-ready .page-hero .shell > :nth-child(1) { animation-delay: 80ms; }
.motion-ready .hero-copy > :nth-child(2),
.motion-ready .page-hero .shell > :nth-child(2) { animation-delay: 160ms; }
.motion-ready .hero-copy > :nth-child(3),
.motion-ready .page-hero .shell > :nth-child(3) { animation-delay: 240ms; }
.motion-ready .hero-copy > :nth-child(4),
.motion-ready .page-hero .shell > :nth-child(4) { animation-delay: 320ms; }
.card { transition: transform 220ms var(--ease); }
a.card:hover, a.card:focus-visible { transform: translateY(-4px); }
.link-arrow .i { transition: transform 180ms var(--ease); }
a.card:hover .link-arrow .i, a.card:focus-visible .link-arrow .i { transform: translateX(4px); }
@media (prefers-reduced-motion: reduce) {
  .motion-ready .hero-copy > *,
  .motion-ready .page-hero .shell > * { animation: none !important; }
  .card, .link-arrow .i { transition: none !important; }
  a.card:hover, a.card:focus-visible { transform: none; }
}
