@font-face {
  font-family: Manrope;
  src: url("assets/manrope-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 200 800;
}

:root {
  color-scheme: light;
  --paper: #f7f6f2;
  --white: #fdfcf8;
  --ink: #192620;
  --forest: #26362c;
  --sage: #dde5dc;
  --linen: #eceae3;
  --moss: #52645a;
  --line: #c9cec4;
  --wrap: min(100% - clamp(2.25rem, 7.2vw, 9rem), 88rem);
  --space: clamp(3.6rem, 8vw, 8rem);
  --header: 4.8rem;
  --ease: cubic-bezier(.23,.77,.24,1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-block-start: calc(var(--header) + 1rem); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 450 1rem/1.63 Manrope, "Segoe UI", sans-serif;
}
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4 { font-weight: 520; }
h2 { font-size: clamp(2.15rem, 4.8vw, 5.35rem); letter-spacing: -.057em; line-height: 1.02; text-wrap: balance; }
h3 { font-size: clamp(1.2rem, 2.15vw, 2rem); letter-spacing: -.055em; line-height: 1.17; }
p { max-inline-size: 62ch; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; }
img { display: block; inline-size: 100%; block-size: auto; }
figure, fieldset { min-inline-size: 0; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { inline-size: var(--wrap); margin-inline: auto; }
.section { padding-block: var(--space); }
.visually-hidden, .skip-link:not(:focus) {
  position: absolute; inline-size: 1px; block-size: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link { position: fixed; z-index: 10; inset: .4rem auto auto .4rem; padding: .55rem .85rem; color: var(--ink); background: var(--white); }

.site-header {
  position: sticky;
  z-index: 5;
  inset-block-start: 0;
  background: var(--paper);
  border-block-end: 1px solid transparent;
}
.site-header.is-scrolled { border-color: var(--line); background: var(--white); }
.header-row {
  position: relative;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  min-block-size: var(--header);
  gap: clamp(.6rem, 2vw, 2rem);
}
.brand { display: inline-flex; align-items: center; gap: .7rem; width: fit-content; text-decoration: none; }
.brand-mark { inline-size: 1.83rem; block-size: auto; flex: none; }
.brand-type { display: grid; justify-items: center; gap: .35rem; line-height: 1; text-transform: uppercase; }
.brand-word { --tracking: .285em; font-size: 1.2rem; font-weight: 520; letter-spacing: var(--tracking); padding-inline-start: var(--tracking); }
.brand-caption { --tracking: .34em; font-size: .46rem; font-weight: 600; letter-spacing: var(--tracking); padding-inline-start: var(--tracking); }

.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 1.8vw, 2rem); }
.desktop-nav a, .desktop-nav summary, .mobile-menu a { text-decoration: none; font-size: .83rem; font-weight: 680; }
.desktop-nav > a, .treatment-menu summary { display: flex; min-block-size: 2.75rem; align-items: center; white-space: nowrap; }
.desktop-nav a:hover, .desktop-nav summary:hover, .desktop-nav [aria-current="page"], .treatment-menu[data-current] summary, .mobile-menu [aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.desktop-nav summary, .mobile-menu summary, .faq-list summary, .visit-steps summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.mobile-menu { display: none; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  max-width: 100%;
  min-block-size: 3.1rem;
  gap: .9rem;
  padding: .68rem 1.05rem;
  border: 1px solid transparent;
  border-radius: .32rem;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 760;
  line-height: 1.25;
}
.arrow { flex: none; font-size: .99em; }
.button-primary { background: var(--forest); color: var(--white); }
.button-primary:hover { background: #354e3f; }
.button-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.button-outline:hover { background: var(--sage); border-color: var(--sage); }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: #c9dbc9; }
.button-primary:focus-visible { outline-color: var(--moss); }
.button-light:focus-visible { outline-color: var(--white); }
.site-header .button { min-block-size: 2.65rem; white-space: nowrap; }
.text-link { font-weight: 730; text-underline-offset: .26em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--moss); }
.actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.line-icon { inline-size: 1.15rem; block-size: 1.15rem; flex: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr);
  align-items: center;
  gap: clamp(1rem, 4vw, 5.4rem);
  min-block-size: min(43.8rem, 76svh);
  padding-block: clamp(1.4rem, 3.5vw, 3.8rem);
}
.hero h1 { font-size: clamp(4rem, 8.6vw, 9rem); line-height: .95; letter-spacing: -.066em; }
.hero-line { display: block; overflow: clip; padding: .045em .16em .13em 0; margin-block: -.04em -.12em; }
.hero-line > span { display: block; }
.hero-copy p { max-inline-size: 36ch; margin-block: clamp(1.3rem, 3.4vw, 2.45rem) 1.45rem; color: var(--moss); font-size: clamp(.98rem, 1.36vw, 1.22rem); }
.hero-visual { padding-inline-end: clamp(.45rem, 1.1vw, 1rem); }
.hero-portrait {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.11;
  background: #d7d9ce;
  border-start-end-radius: 37% 42%;
  overflow: clip;
}
.hero-portrait img { position: absolute; inset: 0; block-size: 100%; object-fit: cover; object-position: 51% 47%; }
.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .65rem 1.25rem;
  padding-block: .9rem;
  border-block: 1px solid var(--line);
  color: var(--moss);
  font-size: .77rem;
  font-weight: 680;
}
.hero-foot a { text-underline-offset: .25em; }
.hero-foot a span { margin-inline-start: .25rem; }

.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 1.2rem; margin-block-end: clamp(1.5rem, 3.6vw, 3rem); }
.section-heading p { margin-block-start: 1rem; color: var(--moss); }
.media { overflow: clip; background: var(--sage); }
.media img { block-size: 100%; object-fit: cover; }
.treatment-explorer { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1rem, 4vw, 4rem); }
.treatment-tabs { display: grid; align-content: start; border-block-start: 1px solid var(--line); }
.treatment-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .45rem;
  min-block-size: 3.5rem;
  padding: .65rem .75rem;
  border: 0;
  border-block-end: 1px solid var(--line);
  background: transparent;
  text-align: start;
  font-size: clamp(.87rem, 1.6vw, 1.14rem);
  font-weight: 640;
}
.treatment-tabs button span:last-child { opacity: .54; font-size: .83em; }
.treatment-tabs button:hover { background: var(--linen); }
.treatment-tabs [aria-selected="true"], .treatment-tabs [aria-selected="true"]:hover { background: var(--sage); box-shadow: inset .22rem 0 var(--forest); font-weight: 800; }
.treatment-panel { overflow: clip; background: var(--sage); }
.treatment-panel .media { aspect-ratio: 2.08; }
.treatment-panel-copy { padding: clamp(1.2rem, 2.7vw, 2.5rem); }
.treatment-panel-copy p { margin-block: .62rem 1rem; color: var(--moss); }
.treatment-panel-copy .button { border-color: #8b9a90; }
.treatment-panel-copy .button:hover { background: var(--white); border-color: var(--white); }
.treatment-explorer:has(.treatment-tabs[hidden]) { grid-template-columns: 1fr; }

.philosophy { background: var(--sage); padding-block: var(--space); }
.philosophy-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .86fr); align-items: center; gap: clamp(1.4rem, 5.4vw, 6rem); }
.philosophy .media { aspect-ratio: 1.12; border-end-start-radius: 28% 22%; }
.philosophy-copy p { margin-block: 1.15rem; color: var(--moss); }
.plain-list { margin: 1.4rem 0; padding: 0; list-style: none; border-block-start: 1px solid #a8b6ac; }
.plain-list li { padding: .58rem 0; border-block-end: 1px solid #a8b6ac; }
.philosophy .button:hover { background: var(--white); }

.tech-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.8fr) minmax(0,1fr); grid-template-rows: auto auto; gap: .8rem; }
.tech-grid article { display: grid; overflow: clip; }
.tech-feature { grid-area: 1 / 1 / 3 / 2; align-content: space-between; background: var(--forest); color: var(--white); }
.tech-feature .media { aspect-ratio: 1.38; }
.tech-feature > div:last-child { padding: clamp(1rem, 2.8vw, 2.45rem); }
.tech-grid article p { margin-block-start: .65rem; }
.tech-description, .tech-planning > div:last-child { position: relative; isolation: isolate; padding: clamp(1rem, 2.6vw, 2.3rem); align-content: center; }
.tech-description { background: var(--sage); }
.tech-description p { max-inline-size: 25ch; }
.tech-mark { position: absolute; z-index: -1; opacity: .06; inset: auto -.5rem -1.4rem auto; inline-size: min(80%,12rem); }
.tech-planning { grid-area: 2 / 2 / 3 / 3; background: var(--linen); border-end-end-radius: 22% 24%; }
.tech-planning .media { aspect-ratio: 2.25; }
.tech-room { grid-area: 1 / 3 / 3 / 4; position: relative; min-block-size: 16rem; align-items: end; }
.tech-room .media { position: absolute; inset: 0; }
.tech-room h3 { position: relative; padding: .72rem 1rem; max-inline-size: 15ch; color: var(--ink); background: var(--white); }

.team-band, .faq-band { background: var(--linen); }
.team-list { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(.8rem, 2.6vw, 2.4rem); }
.person > a:first-child { display: block; text-decoration: none; }
.person > a:first-child:hover h3 { text-decoration: underline; text-underline-offset: .21em; }
.person .media { aspect-ratio: .88; }
.person .media img { object-position: 50% 36%; }
.person h3 { margin-block-start: .85rem; }
.person h3 .arrow { font-size: .58em; }
.person p { color: var(--moss); margin-block: .33rem; }
.person > .text-link { display: inline-flex; min-block-size: 2.75rem; align-items: center; font-size: .86rem; }

.gallery-grid { display: grid; grid-template-columns: minmax(0,1.28fr) minmax(0,.72fr); column-gap: clamp(.75rem, 2.8vw, 2.6rem); row-gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.gallery-shot { display: grid; gap: .6rem; text-decoration: none; font-size: .86rem; font-weight: 700; }
.gallery-shot .media { aspect-ratio: 1.55; }
.gallery-shot:nth-child(2n) .media, .gallery-shot:nth-child(3) .media { aspect-ratio: 1.28; }
.gallery-shot:first-child { grid-row: span 2; }
.gallery-shot:first-child .media { aspect-ratio: 1.11; }
.gallery-shot > span { display: flex; justify-content: space-between; border-block-end: 1px solid var(--line); padding-block-end: .55rem; }
.gallery-shot:hover > span { text-decoration: underline; text-underline-offset: .26em; }
.gallery-dialog {
  inline-size: min(62rem, 100% - 1.4rem);
  max-block-size: calc(100dvh - 1.4rem);
  overflow: auto;
  overscroll-behavior: contain;
  border: 0;
  padding: clamp(.75rem, 2vw, 1.5rem);
  background: var(--paper);
  color: var(--ink);
}
html:has(.gallery-dialog[open]) { overscroll-behavior: none; }
.gallery-dialog::backdrop { background: rgb(25 38 32 / 82%); }
.gallery-dialog-top, .gallery-dialog-actions, .quote-actions { display: flex; gap: .75rem; align-items: center; }
.gallery-dialog-top { justify-content: space-between; gap: .65rem; margin-block-end: .55rem; }
.gallery-dialog figure img { max-block-size: 65dvh; aspect-ratio: 3/2; object-fit: contain; background: var(--sage); }
.gallery-dialog figcaption { margin-block: .65rem; }
.gallery-dialog-actions { justify-content: end; }
.control {
  display: inline-grid;
  place-items: center;
  flex: none;
  inline-size: 2.75rem;
  min-block-size: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.1rem;
}
.control:hover:not(:disabled) { background: var(--sage); }

.visit-band, .final-cta { color: var(--white); background: var(--forest); }
.visit-grid, .faq-layout, .quotes { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.25rem, 7vw, 8rem); }
.visit-grid p, .final-cta p { margin-block: .9rem 1.1rem; color: var(--sage); }
.visit-steps { margin: 0; padding: 0; list-style: none; border-block-start: 1px solid #768879; }
.visit-steps li { border-block-end: 1px solid #768879; }
.visit-steps summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .75rem 1rem; min-block-size: 3.4rem; }
.step-number { color: #becdbd; font-size: .8rem; }
.step-toggle { font-size: 1.3rem; }
.visit-steps details[open] .step-toggle { rotate: 45deg; }
.visit-steps p { margin: 0 1rem .95rem 2.05rem; }
.quotes blockquote { font-size: clamp(1.6rem, 3vw, 3.35rem); letter-spacing: -.055em; line-height: 1.17; text-wrap: pretty; }
.quotes p, .quotes figcaption { margin-block-start: .9rem; color: var(--moss); }
.quote-actions { margin-block-start: 1.1rem; font-size: .84rem; }
.quote-actions span { min-inline-size: 2.9rem; text-align: center; }
.faq-layout .button { margin-block-start: 1rem; }
.faq-list { border-block-start: 1px solid var(--line); }
.faq-list details { border-block-end: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: .7rem; align-items: center; min-block-size: 3.35rem; padding-block: .55rem; font-weight: 720; }
.faq-list summary span::before { content: "+"; }
.faq-list details[open] summary span::before { content: "−"; }
.faq-list p { margin-block: 0 .85rem; color: var(--moss); }
.final-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.9fr); align-items: center; gap: clamp(1.4rem, 5vw, 6rem); padding-block: clamp(2.6rem, 6vw, 6rem); }
.final-grid .media { aspect-ratio: 1.45; border-start-end-radius: 28% 36%; }

.site-footer { background: var(--sage); }
.footer-main { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1fr) minmax(0,1.2fr); gap: 1.8rem clamp(1.15rem,3.5vw,3rem); padding-block: clamp(2rem,5vw,4.5rem); }
.footer-main > nav, .footer-brand, .footer-contact { display: grid; align-content: start; justify-items: start; }
.footer-brand { gap: .85rem; }
.footer-brand .brand { display: grid; justify-items: center; gap: .7rem; }
.footer-brand .brand-mark { inline-size: 3.05rem; }
.footer-brand > a:last-child { font-size: .82rem; }
.footer-main h2 { font-size: .95rem; line-height: 1.35; letter-spacing: -.02em; margin-block-end: .45rem; font-weight: 800; }
.footer-main > nav a, .footer-brand > a:last-child { min-block-size: 1.95rem; font-size: .82rem; text-underline-offset: .24em; }
.footer-main > nav a { text-decoration: none; }
.footer-main > nav a:hover { text-decoration: underline; }
.contact-links { display: grid; font-style: normal; justify-items: start; }
.contact-links a { display: inline-flex; gap: .5rem; align-items: center; min-block-size: 2.3rem; overflow-wrap: anywhere; text-underline-offset: .24em; }
.footer-contact address { font-size: .82rem; }
.social-links { display: flex; gap: .45rem; margin-block: .45rem .65rem; }
.social-links a { display: grid; place-items: center; inline-size: 2.45rem; block-size: 2.45rem; border: 1px solid #a0afa2; border-radius: 50%; }
.social-links a:hover { background: var(--paper); }
.hours { font-size: .77rem; }
.footer-end { display: flex; justify-content: space-between; align-items: start; gap: .5rem 1rem; padding-block: 1rem; border-block-start: 1px solid #b8c6ba; font-size: .74rem; color: #3c5043; }
.footer-end p:last-child { white-space: nowrap; }

@media (max-width: 65rem) {
  .header-row { grid-template-columns: minmax(0,1fr) auto auto; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
}

@media (max-width: 62rem) {
  .hero h1 { font-size: clamp(3.7rem, 8.7vw, 7rem); }
}
@media (max-width: 47.5rem) {
  .hero { min-block-size: 0; grid-template-columns: minmax(0,1fr); gap: 1.72rem; padding-block-start: 1.65rem; }
  .hero h1 { font-size: clamp(3.5rem, 11.8vw, 6.35rem); }
  .hero-copy p { margin-block: 1.2rem 1rem; }
  .hero-visual { padding-inline-end: 0; }
  .hero-portrait { aspect-ratio: 1.2; }
  .philosophy-grid, .visit-grid, .faq-layout, .quotes, .final-grid { grid-template-columns: minmax(0,1fr); }
  .philosophy-copy { grid-row: 1; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: auto; }
  .tech-feature { grid-area: 1 / 1 / 2 / 3; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); align-items: center; }
  .tech-room { grid-area: 3 / 1 / 4 / 3; inline-size: 100%; min-block-size: 0; aspect-ratio: 2; }
  .tech-planning { grid-area: 2 / 2 / 3 / 3; }
  .footer-main { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .treatment-explorer { grid-template-columns: minmax(0,1fr); }
  .treatment-tabs { display: flex; overflow-x: auto; gap: .4rem; padding: .25rem .2rem .4rem; border-block-start: 0; }
  .treatment-tabs button { flex: none; min-block-size: 2.85rem; min-inline-size: max-content; border: 1px solid var(--line); }
  .treatment-tabs [aria-selected="true"] { box-shadow: inset 0 -.18rem var(--forest); }
  .treatment-tabs button span:last-child { display: none; }
}
@media (max-width: 36rem) {
  :root { --header: 4.2rem; }
  .header-row { gap: .35rem; }
  .header-row .brand { gap: .4rem; }
  .header-row .brand-mark { inline-size: 1.22rem; }
  .header-row .brand-word { --tracking: .19em; font-size: .89rem; }
  .header-row .brand-caption { --tracking: .23em; font-size: .41rem; }
  .site-header .button { padding-inline: .54rem; gap: .27rem; font-size: .73rem; }
  .hero-copy .actions .button { min-block-size: 2.85rem; padding-inline: .72rem; gap: .36rem; font-size: .76rem; }
  .hero-foot { flex-wrap: wrap; }
  .team-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 76%); overflow-x: auto; scroll-snap-type: x proximity; padding-block-end: .7rem; }
  .person { scroll-snap-align: start; }
  .gallery-grid { grid-template-columns: minmax(0,1fr); }
  .gallery-shot:first-child { grid-row: auto; }
  .gallery-shot:first-child .media, .gallery-shot:nth-child(2n) .media, .gallery-shot:nth-child(3) .media { aspect-ratio: 1.55; }
  .footer-end { flex-wrap: wrap; }
}
@media (max-width: 22rem) {
  .header-row .brand-mark { inline-size: 1.05rem; }
  .header-row .brand-word { font-size: .82rem; }
  .site-header .button .arrow { display: none; }
  .footer-main { grid-template-columns: minmax(0,1fr); }
}

@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 170ms; }
  ::view-transition-new(root) { animation-duration: 260ms; }
  html { scroll-behavior: smooth; }
  .site-header, .button { transition: background-color 220ms, border-color 220ms; }
  .button .arrow { transition: transform 230ms var(--ease); }
  .button:hover .arrow { transform: translate(.15rem,-.14rem); }
  .hero-line > span { animation: line-in 750ms var(--ease) both; }
  .hero-line:nth-child(1) > span { animation-delay: 90ms; }
  .hero-line:nth-child(2) > span { animation-delay: 165ms; }
  .hero-line:nth-child(3) > span { animation-delay: 240ms; }
  .hero-portrait img { animation: hero-crop 920ms var(--ease) both; }
  .hero-copy > p, .hero-copy .actions { animation: menu-in 550ms 220ms var(--ease) both; }
  .gallery-shot img, .person img { transition: transform 520ms var(--ease); }
  .gallery-shot:hover img, .person a:hover img { transform: scale(1.045); }
  .is-revealing { animation: mask-in 720ms var(--ease) both; }
  .treatment-panel.is-switching, .quotes figure.is-switching, dialog[open], .agenda-confirm { animation: menu-in 315ms var(--ease) both; }
  .visit-steps details[open] p, .faq-list details[open] p { animation: menu-in 235ms var(--ease) both; }
  @supports (animation-timeline: view()) {
    .hero-visual { animation: portrait-drift linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
  }
  @keyframes line-in { from { transform: translateY(120%); } to { transform: none; } }
  @keyframes menu-in { from { opacity: 0; transform: translateY(.44rem); } to { opacity: 1; transform: none; } }
  @keyframes hero-crop { from { clip-path: inset(0 12% 0 0); transform: scale(1.055); } to { clip-path: inset(0); transform: none; } }
  @keyframes mask-in { from { clip-path: inset(0 0 17% 0); } to { clip-path: inset(0); } }
  @keyframes portrait-drift { to { transform: translateY(6%); } }
}
