/* ==========================================================================
   Swan Group — premium theme
   ========================================================================== */

:root {
  --navy: #14183f;
  --navy-2: #1c2160;
  --navy-3: #262c7a;
  --ink: #0e1130;
  --pink: #ff2d6f;
  --pink-dark: #e01a5a;
  --pink-soft: #ffe4ec;
  --cream: #f7f5f0;
  --cream-2: #efece4;
  --paper: #ffffff;
  --text: #1c2160;
  --muted: #5b5f84;
  --line: rgba(20, 24, 63, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(20, 24, 63, 0.06), 0 1px 2px rgba(20, 24, 63, 0.04);
  --shadow: 0 20px 50px -20px rgba(20, 24, 63, 0.25), 0 8px 20px -10px rgba(20, 24, 63, 0.12);
  --shadow-lg: 0 40px 80px -30px rgba(20, 24, 63, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: clamp(72px, 9vw, 128px); position: relative; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: #fff; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--pink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Typography ---------- */
.h2, h1 { font-family: var(--font-display); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); line-height: 1.02; font-weight: 500; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.12; }
h3 { font-size: 1.35rem; }
h1 em, .h2 em, .cta-band__title em, h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
  font-variation-settings: "opsz" 144;
}
.section--navy h1 em, .section--navy .h2 em { color: #ff6b98; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--muted); font-weight: 400; max-width: 62ch; }
.section--navy .lead, .hero .lead, .page-hero .lead { color: rgba(255, 255, 255, 0.78); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink); margin-bottom: 18px;
}
.eyebrow .ico { color: var(--pink); }
.eyebrow--light { color: #ff86ab; }
.eyebrow--light .ico { color: #ff86ab; }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 16px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head--light p { color: rgba(255, 255, 255, 0.72); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: #fff; --bd: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.01em; line-height: 1; white-space: nowrap; position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn .ico { transition: transform 0.35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(20, 24, 63, 0.45); }
.btn:hover .ico-arrow, .btn:hover .ico-send { transform: translateX(4px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 11px 18px; font-size: 0.85rem; }
.btn--lg { padding: 18px 30px; font-size: 1rem; }
.btn--primary { --bg: var(--navy); --bd: var(--navy); }
.btn--primary:hover { --bg: var(--navy-3); --bd: var(--navy-3); }
.btn--accent { --bg: var(--pink); --bd: var(--pink); }
.btn--accent:hover { --bg: var(--pink-dark); --bd: var(--pink-dark); box-shadow: 0 16px 34px -12px rgba(255, 45, 111, 0.6); }
.btn--outline { --bg: transparent; --fg: var(--navy); --bd: rgba(20, 24, 63, 0.25); }
.btn--outline:hover { --bg: var(--navy); --fg: #fff; --bd: var(--navy); }
.btn--ghost-light { --bg: rgba(255, 255, 255, 0.06); --fg: #fff; --bd: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { --bg: rgba(255, 255, 255, 0.14); --bd: rgba(255, 255, 255, 0.6); }
.btn__spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading .btn__label { display: none; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); border-bottom: 1.5px solid transparent; transition: gap 0.3s var(--ease), color 0.3s; }
.link-arrow:hover { gap: 14px; color: var(--pink); }

/* ---------- Decorative ---------- */
.cursor-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background: radial-gradient(500px circle at var(--mx, -500px) var(--my, -500px), rgba(255, 45, 111, 0.08), transparent 60%);
  transition: opacity 0.4s;
}
.progress-bar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1001; pointer-events: none; }
.progress-bar span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--pink), #ff86ab); transform-origin: left; transform: scaleX(var(--p, 0)); }

.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.55; animation: drift 14s ease-in-out infinite alternate; }
.orb--pink { width: 560px; height: 560px; background: radial-gradient(circle, rgba(255, 45, 111, 0.55), transparent 65%); right: -180px; top: -160px; }
.orb--blue { width: 640px; height: 640px; background: radial-gradient(circle, rgba(94, 110, 255, 0.5), transparent 65%); left: -220px; bottom: -260px; animation-delay: -6s; }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, 30px, 0) scale(1.08); } }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 900; }
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.78); font-size: 0.8rem; transition: max-height 0.4s var(--ease), opacity 0.3s; max-height: 44px; overflow: hidden; }
.topbar__inner { display: flex; gap: 28px; align-items: center; height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; transition: color 0.25s; }
.topbar__item:hover { color: #fff; }
.topbar__item--muted { margin-left: auto; color: rgba(255, 255, 255, 0.55); }
.navbar { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--line); transition: background 0.4s, box-shadow 0.4s; }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand img { height: 50px; width: auto; transition: transform 0.4s var(--ease); }
.brand:hover img { transform: scale(1.03); }
.nav-links { display: flex; gap: 6px; }
.nav-links a { position: relative; display: block; padding: 10px 16px; font-weight: 600; font-size: 0.93rem; color: var(--muted); border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav-links a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 6px; height: 2px; background: var(--pink); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease); border-radius: 2px; }
.nav-links a:hover, .nav-links a.is-active { color: var(--navy); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }
.navbar__cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }

/* header state on scroll */
.is-scrolled .topbar { max-height: 0; opacity: 0; }
.is-scrolled .navbar { background: rgba(255, 255, 255, 0.96); box-shadow: 0 10px 30px -15px rgba(20, 24, 63, 0.25); }

/* Light header on light pages (none by default; all pages have dark heroes) */

/* ---------- Mobile menu ---------- */
.mobile-menu { position: fixed; inset: 0; z-index: 950; visibility: hidden; opacity: 0; transition: opacity 0.35s, visibility 0.35s; background: rgba(14, 17, 48, 0.55); backdrop-filter: blur(6px); }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(92vw, 380px); background: var(--paper); color: var(--navy); padding: 22px 26px 34px; display: flex; flex-direction: column; transform: translateX(30px); transition: transform 0.45s var(--ease); }
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mobile-menu__head img { height: 42px; width: auto; }
.mobile-menu__close { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; }
.mobile-menu__links li { opacity: 0; transform: translateY(12px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); transition-delay: calc(var(--i, 0) * 60ms + 120ms); }
.mobile-menu.is-open .mobile-menu__links li { opacity: 1; transform: none; }
.mobile-menu__links a { display: block; padding: 16px 0; font-family: var(--font-display); font-size: 1.7rem; border-bottom: 1px solid var(--line); }
.mobile-menu__links a.is-active { color: var(--pink); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 0.9rem; }
.mobile-menu__foot a { display: inline-flex; align-items: center; gap: 8px; }
body.menu-open { overflow: hidden; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; overflow: hidden; margin-top: -118px; padding-top: 118px; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(72px, 9vw, 130px) clamp(80px, 9vw, 130px); }
.hero__title { margin: 0 0 24px; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.78); max-width: 56ch; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero__stats { display: flex; gap: clamp(24px, 4vw, 48px); flex-wrap: wrap; }
.hero__stats li { display: flex; flex-direction: column; gap: 2px; padding-left: 16px; border-left: 2px solid rgba(255, 255, 255, 0.18); }
.hero__stats strong { font-family: var(--font-display); font-size: 2rem; font-weight: 500; line-height: 1; color: #fff; }
.hero__stats span { font-size: 0.8rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.04em; text-transform: uppercase; }

.hero__media { position: relative; }
.hero__figure { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; transform: rotate(1.5deg); transition: transform 0.8s var(--ease); }
.hero__figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 24, 63, 0.45)); }
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }
.hero__media:hover .hero__figure { transform: rotate(0deg) scale(1.01); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); color: var(--navy);
  border-radius: 16px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.92rem; }
.float-card small { color: var(--muted); font-size: 0.75rem; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: #fff; flex: none; }
.float-card__icon--pink { background: var(--pink); }
.float-card--a { left: -28px; bottom: 40px; }
.float-card--b { right: -18px; top: 28px; animation-delay: -3s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 24px; height: 38px; border: 1.5px solid rgba(255, 255, 255, 0.35); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--pink); border-radius: 2px; animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* split headline animation */
.js [data-split] .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.js [data-split] .word > span { display: inline-block; transform: translateY(110%); transition: transform 0.9s var(--ease); transition-delay: calc(var(--w) * 45ms); }
.js [data-split].is-in .word > span { transform: translateY(0); }

/* ---------- Trust strip ---------- */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust__inner { display: flex; align-items: center; gap: 40px; padding-block: 26px; flex-wrap: wrap; }
.trust__label { margin: 0; font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
.trust__logos { display: flex; align-items: center; gap: clamp(28px, 5vw, 64px); flex: 1; justify-content: flex-end; flex-wrap: wrap; }
.trust__logos img { height: 44px; width: auto; filter: grayscale(1); opacity: 0.6; transition: filter 0.4s, opacity 0.4s, transform 0.4s var(--ease); }
.trust__logos a:hover img { filter: none; opacity: 1; transform: translateY(-2px); }

/* ---------- Statement / roof ---------- */
.statement__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.statement__text .h2 { margin-bottom: 22px; }
.statement__text .lead { margin-bottom: 28px; }
.roof { position: relative; padding: 32px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; box-shadow: var(--shadow-lg); overflow: hidden; }
.roof::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255, 45, 111, 0.4), transparent 65%); filter: blur(30px); }
.roof__top { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 18px; margin: 0 auto 26px; font-family: var(--font-display); font-size: 1.4rem; border: 1px solid var(--line-light); border-radius: 999px; background: rgba(255, 255, 255, 0.06); }
.roof__top .ico { color: var(--pink); }
.roof__pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 26px; }
.roof__pillar { padding: 22px 12px; text-align: center; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-light); border-radius: 16px; transition: transform 0.4s var(--ease), background 0.4s; }
.roof__pillar:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.roof__pillar strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; }
.roof__pillar small { display: block; font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }
.roof__base { position: relative; text-align: center; padding: 14px; border-radius: 12px; background: var(--pink); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.78rem; }

/* ---------- Entities ---------- */
.entity-list { display: grid; gap: 20px; }
.entity {
  display: grid; grid-template-columns: 64px 220px 1fr; gap: clamp(20px, 3vw, 44px); align-items: center;
  padding: clamp(24px, 3vw, 40px); background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s;
  scroll-margin-top: 120px;
}
.entity:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.entity__num { font-family: var(--font-display); font-size: 1.6rem; color: var(--pink); font-style: italic; }
.entity__logo { display: grid; place-items: center; background: var(--cream); border-radius: var(--radius-sm); padding: 24px; min-height: 130px; }
.entity__logo img { max-height: 84px; width: auto; }
.entity__role { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.entity__body h3 { font-size: 1.6rem; margin-bottom: 12px; }
.entity__body p { color: var(--muted); }

/* ---------- Mission / Vision ---------- */
.mv__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv__card { position: relative; padding: clamp(32px, 4vw, 56px); border-radius: var(--radius); overflow: hidden; }
.mv__card h3 { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 400; line-height: 1.35; }
.mv__card--mission { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.mv__card--mission::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 45, 111, 0.5), transparent 65%); filter: blur(20px); }
.mv__card--vision { background: var(--cream); color: var(--navy); border: 1px solid var(--line); }
.mv__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; margin-bottom: 26px; background: rgba(255, 255, 255, 0.1); color: #ff86ab; }
.mv__card--vision .mv__icon { background: var(--paper); color: var(--pink); box-shadow: var(--shadow-sm); }

/* ---------- Pillars (home) ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar { padding: 30px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.pillar:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.pillar h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.pillar p { color: var(--muted); font-size: 0.95rem; }
.pillar__icon { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; }
.pillar__icon--pink { background: var(--pink); }
.pillar--cta { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border: none; }
.pillar--cta p { color: rgba(255, 255, 255, 0.72); }
.pillar--cta h3 { color: #fff; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--navy); color: #fff; border-top: 1px solid var(--line-light); padding-block: 22px; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 1.35rem; white-space: nowrap; color: rgba(255, 255, 255, 0.85); }
.marquee__item .ico { color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; background: linear-gradient(160deg, var(--ink) 0%, var(--navy) 50%, var(--navy-2) 100%); color: #fff; overflow: hidden; margin-top: -118px; padding-top: 118px; }
.page-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.page-hero__inner { position: relative; padding-block: clamp(72px, 9vw, 120px) clamp(64px, 8vw, 110px); max-width: 860px; }
.page-hero__inner h1 { margin-bottom: 22px; }
.page-hero--compact .page-hero__inner { padding-block: clamp(56px, 7vw, 90px); }
.page-hero__inner--split { max-width: none; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero__media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; transform: rotate(-1.5deg); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Need picker (services) ---------- */
.need-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.need { position: relative; display: block; cursor: pointer; }
.need input { position: absolute; opacity: 0; pointer-events: none; }
.need__card {
  position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s, background 0.3s;
}
.need:hover .need__card { transform: translateY(-4px); box-shadow: var(--shadow); }
.need__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--cream); color: var(--navy); margin-bottom: 8px; transition: background 0.3s, color 0.3s; }
.need__name { font-family: var(--font-display); font-size: 1.45rem; }
.need__blurb { font-size: 0.88rem; color: var(--muted); }
.need__check { position: absolute; top: 18px; right: 18px; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.need input:checked + .need__card { border-color: var(--pink); background: #fff7f9; box-shadow: 0 0 0 4px rgba(255, 45, 111, 0.12); }
.need input:checked + .need__card .need__icon { background: var(--pink); color: #fff; }
.need input:checked + .need__card .need__check { background: var(--pink); border-color: var(--pink); color: #fff; transform: scale(1.08); }
.need input:focus-visible + .need__card { outline: 2px solid var(--pink); outline-offset: 3px; }
.picker__summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; padding: 18px 22px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); flex-wrap: wrap; }
.picker__chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.picker__hint { color: var(--muted); font-size: 0.92rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 0.82rem; font-weight: 600; animation: chipIn 0.35s var(--ease); }
.chip .ico { color: #ff86ab; }
@keyframes chipIn { from { transform: scale(0.8); opacity: 0; } }
.selected-needs { display: flex; gap: 8px; flex-wrap: wrap; min-height: 46px; padding: 8px 12px; border: 1.5px dashed var(--line); border-radius: 12px; align-items: center; }

/* ---------- Steps ---------- */
.steps__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps__list li { padding: 34px 30px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-light); transition: background 0.4s, transform 0.5s var(--ease); }
.steps__list li:hover { background: rgba(255, 255, 255, 0.09); transform: translateY(-4px); }
.steps__num { display: block; font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--pink); margin-bottom: 18px; }
.steps__list h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps__list p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-section__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.form-section__aside .h2 { margin-bottom: 18px; }
.form-section__aside p { color: var(--muted); }
.check-list { display: grid; gap: 10px; margin: 24px 0 30px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.check-list .ico { color: var(--pink); }
.aside-contact { display: grid; gap: 10px; }
.aside-contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); transition: color 0.25s; }
.aside-contact a:hover { color: var(--pink); }

.card { background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { position: relative; padding: clamp(24px, 3.5vw, 44px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--navy); }
.field label small { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--cream);
  font: inherit; color: var(--text); transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231c2160' stroke-width='2'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--pink); background: #fff; box-shadow: 0 0 0 4px rgba(255, 45, 111, 0.12); }
.field.has-error input, .field.has-error textarea { border-color: #d92d20; background: #fff5f5; }
.field__error { font-size: 0.8rem; color: #d92d20; font-weight: 600; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 6px; }
.consent { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; color: var(--muted); max-width: 360px; cursor: pointer; }
.consent input { margin-top: 3px; accent-color: var(--pink); width: 18px; height: 18px; flex: none; }
.form__status { margin-top: 16px; font-size: 0.9rem; font-weight: 600; min-height: 1.4em; }
.form__status.is-error { color: #d92d20; }
.form__status.is-ok { color: #0a7d4f; }
.form__success { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; background: var(--paper); border-radius: var(--radius); animation: fadeUp 0.6s var(--ease); }
.form__success h3 { font-size: 2rem; margin-bottom: 8px; }
.form__success p { color: var(--muted); }
.form__success-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--pink); color: #fff; margin-bottom: 20px; box-shadow: 0 16px 34px -12px rgba(255, 45, 111, 0.6); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Story (why) ---------- */
.story__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.story__media { position: relative; }
.tilt-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-2deg); transition: transform 0.8s var(--ease); }
.tilt-frame:hover { transform: rotate(0); }
.tilt-frame img { width: 100%; height: 100%; object-fit: cover; }
.tilt-frame--sm { margin-top: 28px; aspect-ratio: 3 / 2; }
.year-badge { position: absolute; right: -16px; bottom: -22px; padding: 18px 24px; border-radius: 18px; background: var(--pink); color: #fff; text-align: center; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.year-badge span { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.year-badge strong { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.story__text .h2 { margin-bottom: 22px; }
.story__text p { color: var(--muted); }
.pull-quote { position: relative; margin: 28px 0 32px; padding: 24px 28px 24px 64px; border-left: 3px solid var(--pink); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: var(--navy); }
.pull-quote .ico { position: absolute; left: 22px; top: 22px; color: var(--pink); }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: linear-gradient(90deg, var(--pink), rgba(255, 45, 111, 0.15)); }
.timeline__item { position: relative; padding-top: 40px; }
.timeline__dot { position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 6px rgba(255, 45, 111, 0.15); }
.timeline__card { height: 100%; padding: 30px; background: var(--paper); border-radius: var(--radius); border: 1px solid var(--line); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); }
.timeline__card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.timeline__card img { height: 54px; width: auto; margin-bottom: 22px; }
.timeline__card .eyebrow { margin-bottom: 8px; }
.timeline__card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.timeline__card p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Pillars (why) ---------- */
.pillars-why__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.pillars-why__sticky { position: sticky; top: 110px; }
.pillars-why__sticky .h2 { margin-bottom: 18px; }
.pillars-why__sticky p { color: var(--muted); }
.pillars-why__list { display: grid; gap: 14px; }
.pillar-row { display: grid; grid-template-columns: 44px 56px 1fr; gap: 18px; align-items: start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--paper); transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.pillar-row:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: transparent; }
.pillar-row__num { font-family: var(--font-display); font-style: italic; color: var(--pink); font-size: 1.3rem; padding-top: 6px; }
.pillar-row__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--cream); color: var(--navy); }
.pillar-row h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pillar-row p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Core (why) ---------- */
.core__inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.core__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow-lg); }
.core__img img { width: 100%; height: 100%; object-fit: cover; }
.core__text .h2 { margin-bottom: 18px; }
.core__text p { color: rgba(255, 255, 255, 0.75); margin-bottom: 30px; max-width: 52ch; }

/* ---------- Purpose (academy) ---------- */
.purpose__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.purpose__aside p { color: var(--muted); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.badge-row li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: 0.86rem; font-weight: 600; }
.badge-row .ico { color: var(--pink); }

/* ---------- Fit check (academy) ---------- */
.fit__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.fit__intro .h2 { margin-bottom: 16px; }
.fit__intro p { color: var(--muted); }
.fit__meter { height: 10px; border-radius: 999px; background: var(--cream-2); overflow: hidden; margin: 26px 0 10px; }
.fit__meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy), var(--pink)); border-radius: inherit; transition: width 0.6s var(--ease); }
.fit__count { font-size: 0.9rem; }
.fit__count strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--pink); }
.fit__list { display: grid; gap: 12px; }
.fit__item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: 16px; background: var(--paper); border: 1.5px solid var(--line); cursor: pointer; transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.4s; }
.fit__item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.fit__item input { position: absolute; opacity: 0; pointer-events: none; }
.fit__box { width: 28px; height: 28px; border-radius: 9px; border: 1.5px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s var(--ease); }
.fit__label { font-weight: 600; font-size: 1.05rem; }
.fit__item:has(input:checked) { border-color: var(--pink); background: #fff7f9; }
.fit__item:has(input:checked) .fit__box { background: var(--pink); border-color: var(--pink); color: #fff; transform: scale(1.1); }
.fit__item:has(input:focus-visible) { outline: 2px solid var(--pink); outline-offset: 3px; }
.fit__result { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; margin-top: 10px; padding: 26px 28px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; animation: fadeUp 0.6s var(--ease); }
.fit__result strong { display: block; font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 4px; }
.fit__result p { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.fit__result-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--pink); }

/* ---------- Gallery ---------- */
.gallery { overflow: hidden; background: var(--navy); padding-block: 24px; }
.gallery__track { display: flex; gap: 20px; width: max-content; animation: marquee 40s linear infinite; }
.gallery__track img { height: 260px; width: auto; border-radius: 18px; object-fit: cover; }
.gallery:hover .gallery__track { animation-play-state: paused; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__info { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.info-card__icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--navy); color: #fff; flex: none; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card a, .info-card p { display: block; font-weight: 600; color: var(--navy); margin: 0; }
.info-card a:hover { color: var(--pink); }
.info-card small { display: block; color: var(--muted); margin-top: 4px; }
.map { line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; background: linear-gradient(140deg, var(--ink) 0%, var(--navy-2) 60%, var(--navy-3) 100%); color: #fff; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -10%; top: -60%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 45, 111, 0.35), transparent 65%); filter: blur(40px); }
.cta-band__inner { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center; padding-block: clamp(64px, 8vw, 100px); }
.cta-band__title { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 14px; }
.cta-band__text p { color: rgba(255, 255, 255, 0.75); max-width: 52ch; }
.cta-band__actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); padding-block: 64px 28px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 0.8fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer-logo { height: 68px; width: auto; padding: 10px 16px; background: #fff; border-radius: 14px; margin-bottom: 20px; }
.footer-brand p { max-width: 38ch; margin-bottom: 20px; }
.social { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-light); color: #fff; transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.social:hover { background: var(--pink); border-color: var(--pink); transform: translateY(-2px); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { transition: color 0.25s, padding-left 0.3s var(--ease); }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-contact address { display: grid; gap: 12px; }
.footer-contact address > * { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ico { flex: none; color: var(--pink); margin-top: 3px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom p { margin: 0; }

.back-top { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: none; background: var(--navy); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.35s, transform 0.35s var(--ease), visibility 0.35s, background 0.3s; z-index: 800; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--pink); }

/* ---------- Hidden attribute always wins ---------- */
[hidden] { display: none !important; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .need-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .nav-links, .navbar__cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero__inner, .page-hero__inner--split, .statement__grid, .story__grid, .pillars-why__grid, .core__inner, .purpose__grid, .fit__grid, .contact__grid, .form-section__grid, .mv__grid, .cta-band__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 560px; }
  .float-card--a { left: 8px; bottom: -18px; }
  .float-card--b { right: 8px; top: -18px; }
  .pillar-grid, .steps__list, .timeline { grid-template-columns: 1fr 1fr; }
  .entity { grid-template-columns: 48px 1fr; }
  .entity__logo { grid-column: 2; max-width: 240px; }
  .entity__body { grid-column: 1 / -1; }
  .pillars-why__sticky { position: static; }
  .tilt-frame--sm { display: none; }
  .cta-band__actions { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .timeline::before { display: none; }
}
@media (max-width: 640px) {
  .topbar__item--muted, .topbar__item:nth-child(2) span { display: none; }
  .hero { margin-top: -118px; }
  .hero__stats { gap: 18px; }
  .hero__stats strong { font-size: 1.6rem; }
  .need-grid, .pillar-grid, .steps__list, .timeline, .form__row { grid-template-columns: 1fr; }
  .roof__pillars { grid-template-columns: 1fr; }
  .fit__result { grid-template-columns: 1fr; }
  .picker__summary { border-radius: var(--radius); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery__track img { height: 180px; }
  .map iframe { height: 300px; }
  .trust__inner { flex-direction: column; gap: 20px; text-align: center; }
  .trust__logos { justify-content: center; }
  .year-badge { right: 6px; bottom: -14px; padding: 12px 16px; }
  .year-badge strong { font-size: 1.6rem; }
  .form__foot { flex-direction: column; align-items: stretch; }
  .form__foot .btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .js .reveal, .js [data-split] .word > span { opacity: 1; transform: none; }
  .cursor-glow { display: none; }
}
