:root {
  color-scheme: dark;
  --ink: #f2eee5;
  --muted: #b6b2a8;
  --soft: #d5d0c4;
  --page: #101310;
  --surface: #171b17;
  --surface-raised: #1d221d;
  --line: rgba(229, 224, 210, .18);
  --accent: #c7a879;
  --accent-light: #e4c89b;
  --danger: #f3a49a;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--page);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

body.cookie-modal-open {
  overflow: hidden;
}

img, svg { max-width: 100%; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
p { margin: 0 0 1rem; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.15; }
h1, h2, h3 { font-family: var(--serif); }
em { color: var(--accent-light); font-weight: 400; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #111;
  background: var(--accent-light);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(16, 19, 16, .97);
}
.header-inner {
  width: min(1440px, calc(100% - 64px));
  min-height: 82px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .035em;
}
.brand-mark {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
}
.primary-nav a,
.header-contact {
  color: var(--soft);
  font-size: .78rem;
  letter-spacing: .025em;
  transition: color .2s ease;
}
.primary-nav a:hover,
.primary-nav a[aria-current="page"],
.header-contact:hover { color: var(--accent-light); }
.header-contact { white-space: nowrap; }
.header-contact span { margin-left: 4px; color: var(--accent); }
.menu-toggle { display: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  padding-top: clamp(58px, 8vw, 112px);
  padding-bottom: clamp(60px, 8vw, 110px);
}
.hero-copy { max-width: 620px; }
.hero h1,
.article-heading h1,
.legal-hero h1 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(3.7rem, 7.5vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .93;
}
.hero-intro {
  max-width: 590px;
  margin: 0;
  color: var(--soft);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.8;
}
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 31px;
}
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.button-primary {
  color: #171711;
  background: var(--accent-light);
}
.button-primary:hover { background: #f0d7ae; }
.button-outline {
  color: var(--ink);
  border-color: rgba(229, 224, 210, .38);
  background: transparent;
}
.button-outline:hover { border-color: var(--accent-light); color: var(--accent-light); }
.button-secondary {
  color: var(--accent-light);
  border-color: rgba(228, 200, 155, 0.38);
  background: rgba(228, 200, 155, 0.08);
}
.button-secondary:hover {
  background: rgba(228, 200, 155, 0.16);
  border-color: var(--accent-light);
}
.text-link,
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent-light);
  font-size: .8rem;
  font-weight: 600;
}
.text-link:hover,
.card-link:hover { color: #fff1d9; }
.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 50px;
  color: var(--muted);
  font-size: .73rem;
}
.note-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-visual { position: relative; min-width: 0; margin: 0; }
.hero-visual img {
  aspect-ratio: 1.25 / 1;
  border-radius: 3px;
}
.hero-visual figcaption,
.article-hero-image figcaption {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding-top: 12px;
  color: var(--muted);
  font-size: .61rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-visual figcaption span:first-child,
.article-hero-image figcaption span:first-child { color: var(--accent-light); }

.section {
  padding-top: clamp(68px, 8vw, 112px);
  padding-bottom: clamp(68px, 8vw, 112px);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 40px;
}
.section-heading h2,
.experience-copy h2 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  letter-spacing: -.04em;
}
.section-lede {
  max-width: 410px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.8;
}
.topic-list { border-top: 1px solid var(--line); }
.split-card {
  display: grid;
  grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.split-image { overflow: hidden; }
.split-image img {
  aspect-ratio: 1.58 / 1;
  transition: transform .5s ease;
}
.split-image:hover img { transform: scale(1.035); }
.card-meta {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .13em;
}
.split-content h3 {
  margin-bottom: 11px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  letter-spacing: -.025em;
}
.split-content > p:not(.card-meta) {
  max-width: 660px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .9rem;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.tag-row span {
  padding: 5px 9px;
  border: 1px solid var(--line);
  color: var(--soft);
  font-size: .65rem;
}
.experience-band {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
  padding-top: clamp(55px, 7vw, 92px);
  padding-bottom: clamp(55px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.experience-copy h2 { margin-bottom: 22px; }
.experience-copy > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.85;
}
.experience-copy .text-link { margin-top: 8px; }
.experience-art { min-width: 0; }
.experience-art > img {
  aspect-ratio: 1.55 / 1;
  margin-bottom: 15px;
}
.experience-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  color: var(--soft);
  font-size: .65rem;
  letter-spacing: .04em;
}
.experience-steps b { color: var(--accent); font-weight: 400; }

.discovery-section { padding-top: clamp(68px, 8vw, 112px); }
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.discovery-grid > a,
.discovery-grid > .index-label {
  min-height: 125px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.discovery-grid > a { transition: background .2s ease; }
.discovery-grid > a:hover { background: var(--surface-raised); }
.discovery-grid > a > span:first-child,
.discovery-grid .index-label > span:first-child {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: .62rem;
  letter-spacing: .12em;
}
.discovery-grid strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}
.discovery-grid small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .65rem;
}
.closing-note {
  display: grid;
  grid-template-columns: 1fr minmax(220px, 2fr) auto;
  align-items: center;
  gap: 30px;
  padding-top: 38px;
  padding-bottom: 60px;
  border-top: 1px solid var(--line);
}
.closing-note .eyebrow { margin: 0; }
.closing-note > p:not(.eyebrow) {
  max-width: 630px;
  margin: 0;
  color: var(--muted);
  font-size: .83rem;
}

/* Editorial article pages */
.article-hero {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: center;
  gap: clamp(34px, 6vw, 80px);
  padding-top: clamp(45px, 7vw, 88px);
  padding-bottom: clamp(45px, 6vw, 76px);
}
.article-heading { min-width: 0; }
.article-heading h1 {
  font-size: clamp(3.4rem, 6.6vw, 6.5rem);
}
.article-heading .hero-intro { max-width: 540px; }
.article-hero-image { min-width: 0; margin: 0; }
.article-hero-image img {
  aspect-ratio: 1.34 / 1;
  border-radius: 2px;
}
.editorial-layout {
  display: grid;
  grid-template-columns: 190px minmax(0, 760px);
  justify-content: space-between;
  gap: clamp(38px, 7vw, 100px);
  padding-top: 20px;
  padding-bottom: 80px;
}
.article-rail {
  align-self: start;
  position: sticky;
  top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}
.article-rail .eyebrow { margin-bottom: 6px; }
.article-rail a {
  color: var(--muted);
  font-size: .75rem;
  line-height: 1.45;
}
.article-rail a:hover { color: var(--accent-light); }
.article-body { min-width: 0; }
.article-body section { scroll-margin-top: 35px; }
.article-body section + section { margin-top: 55px; }
.article-body .eyebrow { margin-bottom: 11px; }
.article-body h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -.025em;
}
.article-body h3 {
  margin: 25px 0 12px;
  font-size: 1.45rem;
}
.article-body p {
  color: var(--soft);
  font-size: .94rem;
  line-height: 1.9;
}
.article-body a:not(.related-panel a) {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.editorial-figure { margin: 42px 0; }
.editorial-figure img {
  aspect-ratio: 1.72 / 1;
  background: var(--surface);
}
.editorial-figure figcaption {
  padding-top: 10px;
  color: var(--muted);
  font-size: .7rem;
}
.pull-note {
  margin: 42px 0;
  padding: 24px 28px;
  border-left: 2px solid var(--accent);
  background: var(--surface);
}
.pull-note span {
  color: var(--accent);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.pull-note p {
  margin: 8px 0 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.45;
}
.good-know {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin: 35px 0;
  padding: 25px;
  border: 1px solid var(--line);
}
.good-know h3 {
  margin: 0 0 12px;
  color: var(--accent-light);
  font-size: 1.35rem;
}
.good-know ul {
  margin: 0;
  padding-left: 19px;
  color: var(--soft);
  font-size: .82rem;
}
.good-know li + li { margin-top: 8px; }
.article-body .body-small {
  color: var(--muted);
  font-size: .78rem;
}
.related-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 50px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .015);
}
.related-panel .eyebrow { margin-bottom: 2px; }
.related-panel a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.2rem;
}
.related-panel a span { color: var(--accent); font-family: var(--sans); }
.related-panel a:hover { color: var(--accent-light); }
.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 36px;
  padding-bottom: 50px;
  border-top: 1px solid var(--line);
}
.contact-strip .eyebrow { margin-bottom: 8px; }
.contact-strip h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }

/* Legal and information pages */
.legal-hero {
  padding-top: clamp(55px, 8vw, 105px);
  padding-bottom: 44px;
}
.legal-hero h1 {
  font-size: clamp(3.4rem, 6.5vw, 6.2rem);
}
.legal-hero .hero-intro { max-width: 650px; }
.legal-updated {
  margin-top: 22px;
  color: var(--muted);
  font-size: .72rem;
}
.legal-body {
  max-width: 930px;
  padding-top: 20px;
  padding-bottom: 90px;
}
.legal-body > section {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.legal-body h2 {
  margin-bottom: 14px;
  font-size: 1.8rem;
}
.legal-body p,
.legal-body li {
  color: var(--soft);
  font-size: .89rem;
  line-height: 1.9;
}
.legal-body a:not(.related-panel a) {
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-wrap { max-width: 100%; overflow-x: auto; }
table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--soft);
  font-size: .78rem;
}
th, td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th { color: var(--accent-light); font-weight: 600; }

/* Contact */
.contact-hero { padding-bottom: 55px; }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
  gap: clamp(28px, 5vw, 65px);
  padding-top: 15px;
  padding-bottom: 85px;
}
.contact-form-panel,
.contact-detail-panel {
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.contact-form-panel h2,
.contact-detail-panel h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}
.form-intro {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: .83rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field { min-width: 0; }
.form-field-full { grid-column: 1 / -1; }
.form-field label {
  display: block;
  margin-bottom: 7px;
  color: var(--soft);
  font-size: .76rem;
  font-weight: 600;
}
.form-field label span[aria-hidden="true"] { color: var(--accent-light); }
.optional { color: var(--muted); font-weight: 400; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(229, 224, 210, .27);
  border-radius: 2px;
  color: var(--ink);
  background: #101310;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field select { color-scheme: dark; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--accent-light); outline: 1px solid var(--accent-light); }
.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea { border-color: var(--danger); }
.field-hint,
.field-error {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: .68rem;
}
.field-error { color: var(--danger); }
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}
.form-status {
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 2px solid var(--accent);
  color: var(--soft);
  background: #222820;
  font-size: .8rem;
}
.contact-detail-panel dl { margin: 26px 0; }
.contact-detail-panel dl > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.contact-detail-panel dt {
  margin-bottom: 4px;
  color: var(--accent);
  font-size: .66rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.contact-detail-panel dd {
  margin: 0;
  color: var(--soft);
  font-size: .84rem;
}
.contact-detail-panel dd a { color: var(--accent-light); }
.contact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background: #101310;
}
.contact-note p {
  margin: 0;
  color: var(--muted);
  font-size: .74rem;
}
.route-art {
  width: 100%;
  height: auto;
  margin-top: 25px;
  color: var(--accent);
}
.route-art circle { fill: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #0c0f0c;
}
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr 1.15fr;
  gap: clamp(25px, 4vw, 60px);
  padding-top: 55px;
  padding-bottom: 45px;
}
.footer-brand { margin-bottom: 16px; }
.footer-brand-col > p,
.footer-company p {
  color: var(--muted);
  font-size: .73rem;
  line-height: 1.75;
}
.footer-domain,
.footer-company > a {
  color: var(--accent-light);
  font-size: .72rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}
.footer-column h2 {
  margin: 0 0 8px;
  color: var(--accent-light);
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-column > a {
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.5;
}
.footer-column > a:hover { color: var(--ink); }
.footer-company p { margin: 0 0 4px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 16px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .63rem;
}
.footer-bottom a { color: var(--accent-light); }

/* Cookie consent modal & backdrop */
.cookie-backdrop {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(8, 10, 8, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: cookieFadeIn 0.25s ease-out;
}

.cookie-banner {
  position: fixed;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(580px, calc(100vw - 32px));
  max-height: min(88vh, 720px);
  max-height: min(88dvh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4.5vw, 36px);
  border: 1px solid rgba(228, 200, 155, 0.45);
  border-radius: 6px;
  color: var(--ink);
  background: radial-gradient(circle at top right, #1f251f 0%, #131713 100%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  animation: cookiePopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookieFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes cookiePopIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.cookie-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.cookie-icon-wrap {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(199, 168, 121, 0.12);
  border: 1px solid rgba(199, 168, 121, 0.32);
}

.cookie-icon {
  width: 22px;
  height: 22px;
  fill: var(--accent-light);
}

.cookie-eyebrow {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookie-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.2;
}

.cookie-copy p {
  margin: 0 0 22px;
  color: var(--soft);
  font-size: .88rem;
  line-height: 1.7;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-actions .button {
  min-height: 44px;
  padding: 10px 18px;
  font-size: .76rem;
}

.cookie-preferences {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  animation: cookieFadeIn 0.2s ease;
}

.cookie-pref-intro h3 {
  margin: 0 0 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.cookie-pref-intro p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: .8rem;
  line-height: 1.6;
}

.cookie-category-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.cookie-category-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(16, 19, 16, 0.7);
}

.cookie-category-info {
  flex: 1 1 auto;
  min-width: 0;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}

.cookie-category-title {
  color: var(--ink);
  font-size: .84rem;
  font-weight: 600;
}

.cookie-badge {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid rgba(199, 168, 121, 0.35);
  border-radius: 2px;
  color: var(--accent-light);
  background: rgba(199, 168, 121, 0.15);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.cookie-category-info p {
  margin: 0;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.5;
}

.cookie-switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex: 0 0 44px;
  margin-top: 2px;
  cursor: pointer;
}

.cookie-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-slider {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(229, 224, 210, 0.3);
  border-radius: 24px;
  background: #232923;
  transition: background .2s ease, border-color .2s ease;
}

.cookie-slider::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  background: var(--muted);
  transition: transform .2s ease, background-color .2s ease;
}

.cookie-switch input:checked + .cookie-slider {
  background: rgba(199, 168, 121, 0.32);
  border-color: var(--accent-light);
}

.cookie-switch input:checked + .cookie-slider::before {
  transform: translateX(20px);
  background: var(--accent-light);
}

.cookie-switch input:focus-visible + .cookie-slider {
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}

.cookie-pref-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.cookie-pref-actions .button {
  min-height: 42px;
  padding: 9px 16px;
  font-size: .74rem;
}

.cookie-cancel {
  border-color: rgba(229, 224, 210, .38);
  color: var(--ink);
  background: transparent;
}

.cookie-cancel:hover {
  border-color: var(--accent-light);
  color: var(--accent-light);
}

@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .brand { font-size: .78rem; }
  .brand-mark { width: 31px; height: 31px; }
  .primary-nav { gap: 14px; }
  .primary-nav a, .header-contact { font-size: .72rem; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-company { grid-column: 2 / -1; }
  .closing-note { grid-template-columns: 1fr 2fr; }
  .closing-note .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 78px; }
  .page-shell { width: min(var(--shell), calc(100% - 40px)); }
  .header-inner {
    width: calc(100% - 40px);
    min-height: 70px;
    flex-wrap: wrap;
    gap: 0;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 10px 10px;
    border: 0;
    color: var(--soft);
    background: transparent;
    cursor: pointer;
    font-size: .75rem;
  }
  .menu-icon {
    width: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .menu-icon i {
    width: 20px;
    height: 1px;
    display: block;
    background: var(--accent-light);
    transition: transform .2s ease;
  }
  .menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: #111511;
  }
  .primary-nav.is-visible { display: flex; flex-direction: column; }
  .primary-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: .86rem;
  }
  .primary-nav a:last-child { border-bottom: 0; }
  .header-contact { margin-left: auto; padding: 8px 0 8px 12px; }
  .hero {
    display: block;
    padding-top: 55px;
    padding-bottom: 65px;
  }
  .hero h1 { font-size: clamp(4rem, 16vw, 6.3rem); }
  .hero-visual { margin-top: 30px; }
  .hero-visual img { aspect-ratio: 1.18 / 1; }
  .hero-note { margin-top: 32px; }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .section-heading { display: block; margin-bottom: 28px; }
  .section-heading h2, .experience-copy h2 { font-size: clamp(2.5rem, 10vw, 3.6rem); }
  .section-lede { margin-top: 16px; }
  .split-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }
  .split-image img { aspect-ratio: 1.6 / 1; }
  .split-content h3 { font-size: 1.9rem; }
  .experience-band { grid-template-columns: 1fr; gap: 30px; }
  .discovery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .discovery-grid > a,
  .discovery-grid > .index-label { min-height: 112px; padding: 16px; }
  .discovery-grid strong { font-size: 1.08rem; }
  .closing-note { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .article-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
    padding-top: 46px;
    padding-bottom: 45px;
  }
  .article-heading h1 { font-size: clamp(3.6rem, 14vw, 5.6rem); }
  .article-hero-image img { aspect-ratio: 1.25 / 1; }
  .editorial-layout {
    display: block;
    padding-top: 10px;
    padding-bottom: 60px;
  }
  .article-rail {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 38px;
    padding: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
  }
  .article-rail .eyebrow { flex-basis: 100%; }
  .article-rail a { font-size: .7rem; }
  .article-body section + section { margin-top: 42px; }
  .article-body h2 { font-size: 2.25rem; }
  .editorial-figure { margin: 32px 0; }
  .good-know { grid-template-columns: 1fr; padding: 20px; }
  .contact-strip { align-items: flex-start; flex-direction: column; padding-bottom: 38px; }
  .legal-hero { padding-top: 55px; }
  .legal-hero h1 { font-size: clamp(3.4rem, 13vw, 5rem); }
  .legal-body { padding-bottom: 60px; }
  .contact-layout { grid-template-columns: 1fr; padding-bottom: 60px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-company { grid-column: auto; }
  .footer-bottom { display: grid; grid-template-columns: 1fr; gap: 7px; }
}

@media (max-width: 600px) {
  .cookie-banner {
    width: calc(100vw - 24px);
    max-height: min(90vh, 640px);
    max-height: min(90dvh, 640px);
    padding: 22px 18px;
  }
  .cookie-header { gap: 12px; }
  .cookie-icon-wrap { width: 36px; height: 36px; flex-basis: 36px; }
  .cookie-icon { width: 18px; height: 18px; }
  .cookie-actions { flex-direction: column; align-items: stretch; }
  .cookie-actions .button { width: 100%; }
  .cookie-pref-actions { flex-direction: column; align-items: stretch; }
  .cookie-pref-actions .button { width: 100%; }
}

@media (max-width: 480px) {
  .page-shell { width: calc(100% - 32px); }
  .header-inner { width: calc(100% - 32px); }
  .brand { gap: 7px; font-size: .71rem; }
  .brand-mark { width: 28px; height: 28px; }
  .header-contact { font-size: .68rem; }
  .button-row { align-items: flex-start; flex-direction: column; gap: 16px; }
  .button-row .button { width: 100%; }
  .discovery-grid { grid-template-columns: 1fr; }
  .discovery-grid > a,
  .discovery-grid > .index-label { min-height: 98px; }
  .hero-visual figcaption,
  .article-hero-image figcaption { font-size: .55rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .contact-form-panel,
  .contact-detail-panel { padding: 21px 17px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand-col,
  .footer-company { grid-column: auto; }
}

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