:root {
  --color-primary: #0F766E;
  --color-secondary: #14B8A6;
  --color-accent: #0369A1;
  --color-neutral-dark: #134E4A;
  --color-neutral-light: #F0FDFA;
  --color-text: #0f2a29;
  --color-muted: #4b6b68;
  --color-line: rgba(19, 78, 74, 0.14);
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 20px 40px -24px rgba(19, 78, 74, 0.28);
}

/* === Base === */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.65rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 1.25rem; }

.eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }

/* === Header === */
.site-header {
  border-bottom: 1px solid var(--color-line);
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 0.4rem;
  color: var(--color-neutral-dark);
  cursor: pointer;
}
.primary-nav {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
  padding-block: 0.75rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-line);
}
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex;
    flex-direction: row;
    width: auto;
    gap: 2rem;
    padding: 0;
  }
  .primary-nav a { border: 0; padding: 0; }
}

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

/* === Hero split === */
.hero { padding-block: 3rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.hero-copy h1 { margin-top: 0; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero-media img { aspect-ratio: 4 / 5; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
.section.narrow { max-width: 720px; margin-inline: auto; padding-inline: 1.25rem; }
.section.narrow.center { text-align: center; }
.section.narrow.center .lede { margin-inline: auto; }
.band-light { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head h2 { margin-bottom: 0.6rem; }
.section-head p { color: var(--color-muted); }

/* === Grid & cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card h3 { margin-bottom: 0.6rem; color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin-bottom: 0; }
.card-icon { color: var(--color-primary); margin-bottom: 0.9rem; }
a.card-link { display: block; color: inherit; text-decoration: none; }
a.card-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
a.card-link h3 { color: var(--color-primary); }

/* === Split content block === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Pull quote === */
.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  padding-inline: 1.25rem;
  text-align: center;
  border: 0;
}
.pull-quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 500;
  color: var(--color-neutral-dark);
  line-height: 1.4;
  margin-bottom: 1rem;
}
.pull-quote cite {
  color: var(--color-muted);
  font-style: normal;
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: var(--color-primary);
  color: #ffffff;
  padding-block: 3.5rem;
}
.cta-inner { text-align: center; max-width: 720px; margin-inline: auto; }
.cta-inner h2 { color: #ffffff; }
.cta-inner p { color: rgba(240, 253, 250, 0.9); margin-bottom: 1.6rem; }

/* === Article detail === */
.article-detail {
  max-width: 65ch;
  margin: 3rem auto 4rem;
  padding-inline: 1.25rem;
}
.article-detail h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.article-sub {
  font-size: 1.2rem;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-block: 2rem;
}
.article-detail p {
  font-size: 1.115rem;
  line-height: 1.75;
  margin-block: 1.25rem;
}
.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line);
}
.back-link { font-weight: 600; }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea {
  font: inherit;
  color: var(--color-text);
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-muted);
  flex-wrap: wrap;
  margin-top: 0.25rem;
}
.form-consent input { margin-top: 0.25rem; }
.contact-form .btn { align-self: flex-start; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(240, 253, 250, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer h3 { color: #ffffff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 253, 250, 0.85); }
.site-footer a:hover { color: #ffffff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.logo-footer img { height: 72px; }
.tagline { color: rgba(240, 253, 250, 0.75); font-size: 0.95rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.legal-links { display: flex; flex-direction: column; gap: 0.4rem; font-size: 0.9rem; }
.copyright {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  font-size: 0.85rem;
  color: rgba(240, 253, 250, 0.65);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.3fr; gap: 3rem; }
}

/* === Cookie banner === */
.consent-panel {
  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.1rem 1.25rem;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.4);
  max-width: 640px;
  margin-inline: auto;
}
.consent-panel.is-visible { display: block; }
.consent-panel p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; }
.consent-panel__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.consent-panel__actions button {
  font: inherit;
  border: 1px solid rgba(240, 253, 250, 0.25);
  background: transparent;
  color: var(--color-neutral-light);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.88rem;
}
.consent-panel__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #ffffff;
}
.consent-panel__actions button:hover { background: rgba(240, 253, 250, 0.12); }
.consent-panel__actions button[data-cookie-accept]:hover { background: #024f7a; }
.consent-panel__prefs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(240, 253, 250, 0.15);
  font-size: 0.9rem;
}
.consent-panel__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.consent-panel__prefs button {
  align-self: flex-start;
  font: inherit;
  background: var(--color-accent);
  color: #ffffff;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
