/* Honeysuckle in autumn: oat paper, turning leaves, red berries */
:root {
  --cinnamon: #9a4b2d;
  --chestnut: #573223;
  --oat: #fcf6ec;
  --wheat: #f6e8d4;
  --honey: #e6b566;
  --apricot: #efc3a0;
  --rosehip: #d38a72;
  --olive: #8b8a5c;
  --ink: #4d3a30;
  --muted: #705a4b;
  --rule: #e9d5bb;
  --shadow: 0 1.5rem 3.5rem -1.25rem rgba(122, 70, 36, 0.28);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --measure: 36rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--oat); color: var(--ink); font: 1.0938rem/1.75 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cinnamon); text-underline-offset: 0.2em; }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--cinnamon); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-variation-settings: "SOFT" 100; font-weight: 400; color: var(--chestnut); line-height: 1.18; margin: 0 0 0.6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; max-width: var(--measure); }
.muted { color: var(--muted); font-size: 0.95rem; }

.wrap { width: min(68rem, 100% - 2rem); margin-inline: auto; }
.centre { text-align: center; }
.centre p, .centre .quote { margin-inline: auto; }
.sprig { width: 7.5rem; height: 2.5rem; display: block; margin-bottom: 0.75rem; }
.centre .sprig { margin-inline: auto; }

.site-head { background: var(--oat); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; padding-block: 1rem; }
.brand { text-decoration: none; display: grid; line-height: 1.2; color: var(--chestnut); }
.brand strong { font: 500 1.55rem var(--serif); font-variation-settings: "SOFT" 100; }
.brand span { font-size: 0.88rem; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; font-size: 0.98rem; font-weight: 600; }
.nav a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; border-radius: 999px; }
.nav a[aria-current="page"], .nav a:hover { background: var(--wheat); color: var(--chestnut); }

.btn { box-shadow: 0 0.6rem 1.25rem -0.75rem rgba(122, 70, 36, 0.7); display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0.75rem 1.6rem; border-radius: 999px; background: var(--cinnamon); color: #fff; text-decoration: none; font-weight: 700; line-height: 1.2; }
.btn:hover { background: var(--chestnut); }
.btn.quiet { background: transparent; color: var(--cinnamon); box-shadow: inset 0 0 0 2px var(--apricot); }
.btn.quiet:hover { background: var(--wheat); color: var(--chestnut); }

.hero { background: radial-gradient(ellipse 60% 70% at 88% 20%, #f8ddba 0, transparent 70%), radial-gradient(ellipse 45% 55% at 0% 100%, #f6dfcd 0, transparent 70%), var(--oat); padding-block: clamp(2rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.glow { position: relative; isolation: isolate; display: grid; }
.glow::before, .glow::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.glow::before { width: 42%; aspect-ratio: 1; left: -3%; bottom: -5%; background: var(--rosehip); opacity: 0.55; }
.glow::after { width: 30%; aspect-ratio: 1; right: -2%; top: -4%; background: var(--honey); opacity: 0.7; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1.05fr 0.95fr; }
.lede { font-size: 1.2rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

/* Soft, uneven pebble shapes instead of straight-edged photos */
.pebble { overflow: hidden; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; aspect-ratio: 1 / 1; box-shadow: 0 0 0 0.7rem #fffaf2, var(--shadow); width: calc(100% - 1.4rem); justify-self: center; }
.pebble.alt { border-radius: 58% 42% 53% 47% / 45% 55% 45% 55%; }
.pebble.tall { aspect-ratio: 4 / 5; border-radius: 12rem 12rem 2.5rem 2.5rem; max-width: 24rem; }
.pebble img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.18) saturate(1.08); }
.pebble img.cool { filter: sepia(0.42) saturate(1.15) brightness(1.03); }

.section { padding-block: clamp(2.75rem, 6vw, 4.75rem); }
.warm { background: var(--wheat); }
.split { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }

/* A slow, rolling top edge in the colour of the section it introduces */
.wave { position: relative; --edge: var(--oat); }
.wave.warm { --edge: var(--wheat); }
.wave.cta-band { --edge: var(--cinnamon); }
.wave::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 29px; background: var(--edge); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28' preserveAspectRatio='none'%3E%3Cpath d='M0 18C40 -2 80 -2 120 14S200 34 240 18V28H0Z'/%3E%3C/svg%3E") repeat-x bottom / 240px 28px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 28' preserveAspectRatio='none'%3E%3Cpath d='M0 18C40 -2 80 -2 120 14S200 34 240 18V28H0Z'/%3E%3C/svg%3E") repeat-x bottom / 240px 28px; }

.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.steps li { background: #fffaf2; box-shadow: var(--shadow); border-radius: 2.5rem; padding: 1.75rem 1.5rem; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin: 0 auto 0.75rem; border-radius: 50%; background: var(--apricot); box-shadow: 0 0 0 0.35rem #fbe9d8; color: var(--chestnut); font: 500 1.2rem var(--serif); }
.steps h3 { margin-bottom: 0.3em; }
.steps p { margin-bottom: 0; }

.quote { font: italic 400 clamp(1.45rem, 3.4vw, 2rem)/1.45 var(--serif); color: var(--chestnut); max-width: 38rem; margin-block: 0 0.75rem; }
.sign { font: italic 400 1.5rem var(--serif); color: var(--cinnamon); }

.fees { width: 100%; max-width: 40rem; margin: 0 auto 2rem; border-collapse: separate; border-spacing: 0 0.75rem; }
.fees th, .fees td { text-align: left; padding: 1.1rem 1.4rem; background: var(--wheat); vertical-align: middle; }
.fees th { border-radius: 1.5rem 0 0 1.5rem; font-weight: 700; }
.fees td.price { border-radius: 0 1.5rem 1.5rem 0; text-align: right; font: 500 1.5rem var(--serif); color: var(--chestnut); white-space: nowrap; }
.fees small { display: block; font-weight: 400; color: var(--muted); font-size: 0.92rem; }

.facts { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); margin-top: 1.75rem; }
.facts div { background: #fffaf2; box-shadow: var(--shadow); border-radius: 1.5rem; padding: 1.25rem 1.5rem; text-align: center; }
.facts strong { display: block; color: var(--chestnut); }
.facts a, .site-foot .wrap > div a { display: inline-flex; align-items: center; min-height: 44px; }

.page-head { background: var(--wheat); padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-head p { font-size: 1.15rem; color: var(--muted); }

.cta-band { background: var(--cinnamon); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #fbeede; }
.cta-band .btn { background: var(--oat); color: var(--chestnut); }

.site-foot { background: var(--chestnut); color: #f1ddc8; font-size: 0.95rem; padding-block: 2.5rem; }
.site-foot .wrap { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.site-foot a, .site-foot strong { color: #fff; }
.site-foot .legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1.5rem; margin-top: 2rem; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.site-foot .legal nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-foot .legal nav a { display: inline-flex; align-items: center; min-height: 44px; }

.prose { max-width: 44rem; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose ul { padding-left: 1.2rem; }
.demo-note { background: var(--wheat); border-radius: 1.25rem; padding: 1rem 1.25rem; font-size: 0.95rem; }

/* Demo ribbon: says it's a demo, and carries the way back to the showcase */
.demo-ribbon { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.25rem 1rem; text-align: center; background: var(--chestnut); color: #fff; font: 0.85rem/1.4 system-ui, sans-serif; padding: 0.25rem 1rem; }
.demo-ribbon span { margin: 0; }
.wots { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; padding: 0 0.9rem; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: #17323a; text-decoration: none; font: 600 0.85rem/1 "Helvetica Neue", Arial, sans-serif; white-space: nowrap; }
.wots::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #b8321f; order: 2; }
.wots:hover { background: #fff; text-decoration: underline; }
.in-frame .wots { display: none; }

@media (max-width: 760px) {
  .hero .wrap, .split, .steps { grid-template-columns: 1fr; }
  .pebble { max-width: 22rem; }
  .centre, .steps li, .facts div { text-align: left; }
  .centre p, .centre .quote, .centre .sprig, .steps li::before { margin-left: 0; }
  .nav { gap: 0; font-size: 0.92rem; }
  .nav a { padding: 0 0.55rem; }
  .fees th, .fees td { padding: 0.9rem 1rem; }
}

.split p + h2 { margin-top: 2rem; }
.more a { display: inline-flex; align-items: center; min-height: 44px; }

.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 4.75rem; }
  .action-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--oat); border-top: 1px solid var(--rule); padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom)); }
  .action-bar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--apricot); color: var(--cinnamon); text-decoration: none; font-weight: 700; }
  .action-bar a:last-child { background: var(--cinnamon); box-shadow: none; color: #fff; }
}
