/*
  X Dental — home page
  VOICE   calm, warm, unhurried; a boutique wellness studio, never a clinic
  IDEA    a lifestyle magazine feature about a place: photographs lead, type frames them
  COLOUR  warm white #FAF8F5, linen #F1EDE7, stone #D9D3CA, warm charcoal #2B2926, sage #7E8F78 (accent, used sparingly)
  TYPE    Newsreader (light, optical sizes) for headlines and quotes; Manrope for body and UI
  LAYOUT  full-bleed, asymmetric editorial columns, lots of air; one pinned horizontal gallery
*/
/* fonts are bundled in ./fonts so the site works offline and from any folder */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/manrope-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('fonts/manrope-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-italic-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: italic; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-italic-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-normal-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 300 400; font-display: swap; src: url('fonts/newsreader-normal-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #FAF8F5;
  --linen: #F1EDE7;
  --stone: #D9D3CA;
  --stone-ink: #6E6860;
  --ink: #2B2926;
  --sage: #7E8F78;
  --sage-deep: #55634F;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 80px);
  --max: 1360px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font: 400 17px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; text-rendering: optimizeLegibility; overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ol, ul { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }

.h2 {
  font: 300 clamp(36px, 4.6vw, 68px)/1.04 var(--serif);
  letter-spacing: -.015em; text-wrap: balance;
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
  font: 500 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: background .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.btn-small { min-height: 44px; padding: 0 20px; font-size: 14px; background: var(--ink); color: var(--white); }
.btn-light { background: rgba(250, 248, 245, .94); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; justify-self: start;
  background: linear-gradient(var(--sage), var(--sage)) left calc(100% - 8px) / 100% 1px no-repeat; transition: background-size .7s var(--ease), color .4s; }
.text-link:hover { color: var(--sage-deep); background-size: 0% 1px; background-position: right calc(100% - 8px); }
.text-link::after { content: ""; width: 0; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 32px;
  padding: 18px var(--pad); color: var(--white);
  transition: background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease), box-shadow .6s;
}
.nav.is-solid { background: rgba(250, 248, 245, .86); backdrop-filter: blur(10px); color: var(--ink); padding-block: 12px; box-shadow: 0 1px 0 rgba(43, 41, 38, .06); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .7s var(--ease), background .6s var(--ease), color .6s var(--ease), padding .6s var(--ease); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 400 24px/1 var(--serif); letter-spacing: -.01em; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; transition: transform 1.2s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; text-decoration: none; opacity: .85; padding: 12px 0; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn-small { background: var(--white); color: var(--ink); }
.nav.is-solid .btn-small { background: var(--ink); color: var(--white); }
.menu-btn { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; background: none; color: inherit; cursor: pointer; position: relative; }
.menu-btn span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--white); display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 96px var(--pad) 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 300 40px/1.2 var(--serif); text-decoration: none; padding: 6px 0; }
.mobile-menu .mm-phone { font: 500 16px/1 var(--sans); margin-top: 24px; color: var(--sage-deep); }
body.menu-open .nav { color: var(--ink); background: transparent; backdrop-filter: none; box-shadow: none; }

.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--sage); transform-origin: 0 50%; transform: scaleX(0); }

/* WebGL stage for gallery imagery */
.gl-stage { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 4; pointer-events: none; }

/* frames: DOM images stay for layout and a11y; hidden once WebGL draws them */
.frame { position: relative; overflow: hidden; background: var(--linen); border-radius: 2px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame.is-gl { background: transparent; }
.frame.is-gl img { opacity: 0; }

/* HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; will-change: transform; transform-origin: 50% 0; overflow: hidden; }
.hero-media img, .hero-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media canvas { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-media canvas.ready { opacity: 1; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(28, 24, 20, .34) 0%, rgba(28, 24, 20, 0) 26%),
  linear-gradient(0deg, rgba(28, 24, 20, .58) 0%, rgba(28, 24, 20, .12) 46%, rgba(28, 24, 20, 0) 64%); }
.hero-copy { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(88px, 13vh, 140px); max-width: 1180px; }
.hero-kicker { font-size: 15px; font-weight: 500; opacity: .9; margin-bottom: 18px; }
.hero-title { font: 300 clamp(44px, 7.4vw, 116px)/.98 var(--serif); letter-spacing: -.025em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:nth-child(2) { font-style: italic; padding-left: clamp(0px, 6vw, 110px); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.link-light { font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(250, 248, 245, .5); padding: 12px 0 4px; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; justify-content: space-between; align-items: end; font-size: 13px; opacity: .85; }
.scroll-cue { width: 1px; height: 44px; background: rgba(250, 248, 245, .3); position: relative; overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; width: 1px; height: 18px; background: var(--white); animation: cue 2.8s var(--ease) infinite; }
@keyframes cue { from { top: -18px; } to { top: 44px; } }
.hero-count b { font-weight: 600; }

/* INTRO */
.intro { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(110px, 18vw, 240px) var(--pad) clamp(90px, 12vw, 180px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.intro-text { font: 300 clamp(28px, 3.6vw, 52px)/1.22 var(--serif); letter-spacing: -.012em; max-width: 22em; text-wrap: pretty; }
.intro-text .w { opacity: .16; }
.intro-meta { display: grid; gap: 12px; max-width: 30em; justify-self: end; color: var(--stone-ink); }
@media (min-width: 900px) { .intro-meta { margin-right: 6vw; } }

/* EXPERIENCE */
.experience { background: var(--linen); }
.exp-pin { padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 10vw, 120px); }
.exp-head { padding: 0 var(--pad); display: grid; gap: 18px; max-width: var(--max); margin: 0 auto 56px; }
.exp-head p { max-width: 32em; color: var(--stone-ink); }
.exp-track { display: grid; gap: 64px; padding: 0 var(--pad); }
.exp-item { display: grid; gap: 20px; }
.exp-item .frame { aspect-ratio: 4 / 5; }
.exp-item figcaption { display: grid; gap: 8px; max-width: 26em; }
.exp-item h3 { font: 400 26px/1.15 var(--serif); }
.exp-item figcaption p { color: var(--stone-ink); font-size: 16px; }
@media (min-width: 900px) {
  .exp-pin { height: 100vh; min-height: 680px; padding: 0; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .exp-head { grid-template-columns: minmax(0, 1fr) minmax(0, 26em); align-items: end; width: 100%; margin-bottom: 4vh; }
  .exp-track { display: flex; align-items: flex-start; gap: 6vw; width: max-content; padding-right: 12vw; will-change: transform; }
  .exp-item { flex: none; }
  .exp-a { width: 34vw; } .exp-a .frame { aspect-ratio: 4 / 3; height: auto; }
  .exp-b { width: 22vw; margin-top: 8vh; }
  .exp-c { width: 24vw; margin-top: -2vh; }
  .exp-d { width: 40vw; margin-top: 6vh; } .exp-d .frame { aspect-ratio: 16 / 10; }
  .exp-e { width: 22vw; }
  .exp-item .frame { max-height: 54vh; }
  .exp-b .frame, .exp-c .frame, .exp-e .frame { aspect-ratio: 3 / 4; }
}

/* SERVICES */
.services { max-width: var(--max); margin: 0 auto; padding: clamp(100px, 14vw, 200px) var(--pad); }
.services-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 7vw, 96px); }
.services-head p { max-width: 30em; color: var(--stone-ink); }
@media (min-width: 900px) { .services-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 6vw; } }
.service-list { border-top: 1px solid var(--stone); }
.service { display: grid; gap: 10px; padding: 32px 0; border-bottom: 1px solid var(--stone); position: relative; cursor: default; }
.service-frame { width: 100%; aspect-ratio: 16 / 10; margin-bottom: 12px; }
.service-name { font: 300 clamp(32px, 4.4vw, 64px)/1.04 var(--serif); letter-spacing: -.015em; transition: transform .9s var(--ease), color .6s; }
.service-desc { max-width: 30em; }
.service-tags { font-size: 14px; color: var(--stone-ink); }
@media (min-width: 900px) {
  .service { grid-template-columns: 220px minmax(0, 1.2fr) minmax(0, 1fr); column-gap: 4vw; padding: 32px 0; align-items: center; }
  .service-frame { grid-row: 1 / span 2; aspect-ratio: 4 / 3; margin: 0; }
  .service-name { grid-row: 1 / span 2; grid-column: 2; }
  .service-desc, .service-tags { grid-column: 3; }
  .service-list:hover .service .service-name { color: rgba(43, 41, 38, .35); }
  .service-list:hover .service:hover .service-name { color: var(--ink); transform: translateX(18px); }
}

/* DENTIST */
.dentist { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(100px, 14vw, 200px); display: grid; gap: 48px; }
.frame-tall { aspect-ratio: 4 / 5; }
.dentist-copy { display: grid; gap: 28px; align-content: center; }
.philosophy p { font: 300 italic clamp(24px, 2.4vw, 34px)/1.35 var(--serif); color: var(--ink); text-wrap: pretty; }
.dentist-bio { color: var(--stone-ink); max-width: 34em; }
.team-row { display: grid; gap: 16px; border-top: 1px solid var(--stone); padding-top: 24px; }
.team-row li { display: grid; gap: 2px; font-size: 15px; }
.team-row b { font-weight: 600; }
.team-row span { color: var(--stone-ink); }
@media (min-width: 900px) {
  .dentist { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw; align-items: center; }
  .team-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* VOICES */
.voices { background: var(--linen); }
.voices-pin { display: grid; align-content: center; gap: 40px; padding: clamp(90px, 12vw, 160px) var(--pad); max-width: var(--max); margin: 0 auto; }
.quotes { display: grid; gap: 64px; }
.quote { display: grid; gap: 22px; max-width: 980px; }
.quote img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.quote blockquote p { font: 300 clamp(28px, 3.8vw, 54px)/1.18 var(--serif); letter-spacing: -.012em; text-wrap: balance; }
.quote figcaption { font-size: 15px; font-weight: 500; color: var(--sage-deep); }
.quotes.is-stacked { grid-template-areas: "q"; }
.quotes.is-stacked .quote { grid-area: q; }
.sample-note { font-size: 13px; color: var(--stone-ink); }
.voices-controls { display: flex; align-items: center; gap: 14px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--stone); background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: border-color .4s, background .4s, color .4s, transform .4s var(--ease); }
.arrow svg { width: 20px; height: 20px; }
.arrow:hover { border-color: var(--sage); color: var(--sage-deep); background: var(--white); }
.arrow:active { transform: scale(.94); }
.q-count { font-size: 14px; color: var(--stone-ink); min-width: 3.2em; text-align: center; font-variant-numeric: tabular-nums; }
.quotes.is-stacked { touch-action: pan-y; }

/* ASSURE */
.assure { padding: clamp(80px, 10vw, 140px) var(--pad); max-width: var(--max); margin: 0 auto; }
.assure-grid { display: grid; gap: 0; border-top: 1px solid var(--stone); }
.assure-item { padding: 28px 0; border-bottom: 1px solid var(--stone); display: grid; gap: 8px; }
.assure-item h3 { font: 400 24px/1.2 var(--serif); }
.assure-item p { color: var(--stone-ink); font-size: 16px; }
@media (min-width: 700px) { .assure-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; } }
@media (min-width: 1100px) {
  .assure-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--stone); }
  .assure-item { border-bottom: 0; padding: 36px 32px 36px 0; }
  .assure-item + .assure-item { border-left: 1px solid var(--stone); padding-left: 32px; }
}

/* BOOK */
.book { position: relative; padding: clamp(60px, 10vw, 140px) var(--pad); overflow: hidden; min-height: 100vh; display: grid; align-items: center; }
.book-media { position: absolute; inset: -12% 0; }
.book-media img { width: 100%; height: 100%; object-fit: cover; }
.book-media::after { content: ""; position: absolute; inset: 0; background: rgba(241, 237, 231, .2); }
.book-card { position: relative; z-index: 1; background: var(--white); max-width: 640px; padding: clamp(28px, 4.4vw, 64px); border-radius: 4px; display: grid; gap: 22px; box-shadow: 0 40px 80px -40px rgba(43, 41, 38, .35); }
.book-lede { color: var(--stone-ink); }
.book-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select {
  font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--linen);
  border: 1px solid transparent; border-radius: 10px; min-height: 52px; padding: 0 16px; width: 100%;
  transition: border-color .4s, background .4s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E6860' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sage); background: #fff; }
.field input[aria-invalid="true"] { border-color: #A4553F; }
.form-status { font-size: 15px; color: var(--sage-deep); min-height: 1.4em; }
.form-status.err { color: #A4553F; }
.book-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--stone); padding-top: 22px; font-size: 16px; }
.book-contact span { display: block; font-size: 13px; color: var(--stone-ink); margin-bottom: 4px; }
.book-contact a { font: 400 22px/1.2 var(--serif); text-decoration: none; display: inline-block; padding: 4px 0; }
.book-contact address { font-style: normal; }
@media (max-width: 520px) { .book-form, .book-contact { grid-template-columns: minmax(0, 1fr); } }

/* FOOTER */
.footer { padding: clamp(80px, 10vw, 140px) var(--pad) 120px; overflow: hidden; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
.footer-mark { font: 300 clamp(72px, 19vw, 300px)/.8 var(--serif); letter-spacing: -.04em; color: var(--stone); white-space: nowrap; margin: 24px 0 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 14px; color: var(--stone-ink); }
.footer-row a { margin-left: auto; min-height: 44px; }
@media (min-width: 900px) { .footer { padding-bottom: 48px; } }

/* mobile sticky booking */
.mobile-book { position: fixed; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; display: none; align-items: center; justify-content: center; min-height: 54px; border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 500; font-size: 15px; box-shadow: 0 16px 40px -16px rgba(43, 41, 38, .5); transform: translateY(140%); transition: transform .7s var(--ease); }
.mobile-book.show { transform: none; }

@media (max-width: 899px) {
  .nav-links, .nav .btn-small { display: none; }
  .menu-btn { display: block; }
  .mobile-book { display: flex; }
  .hero-copy { bottom: 96px; }
}

/* motion off */


/* ---------- shared links ---------- */
.section-link { margin-top: 32px; }
.nav-links a[aria-current="page"] { opacity: 1; }
.mobile-menu a[aria-current="page"] { color: var(--sage-deep); }

/* ---------- inner pages ---------- */
.hero--page { height: 78vh; height: 78svh; min-height: 520px; }
.hero--page .hero-title { font-size: clamp(44px, 6.6vw, 100px); }
.page-lede { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 13vw, 180px) var(--pad) clamp(60px, 8vw, 120px); display: grid; gap: 32px; }
.page-lede .intro-text { max-width: 24em; }
.page-lede .cols { display: grid; gap: 24px; color: var(--stone-ink); max-width: 980px; justify-self: end; }
@media (min-width: 900px) { .page-lede .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; } }

.split { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 9vw, 140px) var(--pad); display: grid; gap: 40px; align-items: center; }
.split .frame { aspect-ratio: 4 / 5; }
.split-copy { display: grid; gap: 22px; align-content: center; }
.split-copy > p { color: var(--stone-ink); max-width: 34em; }
.split-copy .philosophy p { color: var(--ink); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 7vw; }
  .split.flip .frame-wrap { order: 2; }
  .split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

.principles { background: var(--linen); padding: clamp(80px, 11vw, 160px) var(--pad); }
.principles-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.principle-list { display: grid; gap: 0; border-top: 1px solid var(--stone); }
.principle { display: grid; gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--stone); }
.principle h3 { font: 400 clamp(24px, 2.4vw, 32px)/1.2 var(--serif); }
.principle p { color: var(--stone-ink); max-width: 36em; }
@media (min-width: 900px) { .principle { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6vw; padding: 36px 0; align-items: baseline; } }

.team { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 160px) var(--pad); display: grid; gap: 48px; }
.team-grid { display: grid; gap: 48px 32px; }
.member { display: grid; gap: 14px; }
.member .frame { aspect-ratio: 4 / 5; }
.member h3 { font: 400 26px/1.2 var(--serif); }
.member .role { color: var(--sage-deep); font-weight: 500; font-size: 15px; }
.member p { color: var(--stone-ink); font-size: 16px; }
@media (min-width: 700px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .member:nth-child(3n+2) { margin-top: 8vh; } }

.cta-band { position: relative; overflow: hidden; background: var(--ink); color: var(--white); padding: clamp(80px, 11vw, 150px) var(--pad); }
.cta-band-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 28px; justify-items: start; }
.cta-band p { color: rgba(250, 248, 245, .75); max-width: 32em; }
.cta-band .btn { background: var(--white); color: var(--ink); }
.cta-band .btn:hover { background: var(--linen); }
.cta-band a.link-light { margin-left: 4px; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }

/* services page */
.detail { max-width: var(--max); margin: 0 auto; padding: clamp(60px, 8vw, 120px) var(--pad); display: grid; gap: 36px; border-top: 1px solid var(--stone); }
.detail:first-of-type { border-top: 0; }
.detail .frame { aspect-ratio: 4 / 3; }
.detail-copy { display: grid; gap: 20px; align-content: start; }
.detail-copy > p { max-width: 34em; }
.detail-copy .muted { color: var(--stone-ink); }
.includes { display: grid; gap: 10px; border-top: 1px solid var(--stone); padding-top: 20px; }
.includes li { position: relative; padding-left: 22px; font-size: 16px; }
.includes li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--sage); }
@media (min-width: 900px) {
  .detail { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 6vw; align-items: center; }
  .detail.flip .frame { order: 2; }
  .detail.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}
.steps { background: var(--linen); padding: clamp(80px, 11vw, 150px) var(--pad); }
.steps-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
.step-list { display: grid; gap: 32px; counter-reset: s; }
.step { display: grid; gap: 10px; border-top: 1px solid var(--stone); padding-top: 24px; counter-increment: s; }
.step::before { content: counter(s); font: 300 44px/1 var(--serif); color: var(--sage-deep); }
.step h3 { font: 400 24px/1.2 var(--serif); }
.step p { color: var(--stone-ink); font-size: 16px; }
@media (min-width: 900px) { .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }

/* contact page */
.contact { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--pad); display: grid; gap: 56px; }
.contact .book-card { box-shadow: none; background: var(--linen); max-width: none; }
.contact .field input, .contact .field select { background: var(--white); }
.contact-info { display: grid; gap: 36px; align-content: start; }
.info-block { display: grid; gap: 8px; border-top: 1px solid var(--stone); padding-top: 22px; }
.info-block h2 { font: 400 26px/1.2 var(--serif); }
.info-block p, .info-block address { color: var(--stone-ink); font-style: normal; }
.info-block a.big { font: 400 30px/1.2 var(--serif); text-decoration: none; color: var(--ink); display: inline-block; padding: 4px 0; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 6px 32px; color: var(--stone-ink); }
.hours dt { color: var(--ink); font-weight: 500; }
.hours dd { margin: 0; white-space: nowrap; }
@media (min-width: 900px) { .contact { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 6vw; } }

.faq { max-width: 980px; margin: 0 auto; padding: 0 var(--pad) clamp(90px, 12vw, 160px); display: grid; gap: 32px; }
.faq details { border-top: 1px solid var(--stone); }
.faq details:last-child { border-bottom: 1px solid var(--stone); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 64px; padding: 18px 0; font: 400 clamp(21px, 2vw, 26px)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--sage-deep); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--stone-ink); max-width: 40em; }

/* ---------- demo content additions ---------- */
.stars { color: #C9B27C; letter-spacing: .12em; }
.hero-rating { font-size: 14px; font-weight: 500; }
.hero-rating .stars { margin-right: 6px; }
@media (max-width: 899px) { .hero-rating { display: none; } }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--stone); margin-top: 24px; }
.highlights li { display: grid; gap: 4px; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--stone); }
.highlights b { font: 400 21px/1.25 var(--serif); }
.highlights span { font-size: 15px; color: var(--stone-ink); }
@media (min-width: 900px) { .highlights { grid-template-columns: repeat(4, minmax(0, 1fr)); } .highlights li { border-bottom: 0; padding: 28px 24px 0 0; } .highlights li + li { border-left: 1px solid var(--stone); padding-left: 24px; } }

.service-name a { text-decoration: none; }
.service-name a:hover { color: var(--sage-deep); }

.offers { padding: 0 var(--pad) clamp(100px, 14vw, 200px); }
.offers-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 40px; }
.offer-grid { display: grid; gap: 16px; }
.offer { position: relative; overflow: hidden; background: var(--linen); border-radius: 4px; padding: clamp(28px, 3vw, 44px); display: grid; gap: 12px; align-content: start; }
.offer h3 { font: 400 26px/1.2 var(--serif); }
.offer p { color: var(--stone-ink); font-size: 16px; }
.offer .offer-price { font: 300 clamp(44px, 5vw, 72px)/1 var(--serif); color: var(--sage-deep); letter-spacing: -.02em; }
.offer-main { background: var(--ink); color: var(--white); }
.offer-main p { color: rgba(250, 248, 245, .75); }
.offer-main .offer-price { color: #CBD5C4; }
.offer-main .btn { background: var(--white); color: var(--ink); justify-self: start; margin-top: 8px; }
.offer-main .btn:hover { background: var(--linen); }
.offer-note { font-size: 13px; color: var(--stone-ink); }
@media (min-width: 900px) { .offer-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }

.voices-head { display: grid; gap: 12px; }
.rating { font-size: 15px; color: var(--stone-ink); }
.rating b { color: var(--ink); }
@media (min-width: 900px) { .voices-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

.footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 32px 0 40px; border-top: 1px solid var(--stone); margin-bottom: 24px; }
.footer-cols h3 { font: 500 14px/1.4 var(--sans); margin-bottom: 8px; }
.footer-cols p { font-size: 15px; color: var(--stone-ink); line-height: 1.8; }
.footer-cols a { text-decoration: none; }
.footer-cols a:hover { color: var(--sage-deep); }
@media (min-width: 900px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* about extras */
.creds { display: grid; gap: 6px; font-size: 15px; color: var(--stone-ink); border-top: 1px solid var(--stone); padding-top: 18px; }
.creds b { color: var(--ink); font-weight: 600; }
.reviews { max-width: var(--max); margin: 0 auto; padding: clamp(80px, 11vw, 150px) var(--pad); display: grid; gap: 40px; }
.review-grid { display: grid; gap: 16px; }
.review { background: var(--linen); border-radius: 4px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.review blockquote p { font: 300 22px/1.4 var(--serif); }
.review figcaption { font-size: 14px; font-weight: 500; color: var(--sage-deep); }
@media (min-width: 700px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.community { background: var(--linen); }
.langs { display: flex; flex-wrap: wrap; gap: 8px; }
.langs li { border: 1px solid var(--stone); border-radius: 999px; padding: 6px 14px; font-size: 14px; }

/* services extras */
.svc-nav { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; gap: 8px; }
.svc-nav a { text-decoration: none; border: 1px solid var(--stone); border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.svc-nav a:hover { border-color: var(--sage); color: var(--sage-deep); }
.price-from { font-size: 15px; color: var(--stone-ink); }
.price-from b { color: var(--ink); font-weight: 600; }

/* contact extras */
.map { position: relative; border-radius: 4px; overflow: hidden; background: #EDE8E1; aspect-ratio: 16 / 10; }
.map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad) clamp(80px, 10vw, 140px); display: grid; gap: 32px; }
.map-notes { display: grid; gap: 24px; }
.map-notes div { display: grid; gap: 6px; border-top: 1px solid var(--stone); padding-top: 18px; }
.map-notes h3 { font: 400 22px/1.25 var(--serif); }
.map-notes p { color: var(--stone-ink); font-size: 16px; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 6vw; align-items: start; } }
.emergency { background: var(--ink); color: var(--white); border-radius: 4px; padding: 28px; display: grid; gap: 8px; }
.emergency h2 { font: 400 26px/1.2 var(--serif); }
.emergency p { color: rgba(250, 248, 245, .78); }
.emergency a { font: 400 28px/1.2 var(--serif); text-decoration: none; }
.offers-top { padding-top: clamp(100px, 14vw, 200px); }

/* ---------- logo system ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--white); display: none; align-items: center; justify-content: center; will-change: transform; }
.js .loader { display: flex; animation: loader-safety 0s 4s forwards; }
.js.seen .loader { display: none; }
@keyframes loader-safety { to { visibility: hidden; } }
.loader-in { display: grid; justify-items: center; gap: 18px; color: var(--ink); }
.loader-mark { width: 72px; height: 72px; overflow: visible; }
.loader-mark .ld { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.loader-mark circle.ld { stroke: var(--sage); stroke-width: .9; }
.loader-word { font: 400 22px/1 var(--serif); letter-spacing: .02em; }

.intro-seal { position: absolute; width: min(52vw, 620px); height: min(52vw, 620px); right: -8vw; top: 8%; color: var(--stone); opacity: .55; pointer-events: none; }
.intro > *:not(.intro-seal) { position: relative; }
.h-mark { width: .62em; height: .62em; color: var(--sage); margin-right: .28em; vertical-align: .02em; }
.card-seal { position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; color: rgba(250, 248, 245, .08); pointer-events: none; }
.book-mark { width: 34px; height: 34px; color: var(--sage); }
.cta-seal { position: absolute; width: min(70vw, 760px); height: min(70vw, 760px); right: -14vw; top: 50%; margin-top: calc(min(70vw, 760px) / -2); color: rgba(250, 248, 245, .07); pointer-events: none; }
.cta-band-in { position: relative; }

.footer-top { display: grid; gap: 20px; justify-items: start; padding-bottom: 48px; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font: 400 34px/1 var(--serif); letter-spacing: -.01em; }
.footer-seal { width: 64px; height: 64px; color: var(--sage-deep); }
.footer-tag { color: var(--stone-ink); max-width: 30em; }
@media (min-width: 900px) { .footer-top { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 48px; } }

.faq details p { overflow: hidden; }
::selection { background: #DCE3DA; color: var(--ink); }
