@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --deep: #10242b;
  --deep-soft: #19363e;
  --ink: #20343a;
  --muted: #637379;
  --paper: #f8f8f4;
  --cream: #f0f1e9;
  --white: #fff;
  --orange: #e47b49;
  --orange-dark: #ad4e27;
  --line: #dce2dc;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 16px 44px rgba(16, 36, 43, 0.08);
  font-family: "DM Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

body,
button,
input,
select,
textarea {
  font-family: "DM Sans", Arial, sans-serif;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(228, 123, 73, 0.72);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--deep);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(16, 36, 43, 0.08);
  background: rgba(248, 248, 244, 0.96);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  width: min(1280px, calc(100% - 48px));
  min-height: 78px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--deep);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  flex: 0 0 38px;
  width: 38px;
  fill: var(--deep);
}

.mark-route {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.desktop-nav,
.full-nav {
  display: flex;
  align-items: center;
}

.desktop-nav {
  gap: 23px;
}

.full-nav {
  gap: clamp(12px, 1.5vw, 23px);
}

.desktop-nav a,
.mobile-nav a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--orange-dark);
}

.header-contact {
  padding: 10px 15px;
  border: 1px solid var(--deep);
  border-radius: 999px;
}

.compact-nav {
  display: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--deep);
}

.mobile-nav {
  display: grid;
  gap: 0;
  padding: 6px 24px 18px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.mobile-nav a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.hero {
  display: grid;
  min-height: 570px;
  padding-block: 54px 65px;
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: 0.94fr 1.06fr;
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow span {
  padding-inline: 4px;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--deep);
  font-family: "Manrope", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.13;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(2.65rem, 5.3vw, 4.7rem);
}

.hero h1 span {
  color: var(--orange-dark);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  margin-bottom: 11px;
  font-size: 1.35rem;
}

.hero-lede {
  max-width: 600px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  padding: 12px 18px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  border-color: var(--deep);
  background: var(--deep);
  color: var(--white);
}

.button-primary:hover {
  border-color: var(--deep-soft);
  background: var(--deep-soft);
}

.button-secondary {
  border-color: #c8d1cb;
  background: transparent;
  color: var(--deep);
}

.button-secondary:hover {
  border-color: var(--deep);
  background: var(--white);
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 11px;
}

.hero-meta,
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta b {
  margin-right: 6px;
  color: var(--orange-dark);
  font-size: 13px;
}

.visual-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--deep-soft);
  isolation: isolate;
}

.hero-visual {
  min-height: 420px;
  box-shadow: var(--shadow-card);
}

.hero-visual > img,
.page-hero-image > img,
.topic-image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual > img,
.page-hero-image > img {
  position: absolute;
  inset: 0;
}

.hero-visual::after,
.page-hero-image::after {
  position: absolute;
  z-index: 1;
  inset: 35% 0 0;
  background: linear-gradient(transparent, rgba(10, 26, 31, 0.67));
  content: "";
  pointer-events: none;
}

.contour-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(255, 255, 255, 0.42);
  stroke-width: 1;
  pointer-events: none;
}

.visual-caption {
  position: absolute;
  z-index: 3;
  right: 20px;
  bottom: 17px;
  left: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.elevation-tag {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(16, 36, 43, 0.38);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.elevation-tag i {
  padding-inline: 4px;
  color: #ffb18a;
  font-style: normal;
}

.intro-band {
  display: grid;
  padding-block: 40px 45px;
  align-items: center;
  gap: 40px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr 0.9fr;
}

.intro-band h2 {
  max-width: 500px;
  margin-bottom: 0;
}

.intro-band > p,
.section-heading > p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.topic-section {
  padding-block: 85px 100px;
}

.section-heading {
  display: flex;
  margin-bottom: 35px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.section-heading h2 {
  margin-bottom: 0;
}

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

.topic-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 8px 28px rgba(16, 36, 43, 0.04);
  grid-template-columns: minmax(160px, 0.83fr) 1.17fr;
}

.topic-image {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  background: var(--deep-soft);
}

.topic-image > img {
  position: absolute;
  inset: 0;
  transition: transform 350ms ease;
}

.topic-card:hover .topic-image > img {
  transform: scale(1.035);
}

.image-index {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 9px;
  border-radius: 999px;
  background: rgba(16, 36, 43, 0.75);
  color: white;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.topic-content {
  display: flex;
  min-width: 0;
  padding: clamp(20px, 2.8vw, 30px);
  flex-direction: column;
  align-items: flex-start;
}

.topic-content .eyebrow {
  margin-bottom: 9px;
}

.topic-content h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.topic-content > p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 18px;
}

.card-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--cream);
  color: #56666a;
  font-size: 9px;
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  margin-top: auto;
  padding-top: 20px;
  align-items: center;
  gap: 8px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--deep);
}

.framework-section {
  padding-block: 83px 68px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.78);
}

.section-heading-light h2 {
  max-width: 730px;
  color: #fff;
}

.section-heading-light .eyebrow {
  color: #ffac7f;
}

.section-heading-light > p {
  color: rgba(255, 255, 255, 0.67);
}

.route-graphic {
  display: flex;
  margin-block: 38px 22px;
  align-items: center;
  gap: 16px;
  color: #ffac7f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.route-graphic svg {
  flex: 1;
  height: 54px;
  overflow: visible;
}

.route-graphic path {
  fill: none;
  stroke: rgba(255, 172, 127, 0.75);
  stroke-dasharray: 4 5;
  stroke-width: 2;
}

.framework-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.framework-grid article {
  padding: 20px 17px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
}

.step-number {
  color: #ffac7f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.framework-grid h3 {
  margin: 9px 0;
  color: #fff;
  font-size: 1.2rem;
}

.framework-grid p {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  line-height: 1.7;
}

.framework-grid small {
  color: #ffac7f;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.weather-strip {
  display: flex;
  flex-wrap: wrap;
  margin-top: 27px;
  padding: 14px 17px;
  align-items: center;
  gap: 9px 19px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.weather-strip span:first-child {
  color: #ffac7f;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.contact-cta {
  display: flex;
  padding-block: 63px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta-copy {
  max-width: 620px;
}

.cta-copy h2 {
  margin-bottom: 10px;
}

.cta-copy > p:last-child {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  display: grid;
  min-height: 365px;
  padding-block: 47px 52px;
  align-items: center;
  gap: clamp(35px, 7vw, 95px);
  grid-template-columns: 1fr 0.92fr;
}

.page-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 16px;
  font-size: clamp(2.5rem, 5vw, 4rem);
}

.page-hero-copy .hero-lede {
  font-size: 16px;
}

.page-meta {
  margin-top: 24px;
  gap: 9px 20px;
  font-size: 9px;
}

.page-hero-image {
  height: 280px;
  box-shadow: var(--shadow-card);
}

.article-layout {
  display: grid;
  padding-block: 48px 80px;
  align-items: start;
  gap: clamp(40px, 7vw, 100px);
  border-top: 1px solid var(--line);
  grid-template-columns: minmax(170px, 0.34fr) minmax(0, 1fr);
}

.article-aside {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 9px;
  padding: 5px 0;
}

.article-aside > .eyebrow {
  margin-bottom: 8px;
}

.article-aside > a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.article-aside > a:hover {
  color: var(--orange-dark);
}

.aside-note {
  display: grid;
  margin-top: 20px;
  padding: 16px;
  gap: 6px;
  border-left: 2px solid var(--orange);
  background: var(--cream);
}

.aside-note b {
  color: var(--deep);
  font-size: 11px;
}

.aside-note span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.article-content {
  min-width: 0;
  max-width: 790px;
}

.article-content > .eyebrow {
  margin-bottom: 10px;
}

.article-content h2 {
  margin: 38px 0 13px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  scroll-margin-top: 100px;
}

.article-content > .eyebrow + h2 {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 17px;
  color: #4e6065;
  font-size: 14px;
  line-height: 1.85;
}

.article-content strong {
  color: var(--deep);
}

.article-content a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--deep);
}

.article-callout {
  margin-top: 30px;
  padding: 20px 22px;
  border: 1px solid #e6c5b4;
  border-radius: var(--radius-md);
  background: #fff8f3;
}

.article-callout strong {
  display: block;
  margin-bottom: 7px;
  color: var(--deep);
  font-size: 13px;
}

.article-callout p {
  margin: 0;
  font-size: 13px;
}

.related-section {
  padding-block: 15px 78px;
}

.related-section h2 {
  margin-bottom: 22px;
}

.related-links {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.related-links a {
  display: flex;
  min-height: 65px;
  padding: 15px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--orange);
}

.related-links a span {
  color: var(--orange-dark);
}

.site-footer {
  padding-top: 48px;
  background: #0d2026;
  color: rgba(255, 255, 255, 0.73);
}

.footer-main {
  display: grid;
  padding-bottom: 38px;
  gap: 55px;
  grid-template-columns: 1fr 1.15fr;
}

.footer-domain {
  color: #fff;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.footer-brand > p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.75;
}

.company-details {
  font-size: 10px !important;
}

.company-details a {
  color: #ffac7f;
}

.footer-links {
  display: grid;
  gap: 35px;
  grid-template-columns: 1fr 1fr;
}

.footer-links > div {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 9px;
}

.footer-links h2 {
  margin: 0 0 5px;
  color: #fff;
  font-size: 12px;
  letter-spacing: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffac7f;
}

.footer-bottom {
  display: flex;
  min-height: 55px;
  padding-block: 13px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
}

.contact-layout {
  display: grid;
  gap: 32px;
  align-items: start;
  padding-block: 42px 84px;
  border-top: 1px solid var(--line);
}

.contact-layout iframe,
.contact-layout .map,
.contact-layout [data-map],
.contact-layout [id*="map"],
.contact-layout [class*="map-"] {
  display: none !important;
}

.contact-intro {
  max-width: 520px;
}

.contact-intro h2,
.contact-form h2 {
  margin-bottom: 14px;
  font-size: clamp(1.8rem, 5vw, 2.55rem);
}

.contact-intro > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.contact-detail-card {
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--cream);
}

.contact-detail-label {
  display: block;
  margin-bottom: 7px;
  color: var(--orange-dark);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.contact-detail-card > a {
  color: var(--deep);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.contact-detail-card > a:hover {
  color: var(--orange-dark);
}

.contact-detail-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-form .eyebrow {
  margin-bottom: -9px;
}

.contact-form h2 {
  margin-bottom: -8px;
}

.form-note,
.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #cfd8d3;
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--orange-dark);
  outline: 3px solid rgba(228, 123, 73, 0.22);
  outline-offset: 1px;
}

.contact-form > .button {
  justify-self: start;
}

.form-privacy a {
  color: var(--orange-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.form-privacy a:hover {
  color: var(--deep);
}

.cookie-banner {
  position: fixed;
  z-index: 90;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: flex;
  max-width: 920px;
  margin-inline: auto;
  padding: 18px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 60px rgba(16, 36, 43, 0.2);
}

.cookie-copy strong {
  display: block;
  color: var(--deep);
  font-size: 13px;
}

.cookie-copy p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.cookie-text-button {
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.preferences-panel {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(8, 22, 27, 0.62);
}

.preferences-card {
  position: relative;
  width: min(480px, 100%);
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.26);
}

.preferences-card h2 {
  margin-bottom: 12px;
  font-size: 1.8rem;
}

.preferences-card > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.panel-close {
  position: absolute;
  top: 13px;
  right: 15px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}

.preference-toggle {
  display: flex;
  min-height: 48px;
  margin-block: 12px;
  padding: 11px 0;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  font-size: 12px;
  font-weight: 700;
}

.preference-toggle input {
  accent-color: var(--deep);
}

.preference-toggle span {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
}

.preferences-card > .button {
  margin-top: 16px;
}

@media (min-width: 800px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(45px, 7vw, 100px);
    padding-block: 58px 100px;
  }

  .contact-intro {
    position: sticky;
    top: 105px;
  }
}

@media (max-width: 1080px) {
  .header-inner {
    gap: 16px;
  }

  .desktop-nav {
    gap: 13px;
  }

  .full-nav {
    gap: 12px;
  }

  .desktop-nav a {
    font-size: 11px;
  }

  .topic-card {
    grid-template-columns: minmax(135px, 0.7fr) 1.3fr;
  }

  .topic-image {
    min-height: 290px;
  }

  .framework-grid {
    gap: 11px;
  }

  .framework-grid article {
    padding: 16px 12px;
  }
}

@media (max-width: 850px) {
  .section-shell {
    width: min(100% - 44px, 700px);
  }

  .header-inner {
    width: calc(100% - 40px);
    min-height: 70px;
  }

  .full-nav {
    display: none;
  }

  .compact-nav {
    display: inline;
  }

  .desktop-nav {
    margin-left: auto;
  }

  .hero {
    min-height: 0;
    padding-block: 52px;
    gap: 34px;
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-visual {
    min-height: 350px;
  }

  .intro-band {
    gap: 25px;
  }

  .topic-section {
    padding-block: 65px 75px;
  }

  .topic-list {
    gap: 16px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-image {
    min-height: 200px;
  }

  .topic-content {
    min-height: 260px;
  }

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

  .page-hero {
    gap: 30px;
    grid-template-columns: 1fr 0.85fr;
  }

  .article-layout {
    gap: 35px;
    grid-template-columns: 165px minmax(0, 1fr);
  }

  .footer-main {
    gap: 35px;
  }

  .contact-layout {
    gap: 28px;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 78px;
  }

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

  .header-inner {
    width: calc(100% - 32px);
    min-height: 66px;
    gap: 8px;
  }

  .brand {
    gap: 7px;
    font-size: 13px;
  }

  .brand-mark {
    flex-basis: 32px;
    width: 32px;
  }

  .desktop-nav {
    gap: 10px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .header-contact {
    padding: 8px 10px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-block: 39px 44px;
    gap: 27px;
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.45rem, 12vw, 3.6rem);
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-meta {
    margin-top: 24px;
    gap: 9px 17px;
  }

  .hero-visual {
    min-height: 300px;
  }

  .intro-band {
    padding-block: 32px;
    gap: 10px;
    grid-template-columns: 1fr;
  }

  .intro-band h2 {
    font-size: 2rem;
  }

  .intro-band > p {
    font-size: 13px;
  }

  .topic-section {
    padding-block: 55px 60px;
  }

  .section-heading {
    margin-bottom: 25px;
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
  }

  .section-heading > p {
    font-size: 13px;
  }

  .topic-list {
    grid-template-columns: 1fr;
  }

  .topic-card {
    grid-template-columns: minmax(110px, 0.72fr) 1.28fr;
  }

  .topic-image {
    min-height: 260px;
  }

  .topic-content {
    min-height: 260px;
    padding: 18px;
  }

  .topic-content h3 {
    font-size: 1.2rem;
  }

  .topic-content > p:not(.eyebrow) {
    font-size: 12px;
  }

  .card-meta {
    margin-top: 12px;
  }

  .text-link {
    font-size: 10px;
  }

  .framework-section {
    padding-block: 55px 42px;
  }

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

  .framework-grid article:last-child {
    grid-column: 1 / -1;
  }

  .route-graphic {
    gap: 8px;
    font-size: 7px;
  }

  .route-graphic svg {
    height: 38px;
  }

  .weather-strip {
    gap: 8px 12px;
  }

  .contact-cta {
    padding-block: 43px;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .page-hero {
    padding-block: 38px 40px;
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .page-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .page-hero-image {
    height: 250px;
  }

  .page-meta {
    font-size: 8px;
  }

  .article-layout {
    padding-block: 30px 54px;
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    display: flex;
    overflow-x: auto;
    padding: 0 0 11px;
    align-items: center;
    gap: 8px 15px;
    border-bottom: 1px solid var(--line);
    scrollbar-width: thin;
  }

  .article-aside > .eyebrow {
    flex: 0 0 auto;
    margin: 0 5px 0 0;
  }

  .article-aside > a {
    flex: 0 0 auto;
    padding: 5px 0;
    font-size: 10px;
  }

  .aside-note {
    display: none;
  }

  .article-content h2 {
    margin-top: 30px;
  }

  .article-content p {
    font-size: 13px;
  }

  .related-section {
    padding-bottom: 55px;
  }

  .related-links {
    grid-template-columns: 1fr;
  }

  .related-links a {
    min-height: 54px;
  }

  .footer-main {
    padding-bottom: 28px;
    gap: 30px;
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 25px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding-block: 12px;
  }

  .contact-layout {
    padding-block: 33px 55px;
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .contact-intro {
    max-width: none;
  }

  .contact-detail-card {
    margin-top: 20px;
  }

  .contact-form {
    padding: 22px 18px;
  }

  .cookie-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 15px;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .cookie-actions .button {
    flex: 1 1 auto;
  }

  .preferences-card {
    padding: 27px 21px;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 11px;
  }

  .brand-mark {
    flex-basis: 29px;
    width: 29px;
  }

  .desktop-nav {
    gap: 7px;
  }

  .desktop-nav a {
    font-size: 9px;
  }

  .header-contact {
    padding: 7px 8px;
  }

  .topic-card {
    grid-template-columns: 1fr;
  }

  .topic-image {
    min-height: 190px;
  }

  .topic-content {
    min-height: auto;
  }

  .text-link {
    padding-top: 16px;
  }

  .framework-grid {
    gap: 8px;
  }

  .framework-grid article {
    padding: 14px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}