/* Layout: one left-aligned column of calm sections on off-white; a type-only hero whose
   second line rolls through roles on a hand-cut marigold block; stone textures mark the
   client story (black), the about tile (sand) and the contact opener (marigold). */
:root {
  --offwhite: #F3F0E6;
  --paper: #FBF9F2;
  --tan: #E7E2D3;
  --marigold: #F6C65B;
  --marigold-deep: #DDA11E;
  --ink: #1C1B17;
  --ink-soft: #3A382F;
  --rule: #C9C3B0;
  --shadow: rgba(28, 27, 23, 0.45);
  --field-line: rgba(243, 240, 230, 0.4);
  --serif: 'Newsreader', 'Iowan Old Style', Georgia, serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(20px, 5.6vw, 72px);
  --gap-section: clamp(72px, 11vw, 136px);
  --foot-r: clamp(32px, 5vw, 64px);
}
* { box-sizing: border-box; }
body {
  background: var(--offwhite);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.wrap {
  position: relative; z-index: 1; background: var(--offwhite); padding-inline: var(--gutter);
  margin-bottom: max(30vw, 210px); border-radius: 0 0 var(--foot-r) var(--foot-r);
}
a { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--ink); outline-offset: 3px;
}
h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em;
  margin: 0; text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.7rem; line-height: 1.15; }
p { margin: 0; }
.lede { color: var(--ink-soft); max-width: 34em; font-size: 1.12rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border: 0; border-radius: 12px;
  background: var(--marigold); color: var(--ink);
  font: 600 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--marigold-deep); }
.btn-ink { background: var(--ink); color: var(--offwhite); }
.btn-ink:hover { background: var(--ink-soft); }
.textlink { font-weight: 500; text-underline-offset: 4px; }

/* Header */
.top {
  position: relative; z-index: 2; min-height: 100px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding-block: 22px;
}
.top img { display: block; height: 34px; width: auto; }
.top nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.top nav a { text-decoration: none; font-size: 0.97rem; padding: 10px 0; }
.top nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.top nav a.btn { padding: 0 18px; min-height: 42px; }
.top nav a.btn:hover { text-decoration: none; }

/* Hero */
.hero {
  min-height: 100vh; min-height: 100svh;
  margin: -100px calc(var(--gutter) * -1) 0;
  padding: calc(100px + clamp(24px, 4vw, 56px)) var(--gutter) clamp(40px, 6vw, 80px);
  background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat; color: var(--offwhite);
  display: grid; gap: 34px; align-content: center; justify-items: center; text-align: center;
}
.hero h1 { font-size: clamp(2.6rem, 8.6vw, 6.6rem); line-height: 1.04; }
.roll { display: block; height: 1.3em; overflow: hidden; margin-top: 0.04em; }
.roll-list { display: block; transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1); }
.roll-list.snap { transition: none; }
.roll-item { display: block; height: 1.3em; line-height: 1.3em; white-space: nowrap; }
.roll-item em {
  display: inline-block; font-style: italic; padding: 0 0.2em 0 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M3 6 Q100 2 197 5 Q199 20 196 35 Q100 38 4 36 Q1 21 3 6Z' fill='%23F6C65B'/%3E%3C/svg%3E") center / 100% 88% no-repeat;
}
.hero .lede { color: var(--tan); max-width: 40em; }
.hero .textlink { color: var(--offwhite); }
.hero .roll-item em { color: var(--ink); }
.hero a:focus-visible, .top a:focus-visible { outline-color: var(--offwhite); }
.top nav a:not(.btn) { color: var(--offwhite); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; }

/* Showcase: example task cards floating on the marigold stone */
.show {
  border-radius: 16px; padding: clamp(20px, 6vw, 72px);
  background: var(--marigold) url("../img/stone-marigold.jpg") center / cover no-repeat;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(16px, 3vw, 32px); align-items: center;
}
.card { background: var(--paper); border-radius: 16px; padding: 22px 24px; box-shadow: 0 18px 40px -18px var(--shadow); min-width: 0; }
.card-label { font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.done { grid-row: span 2; display: grid; gap: 12px; }
.done ul { list-style: none; margin: 0; padding: 0; }
.done li {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 11px 0; border-top: 1px solid var(--tan); transition: opacity 0.35s;
}
.done li::before {
  content: ""; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%;
  background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%231C1B17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.35s, background-color 0.35s;
}
.done li.todo { opacity: 0.4; }
.done li.todo::before { background-image: none; background-color: var(--tan); transform: scale(0.8); }
.mini { display: grid; gap: 4px; max-width: 290px; }
.mini .line { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.02em; }
.mini-a { justify-self: start; align-self: end; }
.mini-b { justify-self: end; align-self: start; }
.show-note { margin-top: 14px; font-size: 0.93rem; color: var(--ink-soft); }

/* Deck: the three offers. A plain list by default. When pinned by the script (any screen size), the
   stage sticks to the screen: one card holds the centre, the next ones wait beneath it, and each
   slides away as you scroll. Copy sits beside the card on wide screens and below it on narrow ones. */
.deck-stage { display: grid; gap: 28px; }
.deck-frame { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.deck-copy { display: grid; gap: 14px; }
.deck-copy h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.06; }
.deck-copy p { color: var(--ink-soft); max-width: 26em; }
.deck-copy .suits { font-size: 0.93rem; }
.deck-copy .suits b { font-weight: 600; color: var(--ink); }
.deck-card { border-radius: 28px; padding: clamp(14px, 3vw, 40px); min-height: 320px; display: grid; place-items: center; }
.dc-1 { background: var(--marigold) url("../img/stone-marigold.jpg") center / cover no-repeat; }
.dc-2 { background: var(--tan) url("../img/stone-sand.jpg") center / cover no-repeat; }
.dc-3 { background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat; }
.dc-4 { background: var(--tan) url("../img/stone-sand.jpg") right top / 190% auto no-repeat; }
.work { display: grid; gap: 10px; width: 100%; max-width: 430px; color: var(--ink); }
.work .card-label { padding-bottom: 6px; }
.work-row {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--offwhite); border-radius: 12px; padding: 13px 14px;
}
.work-row::before { content: ""; width: 20px; height: 20px; border-radius: 50%; box-sizing: border-box; }
.work-row[data-s="done"]::before {
  background: var(--marigold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%231C1B17' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.work-row[data-s="doing"]::before { border: 2px solid var(--tan); border-top-color: var(--marigold-deep); animation: spin 0.9s linear infinite; }
.work-row[data-s="next"]::before { border: 1.5px dashed var(--rule); }
.work-row[data-s="next"] { color: var(--ink-soft); }
.work-row .state { font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

.deck.is-pinned { height: 720vh; --copy: clamp(12rem, 20vw, 20rem); --fh: clamp(320px, 64vh, 640px); }
.deck.is-pinned .deck-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: block; }
.deck.is-pinned .deck-head { position: absolute; left: 0; right: 0; bottom: calc(50% - 30px + var(--fh) / 2 + 26px); margin: 0; gap: 8px; justify-items: center; text-align: center; }
.deck.is-pinned .deck-head h2 { font-size: clamp(1.7rem, min(3.4vw, 5.6vh), 2.8rem); }
.deck.is-pinned .deck-item { position: absolute; inset: 0; pointer-events: none; }
.deck.is-pinned .deck-frame {
  position: absolute; left: 50%; top: calc(50% + 30px); transform: translate(-50%, -50%); display: block;
  height: var(--fh); aspect-ratio: 1100 / 693;
  max-width: calc(100vw - 2 * var(--gutter) - 2 * var(--copy) - 64px);
}
.deck.is-pinned .deck-card { position: absolute; inset: 0; min-height: 0; border-radius: 40px; pointer-events: auto; will-change: transform; }
.deck.is-pinned .deck-copy { position: absolute; top: 50%; width: var(--copy); will-change: opacity, transform; }
.deck.is-pinned .deck-item:nth-of-type(odd) .deck-copy { right: calc(100% + 32px); }
.deck.is-pinned .deck-item:nth-of-type(even) .deck-copy { left: calc(100% + 32px); }
.deck.is-pinned .deck-copy p { font-size: 1.08rem; }
.deck-rail { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 0.95rem; font-weight: 500; color: var(--rule); }
.deck-rail span { transition: color 0.3s; }
.deck-rail span.on { color: var(--ink); }
.deck:not(.is-pinned) .deck-rail span { color: var(--ink-soft); }
@media (min-width: 1001px) {
  .deck.is-pinned .deck-copy h3 { font-size: clamp(1.9rem, 2.8vw, 3rem); }
  .deck.is-pinned .work { max-width: 540px; gap: 12px; }
  .deck.is-pinned .work .card-label { font-size: 1rem; }
  .deck.is-pinned .work-row { padding: 17px 18px; font-size: 1.1rem; }
  .deck.is-pinned .card.work { padding: 26px; }
}

/* Orbit: a centred statement with task cards and stone tiles around it. A plain grid by default; when
   pinned, the pieces start small at the edges, grow and close in, and the statement changes. */
.orbit-stage { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.orbit h2 { grid-column: 1 / -1; text-align: center; justify-self: center; max-width: 8.6em; margin-bottom: 18px;
  font-size: clamp(1.9rem, min(4.3vw, 7vh), 4.3rem); line-height: 1.05; }
.orbit .second { display: none; }
/* Tool and workflow cards: a round icon, the name, and its kind underneath. The shade varies
   between tools so that no two neighbours on the ring match; workflows are always marigold. */
.tool { display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 13px; }
.tool .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--tan); color: var(--ink); }
.tool .txt { display: grid; gap: 1px; min-width: 0; text-align: left; }
.tool .line { font-family: var(--serif); font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.02em; }
.tool .kind { font-size: 0.8rem; color: var(--ink-soft); }
.k-dark { background: var(--ink); color: var(--offwhite); }
.k-dark .kind { color: var(--tan); }
.k-dark .ico { background: var(--marigold); }
.k-tan { background: var(--tan); }
.k-tan .ico { background: var(--paper); }
.flow { background: var(--marigold); }
.flow .kind { color: var(--ink); }
.flow .ico { background: var(--ink); color: var(--offwhite); }

.orbit.is-pinned { height: 280vh; }
.orbit.is-pinned .orbit-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: block; overflow: hidden; }
.orbit.is-pinned h2 { position: absolute; z-index: 2; left: 50%; top: 50%; width: 100%; margin: 0; will-change: opacity, transform; }
.orbit.is-pinned .second { display: block; }
.orbit.is-pinned .piece { position: absolute; left: 50%; top: 50%; margin: 0; width: max-content; max-width: 290px; will-change: transform; }
.orbit-note { margin-top: 14px; font-size: 0.93rem; color: var(--ink-soft); text-align: center; }

@media (max-width: 1000px) {
  .work { gap: 6px; }
  .work-row { padding: 9px 12px; gap: 10px; font-size: 0.93rem; }
  .card { padding: 16px 16px; }
  .deck-frame { grid-template-columns: minmax(0, 1fr); }
  .deck-card { order: -1; min-height: 0; border-radius: 24px; }

  .deck.is-pinned { height: 620vh; --mh: clamp(220px, 40vh, 340px); --mtop: max(12px, calc(50% - (var(--mh) + 250px) / 2)); }
  .deck.is-pinned .deck-head { top: var(--mtop); bottom: auto; }
  .deck.is-pinned .deck-head h2 { font-size: 1.6rem; }
  .deck.is-pinned .deck-head .lede { display: none; }
  .deck.is-pinned .deck-frame {
    top: calc(var(--mtop) + 54px); transform: translateX(-50%); width: min(100%, 540px); max-width: none;
    height: var(--mh); aspect-ratio: auto;
  }
  .deck.is-pinned .deck-card { border-radius: 24px; padding: 12px; }
  .deck.is-pinned .deck-item:nth-of-type(odd) .deck-copy,
  .deck.is-pinned .deck-item:nth-of-type(even) .deck-copy { top: calc(100% + 36px); left: 0; right: auto; width: 100%; gap: 10px; }
  .deck.is-pinned .deck-copy h3 { font-size: 1.7rem; }
  .deck.is-pinned .deck-copy p { font-size: 0.95rem; max-width: none; }

  .orbit.is-pinned .piece { max-width: 47%; padding: 7px 11px 7px 7px; gap: 7px; border-radius: 12px; }
  .orbit.is-pinned .piece .kind { display: none; }
  .orbit.is-pinned .piece .line { font-size: 0.95rem; }
  .orbit.is-pinned .piece .ico { width: 26px; height: 26px; }
  .orbit.is-pinned .piece .ico svg { width: 14px; height: 14px; }
}

/* Motion: blocks fade and rise as they scroll into view, and image tiles open out from a cropped frame.
   The classes are added by script, so the page is fully visible without it. */
html { scroll-behavior: smooth; }
.rv {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) var(--d, 0ms);
}
.rv.in { opacity: 1; transform: none; }
.clip { clip-path: inset(9% 5% 9% 5% round 16px); transition: clip-path 1.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.clip.in { clip-path: inset(0 0 0 0 round 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sections */
section { padding-block: 0 var(--gap-section); }
.head { display: grid; gap: 14px; margin-bottom: clamp(30px, 4.5vw, 52px); }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.offer {
  background: var(--tan); border-radius: 16px; padding: clamp(24px, 3vw, 34px);
  display: grid; gap: 14px; align-content: start; min-width: 0;
}
.offer p { color: var(--ink-soft); }
.offer .suits { border-top: 1px solid var(--rule); padding-top: 14px; font-size: 0.95rem; }
.offer .suits b { font-weight: 600; color: var(--ink); }
.offers-note { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; color: var(--ink-soft); }

/* Client story */
.story {
  border-radius: 16px; color: var(--offwhite);
  background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat;
  padding: clamp(32px, 6vw, 80px); display: grid; gap: 22px;
}
.story .label { font-weight: 600; font-size: 0.95rem; }
.story blockquote {
  margin: 0; max-width: 21em; font-family: var(--serif); letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem); line-height: 1.16; text-wrap: balance;
}
.story p { max-width: 36em; color: var(--tan); }
.story figure { margin: 0; display: grid; gap: 22px; }
.story figcaption { font-weight: 600; color: var(--offwhite); }
.story figcaption span { display: block; font-weight: 400; color: var(--tan); }

/* How it works: four cards, each with an icon, as a row that wraps */
.how-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1100px) { .how-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .how-grid { grid-template-columns: minmax(0, 1fr); } }
.how-grid li { background: var(--tan); border-radius: 16px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.how-grid .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--marigold); color: var(--ink); margin-bottom: 8px; }
.how-grid h3 { font-size: 1.6rem; }
.how-grid p { color: var(--ink-soft); }

/* Ways: the three offers as a plain row of tiles on a screen of their own */
.ways { min-height: 100vh; min-height: 100svh; padding-block: clamp(56px, 8vw, 112px); display: grid; align-content: center; gap: clamp(28px, 4vw, 56px); }
.ways .head { margin-bottom: 0; justify-items: center; text-align: center; }
.ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.way-body { display: grid; gap: 14px; }
.way { background: var(--tan); border-radius: 16px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 14px; align-content: start; min-width: 0; }
.way h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.way p { color: var(--ink-soft); }
.way .suits { border-top: 1px solid var(--rule); padding-top: 14px; font-size: 0.95rem; }
.way .suits b { font-weight: 600; color: var(--ink); }
@media (max-width: 900px) { .ways-grid { grid-template-columns: minmax(0, 1fr); } }
.gallery-stage { display: grid; gap: clamp(28px, 4vw, 56px); }
.way:nth-child(2) { background: var(--marigold); }
.way:nth-child(2) p { color: var(--ink); }
.way:nth-child(2) .suits { border-top-color: var(--marigold-deep); }
.way:nth-child(3) { background: var(--ink); color: var(--offwhite); }
.way:nth-child(3) p { color: var(--tan); }
.way:nth-child(3) .suits { border-top-color: var(--ink-soft); }
.way:nth-child(3) .suits b { color: var(--offwhite); }

/* Steps: when pinned by the script, the screen holds still and the three boxes rise from the bottom
   one at a time, each taller than the last, like a staircase. They run edge to edge and sit on the
   bottom of the screen with no gaps. */
.ways.has-pin { min-height: 0; padding-block: 0 var(--gap-section); display: block; }
.gallery.is-pinned { height: 210vh; }
.gallery.is-pinned .gallery-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  margin-inline: calc(var(--gutter) * -1); padding: clamp(56px, 14vh, 168px) var(--gutter) 0;
  grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: clamp(14px, 3vh, 36px);
}
.gallery.is-pinned .ways-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: 0;
  align-self: stretch; align-items: end; margin-inline: calc(var(--gutter) * -1);
}
.gallery.is-pinned .way {
  padding: clamp(20px, 2.8vw, 48px); border-radius: 0; align-content: start; gap: 18px; will-change: transform;
}
.gallery.is-pinned .way:nth-child(n) { height: 85%; }
.gallery.is-pinned .way h3 { font-size: clamp(1.7rem, 2.8vw, 2.9rem); line-height: 1.04; }
.gallery.is-pinned .way p { font-size: clamp(0.95rem, 1.1vw, 1.12rem); max-width: 30em; }
.gallery.is-pinned .way .suits { font-size: 0.93rem; }
.gallery.is-pinned .way-body { display: grid; gap: 14px; }
@media (max-width: 760px) {
  .gallery.is-pinned .gallery-stage { padding-top: 18px; gap: 14px; }
  .gallery.is-pinned .head .lede { display: none; }
  .gallery.is-pinned .head h2 { font-size: 1.6rem; }
  .gallery.is-pinned .ways-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-rows: minmax(0, 1fr); align-self: stretch; align-items: stretch; }
  .gallery.is-pinned .way:nth-child(n) { min-height: 0; height: auto; padding: 16px var(--gutter); align-content: start; gap: 8px; }
  .gallery.is-pinned .way h3 { font-size: 1.4rem; }
  .gallery.is-pinned .way p { font-size: 0.9rem; line-height: 1.4; }
  .gallery.is-pinned .way .suits { display: none; }
}

/* Gains: three outcomes, each a large word over a ruled list */
.gains { min-height: 100vh; min-height: 100svh; padding-block: clamp(64px, 9vw, 128px); display: grid; align-content: center; gap: clamp(32px, 5vw, 64px); }
.gains .head { margin-bottom: 0; }
.gains-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.gain { display: grid; gap: 18px; align-content: start; min-width: 0; }
.gain h3 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.1; }
.gain ul { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.gain li { padding-block: 14px; border-bottom: 1px solid var(--rule); color: var(--ink-soft); font-size: 1.06rem; }
@media (max-width: 760px) { .gains-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

/* Ladder: four rising steps you can select; the chosen one turns marigold and its detail shows beside it */
.ladder { min-height: 100vh; min-height: 100svh; padding-block: clamp(64px, 9vw, 128px); display: grid; align-content: center; gap: clamp(28px, 4vw, 56px); }
.ladder .head { margin-bottom: 0; }
.ladder-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: end; }
.rungs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-items: end; height: clamp(260px, 46vh, 440px); border-bottom: 2px solid var(--ink); }
.rung {
  height: var(--h); border: 0; border-radius: 16px 16px 0 0; background: var(--tan); color: var(--ink);
  padding: clamp(10px, 1.4vw, 20px); text-align: left; cursor: pointer; font: inherit; min-width: 0;
  display: grid; align-content: start; gap: 6px; transform-origin: bottom;
  transition: background 0.25s, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rungs.wait .rung { transform: scaleY(0); }
.rungs.wait.in .rung { transform: none; }
.rungs.in .rung:nth-child(2) { transition-delay: 0s, 0.12s; }
.rungs.in .rung:nth-child(3) { transition-delay: 0s, 0.24s; }
.rungs.in .rung:nth-child(4) { transition-delay: 0s, 0.36s; }
.rung:hover { background: var(--rule); }
.rung[aria-selected="true"] { background: var(--marigold); }
.rung .n { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1; }
.rung .t { font-weight: 500; font-size: clamp(0.8rem, 1.05vw, 1rem); line-height: 1.25; }

/* Approach cards: the text sits on the card itself. */
.deck .deck-frame { display: block; }
.deck .deck-card { place-items: center; text-align: center; padding: clamp(22px, 4vw, 56px); min-height: 380px; }
.deck .deck-card .deck-copy, .deck.is-pinned .deck-item .deck-card .deck-copy { position: static; width: auto; max-width: 34em; gap: 16px; justify-items: center; transform: none !important; opacity: 1 !important; }
.deck .deck-card .deck-copy h3 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.04; }
.deck .deck-card .deck-copy p { color: var(--ink); font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 30em; }
.deck .dc-3 .deck-copy h3, .deck .dc-3 .deck-copy p { color: var(--offwhite); }
.deck:not(.is-pinned) .deck-item + .deck-item { margin-top: 20px; }
.deck.is-pinned { height: 460vh; --copy: 0px; --fh: clamp(340px, 68vh, 680px); }
.deck.is-pinned .deck-frame { max-width: calc(100vw - 2 * var(--gutter)); }
@media (max-width: 1000px) {
  .deck.is-pinned { height: 420vh; --mh: clamp(340px, 66vh, 560px); --mtop: max(12px, calc(50% - (var(--mh) + 70px) / 2)); }
  .deck.is-pinned .deck-card { padding: 22px; }
  .deck .deck-card .deck-copy h3 { font-size: 1.9rem; }
}
/* Our approach on black. */
#what { background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); clip-path: inset(0 -100vmax); }
#what .deck-head h2, #what .deck-head .lede { color: var(--offwhite); }
#what .dc-3 { box-shadow: 0 0 0 1px rgba(243, 240, 230, 0.16); }
#what:not(:has(.is-pinned)) { padding-block: clamp(48px, 8vw, 96px); }
/* Why Soleie: a marigold panel that slides up over the section before it. */
#why { position: relative; z-index: 2; background: var(--marigold); box-shadow: 0 0 0 100vmax var(--marigold); clip-path: inset(0 -100vmax); min-height: 100vh; min-height: 100svh; align-content: center; }
#why .statement-label, #why h2 { color: var(--ink); }
#ladder, #gains { position: relative; z-index: 1; will-change: transform; }
#ways { position: relative; z-index: 3; background: var(--offwhite); box-shadow: 0 0 0 100vmax var(--offwhite); clip-path: inset(0 -100vmax); }
#why { will-change: transform; }
.gallery.is-pinned { height: auto; }
.gallery.is-pinned .way { transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
#gains { z-index: 2; background: var(--offwhite); box-shadow: 0 0 0 100vmax var(--offwhite); clip-path: inset(0 -100vmax); }
.hero { will-change: transform; }
.has-stops #what, .has-stops #ladder, .has-stops #why, .has-stops #ways { margin-top: 30vh; }
#gains, #what, #ways, #story, #questions { will-change: transform; }
#story, #questions { position: relative; }
/* How we work with you: a bento grid. One tall tile on the left, two stacked on the right. */
.gallery.is-pinned .gallery-stage { padding-bottom: clamp(20px, 5vh, 56px); }
.gallery.is-pinned .ways-grid, .ways-grid { margin-inline: 0; gap: clamp(10px, 1.2vw, 18px); align-items: stretch; }
.gallery.is-pinned .way, .way { border-radius: clamp(20px, 2.4vw, 32px); }
.gallery.is-pinned .way:nth-child(n) { height: auto; }
@media (min-width: 761px) {
  .gallery.is-pinned .ways-grid, .ways-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .gallery.is-pinned .way:nth-child(1), .way:nth-child(1) { grid-row: 1 / span 2; align-content: end; }
  .gallery.is-pinned .way:nth-child(1) h3 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
  .gallery.is-pinned .way:nth-child(1) p { font-size: clamp(1.05rem, 1.35vw, 1.3rem); }
  .gallery.is-pinned .way:nth-child(n+2) { align-content: center; gap: 12px; padding-block: clamp(16px, 2.4vh, 32px); }
  .gallery.is-pinned .way:nth-child(n+2) h3 { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
}
@media (min-width: 761px) and (max-height: 700px) { .gallery.is-pinned .way:nth-child(n+2) .suits { display: none; } }
@media (max-width: 760px) {
  .gallery.is-pinned .way:nth-child(n) { padding: 16px 18px; border-radius: 20px; }
  .gallery.is-pinned .gallery-stage { padding-bottom: 14px; }
}
/* Offers bento: five tiles, two wide on top and three below. The section grows to fit its content. */
.gallery.is-pinned .gallery-stage { height: auto; min-height: 100vh; min-height: 100svh; grid-template-rows: auto auto; align-content: center; padding-top: clamp(40px, 8vh, 96px); }
.gallery.is-pinned .ways-grid, .ways-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: auto; }
.gallery.is-pinned .way:nth-child(n), .way:nth-child(n) { grid-column: span 2; grid-row: auto; align-content: start; gap: 12px; padding: clamp(18px, 2vw, 30px); }
.gallery.is-pinned .way:nth-child(-n+2), .way:nth-child(-n+2) { grid-column: span 3; }
.gallery.is-pinned .way:nth-child(n) h3 { font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.08; }
.gallery.is-pinned .way:nth-child(n) p { font-size: 1rem; max-width: 34em; }
.way:nth-child(5) { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.offers { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
.offers li { align-content: start; }
@media (min-width: 1001px) { .way:nth-child(-n+2) .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.offers li { display: grid; gap: 2px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: 0.93rem; line-height: 1.4; }
.offers b { font-weight: 600; }
.offers span { color: var(--ink-soft); }
.way:nth-child(2) .offers li { border-top-color: var(--marigold-deep); }
.way:nth-child(2) .offers span { color: var(--ink); }
.way:nth-child(3) .offers li { border-top-color: var(--ink-soft); }
.way:nth-child(3) .offers span { color: var(--tan); }
@media (max-width: 1000px) {
  .gallery.is-pinned .ways-grid, .ways-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery.is-pinned .way:nth-child(n), .way:nth-child(n) { grid-column: auto; padding: 18px; }
  .gallery.is-pinned .gallery-stage { padding-top: 28px; }
}
/* Offers: one main package (three steps) across the top, two separate services below. */
.gallery.is-pinned .way.way-pack, .way.way-pack { grid-column: 1 / -1; background: var(--tan); color: var(--ink); gap: 10px; }
.gallery.is-pinned .way.way-pack h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.way-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.7; margin: 0; }
.gallery.is-pinned .way .way-label { font-size: 0.8rem; }
.way-intro { margin: 0; }
.pack-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 16px); margin-top: 10px; }
.pack-step { background: var(--paper); border-radius: clamp(14px, 1.6vw, 22px); padding: clamp(16px, 1.6vw, 24px); display: grid; gap: 8px; align-content: start; }
.pack-n { width: 30px; height: 30px; border-radius: 50%; background: var(--marigold); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.pack-step h4 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.3rem, 1.7vw, 1.6rem); line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
.gallery.is-pinned .way .pack-step p, .pack-step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }
.way.way-pack .offers li { border-top-color: var(--rule); }
.way.way-pack .offers span { color: var(--ink-soft); }
@media (min-width: 1001px) { .way:nth-child(-n+2) .offers { grid-template-columns: minmax(0, 1fr); } }
.gallery.is-pinned .way:nth-child(n+2), .way:nth-child(n+2) { grid-column: span 3; }
@media (max-width: 1000px) {
  .pack-steps { grid-template-columns: minmax(0, 1fr); }
  .gallery.is-pinned .way:nth-child(n), .way:nth-child(n) { grid-column: 1 / -1; }
}
/* Package steps sit straight on the tile as three columns, divided by thin lines. */
.pack-steps { gap: 0; margin-top: 18px; border-top: 1px solid var(--rule); }
.pack-step { background: none; border-radius: 0; padding: clamp(16px, 1.8vw, 26px) clamp(16px, 2vw, 30px) 0; border-left: 1px solid var(--rule); }
.pack-step:first-child { padding-left: 0; border-left: 0; }
.pack-step:last-child { padding-right: 0; }
@media (max-width: 1000px) {
  .pack-step { padding: 18px 0 6px; border-left: 0; border-top: 1px solid var(--rule); }
  .pack-step:first-child { border-top: 0; }
}
.offers li { font-size: 1rem; padding: 12px 0; }
.pack-step .offers { margin-top: 8px; }
/* Roomier tiles. */
.gallery.is-pinned .way:nth-child(n), .way:nth-child(n) { padding: clamp(28px, 3.6vw, 56px); gap: 18px; }
.pack-steps { margin-top: 28px; }
.pack-step { padding-top: clamp(24px, 2.6vw, 36px); gap: 14px; }
.offers li { padding: 18px 0; gap: 4px; }
.pack-step .offers, .way-body .offers { margin-top: 10px; }
@media (max-width: 1000px) { .gallery.is-pinned .way:nth-child(n), .way:nth-child(n) { padding: 26px 22px; } .pack-step { padding: 24px 0 8px; } }
.gallery.is-pinned .way .pack-step p, .pack-step p, .gallery.is-pinned .way:nth-child(n) .way-body p { font-size: 1rem; line-height: 1.55; max-width: 38em; }
.pack-step { gap: 12px; }
.pack-step h4 { margin-bottom: 4px; }
.gallery.is-pinned .way.way-pack .way-intro { max-width: 44em; }
/* Services as editorial rows: name on the left under a stroke, text on the right. */
.services { padding-block: clamp(64px, 9vw, 128px); display: grid; gap: clamp(28px, 4vw, 56px); }
.services .head { margin-bottom: 0; }
.svc-list { display: grid; gap: clamp(36px, 5vw, 72px); }
.svc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 5vw, 88px); align-items: start; }
.svc-name { border-top: 2px solid var(--ink); padding-top: 16px; display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline; }
.svc-n { font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.svc-name h3 { font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.04; }
.svc-text { display: grid; gap: 12px; padding-top: 18px; }
.svc-text p { margin: 0; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.55; max-width: 36em; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .svc-name { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .svc-text { padding: 12px 0 0 2.4rem; }
}
/* Services rows exactly as in the comparison example: full-width lines between rows. */
.svc-list { gap: 0; border-top: 2px solid var(--ink); }
.svc-row { grid-template-columns: 4rem minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(16px, 3vw, 48px); padding: clamp(24px, 3.4vw, 48px) 0; border-bottom: 1px solid var(--rule); }
.svc-name { display: contents; }
.svc-n { padding-top: 0.5em; }
.svc-name h3 { font-size: clamp(1.7rem, 3.2vw, 2.9rem); line-height: 1.05; }
.svc-text { padding-top: 0.35em; }
@media (max-width: 820px) {
  .svc-row { grid-template-columns: 2.4rem minmax(0, 1fr); gap: 12px 16px; }
  .svc-text { grid-column: 2; padding: 0; }
}
.svc-name h3 .hl {
  display: inline-block; font-style: italic; padding: 0 0.2em 0 0.14em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M3 6 Q100 2 197 5 Q199 20 196 35 Q100 38 4 36 Q1 21 3 6Z' fill='%23F6C65B'/%3E%3C/svg%3E") center / 100% 88% no-repeat;
}
.svc-name h3 .hl { color: var(--ink); font-style: normal; }
.svc-name h3 { justify-self: start; }
/* The two standalone services: unnumbered, set apart by a gap and a fresh black line. */
.svc-row:nth-child(3) { border-bottom: 0; }
.svc-row:nth-child(4) { margin-top: clamp(40px, 6vw, 88px); border-top: 2px solid var(--ink); }
/* The two standalone services sit side by side as two columns under the numbered rows. */
.svc-row:nth-child(3) { border-bottom: 0; }
.svc-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 88px); margin-top: clamp(16px, 3vw, 40px); }
.svc-pair .svc-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 0; padding: clamp(22px, 2.6vw, 36px) 0 0; border-top: 2px solid var(--ink); border-bottom: 0; align-content: start; }
.svc-pair .svc-n { display: none; }
.svc-pair .svc-text { grid-column: auto; padding: 0; }
@media (max-width: 760px) { .svc-pair { grid-template-columns: minmax(0, 1fr); gap: 36px; } }
.svc-pair { margin-top: 0; }
.services .svc-list + .svc-pair { margin-top: calc(-1 * clamp(28px, 4vw, 56px) + 8px); }
.svc-pair .svc-name h3 .hl { background: none; padding: 0; }
.svc-pair { border-top: 2px solid var(--ink); }
.svc-pair .svc-row { border-top: 0; }
@media (max-width: 760px) { .svc-pair { gap: 8px; } }
.svc-pair .svc-row { padding-top: clamp(36px, 4.6vw, 64px); }
.svc-lede { margin: 14px 0 0; max-width: 40em; color: var(--ink-soft); font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.5; }
.svc-pair .svc-also { grid-column: 1 / -1; margin: 0; padding-top: clamp(24px, 3vw, 40px); }
.svc-pair .svc-row { padding-top: clamp(8px, 1.4vw, 20px); }
/* Additional services: its own heading, then the same row layout as the three steps, without numbers. */
.svc-more-head { margin-top: 0; }
.svc-list.svc-more .svc-row { border-bottom: 1px solid var(--rule); margin-top: 0; border-top: 0; }
.svc-list:not(.svc-more) .svc-row:nth-child(3) { border-bottom: 1px solid var(--rule); }
/* Service rows: number sits right beside the name, text sits underneath the name. */
.svc-row { grid-template-columns: auto minmax(0, 1fr); gap: 14px clamp(12px, 1.4vw, 22px); align-items: baseline; }
.svc-n { padding-top: 0; }
.svc-text { grid-column: 2; padding-top: 0; }
.svc-text p { max-width: 42em; }
.svc-more .svc-row { grid-template-columns: minmax(0, 1fr); }
.svc-more .svc-n { display: none; }
.svc-more .svc-text { grid-column: 1; }
@media (max-width: 820px) { .svc-row { grid-template-columns: auto minmax(0, 1fr); gap: 10px 12px; } .svc-text { padding: 0; } .svc-more .svc-row { grid-template-columns: minmax(0, 1fr); } }
/* Questions on marigold, edge to edge. */
#questions { background: var(--marigold); box-shadow: 0 0 0 100vmax var(--marigold); clip-path: inset(0 -100vmax); padding-block: clamp(64px, 9vw, 128px); will-change: auto; }
#questions .qa { border-top: 2px solid var(--ink); }
#questions .qa summary::after { color: var(--ink); }
#questions .qa details { border-bottom-color: var(--marigold-deep); }
#questions .qa details p, #questions .qa summary:hover { color: var(--ink); }
#ways.services { padding-bottom: clamp(64px, 9vw, 128px); }
/* Grainy blurred gradients drawn in CSS: soft blobs of neighbouring brand tones under a film grain. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.62' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='.33 .33 .33 0 0 .33 .33 .33 0 0 .33 .33 .33 0 0 0 0 0 0 1'/%3E%3CfeComponentTransfer%3E%3CfeFuncR type='linear' slope='4.4' intercept='-1.7'/%3E%3CfeFuncG type='linear' slope='4.4' intercept='-1.7'/%3E%3CfeFuncB type='linear' slope='4.4' intercept='-1.7'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --frost-marigold: var(--grain), radial-gradient(60% 70% at 8% 10%, #C9BE9C, transparent 70%), radial-gradient(55% 65% at 96% 96%, #B9B193, transparent 70%), radial-gradient(60% 70% at 30% 90%, #F2AE45, transparent 70%), radial-gradient(50% 55% at 88% 6%, #F3B552, transparent 70%), #F6C65B;
  --frost-sand: var(--grain), radial-gradient(60% 70% at 10% 92%, #EBCF8C, transparent 70%), radial-gradient(55% 60% at 94% 8%, #EDD9A4, transparent 70%), radial-gradient(55% 65% at 92% 96%, #C4BFAE, transparent 70%), radial-gradient(45% 55% at 6% 6%, #D3CDBB, transparent 70%), #E7E2D3;
  --frost-ink: var(--grain), radial-gradient(60% 70% at 10% 96%, #5A4720, transparent 70%), radial-gradient(50% 60% at 96% 4%, #4A3D20, transparent 70%), radial-gradient(55% 65% at 94% 96%, #3B3A33, transparent 70%), radial-gradient(45% 55% at 4% 4%, #33322C, transparent 70%), #1C1B17;
}
.hero { background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat; }
.dc-1 { background: var(--marigold) url("../img/blur-marigold.jpg") center / cover no-repeat; }
.dc-2 { background: var(--tan) url("../img/blur-sand.jpg") center / cover no-repeat; }
.dc-3 { background: var(--ink) url("../img/blur-ink.jpg") center / cover no-repeat; }
.dc-4 { background: var(--tan) url("../img/blur-sand2.jpg") center / cover no-repeat; }
div.ground { background: var(--marigold) url("../img/blur-marigold2.jpg") center / cover no-repeat; }
.foot-links dt { font-weight: 600; color: var(--ink); }
.form-small a { color: inherit; text-underline-offset: 3px; }
.rung-panel { background: var(--paper); border-radius: 16px; padding: clamp(22px, 3vw, 40px); display: block; }
.rung-panel[hidden] { display: none; }
.rung-panel > * { grid-column: auto; grid-row: auto; margin: 0; max-width: none; }
.rung-panel > * + * { margin-top: 12px; }
.rung-panel h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.rung-panel p { color: var(--ink-soft); }
.rung-panel .card-label { color: var(--ink); }
.rung-panel .next { margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--rule); }
.rung-panel.is-on { animation: rung-in 0.45s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes rung-in { from { opacity: 0; transform: translateY(14px); } }
@media (max-width: 860px) {
  .ladder-body { grid-template-columns: minmax(0, 1fr); align-items: stretch; }
  .rungs { height: 230px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) { .rung, .rung-panel.is-on { transition: none; animation: none; } }

.statement-label { font-weight: 600; font-size: 0.95rem; }

/* Statement: one centred line under the hero, with the roundel above it */
.statement {
  min-height: 78vh; padding-block: clamp(72px, 12vw, 160px);
  display: grid; align-content: center; justify-items: center; gap: 22px; text-align: center;
}
.statement img { display: block; height: 80px; width: auto; }
.statement h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.1; max-width: 20em; }
.statement p { max-width: 32em; color: var(--ink-soft); font-size: 1.12rem; }

/* Questions: accordion */
.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer; padding-block: 20px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.02em;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; display: inline-block; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--marigold-deep);
  transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.qa details[open] summary::after { transform: rotate(45deg); }
.qa details.closing summary::after { transform: none; }
.qa summary:hover { color: var(--ink-soft); }
.qa details p { padding-bottom: 24px; max-width: 38em; color: var(--ink-soft); }

/* Contact: a full-width band of flat ink, with the form fields set straight on it */
#contact { padding-bottom: 0; }
.contact {
  margin-inline: calc(var(--gutter) * -1); padding: clamp(48px, 8vw, 120px) var(--gutter);
  background: var(--ink); color: var(--offwhite);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact-text { display: grid; gap: 18px; }
.contact-text h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.contact-text p { max-width: 26em; color: var(--tan); }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.email-row span { font-family: var(--serif); font-size: 1.5rem; letter-spacing: -0.01em; user-select: all; }
.copy {
  min-height: 36px; padding: 0 14px; border-radius: 12px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--offwhite); color: var(--offwhite); font: 500 0.9rem/1 var(--sans);
}
.copy:hover { background: var(--offwhite); color: var(--ink); }
form { display: grid; gap: 18px; min-width: 0; }
form label { display: grid; gap: 7px; font-weight: 500; font-size: 0.95rem; }
form input[type="text"], form input[type="email"], form textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--offwhite);
  background: transparent; border: 1px solid var(--field-line); border-radius: 12px; padding: 13px 14px;
}
form input[type="text"]:focus, form input[type="email"]:focus, form textarea:focus { border-color: var(--marigold); outline: none; }
form textarea { min-height: 130px; resize: vertical; }
form .tick { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; align-items: start; font-weight: 400; color: var(--tan); }
form .tick input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--marigold); }
form .btn { justify-self: start; }
form :focus-visible, .contact .copy:focus-visible { outline-color: var(--marigold); }
.form-small { font-size: 0.85rem; color: var(--tan); }
.form-note { font-size: 0.95rem; color: var(--marigold); }

/* Footer: a tan panel with rounded bottom corners that ends the page. The page then lifts away to
   uncover a marigold stone layer fixed to the bottom of the screen, carrying the wordmark. */
.foot {
  margin-inline: calc(var(--gutter) * -1); padding: clamp(36px, 6vw, 80px) var(--gutter) 28px;
  background: var(--tan); border-radius: 0 0 var(--foot-r) var(--foot-r); min-height: min(517px, 70vh);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px clamp(32px, 6vw, 100px);
}
.foot-lead { display: grid; gap: clamp(18px, 2.4vw, 32px); align-content: start; justify-items: start; }
.foot-lead .big { font-family: var(--serif); font-size: clamp(2.1rem, 4.6vw, 3.8rem); line-height: 1.04; letter-spacing: -0.02em; }
.foot-lead .big em { display: block; font-style: italic; }
.foot-side { display: flex; flex-direction: column; justify-content: space-between; gap: 56px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 28px clamp(40px, 8vw, 150px); }
.foot-links dl { margin: 0; min-width: 7rem; }
.foot-links dt { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 10px; }
.foot-links dd { margin: 0 0 7px; font-size: 0.97rem; }
.foot-links a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 0.2s; }
.foot-links a:hover { text-decoration-color: currentColor; }
.foot-sign { display: grid; gap: 10px; justify-items: start; }
.foot-sign img { display: block; height: 24px; width: auto; }
.foot-sign p { font-size: 0.82rem; color: var(--ink-soft); }
.ground {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 0; height: min(900px, 100vh);
  background: var(--marigold) url("../img/stone-marigold.jpg") center bottom / cover no-repeat;
  display: grid; align-content: end; justify-items: center; gap: 10px; text-align: center;
  padding: 0 var(--gutter) calc(clamp(18px, 3.4vw, 44px) + env(safe-area-inset-bottom, 0px));
}
.ground img { display: block; height: clamp(54px, 13vw, 190px); width: auto; }
.ground p { font-size: 0.93rem; }

@media (max-width: 760px) {
  .orbit-stage { grid-template-columns: minmax(0, 1fr); }
  .show { grid-template-columns: minmax(0, 1fr); }
  .mini { max-width: none; }
  .mini-a, .mini-b { justify-self: stretch; }
  .top nav a:not(.btn) { display: none; }
  .steps li { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .steps li p { grid-column: 2; }
  .about, .contact, .qa div { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .roll-list { transition: none; }
}

/* Services page */
.hero.hero-page { min-height: auto; padding-top: calc(100px + clamp(48px, 8vw, 120px)); padding-bottom: clamp(56px, 8vw, 112px); }
.hero.hero-page h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.svc-tile { background: var(--marigold); border-radius: 16px; padding: clamp(28px, 4vw, 56px); display: grid; gap: 14px; margin-top: clamp(28px, 4vw, 48px); }
.svc-tile h3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
.svc-tile p { max-width: 38em; font-size: 1.08rem; }
.svc-link { margin-top: clamp(8px, 2vw, 24px); }

/* About */
.about-tile { border-radius: 16px; padding: clamp(32px, 6vw, 80px); background: var(--tan) url("../img/blur-sand.jpg") center / cover no-repeat; display: grid; gap: 22px; }
.about-text { display: grid; gap: 18px; max-width: 40em; }
.about-text .label { font-weight: 600; font-size: 0.95rem; }
.about-text h2 { max-width: 16em; }
.about-text p:not(.label) { color: var(--ink-soft); font-size: 1.08rem; }

/* About content inside the Why Soleie statement */
#why p:not(.statement-label) { color: var(--ink); max-width: 36em; font-size: 1.12rem; }
#why { gap: 18px; }

/* Testimonial: logo and pull quote on the left, testimonial on the right */
.story-grid { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.story-left, .story-right { display: grid; gap: 22px; align-content: start; }
.story .story-logo { display: block; width: 120px; height: auto; }
.story blockquote { max-width: none; }
.story-right p { max-width: 34em; }
@media (max-width: 820px) { .story-grid { grid-template-columns: minmax(0, 1fr); } }
.story-right:has(> figcaption:only-child) { align-self: end; }

/* Testimonial: full width, quote and testimonial start on the same line */
.story { margin-inline: calc(var(--gutter) * -1); border-radius: 0; padding: clamp(56px, 8vw, 120px) var(--gutter); }
.story-grid { grid-template-rows: auto auto; row-gap: 22px; }
.story-left { display: contents; }
.story .story-logo { grid-column: 1; grid-row: 1; }
.story blockquote { grid-column: 1; grid-row: 2; }
.story-right { grid-column: 2; grid-row: 2; padding-top: 0.6em; }
.story-right:has(> figcaption:only-child) { align-self: start; }
@media (max-width: 820px) {
  .story blockquote, .story .story-logo, .story-right { grid-column: 1; grid-row: auto; }
  .story-right { padding-top: 0; }
}
/* Testimonial: square corners (also after the reveal animation) and wider gap between columns */
.story.clip { clip-path: inset(9% 5% 9% 5%); }
.story.clip.in { clip-path: none; }
.story-grid { column-gap: clamp(48px, 10vw, 160px); }
/* Testimonial: centred block with two equal columns */
.story { justify-items: center; }
.story-grid { width: 100%; max-width: 1120px; margin-inline: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 120px); }
.story blockquote, .story-right p { max-width: none; margin: 0; }

/* One content width for the whole site: everything sits in a centred 1120px column,
   while full-width backgrounds still run edge to edge. */
.top, main > section:not(#story):not(#contact) { padding-inline: max(0px, calc((100% - 1120px) / 2)); }
.contact, .foot, .story { padding-inline: max(var(--gutter), calc((100% - 1120px) / 2 + var(--gutter))); }
.story-grid { max-width: none; }
.hero .lede { max-width: 40em; }

/* No gap between the testimonial band and the next section */
#story { padding-bottom: 0; }

/* "See all our services" under How it works: centred, marigold on the dark band */
.what-link { display: flex; justify-content: center; margin-top: 0; padding-bottom: clamp(24px, 4vw, 56px); position: relative; z-index: 2; }

/* Questions on the off-white page background */
#questions { background: var(--offwhite); box-shadow: 0 0 0 100vmax var(--offwhite); }
#questions .qa details { border-bottom-color: var(--rule); }
#questions .qa details p { color: var(--ink-soft); }
#questions .qa summary::after { color: var(--ink); }

/* The testimonial now follows the About panel, so it slides up over it (as the old services section did) */
#story { position: relative; z-index: 3; }
.has-stops #story { margin-top: 30vh; }
#questions, #contact { position: relative; z-index: 3; }

/* About page: the founder statement on marigold, as on the homepage */
.about-statement { position: relative; background: var(--marigold); box-shadow: 0 0 0 100vmax var(--marigold); clip-path: inset(0 -100vmax); padding-block: clamp(72px, 10vw, 140px); gap: 18px; }
.about-statement h2 { color: var(--ink); }
.about-statement p { color: var(--ink); max-width: 36em; font-size: 1.12rem; }
/* "More about Soleie", "See all questions" links */
.statement-link { margin-top: 14px; }
.qa-more { margin-top: clamp(28px, 4vw, 44px); }
.svc-link { margin-top: clamp(24px, 3vw, 40px); }

/* Four-step service lists: keep row 4 in line with the others */
.svc-list:not(.svc-more) .svc-row:nth-child(4) { margin-top: 0; border-top: 0; }
.svc-list:not(.svc-more) .svc-row:nth-child(3) { border-bottom: 1px solid var(--rule); }

/* Founder statement in two columns: heading left, text right */
.statement-grid { width: 100%; max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 120px); align-items: start; text-align: left; }
.statement-left h2 { max-width: none; }
.statement-right { display: grid; gap: 18px; justify-items: start; padding-top: 0.5em; }
.statement-right p { margin: 0; max-width: none; }
.statement-right .statement-link { margin-top: 10px; }
@media (max-width: 820px) { .statement-grid { grid-template-columns: minmax(0, 1fr); row-gap: 22px; } .statement-right { padding-top: 0; } }

/* What AI can do: bento grid. One tall marigold tile, a dark tile and a sand tile beside it. */
.gains-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 16px; }
.gain { border-radius: 16px; padding: clamp(24px, 3vw, 40px); gap: 22px; align-content: space-between; }
.gain:nth-child(1) { grid-row: span 2; background: var(--marigold) url("../img/blur-marigold.jpg") center / cover no-repeat; min-height: clamp(380px, 38vw, 520px); }
.gain:nth-child(2) { background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat; color: var(--offwhite); }
.gain:nth-child(3) { background: var(--tan) url("../img/blur-sand.jpg") center / cover no-repeat; }
.gain h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.gain:nth-child(1) h3 { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.gain ul { border-top: 0; }
.gain li { color: var(--ink); border-bottom-color: rgba(28, 27, 23, 0.18); }
.gain li:last-child { border-bottom: 0; padding-bottom: 0; }
.gain:nth-child(2) li { color: var(--tan); border-bottom-color: rgba(243, 240, 230, 0.2); }
@media (max-width: 760px) {
  .gains-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .gain:nth-child(1) { grid-row: auto; min-height: 0; }
}
/* Bento tiles: flat brand colours, no textures */
.gain:nth-child(1) { background: var(--marigold); }
.gain:nth-child(2) { background: var(--ink); }
.gain:nth-child(3) { background: var(--tan); }
/* Booking option in the contact section */
.book-row { margin-top: clamp(24px, 3vw, 36px); padding-top: clamp(20px, 2.5vw, 28px); border-top: 1px solid var(--field-line); display: grid; gap: 14px; justify-items: start; }
.book-row p { color: var(--tan); }
/* Founder photo: circle above the heading */
.founder-photo { display: block; width: clamp(120px, 14vw, 180px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin-bottom: clamp(20px, 2.4vw, 32px); }
.statement img.founder-photo { width: clamp(120px, 14vw, 180px); height: auto; }

/* Testimonial on marigold, ink text */
.story { background: var(--marigold); color: var(--ink); }
.story p, .story-right p { color: var(--ink); }
.story figcaption { color: var(--ink); }
.story figcaption span { color: var(--ink-soft); }

/* Homepage founder section on ink */
#why { background: var(--ink); box-shadow: 0 0 0 100vmax var(--ink); color: var(--offwhite); }
#why h2, #why .statement-label { color: var(--offwhite); }
#why p:not(.statement-label) { color: var(--tan); }

/* Contact: two equal columns, heading and form start on the same line, fewer elements */
.contact { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 120px); align-items: start; }
.contact-text { gap: 20px; align-content: start; }
.contact-text h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); line-height: 1.08; margin-top: -0.12em; }
.contact-text p { max-width: 30em; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 8px; }
.contact-email { color: var(--offwhite); font-weight: 500; text-underline-offset: 4px; }
.contact-email:hover { color: var(--marigold); }
form { gap: 16px; }
form textarea { min-height: 110px; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); row-gap: 40px; } }

/* Homepage founder section on off-white */
#why { background: var(--offwhite); box-shadow: 0 0 0 100vmax var(--offwhite); color: var(--ink); }
#why h2, #why .statement-label { color: var(--ink); }
#why p:not(.statement-label) { color: var(--ink-soft); }

/* Homepage founder section back on marigold */
#why { background: var(--marigold); box-shadow: 0 0 0 100vmax var(--marigold); color: var(--ink); }
#why h2, #why .statement-label { color: var(--ink); }
#why p:not(.statement-label) { color: var(--ink); }

/* Testimonial back on the black stone texture, light text */
.story { background: var(--ink) url("../img/stone-black.jpg") center / cover no-repeat; color: var(--offwhite); }
.story p, .story-right p { color: var(--tan); }
.story figcaption { color: var(--offwhite); }
.story figcaption span { color: var(--tan); }

/* Booking page: details on the left, Google's calendar in a paper panel on the right */
.book { padding-block: clamp(64px, 9vw, 120px); }
.book-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(40px, 6vw, 96px); row-gap: 40px; align-items: start; }
.book-info { display: grid; gap: 18px; align-content: start; }
.book-info h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.book-info p { color: var(--ink-soft); }
.book-info .founder-photo { width: 112px; margin-bottom: 8px; }
.book-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.book-list li { padding-block: 14px; border-bottom: 1px solid var(--rule); color: var(--ink); }
.book-alt a { color: var(--ink); text-underline-offset: 3px; }
.book-frame { background: var(--paper); border-radius: 16px; padding: clamp(8px, 1.2vw, 16px); }
.book-frame iframe { display: block; width: 100%; height: 760px; border: 0; border-radius: 10px; background: #fff; }
.book-fallback { margin-top: 10px; padding-inline: 6px; font-size: 0.9rem; color: var(--ink-soft); }
.book-fallback a { color: var(--ink); }
@media (max-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1fr); } .book-frame iframe { height: 820px; } }

/* Booking page: light header, page heading above the columns, details on a marigold tile */
.top-light nav a:not(.btn) { color: var(--ink); }
.top-light a:focus-visible { outline-color: var(--ink); }
.book { padding-top: clamp(32px, 5vw, 64px); }
.book-head { margin-bottom: clamp(32px, 4vw, 48px); }
.book-head h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.04; }
.book-head .lede { color: var(--ink-soft); max-width: 36em; }
.book-info { background: var(--marigold); border-radius: 16px; padding: clamp(24px, 3vw, 40px); }
.book-info p, .book-info .book-alt a { color: var(--ink); }
.book-list { border-top-color: var(--ink); }
.book-list li { border-bottom-color: rgba(28, 27, 23, 0.2); }

/* Booking page: everything on the cream page background */
.top-light, .book { background: none; box-shadow: none; clip-path: none; }
.book-head .lede { color: var(--ink-soft); }
.book-info { background: none; border-radius: 0; padding: 0; }
.book-info p { color: var(--ink-soft); }

/* Booking page: heading and details side by side, calendar full width underneath */
.book-top { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 120px); row-gap: 32px; align-items: start; margin-bottom: clamp(40px, 5vw, 64px); }
.book-top .book-head { margin-bottom: 0; }
.book-frame iframe { height: 720px; }
@media (max-width: 820px) { .book-top { grid-template-columns: minmax(0, 1fr); } .book-frame iframe { height: 820px; } }
.book-top-single { grid-template-columns: minmax(0, 1fr); }
.book-top-single .book-head { justify-items: center; text-align: center; }
.book-top-single .book-head .lede { margin-inline: auto; }
/* Booking page: what we will cover, under the calendar */
.book-cover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(48px, 8vw, 120px); row-gap: 24px; align-items: start; margin-top: clamp(48px, 6vw, 88px); }
.book-cover-left { display: grid; gap: 16px; }
.book-cover-left h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.book-cover-left p { color: var(--ink-soft); max-width: 30em; }
.book-cover .book-list li { color: var(--ink); }
@media (max-width: 820px) { .book-cover { grid-template-columns: minmax(0, 1fr); } }
