:root {
  --base: #ac352a;
  --base-deep: #7b261e;
  --accent: #c94a3e;
  --tint: #f3d6d2;
  --tint-soft: #fbefed;
  --paper: #faf6f5;
  --card: #ffffff;
  --ink: #2b1f1d;
  --ink-soft: #5f4f4c;
  --line: #e9d8d5;
  --night: #2e1e1c;
  --night-raised: #3b2724;
  --night-ink: #f1e6e4;
  --night-soft: #cdb9b5;
  --night-link: #f3b8af;
  --radius: 14px;
  --radius-small: 10px;
  --heading-font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --body-font: "PT Sans", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 1.0625rem;
  line-height: 1.6;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--base);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--base-deep);
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--base);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--radius-small);
  z-index: 10;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.page-shell {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  min-height: 100vh;
}

.side-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 22px;
  background: var(--card);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--ink);
}

.brand-suffix {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.side-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.side-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius-small);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 0.98rem;
}

.side-nav-link::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--tint);
  border: 1.5px solid var(--base);
  flex-shrink: 0;
}

.side-nav-link:hover,
.side-nav-link:focus-visible {
  background: var(--tint-soft);
  color: var(--base-deep);
}

.side-nav-link[aria-current=page] {
  background: var(--tint);
  color: var(--base-deep);
}

.side-nav-link[aria-current=page]::before {
  background: var(--base);
}

.side-contact {
  margin-top: auto;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--tint-soft);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--ink);
}

.side-contact-title {
  font-family: var(--heading-font);
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--ink);
}

.side-contact p {
  margin: 0 0 4px;
}

.side-contact a {
  overflow-wrap: anywhere;
}

.main-column {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.page-content {
  flex: 1;
}

.content-band {
  padding: 72px clamp(20px, 5vw, 64px);
}

.content-inner {
  max-width: 1040px;
  margin: 0 auto;
}

.band-tinted {
  background: var(--tint-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-deep {
  background: var(--base-deep);
  color: #fbeeec;
}

.band-deep h2,
.band-deep h3 {
  color: #ffffff;
}

.band-deep p {
  color: #f6e1dd;
}

.section-label {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--base);
  margin-bottom: 10px;
}

.band-deep .section-label {
  color: #f7c3bb;
}

.section-intro {
  max-width: 640px;
  color: var(--ink-soft);
}

.band-deep .section-intro {
  color: #f6e1dd;
}

.hero-band {
  padding: 80px clamp(20px, 5vw, 64px) 72px;
  background-color: var(--paper);
  background-image: url(images/pattern-dots.svg);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
}

.hero-figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
}

.hero-figure img {
  width: 100%;
  height: auto;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action-primary,
.action-secondary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius-small);
  font-family: var(--heading-font);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
}

.action-primary {
  background: var(--base);
  color: #ffffff;
  border: 2px solid var(--base);
}

.action-primary:hover {
  background: var(--base-deep);
  border-color: var(--base-deep);
  color: #ffffff;
}

.action-secondary {
  background: var(--card);
  color: var(--base-deep);
  border: 2px solid var(--tint);
}

.action-secondary:hover {
  border-color: var(--base);
  color: var(--base-deep);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.info-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.info-card h3 {
  color: var(--ink);
  margin-top: 16px;
}

.info-card p {
  color: var(--ink-soft);
  margin: 0;
}

.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--tint-soft);
  display: grid;
  place-items: center;
}

.duo-icon {
  width: 28px;
  height: 28px;
}

.duo-fill {
  fill: var(--tint);
}

.duo-line {
  fill: none;
  stroke: var(--base);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mission-layout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.mission-emblem {
  width: 96px;
  height: 96px;
  border-radius: 16px;
  background: #fbeeec;
  display: grid;
  place-items: center;
}

.mission-emblem .duo-icon {
  width: 56px;
  height: 56px;
}

.mission-text {
  font-size: 1.15rem;
  max-width: 680px;
}

.coverage-note {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.coverage-note p {
  margin: 0;
  color: var(--ink);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-item-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-item-label {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-item-value {
  font-style: normal;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.contact-item-value a {
  color: var(--base);
  font-weight: 700;
}

.page-heading-band {
  padding: 64px clamp(20px, 5vw, 64px) 40px;
  background-color: var(--paper);
  background-image: url(images/pattern-dots.svg);
  background-size: 28px 28px;
  border-bottom: 1px solid var(--line);
}

.text-flow {
  max-width: 760px;
}

.text-flow h2 {
  font-size: 1.35rem;
  margin-top: 1.8em;
}

.text-flow h2:first-child {
  margin-top: 0;
}

.text-flow ul {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.text-flow li {
  margin-bottom: 0.4em;
}

.detail-card {
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
}

.detail-card h2 {
  margin-top: 0;
}

.detail-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 180px) minmax(0, 1fr);
  gap: 10px 20px;
}

.detail-list dt {
  font-family: var(--heading-font);
  font-weight: 600;
  color: var(--ink-soft);
}

.detail-list dd {
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.notice-date {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.site-footer {
  background: var(--night);
  color: var(--night-ink);
  padding: 48px clamp(20px, 5vw, 64px) 28px;
}

.footer-grid {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
}

.footer-logo {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
}

.footer-name {
  font-family: var(--heading-font);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.footer-address {
  font-style: normal;
  color: var(--night-soft);
}

.footer-heading {
  font-family: var(--heading-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-soft);
  margin: 0 0 10px;
}

.footer-contact p {
  margin: 0 0 6px;
  color: var(--night-ink);
}

.site-footer a {
  color: var(--night-link);
  overflow-wrap: anywhere;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-list li {
  margin-bottom: 6px;
}

.footer-legal {
  max-width: 1040px;
  margin: 36px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--night-raised);
  font-size: 0.9rem;
  color: var(--night-soft);
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .side-panel {
    position: static;
    height: auto;
    gap: 18px;
    padding: 18px 20px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .side-nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }

  .side-nav-link {
    padding: 7px 11px;
    font-size: 0.92rem;
    background: var(--tint-soft);
  }

  .side-contact {
    display: none;
  }

  .hero-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-figure {
    max-width: 420px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 560px) {
  .content-band,
  .hero-band {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .mission-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .mission-emblem {
    width: 72px;
    height: 72px;
  }

  .detail-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .detail-list dd {
    margin-bottom: 10px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
