@import url('../assets/fonts/fonts.css');

:root {
  --green: #1f524f;
  --paper: #f2f0ed;
  --sage: #c7cca6;
  --peach: #e5c49e;
  --rose: #d6a19e;
  --blue: #99a6cc;
  --muted: #465e5b;
  --line: #ccd5d1;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: white; color: var(--green); font: 18px/1.6 Figtree, Arial, sans-serif; overflow-wrap: anywhere; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: Besley, Georgia, serif; font-weight: 500; line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(36px, 3.6vw, 52px); }
h1 em { display: inline-block; color: var(--green); font-style: italic; }
h2 { font-size: clamp(29px, 2.8vw, 40px); }
h3 { font-size: 23px; }
a { color: inherit; text-underline-offset: 4px; }
button, input { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; box-shadow: 0 0 0 7px white; }
[hidden] { display: none !important; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -150px; z-index: 100; padding: 12px 18px; background: white; }
.skip:focus { top: 12px; }
.site-head { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; min-height: 90px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; flex-shrink: 0; }
.logo img { width: 200px; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { display: flex; align-items: center; min-height: 44px; font-size: 17px; text-decoration: none; }
.main-nav a:hover, .main-nav a[aria-current] { text-decoration: underline; }
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 11px 22px; border: 1px solid var(--green); border-radius: 999px; background: var(--green); color: white; text-decoration: none; text-align: center; font-size: 18px; font-weight: 600; line-height: 1.4; }
.btn:hover { text-decoration: underline; text-underline-offset: 4px; }
.btn.secondary { color: var(--green); background: white; }
.btn.light { color: var(--green); background: white; border-color: white; }
.head-cta { flex-shrink: 0; }
.menu-toggle { display: none; min-height: 44px; padding: 8px 14px; margin-left: auto; background: transparent; color: var(--green); border: 1px solid var(--green); border-radius: 8px; }
.hero { padding-block: 54px 62px; background: linear-gradient(180deg, var(--paper), white); }
.eyebrow, .door-label { font-weight: 600; font-size: 15px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { margin-bottom: 18px; }
.lede { margin-top: 22px; font-size: 20px; line-height: 1.6; max-width: 58ch; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero-photo { width: 100%; height: 540px; border-radius: 18px; }
.route-label { font-family: Figtree, Arial, sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0; margin-block: 28px 14px; }
.route-list { display: grid; gap: 14px; }
.route-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border: 1px solid var(--green); border-radius: 12px; box-shadow: 0 3px 0 var(--green); background: white; text-decoration: none; }
.route-card strong { display: block; font-size: 21px; line-height: 1.3; }
.route-detail { display: block; margin-top: 6px; color: var(--muted); font-size: 18px; line-height: 1.4; }
.arrow { font-size: 26px; flex-shrink: 0; }
.route-card:hover { background: var(--sage); }
.doors-hero { padding-block: 30px 16px; }
.doors-wrap { max-width: 1040px; }
.doors-intro { text-align: center; }
.doors-intro h1 { font-size: clamp(34px, 3.1vw, 44px); }
.doors-intro .eyebrow { margin-bottom: 12px; }
.doors-intro .lede { margin: 15px auto 0; max-width: 70ch; font-size: 18px; }
.doors-hero .route-label { text-align: center; margin-block: 22px 14px; }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.door-card { display: flex; flex-direction: column; border: 1px solid var(--green); border-radius: 16px; background: white; box-shadow: 0 4px 0 var(--green); }
.door-photo { width: 100%; height: 150px; border-radius: 15px 15px 0 0; object-position: 50% 42%; }
.couple-photo { object-position: 50% 30%; }
.door-body { flex: 1; display: flex; flex-direction: column; padding: 20px 24px 24px; }
.door-label { font-size: 14px; margin-bottom: 10px; }
.door-body h3 { font-size: 22px; }
.door-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 22px; }
.door-actions .btn { width: 100%; }
.cqc-line { padding: 8px 0 22px; text-align: center; font-size: 16px; }
.cqc-line a { display: inline-flex; min-height: 44px; align-items: center; }
.band { padding-block: 76px; }
.paper { background: var(--paper); }
.sage { background: var(--sage); }
.green { background: var(--green); color: white; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.align-start { align-items: start; }
.large-photo { width: 100%; aspect-ratio: 1.45; border-radius: 18px; object-position: 50% 40%; }
.text-block > p:not(.eyebrow) { margin-top: 22px; }
.text-block .btn { margin-top: 28px; }
.works-grid, .steps { display: grid; gap: 30px; padding: 0; margin: 38px 0 0; list-style: none; }
.works-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.works-grid li, .steps li { border-top: 1px solid var(--green); padding-top: 22px; }
.works-grid h3, .steps h3 { font-family: Figtree, Arial, sans-serif; font-weight: 600; font-size: 22px; letter-spacing: -.01em; text-wrap: initial; }
.works-grid p, .steps p { margin-top: 14px; }
.care-cta { text-align: center; }
.care-cta p { margin-block: 20px 28px; }
.green :focus-visible, .site-foot :focus-visible { outline-color: white; box-shadow: 0 0 0 7px var(--green); }
.help-band { border-block: 0; }
.tick-list { margin: 0; padding: 0; list-style: none; }
.tick-list li { position: relative; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); }
.tick-list li:first-child { padding-top: 0; }
.tick-list li::before { content: ''; position: absolute; left: 5px; top: 23px; width: 10px; height: 17px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.tick-list li:first-child::before { top: 7px; }
.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-number { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); margin-bottom: 22px; font-weight: 600; }
.register-wrap { max-width: 860px; }
.register-intro { margin-top: 20px; }
form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 32px; padding: 34px; background: white; border: 1px solid var(--line); border-radius: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; }
.field input { width: 100%; min-height: 52px; border: 1px solid var(--muted); border-radius: 6px; color: var(--green); background: white; padding: 10px 14px; }
.field input::placeholder { color: var(--muted); opacity: 1; }
.hint { font-weight: 400; color: var(--muted); margin-left: 8px; }
.full { grid-column: 1 / -1; }
.check { display: flex; align-items: flex-start; gap: 14px; min-height: 44px; cursor: pointer; }
.check input { flex-shrink: 0; width: 24px; height: 24px; margin: 3px 0 0; accent-color: var(--green); }
.privacy-link { display: inline-flex; align-items: center; min-height: 44px; text-align: left; padding: 6px 0; border: 0; color: var(--green); background: none; text-decoration: underline; text-underline-offset: 4px; }
.form-note { font-size: 17px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status:not(:empty) { padding: 20px; background: var(--paper); border-left: 3px solid var(--green); }
.form-status a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.outside { max-width: 860px; }
.outside p { margin-top: 22px; }
.site-foot { background: var(--green); color: white; padding-block: 54px; }
.foot-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; }
.foot-brand > p { margin-top: 20px; }
.foot-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin-top: 22px; }
.foot-nav a, .foot-nav button { display: inline-flex; align-items: center; min-height: 44px; color: white; background: none; border: 0; padding: 0; text-align: left; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.footer-registration { display: grid; gap: 12px; }
.footer-registration a { display: inline-flex; align-items: center; min-height: 44px; }
.cqc-badge { justify-self: start; margin-bottom: 6px; }
.cqc-badge img { width: 150px; }
.dialog { width: min(680px, calc(100% - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 34px; border: 1px solid var(--line); border-radius: 16px; color: var(--green); background: white; }
.dialog::backdrop { background: rgba(16,44,42,.65); }
.dialog h2 { font-size: 29px; }
.dialog p { margin-top: 20px; }
.dialog a { display: inline-flex; align-items: center; min-height: 44px; }
.dialog .btn { margin-top: 26px; }
.review-chooser { padding-block: 70px; max-width: 1000px; }
.review-links { display: grid; justify-items: start; gap: 18px; margin-top: 36px; }
.review-links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .head-in { gap: 16px; }
  .logo img { width: 175px; }
  .main-nav { gap: 16px; }
  .head-cta { padding-inline: 16px; font-size: 17px; }
  .hero-grid, .two { gap: 36px; }
  .foot-grid { gap: 40px; }
}
@media (max-width: 949px) {
  .head-in { min-height: 80px; flex-wrap: wrap; gap: 0; }
  .menu-toggle { display: block; }
  .head-cta { display: none; }
  .main-nav { display: none; order: 3; width: 100%; margin: 0; padding-block: 10px 18px; flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 8px 0; }
  .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 26px; }
  .hero-photo { height: 480px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr; }
  .footer-registration { border-top: 1px solid rgba(255,255,255,.3); padding-top: 28px; }
}
@media (max-width: 820px) {
  form { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { height: auto; aspect-ratio: 1.5; }
  .two { gap: 28px; }
  .steps { gap: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 40px); }
  h1 { font-size: clamp(30px, 8.6vw, 38px); }
  h2 { font-size: 29px; }
  .hero { padding-block: 34px 42px; }
  .lede { font-size: 18px; margin-top: 20px; }
  .eyebrow { font-size: 14px; }
  .doors-intro { text-align: left; }
  .doors-intro h1 { font-size: clamp(30px, 8.6vw, 38px); }
  .doors-intro .lede { font-size: 17px; }
  .doors-hero { padding-bottom: 22px; }
  .doors-hero .route-label { text-align: left; margin-top: 28px; }
  .doors { grid-template-columns: 1fr; gap: 25px; }
  .door-photo { height: 180px; }
  .door-body { padding: 20px; }
  .door-body h3 { font-size: 23px; }
  .btn { font-size: 17px; padding-inline: 18px; }
  .route-card { padding: 18px; gap: 12px; }
  .route-card strong { font-size: 20px; }
  .route-detail { font-size: 17px; }
  .cqc-line { font-size: 15px; }
  .band { padding-block: 48px; }
  .two, .works-grid, .steps { grid-template-columns: 1fr; }
  .works-grid, .steps { gap: 28px; margin-top: 30px; }
  .large-photo { aspect-ratio: 1.45; }
  .tick-list li { padding-left: 32px; }
  form { padding: 22px; gap: 22px; }
  .form-note { font-size: 16px; }
  .site-foot { padding-block: 40px; }
  .foot-nav { grid-template-columns: 1fr; gap: 4px; }
  .dialog { padding: 24px; }
  .dialog h2 { font-size: 26px; }
  .review-chooser { padding-block: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 25 Nov 2026: George's notes. No menu, so "Get in touch" sits on the right at every width. */
.head-cta { margin-left: auto; }
@media (max-width: 949px) { .head-in .head-cta { display: inline-flex; } .head-in { flex-wrap: nowrap; } }
/* Small phones (320px): logo and "Get in touch" must fit on one line without overlapping or scrolling sideways. */
@media (max-width: 400px) { .head-in { gap: 10px; } .logo img { width: 130px; } .head-in .head-cta { min-height: 44px; padding: 8px 14px; font-size: 15px; } }
#new-way { scroll-margin-top: 100px; }
/* More about Prevora, lifted from the families page */
.prevora-more { background: #fff; }
.smallcaps { font-variant: small-caps; letter-spacing: 0.02em; }
.prevora-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.prevora-grid > * { min-width: 0; }
.prevora-points { list-style: none; padding: 0; margin: 26px 0 0; }
.prevora-points li { position: relative; padding: 12px 0 12px 26px; border-bottom: 1px solid var(--line); font-size: 17px; }
.prevora-points li::before { content: ""; position: absolute; left: 0; top: 23px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.prevora-footnote { margin-top: 18px; }
.prevora-photo { height: 420px; aspect-ratio: auto; object-fit: cover; }
.prevora-find { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.prevora-qr { width: 120px; height: 120px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 8px; padding: 6px; background: #fff; }
.prevora-find p { font-size: 17px; margin: 0; }
.prevora-find a { font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 980px) { .prevora-grid { grid-template-columns: 1fr; gap: 32px; } .prevora-photo { height: 300px; } }
@media (max-width: 480px) { .prevora-find { align-items: flex-start; gap: 14px; } .prevora-qr { width: 96px; height: 96px; } }
@media (max-width: 600px) { #new-way h2 { order: -1; } }
/* 25 Nov 2026, George's note: line the heading up with the first paragraph beside it (.text-block > p margin-top). Two columns only; at 600px and below it stacks above the text. */
@media (min-width: 601px) { #new-way h2 { margin-top: 22px; } }
