:root {
  color-scheme: light;
  --bg: #fff;
  --panel: #fff;
  --ink: #142742;
  --muted: #4d5b6d;
  --gold: #bf9a61;
  --line: #dde3eb;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.07; }
h2 { font-size: clamp(34px, 4.2vw, 57px); letter-spacing: -.038em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.skip { position: fixed; z-index: 10; top: 8px; left: 8px; padding: 10px; background: var(--gold); color: #142742; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }
.header { position: sticky; z-index: 5; top: 0; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 13px; white-space: nowrap; }
.brand span { font-family: var(--serif); font-size: 24px; letter-spacing: .29em; color: var(--ink); line-height: 1; }
nav { display: flex; align-items: center; gap: clamp(19px, 3.4vw, 52px); font-size: 13px; }
nav a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; padding: 13px 20px; min-height: 48px; border: 1px solid transparent; font-size: 13px; font-weight: 650; letter-spacing: .025em; text-align: center; transition: background .2s, color .2s, border-color .2s; }
.button span { font-size: 17px; line-height: 1; }
.button.primary { background: #142742; color: #fff; }
.button.primary:hover { background: #27456c; }
.button.outline { border-color: #667a92; color: var(--ink); background: #fff; }
.button.outline:hover { background: #f1f5fa; border-color: var(--ink); }
nav .button { min-height: 40px; padding: 8px 15px; }
.menu { display: none; }
.hero { isolation: isolate; position: relative; overflow: hidden; display: grid; align-items: center; min-height: clamp(545px, 47vw, 740px); background: #fff; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 49%; background: #fff url("assets/hero.jpg") center / cover no-repeat; }
.hero-content { padding-block: 67px 84px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 17px; color: #455b77; font-size: 10px; font-weight: 700; letter-spacing: .22em; line-height: 1.5; text-transform: uppercase; }
.eyebrow > span { height: 1px; width: 27px; flex: 0 0 27px; background: #af8f5e; }
h1 { font-size: clamp(44px, 5.45vw, 86px); letter-spacing: -.052em; line-height: .99; text-wrap: balance; }
h1 em { color: #254873; font-weight: 400; }
.hero-copy { margin-top: 23px; max-width: 365px; color: var(--muted); font-size: 16px; }
.actions { margin-top: 29px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-caption { position: absolute; bottom: 19px; right: max(27px, calc((100vw - 1280px)/2)); font-size: 9px; letter-spacing: .16em; color: var(--ink); background: #ffffffdb; padding: 5px 10px; }
.values { border-block: 1px solid var(--line); background: #fff; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.values article { display: flex; gap: 16px; align-items: center; min-height: 110px; padding: 20px 24px; border-right: 1px solid var(--line); }
.values article:first-child { padding-left: 0; }
.values article:last-child { border-right: none; padding-right: 0; }
.values svg { flex: 0 0 32px; width: 32px; fill: none; stroke: #516b8b; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.values h2 { font-size: 22px; letter-spacing: -.025em; }
.values p { color: var(--muted); font-size: 13px; margin-top: 5px; line-height: 1.4; }
.section { padding-block: clamp(57px, 7vw, 104px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 30px; }
.section-head > p { max-width: 260px; color: var(--muted); font-size: 14px; }
.categories { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.category { overflow: hidden; display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--panel); color: var(--ink); text-align: left; }
.category:hover { border-color: #849ab4; }
.category-image { display: block; overflow: hidden; aspect-ratio: 1.25; background: #f3ede8; }
.category-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.category:hover img { transform: scale(1.045); }
.category-name { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 15px 17px; font: 23px/1.15 var(--serif); }
.category-name span { color: #35567a; font: 17px var(--sans); }
.process { background: #fff; border-block: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin: 32px 0 0; padding: 0; list-style: none; }
.steps li { border-top: 1px solid #aab9ca; padding-top: 17px; }
.steps li > span { color: #466184; font-size: 11px; letter-spacing: .17em; }
.steps h3 { margin: 11px 0 8px; font-size: 27px; }
.steps p, .quote-intro > p:not(.eyebrow) { color: var(--muted); max-width: 34ch; }
.quote-grid { display: grid; grid-template-columns: 1fr minmax(0, 1.5fr); gap: clamp(26px, 7vw, 100px); }
.quote-intro > p:not(.eyebrow) { margin-top: 17px; }
.quote-intro img { opacity: .75; margin-top: 26px; }
#quote-form { padding: clamp(18px, 3vw, 35px); border: 1px solid var(--line); background: var(--panel); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.fields label { font-size: 13px; }
.fields label span { color: #466184; }
.fields .wide { grid-column: 1 / -1; }
.fields :is(input, textarea, select) { width: 100%; min-height: 44px; margin-top: 4px; padding: 9px 10px; border: 1px solid #9caabd; border-radius: 0; background: #fff; color: var(--ink); }
.fields textarea { resize: vertical; }
.form-note, .form-status { font-size: 13px; color: var(--muted); }
.form-note { margin: 14px 0; }
.form-status:not(:empty) { margin-top: 13px; color: var(--ink); }
footer { border-top: 1px solid var(--line); background: var(--ink); color: #fff; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 17px; min-height: 92px; padding-block: 18px; font-size: 13px; }
footer .brand span { color: #fff; font-size: 20px; }
dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100% - 24px); border: 1px solid #9caabd; padding: 0; background: var(--panel); color: var(--ink); }
dialog::backdrop { background: #14274280; }
.dialog-image { position: relative; }
.dialog-image img { width: 100%; aspect-ratio: 1.8; object-fit: contain; background: #f3ede8; }
.close { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid #aab9ca; border-radius: 50%; background: #fff; color: var(--ink); font-size: 26px; line-height: 1; }
.dialog-body { padding: 23px 27px 27px; }
.dialog-body h2 { font-size: 39px; }
#category-description { color: var(--muted); margin-block: 10px 13px; }
.examples-label { color: #466184; font-size: 13px; }
#category-examples { padding-left: 18px; margin: 4px 0 18px; }
@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
}
@media (max-width: 730px) {
  html { scroll-padding-top: 79px; }
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 66px; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 20px; }
  .menu { display: inline-flex; gap: 8px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-size: 13px; }
  nav { display: none; position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 18px 16px; background: #fff; border-bottom: 1px solid var(--line); }
  nav.open { display: flex; }
  nav > a { padding: 10px; }
  nav .button { align-self: start; margin-top: 6px; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: auto; }
  .hero-content { order: -1; padding-block: 42px 22px; }
  .hero-photo { position: static; min-height: 230px; aspect-ratio: 1.65; background-position: center 54%; }
  h1 { font-size: clamp(43px, 9.2vw, 68px); max-width: 570px; text-wrap: initial; }
  .desktop-break { display: none; }
  .hero-copy { margin-top: 15px; font-size: 15px; }
  .actions { margin-top: 20px; gap: 8px; }
  .actions .button { gap: 8px; padding-inline: 11px; }
  .hero-caption { right: 12px; bottom: 9px; font-size: 8px; }
  .value-grid { grid-template-columns: 1fr; }
  .values article { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .values article:last-child { border-bottom: 0; }
  .section-head { display: block; }
  .section-head > p { margin-top: 12px; max-width: 45ch; }
  .categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .category-name { font-size: clamp(16px, 4.6vw, 23px); padding: 11px 9px; }
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-intro img { display: none; }
}
@media (max-width: 430px) { .fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
