@font-face {
  font-family: "Nimbus";
  src: url("fonts/nimbus-sans-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nimbus";
  src: url("fonts/nimbus-sans-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #11110f;
  --muted: #686862;
  --paper: #fbfbf9;
  --soft: #f1f1ee;
  --line: #d9d9d2;
  --mint: #b7f4df;
  --lilac: #cfc2ff;
  --accent: #a893ff;
  --pad: clamp(24px, 4vw, 68px);
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: #eff0ed;
  color: var(--ink);
  font-family: "Nimbus", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.46;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: #eff0ed;
  content: "";
}
a { color: inherit; }
img { display: block; width: 100%; }
h1, h2, h3, p, figure { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
button, input, textarea { font: inherit; }
::selection { background: var(--mint); color: var(--ink); }
:focus-visible { outline: 3px solid #735bd8; outline-offset: 4px; }

.ambient { display: none; }
.ambient span { position: absolute; border-radius: 999px; filter: blur(70px); opacity: .78; }
.ambient span:nth-child(1) { width: 420px; height: 420px; top: -110px; right: 8%; background: #fff; }
.ambient span:nth-child(2) { width: 520px; height: 520px; bottom: 5%; left: -130px; background: #a6dcff; }
.ambient span:nth-child(3) { width: 360px; height: 360px; top: 43%; right: -80px; background: #d5baff; }

.page-shell {
  width: min(calc(100% - 48px), 1480px);
  margin: 24px auto;
  overflow: hidden;
  border: 1px solid rgba(17,17,15,.09);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(17,17,15,.08);
}
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 11px 15px; background: var(--ink); color: #fff; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  display: grid;
  min-height: 82px;
  padding: 0 var(--pad);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
  background: rgba(251,251,249,.92);
  backdrop-filter: blur(18px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 12px 32px rgba(17,17,15,.08); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 10px; font-size: 20px; letter-spacing: -.04em; text-decoration: none; }
.brand i { position: relative; width: 24px; height: 24px; border-radius: 6px; background: var(--ink); }
.brand i::before, .brand i::after { position: absolute; background: var(--mint); content: ""; }
.brand i::before { width: 12px; height: 4px; top: 6px; left: 6px; }
.brand i::after { width: 4px; height: 12px; top: 6px; left: 10px; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 2.7vw, 46px); }
.main-nav a, .header-cta { font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.main-nav a { position: relative; padding: 10px 0; }
.main-nav a::after { position: absolute; right: 100%; bottom: 5px; left: 0; height: 1px; background: var(--ink); content: ""; transition: right .2s ease; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; padding: 13px 18px; border-radius: 8px; background: var(--ink); color: #fff; transition: background .2s ease, color .2s ease; }
.header-cta:hover, .header-cta:focus-visible { background: var(--lilac); color: var(--ink); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--ink); border-radius: 8px; background: transparent; }
.menu-toggle i { display: block; height: 1px; margin: 6px 0; background: var(--ink); }

.hero { display: grid; padding: clamp(44px, 5vw, 76px) var(--pad) var(--pad); grid-template-columns: 1fr; gap: 0; background: radial-gradient(ellipse 78% 72% at 50% 18%, rgba(183,244,223,.30) 0%, rgba(183,244,223,.18) 34%, rgba(183,244,223,.07) 57%, rgba(183,244,223,0) 78%), var(--paper); }
.hero-copy { position: relative; z-index: 2; max-width: 1040px; margin: 0 auto -42px; text-align: center; }
.kicker { margin-bottom: 22px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.kicker span { margin-right: 12px; padding: 5px 8px; border-radius: 5px; background: var(--lilac); color: var(--ink); }
.hero h1 { max-width: 980px; margin: 0 auto 22px; font-size: clamp(52px, 6vw, 90px); font-weight: 400; letter-spacing: -.066em; line-height: .93; }
.hero-copy > p:not(.kicker) { max-width: 760px; margin: 0 auto 30px; color: #3f3f3a; font-size: clamp(18px, 1.5vw, 22px); }
.hero-actions { display: flex; justify-content: center; align-items: center; gap: 28px; }
.button { display: inline-flex; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border: 0; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button--dark { background: var(--ink); color: #fff; }
.button--dark:hover, .button--dark:focus-visible { background: var(--lilac); color: var(--ink); transform: translateY(-2px); }
.text-link { position: relative; display: inline-flex; padding: 8px 0 5px; font-size: 14px; font-weight: 700; text-decoration: none; }
.text-link::after { position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: currentColor; content: ""; transform-origin: left; transition: transform .2s ease; }
.text-link:hover::after, .text-link:focus-visible::after { transform: scaleX(.45); }
.hero-note { position: absolute; bottom: 18px; left: 18px; z-index: 2; width: min(360px, calc(100% - 36px)); padding: 18px; border-radius: 10px; background: rgba(251,251,249,.94); backdrop-filter: blur(12px); }
.hero-note > p { margin-bottom: 0; font-size: 14px; }
.hero-media { position: relative; overflow: hidden; height: clamp(400px, 39vw, 560px); padding-top: 72px; border-radius: 12px; background: transparent; }
.hero-media > img { height: 100%; border-radius: 12px 12px 0 0; object-fit: cover; }
.hero-media figcaption { position: absolute; right: 18px; bottom: 18px; display: grid; width: min(460px, calc(100% - 36px)); min-height: 88px; padding: 6px; grid-template-columns: 100px 1fr auto; align-items: center; gap: 14px; border: 2px solid #fff; border-radius: 10px; background: rgba(251,251,249,.94); backdrop-filter: blur(12px); }
.mini-image { align-self: stretch; overflow: hidden; border-radius: 6px; }
.mini-image img { height: 100%; object-fit: cover; }
.hero-media figcaption > span:nth-child(2) { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
.hero-media figcaption strong { font-size: 14px; }
.hero-media figcaption > a { padding: 10px 13px; border-radius: 6px; background: var(--mint); font-size: 13px; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.hero-media figcaption > a:hover, .hero-media figcaption > a:focus-visible { background: var(--lilac); }

.section { padding: clamp(82px, 8vw, 132px) var(--pad); }
.intro { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(34px, 5vw, 78px); align-items: start; }
.intro-main h2 { margin-bottom: 24px; font-size: clamp(38px, 4.1vw, 64px); font-weight: 400; letter-spacing: -.052em; line-height: 1.02; }
.intro-main > p { max-width: 720px; margin-bottom: 40px; color: var(--muted); }
.wide-link { display: inline-flex; width: fit-content; min-height: 48px; padding: 0 22px; align-items: center; justify-content: center; border-radius: 6px; background: linear-gradient(90deg, var(--lilac) 0 50%, var(--mint) 50% 100%); background-size: 200% 100%; background-position: 100% 0; font-size: 14px; font-weight: 700; text-align: center; text-decoration: none; transition: background-position .35s ease; }
.wide-link:hover, .wide-link:focus-visible { background-position: 0 0; }
.intro-images { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.intro-images img { height: 250px; object-fit: cover; border-radius: 8px; }
.intro-images img:last-child { margin-top: 32px; }

.stats { display: grid; padding: 30px var(--pad) 34px; grid-template-columns: repeat(4, 1fr); gap: clamp(26px, 3.5vw, 54px); border-bottom: 1px solid var(--line); background: #f4f4f0; }
.stats article { min-height: 0; padding: 0; }
.stats strong { display: block; margin-bottom: 6px; font-size: clamp(38px, 4vw, 58px); font-weight: 400; letter-spacing: -.065em; line-height: 1; }
.stats span { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; }

.services { display: grid; padding-top: 0; grid-template-columns: repeat(4, 1fr); }
.services article { display: flex; min-height: 340px; padding: 34px 28px 28px; flex-direction: column; border: 1px solid var(--line); border-right: 0; }
.services article:last-child { border-right: 1px solid var(--line); }
.services h3 { margin-bottom: 18px; font-size: 30px; font-weight: 400; letter-spacing: -.04em; }
.services p { color: var(--muted); }
.services a { position: relative; width: fit-content; margin-top: auto; padding-top: 20px; padding-bottom: 4px; font-size: 14px; font-weight: 700; text-decoration: none; }
.services a::after { position: absolute; right: 0; bottom: 0; left: 0; height: 2px; background: currentColor; content: ""; transform-origin: left; transition: transform .2s ease; }
.services a:hover::after, .services a:focus-visible::after { transform: scaleX(.35); }
.services article:nth-child(2) { background: var(--mint); }
.services article:nth-child(4) { background: #eeeafe; }

.situations { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 9vw, 150px); background: var(--ink); color: #fff; }
.situations header { position: sticky; top: 120px; align-self: start; }
.situations .kicker { color: var(--mint); }
.situations h2 { font-size: clamp(42px, 5vw, 76px); font-weight: 400; letter-spacing: -.055em; line-height: .96; }
.situation-list article { padding: 0 0 38px; border-bottom: 1px solid rgba(255,255,255,.22); }
.situation-list article + article { padding-top: 38px; }
.situation-list b { color: var(--mint); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.situation-list h3 { margin: 14px 0; font-size: clamp(25px, 2.5vw, 36px); font-weight: 400; line-height: 1.06; }
.situation-list p { max-width: 650px; margin-bottom: 0; color: rgba(255,255,255,.65); }

.method { background: var(--paper); }
.method-copy { max-width: 1040px; margin: 0 auto; }
.method-copy h2 { max-width: 760px; margin-bottom: 34px; font-size: clamp(42px, 5vw, 72px); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
.method-copy p { max-width: 920px; margin-bottom: 0; color: #383833; font-size: clamp(18px, 1.55vw, 22px); line-height: 1.55; }
.method-copy p + p { margin-top: 22px; }

.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(55px, 9vw, 150px); background: #e9e4ff; }
.contact h2 { margin-bottom: 24px; font-size: clamp(46px, 5.5vw, 82px); font-weight: 400; letter-spacing: -.06em; line-height: .92; }
.contact-copy > p:not(.kicker) { max-width: 620px; }
.contact-details { display: flex; margin-top: 40px; flex-wrap: wrap; gap: 26px 48px; }
.contact-details p { margin: 0; }
.contact-details span { display: block; margin-bottom: 5px; color: #575752; font-size: 15px; font-weight: 700; }
.contact-details strong { display: block; font-size: clamp(20px, 2vw, 27px); font-weight: 400; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 18px; align-self: center; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span { font-size: 15px; font-weight: 700; }
.contact-form .full, .form-footer { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-size: 17px; }
.contact-form textarea { resize: vertical; }
.form-footer { display: grid; gap: 12px; }
.contact-form .button { width: 100%; }
.privacy-note, .form-status { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.privacy-note a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }
.form-status:empty { display: none; }

.legal-main { min-height: 70vh; padding: clamp(70px, 8vw, 128px) var(--pad); }
.legal { width: min(100%, 900px); margin: 0 auto; }
.legal-header { padding-bottom: clamp(48px, 6vw, 74px); }
.legal-header h1 { margin-bottom: 28px; font-size: clamp(54px, 7vw, 96px); font-weight: 400; letter-spacing: -.065em; line-height: .92; }
.legal-intro { max-width: 820px; margin: 0; color: #3f3f3a; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.55; }
.legal-updated { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.legal-content { width: 100%; }
.legal-content section + section { margin-top: 44px; }
.legal-content h2 { margin-bottom: 14px; font-size: clamp(27px, 2.8vw, 38px); font-weight: 400; letter-spacing: -.035em; line-height: 1.08; }
.legal-content p { margin-bottom: 0; color: #44443f; font-size: 17px; line-height: 1.65; }
.legal-content p + p { margin-top: 14px; }
.legal-content a { color: var(--ink); font-weight: 700; text-underline-offset: 3px; }

.site-footer { display: grid; min-height: 210px; padding: 44px var(--pad) 28px; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; gap: 32px; background: var(--ink); color: #fff; }
.brand--footer i { background: var(--mint); }
.brand--footer i::before, .brand--footer i::after { background: var(--ink); }
.site-footer > p { color: rgba(255,255,255,.62); }
.site-footer nav { display: flex; justify-content: flex-end; gap: 24px; }
.site-footer nav a { font-size: 14px; text-decoration: none; }
.site-footer > span { grid-column: 1 / -1; align-self: end; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.45); font-size: 12px; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 100; width: 46px; height: 46px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); opacity: 0; pointer-events: none; transform: translateY(12px); transition: .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.error-page { min-height: 100vh; padding: 24px; }
.error-card { display: flex; width: min(100%, 1080px); min-height: calc(100vh - 48px); margin: 0 auto; padding: clamp(30px, 5vw, 70px); flex-direction: column; justify-content: space-between; border-radius: var(--radius); background: var(--paper); }
.error-card > div { max-width: 760px; margin: auto 0; }
.error-card h1 { margin-bottom: 24px; font-size: clamp(66px, 9vw, 128px); font-weight: 400; letter-spacing: -.07em; line-height: .86; }
.error-card p:not(.kicker) { margin-bottom: 28px; font-size: 19px; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; justify-self: end; }
  .header-cta { display: none; }
  .main-nav { position: absolute; top: 72px; right: 18px; left: 18px; display: none; padding: 22px; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 24px 60px rgba(17,17,15,.14); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .intro { grid-template-columns: 1fr; }
  .intro-images { grid-column: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .services article:nth-child(2) { border-right: 1px solid var(--line); }
  .services article:nth-child(n+3) { border-top: 0; }
  .situations, .contact { grid-template-columns: 1fr; }
  .situations header { position: static; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .page-shell { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .site-header { min-height: 72px; padding-inline: 20px; }
  .hero { padding: 44px 20px 20px; }
  .hero-copy { margin-bottom: -24px; }
  .hero h1 { font-size: clamp(48px, 13vw, 72px); }
  .hero-actions { flex-direction: column; gap: 14px; }
  .hero-media { height: 620px; min-height: 0; padding-top: 48px; }
  .hero-media > img { height: 390px; }
  .hero-note { right: 12px; bottom: 12px; left: 12px; width: auto; }
  .hero-media figcaption { right: 12px; bottom: 150px; left: 12px; width: auto; grid-template-columns: 76px 1fr auto; gap: 10px; }
  .section { padding: 70px 20px; }
  .intro { grid-template-columns: 1fr; }
  .intro-images { grid-column: auto; }
  .intro-images img { height: 190px; }
  .stats { padding: 28px 20px 32px; grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .stats article, .stats article + article { min-height: 0; padding: 0; }
  .services { grid-template-columns: 1fr; }
  .services article, .services article:nth-child(2), .services article:last-child { min-height: 320px; border: 1px solid var(--line); border-bottom: 0; }
  .services article:last-child { border-bottom: 1px solid var(--line); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; flex-wrap: wrap; }
  .site-footer > span { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
