:root {
  --color-primary: #0369A1;
  --color-secondary: #38BDF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2E;
  --color-muted: #4B6274;
  --color-border: rgba(12, 74, 110, 0.14);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--color-text); background: #ffffff; line-height: 1.6; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; font-weight: 600; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding: 4rem 0; }
.section-alt { background: var(--color-neutral-light); }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.eyebrow { font-family: var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Header === */
.site-header { background: #ffffff; border-bottom: 1px solid var(--color-border); position: sticky; top: 0; z-index: 40; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1140px; margin: 0 auto; padding: 0.75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
.site-nav { display: none; flex-direction: column; gap: 0.25rem; }
.site-nav a { display: block; padding: 0.5rem 0; font-family: var(--font-heading); font-size: 1.05rem; text-decoration: none; color: var(--color-neutral-dark); }
.site-nav a[aria-current="page"] { color: var(--color-primary); }
.site-nav.is-open { display: flex; padding: 0.75rem 1.25rem 1.25rem; border-top: 1px solid var(--color-border); background: #ffffff; position: absolute; left: 0; right: 0; top: 100%; }
.nav-toggle { background: none; border: 0; padding: 0.5rem; cursor: pointer; display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-neutral-dark); }

@media (min-width: 820px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; flex-direction: row; gap: 1.75rem; position: static; border: 0; padding: 0; background: transparent; }
  .site-nav a { padding: 0; }
}

/* === Hero (stacked) === */
.hero { padding: 3.5rem 0 2rem; }
.hero .container { padding-block: 0; }
.hero-figure { margin: 2rem 0; }
.hero-figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-lg); }
.hero-sub { font-size: 1.2rem; color: var(--color-muted); margin-block: 1.5rem; }
.hero-cta { margin-top: 2rem; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
}

/* === Buttons === */
.btn { display: inline-block; padding: 0.85rem 1.6rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; cursor: pointer; border: 0; }
.btn-primary { background: var(--color-primary); color: #ffffff; }
.btn-primary:hover { background: var(--color-neutral-dark); color: #ffffff; }
.btn-accent { background: var(--color-accent); color: #ffffff; }
.btn-accent:hover { background: #16A34A; color: #ffffff; }

/* === Grid === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Cards === */
.card { background: #ffffff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 1.75rem; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card .icon { color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(12, 74, 110, 0.35); }
a.card-link h3 { color: var(--color-neutral-dark); }

/* === Pull quote === */
.pull-quote { margin: 0; padding: 2rem 0; text-align: center; }
.pull-quote p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-style: italic; color: var(--color-neutral-dark); line-height: 1.4; max-width: 60ch; margin-inline: auto; }
.pull-quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.95rem; color: var(--color-muted); letter-spacing: 0.04em; }

/* === CTA band === */
.cta-band { background: var(--color-primary); color: #ffffff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #ffffff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-accent { margin-top: 1rem; }

/* === Article detail === */
.article-detail { max-width: 65ch; margin: 3rem auto; padding: 0 1.25rem; }
.article-detail > header h1 { margin-bottom: 1rem; }
.article-sub { font-size: 1.2rem; color: var(--color-muted); margin-bottom: 0; }
.article-hero { margin: 2rem 0; }
.article-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-detail p { font-size: 1.125rem; line-height: 1.75; margin-block: 1.25rem; }
.article-footer { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--color-border); }
.back-link { font-family: var(--font-heading); text-decoration: none; color: var(--color-primary); }
.back-link:hover { color: var(--color-neutral-dark); }

/* === Contact form === */
.contact-form { display: grid; gap: 1.25rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-family: var(--font-heading); font-size: 0.95rem; color: var(--color-neutral-dark); font-weight: 600; }
.form-row input, .form-row textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid var(--color-border); border-radius: var(--radius); font-family: inherit; font-size: 1rem; color: var(--color-text); background: #ffffff; }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-primary); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; flex-wrap: wrap; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #cfe4f0; padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.site-footer h3 { color: #ffffff; font-family: var(--font-heading); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.25rem; }
.footer-tag { color: rgba(255,255,255,0.75); }
.footer-nav ul, .footer-legal { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-nav a, .footer-contact a, .footer-legal a { color: #cfe4f0; text-decoration: none; }
.footer-nav a:hover, .footer-legal a:hover, .footer-contact a:hover { color: #ffffff; }
.footer-contact address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.footer-legal { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.logo--footer img { height: 56px; filter: brightness(0) invert(1); }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; color: rgba(255,255,255,0.65); text-align: center; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius-lg); box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { border: 0; padding: 0.55rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-size: 0.9rem; cursor: pointer; }
.cookie-banner__actions [data-cookie-accept] { background: var(--color-accent); color: #ffffff; }
.cookie-banner__actions [data-cookie-reject] { background: rgba(255,255,255,0.12); color: var(--color-neutral-light); }
.cookie-banner__actions [data-cookie-settings] { background: transparent; color: var(--color-neutral-light); border: 1px solid rgba(255,255,255,0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs [data-cookie-save] { justify-self: start; margin-top: 0.5rem; background: var(--color-accent); color: #ffffff; border: 0; padding: 0.55rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-size: 0.9rem; cursor: pointer; }
