@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/fraunces-latin-500-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
}

:root {
  --pine: #123a3a;
  --pine-soft: #1f5250;
  --ink: #15302f;
  --muted: #55635f;
  --paper: #f6efe3;
  --panel: #fffaf2;
  --line: #e3d8c4;
  --amber: #e8a33d;
  --amber-dark: #b97b1c;
  --serif: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Instrument Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

h1,
h2,
h3,
p {
  margin: 0 0 16px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  font-size: clamp(34px, 5vw, 58px);
}

h2 {
  font-size: clamp(25px, 3vw, 34px);
}

h3 {
  font-size: 22px;
}

h1 em {
  color: var(--amber-dark);
  font-style: italic;
  font-weight: 500;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
}

.shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--panel);
}

.skip:focus {
  top: 10px;
}

.site-header {
  background: var(--pine);
  color: var(--panel);
}

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 28px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 24px;
  height: 24px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.brand-mark::before {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: -9px;
  bottom: -7px;
  width: 10px;
  height: 4px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  content: "";
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 15px;
}

.site-nav a {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current] {
  border-color: var(--amber);
}

.overline {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--amber);
  color: var(--pine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 30px;
  border-radius: 6px;
  background: var(--pine);
  color: var(--panel);
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.25);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease;
}

.cta:hover {
  background: var(--pine-soft);
}

.home-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 56px;
  padding: 64px 0 48px;
}

.strands {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.strands li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
}

.strands em {
  color: var(--amber-dark);
  font-size: 18px;
  font-weight: 500;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--pine);
  color: var(--panel);
}

.facts div {
  padding: 24px 28px;
}

.facts div + div {
  border-left: 1px solid var(--pine-soft);
}

.facts strong {
  display: block;
  color: var(--amber);
  font-family: var(--serif);
  font-size: 34px;
  font-style: italic;
  font-weight: 500;
}

.facts p {
  margin: 0;
}

.section {
  padding: 64px 0 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--amber);
  border-radius: 6px;
  background: var(--panel);
}

.card p {
  color: var(--muted);
  font-size: 15px;
}

.card a {
  color: var(--pine);
  font-weight: 600;
}

.band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 48px auto 64px;
  padding: 40px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--pine);
  background: var(--panel);
}

.page-hero {
  padding: 52px 0 30px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 740px) 280px;
  justify-content: space-between;
  gap: 56px;
  padding-bottom: 64px;
}

.article section {
  margin-bottom: 36px;
}

.article p {
  color: #34433f;
}

.article__note {
  padding: 20px 24px;
  border-left: 5px solid var(--amber);
  background: var(--panel);
}

.sidebar {
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.sidebar h2 {
  font-size: 22px;
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.sidebar .cta {
  width: 100%;
}

.faq {
  max-width: 820px;
  padding-bottom: 64px;
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
}

details p {
  margin: 12px 0 0;
  color: var(--muted);
}

.faq__cta {
  margin-top: 32px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-bottom: 64px;
}

.contact section {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
}

.legal {
  max-width: 860px;
  padding: 52px 0 64px;
}

.legal h1 {
  font-size: clamp(32px, 4vw, 46px);
}

.legal h2 {
  margin-top: 34px;
  font-size: 24px;
}

.legal p,
.legal li {
  color: #34433f;
}

.site-footer {
  padding: 44px 0 24px;
  background: var(--pine);
  color: rgba(255, 250, 242, 0.78);
  font-size: 14px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer strong,
.brand--light {
  color: var(--panel);
}

.brand--light {
  margin-bottom: 12px;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--pine-soft);
}

.site-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

@media (max-width: 960px) {
  .home-hero,
  .article-layout,
  .band {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: calc(100% - 32px);
  }

  .home-hero {
    gap: 28px;
    padding: 40px 0;
  }

  .strands li {
    padding: 12px 4px;
    font-size: 20px;
  }

  .facts,
  .cards,
  .contact {
    grid-template-columns: 1fr;
  }

  .facts div + div {
    border-top: 1px solid var(--pine-soft);
    border-left: 0;
  }

  .band {
    padding: 26px;
  }

  .lead {
    font-size: 17px;
  }

  .cta {
    width: 100%;
  }
}

@media (max-width: 600px) {
  div#CybotCookiebotDialog {
    position: fixed !important;
    top: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    left: 8px !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: 75dvh !important;
    margin: 0 !important;
    transform: none !important;
    scale: 1 !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
  }
}
