:root {
  --paper: #f2f5fa;
  --paper-deep: #e5ebf4;
  --paper-light: #fbfcfe;
  --ink: #121a2a;
  --ink-soft: #485265;
  --ink-faint: #6d7789;
  --rail: #111b31;
  --rail-soft: #182746;
  --accent: #4065ae;
  --accent-dark: #31518f;
  --accent-bright: #a9c0e4;
  --rule: #cbd4e2;
  --rule-dark: rgba(242, 245, 250, 0.18);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rail-width: 232px;
  --content-pad: clamp(28px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--rail); }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body, button, input, select, textarea { font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, h4 { margin-top: 0; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 4px; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--rail);
  background: var(--paper-light);
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus { transform: translateY(0); }

.site-rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 20;
  width: var(--rail-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 28px;
  color: var(--paper);
  background: var(--rail);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.rail-brand, .rail-nav, .rail-contact { position: relative; z-index: 1; }
.rail-brand { display: grid; justify-items: start; }
.brand-lockup {
  position: relative;
  width: 172px;
  height: 54px;
  overflow: hidden;
}
.brand-lockup img,
.mobile-brand img,
.footer-logo img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
}
.rail-role {
  margin-top: 12px;
  color: rgba(242, 245, 250, 0.58);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rail-nav { display: grid; gap: 3px; margin-top: 70px; }
.rail-nav a {
  display: grid;
  grid-template-columns: 27px 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  color: rgba(242, 245, 250, 0.64);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 160ms ease, transform 160ms ease;
}
.rail-nav a span { color: var(--accent-bright); font-size: 8px; }
.rail-nav a:hover, .rail-nav a:focus-visible { color: var(--paper-light); transform: translateX(3px); }
.rail-contact { display: grid; gap: 15px; margin-top: auto; padding-top: 28px; }
.rail-contact p {
  max-width: 150px;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.08;
}
.rail-contact > a:not(.rail-cta) {
  width: max-content;
  color: rgba(242, 245, 250, 0.54);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.rail-cta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 13px;
  color: var(--paper-light);
  border: 1px solid var(--rule-dark);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}
.rail-cta:hover { color: var(--rail); background: var(--accent-bright); border-color: var(--accent-bright); }

.site-canvas { min-height: 100vh; margin-left: var(--rail-width); background: var(--paper); }
.mobile-header { display: none; }

.hero {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(520px, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
  padding: 72px var(--content-pad) 64px;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 26, 42, 0.035) 1px, transparent 1px),
    var(--paper-light);
  background-size: 100% 72px, auto;
  border-bottom: 1px solid var(--rule);
}
.hero-copy { max-width: 730px; }
.kicker, .section-kicker {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  margin-bottom: 28px;
  font-family: var(--serif);
  font-size: clamp(60px, 6vw, 88px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
}
h1 em, h2 em { color: var(--accent); font-weight: 400; }
.hero h1 span { color: var(--accent); font: inherit; }
.hero-lede {
  max-width: 670px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}
.hero-support {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}
.hero-actions, .about-links { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 19px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper-light); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.text-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding-bottom: 3px;
  color: var(--ink);
  border-bottom: 1px solid var(--accent);
  font-size: 12px;
  font-weight: 600;
}
.availability {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 26px 0 0;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.availability span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  background: #6f8c65;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(111, 140, 101, 0.14);
}
.hero-portrait { width: min(420px, 100%); margin: 0; justify-self: end; align-self: end; }
.hero-portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border: 1px solid var(--rule);
}
.hero-portrait img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 144%;
  max-width: none;
  height: auto;
  filter: saturate(0.78) contrast(1.02);
  transform: translate(-50%, -48%);
}
.hero-portrait figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-portrait figcaption strong { color: var(--ink); font-weight: 600; }
.hero-portrait figcaption span { max-width: 230px; text-align: right; }

.evidence-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); color: var(--paper); background: var(--rail); }
.evidence-strip div {
  min-height: 125px;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 22px;
  border-right: 1px solid var(--rule-dark);
  text-align: center;
}
.evidence-strip div:last-child { border-right: 0; }
.evidence-strip strong { color: var(--accent-bright); font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.evidence-strip span {
  margin-top: 8px;
  color: rgba(242, 245, 250, 0.62);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section { padding: 90px var(--content-pad); border-bottom: 1px solid var(--rule); }
.section-intro { max-width: 820px; margin-bottom: 56px; }
.section-intro h2, .about-statement h2, .final-cta h2 {
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(45px, 5.3vw, 74px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
}
.section-intro > p:last-child { max-width: 690px; margin-bottom: 0; color: var(--ink-soft); font-size: 16px; line-height: 1.68; }
.work-group + .work-group { margin-top: 74px; }
.work-group-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.work-group-head h3 { margin-bottom: 0; font-family: var(--serif); font-size: 27px; font-weight: 500; }
.work-group-head span, .project-meta, .step-detail {
  color: var(--ink-faint);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.featured-work-grid, .project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 54px) clamp(20px, 3vw, 34px);
}
.website-method {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(32px, 5vw, 72px);
  margin-bottom: 42px;
  padding: 32px;
  background: var(--paper-light);
  border-top: 3px solid var(--accent);
  border-bottom: 1px solid var(--rule);
}
.website-method-title {
  margin-bottom: 10px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.08;
}
.website-method > div > p:last-child { margin-bottom: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.7; }
.website-foundations { margin: 0; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.website-foundations li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.website-foundations li > span { padding-top: 3px; color: var(--accent); font-size: 8px; letter-spacing: 0.1em; }
.website-foundations div { display: grid; gap: 3px; }
.website-foundations strong { color: var(--ink); font-size: 12px; font-weight: 600; }
.website-foundations small { color: var(--ink-faint); font-size: 11px; line-height: 1.5; }
.project-card { min-width: 0; }
.project-image {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--rail);
  border: 1px solid rgba(18, 26, 42, 0.12);
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 450ms ease, filter 450ms ease;
}
.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 0 solid rgba(64, 101, 174, 0.72);
  transition: border-width 180ms ease;
  pointer-events: none;
}
.project-image:hover img { transform: scale(1.025); filter: saturate(1.08) contrast(1.02); }
.project-image:hover::after { border-width: 4px; }
.project-index {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--paper-light);
  background: var(--rail);
  font-size: 9px;
}
.project-copy { padding: 20px 1px 0; }
.project-meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 11px; }
.project-copy h4 { margin-bottom: 9px; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1.05; }
.project-feature .project-copy h4 { font-size: 36px; }
.project-copy p { max-width: 620px; margin-bottom: 15px; color: var(--ink-soft); font-size: 14px; line-height: 1.62; }
.project-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.project-link span, .text-link span, .rail-cta span { transition: transform 160ms ease; }
.project-link:hover span, .text-link:hover span, .rail-cta:hover span { transform: translate(2px, -2px); }
.work-footnote {
  margin: 62px 0 0;
  padding-top: 18px;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.approach-section { background: var(--paper-light); }
.section-intro-wide { max-width: 900px; }
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  list-style: none;
}
.approach-grid li {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.step-number { margin-bottom: 48px; color: var(--accent); font-size: 10px; letter-spacing: 0.12em; }
.approach-grid h3 { margin-bottom: 12px; font-family: var(--serif); font-size: 29px; font-weight: 500; line-height: 1.06; }
.approach-grid p { margin-bottom: 28px; color: var(--ink-soft); font-size: 14px; line-height: 1.65; }
.step-detail { margin-top: auto; color: var(--accent); line-height: 1.6; }

.engagement-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(450px, 1.1fr);
  gap: clamp(42px, 8vw, 110px);
  padding: 80px var(--content-pad);
  color: var(--paper);
  background: var(--rail);
  border-bottom: 1px solid var(--rule-dark);
}
.engagement-band h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 4.3vw, 58px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.engagement-list { border-top: 1px solid var(--rule-dark); }
.engagement-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.engagement-list article > span { color: var(--accent-bright); font-size: 9px; }
.engagement-list h3 { margin-bottom: 6px; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.engagement-list p { margin-bottom: 0; color: rgba(242, 245, 250, 0.58); font-size: 13px; line-height: 1.58; }

.about-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(400px, 1.05fr);
  gap: clamp(48px, 8vw, 116px);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(18, 26, 42, 0.06) 50%, transparent 50.1%),
    var(--paper);
}
.about-copy { padding-top: 34px; }
.about-copy p { color: var(--ink-soft); font-size: 15px; line-height: 1.75; }
.about-copy .about-lede { color: var(--ink); font-family: var(--serif); font-size: 28px; line-height: 1.25; }
.about-links { margin-top: 30px; }

.final-cta {
  padding: 92px var(--content-pad);
  text-align: center;
  color: var(--paper);
  background: var(--rail-soft);
}
.final-cta h2 { max-width: 1000px; margin-right: auto; margin-left: auto; }
.final-cta p:not(.section-kicker) { margin-bottom: 28px; color: rgba(242, 245, 250, 0.65); font-size: 15px; }
.button-light { color: var(--rail); background: var(--accent-bright); border-color: var(--accent-bright); }
.button-light:hover { background: var(--paper-light); border-color: var(--paper-light); }

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 28px;
  padding: 32px var(--content-pad);
  color: var(--ink-faint);
  background: var(--paper-deep);
  font-size: 9px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.site-footer > div { display: grid; gap: 6px; }
.site-footer > div:last-child { text-align: right; }
.site-footer strong, .site-footer a, .footer-privacy-control { color: var(--ink); }
.footer-privacy-control {
  width: fit-content;
  margin: 0;
  padding: 0;
  appearance: none;
  color: var(--ink);
  background: transparent;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-transform: inherit;
  cursor: pointer;
}
.footer-privacy-control:hover { color: var(--accent); }
.footer-privacy-control:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-logo {
  position: relative;
  width: 140px;
  height: 38px;
  overflow: hidden;
}
.footer-logo img { width: 228px; }

.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  right: clamp(20px, 3vw, 42px);
  bottom: clamp(18px, 3vw, 32px);
  z-index: 100;
  width: min(560px, calc(100vw - var(--rail-width) - 78px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: end;
  padding: 24px;
  color: var(--paper);
  background: var(--rail);
  border-top: 3px solid var(--accent-bright);
  box-shadow: 0 18px 50px rgba(17, 27, 49, 0.24);
}
.analytics-consent-copy { display: grid; gap: 8px; }
.analytics-consent-title {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.1;
}
.analytics-consent-copy p:last-child {
  color: rgba(242, 245, 250, 0.72);
  font-size: 12px;
  line-height: 1.6;
}
.analytics-consent-copy a { color: var(--accent-bright); border-bottom: 1px solid rgba(169, 192, 228, 0.55); }
.analytics-consent-actions { display: flex; gap: 8px; }
.analytics-consent-actions button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(242, 245, 250, 0.35);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.analytics-consent-actions button:hover { border-color: var(--accent-bright); }
.analytics-consent-actions button:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 3px; }
.analytics-consent-actions .analytics-consent-accept { color: var(--rail); background: var(--accent-bright); border-color: var(--accent-bright); }

@media (max-width: 1180px) {
  :root { --rail-width: 206px; }
  .site-rail { padding-right: 24px; padding-left: 24px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.78fr); }
  .hero h1 { font-size: clamp(56px, 6.4vw, 78px); }
  .hero-portrait { width: min(370px, 100%); }
}

@media (max-width: 960px) {
  :root { --content-pad: clamp(24px, 6vw, 54px); }
  .site-rail { display: none; }
  .site-canvas { margin-left: 0; }
  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 68px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    padding: 14px var(--content-pad);
    color: var(--paper);
    background: rgba(17, 27, 49, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule-dark);
  }
  .mobile-brand { position: relative; width: 128px; height: 40px; overflow: hidden; flex: 0 0 auto; }
  .mobile-brand img { width: 210px; }
  .mobile-header nav { display: flex; gap: 18px; }
  .mobile-header nav a {
    color: rgba(242, 245, 250, 0.72);
    font-size: 9px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 48px; padding-top: 64px; }
  .hero-copy { max-width: 780px; }
  .hero-portrait { width: min(420px, 100%); justify-self: start; }
  .evidence-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .evidence-strip div:nth-child(2) { border-right: 0; }
  .evidence-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--rule-dark); }
  .engagement-band, .about-section { grid-template-columns: 1fr; }
  .about-copy { max-width: 720px; padding-top: 0; }
  .analytics-consent { right: 20px; width: min(560px, calc(100vw - 40px)); }
}

@media (max-width: 700px) {
  .mobile-header { align-items: flex-start; }
  .mobile-header nav { gap: 12px; padding-top: 6px; }
  .hero { padding-top: 50px; }
  .hero h1 { font-size: clamp(49px, 14vw, 70px); }
  .hero-lede { font-size: 21px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .section-intro { margin-bottom: 42px; }
  .section-intro h2, .about-statement h2, .final-cta h2 { font-size: clamp(43px, 12vw, 60px); }
  .work-group-head { display: grid; gap: 6px; }
  .featured-work-grid, .project-grid, .approach-grid, .website-method { grid-template-columns: 1fr; }
  .website-method { padding: 26px; }
  .project-copy h4, .project-feature .project-copy h4 { font-size: 31px; }
  .approach-grid li { min-height: 250px; }
  .step-number { margin-bottom: 32px; }
  .engagement-band { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 64px; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer > div:last-child { text-align: left; }
  .analytics-consent { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 470px) {
  .mobile-header nav a:nth-child(2) { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .availability { align-items: flex-start; line-height: 1.5; }
  .hero-portrait { width: 100%; }
  .hero-portrait-frame { aspect-ratio: 5 / 6; }
  .hero-portrait figcaption { display: grid; gap: 4px; }
  .hero-portrait figcaption span { max-width: none; text-align: left; }
  .evidence-strip { grid-template-columns: 1fr; }
  .evidence-strip div { min-height: 102px; border-right: 0; border-bottom: 1px solid var(--rule-dark); }
  .evidence-strip div:last-child { border-bottom: 0; }
  .project-meta { display: grid; gap: 4px; }
  .about-links { align-items: flex-start; flex-direction: column; }
  .analytics-consent { right: 14px; bottom: 14px; width: calc(100vw - 28px); padding: 20px; }
  .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

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

/* Secondary pages */
.subpage-main {
  min-height: calc(100vh - 110px);
  padding: 76px var(--content-pad) 90px;
  background:
    linear-gradient(rgba(18, 26, 42, 0.035) 1px, transparent 1px),
    var(--paper-light);
  background-size: 100% 72px, auto;
}
.subpage-hero {
  max-width: 980px;
  padding-bottom: 62px;
  border-bottom: 1px solid var(--rule);
}
.subpage-hero h1 {
  max-width: 940px;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(58px, 7vw, 100px);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.9;
}
.subpage-hero h1 em { color: var(--accent); font-weight: 400; }
.subpage-hero > p:not(.section-kicker, .policy-note) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(48px, 7vw, 96px);
  padding-top: 62px;
}
.contact-form { display: grid; gap: 26px; }
.form-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.form-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
}
.form-heading p {
  margin-bottom: 0;
  color: var(--ink-faint);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.5;
  text-transform: none;
}
.contact-form input,
.contact-form select {
  min-height: 50px;
  padding: 0 14px;
}
.contact-form textarea {
  min-height: 190px;
  padding: 14px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(64, 101, 174, 0.22);
  outline-offset: 0;
  border-color: var(--accent);
}
.hidden-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  pointer-events: none;
}
.submit-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}
.submit-row button {
  min-height: 50px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  padding: 0 21px;
  color: var(--paper-light);
  border: 1px solid var(--accent);
  background: var(--accent);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.submit-row button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.submit-row button:disabled { cursor: wait; opacity: 0.68; }
.form-status { min-height: 22px; margin: 0; color: var(--ink-faint); font-size: 13px; line-height: 1.5; }
.form-status[data-state="success"] { color: #4f6d49; }
.form-status[data-state="error"] { color: #944a38; }
.contact-aside {
  align-self: start;
  padding: 30px;
  color: var(--paper);
  background: var(--rail);
  border-top: 4px solid var(--accent);
}
.contact-aside .section-kicker { color: var(--accent-bright); }
.contact-email {
  display: block;
  margin-bottom: 32px;
  padding-bottom: 14px;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--serif);
  font-size: 24px;
}
.contact-aside dl { margin: 0 0 30px; }
.contact-aside dl div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule-dark);
}
.contact-aside dt {
  color: var(--accent-bright);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.contact-aside dd { margin: 0; color: rgba(242, 245, 250, 0.75); font-size: 12px; line-height: 1.5; }
.contact-aside > p:last-child { margin-bottom: 0; color: rgba(242, 245, 250, 0.62); font-size: 13px; line-height: 1.65; }

.policy-hero { max-width: 1080px; }
.policy-hero h1 { font-size: clamp(54px, 6.5vw, 90px); }
.policy-note {
  max-width: 760px;
  margin: 26px 0 0;
  padding: 16px 18px;
  color: var(--ink-soft);
  background: rgba(64, 101, 174, 0.09);
  border-left: 3px solid var(--accent);
  font-size: 12px;
  line-height: 1.65;
}
.policy-content { max-width: 980px; }
.policy-content section {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.policy-content section > span {
  padding-top: 7px;
  color: var(--accent);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.policy-content h2 {
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 500;
  line-height: 1.1;
}
.policy-content p,
.policy-content li {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.72;
}
.policy-content p { margin-bottom: 13px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { margin: 0 0 16px; padding-left: 20px; }
.policy-content li + li { margin-top: 5px; }
.policy-content a { color: var(--accent); border-bottom: 1px solid rgba(64, 101, 174, 0.45); }

@media (max-width: 960px) {
  .subpage-main { padding-top: 64px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { width: min(540px, 100%); }
}

@media (max-width: 700px) {
  .subpage-main { padding-top: 50px; padding-bottom: 68px; }
  .subpage-hero { padding-bottom: 46px; }
  .subpage-hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .subpage-hero > p:not(.section-kicker, .policy-note) { font-size: 17px; }
  .contact-layout { padding-top: 46px; }
  .form-heading { display: grid; gap: 7px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-aside { padding: 24px; }
  .policy-content section { grid-template-columns: 32px minmax(0, 1fr); gap: 14px; padding: 32px 0; }
  .policy-content h2 { font-size: 27px; }
}

@media (max-width: 470px) {
  .submit-row { display: grid; }
  .submit-row button { width: 100%; justify-content: space-between; }
  .contact-aside dl div { grid-template-columns: 1fr; gap: 5px; }
  .policy-content section { grid-template-columns: 1fr; gap: 8px; }
}
