/* Layout: white constellation header, a night-sky carousel band, then light editorial sections
   punctuated by full-width quotes; the brand commits to one light look (blue, white, yellow). */
:root {
  --navy: #0B1F4D;      /* deep supernova blue: hero band, headings */
  --blue: #1D4ED8;      /* action blue: links, buttons */
  --sky: #EEF3FC;       /* pale blue-tinted neutral for alternate sections */
  --star: #F5B800;      /* supernova yellow accent */
  --ink: #18223A;       /* body text, blue-biased near-black */
  --mute: #56607A;      /* secondary text */
  --line: #D6DEEE;
  --white: #FFFFFF;
  --f-display: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --f-body: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --gutter-l: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--f-body); font-size: 1.125rem; line-height: 1.65; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--white); }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--star); outline-offset: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.eyebrow { font-family: var(--f-display); font-size: 0.875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); display: inline-flex; align-items: center; gap: .5rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--star); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--f-body); font-weight: 600; font-size: 1.125rem; text-decoration: none; padding: .8rem 1.3rem; border-radius: 999px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-star { background: var(--star); color: var(--navy); }
.btn-star:hover { background: #FFC81F; }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-blue { background: var(--blue); color: var(--white); }
.wa-icon { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); overflow: hidden; }
.site-header canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.site-header::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(circle, #9FB2D9 1px, transparent 1.4px); background-size: 26px 26px; background-position: 7px 9px; }
.header-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand svg { width: 48px; height: 48px; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .08em; color: var(--navy); line-height: 1; }
.brand-name small { display: block; font-weight: 300; font-size: .7rem; letter-spacing: .32em; color: var(--mute); margin-top: .3rem; }
.nav { display: flex; gap: .25rem; flex-wrap: wrap; align-items: center; }
.nav a { font-family: var(--f-display); font-size: 0.92rem; font-weight: 500; letter-spacing: .06em; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; }
.nav a { color: var(--navy); }
.nav a:hover { background: var(--sky); }
section[id] { scroll-margin-top: 140px; }
.nav a.hl { color: var(--navy); background: var(--star); }
.nav a.hl:hover { background: #FFC81F; }

/* Hero carousel */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: radial-gradient(circle, #fff 1px, transparent 1.5px), radial-gradient(circle, #F5B800 1px, transparent 1.6px);
  background-size: 90px 90px, 160px 160px; background-position: 10px 20px, 60px 80px; }
.hero::after { content: ""; position: absolute; width: 640px; height: 640px; right: -220px; top: -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(245,184,0,.32), rgba(245,184,0,.06) 45%, transparent 70%); }
.carousel { position: relative; z-index: 1; padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide > div { min-width: 0; }
.slide-count { font-family: var(--f-display); font-size: 0.885rem; letter-spacing: .14em; color: var(--star); }
.slide h1, .slide h2 { color: var(--white); font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; margin-top: .8rem; }
.slide p { color: #C9D5EE; margin-top: 1rem; max-width: 52ch; }
.slide .actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.visual { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 1.25rem; }
.visual svg { width: 100%; height: auto; display: block; }
.visual-note { font-size: 0.92rem; color: #9FB0D3; margin-top: .6rem; }
.carousel-controls { display: flex; align-items: center; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.dots { display: flex; gap: .5rem; }
.dot { position: relative; overflow: hidden; width: 44px; height: 4px; border-radius: 2px; border: 0; background: rgba(255,255,255,.22); cursor: pointer; padding: 0; }
.dot::after { content: ""; position: absolute; inset: 0; background: var(--star); transform: scaleX(0); transform-origin: left; }
.dot[aria-current="true"]::after { transform: scaleX(1); }
.hero.run .dot[aria-current="true"]::after { animation: fill 7s linear forwards; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slide-num { font-family: var(--f-display); font-size: 1.003rem; font-weight: 700; color: var(--white); letter-spacing: .08em; font-variant-numeric: tabular-nums; min-width: 4.2em; }
.slide-num span { color: #7F92BD; font-weight: 400; }
.arrows { display: flex; gap: .5rem; }
.arrow { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); color: var(--white); cursor: pointer; display: grid; place-items: center; overflow: hidden; transition: border-color .25s ease, color .25s ease; }
.arrow::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--star); transform: scale(0); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.arrow svg { position: relative; width: 20px; height: 20px; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.arrow:hover { border-color: var(--star); color: var(--navy); }
.arrow:hover::before { transform: scale(1); }
#next:hover svg { transform: translateX(3px); }
#prev:hover svg { transform: translateX(-3px); }
.pause { margin-left: auto; font-size: 0.944rem; background: none; border: 0; color: #C9D5EE; cursor: pointer; text-decoration: underline; font-family: var(--f-body); }

/* Content sections */
section.block { padding-block: clamp(3rem, 7vw, 5.5rem); }
section.alt { background: var(--sky); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: start; }
.split > * { min-width: 0; }
.split h2 { margin-top: .8rem; }
.prose { display: grid; gap: 1.1rem; max-width: 66ch; }
.prose p { color: var(--ink); }
.lead { font-size: 1.296rem; line-height: 1.6; }
.lead::first-letter { font-family: var(--f-display); font-weight: 700; color: var(--navy); font-size: 3.2em; float: left; line-height: .85; margin: .06em .12em 0 0; }

.quote { background: var(--white); padding-block: clamp(3rem, 7vw, 5rem); position: relative; }
.quote.on-navy { background: var(--navy); }
.quote figure { margin: 0 auto; max-width: 900px; display: grid; gap: 1rem; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-weight: 400; font-size: clamp(1.2rem, .95rem + 1.2vw, 1.85rem); line-height: 1.45; color: var(--navy); text-wrap: pretty; }
.quote.on-navy blockquote { color: var(--white); }
.quote blockquote::before { content: "\201C"; display: block; font-weight: 700; font-size: 3.5em; line-height: .6; color: var(--star); margin-bottom: .2rem; }
.quote figcaption { font-size: 1.003rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.quote.on-navy figcaption { color: #9FB0D3; }

.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.news-card { border: 1px dashed #A9B8D6; border-radius: 14px; padding: 1.25rem; display: grid; gap: .6rem; align-content: start; background: var(--white); }
.news-card .tag { font-size: 0.875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.news-card .skel { height: 10px; border-radius: 5px; background: var(--sky); }
.news-card .skel.short { width: 60%; }
.news-card p { font-size: 1.062rem; color: var(--mute); }

.cta-inline { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--star); padding-bottom: 2px; }

/* Profile form */
.profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); }
.profile > * { min-width: 0; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.1rem; box-shadow: 0 18px 40px -28px rgba(11,31,77,.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label, .field legend { font-size: 1.038rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { font: inherit; font-size: 1.125rem; padding: .7rem .8rem; border: 1px solid #BFCBE3; border-radius: 10px; background: var(--white); color: var(--ink); width: 100%; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: .5rem .95rem; border: 1px solid #BFCBE3; border-radius: 999px; cursor: pointer; font-size: 1.121rem; }
.choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--star); outline-offset: 2px; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .944rem; color: var(--ink); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: .15rem 0 0; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.req { color: #B42318; font-weight: 700; }
.form-hint { font-size: .944rem; color: var(--mute); }
.field-error { font-size: .944rem; font-weight: 600; color: #B42318; }
.consent + .field-error { margin-top: -.6rem; padding-left: calc(20px + .6rem); }
.field input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }
.consent input[aria-invalid="true"] { outline: 2px solid #B42318; outline-offset: 2px; }
.form-status.ok { background: #E6F6EC; border-color: #8FD1A6; }
.quote.alt { background: var(--sky); }
.on-dark { color: #FFFFFF; }
.on-dark-mute { color: #9FB0D3; }
.self-start { justify-self: start; }
.mt-s { margin-top: .8rem; }
.mt-m { margin-top: 1rem; }
.muted { color: var(--mute); }
.measure-60 { max-width: 60ch; }
.measure-40 { max-width: 40ch; }
.svg-defs { position: absolute; }
.brand-sm { width: 44px; height: 44px; }
.form-note { font-size: 0.968rem; color: var(--mute); }
.form-status { font-size: 1.121rem; background: #FFF6D6; border: 1px solid #F0D27A; color: var(--ink); border-radius: 10px; padding: .8rem 1rem; }
.keyq { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.keyq li { display: flex; gap: .75rem; align-items: baseline; }
.keyq b { font-family: var(--f-display); font-size: 0.944rem; color: var(--blue); flex: none; }

/* Cards 2.1 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; display: grid; gap: .7rem; grid-template-rows: auto auto 1fr auto; text-decoration: none; color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card .status { justify-self: start; font-size: 0.875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: #FFF1C2; color: #7A5A00; padding: .25rem .6rem; border-radius: 999px; }
.card p { color: var(--mute); font-size: 1.121rem; }
.card .go { font-weight: 600; color: var(--blue); }

/* Footer */
footer { background: var(--navy); color: #C9D5EE; padding-block: 3rem 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.foot-grid > * { min-width: 0; }
footer h3 { color: var(--white); font-size: 1.003rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .8rem; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
footer a { color: var(--white); }
.soon { font-size: 0.875rem; color: var(--star); margin-left: .35rem; }
.phone { font-family: var(--f-display); color: var(--white); font-size: 1.125rem; user-select: all; }
.foot-base { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.2rem; font-size: 0.968rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.wa-float { position: fixed; right: calc(16px + env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); }
.wa-float svg { width: 28px; height: 28px; }

@media (max-width: 860px) {
  .slide, .split, .profile, .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .news-grid, .cards { grid-template-columns: minmax(0, 1fr); }
  .visual { order: 2; }
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .nav { width: 100%; display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: .25rem 0; }
  .nav a { text-align: center; }
  .nav a.hl { grid-column: 1 / -1; }
  section[id] { scroll-margin-top: 180px; }
  .dot { width: 28px; }
  .carousel-controls { gap: .75rem; }
  .pause { margin-left: 0; }
  .nav a { font-size: 0.875rem; padding: .5rem .55rem; }
  .brand svg { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide, .btn, .card { transition: none; }
}
