@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cardo";
  src: url("assets/fonts/cardo-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cardo";
  src: url("assets/fonts/cardo-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --base: #272727;
  --base-soft: #303030;
  --surface: #323230;
  --surface-hover: #393936;
  --ink: #f9f9f9;
  --muted: #b7b7b7;
  --dim: #909090;
  --line: rgba(249, 249, 249, 0.14);
  --line-strong: rgba(249, 249, 249, 0.28);
  --sand: #b69b7e;
  --clay: #b76043;
  --olive: #7f9278;
  --slate: #819292;
  --focus: #e8c7a6;
  --page: min(1380px, calc(100% - 64px));
  --serif: "Cardo", Georgia, serif;
  --sans: "Jost", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 88% -5%, rgba(109, 83, 60, 0.18), transparent 31rem),
    var(--base);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 12px 16px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--base);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

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

.site-header {
  width: var(--page);
  min-height: 104px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  width: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.brand-copy span {
  margin-top: 6px;
  color: var(--dim);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  font-size: 14px;
}

.header-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--ink);
}

.language-picker {
  display: inline-flex;
  align-items: center;
}

.language-picker select {
  min-width: 62px;
  min-height: 44px;
  padding: 0 26px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--base);
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
}

.header-status > span:first-child {
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border: 1px solid var(--sand);
  border-radius: 50%;
}

.header-status .status-text {
  display: inline;
}

main {
  width: var(--page);
  margin: 0 auto;
}

.hero {
  min-height: 0;
  padding: 32px 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.7fr);
  grid-template-rows: 1fr auto;
  gap: 24px 48px;
  position: relative;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span {
  color: var(--clay);
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.86;
}

.hero h1 em {
  color: var(--sand);
  font-weight: 400;
}

.intro {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
}

.hero-mark {
  min-height: 180px;
  position: relative;
  align-self: center;
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-16deg);
}

.orbit-one {
  width: 160px;
  height: 160px;
  border-color: rgba(182, 155, 126, 0.42);
}

.orbit-two {
  width: 130px;
  height: 180px;
}

.orbit-three {
  width: 190px;
  height: 100px;
  border-color: rgba(183, 96, 67, 0.3);
}

.hero-monogram {
  position: absolute;
  inset: 50% auto auto 50%;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 52px;
  letter-spacing: -0.08em;
  transform: translate(-50%, -50%);
}

.hero-facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.hero-facts div {
  min-height: 60px;
  padding: 12px 0 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.hero-facts div + div {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.hero-facts strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.hero-facts span {
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-section {
  padding: 48px 0 80px;
  border-top: 1px solid var(--line);
}

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

.section-heading h2,
.help-strip h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.section-note {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--dim);
  font-size: 14px;
}

.identity-panel {
  margin: 24px 0 0;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--sand);
  background: rgba(182, 155, 126, 0.045);
  scroll-margin-top: 24px;
}

.identity-label {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 550;
}

.identity-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.identity-button {
  min-height: 46px;
  padding: 10px 18px;
  flex-shrink: 0;
  border: 1px solid var(--sand);
  background: var(--sand);
  color: var(--base);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
}

.identity-button span {
  margin-left: 12px;
}

.identity-button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.access-help {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--sand);
  font-size: 14px;
  text-underline-offset: 4px;
}

.identity-panel > .access-help {
  flex-shrink: 0;
}

.project-wayfinder {
  margin: 0 0 34px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(182, 155, 126, 0.34);
  background:
    linear-gradient(135deg, rgba(182, 155, 126, 0.09), rgba(127, 146, 120, 0.035) 55%, rgba(183, 96, 67, 0.07)),
    rgba(255, 255, 255, 0.018);
  position: relative;
  overflow: hidden;
}

.project-wayfinder::after {
  content: "";
  width: 210px;
  height: 210px;
  position: absolute;
  top: -142px;
  right: -92px;
  border: 1px solid rgba(182, 155, 126, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.wayfinder-heading {
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1.15fr);
  align-items: end;
  gap: 40px;
}

.wayfinder-kicker {
  margin: 0 0 8px;
  color: var(--sand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wayfinder-heading h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
}

.wayfinder-heading > p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

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

.project-wayfinder.is-single .wayfinder-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 720px;
}

.wayfinder-card {
  min-height: 280px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto 1fr auto;
  border: 1px solid var(--line);
  background: rgba(39, 39, 39, 0.7);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.wayfinder-card:hover {
  border-color: var(--line-strong);
  background: rgba(55, 55, 52, 0.92);
  transform: translateY(-3px);
}

.wayfinder-number {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--dim);
  font-family: var(--serif);
  font-size: 30px;
}

.wayfinder-purpose {
  grid-column: 1;
  color: var(--card-accent, var(--sand));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wayfinder-files {
  --card-accent: var(--sand);
}

.wayfinder-reading {
  --card-accent: var(--clay);
}

.wayfinder-card h4 {
  grid-column: 1 / -1;
  margin: 28px 0 10px;
  font-family: var(--serif);
  font-size: clamp(25px, 2.4vw, 34px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wayfinder-card p {
  grid-column: 1 / -1;
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.wayfinder-action {
  grid-column: 1 / -1;
  align-self: end;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--card-accent);
  font-size: 13px;
  font-weight: 650;
}

.wayfinder-note {
  margin: 18px 0 0;
  color: var(--dim);
  font-size: 12px;
}

.toolbar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.search {
  height: 68px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 24px 1fr auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 160ms ease, background 160ms ease;
}

.search:focus-within {
  border-color: var(--sand);
  background: rgba(255, 255, 255, 0.045);
}

.search-icon {
  width: 17px;
  height: 17px;
  border: 1.8px solid var(--muted);
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  width: 7px;
  height: 1.8px;
  position: absolute;
  right: -5px;
  bottom: -3px;
  background: var(--muted);
  transform: rotate(45deg);
}

.search input {
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 18px;
}

.search input::placeholder {
  color: var(--dim);
}

kbd {
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  color: var(--dim);
  font-family: var(--sans);
  font-size: 12px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filter {
  min-height: 44px;
  padding: 0 18px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.filter:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--base);
}

.results-line {
  min-height: 50px;
  padding: 18px 2px 12px;
  display: flex;
  justify-content: space-between;
  color: var(--dim);
  font-size: 13px;
}

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

.service-card {
  min-height: 360px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.022);
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card::before {
  content: "";
  width: 140px;
  height: 140px;
  position: absolute;
  right: -72px;
  top: -72px;
  border-radius: 50%;
  background: var(--card-accent, var(--sand));
  opacity: 0.08;
  transition: transform 260ms ease, opacity 260ms ease;
}

.service-card:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 0.15;
  transform: scale(1.3);
}

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--card-accent) 42%, transparent);
  border-radius: 50%;
  color: var(--card-accent);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.favorite-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dim);
  cursor: pointer;
}

.favorite-button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.favorite-button svg {
  width: 20px;
  height: 20px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.7;
}

.favorite-button[aria-pressed="true"] {
  color: var(--sand);
}

.favorite-button[aria-pressed="true"] svg {
  fill: currentColor;
}

.service-category {
  margin: 34px 0 8px;
  color: var(--card-accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.service-description {
  margin: 13px 0 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.card-footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid var(--line);
}

.access-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--dim);
  font-size: 12px;
}

.access-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--card-accent);
}

.service-link {
  min-height: 44px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.service-link:hover {
  background: var(--ink);
  color: var(--base);
}

.service-link span {
  font-size: 17px;
  line-height: 1;
}

.empty-state {
  padding: 70px 24px;
  border: 1px solid var(--line);
  text-align: center;
}

.empty-state > span {
  color: var(--dim);
  font-family: var(--serif);
  font-size: 64px;
}

.empty-state h3 {
  margin: 12px 0 8px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}

.empty-state p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.empty-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}

.empty-state button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--base);
  cursor: pointer;
}

.help-strip {
  margin: 0 0 124px;
  padding: 54px;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  background: #e7ded2;
  color: #272727;
}

.help-number {
  align-self: start;
  color: #973c20;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.help-strip h2 {
  font-size: clamp(34px, 4vw, 58px);
}

.help-strip p {
  max-width: 760px;
  margin: 16px 0 0;
  color: #5f584f;
}

.help-strip > a {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(39, 39, 39, 0.34);
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.help-strip > a:hover {
  background: #272727;
  color: #f9f9f9;
}

.site-footer {
  width: var(--page);
  min-height: 170px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 42px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  font-family: var(--serif);
  text-decoration: none;
}

.site-footer p {
  max-width: 570px;
  margin: 0;
  color: var(--dim);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

.toast {
  max-width: min(360px, calc(100% - 32px));
  min-height: 48px;
  padding: 13px 18px;
  position: fixed;
  z-index: 50;
  right: 24px;
  bottom: 24px;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  color: var(--base);
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  :root {
    --page: min(calc(100% - 44px), 980px);
  }

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

  .hero-mark {
    transform: scale(0.78);
  }

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

  .wayfinder-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .help-strip {
    grid-template-columns: 42px 1fr;
  }

  .help-strip > a {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  :root {
    --page: calc(100% - 32px);
  }

  .site-header {
    min-height: 88px;
  }

  .brand img {
    height: 46px;
  }

  .brand-copy span,
  .header-nav > a:not(.header-status) {
    display: none;
  }

  .header-nav {
    gap: 12px;
  }

  .header-status {
    font-size: 0;
  }

  .header-status::after {
    content: "Systeme";
    font-size: 13px;
  }

  .hero {
    min-height: auto;
    padding: 28px 0 20px;
    display: block;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 56px);
  }

  .hero-mark {
    display: none;
  }

  .hero-facts {
    margin-top: 24px;
  }

  .hero-facts div {
    min-height: 64px;
    padding-top: 12px;
    display: grid;
    align-content: start;
    gap: 0;
  }

  .hero-facts div + div {
    padding-left: 14px;
  }

  .hero-facts strong {
    font-size: 25px;
  }

  .hero-facts span {
    font-size: 10px;
  }

  .service-section {
    padding: 32px 0 64px;
  }

  .section-heading {
    display: block;
  }

  .identity-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .project-wayfinder {
    padding: 26px 20px;
  }

  .wayfinder-grid {
    grid-template-columns: 1fr;
  }

  .wayfinder-card {
    min-height: 260px;
    padding: 22px;
  }

  .section-note {
    margin-top: 20px;
  }

  .search {
    height: 60px;
  }

  .search kbd {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 340px;
  }

  .help-strip {
    margin-bottom: 76px;
    padding: 34px 26px;
    display: block;
  }

  .help-number {
    margin-bottom: 24px;
  }

  .help-strip > a {
    margin-top: 26px;
  }

  .site-footer {
    padding: 44px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 22px 32px;
  }

  .site-footer p {
    order: 3;
    flex-basis: 100%;
  }

  .footer-links {
    margin-left: auto;
  }

  .toast {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 430px) {
  .card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-link {
    width: 100%;
  }

  .footer-links {
    width: 100%;
    margin-left: 0;
  }
}

@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;
  }
}

/* Approved CV refinement: native text and scalable silhouette. */
.brand { gap: 18px; flex-shrink: 0; }
.brand img { width: 84px; height: auto; flex-shrink: 0; }
.brand-copy strong { font-size: 22px; letter-spacing: 0; }
.brand-copy span { color: var(--muted); letter-spacing: 0.16em; }
.hero-monogram { width: 160px; height: auto; }
.footer-brand img { width: 63px; height: auto; flex-shrink: 0; }
@media (max-width: 760px) {
  .site-header { gap: 12px; }
  .brand { gap: 12px; min-width: 0; }
  .brand img { width: 64px; height: auto; }
  .brand-copy strong { font-size: 18px; }
  .brand-copy span { display: block; font-size: 10px; letter-spacing: 0.1em; }
}
@media (max-width: 359px) {
  .brand { gap: 8px; }
  .brand img { width: 48px; }
  .brand-copy strong { font-size: 16px; }
}
@media (max-width: 430px) {
  .site-header { flex-wrap: wrap; padding-block: 14px; }
  .header-nav { margin-left: auto; }
}

/* Logo colour follows the same system preference as the page palette. */
.cv-mode-picture { display: contents; }
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --base: #f7f5f1;
    --base-soft: #eeeae4;
    --surface: #ffffff;
    --surface-hover: #ede8e0;
    --ink: #252525;
    --muted: #525252;
    --dim: #626262;
    --line: rgba(37, 37, 37, 0.16);
    --line-strong: rgba(37, 37, 37, 0.34);
    --sand: #795e40;
    --clay: #9e4127;
    --olive: #4e6544;
    --slate: #49646b;
    --focus: #005f86;
  }
  body { background: var(--base); }
  .wayfinder-card { background: rgba(255, 255, 255, 0.8); }
  .wayfinder-card:hover { background: #eeeae4; }
}
