/* Multicultural Care Center — site styles
   Brand colours come from the logo: indigo heart, blue / red / yellow figures. */

:root {
  --ink: #1d1240;          /* logo indigo — main text + dark surfaces */
  --ink-2: #3b3161;
  --ink-soft: #5d567a;     /* secondary text, 7:1 on cream */
  --blue: #2766ae;
  --blue-dark: #1d5291;
  --red: #e5432f;
  --red-text: #b8301e;     /* red that passes contrast as text */
  --yellow: #f5c400;
  --cream: #fbf8f3;
  --sand: #f4eee4;
  --line: #e4dccf;
  --white: #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 1px 2px rgba(29, 18, 64, .06), 0 8px 24px rgba(29, 18, 64, .08);
  --shadow-lg: 0 2px 4px rgba(29, 18, 64, .06), 0 24px 48px rgba(29, 18, 64, .12);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px base — readable for every visitor */
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 .5em; font-variation-settings: "SOFT" 50, "opsz" 72; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) 0 33%, var(--red) 33% 66%, var(--yellow) 66%); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--ink-2); }
.accent { color: var(--blue); font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: .8em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1.02rem/1.2 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(29, 18, 64, .25); }
.btn-primary:hover { background: var(--ink-2); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--yellow); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--ink); color: #e9e5f5; font-size: .92rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; justify-content: space-between; align-items: center; padding-block: 8px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar a:hover { color: var(--yellow); }
.topbar .tb-group { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar .tb-item { display: inline-flex; gap: 8px; align-items: center; }
.topbar svg { width: 16px; height: 16px; color: var(--yellow); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px rgba(29, 18, 64, .06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 210px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { padding: 10px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav a:not(.btn):hover { background: var(--sand); }
.nav a[aria-current="page"]:not(.btn) { background: var(--sand); box-shadow: inset 0 -3px 0 var(--red); }
.nav .btn { margin-left: 10px; min-height: 46px; padding-inline: 1.3em; }
.nav-toggle { display: none; background: none; border: 2px solid var(--ink); border-radius: 12px; width: 50px; height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 24px; height: 24px; margin: auto; }

@media (max-width: 1080px) and (min-width: 961px) { .nav a:not(.btn) { padding: 10px 10px; } .nav .btn { margin-left: 4px; } .brand img { width: 180px; } }
@media (max-width: 960px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav { position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--cream); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 22px; box-shadow: 0 18px 30px rgba(29, 18, 64, .1); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.1rem; }
  .nav .btn { margin: 10px 0 0; }
  .brand img { width: 176px; }
  .topbar .tb-hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--blue); }
.hero h1 .u { background: linear-gradient(transparent 68%, rgba(245, 196, 0, .55) 68% 92%, transparent 92%); padding: 0 .06em; }
.hero .lead { max-width: 34ch; margin-bottom: 1.8rem; }
.hero-art { position: relative; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .98rem; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 520px; margin-inline: auto; } }

/* Page hero (inner pages) */
.page-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 92px); isolation: isolate; }
.page-hero .eyebrow { color: #cfc8ea; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { color: #e4def6; max-width: 60ch; font-size: 1.2rem; }
.page-hero .shapes { position: absolute; right: -60px; top: 50%; translate: 0 -50%; width: min(520px, 55vw); opacity: .95; z-index: -1; }
.crumbs { font-size: .95rem; margin-bottom: 1.2rem; color: #cfc8ea; }
.crumbs a { color: #fff; }
@media (max-width: 1180px) { .page-hero .shapes { right: -180px; width: 440px; } }
@media (max-width: 960px) { .page-hero .shapes { opacity: .22; right: -200px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-sand { background: var(--sand); }
.section-white { background: var(--white); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow { color: #cfc8ea; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

/* Values (3 up) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: #fff; border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.value::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--c, var(--blue)); }
.value .ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--blue)) 14%, white); color: var(--c, var(--blue)); margin-bottom: 20px; }
.value .ico svg { width: 30px; height: 30px; }
.value p { color: var(--ink-soft); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* Services grid */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 26px; text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; color: inherit; }
.svc .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: var(--c, var(--blue)); }
.svc .ico svg { width: 28px; height: 28px; }
.svc h3 { font-size: 1.32rem; margin-bottom: .45em; }
.svc p { color: var(--ink-soft); font-size: 1.02rem; flex: 1; }
.svc .more { margin-top: 16px; font-weight: 700; color: var(--blue-dark); display: inline-flex; gap: 6px; align-items: center; }
.svc .more svg { width: 18px; height: 18px; transition: translate .15s; }
a.svc:hover .more svg { translate: 4px 0; }
@media (max-width: 960px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services { grid-template-columns: 1fr; } }

/* Split block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

.checks { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.checks li::before { content: ""; width: 30px; height: 30px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; margin-top: 2px; }
.section-ink .checks li::before { background-color: var(--yellow); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d1240' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 28px 24px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; font: 600 2.4rem/1 var(--font-display); color: var(--yellow); margin-bottom: 16px; }
.step h3 { font-size: 1.25rem; }
.step p { color: #d9d3ee; font-size: 1.02rem; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Pills / chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .98rem; }
.section-ink .chips li { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }

/* CTA band */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--blue); color: #fff; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; isolation: isolate; }
.cta h2 { margin-bottom: .3em; }
.cta p { color: #e6eefa; font-size: 1.15rem; }
.cta .btn-row { justify-content: flex-end; }
.cta .deco { position: absolute; right: -40px; bottom: -60px; width: 300px; opacity: .2; z-index: -1; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; } .cta .btn-row { justify-content: flex-start; } }

/* Service detail blocks */
.svc-detail { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding: clamp(36px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.svc-detail:first-of-type { border-top: 0; }
.svc-detail aside { position: sticky; top: 112px; align-self: start; }
.svc-detail .ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; color: #fff; background: var(--c, var(--blue)); margin-bottom: 18px; }
.svc-detail .ico svg { width: 34px; height: 34px; }
.svc-detail .tag { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.svc-detail h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.svc-detail .body { max-width: 68ch; }
.svc-detail .body h4 { margin-top: 1.4em; }
.svc-detail ul:not(.checks) { padding-left: 1.2em; }
.svc-detail ul:not(.checks) li { margin-bottom: .35em; }
@media (max-width: 860px) { .svc-detail { grid-template-columns: 1fr; } .svc-detail aside { position: static; } }

.toc { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.toc a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .95rem; }
.toc a:hover { border-color: var(--ink); }

/* Info cards (contact) */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info { background: #fff; border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.info .ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--blue); margin-bottom: 14px; }
.info .ico svg { width: 24px; height: 24px; }
.info h3 { font-family: var(--font-body); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .4em; }
.info p, .info a { font-size: 1.12rem; font-weight: 700; color: var(--ink); }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }
@media (max-width: 960px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .info-grid { grid-template-columns: 1fr; } }

.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 48px); }
.form-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend { font: 600 1.3rem/1.2 var(--font-display); margin-bottom: 16px; padding: 0; width: 100%; padding-bottom: 10px; border-bottom: 2px solid var(--sand); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 20px; }
.span-2 { grid-column: span 2; }
.span-all { grid-column: 1 / -1; }
@media (max-width: 720px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } .span-2 { grid-column: auto; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-weight: 700; font-size: 1rem; }
.field .hint { font-size: .92rem; color: var(--ink-soft); }
.req { color: var(--red-text); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=number], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--cream); border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; min-height: 52px; transition: border-color .15s, background .15s, box-shadow .15s;
}
input[type=file] { padding: 10px; }
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(39, 102, 174, .15); }
input:user-invalid, select:user-invalid, textarea:user-invalid,
.tried input:invalid, .tried select:invalid, .tried textarea:invalid { border-color: var(--red-text); background: #fff6f4; }
.tried .choices:has(input:invalid) .choice span { border-color: var(--red-text); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 2px solid var(--line); border-radius: 999px; background: var(--cream); font-weight: 700; font-size: .98rem; cursor: pointer; transition: all .15s; }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.checkgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; }
.checkgrid label { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: var(--cream); border: 1px solid var(--line); font-size: 1rem; cursor: pointer; }
.checkgrid input { width: 20px; height: 20px; accent-color: var(--ink); flex: none; }
.notice { border-radius: 14px; padding: 16px 18px; background: #eef4fb; border-left: 5px solid var(--blue); font-size: 1rem; margin-bottom: 22px; }
.notice.warn { background: #fff7d6; border-left-color: var(--yellow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; border-radius: 14px; padding: 18px 20px; font-weight: 700; margin-top: 18px; }
.form-status.ok { display: block; background: #e7f6ec; color: #1d5a33; border-left: 5px solid #2f9e5a; }
.form-status.err { display: block; background: #fdecea; color: #8f2416; border-left: 5px solid var(--red-text); }
.form-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.form-actions .small { font-size: .92rem; color: var(--ink-soft); }
[hidden] { display: none !important; }

/* Tabs (referral selector) */
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.tab { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: var(--radius); padding: 20px 20px; cursor: pointer; font: inherit; color: var(--ink); transition: all .15s; }
.tab strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 4px; }
.tab span { color: var(--ink-soft); font-size: .96rem; }
.tab[aria-selected="true"] { border-color: var(--ink); box-shadow: inset 0 -4px 0 var(--red), var(--shadow); }
@media (max-width: 860px) { .tabs { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #d8d2ec; padding: clamp(56px, 7vw, 88px) 0 28px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; }
.foot-grid h2 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: #a9a0cf; margin-bottom: 1rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot-brand img { width: 220px; margin-bottom: 18px; }
.foot-contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.foot-contact svg { width: 20px; height: 20px; color: var(--yellow); margin-top: 3px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 48px; padding-top: 22px; font-size: .92rem; color: #a9a0cf; }
.stripe { height: 6px; background: linear-gradient(90deg, var(--blue) 0 33.3%, var(--red) 33.3% 66.6%, var(--yellow) 66.6%); }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Photography (v3) ---------- */
::selection { background: var(--yellow); color: var(--ink); }

.btn-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(245, 196, 0, .28); }
.btn-yellow:hover { background: #ffd83a; color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Home hero: dark, with the portrait */
.hero-dark { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(55% 65% at 74% 42%, rgba(39, 102, 174, .22), transparent 70%), radial-gradient(40% 50% at 8% 100%, rgba(229, 67, 47, .10), transparent 70%), #050a0d; }
.hero-dark .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 48px); align-items: end; min-height: min(780px, 88vh); }
.hero-dark .copy { align-self: center; padding: clamp(56px, 8vw, 104px) 0 clamp(110px, 11vw, 150px); }
.hero-dark .eyebrow { color: #b8c2cc; }
.hero-dark h1 { color: #fff; font-size: clamp(2.5rem, 5.6vw, 4.5rem); }
.hero-dark h1 em { font-style: italic; color: #8db9ee; }
.hero-dark h1 .u { background: linear-gradient(transparent 82%, var(--yellow) 82% 92%, transparent 92%); padding: 0 .04em; }
.hero-dark .lead { color: #d3d9df; max-width: 36ch; margin-bottom: 2rem; }
.hero-photo { align-self: end; }
.hero-photo img { width: 112%; max-width: 760px; margin-left: -4%; mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
@media (max-width: 860px) {
  .hero-dark .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-dark .copy { padding-bottom: 8px; }
  .hero-photo img { width: 100%; max-width: 460px; margin-inline: auto; }
  .hero-photo { padding-bottom: 56px; }
}

/* Contact strip that overlaps the hero */
.hero-strip { position: relative; z-index: 5; margin-top: -58px; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.hs-item { display: flex; align-items: center; gap: 14px; padding: 24px 26px; color: var(--ink); text-decoration: none; border-left: 1px solid var(--line); min-width: 0; }
.hs-item:first-child { border-left: 0; }
.hs-item > svg { width: 26px; height: 26px; color: var(--blue); flex: none; }
.hs-item span { display: grid; min-width: 0; }
.hs-item small { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.hs-item strong { font-size: 1.05rem; line-height: 1.3; }
a.hs-item:hover { background: var(--cream); color: var(--ink); }
.hs-cta { background: var(--ink); color: #fff; justify-content: space-between; }
.hs-cta small { color: #cfc8ea; }
.hs-cta > svg { color: var(--yellow); }
a.hs-cta:hover { background: var(--ink-2); color: #fff; }
@media (max-width: 1020px) { .hero-strip { grid-template-columns: 1fr 1fr; } .hs-item:nth-child(3) { border-left: 0; } .hs-item:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .hero-strip { grid-template-columns: 1fr; } .hs-item { border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; } .hs-item:first-child { border-top: 0; } }

/* Arch-shaped photo with the three logo colours behind it */
.arch { position: relative; isolation: isolate; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-lg); }
.arch::before, .arch::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.arch::before { width: 44%; aspect-ratio: 1; left: -7%; bottom: -6%; background: var(--yellow); }
.arch::after { width: 26%; aspect-ratio: 1; right: -8%; top: 12%; background: var(--red); box-shadow: -40px 220px 0 -14px var(--blue); }
.arch-lg { max-width: 460px; margin-inline: auto; }

.page-hero.has-photo .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.page-hero.has-photo .arch { max-width: 340px; width: 100%; justify-self: end; }
.page-hero.has-photo { padding-block: clamp(48px, 6vw, 80px); }
@media (max-width: 860px) {
  .page-hero.has-photo .wrap { grid-template-columns: 1fr; }
  .page-hero.has-photo .arch { max-width: none; justify-self: stretch; }
  .page-hero.has-photo .arch img { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); }
  .page-hero.has-photo .arch::before, .page-hero.has-photo .arch::after { display: none; }
}

/* Rectangular photo with an offset colour block */
.photo-frame { position: relative; isolation: isolate; }
.photo-frame img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.photo-frame::before { content: ""; position: absolute; inset: 22px 22px -18px -18px; border-radius: var(--radius-lg); background: var(--blue); z-index: -1; }
.photo-frame::after { content: ""; position: absolute; width: 84px; height: 84px; border-radius: 50%; background: var(--yellow); right: -22px; top: -22px; z-index: -1; }
@media (max-width: 560px) { .photo-frame::before { inset: 14px 10px -10px -10px; } .photo-frame::after { right: -8px; top: -14px; } }

/* Full-width belief band */
.band { position: relative; color: #fff; text-align: center; padding: clamp(88px, 12vw, 168px) 0;
  background: linear-gradient(rgba(20, 12, 46, .58), rgba(20, 12, 46, .78)), url("/assets/img/photo-hands.webp") center / cover no-repeat; }
.band .eyebrow { color: #d9d3ee; }
.band blockquote { margin: 0 0 2rem; font: 500 clamp(1.7rem, 3.6vw, 2.9rem)/1.22 var(--font-display); letter-spacing: -.01em; }
.band blockquote::before { content: "\201C"; display: block; font-size: 2.2em; line-height: .6; color: var(--yellow); margin-bottom: .1em; }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound .big { font: 600 clamp(5rem, 16vw, 10rem)/1 var(--font-display); color: var(--ink); }


/* ---------- Motion (v5, home page) ----------
   Every animated element is fully visible by default; the keyframes only
   describe where it comes from. With reduced motion (animations off) or
   without JavaScript, nothing is hidden. */
@keyframes up-in { from { opacity: 0; transform: translateY(26px); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes sweep { from { background-size: 0 100%; } }
@keyframes drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.12); } }
@keyframes drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-50px, -24px) scale(1.08); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes bob-sm { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glow { 0%, 100% { transform: scale(1); opacity: .2; } 50% { transform: scale(1.16); opacity: .34; } }
@keyframes sun-rise { from { transform: translateY(70px); opacity: 0; } }
@keyframes cloud { from { transform: translateX(-30px); } to { transform: translateX(46px); } }
@keyframes house-in { from { transform: translateY(40px); opacity: 0; } }
@keyframes roof-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.18); } 100% { transform: scale(1); } }
@keyframes beat { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.14); } 80% { transform: scale(.97); } 90% { transform: scale(1.08); } }
@keyframes person-in { from { transform: translateY(46px); opacity: 0; } }
@keyframes win-glow { 0%, 100% { fill: #cfe0f3; } 50% { fill: #ffe9a3; } }
@keyframes card-in { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes shine { 0%, 62% { transform: translateX(-140%) skewX(-20deg); } 100% { transform: translateX(260%) skewX(-20deg); } }
@keyframes line-grow { from { transform: scaleX(0); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.1); } }

/* Hero */
.hero-motion { isolation: isolate; padding-bottom: clamp(48px, 6vw, 84px); }
.hero-motion .wrap { position: relative; z-index: 1; }
.hero-motion h1 > .up, .hero-motion h1 > em.up { display: inline-block; }
.hero-motion .up { animation: up-in .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: var(--d, 0s); }
.hero-motion h1 .u { background-repeat: no-repeat; background-size: 100% 100%; animation: sweep .8s cubic-bezier(.3, .7, .2, 1) 1.1s both; }

.aura { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aura i { position: absolute; border-radius: 50%; filter: blur(70px); will-change: transform; }
.aura i:nth-child(1) { width: 520px; height: 520px; left: -180px; top: -200px; background: rgba(39, 102, 174, .20); animation: drift-a 16s ease-in-out infinite; }
.aura i:nth-child(2) { width: 460px; height: 460px; right: -120px; top: 12%; background: rgba(245, 196, 0, .20); animation: drift-b 19s ease-in-out infinite; }
.aura i:nth-child(3) { width: 380px; height: 380px; left: 34%; bottom: -220px; background: rgba(229, 67, 47, .13); animation: drift-a 22s ease-in-out infinite reverse; }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent); transform: translateX(-140%) skewX(-20deg); animation: shine 5s ease-in-out 2s infinite; pointer-events: none; }

/* Illustration */
.hero-motion .hero-art { animation: fade-in 1s ease .2s both; }
.hero-motion .art { overflow: visible; filter: drop-shadow(0 30px 40px rgba(29, 18, 64, .14)); }
.art .a-sun, .art .a-glow, .art .a-house, .art .a-beat, .art .a-person, .art .a-float, .art .a-cloud { transform-box: fill-box; transform-origin: center; }
.art .a-sun { animation: sun-rise 1.6s cubic-bezier(.2, .7, .2, 1) .3s both; }
.art .a-glow { animation: glow 5s ease-in-out infinite; }
.art .a-cloud.c1 { animation: cloud 26s ease-in-out infinite alternate; }
.art .a-cloud.c2 { animation: cloud 34s ease-in-out -8s infinite alternate-reverse; }
.art .a-house { animation: house-in 1s cubic-bezier(.2, .7, .2, 1) .5s both; }
.art .a-roof { stroke-dasharray: 1; stroke-dashoffset: 0; animation: roof-draw 1.1s cubic-bezier(.5, 0, .2, 1) 1.1s both; }
.art .a-beat { transform-origin: 50% 60%; animation: pop .6s cubic-bezier(.3, 1.4, .5, 1) 2s both, beat 2.8s ease-in-out 3s infinite; }
.art .a-win { animation: win-glow 6s ease-in-out 2.6s infinite; }
.art .a-win.w2 { animation-delay: 4.4s; }
.art .a-person { transform-origin: 50% 100%; }
.art .p1 { animation: person-in .8s cubic-bezier(.2, .8, .2, 1) 1.5s both, bob-sm 5s ease-in-out 2.6s infinite; }
.art .p2 { animation: person-in .8s cubic-bezier(.2, .8, .2, 1) 1.3s both, bob-sm 6s ease-in-out 2.9s infinite; }
.art .p3 { animation: person-in .8s cubic-bezier(.2, .8, .2, 1) 1.7s both, bob-sm 5.5s ease-in-out 3.2s infinite; }
.art .f1 { animation: bob 4.5s ease-in-out infinite; }
.art .f2 { animation: bob 6s ease-in-out -2s infinite; }
.art .f3 { animation: bob 5s ease-in-out -1s infinite; }

/* Floating cards over the illustration */
.float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(12px) saturate(1.4); backdrop-filter: blur(12px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; box-shadow: 0 18px 40px rgba(29, 18, 64, .16); white-space: nowrap; }
.float-card > span:last-child { display: grid; line-height: 1.25; }
.float-card strong { font-size: .98rem; }
.float-card small { font-size: .82rem; color: var(--ink-soft); }
.fc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--c, var(--blue)); flex: none; }
.fc-ico svg { width: 22px; height: 22px; }
.fc1 { left: -7%; top: 13%; animation: card-in .8s cubic-bezier(.2, .8, .2, 1) 2.1s both, bob 7s ease-in-out 3s infinite; }
.fc2 { right: -14%; top: 47%; animation: card-in .8s cubic-bezier(.2, .8, .2, 1) 2.4s both, bob 8s ease-in-out 3.4s infinite; }
@media (max-width: 1340px) { .fc1 { left: -2%; } .fc2 { right: -3%; top: 44%; } }
@media (max-width: 860px) { .fc1 { left: 0; top: 6%; } .fc2 { right: 0; top: 42%; } }
@media (max-width: 480px) { .float-card { padding: 9px 13px 9px 9px; gap: 9px; border-radius: 14px; } .float-card small { display: none; } .fc-ico { width: 32px; height: 32px; border-radius: 10px; } .fc-ico svg { width: 18px; height: 18px; } }

/* Services ticker */
.ticker { position: relative; overflow: hidden; background: var(--ink); color: #fff; padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 1.15rem/1 var(--font-display); letter-spacing: .01em; white-space: nowrap; }
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.ticker span:nth-child(3n+1)::after { background: var(--red); }
.ticker span:nth-child(3n+2)::after { background: #6aa5e6; }

/* Staggered reveals and hover lift */
.reveal { transition-delay: var(--d, 0s); }
.reveal.done { transition-delay: 0s; }
.svc.reveal.done { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.lift.reveal.done { transition: transform .25s ease, box-shadow .25s ease; }
.lift.done:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value .ico { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.value:hover .ico { transform: scale(1.1) rotate(-6deg); }
.svc .ico { transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
a.svc:hover .ico { transform: scale(1.08) rotate(-5deg); }
.step { transition: opacity .7s ease, transform .7s ease, background-color .25s ease, border-color .25s ease; }
.step:hover { background: rgba(255, 255, 255, .1); border-color: rgba(245, 196, 0, .55); }

/* Line that draws across the four steps */
.steps-line { position: relative; padding-top: 34px; }
.steps-line::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--red), var(--yellow)); transform-origin: left center; }
.steps-line.in::before { animation: line-grow 1.6s cubic-bezier(.4, 0, .2, 1) both; }

/* Belief band: slow zoom on the photo */
.band-motion { overflow: hidden; isolation: isolate; background: none; }
.band-motion::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("/assets/img/photo-hands.webp") center / cover no-repeat; }
.band-motion::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20, 12, 46, .58), rgba(20, 12, 46, .78)); }
.band-motion.in::before { animation: kenburns 18s ease-out both; }
.hero-motion .hero-art { width: 100%; }
.hero-motion .art { width: 100%; }
.step.reveal { transition-delay: var(--d, 0s); }
.step.reveal.done { transition-delay: 0s; }
