:root {
  --paper: #faf8f2;
  --white: #fffefa;
  --ink: #13293b;
  --muted: #4b5b63;
  --gold: #bd9556;
  --gold-text: #855c27;
  --line: #dfd9cc;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--sans); }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid #91601e; outline-offset: 4px; }
.shell { width: min(100% - 104px, 1192px); margin-inline: auto; }
.section-space { padding-block: 88px; }
section[id] { scroll-margin-top: 91px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { display: inline-block; width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.skip-link { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 10px 16px; background: var(--white); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.eyebrow, .step-number { color: var(--gold-text); font-size: 11px; font-weight: 750; letter-spacing: .145em; line-height: 1.35; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.eyebrow > span { width: 22px; height: 1px; background: var(--gold); flex: 0 0 auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(37px, 4vw, 55px); letter-spacing: -.047em; }
h3 { font-size: 28px; letter-spacing: -.027em; }

.site-header { position: sticky; top: 0; z-index: 3; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 77px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 51px; height: 34px; object-fit: contain; mix-blend-mode: multiply; }
.brand strong, .brand small { display: block; }
.brand strong { font: 22px/1 var(--serif); letter-spacing: .105em; }
.brand small { margin-top: 5px; font-size: 8px; line-height: 1; font-weight: 740; letter-spacing: .155em; }
.main-nav { display: flex; align-items: center; gap: clamp(17px, 3vw, 36px); }
.main-nav > a { text-decoration: none; font-size: 13px; font-weight: 650; }
.main-nav > a:hover { color: var(--gold-text); }
.menu-toggle { display: none; }

.button, .text-link, .quiet-button { display: inline-flex; gap: 10px; align-items: center; justify-content: center; font-weight: 700; line-height: 1.25; text-decoration: none; }
.button { min-height: 47px; padding: 11px 16px; border-radius: 5px; border: 1px solid transparent; font-size: 13px; transition: background-color .18s, color .18s, border-color .18s; }
.button .icon, .text-link .icon { width: 17px; height: 17px; }
.button-primary { background: var(--ink); color: #fffefa; }
.button-primary:hover { background: #244357; }
.button-outline { color: var(--ink); border-color: #c6b491; background: transparent; }
.button-outline:hover { background: #f0e9db; border-color: #98764c; }
.header-cta { min-height: 40px; padding-inline: 13px; }
.text-link { width: fit-content; min-height: 41px; font-size: 13px; }
.text-link:hover { color: var(--gold-text); text-decoration: underline; text-underline-offset: 4px; }
.quiet-button { min-height: 45px; padding: 8px 4px; background: transparent; border: 0; color: var(--ink); font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.quiet-button:hover { color: var(--gold-text); }

.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px, 4.3vw, 66px); padding-block: 57px 66px; }
.hero h1 { font-size: clamp(46px, 5.5vw, 79px); letter-spacing: -.062em; line-height: .99; }
.hero h1 em { display: inline-block; margin-top: 5px; color: var(--ink); font-weight: 400; }
.hero-description { color: var(--muted); max-width: 455px; font-size: clamp(15px, 1.5vw, 17px); margin-top: 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 23px; margin-top: 28px; }
.hero-figure { position: relative; }
.hero-figure > img { width: 100%; height: auto; aspect-ratio: 1.28; object-fit: cover; object-position: center; border-radius: 5px; background: #aa967b; }
.hero-figure figcaption { position: absolute; right: 13px; bottom: 13px; display: flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 10px; border-radius: 3px; background: var(--paper); font-size: 9px; letter-spacing: .085em; font-weight: 760; }
.hero-figure figcaption .icon { width: 15px; height: 15px; color: var(--gold-text); }

.practice-strip { background: #f0ede4; border-block: 1px solid #e6dfd1; }
.strip-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 16px; }
.strip-inner > span { min-height: 27px; display: flex; justify-content: center; align-items: center; gap: 10px; padding-inline: 9px; font-size: 13px; font-weight: 680; }
.strip-inner > span + span { border-left: 1px solid #d8d0c0; }
.strip-inner .icon { color: var(--gold-text); }

.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px 36px; align-items: end; margin-bottom: 32px; }
.section-head > p, .area-copy > p:not(.eyebrow), .about-layout > div > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { color: var(--muted); }
.section-head > p { max-width: 410px; justify-self: end; }
.packages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.package { display: flex; flex-direction: column; padding: clamp(18px, 2.3vw, 29px); background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.package-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-bottom: 20px; }
.icon-tile { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 4px; background: #f1ebdd; color: var(--gold-text); }
.tag { background: #f3efe7; color: #5d533e; padding: 4px 8px; border-radius: 3px; font-size: 9px; font-weight: 750; letter-spacing: .07em; white-space: nowrap; }
.package > p { margin-top: 9px; font-size: 14px; color: var(--muted); }
.checks { display: grid; align-content: start; gap: 9px; margin-block: 17px 21px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.42; }
.checks li { display: flex; gap: 8px; }
.checks li::before { content: ""; width: 10px; height: 6px; margin: 4px 3px 0 1px; border-left: 1.5px solid var(--gold-text); border-bottom: 1.5px solid var(--gold-text); transform: rotate(-45deg); flex: 0 0 auto; }
.package .package-price, #match-price { margin-block: 9px 0; color: var(--gold-text); font-size: 14px; font-weight: 650; }
.package-price strong { font: 26px/1.1 var(--serif); color: var(--ink); }
#match-price:not([hidden]) { margin-bottom: 9px; }
.pricing-note { margin-top: 16px; max-width: 850px; color: var(--muted); font-size: 13px; }
.package .package-scope, #match-scope { color: var(--muted); font-size: 13px; line-height: 1.5; margin-block: 0 20px; }
.package-scope > strong { display: block; color: var(--ink); font: 700 12px/1.5 var(--sans); letter-spacing: normal; }
#match-scope { margin-top: 12px; }
.package-link { margin-top: auto; justify-content: flex-start; align-self: flex-start; }
.package-link .icon { width: 17px; height: 17px; }

.finder { background: var(--ink); padding-block: 77px; color: var(--paper); }
.finder-layout { display: grid; grid-template-columns: 4fr 5fr; align-items: center; gap: clamp(25px, 7vw, 105px); }
.finder-intro h2 { font-size: clamp(49px, 6.6vw, 84px); }
.finder-intro .eyebrow { color: #e1be86; }
.finder-intro > p:not(.eyebrow) { max-width: 320px; color: #dae2e4; margin-top: 20px; }
.finder-meta { display: flex; align-items: center; gap: 9px; color: #e1be86; margin-top: 29px; font-size: 10px; font-weight: 720; letter-spacing: .09em; }
.finder-meta > span { width: 3px; height: 3px; background: currentColor; border-radius: 100%; }
.finder-meta .icon { width: 17px; height: 17px; }
.wizard { width: 100%; max-width: 650px; justify-self: end; min-height: 420px; padding: clamp(21px, 3vw, 32px); color: var(--ink); background: var(--paper); border: 1px solid #e7dfd0; border-radius: 7px; }
.wizard-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.steps { display: flex; gap: 4px; }
.steps span { width: 19px; height: 4px; background: #e2d9c8; border-radius: 8px; }
.steps span.filled { background: #9b7238; }
fieldset { min-inline-size: 0; border: 0; margin: 12px 0 0; padding: 0; }
legend { margin-bottom: 13px; padding: 0; font: 30px/1.05 var(--serif); letter-spacing: -.035em; }
.choice { display: flex; align-items: center; gap: 10px; min-height: 49px; padding: 6px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.choice + .choice { margin-top: 6px; }
.choice:hover, .choice:has(input:checked) { border-color: #9f7847; background: #f5eee2; }
.choice:has(input:focus-visible) { outline: 2px solid #91601e; outline-offset: 2px; }
.choice input { margin: 0 1px; width: 16px; height: 16px; flex: 0 0 auto; accent-color: var(--ink); }
.choice strong, .choice small { display: block; }
.choice strong { font-size: 13px; font-weight: 730; }
.choice small { font-size: 12px; color: var(--muted); }
.wizard-actions { display: flex; align-items: center; gap: 16px; justify-content: flex-end; margin-top: 15px; }
.form-error { margin-top: 6px; color: #a12822; font-size: 13px; }
#match-title { font-size: clamp(32px, 4vw, 46px); margin-block: 16px 10px; }
#match-description, .result-note p { color: var(--muted); font-size: 14px; }
.result-note { margin-block: 23px; padding: 13px 15px; border-left: 2px solid var(--gold); background: #f0ebdf; }
.result-note strong { font-size: 13px; }
.result-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 17px; }

.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(27px, 6.4vw, 98px); align-items: center; }
.area-figure { position: relative; overflow: hidden; background: #e8e9dc; border: 1px solid #d6d7c6; border-radius: 6px; }
.area-figure > img { width: 100%; height: auto; aspect-ratio: 1.47; object-fit: cover; }
.area-figure figcaption { position: absolute; left: 15px; bottom: 15px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: 4px; background: var(--white); font-size: 10px; font-weight: 750; letter-spacing: .11em; }
.area-figure figcaption .icon { color: var(--gold-text); }
.area-figure small { display: block; color: var(--muted); font-size: 9px; letter-spacing: .07em; font-weight: 650; }
.area-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) { margin-top: 15px; }
.area-towns { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 17px 19px; }
.area-towns li { border: 1px solid var(--line); border-radius: 4px; padding: 4px 8px; color: var(--ink); font-size: 11px; font-weight: 660; }
.area-mode { display: flex; gap: 10px; border-top: 1px solid var(--line); padding-block: 10px; }
.area-mode .icon { color: var(--gold-text); }
.area-mode h3 { font: 710 14px/1.4 var(--sans); letter-spacing: normal; }
.area-mode p { color: var(--muted); font-size: 13px; }

.about { background: #f0ede4; padding-block: 56px; border-block: 1px solid #e6dfd1; }
.about-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 18px 45px; align-items: center; }
.about-layout > div > p + p { margin-top: 10px; }

.contact { display: grid; grid-template-columns: 4fr 5fr; align-items: start; gap: clamp(28px, 6.4vw, 90px); }
.contact-copy { padding-top: 10px; }
.contact-copy .contact-note { max-width: 390px; padding: 12px 14px; background: #f0ede4; border-left: 2px solid var(--gold); font-size: 13px; }
.contact-note strong { display: block; color: var(--ink); }
.contact-note a, .inquiry-confirmation a { overflow-wrap: anywhere; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(18px, 3vw, 29px); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 13px; }
.field-single { margin-bottom: 13px; }
.contact-card label { display: block; min-width: 0; font-size: 13px; font-weight: 700; }
.contact-card label > small { color: var(--muted); font-weight: 450; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; min-width: 0; margin-top: 4px; padding: 8px 10px; min-height: 42px; border: 1px solid #c9c1b2; border-radius: 4px; background: var(--white); color: var(--ink); font-weight: 450; }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: #646e71; }
.contact-card textarea { display: block; resize: vertical; }
.contact-actions { display: flex; align-items: center; gap: 8px 15px; flex-wrap: wrap; margin-top: 15px; }
.form-privacy { margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.inquiry-status { margin-top: 6px; font-size: 13px; color: var(--muted); }
.inquiry-confirmation { margin-top: 14px; color: var(--muted); font-size: 14px; }
.inquiry-summary-label { margin-top: 16px; }
.button:disabled { cursor: wait; opacity: .65; }

.site-footer { background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 13px 23px; min-height: 91px; }
.footer-brand img { width: 41px; height: 31px; mix-blend-mode: normal; object-fit: contain; background: var(--paper); padding: 3px; border-radius: 2px; }
.footer-brand strong { font-size: 19px; }
.footer-brand small { font-size: 7px; }
.footer-inner p { color: #d2dbdf; font-size: 12px; }
.footer-inner p span { color: #e1be86; margin-inline: 4px; }
.footer-inner .text-link:hover { color: #e1be86; }
.site-footer :focus-visible, .finder-intro :focus-visible { outline-color: #e1be86; }

@media (max-width: 1050px) {
  .shell { width: min(100% - 70px, 1192px); }
  .section-space { padding-block: 69px; }
}
@media (max-width: 790px) {
  .shell { width: calc(100% - 42px); }
  .header-inner { min-height: 66px; }
  section[id] { scroll-margin-top: 77px; }
  .main-nav { gap: 14px; }
  .main-nav > a { font-size: 12px; }
  .hero { padding-block: 42px; }
  .hero h1 { font-size: clamp(38px, 6.2vw, 55px); }
  .hero-description { margin-top: 17px; }
  .hero-actions { margin-top: 19px; }
  .section-space { padding-block: 55px; }
  .packages { gap: 9px; }
  .package { padding: 14px; }
  .package h3 { font-size: 24px; }
  .package .text-link { font-size: 12px; gap: 5px; }
  .finder { padding-block: 55px; }
  .finder-layout, .local, .contact { gap: 25px; }
}
@media (max-width: 680px) {
  .header-inner { position: relative; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 7px 9px; border: 1px solid var(--line); background: var(--white); border-radius: 4px; font-size: 12px; font-weight: 700; color: var(--ink); }
  .main-nav { display: none; position: absolute; top: calc(100% + 1px); right: 0; left: 0; padding: 10px 13px 13px; border: 1px solid var(--line); background: var(--white); border-radius: 0 0 5px 5px; box-shadow: 0 10px 20px #142b3921; }
  .main-nav[data-open] { display: grid; gap: 4px; }
  .main-nav > a { min-height: 43px; padding: 9px; display: flex; align-items: center; }
  .hero, .section-head, .packages, .finder-layout, .local, .about-layout, .contact { grid-template-columns: 1fr; }
  .hero { gap: 26px; padding-block: 34px 30px; }
  .hero h1 { font-size: clamp(39px, 9.2vw, 60px); }
  .hero-figure > img { aspect-ratio: 1.48; }
  .hero-description { max-width: 460px; }
  .strip-inner { padding-block: 12px; }
  .strip-inner > span { flex-direction: column; text-align: center; justify-content: flex-start; line-height: 1.26; font-size: 11px; gap: 5px; padding-inline: 5px; }
  .strip-inner .icon { width: 18px; height: 18px; }
  .section-head { gap: 11px; margin-bottom: 19px; }
  .section-head > p { justify-self: start; }
  .packages { gap: 12px; }
  .package { padding: 19px; }
  .package-top { margin-bottom: 12px; }
  .finder, .about { padding-block: 48px; }
  .finder-intro br { display: none; }
  .finder-intro h2 { font-size: 49px; }
  .finder-intro > p:not(.eyebrow) { margin-top: 12px; }
  .finder-meta { margin-top: 15px; }
  .wizard { justify-self: start; min-height: 0; }
  .area-figure { order: 2; }
  .area-figure > img { aspect-ratio: 1.72; }
  .area-mode:last-child { padding-bottom: 0; }
  .contact-copy { padding-top: 0; }
  .contact-card input, .contact-card textarea, .contact-card select { font-size: 16px; }
  .footer-inner { flex-wrap: wrap; padding-block: 17px; }
  .footer-inner p { order: 3; flex-basis: 100%; }
}
@media (max-width: 374px) {
  .shell { width: calc(100% - 32px); }
  .header-inner { gap: 12px; }
  .brand { gap: 8px; }
  .brand img { width: 45px; }
  .brand small { letter-spacing: .1em; }
  .field-pair { grid-template-columns: 1fr; }
  .finder-meta { letter-spacing: .05em; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
