:root {
  --ink: #15324f;
  --ink-soft: #52677a;
  --blue: #173a63;
  --blue-deep: #102c4b;
  --blue-pale: #edf4f8;
  --amber: #d48a2f;
  --amber-deep: #a85f12;
  --amber-pale: #fff4df;
  --white: #fff;
  --paper: #faf8f3;
  --line: #d7e1e7;
  --shadow: 0 20px 54px rgba(21, 50, 79, .12);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.65 "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: 1.08;
}
h1 { max-width: 13ch; font-size: clamp(2.8rem, 5.4vw, 5.7rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4.2rem); }
h3 { font-size: 1.45rem; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 100;
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--blue-deep);
  border-radius: .45rem;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(23, 58, 99, .12);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: min(calc(100% - 3rem), var(--max));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav { display: flex; align-items: center; gap: 1.8rem; }
.main-nav a {
  color: var(--ink-soft);
  font-size: .94rem;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: .35rem;
}
.main-nav a:hover, .main-nav a:focus-visible { color: var(--blue); text-decoration: underline; }
.brand { width: 118px; margin-left: auto; }
.brand img { width: 100%; height: auto; }
.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: .65rem;
  background: var(--white);
}
.menu-button > span:not(.sr-only) {
  width: 19px;
  height: 2px;
  margin: 4px auto;
  display: block;
  background: var(--blue);
}

.hero {
  width: min(calc(100% - 3rem), 1320px);
  min-height: 700px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 7rem) 0;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.domain-mark, .section-label {
  margin: 0 0 1rem;
  color: var(--amber-deep);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 39rem;
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
}
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.3rem;
  border: 1px solid transparent;
  border-radius: .7rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 26px rgba(23,58,99,.2); }
.button-primary:hover, .button-primary:focus-visible { background: var(--blue-deep); }
.text-link { color: var(--blue); font-weight: 800; text-underline-offset: .3rem; }
.trust-line {
  margin: 1.4rem 0 0;
  padding-left: 1rem;
  color: var(--ink-soft);
  border-left: 3px solid var(--amber);
  font-size: .94rem;
}
.content-image {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--blue-pale);
  box-shadow: var(--shadow);
}
.content-image img { width: 100%; height: 100%; object-fit: cover; }
.content-image figcaption {
  position: absolute;
  right: .6rem;
  bottom: .55rem;
  padding: .28rem .5rem;
  color: var(--white);
  background: rgba(16, 44, 75, .8);
  border-radius: .25rem;
  font-size: .72rem;
  line-height: 1.1;
}
.hero-visual { aspect-ratio: 16 / 10; border-radius: 9rem .8rem .8rem .8rem; }

.wish-section {
  padding: clamp(5rem, 9vw, 8rem) max(1.5rem, calc((100% - var(--max)) / 2));
  background: var(--paper);
}
.wish-heading { max-width: 780px; }
.wish-paths {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.wish-paths article { padding: 2rem clamp(1.2rem, 3vw, 2.5rem) 2.4rem; border-right: 1px solid var(--line); }
.wish-paths article:first-child { padding-left: 0; }
.wish-paths article:last-child { padding-right: 0; border-right: 0; }
.wish-paths span { color: var(--amber-deep); font-size: .78rem; font-weight: 800; letter-spacing: .16em; }
.wish-paths h3 { margin-top: 1.2rem; }
.wish-paths p { margin: .9rem 0 0; color: var(--ink-soft); }

.experience-section {
  width: min(calc(100% - 3rem), var(--max));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}
.experience-card > p:not(.section-label) { margin: 1.5rem 0; color: var(--ink-soft); font-size: 1.08rem; }
.experience-card ul { margin: 1.8rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.experience-card li { padding: .85rem 0 .85rem 1.8rem; border-bottom: 1px solid var(--line); position: relative; font-weight: 650; }
.experience-card li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .6rem; height: .6rem; background: var(--amber); border-radius: 50%; }
blockquote { margin: 0; padding: 2.8rem; background: var(--amber-pale); border-radius: .8rem 5rem .8rem .8rem; }
blockquote p { margin: 0; font: 500 clamp(1.7rem, 3vw, 2.8rem)/1.3 Georgia, "Times New Roman", serif; }

.task-section {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  background: var(--blue-pale);
}
.task-visual { aspect-ratio: 3 / 2; border-radius: .8rem .8rem .8rem 7rem; }
.task-copy > p:not(.section-label) { margin: 1.5rem 0 0; color: var(--ink-soft); font-size: 1.08rem; }
.task-steps { margin: 1.7rem 0 2rem; }
.task-steps p { margin: 0; padding: .9rem 0; display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; border-bottom: 1px solid rgba(23,58,99,.16); }
.task-steps strong { color: var(--blue); }
.task-steps span { color: var(--ink-soft); }
.button-secondary { color: var(--white); background: var(--amber-deep); }
.button-secondary:hover, .button-secondary:focus-visible { background: #874a0d; }

.property-routes {
  min-height: 88px;
  padding: 1rem max(1.5rem, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .8rem 1.5rem;
  color: var(--ink-soft);
  background: var(--amber-pale);
  border-top: 1px solid rgba(168,95,18,.18);
  border-bottom: 1px solid rgba(168,95,18,.18);
}
.property-routes span { color: var(--ink); font-weight: 800; }
.property-routes a { color: var(--blue); font-weight: 800; text-underline-offset: .25rem; }

.contact-section {
  padding: clamp(5rem, 9vw, 9rem) max(1.5rem, calc((100% - var(--max)) / 2));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: clamp(2rem, 5vw, 5rem);
}
.form-panel h2 { margin-bottom: 2.2rem; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { margin-bottom: .8rem; font-weight: 800; }
.choice-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.choice-row label { cursor: pointer; }
.choice-row input { position: absolute; opacity: 0; }
.choice-row span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  padding: .65rem 1rem;
  color: var(--ink-soft);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .55rem;
  font-weight: 700;
}
.choice-row input:checked + span { color: var(--white); background: var(--blue); border-color: var(--blue); }
.choice-row input:focus-visible + span { outline: 3px solid rgba(212,138,47,.35); outline-offset: 3px; }
.field-grid { margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field-grid label { display: grid; gap: .45rem; font-weight: 750; }
.field-grid label > span { display: block; }
.field-grid label b { font-weight: 750; }
.field-grid small { color: var(--ink-soft); font-size: .78rem; font-weight: 500; }
.field-grid input, .field-grid textarea {
  width: 100%;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: .55rem;
  outline: none;
}
.field-grid input { min-height: 52px; padding: 0 .9rem; }
.field-grid textarea { min-height: 150px; padding: .9rem; resize: vertical; }
.field-grid input:focus, .field-grid textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,58,99,.12); }
.message-field { grid-column: 1 / -1; }
.honeypot { position: absolute; left: -10000px; }
.privacy-check { margin: 1.2rem 0; display: flex; align-items: flex-start; gap: .7rem; color: var(--ink-soft); font-size: .92rem; }
.privacy-check input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; accent-color: var(--blue); }
.privacy-check a { color: var(--blue); font-weight: 750; }
.button-submit { color: var(--white); background: var(--amber-deep); border: 0; }
.button-submit:hover, .button-submit:focus-visible { background: #874a0d; }
.form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--blue); font-weight: 700; }
.personal-contact {
  position: sticky;
  top: 112px;
  padding: 2rem;
  color: var(--white);
  background: var(--blue);
  border-radius: .8rem 3.5rem .8rem .8rem;
  box-shadow: var(--shadow);
}
.contact-kicker { margin: 0 0 .9rem; color: #cfe0ec; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.personal-contact h2 { font-size: 2.2rem; }
.personal-contact > p { margin: .5rem 0 1.2rem; color: #dce8f0; }
.personal-contact a { display: block; width: fit-content; margin: .5rem 0; color: var(--white); font-weight: 800; text-underline-offset: .22rem; }
.personal-contact .contact-note { margin: 1.4rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.22); font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }

.site-footer {
  min-height: 108px;
  padding: 1.5rem max(1.5rem, calc((100% - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: #dce8f0;
  background: var(--blue-deep);
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: var(--white); text-underline-offset: .25rem; }

@media (max-width: 900px) {
  .header-inner { width: min(calc(100% - 2rem), var(--max)); min-height: 74px; }
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    padding: 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 28px rgba(21,50,79,.1);
  }
  .main-nav.is-open { display: grid; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; padding: 0 .35rem; }
  .brand { width: 102px; }
  .hero, .experience-section, .task-section, .contact-section { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { max-width: 750px; }
  .hero-visual { border-radius: 5rem .7rem .7rem .7rem; }
  .wish-paths { grid-template-columns: 1fr; }
  .wish-paths article, .wish-paths article:first-child, .wish-paths article:last-child { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .wish-paths article:last-child { border-bottom: 0; }
  blockquote { border-radius: .8rem 4rem .8rem .8rem; }
  .task-copy { max-width: 760px; }
  .personal-contact { position: static; }
}

@media (max-width: 620px) {
  .hero, .experience-section { width: min(calc(100% - 2rem), var(--max)); }
  .hero { padding: 3.2rem 0 4rem; gap: 2.4rem; }
  h1 { font-size: clamp(2.65rem, 13vw, 4.25rem); }
  h2 { font-size: clamp(2.15rem, 10vw, 3.3rem); }
  .hero-actions { align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-visual { aspect-ratio: 4 / 3; border-radius: 3.2rem .55rem .55rem .55rem; }
  .wish-section, .task-section, .contact-section { padding-left: 1rem; padding-right: 1rem; }
  .field-grid { grid-template-columns: 1fr; }
  .message-field { grid-column: auto; }
  .choice-row { display: grid; }
  .choice-row span { width: 100%; }
  .task-steps p { grid-template-columns: 1fr; gap: .25rem; }
  blockquote { padding: 2rem; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
