
body.page {
  --ink:         #0D1B2A;
  --ink-soft:    #3A4A5C;
  --linen:       #F2EFEA;
  --paper:       #FDFCF9;
  --mist:        #E5E1D8;
  --smoke:       #6B6B6B;
  --gold:        #C19A4B;
  --olive:       #7A7E3F;
  --rule:        #D7D2C7;
  --rule-chrome: #CFC9BD;

  --s-1: 4px;  --s-2: 8px;   --s-2h: 10px; --s-3: 12px; --s-3h: 14px;
  --s-4: 16px; --s-5: 24px;  --s-5h: 28px;
  --s-6: 32px; --s-6h: 36px; --s-6x: 40px;
  --s-7: 48px; --s-8: 64px;
  --s-9: 88px; --s-9h: 96px; --s-10: 120px;

  --fs-2xs:  11px;
  --fs-xs:   12px;
  --fs-sm:   14.5px;
  --fs-md:   15.5px;
  --fs-lg:   17px;
  --fs-body: 18.5px;

  --font-serif: var(--wp--preset--font-family--spectral);
  --font-ui:    var(--wp--preset--font-family--inter);
  --font-mono:  var(--wp--preset--font-family--mono);

  --t-small:  180ms;
  --t-medium: 280ms;
  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);

  --header-h:      72px;
  --scroll-offset: calc(var(--header-h) + var(--s-5));

  --pad: var(--s-4);
}
@media (min-width: 720px)  { body.page { --pad: var(--s-6); } }
@media (min-width: 1024px) { body.page { --pad: var(--s-7); } }
@media (min-width: 1440px) { body.page { --pad: var(--s-8); } }

body.page section[id],
body.page .wp-block-group[id] { scroll-margin-top: var(--scroll-offset); }

.intro-body {
  background: var(--paper);
  padding: clamp(48px, 6vw, 80px) 0 0;
}
.intro-body__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.intro-body__col { max-width: 720px; }
.intro-body__p {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 var(--s-5);
  text-wrap: pretty;
}
.intro-body__p:last-of-type { margin-bottom: 0; }
.intro-body__note {
  margin-top: var(--s-6);
  margin-bottom: 0;
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule-chrome);
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: var(--fs-lg);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 58ch;
}
.intro-body__note-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--smoke);
  padding-bottom: 2px;
  transition: color var(--t-small) ease, border-color var(--t-small) ease;
}
.intro-body__note-link:hover { color: var(--ink-soft); border-bottom-color: var(--ink-soft); }

.form-section {
  background: var(--paper);
  padding: clamp(40px, 5vw, 64px) 0 clamp(48px, 6vw, 72px);
}
.form-section__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.form-col__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
.form-col__intro {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--fs-md);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 var(--s-6h);
  max-width: 56ch;
}

.field { margin: 0 0 var(--s-5h); border: 0; padding: 0; min-width: 0; }
.field__label,
.field__legend {
  display: block;
  font-family: var(--font-ui); font-weight: 400;
  font-size: var(--fs-xs); letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: var(--s-2h);
  padding: 0;
}
.field__hint {
  display: block;
  font-family: var(--font-ui); font-weight: 300;
  font-size: var(--fs-xs);
  color: var(--smoke);
  margin-bottom: var(--s-3);
  line-height: 1.5;
}
.field__opt {
  color: var(--smoke);
  font-weight: 300;
  letter-spacing: 0;
  margin-left: var(--s-2);
}
.field__input, .field__textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-ui); font-weight: 300;
  font-size: var(--fs-lg); line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-chrome);
  border-radius: 0;
  padding: var(--s-4) 18px;
  min-height: 44px;
  transition: border-color var(--t-small) ease;
}
.field__input::placeholder, .field__textarea::placeholder { color: var(--smoke); }
.field__input:hover, .field__textarea:hover { border-color: var(--smoke); }
.field__input:focus-visible, .field__textarea:focus-visible {
  outline: none;
  border-color: var(--ink);
}
.field__input:user-invalid, .field__textarea:user-invalid {
  border-color: var(--ink);
  background: color-mix(in srgb, var(--linen) 40%, var(--paper));
}
.field__textarea { resize: vertical; min-height: 176px; }

.radio-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--rule-chrome);
}
.radio-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 52px;
  padding: var(--s-3) 18px;
  cursor: pointer;
  border-top: 1px solid var(--rule-chrome);
  transition: background-color var(--t-small) ease;
}
.radio-item:first-child { border-top: 0; }
.radio-item:hover { background: color-mix(in srgb, var(--linen) 40%, var(--paper)); }
.radio-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 0;
  border: 1px solid var(--smoke);
  border-radius: 50%;
  background: var(--paper);
  cursor: pointer;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-small) ease;
}
.radio-item input[type="radio"]:hover { border-color: var(--ink); }
.radio-item input[type="radio"]:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
.radio-item input[type="radio"]:checked { border-color: var(--ink); }
.radio-item input[type="radio"]:checked::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
}
.radio-item__text {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--fs-lg);
  line-height: 1.5;
  color: var(--ink);
}

.form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-4);
  margin-top: var(--s-6h);
}
.form-foot__note {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--smoke);
  max-width: 54ch;
  margin: 0;
}
.form-section .btn {
  font-family: var(--font-ui); font-weight: 500;
  font-size: var(--fs-xs); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 17px var(--s-6x);
  min-height: 44px;
  cursor: pointer;
  transition: background-color var(--t-small) ease, color var(--t-small) ease;
}
.form-section .btn:hover { background: var(--paper); color: var(--ink); }
.form-section .btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.success {
  display: none;
  padding: var(--s-8) 0 var(--s-6);
  border-top: 1px solid var(--rule-chrome);
  margin-top: var(--s-8);
}
.success.is-visible { display: block; }
.form.is-hidden { display: none; }
.success__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--smoke);
  margin: 0 0 var(--s-4);
}
.success__h {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}
.success__p {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 56ch;
}

.routing {
  background: var(--paper);
  padding: clamp(56px, 7vw, 88px) 0 clamp(72px, 9vw, 120px);
}
.routing__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
}
.routing__eyebrow {
  display: block;
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(20px, 2.0vw, 24px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  margin: 0 0 var(--s-6);
  text-wrap: balance;
}
.routing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-7);
}
@media (min-width: 900px) {
  .routing__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-9h);
    align-items: start;
  }
}
.route {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  max-width: 44ch;
}
.route__h {
  font-family: var(--font-serif); font-weight: 400;
  font-size: clamp(20px, 2.2vw, 24px); line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}
.route__p {
  font-family: var(--font-ui); font-weight: 300;
  font-size: var(--fs-md); line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 var(--s-5);
  flex: 1;
}
.route__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--font-mono); font-size: var(--fs-2xs);
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--smoke);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  transition: color var(--t-small) ease;
}
.route__cta:hover { color: var(--ink); }
