/* Lainie Counselling. Blue hour palette, Young Serif + Figtree. Surfaces 8px, buttons square (see _work/design-plan.md). */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-latin.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-latin.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Young Serif Fallback"; src: local("Georgia"); size-adjust: 114.4%; ascent-override: 91.5%; descent-override: 32%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); font-weight: 100 450; size-adjust: 99.6%; ascent-override: 95.4%; descent-override: 25.1%; line-gap-override: 0%; }
@font-face { font-family: "Figtree Fallback"; src: local("Arial"); font-weight: 451 900; size-adjust: 102%; ascent-override: 93.1%; descent-override: 24.5%; line-gap-override: 0%; }

:root {
  --ink: #18263A;
  --ink-deep: #111C2C;
  --teal: #2E6E72;
  --teal-dark: #24585B;
  --lagoon: #8CC3BF;
  --blush: #E8B4C2;
  --heather: #64528A;
  --heather-dark: #4F4070;
  --mist: #EDF1F7;
  --petal: #F8EAF0;
  --white: #fff;
  --muted: #4A566A;
  --line: rgba(24, 38, 58, .14);
  --radius: 8px;
  --serif: "Young Serif", "Young Serif Fallback", Georgia, serif;
  --sans: "Figtree", "Figtree Fallback", Arial, sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --head-h: 100px;
  --media-cap: min(76vh, 760px);
  --ease: cubic-bezier(.22, .8, .2, 1);
  --tex: url("../img/texture-watercolour-wash.webp");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-dark); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.on-dark :focus-visible, .hero :focus-visible, .menu-panel :focus-visible { outline-color: var(--blush); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; margin: 0 0 .5em; text-wrap: balance; display: flow-root; letter-spacing: -.012em; }
h1 { font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1.06; }
h2 { font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.1; }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); line-height: 1.2; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--heather); }
.on-dark h1 em, .on-dark h2 em, .on-dark h3 em { color: var(--blush); }
.lede { font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.6; }
.on-dark { color: #fff; }
.on-dark a:not(.btn) { color: var(--lagoon); }
.on-dark a:not(.btn):hover { color: #fff; }

/* masked line reveals: padded masks net to zero height (frontend-design recipe, tall ascender variant) */
.ln-mask { padding: .3em .15em .5em; margin: -.8em -.15em -.5em; }
.ln-mask:first-child { margin-top: -.3em; }

.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 8px; }

/* buttons: square corners (sum 6 mod 3 = 0) */
.btn { position: relative; display: inline-flex; align-items: center; gap: .65em; min-height: 52px; padding: .85rem 1.6rem; border: 1.5px solid transparent; border-radius: 0; font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn svg { width: 20px; height: 12px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary::before { background: var(--ink); }
.btn--primary:hover { color: #fff; }
.on-dark .btn--primary::before, .hero .btn--primary::before { background: var(--heather); }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }
.on-dark .btn--ghost, .hero .btn--ghost { color: #fff; }
.on-dark .btn--ghost::before, .hero .btn--ghost::before { background: #fff; }
.on-dark .btn--ghost:hover, .hero .btn--ghost:hover { color: var(--ink); border-color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light::before { background: var(--blush); }
.btn--light:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; text-decoration: none; color: var(--teal-dark); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; min-height: 44px; transition: background-size .45s var(--ease), color .3s; }
.textlink:hover { background-size: 0 1.5px; background-position: 100% 100%; color: var(--ink); }
.textlink svg { width: 18px; height: 11px; }
.on-dark .textlink { color: var(--lagoon); }
.on-dark .textlink:hover { color: #fff; }

/* ---------- header ---------- */
.masthead { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head-h); transition: background-color .45s var(--ease), height .45s var(--ease), box-shadow .45s var(--ease); }
.masthead__inner { height: 100%; max-width: 1600px; margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.masthead__logo { position: relative; display: block; flex: none; height: 70px; transition: height .45s var(--ease); }
.masthead__logo img { height: 100%; width: auto; transition: opacity .35s; }
.masthead__logo .logo-on-dark { position: absolute; inset: 0; opacity: 0; }
.masthead[data-tone="dark"]:not(.is-solid) .logo-on-light { opacity: 0; }
.masthead[data-tone="dark"]:not(.is-solid) .logo-on-dark { opacity: 1; }
.masthead::before { content: ""; position: absolute; inset: 0 0 -70% 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(17, 28, 44, .72) 0%, rgba(17, 28, 44, .38) 55%, rgba(17, 28, 44, 0) 100%); opacity: 0; transition: opacity .45s; }
.masthead[data-tone="dark"]:not(.is-solid)::before { opacity: 1; }
.masthead[data-tone="light"], .masthead.is-solid { background: rgba(237, 241, 247, .9); -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.masthead.is-compact { --head-h: 76px; }
.masthead.is-compact .masthead__logo { height: 54px; }
.mainnav { margin-left: auto; }
.mainnav__list { list-style: none; display: flex; align-items: center; gap: clamp(4px, .6vw, 12px); margin: 0; padding: 0; }
.mainnav__item { position: relative; }
.mainnav__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; font-family: var(--sans); font-size: .98rem; font-weight: 500; color: var(--ink); text-decoration: none; position: relative; }
.mainnav__link::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.mainnav__link:hover::after, .mainnav__link[aria-current]::after, .mainnav__link[data-current]::after, .mainnav__link[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.mainnav__link:hover { color: var(--teal); }
.masthead[data-tone="dark"]:not(.is-solid) .mainnav__link { color: #fff; text-shadow: 0 1px 12px rgba(17, 28, 44, .45); }
.chev { width: 11px; height: 8px; transition: transform .35s var(--ease); }
.mainnav__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
.masthead__cta { flex: none; min-height: 48px; padding: .7rem 1.25rem; }
.masthead[data-tone="dark"]:not(.is-solid) .masthead__cta::before { background: var(--heather); }

.drop { position: absolute; top: calc(100% + 14px); left: 50%; width: min(760px, 70vw); transform: translateX(-36%); background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(17, 28, 44, .35), 0 0 0 1px var(--line); padding: 16px; visibility: hidden; opacity: 0; clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path .5s var(--ease), opacity .3s, visibility 0s .5s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-drop.is-open .drop, .no-js .has-drop:hover .drop, .no-js .has-drop:focus-within .drop { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0 round var(--radius)); transition: clip-path .55s var(--ease), opacity .3s, visibility 0s; }
.drop__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.drop__card { display: block; text-decoration: none; color: var(--ink); padding: 8px; border-radius: var(--radius); transition: background .3s; }
.drop__card:hover, .drop__card[aria-current] { background: var(--mist); color: var(--ink); }
.drop__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 2px); margin-bottom: 10px; }
.drop__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.drop__card:hover .drop__img img { transform: scale(1.07); }
.drop__name { display: block; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; }
.drop__line { display: block; font-size: .92rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.has-drop.is-open .drop__card { animation: dropIn .6s var(--ease) both; }
.has-drop.is-open li:nth-child(2) .drop__card { animation-delay: .06s; }
.has-drop.is-open li:nth-child(3) .drop__card { animation-delay: .12s; }
@keyframes dropIn { from { opacity: 0; transform: translateY(14px); } }

.burger { display: none; margin-left: auto; width: 52px; height: 52px; border: 1.5px solid currentColor; border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 29px; }
.burger[aria-expanded="true"] span:first-child { top: 24.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 24.5px; transform: rotate(-45deg); }
.masthead[data-tone="dark"]:not(.is-solid) .burger { color: #fff; }

.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--ink); color: #fff; padding: calc(var(--head-h) + 24px) var(--pad) 40px; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; }
.menu-panel[hidden] { display: none; }
.menu-panel__nav { display: flex; flex-direction: column; position: relative; z-index: 1; }
.menu-panel__nav a { font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.2; color: #fff; text-decoration: none; padding: 8px 0; }
.menu-panel__nav a[aria-current] { color: var(--blush); }
.menu-panel__group { font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--lagoon); margin: 22px 0 4px; }
.menu-panel__group:first-child { margin-top: 0; }
.menu-panel__cta { margin-top: 28px; align-self: flex-start; position: relative; z-index: 1; }
.menu-panel__circles { position: absolute; right: -60px; bottom: -40px; width: 260px; pointer-events: none; opacity: .5; }
.menu-panel__circles i { display: block; width: 260px; height: 260px; border-radius: 50%; margin-top: -90px; mix-blend-mode: screen; animation: floaty 9s ease-in-out infinite alternate; }
.menu-panel__circles i:nth-child(1) { background: var(--blush); opacity: .55; }
.menu-panel__circles i:nth-child(2) { background: var(--teal); animation-delay: -3s; }
.menu-panel__circles i:nth-child(3) { background: var(--heather); animation-delay: -6s; }
@keyframes floaty { to { transform: translate(-24px, -18px) scale(1.06); } }
body.menu-open { overflow: hidden; }
body.menu-open .masthead { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.menu-open .masthead .logo-on-light { opacity: 0; }
body.menu-open .masthead .logo-on-dark { opacity: 1; }
body.menu-open .burger { color: #fff; }

@media (max-width: 1180px) {
  .mainnav, .masthead__cta { display: none; }
  .burger { display: block; }
}
@media (max-width: 600px) {
  :root { --head-h: 84px; }
  .masthead__logo { height: 56px; }
  .masthead.is-compact { --head-h: 70px; }
  .masthead.is-compact .masthead__logo { height: 48px; }
}

/* ---------- sections and backgrounds ---------- */
.sec { position: relative; padding-block: clamp(64px, 6.6vw, 110px); overflow: clip; isolation: isolate; }
.bg-white { background: var(--tex) center / cover no-repeat, #fff; background-blend-mode: multiply; }
.bg-mist { background: var(--tex) center / cover no-repeat, var(--mist); background-blend-mode: multiply; }
.bg-petal { background: var(--tex) 30% 60% / 140% auto no-repeat, var(--petal); background-blend-mode: multiply; }
.bg-ink { background: var(--ink); }
.bg-heather { background: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(232, 180, 194, .28), transparent 70%), radial-gradient(ellipse 50% 60% at 10% 90%, rgba(46, 110, 114, .35), transparent 70%), var(--tex) center / cover no-repeat, var(--heather); background-blend-mode: normal, normal, multiply, normal; }
.bg-teal { background: var(--teal); }

/* drifting watercolour light, the ambient layer on tinted bands */
.drift { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.drift i { position: absolute; width: 42vw; height: 42vw; max-width: 640px; max-height: 640px; border-radius: 50%; filter: blur(60px); opacity: .5; animation: drift 13s ease-in-out infinite alternate; }
.drift i:nth-child(1) { background: var(--blush); left: -8%; top: -10%; }
.drift i:nth-child(2) { background: var(--lagoon); right: -10%; top: 30%; animation-duration: 16s; animation-delay: -8s; }
.drift i:nth-child(3) { background: #C9BEE3; left: 30%; bottom: -25%; animation-duration: 19s; animation-delay: -14s; }
.bg-mist .drift i, .bg-white .drift i { opacity: .42; }
.bg-petal .drift i { opacity: .5; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vw) scale(1.12); } 100% { transform: translate(-4vw, 7vw) scale(.94); } }

.sec-head { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 72px); align-items: end; margin-bottom: clamp(28px, 3.2vw, 48px); }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; }
@media (max-width: 900px) { .sec-head { grid-template-columns: 1fr; } }

/* framed photos */
.frame { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- hero (home) ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: clip; background: var(--ink); color: #fff; isolation: isolate; }
.hero__stage, .hero__poster, .hero__canvas { position: absolute; inset: 0; }
.hero__poster img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero.gl-ready .hero__canvas { opacity: 1; }
.hero__wash { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 62% 80% at 20% 58%, rgba(17, 28, 44, .78) 0%, rgba(17, 28, 44, .5) 48%, rgba(17, 28, 44, 0) 76%), linear-gradient(180deg, rgba(17, 28, 44, .5) 0%, rgba(17, 28, 44, 0) 22%, rgba(17, 28, 44, 0) 70%, rgba(17, 28, 44, .45) 100%); }
.hero__content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--head-h) * .6); }
.hero__text { max-width: min(58%, 820px); }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.hero h1 { margin-bottom: .35em; }
.hero h1 em { color: var(--blush); }
.hero .lede { max-width: 40em; margin-bottom: 2rem; color: rgba(255, 255, 255, .92); }
.hero__dock { position: absolute; z-index: 3; right: var(--pad); bottom: clamp(24px, 4vh, 44px); display: flex; align-items: center; gap: 18px; }
.hero__timer { position: relative; width: 64px; height: 64px; flex: none; }
.hero__timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero__timer circle { fill: none; stroke-width: 2; }
.hero__timer .track { stroke: rgba(255, 255, 255, .25); }
.hero__timer .prog { stroke: var(--blush); stroke-dasharray: 176; stroke-dashoffset: 176; }
.hero__count { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.hero__caption { width: 17.5rem; font-size: .98rem; line-height: 1.4; min-height: 2.8em; }
.hero__caption span { display: block; }
.hero__controls { display: flex; gap: 6px; }
.hero__controls button { width: 44px; height: 44px; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .55); border-radius: 0; background: rgba(17, 28, 44, .25); color: #fff; cursor: pointer; transition: background .3s, border-color .3s; }
.hero__controls button:hover { background: rgba(255, 255, 255, .16); border-color: #fff; }
.hero__controls svg { width: 16px; height: 16px; }
.hero__controls .ic-play { display: none; }
.hero.is-paused .hero__controls .ic-play { display: block; }
.hero.is-paused .hero__controls .ic-pause { display: none; }
@media (max-width: 900px) {
  .hero__text { max-width: 100%; }
  .hero__wash { background: linear-gradient(180deg, rgba(17, 28, 44, .55) 0%, rgba(17, 28, 44, .35) 30%, rgba(17, 28, 44, .62) 62%, rgba(17, 28, 44, .82) 100%); }
  .hero__content { justify-content: flex-end; padding-bottom: 150px; }
  .hero__dock { left: var(--pad); right: var(--pad); gap: 12px; }
  .hero__caption { width: auto; flex: 1; font-size: .92rem; }
  .hero__timer { width: 52px; height: 52px; }
}

/* ---------- ways to meet (expanding panels) ---------- */
.ways__panels { display: flex; gap: 14px; height: min(60vh, 560px); min-height: 420px; }
.way { position: relative; flex: 1; min-width: 0; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; transition: flex-grow .8s var(--ease); background: var(--ink); }
.way.is-active { flex-grow: 2.3; }
.way__img { position: absolute; inset: 0; }
.way__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.way.is-active .way__img img { transform: scale(1.1); }
.way::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 28, 44, .05) 30%, rgba(17, 28, 44, .82) 100%); }
.way__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.4vw, 34px); }
.way__body h3 { margin: 0 0 .35em; color: #fff; }
.way__body p { margin: 0 0 1rem; max-width: 34em; color: rgba(255, 255, 255, .9); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.motion .way:not(.is-active) .way__body p { display: none; }
.motion .way.is-active .way__body p { animation: wayText .7s var(--ease) .2s both; }
@keyframes wayText { from { opacity: 0; transform: translateY(12px); } }
.way__tag { display: inline-block; font-size: .85rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 4px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 12px; }
.way__go { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: #fff; }
.way__go svg { width: 20px; height: 12px; transition: transform .4s var(--ease); }
.way:hover .way__go svg, .way:focus-visible .way__go svg { transform: translateX(5px); }
@media (max-width: 900px) {
  .ways__panels { flex-direction: column; height: auto; min-height: 0; }
  .way, .way.is-active { flex: none; aspect-ratio: 4 / 3.2; }
  .way__body p { opacity: 1; transform: none; }
}

/* ---------- intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.intro__text .btn-row { margin-top: 2rem; }
.intro__media { position: relative; justify-self: start; width: min(100%, calc(var(--media-cap) * .75)); padding: 0 14% 12% 0; }
.intro__main { aspect-ratio: 3 / 4; }
.intro__small { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 4 / 5; box-shadow: 0 24px 50px -18px rgba(17, 28, 44, .45); border: 6px solid var(--petal); border-radius: calc(var(--radius) + 6px); }
.intro__ring { position: absolute; left: 52%; top: -5%; width: 36%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--heather); opacity: .55; pointer-events: none; }
@media (max-width: 900px) { .intro__grid { grid-template-columns: 1fr; } .intro__media { width: min(100%, 460px); } }

/* ---------- untangling thread (signature) ---------- */
.thread { background: radial-gradient(ellipse 60% 70% at 70% 50%, rgba(46, 110, 114, .35), transparent 70%), linear-gradient(rgba(24, 38, 58, .9), rgba(24, 38, 58, .94)), url("../img/woodland-clearing-blue-hour-1400.webp") center / cover no-repeat, var(--ink); color: #fff; padding: 0; }
.thread__pin { position: relative; height: 100svh; min-height: 600px; }
.thread__inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding-block: calc(var(--head-h) + 10px) clamp(28px, 5vh, 56px); }
.thread__head { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.thread__head h2 { margin: 0; }
.thread__steps { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; flex: none; }
.thread__steps li { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35); display: grid; place-items: center; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .7); transition: background .4s, color .4s, border-color .4s; }
.thread__steps li.is-on { background: var(--lagoon); border-color: var(--lagoon); color: var(--ink); }
.thread__aura { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 45% 55% at var(--ax, 30%) 55%, var(--ac, rgba(232, 180, 194, .28)), transparent 70%); }
.thread__art { position: relative; flex: 1; min-height: 0; margin: 12px 0; }
.thread__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.thread__line { fill: none; stroke: var(--lagoon); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.thread__glow { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(232, 180, 194, 1)) drop-shadow(0 0 18px rgba(232, 180, 194, .7)); }
.thread__motes { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.thread__motes i { position: absolute; left: var(--x); top: var(--y); width: 4px; height: 4px; border-radius: 50%; background: var(--blush); box-shadow: 0 0 10px 2px rgba(232, 180, 194, .6); opacity: 0; animation: mote var(--d) ease-in-out var(--o) infinite; }
.thread__motes i:nth-child(3n) { background: var(--lagoon); box-shadow: 0 0 10px 2px rgba(140, 195, 191, .6); }
@keyframes mote { 0% { transform: translate(0, 20px); opacity: 0; } 30% { opacity: .8; } 70% { opacity: .6; } 100% { transform: translate(18px, -50px); opacity: 0; } }
.thread__shadow { fill: none; stroke: rgba(140, 195, 191, .22); stroke-width: 16; stroke-linecap: round; filter: blur(6px); }
.thread__notes { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.thread__note h3 { color: #fff; margin-bottom: .3em; }
.thread__note p { color: rgba(255, 255, 255, .82); margin: 0; }
.motion .thread.is-scrub .thread__note { opacity: .28; transition: opacity .5s; }
.motion .thread.is-scrub .thread__note.is-on { opacity: 1; }
@media (max-width: 900px) {
  .thread__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .thread__notes { grid-template-columns: 1fr; gap: 0; position: relative; min-height: 8.5em; }
  .motion .thread.is-scrub .thread__note { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
  .motion .thread.is-scrub .thread__note.is-on { opacity: 1; transform: none; }
  .thread__note h3 { font-size: 1.3rem; }
  .thread__note p { font-size: 1rem; }
}

/* ---------- topics (what brings you here) ---------- */
.topics__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 90px); align-items: start; }
.topics__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.topic { border-bottom: 1px solid var(--line); }
.topic__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 4px; min-height: 52px; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.2; color: var(--ink); transition: color .3s, padding .45s var(--ease); }
.topic__btn svg { width: 22px; height: 13px; flex: none; opacity: .35; transition: transform .45s var(--ease), opacity .3s; }
.topic__btn:hover, .topic.is-active .topic__btn { color: var(--teal); padding-left: 14px; }
.topic.is-active .topic__btn svg, .topic__btn:hover svg { opacity: 1; transform: translateX(4px); }
.topic__more { display: none; padding: 0 4px 16px; color: var(--muted); }
.topics__pane { position: sticky; top: calc(var(--head-h) + 24px); }
.topics__frame { position: relative; aspect-ratio: 16 / 10; max-height: 44vh; width: 100%; }
.topics__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.topics__frame img:not(.is-on) { display: none; }
.topics__say { margin-top: 18px; min-height: 4.6em; }
.topics__say h3 { margin-bottom: .3em; }
.topics__say p { margin: 0; color: var(--muted); }
.topics__foot { margin-top: 14px; }
@media (max-width: 900px) {
  .topics__grid { grid-template-columns: 1fr; }
  .topics__pane { position: relative; top: 0; order: -1; }
}

/* ---------- reasons ---------- */
.reasons { color: #fff; padding-block: clamp(56px, 5.4vw, 92px); }
.reasons__line { font-family: var(--serif); font-size: clamp(2rem, 3.5vw, 3.6rem); line-height: 1.12; margin: 0 0 clamp(28px, 3.2vw, 44px); }
.reasons__cycle { display: block; overflow: clip; color: var(--blush); padding: .34em 0 .32em .06em; margin: -.34em 0 -.32em; }
.reasons__cycle span { display: inline-block; }
.reasons__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.reason { position: relative; padding: clamp(20px, 2vw, 26px); border-radius: var(--radius); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .4s, transform .5s var(--ease); }
.reason:hover { background: rgba(255, 255, 255, .14); transform: translateY(-4px); }
.reason svg { width: 38px; height: 38px; margin-bottom: 10px; }
.reason svg circle { fill: none; stroke-width: 1.6; }
.reason h3 { color: #fff; font-size: clamp(1.3rem, 1.6vw, 1.55rem); margin-bottom: .35em; }
.reason p { margin: 0; color: rgba(255, 255, 255, .86); }
.marquee { margin-top: clamp(28px, 3.2vw, 44px); overflow: hidden; white-space: nowrap; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: inline-flex; gap: 2.2rem; animation: marquee 38s linear infinite; font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); color: rgba(255, 255, 255, .5); }
.marquee__track span::after { content: ""; display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--blush); margin-left: 2.2rem; vertical-align: middle; opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (max-width: 900px) { .reasons__grid { grid-template-columns: 1fr; } }
@media (min-width: 901px) and (max-width: 1100px) { .reasons__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- breathe teaser ---------- */
.breathe-band { color: #fff; background: linear-gradient(100deg, rgba(36, 88, 91, .96) 0%, rgba(46, 110, 114, .86) 45%, rgba(46, 110, 114, .35) 100%), url("../img/still-lake-blue-hour-mist-1400.webp") center / cover no-repeat, var(--teal); }
.breathe-band__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.breathe-band .btn-row { margin-top: 1.8rem; }
.orb { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: start; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, .05) 55%, rgba(255, 255, 255, 0) 71%); }
.orb__c { position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%; mix-blend-mode: screen; transform-origin: 50% 50%; }
.orb__c--1 { background: radial-gradient(circle at 40% 35%, #F6D3DC, var(--blush) 60%); transform: translateY(-22%); }
.orb__c--2 { background: radial-gradient(circle at 40% 35%, #B4E0DC, var(--lagoon) 60%); opacity: .9; }
.orb__c--3 { background: radial-gradient(circle at 40% 35%, #A898CC, var(--heather) 60%); transform: translateY(22%); }
.orb__label { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.7rem); color: var(--ink-deep); text-shadow: 0 1px 10px rgba(255, 255, 255, .5); }
@media (max-width: 900px) { .breathe-band__grid { grid-template-columns: 1fr; } .orb { width: min(80%, 300px); } }

/* ---------- enquiry band ---------- */
.enquire { color: #fff; background: linear-gradient(90deg, rgba(17, 28, 44, .9) 0%, rgba(17, 28, 44, .7) 45%, rgba(17, 28, 44, .45) 100%), url("../img/woodland-clearing-blue-hour-2000.webp") center / cover no-repeat, var(--ink); }
.enquire .motes { z-index: 0; }
.enquire__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.enquire__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.enquire__steps li { display: flex; gap: 14px; align-items: baseline; color: rgba(255, 255, 255, .9); }
.enquire__steps b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--ink); font-size: .9rem; transform: translateY(6px); }
.card-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.card-form h3 { margin-bottom: .6em; }
@media (max-width: 900px) { .enquire__grid { grid-template-columns: 1fr; } }

/* ---------- form ---------- */
.form[hidden] { display: none; }
.form { display: grid; gap: 16px; scroll-margin-top: calc(var(--head-h) + 20px); }
.form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form__row--two { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field__label { font-size: .95rem; font-weight: 600; }
.field__label em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--mist); border: 1.5px solid transparent; border-radius: var(--radius); padding: 13px 14px; min-height: 50px; transition: border-color .3s, background .3s; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 48px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 6.5l6 6 6-6' fill='none' stroke='%2318263A' stroke-width='1.8'/%3E%3C/svg%3E") right 18px center / 18px no-repeat, var(--mist); cursor: pointer; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background-color: #fff; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.form__note { margin: 0; font-size: .95rem; color: var(--muted); }
.form__status { margin: 0; padding: 12px 16px; border-radius: var(--radius); font-weight: 500; }
.form__status--ok { background: #E3F2F0; color: var(--teal-dark); }
.form__status--err { background: #F8E1E7; color: #7A2942; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */
.sitefoot { position: relative; overflow: clip; isolation: isolate; background: var(--tex) center / cover no-repeat, var(--mist); background-blend-mode: multiply; color: var(--ink); padding: clamp(64px, 7vw, 100px) 0 28px; }
.sitefoot__wave { position: absolute; left: 0; right: 0; top: 30%; width: 100%; height: 180px; z-index: -1; pointer-events: none; opacity: .75; }
.sitefoot__wave path { fill: none; stroke: var(--teal); stroke-width: 2.2; stroke-dasharray: 22 14; animation: flow 4s linear infinite; }
.sitefoot__wave path + path { stroke: var(--heather); opacity: .6; animation-duration: 9s; animation-direction: reverse; }
@keyframes flow { to { stroke-dashoffset: -320; } }
.sitefoot__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sitefoot__glow i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .55; animation: drift 10s ease-in-out infinite alternate; }
.sitefoot__glow i:nth-child(1) { background: var(--lagoon); left: -120px; top: -160px; }
.sitefoot__glow i:nth-child(2) { background: #C9BEE3; right: -100px; bottom: -200px; animation-delay: -9s; }
.sitefoot__glow i:nth-child(3) { background: var(--blush); left: 45%; top: 40%; width: 300px; height: 300px; opacity: .1; animation-delay: -17s; }
.sitefoot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.sitefoot__logo img { height: 70px; width: auto; margin-bottom: 20px; }
.sitefoot__brand p { max-width: 30em; margin-bottom: 1.4rem; }
.sitefoot__col { display: flex; flex-direction: column; gap: 4px; }
.sitefoot__head { font-family: var(--serif); font-size: 1.2rem; color: var(--ink); margin: 0 0 8px; }
.sitefoot__col a { color: var(--ink); text-decoration: none; padding: 10px 0; min-height: 44px; display: inline-flex; align-items: center; width: fit-content; background: linear-gradient(var(--heather), var(--heather)) 0 85% / 0 1.5px no-repeat; transition: background-size .45s var(--ease), color .3s; }
.sitefoot__col a:hover { color: var(--heather); background-size: 100% 1.5px; }
.sitefoot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .95rem; }
.sitefoot__base p { margin: 0; }
.sitefoot__base a { color: var(--teal-dark); }
.sitefoot__base a:hover { color: var(--heather); }
@media (max-width: 900px) { .sitefoot__grid { grid-template-columns: 1fr 1fr; } .sitefoot__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .sitefoot__grid { grid-template-columns: 1fr; } }

/* ---------- reveal start states (only with motion; .reveal-all is the safety net) ---------- */
.motion [data-reveal="lines"] { visibility: hidden; }
.motion [data-reveal="up"], .motion [data-stagger] > *, .motion [data-foot] { opacity: 0; transform: translateY(36px); }
.motion [data-reveal="wipe"] { clip-path: inset(100% 0 0 0 round var(--radius)); }
.motion.reveal-all [data-reveal="lines"] { visibility: visible !important; }
.motion.reveal-all [data-reveal="up"], .motion.reveal-all [data-stagger] > *, .motion.reveal-all [data-foot] { opacity: 1 !important; transform: none !important; }
.motion.reveal-all [data-reveal="wipe"] { clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
}

/* hero first frame: text waits for fonts (capped at about a second), then rises through its masks */
.motion [data-hero-title] { visibility: hidden; }
.motion [data-hero-fade] { opacity: 0; }
.motion.reveal-all [data-hero-title] { visibility: visible !important; }
.motion.reveal-all [data-hero-fade] { opacity: 1 !important; }
.no-js .topic__more { display: block; }
.intro__ring i { position: absolute; inset: -1px; border-radius: 50%; animation: spin 14s linear infinite; }
.intro__ring i::after { content: ""; position: absolute; left: 50%; top: -7px; width: 13px; height: 13px; margin-left: -6.5px; border-radius: 50%; background: var(--heather); box-shadow: 0 0 0 5px rgba(100, 82, 138, .18); }
@keyframes spin { to { transform: rotate(360deg); } }
.intro__small img { animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.08); } }

/* photo bands: the photo sits on its own layer with a slow camera push, the wash above it */
.photo-band { position: relative; }
.photo-band::before { content: ""; position: absolute; inset: -3%; z-index: -2; background: var(--band-img) center / cover no-repeat; animation: kenburns 14s ease-in-out infinite alternate; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--band-wash); }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-2.5%, 2%); } }
.enquire.photo-band { --band-img: url("../img/woodland-clearing-blue-hour-2000.webp"); --band-wash: linear-gradient(90deg, rgba(17, 28, 44, .88) 0%, rgba(17, 28, 44, .62) 45%, rgba(17, 28, 44, .32) 100%); }
.breathe-band.photo-band { --band-img: url("../img/still-lake-blue-hour-mist-1400.webp"); --band-wash: linear-gradient(100deg, rgba(36, 88, 91, .96) 0%, rgba(46, 110, 114, .86) 45%, rgba(46, 110, 114, .35) 100%); }
.bg-heather .drift i { opacity: .28; }
.bg-heather .drift i:nth-child(2) { background: var(--teal); }

/* coloured phrases sit whole on their own line */
h1 em, h2 em { display: block; }
.reasons__line em { display: inline; }
@media (max-width: 600px) { .hero h1 { font-size: clamp(2.2rem, 10vw, 2.6rem); } }
.topics__frame img.is-on { animation: breathe 10s ease-in-out infinite alternate; }
@media (max-width: 900px) { .way__img img { animation: breathe 10s ease-in-out infinite alternate; } }

/* ---------- compact split opener (holding pages, 404) ---------- */
.opener-split { padding: calc(var(--head-h) + clamp(28px, 4vw, 56px)) 0 clamp(48px, 6vw, 80px); min-height: 50vh; }
.opener-split__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 90px); align-items: center; }
.opener-split h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.opener-split .lede { margin-bottom: 1.8rem; }
.opener-split__media { position: relative; padding: 0 0 6% 0; }
.opener-split__frame { aspect-ratio: 4 / 3; max-height: 52vh; width: 100%; }
.opener-split__ring { position: absolute; left: -7%; bottom: 0; width: 34%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid var(--teal); opacity: .5; }
.opener-split__ring i { position: absolute; inset: -1px; border-radius: 50%; animation: spin 16s linear infinite; }
.opener-split__ring i::after { content: ""; position: absolute; left: 50%; top: -6px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%; background: var(--teal); }
.opener-split__media .frame { position: relative; z-index: 1; }
@media (max-width: 900px) { .opener-split__grid { grid-template-columns: 1fr; } .opener-split__frame { max-height: 40vh; } }
@media (max-width: 900px) {
  .enquire, .enquire.photo-band { --band-img: url("../img/woodland-clearing-blue-hour-1400.webp"); background-image: linear-gradient(90deg, rgba(17, 28, 44, .9), rgba(17, 28, 44, .45)), url("../img/woodland-clearing-blue-hour-1400.webp"); }
}
