/* Wildflow — palette drawn from the Welsh uplands */
:root {
  --lichen: #E3E7DA;
  --lichen-deep: #D4DBC7;
  --lake: #17322F;
  --lake-soft: #24443F;
  --ink: #1E2622;
  --ink-soft: #46524B;
  --moss: #4F6136;
  --gorse: #E5B23A;
  --heather: #7D4E7A;
  --contour: #A9744A;

  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.375rem;
  --step-2: 1.875rem;
  --step-3: clamp(2.25rem, 4vw, 3.25rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--lichen);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

h2 { font-size: var(--step-3); letter-spacing: -0.01em; }

p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--gorse);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gorse);
  color: var(--ink);
  padding: 0.5rem 1rem;
  z-index: 20;
}
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  color: var(--lichen);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.5rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-header ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-header nav a {
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 500;
}
.site-header nav a:hover { text-decoration: underline; }

.site-header .nav-cta {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}
.site-header .nav-cta:hover { background: var(--lichen); color: var(--lake); text-decoration: none; }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(36rem, 100svh, 58rem);
  background: var(--lake);
  color: var(--lichen);
  overflow: hidden;
  display: flex;
}

.contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.contours path {
  fill: none;
  stroke: var(--contour);
  stroke-width: 1;
  opacity: 0.42;
}
.contours path.index { stroke-width: 2.2; opacity: 0.6; }

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 7rem var(--gutter) 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 1fr auto;
  gap: 2rem;
}

.hero-title {
  grid-column: 1 / -1;
  align-self: center;
  font-size: clamp(4rem, 15vw, 13.5rem);
  line-height: 0.86;
  letter-spacing: -0.035em;
}
.hero-title span { display: block; }
.hero-title span:nth-child(2) { padding-left: 0.9em; }
.hero-title span:nth-child(3) { padding-left: 0.3em; color: var(--gorse); }

.hero-foot { max-width: 30rem; }

.hero-lede {
  font-size: var(--step-1);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.hero-actions, .book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-places {
  align-self: end;
  text-align: right;
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.2;
}
.hero-places strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gorse);
}

/* One orchestrated load: the hills draw in, then the title settles */
@media (prefers-reduced-motion: no-preference) {
  .contours path {
    stroke-dasharray: var(--len);
    stroke-dashoffset: var(--len);
    animation: draw 2.6s cubic-bezier(.3, .6, .3, 1) forwards;
    animation-delay: var(--delay, 0s);
  }
  .hero-title span {
    animation: rise 1s cubic-bezier(.2, .7, .2, 1) both;
  }
  .hero-title span:nth-child(2) { animation-delay: .12s; }
  .hero-title span:nth-child(3) { animation-delay: .24s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.25em); } }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1.5px solid transparent;
}
.btn-gorse { background: var(--gorse); color: var(--ink); }
.btn-gorse:hover { background: #F0C35A; }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(227, 231, 218, 0.12); }

/* Invitation */
.invite { padding: clamp(5rem, 12vw, 9rem) 0; }
.invite-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.3;
  max-width: 24em;
  margin-bottom: 1.5rem;
}
.invite-sub {
  max-width: var(--measure);
  margin-left: auto;
  color: var(--ink-soft);
  font-size: var(--step-1);
  line-height: 1.5;
}

/* Photo band */
.band {
  margin: 0 0 clamp(4rem, 10vw, 7rem);
  position: relative;
}
.band img {
  display: block;
  width: 100%;
  height: clamp(18rem, 55vw, 44rem);
  object-fit: cover;
  object-position: 50% 60%;
}
.band figcaption {
  position: absolute;
  right: var(--gutter);
  bottom: 1rem;
  color: var(--lichen);
  font-size: var(--step--1);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

/* Balance */
.balance {
  padding: 0 0 clamp(4rem, 10vw, 7rem);
}
.balance h2 { margin-bottom: 2.5rem; max-width: 14em; }
.balance-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
}
.balance-col { padding: 1.75rem 2rem 0 0; }
.balance-col + .balance-col {
  padding-left: 2rem;
  border-left: 1px solid rgba(30, 38, 34, 0.25);
}
.balance-col h3 {
  font-size: var(--step-2);
  margin-bottom: 1.25rem;
}
.balance-col:first-child h3 { color: var(--moss); }
.balance-col:last-child h3 { color: var(--heather); }
.balance-col ul { list-style: none; margin: 0; padding: 0; }
.balance-col li {
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(30, 38, 34, 0.15);
}

/* Itinerary */
.itinerary {
  background: var(--lichen-deep);
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head { max-width: var(--measure); margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--ink-soft); }

/* The route: an OS-map style footpath linking each day */
.route {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 52rem;
}
.route::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  border-left: 3px dashed var(--moss);
}

.stop {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.75rem;
  padding-bottom: 3rem;
}
.stop:last-child { padding-bottom: 0; }

.marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lake);
  display: grid;
  place-items: center;
  position: relative;
}
.marker svg { width: 26px; height: 26px; fill: var(--gorse); }

.stop-body { padding-top: 0.6rem; max-width: var(--measure); }
.stop h3 {
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}
.stop h3 span {
  display: block;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--heather);
  margin-top: 0.35rem;
  letter-spacing: 0;
}

.stop-photo, .who-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 4px;
}
.stop-photo { margin-top: 1.25rem; }
.who-photo { max-width: var(--measure); margin: 2rem 0 0; }

/* Who it's for */
.who { padding: clamp(4rem, 10vw, 7rem) 0; }
.who-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.who-main h2 { margin-bottom: 1.5rem; }
.who-main p { max-width: var(--measure); font-size: 1.125rem; }

.facts { margin: 0; }
.facts div {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(30, 38, 34, 0.25);
}
.facts div:last-child { border-bottom: 1px solid rgba(30, 38, 34, 0.25); }
.facts dt { font-weight: 600; margin-bottom: 0.25rem; }
.facts dd { margin: 0; color: var(--ink-soft); }

/* Quote */
.quote {
  margin: 0;
  background: var(--heather);
  color: var(--lichen);
  padding: clamp(4rem, 10vw, 7rem) var(--gutter);
  text-align: center;
}
.quote blockquote { margin: 0 auto; max-width: 52rem; }
.quote p {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.quote figcaption { font-weight: 500; }

/* This might be for you */
.for-you {
  padding: 0 0 clamp(4rem, 10vw, 7rem);
}
.for-you h2 { margin-bottom: 2.5rem; }
.for-you-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  border-top: 2px solid var(--ink);
}
.for-you-list li {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.35;
  padding: 1.4rem 0 1.4rem 2rem;
  border-bottom: 1px solid rgba(30, 38, 34, 0.2);
  position: relative;
}
.for-you-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.85rem;
  width: 0.9rem;
  border-top: 3px dashed var(--moss);
}
.for-you-foot {
  margin: 2.5rem 0 0;
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--heather);
  max-width: 30em;
}

.pull {
  margin: 2rem 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--gorse);
}
.pull p {
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.pull footer { color: var(--ink-soft); font-size: var(--step--1); }

/* Guides */
.guides { padding: clamp(4rem, 10vw, 7rem) 0 0; }
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
}
.guide {
  border-top: 2px solid var(--ink);
  padding-top: 1.5rem;
}
.guide h3 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  color: var(--moss);
  margin-bottom: 1rem;
}
.guide + .guide h3 { color: var(--heather); }
.guide p { max-width: var(--measure); }

/* Pricing */
.pricing { padding: clamp(4rem, 10vw, 7rem) 0 0; }
.pricing .section-head { margin-bottom: 0; }
.pricing .section-head a { color: var(--ink); font-weight: 500; }

/* Questions */
.faq { padding: clamp(4rem, 10vw, 7rem) 0; }
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid rgba(30, 38, 34, 0.2); }
.faq summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.3;
  padding: 1.25rem 2.5rem 1.25rem 0;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 1.1rem;
  font-family: var(--sans);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--moss);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--moss); }
.faq details p {
  max-width: var(--measure);
  color: var(--ink-soft);
  padding-bottom: 0.5rem;
}

/* Book */
.book {
  background: var(--lake);
  color: var(--lichen);
  padding: clamp(5rem, 14vw, 10rem) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.book-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  z-index: -2;
}
/* Lake-tinted wash keeps the gorse heading and lichen text readable over the sky */
.book::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(23, 50, 47, 0.94) 0%, rgba(23, 50, 47, 0.82) 55%, rgba(23, 50, 47, 0.55) 100%);
}
.book-inner { max-width: 48rem; margin: 0 auto; }
.book h2 {
  font-size: clamp(2.75rem, 7vw, 5rem);
  color: var(--gorse);
  margin-bottom: 1.25rem;
}
.book p { font-size: var(--step-1); line-height: 1.45; max-width: 30em; margin-bottom: 2rem; }

.signoff {
  margin: clamp(3rem, 7vw, 4.5rem) 0 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(227, 231, 218, 0.3);
}
.book .signoff p {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.3;
  max-width: 24em;
  margin-bottom: 0.75rem;
}
.signoff footer { color: var(--gorse); font-weight: 500; }

/* Footer */
.site-footer {
  background: var(--lake);
  color: var(--lichen);
  border-top: 1px solid rgba(227, 231, 218, 0.15);
  padding: 3rem 0;
  font-size: var(--step--1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.wordmark-foot { margin-bottom: 0.25rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }

/* Mobile */
@media (max-width: 760px) {
  .site-header nav li:not(:last-child) { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding-top: 6rem;
  }
  .hero-title span:nth-child(2) { padding-left: 0.5em; }
  .hero-places { text-align: left; }
  .hero-places strong { display: inline; font-size: 2.5rem; margin-right: 0.35rem; }

  .balance-grid { grid-template-columns: 1fr; }
  .balance-col { padding-right: 0; }
  .balance-col + .balance-col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(30, 38, 34, 0.25);
    margin-top: 2rem;
  }

  .route::before { left: 21px; top: 22px; }
  .stop { grid-template-columns: 44px 1fr; gap: 1.1rem; }
  .marker { width: 44px; height: 44px; }
  .marker svg { width: 21px; height: 21px; }
  .stop-body { padding-top: 0.25rem; }

  .who-grid { grid-template-columns: 1fr; }
  .for-you-list { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq .section-head { margin-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}
