:root {
  --color-primary: #0EA5E9;
  --color-secondary: #38BDF8;
  --color-accent: #F97316;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --sidebar-w: 240px;
  --maxw: 1080px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; cursor: pointer; }

/* === Skip link === */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--color-neutral-dark); color: #fff; padding: .75rem 1rem; z-index: 100;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* === Layout shell === */
.shell { display: block; }

/* === Sidebar (mobile: horizontal top bar) === */
.sidebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 20;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.sidebar__nav {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  padding: 1rem 1.25rem;
  display: none;
}
.sidebar__nav.is-open { display: block; }
.sidebar__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .25rem; }
.sidebar__nav a {
  display: block;
  padding: .6rem .75rem;
  border-radius: 6px;
  color: var(--color-neutral-dark);
  font-weight: 500;
  letter-spacing: .01em;
}
.sidebar__nav a:hover { background: var(--color-neutral-light); text-decoration: none; }
.sidebar__nav a[aria-current="page"] {
  color: var(--color-primary);
  background: var(--color-neutral-light);
}
.sidebar__foot { display: none; }
.nav-toggle {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid rgba(12,74,110,.15);
  border-radius: 8px; color: var(--color-neutral-dark);
}

/* === Main content === */
.content { padding: 2rem 1.25rem 3rem; max-width: 100%; }

/* === Typography === */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.25rem); margin: 0 0 .75rem; }
h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1rem;
}
.lede { color: rgba(12, 74, 110, 0.75); font-size: 1.05rem; margin: 0 0 1.25rem; }
.prose { max-width: 68ch; font-size: 1.05rem; line-height: 1.75; }

/* === Hero === */
.hero { padding: 1rem 0 3rem; max-width: var(--maxw); }
.hero__sub { font-size: 1.15rem; color: rgba(12,74,110,.75); max-width: 55ch; margin-bottom: 1.5rem; }
.hero__cta { margin: 1.5rem 0 2.5rem; }
.hero__figure {
  margin: 2rem 0 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--color-primary); color: #fff; }
.btn--primary:hover { background: var(--color-neutral-dark); }
.btn--accent { background: var(--color-accent); color: #fff; }
.btn--accent:hover { background: #ea6a10; }

/* === Sections === */
.section { padding: 3rem 0; max-width: var(--maxw); }
.section__head { margin-bottom: 1.75rem; max-width: 60ch; }
.section__figure { margin: 0 0 2rem; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; }
.section__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split__figure { border-radius: 12px; overflow: hidden; aspect-ratio: 4/5; }
.split__figure img { width: 100%; height: 100%; object-fit: cover; }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }

/* === Card === */
.card {
  padding: 1.5rem;
  background: var(--color-neutral-light);
  border: 1px solid rgba(12,74,110,.06);
  border-radius: 12px;
}
.card .icon { color: var(--color-primary); margin-bottom: .75rem; }
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: rgba(12,74,110,.85); }

/* === Quote === */
.section--quote { max-width: 780px; }
.quote {
  margin: 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(12,74,110,.12);
  border-bottom: 1px solid rgba(12,74,110,.12);
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin: 0 0 1rem;
}
.quote cite {
  font-style: normal;
  font-size: .92rem;
  color: rgba(12,74,110,.65);
  letter-spacing: .02em;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  border-radius: 12px;
  margin: 3rem 0;
  max-width: var(--maxw);
}
.cta-band__inner { padding: 2.5rem 1.5rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 50ch; margin-inline: auto; }

/* === Contact === */
.contact-band { max-width: 720px; }
.contact-block p { margin: .35rem 0; font-style: normal; }
.contact-form { max-width: 640px; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; font-size: .95rem; }
.field input, .field textarea {
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid rgba(12,74,110,.2);
  border-radius: 8px;
  font: inherit;
  color: inherit;
  background: #fff;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
  border-color: var(--color-primary);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; color: rgba(12,74,110,.85);
  margin: 1rem 0 1.5rem; flex-wrap: wrap;
}
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.footer {
  border-top: 1px solid rgba(12,74,110,.1);
  margin-top: 3rem;
  padding: 2.5rem 0 1.5rem;
  max-width: var(--maxw);
}
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.footer__brand { font-family: var(--font-heading); font-size: 1.35rem; margin: 0 0 .35rem; color: var(--color-neutral-dark); }
.footer nav ul, .footer__legal { list-style: none; margin: 0; padding: 0; }
.footer nav li, .footer__legal li { margin-bottom: .4rem; }
.footer nav a, .footer__legal a { color: var(--color-neutral-dark); }
.footer address { font-style: normal; font-size: .95rem; color: rgba(12,74,110,.85); line-height: 1.65; margin-bottom: 1rem; }
.footer__legal { margin-top: .75rem; font-size: .9rem; }
.footer__copy { margin: 2rem 0 0; font-size: .85rem; color: rgba(12,74,110,.6); }

/* === 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: 12px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  max-width: 640px;
  margin: 0 auto;
  font-size: .93rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; color: var(--color-neutral-light); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions button {
  padding: .55rem 1rem;
  border-radius: 6px;
  border: 1px solid rgba(240,249,255,.25);
  background: transparent;
  color: var(--color-neutral-light);
  font-size: .88rem;
  font-weight: 500;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent); border-color: var(--color-accent); color: #fff;
}
.cookie-banner__actions button:hover { opacity: .9; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .4rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button[data-cookie-save] {
  margin-top: .5rem; align-self: flex-start;
  padding: .5rem 1rem; border-radius: 6px;
  background: var(--color-accent); color: #fff; border: none; font-weight: 500;
}

/* === Desktop (>= 900px) === */
@media (min-width: 900px) {
  .shell {
    display: grid;
    grid-template-columns: var(--sidebar-w) 1fr;
    min-height: 100vh;
  }
  .sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(12,74,110,.08);
    border-bottom: none;
  }
  .logo img { height: 96px; }
  .sidebar__nav {
    position: static;
    display: block !important;
    background: transparent;
    border: none;
    padding: 2rem 0 0;
    flex: 1;
  }
  .sidebar__nav ul { gap: .15rem; }
  .sidebar__foot {
    display: block;
    font-size: .78rem;
    color: rgba(12,74,110,.5);
    margin: 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(12,74,110,.08);
  }
  .nav-toggle { display: none; }
  .content { padding: 3rem 3rem 4rem; max-width: none; }
  .hero { padding: 1rem 0 4rem; }
  .section { padding: 4rem 0; }
  .split { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .cta-band__inner { padding: 3.5rem 2rem; }
  .footer__cols { grid-template-columns: 1.2fr 1fr 1.4fr; gap: 3rem; }
}

@media (min-width: 1200px) {
  .content { padding: 4rem 4.5rem 4rem; }
}
