/* John Olatunji — Notary Public
   Brand: Concept Notary Lawyers kit (Figma). Layout language inspired by editorial law-firm sites. */

/* BDO Grotesk — self-hosted, SIL OFL 1.1 (assets/fonts/OFL.txt) */
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BDO Grotesk"; src: url("assets/fonts/BDOGrotesk-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Geist Serif (headings, logo) — self-hosted, SIL OFL 1.1, github.com/vercel/geist-font */
@font-face { font-family: "Geist Serif"; src: url("assets/fonts/GeistSerif-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --serif: "Geist Serif", Georgia, serif;
  --linen: #EBE6D9;
  --linen-soft: #F3EDE3;
  --white: #FFFFFF;
  --ink: #191A10;
  --black: #111111;
  --slate: #697999;
  --slate-deep: #4C5A78;
  --line: rgba(25, 26, 16, 0.16);
  --muted: rgba(25, 26, 16, 0.62);

  --font: "BDO Grotesk", sans-serif;
  --gutter: clamp(20px, 3.4vw, 48px);
  --max: 1360px;
  --section: clamp(88px, 11vw, 160px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
p { margin: 0; }

h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(24px, 2.52vw, 36px); max-width: 22ch; }
h1, h2 { text-wrap: balance; }
/* consistent gap between every eyebrow label and the heading under it */
.label + h1, .label + h2 { margin-top: 18px; }
.body { margin-top: 24px; max-width: 34em; color: var(--muted); }

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

/* Small uppercase label */
.label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.4; }
section > .wrap > .label, .reveal > .label, .band__inner > .label { margin-bottom: 18px; }

/* Underlined text link */
.link {
  display: inline-block;
  font-size: 15px; font-weight: 500;
  padding-bottom: 4px;
  background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat;
  transition: background-size .45s var(--ease);
}
.link:hover { background-size: 0% 1px; background-position: right bottom; }
.reveal > .link, .services > .wrap > .link { margin-top: 36px; }
.link--light { color: var(--white); }

/* ---------- Preloader: signature written on, then fade to page ---------- */
.preloader { --pre-bg: var(--linen-soft); position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--pre-bg); color: var(--ink); animation: preOut .7s var(--ease) 2.3s forwards; }
.preloader__sig { width: min(58vw, 380px); height: auto; overflow: visible; }
.preloader__pen { stroke-dasharray: 1 3; stroke-dashoffset: 1.06; animation: preDraw 1.7s cubic-bezier(.45, .05, .35, 1) .25s forwards; }
.preloader__all { opacity: 0; animation: preAll .25s linear 1.9s forwards; }
@keyframes preDraw { to { stroke-dashoffset: 0; } }
@keyframes preAll { to { opacity: 1; } }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .preloader { animation: preOut .01s linear .6s forwards !important; }
  .preloader__pen { stroke-dashoffset: 0; }
  .preloader__all { opacity: 1; }
}

/* signature intro plays once per browser; later visits and refreshes skip it */
.no-intro .preloader { display: none; }
/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  height: 84px; padding: 0 max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  color: var(--ink);
  transition: background .35s, color .35s, height .35s;
}
.header__nav { display: flex; gap: 32px; font-size: 15px; }
.header__nav a, .header__phone { position: relative; }
.header__nav a::after, .header__phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.header__nav a:hover::after, .header__phone:hover::after { transform: scaleX(1); }
.header__logo { justify-self: center; }
.header__phone { font-size: 15px; }
/* same style as the main page button (.btn-primary), just a little shorter */
.header__cta { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: var(--linen-soft); font-size: 15px; font-weight: 500; transition: background .25s; }
.header__cta span { display: contents; }
.header__cta svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.header__cta:hover { background: var(--slate-deep); }
.header__cta:hover svg { transform: translateX(3px); }
.header.is-solid { background: var(--white); color: var(--ink); height: 70px; box-shadow: 0 1px 0 var(--line); }
.header__logo svg { display: block; width: 118px; height: 50px; transition: width .35s, height .35s; }
.header.is-solid .header__logo svg { width: 96px; height: 41px; }
.header__right { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.burger { display: none !important; }
.burger { width: 40px; height: 40px; background: none; border: 0; padding: 0; cursor: pointer; display: grid; place-content: center; gap: 6px; }
.burger span { display: block; width: 28px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), opacity .2s; }
.menu-open .header { color: var(--white); background: transparent; box-shadow: none; }
.menu-open .header__book { opacity: 0; pointer-events: none; }
.menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 55;
  background: var(--slate-deep); color: var(--white);
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  overflow-y: auto;
}
.menu-open { overflow: hidden; }
.menu-open .menu { opacity: 1; visibility: visible; }
.menu__inner { min-height: 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; padding: 140px var(--gutter) 56px; max-width: var(--max); margin: 0 auto; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-family: var(--serif); font-size: clamp(36px, 5.4vw, 72px); font-weight: 400; letter-spacing: -0.025em; line-height: 1.15; opacity: .9; transition: opacity .2s, transform .35s var(--ease); }
.menu__nav a:hover { opacity: 1; transform: translateX(8px); }
.menu__aside { display: grid; gap: 10px; color: rgba(255,255,255,.82); font-size: 15px; }
.menu__aside .label { color: rgba(255,255,255,.6); margin-top: 18px; }

/* ---------- Hero ---------- */
/* hero: light split layout (label left, headline right) with the navy loop video below */
.hero { position: relative; color: var(--ink); background: var(--white); padding-top: calc(84px + clamp(88px, 12vw, 176px)); }
.hero__split { display: grid; grid-template-columns: 458fr 862fr; gap: 40px; align-items: start; padding-bottom: clamp(56px, 8vw, 120px); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.12; letter-spacing: -0.02em; margin: 0; color: var(--ink); text-wrap: balance; }
.hero h1 em { font-style: italic; }
.hero__side { padding-top: .6em; }
.hero__sub { font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 16em; margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
/* secondary button: outlined, same height and padding as the header button */
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font-size: 15px; font-weight: 500; transition: background .25s, color .25s; }
.btn-secondary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-secondary:hover { background: var(--ink); color: var(--linen-soft); }
.btn-secondary:hover svg { transform: translateX(3px); }
.hero .link { color: var(--ink); }
.hero__video { margin: 0; background: #959876; aspect-ratio: 21 / 9; overflow: hidden; }
.hero__video video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .hero__split { grid-template-columns: 1fr; gap: 20px; } .hero__video { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) {
  .split__body .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .split__body .steps { grid-template-columns: 1fr; }
  .points li { grid-template-columns: 1fr; }
  .points .label, .points h3, .points p:not(.label) { grid-column: 1; grid-row: auto; } .hero__sub { white-space: normal; } }

/* Credentials strip */
.facts { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.facts dt { color: var(--muted); margin-bottom: 6px; }
.facts dd { margin: 0; font-weight: 500; font-size: 15px; }
@keyframes heroZoom { to { transform: scale(1); } }

/* ---------- Services list ---------- */
.services { background: var(--linen-soft); padding: var(--section) 0; }
.services__head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 64px); }
.services h2 { max-width: 20ch; }
.tabs { display: inline-flex; padding: 4px; gap: 4px; border: 1px solid var(--ink); border-radius: 999px; }
.tabs button {
  display: inline-flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 20px;
  background: transparent; border: 0; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink);
  transition: background .25s, color .25s;
}
.tabs button span {
  display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px;
  border-radius: 999px; font-size: 12px; font-variant-numeric: tabular-nums;
  background: rgba(25,26,16,.08); color: var(--ink); transition: background .25s, color .25s;
}
.tabs button:hover { background: rgba(25,26,16,.06); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--linen-soft); }
.tabs button[aria-selected="true"] span { background: var(--linen-soft); color: var(--ink); }
.tabs button:focus-visible { outline: 2px solid var(--slate); outline-offset: 2px; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rows[hidden] { display: none; }
.rows--two { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.rows li { border-bottom: 1px solid var(--line); }
.rows a { display: grid; grid-template-columns: 1fr 24px; align-items: baseline; gap: 16px; padding: 24px 0; transition: padding .35s var(--ease); }
.rows .label { display: none; }
.services__note { margin-top: 40px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px 28px; }
.services__note .link { color: var(--ink); }
.rows__title { font-size: clamp(20px, 2vw, 26px); font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; }
.rows svg { width: 20px; height: 20px; align-self: center; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.rows a:hover { padding-left: 12px; }
.rows a:hover svg { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about { padding: var(--section) 0; }
.about__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 120px); align-items: start; margin-bottom: clamp(40px, 5vw, 72px); }
.about__head h2 { max-width: 16ch; }
.about__head .body { margin-top: 0; }
.about__head .body + .body { margin-top: 18px; }
.about__img { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--linen); }
.about__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.about .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; border-top: 0; padding-top: 24px; }
/* left / centre / right so the row sits symmetrically under the image */
/* blocks sit left / centre / right, but text inside each stays left-aligned */
.about .facts > div { text-align: left; }
.about .facts > div:nth-child(2) { justify-self: center; }
.about .facts > div:nth-child(3) { justify-self: end; }
.about .facts > div { padding-right: 0; }

/* ---------- Working with John: centred intro + three cards ---------- */
.working { padding: 0 0 var(--section); }
.working__head { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 680px; margin: 0 auto clamp(40px, 5vw, 64px); }
.working__head .body { margin-top: 20px; text-wrap: balance; }
.working__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.5vw, 32px); }
.wcard__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); margin-bottom: 24px; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wcard:hover .wcard__img img { transform: scale(1.03); }
.wcard h3 { margin-top: 12px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.wcard__text { margin: 12px 0 20px; color: var(--muted); font-size: 16px; text-wrap: balance; }

/* ---------- Panel carousel (unused) ---------- */
/* Full-bleed: slides run edge to edge; --off (set in JS) = left edge of the page container,
   so panel text and controls line up with every other section */
.carousel { padding: 0 0 var(--section); --off: var(--gutter); --pad: clamp(28px, 4vw, 56px); --panel: .42; }
.carousel__wrap { position: relative; }
.carousel__viewport { overflow: hidden; }
.carousel__track { display: flex; gap: 16px; transition: transform .8s var(--ease); }
.slide { flex: 0 0 calc(100% - var(--off)); display: grid; grid-template-columns: calc(var(--off) + (100% - 2 * var(--off)) * var(--panel)) 1fr; height: clamp(460px, 38vw, 580px); transition: opacity .6s var(--ease); }
.slide:not(.is-active) { opacity: .4; }
.slide__panel { display: flex; flex-direction: column; justify-content: flex-end; padding: 110px var(--pad) var(--pad) var(--off); color: var(--white); }
.slide--slate .slide__panel { background: var(--slate); }
.slide--ink .slide__panel { background: var(--ink); }
.slide--deep .slide__panel { background: var(--slate-deep); }
.slide__panel .label { color: rgba(255,255,255,.7); margin-bottom: 0; }
.slide__panel h2 { max-width: 16ch; }
.slide__text { margin: 18px 0 28px; color: rgba(255,255,255,.82); max-width: 30em; }
.slide__media { position: relative; overflow: hidden; background: var(--black); }
.slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.carousel__controls {
  position: absolute; z-index: 2; top: var(--pad); left: var(--off);
  width: calc((100% - 2 * var(--off)) * var(--panel) - var(--pad));
  display: flex; justify-content: space-between; align-items: center; color: var(--white);
}
.carousel__dots { display: flex; gap: 8px; }
.carousel__dots button { width: 26px; height: 20px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.carousel__dots button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.45); transition: background .3s, height .3s; }
.carousel__dots button[aria-selected="true"]::after { background: var(--white); height: 2px; }
.carousel__arrows { display: flex; gap: 4px; }
.carousel__arrows button { width: 36px; height: 36px; display: grid; place-content: center; background: none; border: 0; color: inherit; cursor: pointer; transition: transform .3s var(--ease); }
.carousel__arrows svg { width: 18px; height: 18px; }
.carousel__arrows [data-next]:hover { transform: translateX(3px); }
.carousel__arrows [data-prev]:hover { transform: translateX(-3px); }

.carousel__head { margin-bottom: clamp(32px, 4vw, 56px); }
.carousel__head h2 { max-width: 20ch; }

/* Text under the carousel, right half */
.carousel__note { margin: clamp(32px, 4vw, 56px) 0 0 auto; width: 50%; padding-left: calc(clamp(32px, 7vw, 120px) / 2); }
.carousel__note p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; letter-spacing: -0.01em; max-width: 32em; }
.carousel__note .link { margin-top: 24px; }

/* ---------- Image + panel card ---------- */
.card-section { padding: var(--section) 0 0; }
.card { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); }
.card__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.card__panel { display: flex; flex-direction: column; padding: clamp(32px, 5vw, 64px); }
.card__eyebrow { font-size: 15px; font-weight: 500; margin-bottom: auto; padding-bottom: 48px; }
.card__panel p:not(.card__eyebrow) { margin: 18px 0 32px; color: rgba(255,255,255,.82); max-width: 32em; }
.card__panel .chev { margin-bottom: auto; }

/* Text link with chevron */
.chev { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.chev svg { width: 8px; height: 13px; transition: transform .3s var(--ease); }
.chev:hover svg { transform: translateX(4px); }

/* ---------- Ratings & testimonials: one review at a time, centred ---------- */
.reviews { padding: 0 0 var(--section); }
.reviews__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.reviews__head .label + h2 { margin-top: 10px; }
.reviews__head h2 { max-width: none; font-family: var(--font); font-size: 20px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.reviews__head .rating { text-align: left; order: -1; }
.rating { display: flex; align-items: center; gap: 14px; }
.rating__big { font-family: var(--serif); font-size: 44px; line-height: .9; letter-spacing: -0.03em; }
.rating__count { margin-top: 6px; font-size: 13px; color: var(--muted); }
.stars { display: flex; gap: 3px; color: #E8A23A; }
.stars svg { width: 18px; height: 18px; }
.stars--sm svg { width: 16px; height: 16px; }
.rslider { margin-top: clamp(72px, 8vw, 120px); display: flex; flex-direction: column; align-items: center; text-align: center; }
.rslider__track { display: grid; width: 100%; margin-top: 28px; }
.rslider .rslide { grid-area: 1 / 1; margin: 0; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(10px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.rslider .rslide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.rslide blockquote { margin: 0; max-width: 24ch; font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.22; letter-spacing: -0.02em; text-wrap: balance; }
.rslide figcaption { display: flex; align-items: center; gap: 12px; margin-top: 36px; text-align: left; }
.tcard__avatar { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--slate); color: var(--white); font-size: 14px; font-weight: 500; letter-spacing: .04em; }
.tcard__who { display: grid; gap: 2px; font-size: 15px; }
.tcard__who strong { font-weight: 500; }
.tcard__who span { font-size: 13px; color: var(--muted); }
.rslider__nav { display: flex; align-items: center; gap: 20px; margin-top: clamp(40px, 5vw, 64px); }
.rslider__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(25,26,16,.08); background: none; color: var(--ink); display: grid; place-content: center; cursor: pointer; transition: background .25s, color .25s; }
.rslider__arrow svg { width: 18px; height: 18px; }
.rslider__arrow:hover { background: rgba(25,26,16,.05); }
.rslider__dots { display: flex; gap: 10px; }
.rslider__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(25,26,16,.22); cursor: pointer; transition: width .35s var(--ease), background .25s; }
.rslider__dots button[aria-selected="true"] { width: 26px; background: var(--ink); }
.rslider__all { margin-top: 28px; }

/* ---------- Offices table ---------- */
.offices { padding: 0 0 var(--section); }
.offices__head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 14px; font-weight: 500; padding: 0 24px 16px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.45; vertical-align: top; }
.table td:first-child { width: 24%; font-size: 20px; letter-spacing: -0.015em; }
.table td:nth-child(2) { width: 34%; }
.table td:last-child { color: var(--muted); }
.table td { text-wrap: balance; }
.tag-main { display: inline-block; margin-left: 8px; padding: 2px 8px; border: 1px solid var(--ink); border-radius: 999px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; vertical-align: 3px; }

/* ---------- Process ---------- */
.process { padding: var(--section) 0; }
.process__panel { --pp: clamp(28px, 4.5vw, 64px); }
/* centred: intro + one main CTA, the letter below, steps along the bottom */
.process__top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.process__intro { display: flex; flex-direction: column; align-items: center; padding-top: clamp(16px, 2vw, 32px); }
.process__top h2 { max-width: 20ch; }
.process__body { max-width: 34em; margin-top: 20px; text-wrap: balance; }
.btn-primary { display: inline-flex; align-items: center; gap: 12px; margin-top: 32px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: var(--linen-soft); font-size: 15px; font-weight: 500; transition: background .25s; }
.btn-primary svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn-primary:hover { background: var(--slate-deep); }
.btn-primary:hover svg { transform: translateX(3px); }
.process__img { margin: clamp(32px, 4vw, 48px) 0 0; width: min(100%, 540px); }
.process__img img { width: 100%; height: auto; display: block; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(28px, 3vw, 40px); border-top: 1px solid var(--line); }
.steps > div { position: relative; padding-left: 18px; }
.steps > div::before { content: ""; position: absolute; left: 0; top: 3px; width: 1px; height: 20px; background: rgba(25,26,16,.3); }
.steps__t { font-size: 20px; letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 10px; }
.steps__d { color: var(--muted); font-size: 15px; text-wrap: balance; }

/* ---------- CTA ---------- */
.cta { position: relative; color: var(--white); background: var(--ink); overflow: hidden; }
.dashfield { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.cta .label { color: rgba(255,255,255,.75); }
.cta__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; padding-top: var(--section); padding-bottom: var(--section); pointer-events: none; }
.cta__grid a { pointer-events: auto; }
.cta h2 { font-size: clamp(28px, 3vw, 46px); max-width: 14ch; }
.cta__hours { margin-top: 24px; color: rgba(255,255,255,.8); }
.linklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.4); }
.linklist li { border-bottom: 1px solid rgba(255,255,255,.4); }
.linklist a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; }
.linklist svg { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease); }
.linklist a:hover svg { transform: translateX(5px); }

/* ---------- Footer (sand, massive melting name) ---------- */
.footer { background: var(--linen-soft); color: var(--ink); font-size: 16px; overflow: hidden; }
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); padding: 14px 0; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee__track span { padding-right: 28px; }
.marquee__track span::after { content: "·"; padding-left: 28px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-top: clamp(48px, 6vw, 80px); align-items: start; }
.footer__brand-name { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.02em; line-height: 1.1; }
.footer__brand-line { margin-top: 18px; color: var(--muted); max-width: 26em; }
.footer__book { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--linen-soft); font-size: 15px; font-weight: 500; transition: background .25s; }
.footer__book svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.footer__book:hover { background: var(--slate-deep); }
.footer__book:hover svg { transform: translateX(3px); }
.footer__col-h { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__col a { transition: opacity .2s; }
.footer__col a:hover { opacity: .6; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__contact li { display: flex; gap: 12px; align-items: baseline; }
.footer__contact li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); transform: translateY(-1px); }
.footer__contact a { overflow-wrap: anywhere; }
.footer__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; }
.footer__nav a { padding: 6px 0 7px; border-bottom: 1px solid var(--ink); transition: padding-left .3s var(--ease); }
.footer__nav a:hover { padding-left: 8px; }
.footer__contact a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.footer__contact a:hover { background-size: 100% 1px; }
.footer__services { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 28px; border-top: 1px solid var(--line); }
.footer__services .label { color: var(--muted); margin-bottom: 14px; }
.footer__services ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px 24px; }
.footer__services-wide ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__services a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .35s var(--ease); }
.footer__services a:hover { background-size: 100% 1px; }
.footer__meta { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: start; margin-top: clamp(40px, 5vw, 72px); font-size: 14px; }
.footer__up { display: inline-flex; align-items: center; gap: 6px; }
.footer__up svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.footer__up:hover svg { transform: translateY(-3px); }
.footer__legal { color: var(--muted); text-align: right; text-wrap: balance; }
.footer__name { display: block; width: 100%; height: auto; margin-top: clamp(40px, 7vw, 110px); margin-bottom: -7.1vw; overflow: visible; }
.footer__name path, .footer__name use { fill: var(--ink); }

/* ---------- Split sections: label left, content right (shared by every section) ---------- */
.row-sec { padding: 0; }
.split { display: grid; grid-template-columns: minmax(0, 458fr) minmax(0, 862fr); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 104px); padding-bottom: clamp(56px, 7vw, 104px); }
.row-sec:first-of-type .split { border-top: 0; }
.split__label { align-self: start; position: sticky; top: 96px; padding-right: 32px; }
.split__t { font-size: 14px; font-weight: 500; }
.split__s { font-size: 14px; color: var(--muted); margin-top: 2px; }
.split__img { margin: 0 0 20px; width: min(100%, 300px); aspect-ratio: 4 / 5; overflow: hidden; background: var(--linen); }
.split__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.split__body { max-width: 800px; min-width: 0; }
.split__body > h2 { max-width: 22ch; margin-bottom: 28px; }
.split__body > .body { max-width: 40em; margin-top: 0; }
.split__body > .body + .body { margin-top: 16px; }
/* credentials as label/value rows, matching the Working with John list */
.split__body .facts { display: block; margin-top: 40px; padding-top: 0; border-top: 1px solid var(--line); }
.split__body .facts > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); justify-self: auto; text-align: left; }
.split__body .facts dt { margin: 0; color: var(--muted); }
.split__body .facts dd { margin: 0; font-size: 17px; }
.split__body .tabs { margin-bottom: 24px; }
.split__body .rows--two, .split__body #svc-businesses { grid-template-columns: 1fr; }
.split__body .services__note { margin-top: 32px; }
.split__body .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; margin-top: 40px; padding-top: 0; border-top: 0; }
.split__body .btn-primary { margin-top: 40px; display: flex; width: fit-content; }
.points { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.points li { padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; column-gap: 24px; row-gap: 8px; align-items: baseline; }
.points .label { color: var(--muted); grid-column: 1; grid-row: 1; }
.points h3 { grid-column: 2; grid-row: 1; }
.points p:not(.label) { grid-column: 2; grid-row: 2; }
.points h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; }
.points p:not(.label) { color: var(--muted); font-size: 16px; }
.split__body .rating { margin-bottom: 20px; }
.split__body .rslider { margin-top: 32px; align-items: flex-start; text-align: left; }
.split__body .rslider .rslide { align-items: flex-start; }
.split__body .rslide blockquote { max-width: 26ch; }
.split__body .rslider__track { margin-top: 20px; }
.split__body .rslider__nav { margin-top: 40px; }
.split__body .table td:first-child { width: 26%; }
.cta.row-sec .split { border-top: 0; }
.cta.row-sec .split__s { color: rgba(255,255,255,.7); }
.cta.row-sec .split__body .linklist { margin-top: 36px; }
.cta.row-sec h2 { max-width: 18ch; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
.js-reveal .reveal.is-done { transition: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .header { grid-template-columns: auto 1fr; }
  .header__nav, .header__phone { display: none; }
  .header__logo { justify-self: start; }
  .burger { display: grid !important; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split__label { position: static; }
  .split__img { width: 200px; }
  .working__grid { grid-template-columns: 1fr; gap: 48px; }
  .carousel__note { width: auto; padding-left: 0; }
  .about__head, .process__top, .menu__inner, .card, .cta__grid { grid-template-columns: 1fr; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; }
  .slide__media { aspect-ratio: 4 / 3; }
  .slide__panel { padding-top: 92px; }
  .carousel__controls { width: calc(100% - 2 * var(--off) - var(--pad)); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .rows--two { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__nav { grid-column: 1 / -1; }
  .menu__inner { align-content: end; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__cta { display: none; }
  .rows a { grid-template-columns: 1fr 20px; gap: 12px; padding: 20px 0; }
  .rows svg { opacity: 1; transform: none; }
  .facts, .about .facts { grid-template-columns: 1fr; gap: 14px; }
  .about .facts > div { justify-self: start !important; }
  .about__img { aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__services { grid-template-columns: 1fr; }
  .footer__services-wide ul { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__meta { grid-template-columns: 1fr; }
  .footer__legal { text-align: left; }
  .offices__head { flex-direction: column; align-items: flex-start; }
  .table thead { display: none; }
  .table, .table tbody, .table tr, .table td { display: block; width: auto !important; }
  .table tr { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .table td { border: 0; padding: 4px 0; font-size: 16px; }
  .table td:first-child { font-size: 20px; margin-bottom: 6px; }
  .table td:not(:first-child)::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Working with John: no side labels, heading + text only */
.points li { grid-template-columns: 1fr; }
.points h3, .points p:not(.label) { grid-column: 1; }
.points h3 { grid-row: 1; }
.points p:not(.label) { grid-row: 2; }

/* credentials: label above value, sentence case, same 17px BDO at 50% */
.split__body .facts > div { grid-template-columns: 1fr; gap: 4px; }
.split__body .facts dt { font-family: var(--font); font-size: 17px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); opacity: .5; line-height: 1.5; }

/* tighter gap between point heading and its text */
.points li { row-gap: 6px; align-items: start; }
.points h3 { margin: 0; }
.points p:not(.label) { margin: 0; }

/* footer contact list (inside brand block) */
.footer__contact { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.footer__contact a { transition: opacity .2s; }
.footer__contact a:hover { opacity: .6; }

/* services: one list, "View all services" reveals the business services */
.services__all { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink); color: var(--linen-soft); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .25s; }
.services__all svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.services__all:hover { background: var(--slate-deep); }
.services__all:hover svg { transform: translateX(3px); }
.services__all[hidden] { display: none; }
#svc-businesses { margin-top: 40px; }
#svc-businesses[hidden] { display: none; }


/* View all services: reset native button chrome so it matches .btn-primary */
.services__all { border: 0; line-height: 1; appearance: none; -webkit-appearance: none; outline-offset: 3px; }
.services__all:focus-visible { outline: 2px solid var(--slate); }
.services__all svg { color: var(--linen-soft); stroke: currentColor; }
/* footer: keep the two business columns narrow enough to sit in the row */
.footer__top { gap: 32px; column-gap: clamp(40px, 5vw, 80px); }
.footer__brand { padding-right: clamp(16px, 2vw, 32px); }
/* footer top: brand | pages | individuals | businesses (two plain columns) */
.footer__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, .6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
/* footer link lists at 13px */
.footer__col ul { font-size: 13px; }

/* hero particle field (drawn in main.js) */

/* footer on phones: brand full width, link columns in two columns, button on one line */
.footer__book { white-space: nowrap; }
@media (max-width: 760px) {
  .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 24px; row-gap: 40px; }
  .footer__brand { grid-column: 1 / -1; padding-right: 0; }
}

/* hero v3: label + Google rating left, statement right, navy Contact + outlined Email */
.hero__side { display: grid; gap: 18px; padding-top: .9em; }
.hero__label { font-family: var(--serif); font-size: 18px; color: var(--muted); margin: 0; }
.hero__google { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.hero__google svg { width: 26px; height: 26px; flex: none; }
.hero__google strong { display: block; font-weight: 500; font-size: 15px; }
.hero__stars { display: block; font-size: 13px; color: #2e7d32; margin-top: 2px; }
.hero h1 { font-size: clamp(26px, 2.8vw, 42px); line-height: 1.25; letter-spacing: -0.01em; }
.hero__actions { margin-top: 36px; }
.hero__actions .btn-primary { margin-top: 0; background: #959876; }
.hero__actions .btn-primary:hover { background: var(--slate-deep); }
.btn-outline { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; transition: border-color .25s; }
.btn-outline svg { width: 16px; height: 16px; }
.btn-outline:hover { border-color: var(--ink); }

/* header: traditional order, logo left, links and buttons right */
.header { grid-template-columns: auto 1fr auto; }
.header__logo { grid-column: 1; justify-self: start; }
.header__nav { grid-column: 2; justify-self: end; }
.header__right { grid-column: 3; }

/* header as one flex row: logo left, links and buttons right, never stacked */
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { flex: none; grid-column: auto; }
.header__nav { flex: none; grid-column: auto; justify-self: auto; margin-left: auto; margin-right: 40px; white-space: nowrap; }
.header__right { flex: none; grid-column: auto; }
.header { justify-content: flex-start; }
.header__logo { margin-right: 0; }
.header__logo { order: -1; }
.hero__actions .btn-primary, .hero__actions .btn-outline { height: 44px; padding: 0 22px; margin-top: 0; }
.hero__actions .btn-primary { background: var(--ink); }
.hero__actions .btn-primary:hover { background: var(--slate-deep); }
.btn-outline { color: var(--ink); }
.header__right { margin-left: 0; }
.header__nav { margin-left: auto; margin-right: 40px; }
.hero__side { padding-top: 0; }
.hero__label { line-height: 1.25; }

/* hero video parallax: the video is taller than its frame and drifts inside it (driven by main.js) */
.hero__video video { height: 120%; position: relative; top: -10%; will-change: transform; transform: translate3d(0, 0, 0); }
.hero h1 { font-size: clamp(34px, 4vw, 60px); }
.hero h1 { font-size: clamp(32px, 4vw, 55px); width: 100%; max-width: none; text-wrap: wrap; }
.hero h1 { line-height: 1.12; }
.hero h1 { letter-spacing: -0.035em; }
.hero h1 { text-wrap: balance; }
.footer__col ul { gap: 4px; }
/* footer desktop: brand column 1.5x wider than each link column */
@media (min-width: 761px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
}

/* variation: full-bleed photo hero with light text */
.variation .hero--photo { position: relative; height: 100svh; min-height: 620px; max-height: 1000px; padding: 0; background: #1b1d16; color: #fff; overflow: hidden; display: flex; align-items: flex-end; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,11,8,.72) 0%, rgba(10,11,8,.35) 55%, rgba(10,11,8,.15) 100%); }
.hero__over { position: relative; z-index: 2; padding-top: 0; padding-bottom: clamp(56px, 8vw, 110px); }
.hero--photo .hero__label { color: rgba(255,255,255,.8); }
.hero--photo .hero__google { color: #fff; }
.hero--photo .hero__stars { color: #cfe8cf; }
.hero--photo h1 { color: #fff; }
.hero--photo .hero__split { padding-bottom: 0; }
.variation .header:not(.is-solid) { color: #fff; }
.variation .header:not(.is-solid) .header__cta { background: #fff; color: var(--ink); }
.btn-light { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; }
.btn-light:hover { background: var(--linen); }
.btn-outline--light { border-color: rgba(255,255,255,.7); color: #fff; background: transparent; }
.btn-outline--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 900px) { .hero__over .hero__split { display: grid; } }

/* variation: left-aligned overlay text, single white pill (matches the reference layout) */
.variation .hero__over { display: flex; align-items: flex-end; min-height: 100%; padding-bottom: clamp(64px, 10vh, 120px); }
.variation .hero--photo::after { background: linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }
.variation .hero__main { max-width: 620px; }
.variation .hero--photo h1 { font-size: clamp(36px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -0.02em; }
.variation .hero__sub { color: rgba(255,255,255,.82); font-size: 16px; max-width: 26em; margin: 22px 0 0; }
.variation .hero__actions { margin-top: 30px; }
.variation .btn-light { height: 40px; padding: 0 20px; font-size: 14px; }

/* variation: Timeless Text for headings */
@font-face { font-family: "Timeless Text"; src: url("assets/fonts/TimelessText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.variation h1 { font-family: "Timeless Text", var(--serif); }

/* variation: Timeless Text variable font, light weight for headings */
@font-face { font-family: "Timeless Text VF"; src: url("assets/fonts/TimelessTextVF.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.variation h1 { font-family: "Timeless Text VF", "Timeless Text", var(--serif); font-weight: 300; }

/* serif moved from Geist Serif to Timeless Text (variable font), light weight for headings */
:root { --serif: "Timeless Text VF", "Timeless Text", Georgia, serif; }
h1, h2, h3, .footer__brand-name, .menu__nav a, .hero h1, .page-intro h1, .variation h1 { font-family: var(--serif); font-weight: 300 !important; }
/* variation: hero text centred vertically */
.variation .hero--photo { align-items: center; }
.variation .hero__over { align-items: center; padding-top: clamp(64px, 10vh, 120px); padding-bottom: clamp(64px, 10vh, 120px); }
/* variation: bottom fade + blur over the photo */
.variation .hero__photo { z-index: 0; }
.variation .hero--photo::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 42%; z-index: 1; pointer-events: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, rgba(0,0,0,.6) 45%, transparent 100%); }
.variation .hero--photo::after { z-index: 1; background: linear-gradient(to top, rgba(10,11,8,.75) 0%, rgba(10,11,8,0) 45%), linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }
.variation .hero__over { z-index: 2; }
/* variation: stronger blur band at the bottom of the photo */
.variation .hero--photo::before { height: 55%; backdrop-filter: blur(28px) saturate(1.05); -webkit-backdrop-filter: blur(28px) saturate(1.05); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 35%, rgba(0,0,0,.5) 70%, transparent 100%); mask-image: linear-gradient(to top, #000 0%, #000 35%, rgba(0,0,0,.5) 70%, transparent 100%); }

/* variation: real blurred copy of the photo over the bottom (works without backdrop-filter) */
.variation .hero__photo--blur { z-index: 1; filter: blur(22px); transform: scale(1.04); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 30%, rgba(0,0,0,.35) 60%, transparent 80%); mask-image: linear-gradient(to top, #000 0%, #000 30%, rgba(0,0,0,.35) 60%, transparent 80%); }
.variation .hero--photo::before { display: none; }

/* variation: progressive blur, four stacked layers with rising blur and coverage, plus a dark overlay */
.variation .pb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; pointer-events: none; z-index: 1; }
.variation .pb1 { filter: blur(3px); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 48%); mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 48%); }
.variation .pb2 { filter: blur(9px); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 36%, transparent 62%); mask-image: linear-gradient(to top, #000 0%, #000 36%, transparent 62%); }
.variation .pb3 { filter: blur(18px); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 52%, transparent 76%); mask-image: linear-gradient(to top, #000 0%, #000 52%, transparent 76%); }
.variation .pb4 { filter: blur(30px); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 68%, transparent 90%); mask-image: linear-gradient(to top, #000 0%, #000 68%, transparent 90%); }
.variation .hero--photo::before { display: none; }
.variation .hero--photo::after { z-index: 1; background: linear-gradient(to top, rgba(10,11,8,.82) 0%, rgba(10,11,8,.35) 40%, rgba(10,11,8,0) 65%), linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }
/* variation: progressive blur limited to the bottom 25% of the photo */
.variation .pb1 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 10%, transparent 25%); mask-image: linear-gradient(to top, #000 0%, #000 10%, transparent 25%); }
.variation .pb2 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 8%, transparent 21%); mask-image: linear-gradient(to top, #000 0%, #000 8%, transparent 21%); }
.variation .pb3 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 6%, transparent 17%); mask-image: linear-gradient(to top, #000 0%, #000 6%, transparent 17%); }
.variation .pb4 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 4%, transparent 13%); mask-image: linear-gradient(to top, #000 0%, #000 4%, transparent 13%); }
.variation .hero--photo::after { background: linear-gradient(to top, rgba(10,11,8,.8) 0%, rgba(10,11,8,.3) 12%, rgba(10,11,8,0) 25%), linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }
/* variation: blur runs from the bottom up to just below the button */
.variation .pb1 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 14%, transparent 36%); mask-image: linear-gradient(to top, #000 0%, #000 14%, transparent 36%); }
.variation .pb2 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 12%, transparent 32%); mask-image: linear-gradient(to top, #000 0%, #000 12%, transparent 32%); }
.variation .pb3 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 10%, transparent 29%); mask-image: linear-gradient(to top, #000 0%, #000 10%, transparent 29%); }
.variation .pb4 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 8%, transparent 25%); mask-image: linear-gradient(to top, #000 0%, #000 8%, transparent 25%); }
.variation .hero--photo::after { background: linear-gradient(to top, rgba(10,11,8,.8) 0%, rgba(10,11,8,.3) 16%, rgba(10,11,8,0) 36%), linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }
/* variation: solid blur from the bottom up to just below the button, short fade above */
.variation .pb1 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 28%, transparent 34%); mask-image: linear-gradient(to top, #000 0%, #000 28%, transparent 34%); }
.variation .pb2 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 26%, transparent 31%); mask-image: linear-gradient(to top, #000 0%, #000 26%, transparent 31%); }
.variation .pb3 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 24%, transparent 28%); mask-image: linear-gradient(to top, #000 0%, #000 24%, transparent 28%); }
.variation .pb4 { -webkit-mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 26%); mask-image: linear-gradient(to top, #000 0%, #000 22%, transparent 26%); }
.variation .hero--photo::after { background: linear-gradient(to top, rgba(10,11,8,.8) 0%, rgba(10,11,8,.45) 22%, rgba(10,11,8,0) 34%), linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }

/* full-width image bands between homepage sections */
.band { margin: 0; width: 100%; aspect-ratio: 21 / 9; overflow: hidden; background: var(--linen); }
.band img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .band { aspect-ratio: 16 / 9; } }

/* variation only: olive accent (the base palette stays as the original site) */
.variation { --slate: #959876; --slate-deep: #6F7158; }
.variation .btn-light { background: #fff; color: var(--ink); }
.variation .btn-light:hover { background: var(--linen); color: var(--ink); }

/* variation: dark frosted eyebrow link above the hero heading */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; padding: 8px 16px; border-radius: 999px; background: rgba(10,11,8,.45); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .01em; text-decoration: none; transition: background .25s; }
.eyebrow:hover { background: rgba(10,11,8,.65); }
/* variation: progressive blur running left to right (strongest at the left, behind the text) */
.variation .pb1 { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 60%, transparent 75%); mask-image: linear-gradient(to right, #000 0%, #000 60%, transparent 75%); }
.variation .pb2 { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 65%); mask-image: linear-gradient(to right, #000 0%, #000 50%, transparent 65%); }
.variation .pb3 { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 55%); mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 55%); }
.variation .pb4 { -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 45%); mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 45%); }
.variation .hero--photo::after { background: linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.2) 50%, rgba(10,11,8,0) 80%); }
/* variation: lighter blur, slightly darker overlay */
.variation .pb1 { filter: blur(2px); }
.variation .pb2 { filter: blur(5px); }
.variation .pb3 { filter: blur(10px); }
.variation .pb4 { filter: blur(16px); }
.variation .hero--photo::after { background: linear-gradient(90deg, rgba(10,11,8,.7) 0%, rgba(10,11,8,.35) 50%, rgba(10,11,8,.1) 85%); }
/* variation: overlay back to the previous setting */
.variation .hero--photo::after { background: linear-gradient(90deg, rgba(10,11,8,.55) 0%, rgba(10,11,8,.15) 60%, rgba(10,11,8,0) 100%); }

/* v3 dedicated pages: olive accent */
.v3-sub { --slate: #959876; --slate-deep: #6F7158; }

/* v3: larger eyebrow */
.variation .eyebrow { font-size: 15px; padding: 11px 20px; }
/* v3: smaller eyebrow */
.variation .eyebrow { font-size: 12px; padding: 6px 13px; margin-bottom: 20px; }

/* contact enquiry form (static, opens the email app) */
.enquire { padding: clamp(56px, 8vw, 110px) var(--gutter); }
.enquire__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; }
.enquire__title { font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 40px); margin: 0; }
.enquire__form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.enquire__field { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.enquire__field--wide { grid-column: 1 / -1; }
.enquire__field input, .enquire__field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; }
.enquire__field input:focus, .enquire__field textarea:focus { outline: 2px solid var(--slate); outline-offset: 0; }
.enquire__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin: 0; }
.enquire__submit { justify-self: start; height: 48px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--ink); color: var(--linen-soft); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background .25s; }
.enquire__submit:hover { background: var(--slate-deep); }
@media (max-width: 760px) { .enquire__inner { grid-template-columns: 1fr; } .enquire__form { grid-template-columns: 1fr; } }
