:root {
  color-scheme: dark;
  --page: #111714;
  --panel: #1b241f;
  --panel-quiet: #151e19;
  --text: #f0f3ed;
  --muted: #b2bfb5;
  --line: #364439;
  --focus: #c9f475;
  --brand-accent: #c9f475;
  --on-brand: #000;
  --shell: 1180px;
  --display: "Avenir Next", "Segoe UI", sans-serif;
  --body: "Avenir Next", "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
  color-scheme: light;
  --page: #f6f7f2;
  --panel: #fff;
  --panel-quiet: #e9eee8;
  --text: #162019;
  --muted: #455449;
  --line: #c8d2c9;
  --focus: #2e6446;
}

:root[data-theme="warm"] {
  color-scheme: light;
  --page: #f7f2e8;
  --panel: #fffaf0;
  --panel-quiet: #ece3d3;
  --text: #292a21;
  --muted: #54564a;
  --line: #d4cabb;
  --focus: #535a31;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; }
.hero :focus-visible, .video :focus-visible { outline-color: #fff; }
::selection { background: var(--brand-accent); color: var(--on-brand); }

.shell { width: min(calc(100% - clamp(2rem, 8vw, 7rem)), var(--shell)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 30;
  top: 1rem;
  left: 1rem;
  padding: .6rem 1rem;
  background: var(--panel);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}
.header-inner, .footer-row {
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  font-weight: 780;
  font-size: 1.01rem;
  line-height: 1.22;
  letter-spacing: -.035em;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-mark {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  background: var(--brand-accent);
  color: var(--on-brand);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.brand-mark > i {
  display: block;
  width: 2px;
  height: 15px;
  background: currentColor;
  transform: rotate(25deg);
}
.brand-mark > i:nth-child(2) { height: 22px; }
.header-inner nav, .footer-row nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem clamp(.75rem, 2vw, 2rem);
}
.header-inner nav a, .footer-row nav a {
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}
.header-inner nav a:hover, .footer-row nav a:hover { text-decoration: underline; text-underline-offset: .25em; }
.header-inner .nav-contact {
  padding: .45rem .9rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(560px, 74vh, 740px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #121b16;
  color: #fff;
  border-bottom: 1px solid var(--line);
}
.hero-photo {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #0b100eef 0%, #0b100eea 24%, #0b100ebc 46%, #0b100e38 77%, #0b100e1a 100%),
    linear-gradient(0deg, #0b100ea8 0%, #0b100e00 64%);
}
.hero-inner { padding-block: clamp(4rem, 8vw, 9rem); }
.hero-credit {
  position: absolute;
  right: max(calc((100% - var(--shell)) / 2), 1rem);
  bottom: 1rem;
  padding: .25rem .54rem;
  border: 1px solid #ffffff59;
  border-radius: 4px;
  background: #0b100edd;
  color: #edf2ed;
  font-size: .82rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--muted);
  font-weight: 740;
  font-size: .82rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow > span {
  flex: 0 0 auto;
  display: block;
  width: 1.16rem;
  height: .46rem;
  transform: skewX(-22deg);
  background: var(--brand-accent);
  border: 1px solid var(--line);
}
.hero .eyebrow { color: #e1eae1; }
.hero h1 {
  width: min(100%, 15ch);
  margin-top: 1.1rem;
  font-size: clamp(2.95rem, 7.15vw, 7.05rem);
  font-weight: 740;
  line-height: 1.01;
  letter-spacing: -.047em;
  text-wrap: balance;
}
.tagline {
  margin-top: 1.1rem;
  max-width: 35ch;
  font-size: clamp(1.12rem, 2.15vw, 1.55rem);
  line-height: 1.33;
  font-weight: 640;
  letter-spacing: -.02em;
}
.hero-intro {
  max-width: 54ch;
  margin-top: 1rem;
  color: #e4ebe2;
  font-size: clamp(1rem, 1.55vw, 1.15rem);
  white-space: pre-line;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem .8rem; margin-top: 1.9rem; }
.button {
  display: inline-flex;
  width: fit-content;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  padding: .66rem 1.04rem;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: .94rem;
  font-weight: 760;
  line-height: 1.3;
  text-decoration: none;
  transition: box-shadow .15s ease, transform .15s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: none; }
.button.primary {
  border-color: var(--line);
  background: var(--brand-accent);
  color: var(--on-brand);
}
.button.secondary {
  background: #101715a0;
  border-color: #ffffff6e;
  color: #fff;
}

.section { padding-block: clamp(3.5rem, 7.8vw, 7rem); }
.section h2 {
  margin-top: .65rem;
  max-width: 23ch;
  font-size: clamp(2rem, 4.35vw, 4.15rem);
  font-weight: 750;
  line-height: 1.02;
  letter-spacing: -.061em;
  text-wrap: balance;
}
.section-copy { max-width: 58ch; margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }
.preserve-lines { white-space: pre-line; }
.services-grid {
  margin-top: clamp(1.6rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: .85rem;
}
.service {
  min-height: 12.75rem;
  padding: clamp(1.25rem, 3vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel);
}
.service-mark {
  position: relative;
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.service-mark::after {
  position: absolute;
  content: "";
  inset: 45% 20%;
  transform: rotate(-38deg);
  border: 1px solid var(--line);
  background: var(--brand-accent);
}
.service h3 {
  font-size: clamp(1.17rem, 2vw, 1.47rem);
  font-weight: 740;
  line-height: 1.26;
  letter-spacing: -.038em;
}
.service p { white-space: pre-line; color: var(--muted); margin-top: .65rem; }
.profile-section {
  background: var(--panel-quiet);
  border-block: 1px solid var(--line);
}
.profile-layout, .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 5rem);
  align-items: start;
}
.profile-layout .section-copy { margin-top: .25rem; }
.service-area {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .35rem .8rem;
  margin-top: 1.35rem;
  font-weight: 680;
}
.service-area span {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: .24rem .56rem;
  font-size: .8rem;
  font-weight: 650;
}
.evidence-copy { margin-top: 1.25rem; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .9rem;
  margin-top: 1.8rem;
}
.gallery figure {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; background: var(--panel-quiet); }
.gallery figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .6rem;
  padding: .72rem .84rem;
  font-size: .92rem;
  color: var(--muted);
}
.media-credit {
  padding: .22rem .45rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .8rem;
}
.video {
  position: relative;
  isolation: isolate;
  margin-top: 2rem;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: clamp(18rem, 42vw, 28rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #111914;
  color: #fff;
}
.video > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  z-index: -1;
}
.video-content { max-width: 35rem; padding: 1.5rem; }
.play-mark {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #ffffff80;
  border-radius: 50%;
  margin: 0 auto .65rem;
}
.play-mark::after {
  content: "";
  margin-left: 3px;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent white;
}
.video h3 { font-size: 1.38rem; letter-spacing: -.025em; }
.video p { margin: .35rem 0 .95rem; color: #e3e8e2; }
.video[data-loaded] { min-height: 0; }
.video iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; }
.video noscript { display: block; margin-top: .7rem; }

.contact-section {
  border-top: 1px solid var(--line);
  background: var(--panel-quiet);
}
.contact-copy address {
  display: grid;
  gap: .5rem;
  margin-top: 1.5rem;
  font-style: normal;
}
.contact-copy address a {
  width: fit-content;
  font-size: 1.03rem;
  font-weight: 660;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
}
.region-detail { color: var(--muted); font-size: .93rem; }
.form-surface {
  padding: clamp(1.25rem, 3vw, 1.9rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}
.form-surface fieldset { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: .9rem; }
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
form label { display: grid; gap: .3rem; font-weight: 660; font-size: .9rem; }
form input, form textarea {
  width: 100%;
  padding: .55rem .62rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--text);
  background: var(--page);
  font-size: 1rem;
}
form input:not([type="checkbox"]) { min-height: 2.8rem; }
form textarea { resize: vertical; min-height: 7.5rem; }
form a { text-underline-offset: .18em; }
.check-field { display: flex; align-items: start; gap: .5rem; color: var(--muted); }
.check-field input { width: 1.15rem; height: 1.15rem; margin: .15rem 0 0; flex-shrink: 0; accent-color: var(--focus); }
.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.form-feedback {
  margin-bottom: 1rem;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--panel-quiet);
}
.form-feedback.error { border-color: #cc7659; }
.form-feedback.success { border-color: #578757; }
fieldset[disabled] { opacity: .7; }
fieldset[disabled] button { cursor: default; }
.preview-note { margin-top: .8rem; color: var(--muted); font-size: .9rem; }

.site-footer { padding-block: 1.25rem 2rem; }
.footer-row { margin-bottom: .65rem; }
.footer-row nav a { color: var(--muted); }
.legal {
  padding-block: .75rem;
  border-top: 1px solid var(--line);
}
.legal summary {
  cursor: pointer;
  font-weight: 650;
  font-size: .92rem;
}
.legal-content { margin: .65rem 0; max-width: 76ch; color: var(--muted); }

@media (max-width: 850px) {
  .hero::before { background: linear-gradient(90deg, #0b100ef2 0%, #0b100ed5 40%, #0b100e65 100%), linear-gradient(0deg, #0b100e8f, transparent 64%); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  html { scroll-padding-top: 5rem; }
  .header-inner, .footer-row { gap: .7rem; }
  .header-inner { min-height: 4rem; }
  .header-inner nav a:not(.nav-contact) { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand img { width: 36px; height: 36px; }
  .hero { min-height: 35rem; }
  .hero-inner { padding-block: 4.6rem 3.5rem; }
  .hero-photo { object-position: 62% center; }
  .hero::before { background: linear-gradient(90deg, #0b100eee 0%, #0b100e85 100%), linear-gradient(0deg, #0b100edc 0%, #0b100e10 100%); }
  .profile-layout, .form-columns { grid-template-columns: 1fr; }
  .footer-row { align-items: start; flex-direction: column; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Editorial layout for new publications. Earlier HTML snapshots retain their own styling. */
:root[data-layout="editorial"] {
  color-scheme: light;
  --page: #faf9f6;
  --panel: #fff;
  --panel-quiet: #eeefed;
  --text: #222b31;
  --muted: #4c555b;
  --line: #cfd4d5;
  --focus: #245b7e;
  --shell: 1160px;
  --display: "Aptos Display", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  --body: "Aptos", "Helvetica Neue", "Segoe UI", system-ui, sans-serif;
  scroll-padding-top: 1.4rem;
}

:root[data-layout="editorial"][data-theme="warm"] {
  --page: #fbf7ef;
  --panel: #fffcf7;
  --panel-quiet: #eee6d8;
  --text: #352b24;
  --muted: #615246;
  --line: #d2c5b5;
  --focus: #815532;
  --display: Georgia, "Times New Roman", serif;
}

:root[data-layout="editorial"][data-theme="dark"] {
  color-scheme: dark;
  --page: #222a31;
  --panel: #2b353e;
  --panel-quiet: #192228;
  --text: #f5f4ef;
  --muted: #c0c9ce;
  --line: #56636c;
  --focus: #d8e5ec;
}

[data-layout="editorial"] body { line-height: 1.65; }
[data-layout="editorial"] .site-header { position: static; }
[data-layout="editorial"] .header-inner { min-height: 4.75rem; }
[data-layout="editorial"] .brand {
  min-width: min-content;
  max-width: 23ch;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 675;
  letter-spacing: -.021em;
}
[data-layout="editorial"] .brand img { flex: 0 0 auto; }
[data-layout="editorial"] .header-inner nav, [data-layout="editorial"] .footer-row nav { line-height: 1.25; }
[data-layout="editorial"] .header-inner nav a { font-weight: 550; }
[data-layout="editorial"] .header-inner .nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .45rem .82rem;
  border-radius: 2px;
  font-weight: 650;
}
[data-layout="editorial"] .hero {
  min-height: auto;
  display: block;
  overflow: visible;
  isolation: auto;
  border-bottom: 1px solid var(--line);
  background: var(--page);
  color: var(--text);
}
[data-layout="editorial"] .hero::before { content: none; }
[data-layout="editorial"] .hero-inner {
  display: grid;
  grid-template-areas: "copy";
  gap: clamp(2rem, 5vw, 5.2rem);
  align-items: center;
  padding-block: clamp(3.65rem, 7.3vw, 6.8rem);
}
[data-layout="editorial"] .with-photo .hero-inner {
  grid-template-areas: "copy image";
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
}
[data-layout="editorial"] .hero-copy { grid-area: copy; }
[data-layout="editorial"] .without-photo .hero-copy { max-width: 53rem; }

[data-layout="editorial"] .hero-location {
  margin-bottom: .75rem;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 640;
}
[data-layout="editorial"] .hero h1 {
  width: auto;
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2.55rem, 5.8vw, 5.25rem);
  font-weight: 680;
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  hyphens: auto;
}
[data-layout="editorial"] .with-photo h1 { font-size: clamp(2.55rem, 4.45vw, 4.35rem); }
[data-layout="editorial"] .hero :focus-visible, [data-layout="editorial"] .video :focus-visible { outline-color: var(--focus); }
[data-layout="editorial"] .tagline {
  max-width: 44ch;
  margin-top: 1.2rem;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.45;
  font-weight: 620;
  letter-spacing: -.012em;
}
[data-layout="editorial"] .hero-intro {
  max-width: 60ch;
  margin-top: .85rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}
[data-layout="editorial"] .tagline + .hero-intro { margin-top: .42rem; }
[data-layout="editorial"] .hero-actions { margin-top: 1.6rem; gap: .55rem .9rem; }
[data-layout="editorial"] .button {
  min-height: 46px;
  padding: .66rem 1rem;
  border-radius: 2px;
  font-size: .96rem;
  font-weight: 650;
  transition: none;
}
[data-layout="editorial"] .button:hover { transform: none; text-decoration: underline; text-underline-offset: .21em; }
[data-layout="editorial"] .button.secondary { color: var(--text); background: transparent; border-color: var(--line); }

[data-layout="editorial"] .lead-photo {
  grid-area: image;
  min-width: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--panel-quiet);
}
[data-layout="editorial"] .lead-photo img { width: 100%; aspect-ratio: 6 / 5; object-fit: cover; }

[data-layout="editorial"][data-theme="warm"] .hero-inner {
  grid-template-areas: "copy";
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 2rem;
}
[data-layout="editorial"][data-theme="warm"] .with-photo .hero-inner { grid-template-areas: "copy" "image"; }
[data-layout="editorial"][data-theme="warm"] .hero-copy { width: min(100%, 53rem); text-align: center; }
[data-layout="editorial"][data-theme="warm"] .hero h1 {
  max-width: 19ch;
  margin-inline: auto;
  font-size: clamp(2.7rem, 6.1vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.046em;
}
[data-layout="editorial"][data-theme="warm"] .tagline,
[data-layout="editorial"][data-theme="warm"] .hero-intro { margin-inline: auto; }
[data-layout="editorial"][data-theme="warm"] .hero-actions { justify-content: center; }
[data-layout="editorial"][data-theme="warm"] .lead-photo { width: min(100%, 55rem); border-radius: 0; }
[data-layout="editorial"][data-theme="warm"] .lead-photo img { aspect-ratio: 2 / 1; }

[data-layout="editorial"][data-theme="dark"] .hero { background: var(--panel-quiet); }
[data-layout="editorial"][data-theme="dark"] .with-photo .hero-inner {
  grid-template-areas: "image copy";
  grid-template-columns: minmax(0, .9fr) minmax(0, 1fr);
}
[data-layout="editorial"][data-theme="dark"] .lead-photo img { aspect-ratio: 5 / 4; }
[data-layout="editorial"][data-theme="dark"] .hero-copy {
  padding-inline-start: clamp(1.2rem, 2.4vw, 2rem);
  border-inline-start: 1px solid var(--line);
}

[data-layout="editorial"] .section { padding-block: clamp(3rem, 6.2vw, 5.15rem); }
[data-layout="editorial"] .section h2 {
  margin: 0;
  font-size: clamp(1.85rem, 3.45vw, 3.28rem);
  font-weight: 675;
  line-height: 1.12;
  letter-spacing: -.032em;
  hyphens: auto;
}
[data-layout="editorial"][data-theme="warm"] .section h2 { font-weight: 400; }
[data-layout="editorial"] .section-copy { font-size: 1.025rem; }
[data-layout="editorial"] .services-grid {
  margin-top: clamp(1.1rem, 2.7vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0 clamp(1.25rem, 4vw, 3rem);
}
[data-layout="editorial"] .service {
  min-height: 0;
  padding: 1.1rem 0 1.55rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
[data-layout="editorial"] .service h3 {
  font-size: clamp(1.18rem, 1.7vw, 1.42rem);
  letter-spacing: -.018em;
  font-weight: 650;
}
[data-layout="editorial"] .service p { max-width: 48ch; margin-top: .46rem; }
[data-layout="editorial"][data-theme="warm"] .services-grid {
  grid-template-columns: minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}
[data-layout="editorial"][data-theme="warm"] .service {
  display: grid;
  grid-template-columns: minmax(0, .74fr) minmax(0, 1fr);
  column-gap: 1.5rem;
  padding-block: 1.12rem;
}
[data-layout="editorial"][data-theme="warm"] .service h3 { font-weight: 400; }
[data-layout="editorial"][data-theme="warm"] .service p { margin-top: 0; }
[data-layout="editorial"][data-theme="dark"] .services-grid { gap: 1px; background: var(--line); border: 1px solid var(--line); }
[data-layout="editorial"][data-theme="dark"] .service {
  padding: clamp(1.1rem, 2.5vw, 1.8rem);
  border: 0;
  background: var(--page);
}

[data-layout="editorial"] .profile-layout { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); }
[data-layout="editorial"] .profile-layout .section-copy { margin-top: 0; }
[data-layout="editorial"] .service-area { margin-top: .12rem; font-size: 1.07rem; font-weight: 580; }
[data-layout="editorial"] .section-copy + .service-area { margin-top: 1rem; }
[data-layout="editorial"] .service-area span {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  background: none;
  font-size: .9rem;
}

[data-layout="editorial"] .gallery { gap: clamp(.8rem, 1.65vw, 1.4rem); }
[data-layout="editorial"] .gallery figure { border-radius: 2px; }
[data-layout="editorial"] .gallery figcaption { align-items: baseline; }
[data-layout="editorial"] .media-credit { border: 0; padding: 0; color: var(--muted); }
[data-layout="editorial"] .media-credit:not(:first-child)::before { content: "· "; }
[data-layout="editorial"] .video {
  display: block;
  min-height: 0;
  text-align: left;
  border-radius: 2px;
  background: var(--panel-quiet);
  color: var(--text);
}
[data-layout="editorial"] .video-content { padding: clamp(1.2rem, 2.9vw, 2rem); max-width: none; }
[data-layout="editorial"] .video p { color: var(--muted); }
[data-layout="editorial"] .video iframe { display: block; }

[data-layout="editorial"] .contact-section { background: var(--panel-quiet); }
[data-layout="editorial"] .contact-copy address { margin-top: 1.2rem; }
[data-layout="editorial"] .form-surface { box-shadow: none; border-radius: 2px; }
[data-layout="editorial"] .form-surface input,
[data-layout="editorial"] .form-surface textarea,
[data-layout="editorial"] .form-feedback { border-radius: 2px; }
[data-layout="editorial"] .form-surface input, [data-layout="editorial"] .form-surface textarea { background: var(--panel); }
[data-layout="editorial"] .site-footer { padding-top: .75rem; }
[data-layout="editorial"] .footer-row { min-height: 4.2rem; margin-bottom: .2rem; }

@media (max-width: 790px) {
  [data-layout="editorial"] .with-photo .hero-inner,
  [data-layout="editorial"][data-theme="dark"] .with-photo .hero-inner {
    grid-template-areas: "copy" "image";
    grid-template-columns: minmax(0, 1fr);
  }
  [data-layout="editorial"] .hero h1,
  [data-layout="editorial"] .with-photo h1 { font-size: clamp(2.5rem, 7.8vw, 3.9rem); }
  [data-layout="editorial"] .lead-photo img { aspect-ratio: 3 / 2; }
}
@media (max-width: 560px) {
  [data-layout="editorial"] .header-inner { min-height: 4rem; }
  [data-layout="editorial"] .hero-inner { gap: 1.35rem; padding-block: 2.75rem; }
  [data-layout="editorial"] .hero h1,
  [data-layout="editorial"] .with-photo h1 { font-size: clamp(2.2rem, 8.3vw, 3rem); }
  [data-layout="editorial"][data-theme="warm"] .hero h1 { font-size: clamp(2.27rem, 8.4vw, 3rem); }
  [data-layout="editorial"] .profile-layout,
  [data-layout="editorial"][data-theme="warm"] .service { grid-template-columns: minmax(0, 1fr); }
  [data-layout="editorial"] .profile-layout { gap: .5rem; }
  [data-layout="editorial"][data-theme="warm"] .service p { margin-top: .36rem; }
  [data-layout="editorial"] .footer-row { justify-content: center; min-height: 4.7rem; }
}

/* Page navigation and composable content sections. */
[data-layout="editorial"] .multi-page-header nav {
  justify-content: flex-end;
  gap: .65rem clamp(.7rem, 1.4vw, 1.35rem);
  padding-block: .5rem;
}
[data-layout="editorial"] .multi-page-header nav a[aria-current="page"] {
  font-weight: 720;
  text-decoration: underline;
  text-underline-offset: .36em;
  text-decoration-thickness: 2px;
}
[data-layout="editorial"] .page-heading {
  padding-block: clamp(2.8rem, 6.8vw, 5.7rem) clamp(1.8rem, 4vw, 3.55rem);
}
[data-layout="editorial"] .page-heading h1,
[data-layout="editorial"] .hero h2.hero-heading {
  max-width: 19ch;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 680;
  line-height: 1.06;
  letter-spacing: -.042em;
  hyphens: auto;
}
[data-layout="editorial"][data-theme="warm"] .page-heading h1,
[data-layout="editorial"][data-theme="warm"] .hero h2.hero-heading { font-weight: 400; }
[data-layout="editorial"] .content-block,
[data-layout="editorial"] .hero:has(h2.hero-heading) { border-top: 1px solid var(--line); }
[data-layout="editorial"] .content-block :is(h2, .section-copy) { max-width: min(100%, 64ch); }
[data-layout="editorial"] .content-block .service h3 a { text-underline-offset: .23em; }

[data-layout="editorial"] [data-focus="center"] { --image-focus: center; }
[data-layout="editorial"] [data-focus="top"] { --image-focus: center top; }
[data-layout="editorial"] [data-focus="bottom"] { --image-focus: center bottom; }
[data-layout="editorial"] [data-focus="left"] { --image-focus: left center; }
[data-layout="editorial"] [data-focus="right"] { --image-focus: right center; }
[data-layout="editorial"] [data-focus] :is(.lead-photo, .gallery, .comparison, .video-poster) img { object-position: var(--image-focus); }
[data-layout="editorial"] .hero.with-photo[data-position="left"] .hero-inner {
  grid-template-areas: "image copy";
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
}
[data-layout="editorial"] .hero.with-photo[data-position="right"] .hero-inner {
  grid-template-areas: "copy image";
  grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
}
[data-layout="editorial"] .hero.with-photo[data-position="wide"] .hero-inner {
  grid-template-areas: "copy" "image";
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
[data-layout="editorial"] .hero[data-position="wide"] .lead-photo { width: 100%; }
[data-layout="editorial"] .hero[data-position="wide"] .lead-photo img { aspect-ratio: 5 / 2; }
[data-layout="editorial"][data-theme="warm"] .hero[data-position]:not([data-position="wide"]) .hero-copy {
  text-align: start;
}
[data-layout="editorial"][data-theme="warm"] .hero[data-position]:not([data-position="wide"]) .hero-copy :is(h1, p) { margin-inline: 0; }
[data-layout="editorial"][data-theme="warm"] .hero[data-position]:not([data-position="wide"]) .hero-actions { justify-content: flex-start; }
[data-layout="editorial"][data-theme="warm"] .hero[data-position]:not([data-position="wide"]) .lead-photo img { aspect-ratio: 6 / 5; }
[data-layout="editorial"] .illustration-only .gallery { max-width: min(42rem, 100%); margin-block: 1rem; }

[data-layout="editorial"] .text-photo-grid {
  display: grid;
  grid-template-areas: "copy image";
  grid-template-columns: minmax(0, 1fr) minmax(0, .86fr);
  gap: clamp(1.25rem, 4vw, 4rem);
  align-items: center;
}
[data-layout="editorial"] .text-photo-copy { grid-area: copy; }
[data-layout="editorial"] .text-photo-grid .gallery { grid-area: image; margin: 0; }
[data-layout="editorial"] .text-photo[data-position="left"] .text-photo-grid { grid-template-areas: "image copy"; }
[data-layout="editorial"] .text-photo[data-position="wide"] .text-photo-grid {
  grid-template-areas: "copy" "image";
  grid-template-columns: minmax(0, 1fr);
}
[data-layout="editorial"] .text-photo[data-position="wide"] .gallery img { aspect-ratio: 5 / 2; }
[data-layout="editorial"] .gallery-description { display: block; width: 100%; }

[data-layout="editorial"] .comparison {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin-top: 1.5rem;
  gap: clamp(.65rem, 2vw, 1.2rem);
}
[data-layout="editorial"] .comparison.has-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
[data-layout="editorial"] .comparison figure {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--panel);
}
[data-layout="editorial"] .comparison img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--panel-quiet); }
[data-layout="editorial"] .comparison figcaption { padding: .55rem .85rem; font-weight: 640; }

[data-layout="editorial"] .faq { margin-top: 1.45rem; border-bottom: 1px solid var(--line); }
[data-layout="editorial"] .faq details { padding: .85rem 0; border-top: 1px solid var(--line); }
[data-layout="editorial"] .faq summary { padding: .18rem 0; font-weight: 650; cursor: pointer; }
[data-layout="editorial"] .faq details p { margin: .55rem 0 .15rem; max-width: 65ch; color: var(--muted); }

[data-layout="editorial"] .video.with-poster:not([data-loaded]) {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
}
[data-layout="editorial"] .video-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
[data-layout="editorial"] .form-block .form-surface { max-width: 44rem; margin-top: 1.35rem; }
[data-layout="editorial"] .form-surface select {
  width: 100%;
  min-height: 2.8rem;
  padding: .5rem .6rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  background: var(--panel);
  font: inherit;
}
[data-layout="editorial"] .form-surface input[type="file"] { max-width: 100%; min-width: 0; }
[data-layout="editorial"] .form-surface input[type="file"]::file-selector-button {
  margin-inline-end: .6rem;
  padding: .32rem .55rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--panel-quiet);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
[data-layout="editorial"] .form-surface label small { font-size: .8rem; font-weight: 400; color: var(--muted); }

@media (max-width: 790px) {
  [data-layout="editorial"] .hero.with-photo:is([data-position="left"], [data-position="right"]) .hero-inner,
  [data-layout="editorial"] .text-photo:is([data-position="left"], [data-position="right"]) .text-photo-grid {
    grid-template-areas: "copy" "image";
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 620px) {
  [data-layout="editorial"] .multi-page-header .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: .8rem .65rem;
    gap: .25rem;
  }
  [data-layout="editorial"] .multi-page-header .header-inner nav { justify-content: flex-start; padding-block: 0; }
  [data-layout="editorial"] .multi-page-header .header-inner nav a {
    display: inline-flex;
    align-items: center;
    min-height: 2.3rem;
  }
  [data-layout="editorial"] .multi-page-header .header-inner nav .nav-contact { min-height: 2.2rem; }
  [data-layout="editorial"] .video.with-poster:not([data-loaded]) { grid-template-columns: minmax(0, 1fr); }
  [data-layout="editorial"] .page-heading h1,
  [data-layout="editorial"] .hero h2.hero-heading { font-size: clamp(2.15rem, 8.2vw, 2.95rem); }
}
