/* One Path Legal — site styles
   Design: "The Path" (warm, rounded, winding path motif). Bricolage Grotesque headings, Inter Tight body. */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --cream: #fbf6ec;
  --deep: #0c4a3e;
  --deep-2: #083a30;
  --ink: #12241f;
  --mut: #56655f;
  --teal: #19a78e;
  --teal-d: #107a67;
  --mint: #d7f1e8;
  --mint-2: #ecf8f3;
  --lime: #d6f27a;
  --peach: #ffd9c2;
  --sky: #cfe6f5;
  --white: #fff;
  --line: rgba(12, 74, 62, .14);

  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage", "Inter Tight", system-ui, sans-serif;
  --wrap: 1200px;
  --r-xl: 48px;
  --r-lg: 36px;
  --r: 24px;
  --r-sm: 14px;
  --shadow-sm: 0 4px 30px rgba(12, 74, 62, .07);
  --shadow: 0 14px 40px rgba(12, 74, 62, .14);
  --header-h: 88px;
}

*, *::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; font-family: var(--font); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-d); text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; color: var(--deep); margin: 0 0 .55em; letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 6.6vw, 5.9rem); line-height: .98; letter-spacing: -.04em; }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.03em; line-height: 1.1; }
h4 { font-size: 1.12rem; letter-spacing: -.02em; line-height: 1.25; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 8px; }
.grad { background: linear-gradient(transparent 62%, var(--lime) 62%, var(--lime) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: .06em; margin-inline: -.06em; border-radius: .12em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 100; background: var(--deep); color: #fff; padding: .8rem 1.1rem; border-radius: 999px; }
.skip:focus { top: 1rem; color: #fff; }
.ico { flex: none; }

/* Labels: small pill tags */
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .04em; padding: .45rem .9rem; border-radius: 999px; background: var(--mint); color: var(--deep); margin: 0 0 1.1rem; }
.eyebrow-light { background: rgba(255, 255, 255, .14); color: var(--lime); }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.28rem); color: var(--mut); max-width: 58ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font: 700 1rem/1 var(--font); letter-spacing: -.01em; padding: 1.05rem 1.6rem; border-radius: 999px; border: 0; text-decoration: none; cursor: pointer; background: var(--deep); color: #fff; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); background: var(--teal); color: #fff; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-outline { background: transparent; color: var(--deep); box-shadow: inset 0 0 0 2px var(--deep); }
.btn-outline:hover { background: var(--deep); color: #fff; }
.btn-light { background: var(--lime); color: var(--deep); }
.btn-light:hover { background: #fff; color: var(--deep); }
.btn-ghost-light { background: rgba(255, 255, 255, .14); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--deep); }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; color: var(--deep); }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico, a:hover > .link-arrow .ico { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .9); backdrop-filter: saturate(1.3) blur(12px); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; min-height: var(--header-h); }
.brand { flex: none; }
.brand img { width: clamp(210px, 21vw, 300px); mix-blend-mode: multiply; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 2px 14px rgba(12, 74, 62, .08); }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: .62rem .95rem; font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.nav-link:hover { background: var(--mint); color: var(--deep); }
.nav-item.is-current > .nav-link, .nav-link[aria-current="page"] { background: var(--mint); color: var(--deep); }
.has-sub > .nav-link { padding-right: .35rem; }
.sub-toggle { background: none; border: 0; padding: .35rem .5rem .35rem .1rem; color: var(--mut); cursor: pointer; display: inline-flex; border-radius: 999px; }
.sub-toggle .ico { width: 15px; height: 15px; transition: transform .2s; }
.sub { position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; list-style: none; margin: 0; padding: .6rem; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .sub-toggle .ico, .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
.sub a { display: block; padding: .62rem .9rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-size: .94rem; font-weight: 600; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mint); color: var(--deep); }
/* Desktop: for items with a dropdown, the highlight pill wraps the label and its arrow together. */
@media (min-width: 1141px) {
  .nav-item.has-sub { border-radius: 999px; transition: background .2s; }
  .nav-item.has-sub:hover, .nav-item.has-sub:focus-within, .nav-item.has-sub.is-open, .nav-item.has-sub.is-current { background: var(--mint); }
  .nav-item.has-sub > .nav-link, .nav-item.has-sub > .nav-link:hover, .nav-item.has-sub.is-current > .nav-link { background: none; }
  .nav-item.has-sub:hover > .nav-link, .nav-item.has-sub.is-current > .nav-link { color: var(--deep); }
  .nav-item.has-sub .sub-toggle { padding-right: .8rem; color: inherit; }
}
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; color: var(--deep); white-space: nowrap; }
.header-actions .btn { padding: .9rem 1.3rem; font-size: .95rem; white-space: nowrap; }
.nav-cta { display: none; }
.nav-toggle { display: none; background: #fff; border: 0; border-radius: 50%; width: 50px; height: 50px; cursor: pointer; align-items: center; justify-content: center; box-shadow: 0 2px 14px rgba(12, 74, 62, .1); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2.5px; background: var(--deep); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6.5px; }
.nav-toggle-bars::after { top: 6.5px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6.5px) rotate(-45deg); }

/* Home hero */
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { margin: .2rem 0 1.5rem; font-size: clamp(2.4rem, 4.5vw, 4rem); }
.hero-lede { font-size: clamp(1.08rem, 1.5vw, 1.3rem); color: var(--mut); max-width: 46ch; margin-bottom: 1.9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.trust { display: flex; align-items: center; gap: .9rem; margin-top: 2.1rem; font-size: .92rem; color: var(--mut); line-height: 1.4; }
.trust img { height: 72px; width: auto; flex: none; mix-blend-mode: multiply; }
.trust span { white-space: nowrap; }
.art { position: relative; aspect-ratio: 1 / 1.08; max-width: 520px; margin-left: auto; width: 100%; }
.art-arch { position: absolute; inset: 0 6% 0 0; border-radius: 999px 999px 36px 36px; overflow: hidden; border: 8px solid var(--cream); box-shadow: 0 30px 60px rgba(12, 74, 62, .22); }
.art-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 10%; }
.float { position: absolute; background: #fff; border-radius: 20px; padding: .75rem 1rem; box-shadow: var(--shadow); font-size: .88rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.float small { display: block; font-weight: 500; color: var(--mut); font-size: .78rem; }
.float-1 { left: -7%; bottom: 14%; }
.float-2 { right: -2%; top: 5%; background: var(--lime); color: var(--deep); transform: rotate(4deg); }
.float-3 { right: 2%; bottom: -3%; background: var(--deep); color: #fff; }
.float-3 small { color: #a9d6c9; }

/* Home hero: flag photo behind the right half, plain cream behind the text */
.hero {
  background:
    linear-gradient(180deg, var(--cream) 0%, rgba(251, 246, 236, 0) 14%, rgba(251, 246, 236, 0) 80%, var(--cream) 100%),
    linear-gradient(90deg, var(--cream) 0%, var(--cream) 47%, rgba(251, 246, 236, .86) 56%, rgba(251, 246, 236, .45) 72%, rgba(251, 246, 236, .22) 100%),
    url("/assets/img/hero-flag.webp") center / cover no-repeat,
    var(--cream);
}
.art-arch { border-color: #fff; }
.hero-lede { color: #33443f; }
@media (max-width: 960px) {
  .hero { background:
    linear-gradient(180deg, var(--cream) 0%, var(--cream) 46%, rgba(251, 246, 236, .5) 62%, rgba(251, 246, 236, .4) 90%, var(--cream) 100%),
    url("/assets/img/hero-flag.webp") right bottom / auto 56% no-repeat,
    var(--cream); }
}

/* Sections */
.section { padding-block: clamp(3.2rem, 7vw, 6rem); }
.section-sand, .section-tint { background: transparent; }
.section-head { max-width: 760px; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head-wide { max-width: none; }
.section-head h2 { margin-bottom: .35em; }

/* The path */
.path { position: relative; padding-block: clamp(2.4rem, 6vw, 5.5rem); }
.path-head { text-align: center; max-width: 760px; margin: 0 auto clamp(2.5rem, 6vw, 5rem); }
.path-head p:not(.eyebrow) { color: var(--mut); font-size: 1.12rem; margin: 0; }
.trail { position: absolute; left: 50%; top: 400px; bottom: 120px; width: 340px; height: auto; transform: translateX(-50%); z-index: 0; pointer-events: none; }
.trail path { fill: none; stroke: var(--teal); stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; }
.stop { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 6vw, 6rem); align-items: center; margin-bottom: clamp(2.2rem, 6vw, 5.5rem); }
.stop:last-of-type { margin-bottom: 0; }
.stop-flip .stop-pic { order: 2; }
.stop-pic { position: relative; }
.stop-pic img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r-lg); }
.stop-1 .stop-pic img { border-radius: 36px 160px 36px 36px; }
.stop-2 .stop-pic img { border-radius: 160px 36px 36px 36px; }
.stop-3 .stop-pic img { border-radius: 36px 36px 160px 36px; }
.pin { font-family: var(--display); position: absolute; top: -22px; left: -22px; width: 74px; height: 74px; border-radius: 50%; background: var(--deep); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 1.6rem; letter-spacing: -.04em; border: 6px solid var(--cream); }
.stop-flip .pin { left: auto; right: -22px; }
.stop-card { border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow-sm); background: #fff; }
.stop-1 .stop-card { background: var(--mint); }
.stop-2 .stop-card { background: var(--peach); }
.stop-3 .stop-card { background: var(--sky); }
.stop-card h3 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); letter-spacing: -.04em; line-height: 1.04; margin-bottom: .75rem; }
.stop-card p { color: #33443f; margin-bottom: 1.25rem; }
.pill-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.5rem; padding: 0; list-style: none; }
.pill-links a { display: block; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--deep); background: rgba(255, 255, 255, .78); padding: .5rem .9rem; border-radius: 999px; transition: background .2s, color .2s; }
.pill-links a:hover { background: var(--deep); color: #fff; }

/* Deep block (languages, etc.) */
.deep-block { background: var(--deep); color: #e6f5f0; border-radius: var(--r-xl); padding: clamp(2.2rem, 6vw, 5.2rem); display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: center; }
.deep-block h2 { color: #fff; }
.deep-block p { color: #b6dccf; font-size: 1.08rem; margin-bottom: 1.6rem; }
.lang { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.lang li { font-family: var(--display); font-weight: 700; font-size: clamp(1rem, 1.8vw, 1.35rem); letter-spacing: -.02em; line-height: 1; padding: .9rem 1.25rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; }
.lang li:nth-child(3n+1) { background: var(--lime); color: var(--deep); transform: rotate(-3deg); }
.lang li:nth-child(3n+2) { background: var(--teal); transform: rotate(2deg); }
.lang li:nth-child(5) { background: var(--peach); color: var(--deep); }

/* Soft cards (why us) */
.soft-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.soft { border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.soft h3 { font-size: clamp(1.2rem, 1.85vw, 1.5rem); }
.nowrap { white-space: nowrap; }
.soft p { color: var(--mut); font-size: .98rem; }
.soft .sub-h { font-weight: 700; color: var(--teal-d); font-size: .92rem; margin-bottom: .7rem; }
.soft-logo { margin: 1.4rem auto 0; width: min(100%, 250px); height: auto; mix-blend-mode: multiply; }
.soft-float::after { content: ""; display: block; clear: both; }
.soft-plaque { float: right; width: 128px; height: auto; margin: .3rem 0 .4rem 1.1rem; border-radius: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: .4rem 0 0; }
.chips li { background: var(--mint); color: var(--deep); padding: .35rem .8rem; border-radius: 999px; font-size: .86rem; font-weight: 700; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1.1rem; }
.quote-grid.two { grid-template-columns: 1fr 1fr; }
.quote { margin: 0; background: #fff; border-radius: 32px; padding: 1.9rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1.1rem; }
.quote blockquote { margin: 0; color: #2b3b36; font-size: 1rem; }
.quote blockquote p { margin-bottom: .9em; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote blockquote p:first-child::before { content: "\201C"; }
.quote blockquote p:last-child::after { content: "\201D"; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: .75rem; }
.quote .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--deep); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: .82rem; flex: none; }
.quote .who strong { display: block; color: var(--deep); font-size: .95rem; }
.quote .who span { font-size: .85rem; color: var(--mut); }
.quote-grid > .quote:first-child { background: var(--lime); }
.quote-grid > .quote:first-child blockquote { font-family: var(--display); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.25; letter-spacing: -.025em; color: var(--deep); }
.quote-wide { grid-column: 1 / -1; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 6vw, 5rem); align-items: center; }
.split-media img { width: 100%; border-radius: 36px 160px 36px 36px; aspect-ratio: 6 / 5; object-fit: cover; }

/* Immigration news (Home) */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.news-head h2 { margin: 0; }
.news-item h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.2; letter-spacing: -.02em; margin: .2rem 0 .3rem; }
.news-item p { font-size: .93rem; }

/* Newsletter band */
.news-band { background: var(--peach); color: var(--deep); border-radius: var(--r-lg); padding: clamp(1.8rem, 4vw, 3rem); display: grid; grid-template-columns: 1fr auto; gap: 1.6rem; align-items: center; position: relative; overflow: hidden; }
.news-band::after { content: ""; position: absolute; right: -70px; top: -70px; width: 210px; height: 210px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.news-band > * { position: relative; z-index: 1; }
.news-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: .4rem; }
.news-band p { margin: 0; color: #4a4038; max-width: 52ch; }
.news-band .eyebrow { background: rgba(255, 255, 255, .7); color: var(--deep); }
.news-band .btn { background: var(--deep); color: #fff; }
.news-band .btn:hover { background: var(--teal); }
.news-stack { grid-template-columns: 1fr; }

/* CTA band */
.cta-band { padding-block: clamp(1rem, 3vw, 2rem) clamp(2.5rem, 5vw, 4rem); }
.cta-in { background: var(--teal); border-radius: var(--r-xl); padding: clamp(2.4rem, 7vw, 5.5rem); text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-in::before, .cta-in::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cta-in::before { width: 320px; height: 320px; left: -110px; bottom: -140px; }
.cta-in::after { width: 220px; height: 220px; right: -60px; top: -80px; background: rgba(214, 242, 122, .5); }
.cta-in > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin-bottom: .35em; }
.cta-band p { font-size: 1.12rem; margin: 0 auto 1.7rem; max-width: 46ch; color: #e3f7f1; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(1.2rem, 3vw, 2.4rem) 0; }
.page-hero-in { background: var(--mint); border-radius: var(--r-xl); padding: clamp(1.8rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero-in::before { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -150px; border-radius: 46% 54% 42% 58% / 55% 44% 56% 45%; background: var(--teal); opacity: .22; }
.page-hero-in::after { content: ""; position: absolute; width: 150px; height: 150px; right: 150px; bottom: -80px; border-radius: 50%; background: var(--lime); opacity: .75; }
.page-hero-in > * { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); margin-bottom: .2em; max-width: 16ch; }
.page-hero .eyebrow { background: #fff; }
.page-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #33544b; max-width: 58ch; margin: .8rem 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .86rem; font-weight: 600; color: #4d6b62; margin-bottom: 1.3rem; }
.crumbs a { color: var(--deep); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Content pages */
.with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.8rem, 5vw, 4.5rem); align-items: start; }
.prose { max-width: 74ch; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-top: 2em; letter-spacing: -.035em; }
.prose h3 { margin-top: 1.7em; }
.prose h4 { margin-top: 1.5em; color: var(--teal-d); }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--teal); font-weight: 800; }
.prose .intro { font-size: 1.22rem; font-weight: 500; color: #33443f; line-height: 1.5; letter-spacing: -.01em; }
.prose .figure { margin: 0 0 2rem; }
.prose .figure img { width: 100%; border-radius: 36px 120px 36px 36px; aspect-ratio: 21 / 9; object-fit: cover; }
.callout { background: var(--lime); border-radius: var(--r); padding: 1.3rem 1.5rem; margin: 1.8rem 0; color: var(--deep); }
.callout > :last-child { margin-bottom: 0; }
.callout a { color: var(--deep); font-weight: 700; }
.note { font-size: .9rem; color: var(--mut); }
.def-list { display: grid; gap: .7rem; margin: 1.2rem 0 1.8rem; padding: 0; list-style: none; }
.def-list li { display: grid; grid-template-columns: 96px 1fr; gap: 1.1rem; align-items: start; padding: 1.1rem 1.3rem; border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); margin: 0; }
.def-list .tag { font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; color: var(--teal-d); }
.checks { list-style: none; padding: 0; display: grid; gap: .6rem; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: .75rem; margin: 0; align-items: start; }
.checks .ico { color: var(--deep); background: var(--lime); border-radius: 50%; width: 26px; height: 26px; padding: 5px; margin-top: .1rem; }
.cols-2 { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 1.8rem 3.8rem; margin: 0 0 0 1.3rem; border-left: 3px dotted var(--teal); }
.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
.steps > li::before { font-family: var(--display); content: counter(step); position: absolute; left: -1.5rem; top: -.3rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--deep); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; border: 4px solid var(--cream); }
.steps h3 { margin: 0 0 .5rem; font-size: 1.3rem; }

.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 1rem; }
.aside-card { border-radius: var(--r-lg); padding: 1.6rem; background: #fff; box-shadow: var(--shadow-sm); }
.aside-h { font-size: 1.25rem; margin-bottom: .8rem; }
.aside-nav { list-style: none; padding: 0; margin: 0; }
.aside-nav a { display: block; padding: .58rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 600; }
.aside-nav a:hover { background: var(--mint); color: var(--deep); }
.aside-nav a[aria-current="page"] { background: var(--deep); color: #fff; }
.aside-cta { background: var(--peach); }
.aside-cta p { color: #4a4038; font-size: .96rem; }
.aside-phone { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 1rem; font-weight: 800; text-decoration: none; color: var(--deep); }

/* Topic cards */
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.topic { display: flex; flex-direction: column; gap: .4rem; padding: 1.7rem; background: #fff; border-radius: var(--r-lg); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, background .25s; }
.topic:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); color: inherit; }
.topic:nth-child(3n+1):hover { background: var(--mint); }
.topic:nth-child(3n+2):hover { background: var(--peach); }
.topic:nth-child(3n):hover { background: var(--sky); }
.topic h3 { margin: 0; }
.topic p { margin: 0 0 .6rem; color: var(--mut); font-size: .97rem; }
.topic .link-arrow { margin-top: auto; font-size: .95rem; }
.topic .src { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-d); }

/* Accordion */
.acc { border-radius: var(--r); background: #fff; margin-bottom: .8rem; overflow: hidden; box-shadow: var(--shadow-sm); }
.acc summary { list-style: none; cursor: pointer; padding: 1.3rem 1.6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: -.03em; color: var(--deep); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--mint); display: grid; place-items: center; font-size: 1.4rem; font-weight: 500; line-height: 1; color: var(--deep); transition: transform .2s, background .2s; }
.acc[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.acc-body { padding: 0 1.6rem 1rem; }
.acc .def-list li { background: var(--mint-2); box-shadow: none; }

/* Team: everyone is listed the same way */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.member { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: .75rem .75rem 1.3rem; display: flex; flex-direction: column; }
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 26px; }
.member-lead { flex-direction: row; align-items: center; gap: clamp(1.2rem, 4vw, 3rem); padding: .75rem; margin-bottom: 1.2rem; }
.member-lead img { width: min(40%, 420px); flex: none; }
.member-lead .member-body { padding: 1rem clamp(.6rem, 3vw, 2.4rem) 1rem 0; }
.member-lead .member-name { font-size: clamp(1.9rem, 3.8vw, 3.1rem); margin-bottom: .8rem; }
.member-lead .role { font-size: .9rem; }
.member-intro { margin: 1.2rem 0 0; color: #3c4c47; font-size: 1.02rem; }
.member-lead .bio-open { margin-top: .4rem; }
.member-body { padding: 1.1rem .6rem 0; display: flex; flex-direction: column; align-items: flex-start; flex: 1; }
.member-name { font-size: clamp(1.25rem, 1.9vw, 1.5rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 .55rem; }
.role { display: inline-block; color: var(--deep); background: var(--mint); font-weight: 700; font-size: .82rem; line-height: 1.3; padding: .35rem .8rem; border-radius: 999px; margin: 0; }
.bio-open { margin-top: auto; padding: .9rem 0 0; background: none; border: 0; cursor: pointer; font: 700 .95rem/1 var(--font); color: var(--deep); display: inline-flex; align-items: center; gap: .4rem; }
.bio-open[hidden] { display: none; }
.bio-open .ico { transition: transform .2s; }
.bio-open:hover .ico { transform: translateX(4px); }
.bio-dialog { border: 0; border-radius: var(--r-lg); padding: clamp(1.4rem, 4vw, 2.6rem); width: min(100% - 2rem, 720px); max-height: min(88vh, 900px); background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(8, 58, 48, .35); }
.bio-dialog::backdrop { background: rgba(8, 58, 48, .55); backdrop-filter: blur(3px); }
.bio-dialog p { color: #3c4c47; font-size: 1rem; }
.bio-head { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.4rem; padding-right: 3rem; }
.bio-head img { width: 110px; height: 110px; object-fit: cover; border-radius: 20px; flex: none; }
.bio-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 0 0 .5rem; }
.bio-close { position: absolute; top: 1rem; right: 1rem; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); color: var(--deep); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.bio-close:hover { background: var(--lime); }
.badge-wrap::after { content: ""; display: block; clear: both; }
.badge-float, .member .badge-float { float: right; width: 140px; height: auto; aspect-ratio: auto; object-fit: contain; margin: .2rem 0 .6rem 1.3rem; border-radius: 14px; }
.member-lead .badge-float { width: 136px; margin: .25rem 0 .35rem 1.1rem; border-radius: 10px; }
.member-lead .badge-wrap { margin-top: 1.2rem; }
.member-lead .badge-wrap .member-intro { margin-top: 0; }
.bio-contact { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.2rem 0 0; padding: 0; list-style: none; font-size: .93rem; }
.bio-contact a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; font-weight: 700; color: var(--deep); background: var(--cream); padding: .55rem 1rem; border-radius: 999px; }
.bio-contact a:hover { background: var(--lime); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: start; }
.contact-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.info-list { list-style: none; padding: 0; margin: 1.4rem 0 1.5rem; display: grid; gap: 1.2rem; }
.info-list li { display: grid; grid-template-columns: 50px 1fr; gap: 1rem; }
.info-list .dot { width: 50px; height: 50px; border-radius: 50%; background: var(--mint); color: var(--deep); display: grid; place-items: center; }
.info-list li:nth-child(3n+2) .dot { background: var(--peach); }
.info-list li:nth-child(3n) .dot { background: var(--sky); }
.info-list h3 { font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--mut); margin: 0 0 .2rem; line-height: 1.4; }
.info-list p { margin: 0; }
.info-list a { text-decoration: none; font-weight: 700; color: var(--deep); }
.form-card { background: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 4vw, 2.8rem); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: .3em; }
.form-card > p { color: var(--mut); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; margin-top: 1.4rem; }
.field { display: grid; gap: .4rem; }
.field-full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field .req { color: #b3261e; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); width: 100%; padding: .9rem 1.1rem; border: 2px solid transparent; border-radius: 18px; background: var(--cream); transition: border-color .15s, background .15s; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--mut); margin: 1rem 0 0; }
.form-status { border-radius: 18px; padding: .9rem 1.1rem; margin-top: 1rem; font-weight: 700; }
.form-status[hidden] { display: none; }
.form-status.ok { background: var(--mint); color: var(--deep); }
.form-status.err { background: #fde3df; color: #8c1d18; }
.msg-dialog { border: 0; border-radius: var(--r-lg); padding: clamp(1.8rem, 5vw, 3rem); width: min(100% - 2rem, 460px); background: #fff; color: var(--ink); text-align: center; box-shadow: 0 30px 80px rgba(8, 58, 48, .35); }
.msg-dialog::backdrop { background: rgba(8, 58, 48, .55); backdrop-filter: blur(3px); }
.msg-mark { width: 68px; height: 68px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--lime); color: var(--deep); display: grid; place-items: center; font-size: 2rem; font-weight: 800; }
.msg-dialog h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: .4em; }
.msg-text { color: #3c4c47; font-size: 1.05rem; margin-bottom: 1.6rem; }
.msg-dialog .btn { min-width: 150px; }
.map { border: 0; width: 100%; height: 400px; border-radius: var(--r-xl); display: block; }
.steps-inline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; counter-reset: s; list-style: none; padding: 0; margin: 0; }
.steps-inline li { counter-increment: s; border-radius: var(--r-lg); padding: 1.8rem; background: var(--mint); }
.steps-inline li:nth-child(2) { background: var(--peach); }
.steps-inline li:nth-child(3) { background: var(--sky); }
.steps-inline li::before { font-family: var(--display); content: counter(s); width: 52px; height: 52px; border-radius: 50%; background: var(--deep); color: var(--lime); display: grid; place-items: center; font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; }
.steps-inline h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.steps-inline p { margin: 0; color: #33443f; font-size: .97rem; }
.social { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--deep); box-shadow: var(--shadow-sm); transition: background .2s, transform .2s; }
.social a:hover { background: var(--lime); color: var(--deep); transform: translateY(-2px) rotate(-6deg); }

/* Footer */
.site-footer { background: var(--deep); color: #b6dccf; font-size: .95rem; border-radius: var(--r-xl) var(--r-xl) 0 0; margin-top: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-brand img { width: 240px; margin-bottom: 1.1rem; }
.footer-h { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; line-height: 1.4; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--lime); }
.site-footer strong { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer .social a { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
.site-footer .social a:hover { background: var(--lime); color: var(--deep); }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .14); padding-block: 1.5rem 2rem; font-size: .84rem; display: grid; gap: .4rem; }
.footer-base p { margin: 0; }
.disclaimer { color: #8fbdb0; max-width: 90ch; }

/* Reveal on scroll (progressive: only when JS adds .js) */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive */
/* No room for the phone link beside the larger logo; it stays in the hero, CTA and footer. */
.header-phone { display: none; }
@media (max-width: 1140px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .site-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--cream); padding: .5rem 1.25rem 2rem; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .site-nav.is-open { transform: none; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .4rem; background: none; box-shadow: none; padding: 0; border-radius: 0; }
  .nav-item { flex-wrap: wrap; background: #fff; border-radius: 28px; padding: .3rem; }
  .nav-link { flex: 1; padding: .9rem 1.1rem; font-size: 1.1rem; font-weight: 700; }
  .nav-item.is-current > .nav-link, .nav-link[aria-current="page"] { background: none; }
  .sub-toggle { padding: .8rem 1rem; }
  .sub-toggle .ico { width: 20px; height: 20px; }
  .sub { position: static; width: 100%; box-shadow: none; padding: 0 .4rem .5rem; display: none; opacity: 1; visibility: visible; transform: none; }
  .sub::before { display: none; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.is-open > .sub { display: block; }
  .has-sub:hover .sub-toggle .ico { transform: none; }
  .has-sub.is-open .sub-toggle .ico { transform: rotate(180deg); }
  .nav-cta { display: block; margin-top: 1rem; }
  .nav-cta .btn { width: 100%; padding: 1.15rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 960px) {
  .hero-in, .split, .contact-grid, .with-aside, .stop, .deep-block { grid-template-columns: 1fr; }
  .art { margin: 1.4rem auto 0; }
  .float-1 { left: 0; }
  .float-2 { right: 0; }
  .stop-flip .stop-pic { order: 0; }
  .trail { display: none; }
  .soft-grid, .topic-grid, .steps-inline { grid-template-columns: 1fr 1fr; }
  .quote-grid, .quote-grid.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .aside { position: static; }
  .news-band { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --header-h: 76px; --r-xl: 32px; --r-lg: 28px; }
  body { font-size: 1rem; }
  .soft-grid, .topic-grid, .steps-inline, .form-grid, .footer-grid, .cols-2 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .member-lead { flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 1.3rem; }
  .badge-float, .member .badge-float { width: 104px; margin-left: .9rem; }
  .member-lead .badge-float { width: 106px; }
  .member-lead img { width: 100%; }
  .member-lead .member-body { padding: 1.1rem .6rem 0; }
  .def-list li { grid-template-columns: 1fr; gap: .2rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .pin { width: 60px; height: 60px; font-size: 1.3rem; top: -16px; left: -8px; }
  .stop-flip .pin { right: -8px; }
  .stop-1 .stop-pic img, .stop-2 .stop-pic img, .stop-3 .stop-pic img, .split-media img, .prose .figure img { border-radius: var(--r-lg); }
  .float { font-size: .8rem; padding: .6rem .8rem; }
  .steps > li { padding-left: 2.6rem; margin-left: 1.2rem; }
  .trust img { height: 58px; }
  .trust span { white-space: normal; }
  .page-hero-in::after { display: none; }
  .page-hero-in::before { width: 220px; height: 220px; right: -90px; top: -110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  body { background: #fff; }
  .site-header, .cta-band, .site-footer, .aside { display: none; }
  .page-hero-in { background: none; padding: 0; }
}
