:root {
  --ink: #132b3a;
  --navy: #0d3145;
  --sea: #2e7180;
  --sky: #dcebf0;
  --mist: #f3f7f7;
  --paper: #ffffff;
  --gold: #d19a45;
  --line: #cad9dd;
  --muted: #526974;
  --shadow: 0 18px 55px rgba(13, 49, 69, 0.12);
  --radius: 1.25rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.68;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 3rem; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--paper);
  padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid rgba(202,217,221,.7);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  max-width: 76rem;
  margin: 0 auto;
  min-height: 4.8rem;
  padding: .8rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { text-decoration: none; display: flex; align-items: center; gap: .7rem; }
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50% 50% 50% 12%;
  background: linear-gradient(145deg, var(--sea), var(--navy));
  position: relative;
  transform: rotate(-8deg);
}
.brand-mark::after {
  content: "";
  position: absolute;
  width: .28rem;
  height: 1.35rem;
  left: 1rem;
  top: .48rem;
  background: #fff;
  border-radius: 999px;
  transform: rotate(36deg);
}
.brand strong { font-family: Georgia, serif; font-size: 1.28rem; letter-spacing: .01em; }
.desktop-nav { display: flex; gap: 1.15rem; align-items: center; }
.desktop-nav a { text-decoration: none; font-size: .9rem; color: #304d5c; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: .35rem; }
.nav-cta { padding: .62rem .95rem; border-radius: 999px; background: var(--navy); color: #fff !important; text-decoration: none !important; }
.menu-button { display: none; border: 1px solid var(--line); background: #fff; border-radius: .75rem; padding: .55rem .8rem; }

.container { width: min(72rem, calc(100% - 2.5rem)); margin: 0 auto; }
.narrow { width: min(48rem, calc(100% - 2.5rem)); margin: 0 auto; }
section { padding: 5.5rem 0; }
.section-soft { background: var(--mist); }
.eyebrow { margin: 0 0 .9rem; color: var(--sea); font-weight: 750; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; color: var(--navy); line-height: 1.12; font-weight: 500; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.35rem); letter-spacing: -.025em; }
h3 { font-size: 1.45rem; }
.lead { font-size: clamp(1.12rem, 2vw, 1.35rem); color: #385563; max-width: 42rem; }
.prose p + p { margin-top: 1.25rem; }

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: stretch;
  background: var(--mist);
}
.hero-copy { padding: clamp(4rem, 8vw, 8rem) clamp(1.4rem, 6vw, 6.5rem); align-self: center; }
.hero-copy h1 { max-width: 12ch; margin-bottom: 1.4rem; }
.hero-copy .lead { max-width: 34rem; }
.hero-image { min-height: 34rem; background: url('/assets/cornish-path.webp') center/cover no-repeat; }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.15rem;
  border: 1px solid var(--navy);
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.button:hover { background: #16475f; }
.button-secondary { background: transparent; color: var(--navy); }
.button-secondary:hover { color: #fff; }

.choice-grid, .card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; margin-top: 2.3rem; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.choice, .card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--paper);
  box-shadow: 0 8px 25px rgba(13,49,69,.05);
}
.choice { text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.choice small { display: block; color: var(--sea); text-transform: uppercase; letter-spacing: .12em; font-weight: 750; margin-bottom: .65rem; }
.choice span { display: inline-block; margin-top: .7rem; color: var(--sea); font-weight: 700; }

.path-steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 2.5rem 0 0; counter-reset: path; }
.path-steps li { counter-increment: path; border-top: 3px solid var(--gold); padding-top: 1rem; }
.path-steps li::before { content: "0" counter(path); display: block; color: var(--sea); font-weight: 800; font-size: .82rem; margin-bottom: .4rem; }
.quote {
  border-left: 5px solid var(--gold);
  margin: 2rem 0;
  padding: 1rem 0 1rem 1.5rem;
  font-family: Georgia, serif;
  font-size: 1.45rem;
  color: var(--navy);
}
.notice { background: var(--sky); border-radius: 1rem; padding: 1.2rem 1.4rem; }

.page-hero { padding: 6rem 0 4.5rem; background: linear-gradient(125deg, var(--mist), #e4eff2); }
.page-hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); max-width: 15ch; margin-bottom: 1.2rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.fact { border-top: 1px solid var(--line); padding: 1rem 0; display: flex; justify-content: space-between; gap: 2rem; }
.fact strong { color: var(--navy); }

.journey-shell { background: var(--mist); border: 1px solid var(--line); border-radius: 1.5rem; padding: clamp(1.2rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.progress-track { height: .5rem; border-radius: 999px; background: #d7e3e6; overflow: hidden; margin-bottom: 2rem; }
.progress-bar { height: 100%; width: 20%; background: linear-gradient(90deg, var(--sea), var(--gold)); transition: width .25s ease; }
.journey-step[hidden] { display: none; }
.journey-step label, .field label { display: block; font-weight: 750; color: var(--navy); margin-bottom: .45rem; }
.journey-step textarea, .field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid #9cb3bd;
  border-radius: .7rem;
  background: #fff;
  color: var(--ink);
}
.journey-step textarea { min-height: 12rem; resize: vertical; }
.journey-nav { display: flex; justify-content: space-between; gap: .8rem; margin-top: 1.4rem; }
.journey-nav button { border: 1px solid var(--navy); border-radius: 999px; padding: .65rem 1.05rem; background: var(--navy); color: #fff; font-weight: 700; cursor: pointer; }
.journey-nav .back { background: transparent; color: var(--navy); }
.plan-output { margin-top: 2rem; padding: 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 1rem; }
.plan-output[hidden] { display: none; }

.contact-form { display: grid; gap: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.form-note { color: var(--muted); font-size: .92rem; }
.form-status { padding: .8rem 1rem; border-radius: .7rem; background: var(--sky); display: none; }
.form-status.visible { display: block; }

.site-footer { background: var(--navy); color: #dce8ec; padding: 3.5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .75fr; gap: 2rem; }
.site-footer h2, .site-footer h3 { color: #fff; }
.site-footer h2 { font-size: 1.7rem; }
.site-footer a { color: #fff; }
.footer-links { display: grid; gap: .45rem; }
.copyright { border-top: 1px solid rgba(255,255,255,.2); margin-top: 2.5rem; padding-top: 1.2rem; color: #abc0c8; font-size: .88rem; }

@media (max-width: 960px) {
  .desktop-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 4.5rem; background: #fff; padding: 1rem; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .desktop-nav.open { display: flex; }
  .desktop-nav a { padding: .55rem; }
  .menu-button { display: inline-flex; align-items: center; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-image { min-height: 42vh; }
  .card-grid.three { grid-template-columns: 1fr; }
  .path-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  section { padding: 4rem 0; }
  .choice-grid, .card-grid, .split, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .path-steps { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 1.25rem 4.5rem; }
  .hero-image { min-height: 19rem; }
  .page-hero { padding: 4.5rem 0 3.5rem; }
}

@media print {
  .site-header, .site-footer, .journey-nav, .button-row, .page-hero { display: none !important; }
  body { color: #000; }
  .journey-shell { box-shadow: none; border: 0; padding: 0; }
  .journey-step { display: none !important; }
  .plan-output { display: block !important; border: 0; }
}
