.view-actions { display: contents; }
.view-mode-toggle { display: none; }

@media (max-width: 740px) {
  .view-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
  .view-mode-toggle { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; border: 1px solid #c0a087; color: #442e18; white-space: nowrap; font-size: 11px; font-weight: 700; }
  .view-actions .nav-mobile { flex: none; }
}

@media (max-width: 360px) {
  .masthead .brand img { width: 135px; }
  .head-row { gap: 8px; }
  .view-actions .nav-mobile summary { padding-inline: 5px; }
}

.desktop-preview .view-mode-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 14px; color: #442e18; border: 1px solid #c0a087; font-weight: 700; }
.desktop-preview .view-actions { display: flex; gap: 12px; align-items: center; }

@media (max-device-width: 767px) {
  .desktop-preview { --mast: 181px; }
  .desktop-preview .view-mode-toggle { min-height: 162px; padding-inline: 18px; font-size: 30px; }
  .desktop-preview .head-row { padding-block: 9px; }
  .desktop-preview .hero-scroll { display: none; }
}

.hero.film-hero {
  --copper: #c0a087;
  --film-progress: 0;
  color: var(--brown);
  background: #eee2d1;
  overflow: hidden;
}
.film-hero::before {
  z-index: -2;
  inset: -15% -10%;
  opacity: 1;
  background:
    radial-gradient(ellipse at 75% 27%, #c0a0876e 0%, transparent 44%),
    radial-gradient(ellipse at 30% 96%, #cbb0947a 0%, transparent 48%),
    linear-gradient(128deg,#fbf7ee 10%,#f0e4d4 59%,#ddc6aa 100%);
  transform: translateY(calc(var(--film-progress) * 110px)) scale(1.06);
}
.film-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  opacity: .58;
  background: repeating-linear-gradient(118deg,#442e1809 0 1px, transparent 1px 7px),
              repeating-linear-gradient(22deg,transparent 0 8px,#70452a15 9px,transparent 10px 14px);
  mask-image: linear-gradient(100deg,#000 12%,transparent 60%,#000);
}
.film-hero .hero-grid {
  width: var(--frame);
  min-height: clamp(595px,80svh,850px);
  grid-template-columns: minmax(0,1.12fr) minmax(0,1fr);
  gap: 0;
  padding-block: clamp(34px,5vw,72px) clamp(42px,6vw,80px);
}
.film-hero .hero-copy { position: relative; z-index: 2; }
.film-hero .hero-copy .kicker { color: var(--cocoa); font-size: clamp(12px,1.31vw,17px); }
.film-hero .hero-copy .display {
  position: relative;
  width: 100%;
  color: var(--brown);
  font-size: clamp(38px,5.3vw,84px);
  letter-spacing: -.07em;
  line-height: 1.06;
  margin: 30px 0 0;
}
.film-hero .hero-copy .hero-line { overflow: visible; padding: 0 16px 7px 0; }
.film-hero .hero-copy .hero-line + .hero-line { color: #775033; }
.motion-enabled .film-hero .hero-ink[data-curtain] { animation: film-headline-in .74s cubic-bezier(.17,.77,.26,1) both; }
.motion-enabled .film-hero .hero-line + .hero-line .hero-ink[data-curtain] { animation-delay: .08s; }
@keyframes film-headline-in { from { opacity: .72; transform: translateX(-2.3%); } }
.film-hero .hero-copy .intro { color: #594435; max-width: 32ch; line-height: 1.68; margin-block: 28px 24px; }
.hero-actions { display: grid; align-items: stretch; grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,26rem); gap: clamp(8px,1vw,14px); }
.hero-action { display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 53px; min-width: 0; padding: 10px clamp(10px,1.7vw,20px); border: 1px solid #67452f; border-radius: 3px; font-size: clamp(13px,1.14vw,16px); font-weight: 750; line-height: 1.3; transition: background-color .18s,color .18s,border-color .18s; }
.hero-action-primary { color: #fff5e9; background: #563926; }
.hero-action-primary:hover { color: #fff5e9; background: #704e35; }
.hero-action-secondary { color: #4a311f; background: #fff3e7a6; }
.hero-action-secondary:hover { background: #f0dac1; }
.hero-action-arrow { position: relative; display: block; flex: 0 0 16px; height: 16px; }
.hero-action-arrow::before, .hero-action-arrow::after { content: ""; position: absolute; }
.hero-action-arrow::before { inset: 7px 2px auto 1px; border-top: 1.5px solid currentColor; }
.hero-action-arrow::after { inset: 4px 2px auto auto; width: 7px; height: 7px; border-block-start: 1.5px solid currentColor; border-inline-end: 1.5px solid currentColor; transform: rotate(45deg); }
.hero-action-arrow-down { transform: rotate(90deg); }
.film-hero .hero-info { color: #62462e; border-color: #9a74556b; width: max-content; max-width: 98%; }
.film-hero .hero-info a + a::before { color: #c0a087; }
.film-hero .btn { background: var(--brown); color: var(--cream); border: 1px solid var(--brown); }
.film-hero .btn:hover { background: var(--cocoa); border-color: var(--cocoa); }
.film-hero .text-action { color: var(--brown); }
.film-hero :is(a, button):focus-visible { outline-color: var(--focus); }
.hero-scene { position: relative; min-width: 0; isolation: isolate; margin-inline: -30px 16px; }
.hero-rings { position: absolute; z-index: -1; inset: -12% -26% -9% -22%; pointer-events: none; }
.hero-rings i { position: absolute; inset: 8%; border: 1px solid #8b5d3b4d; border-radius: 50%; transform: rotate(-24deg) scale(var(--ring)) translateY(calc(var(--film-progress) * 55px)); }
.hero-rings i:nth-child(1) { --ring: .83; }
.hero-rings i:nth-child(2) { --ring: 1; }
.hero-rings i:nth-child(3) { --ring: 1.17; }
.hero-rings i:nth-child(4) { --ring: 1.38; opacity: .45; }
.hero-rings i:nth-child(5) { --ring: 1.52; opacity: .3; }
.film-hero .hero-photo { --ratio: 1.14; --ratio-mobile: 1.09; transform: translateY(calc(var(--film-progress) * -46px)); }
.film-hero .hero-photo::before { inset: -15px -13px 30px 11px; border-radius: 48% 48% 46% 5%; border-color: #845a3969; }
.film-hero .hero-photo .slot-frame {
  color: var(--brown);
  border: 1px solid #8d654e69;
  border-radius: 48% 48% 47% 5%;
  background: radial-gradient(ellipse at 73% 28%, #fbefdbb0,transparent 52%),
              repeating-radial-gradient(ellipse at 67% 25%,transparent 0 25px,#845a3930 26px,transparent 27px 44px),
              linear-gradient(130deg,#ead9c1 6%,#e0c5a8 61%,#c6a386);
  box-shadow: 0 26px 66px #442e1826, inset 0 0 42px #a77a5321;
  overflow: hidden;
}
.film-hero .hero-photo .slot-frame::after {
  inset: 12% 7%;
  border-radius: 50% 50% 48% 6%;
  box-shadow: none;
  border: 1px solid #8b5d3b56;
  transform: translate(var(--stage-x,0px), calc(var(--stage-y,0px) + var(--film-progress) * 20px));
}
.film-hero .hero-photo .slot-frame > img { transform: translateY(calc(var(--film-progress) * 12px)) scale(1.06); }
.film-hero .hero-photo .slot-symbol { opacity: .82; filter: brightness(0) saturate(100%) invert(18%) sepia(35%) saturate(1046%) hue-rotate(349deg) brightness(90%) contrast(87%); }
.film-hero .hero-photo .slot-caption { color: #624839; border-color: #a97d566b; padding-inline: 11px 0; }
.film-hero .hero-photo .slot-caption > span:last-child { color: var(--cocoa); }
.hero-scroll { position: absolute; right: max(27px,calc((100% - 1470px)/2)); bottom: 15px; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 4px 0 4px 12px; color: var(--brown); font-size: 13px; }
.hero-scroll span { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #986f529c; border-radius: 50%; transition: transform .24s ease, background .24s ease; }
.hero-scroll:hover span { transform: translateY(4px); background: #e3c9ad; }
.motion-enabled .film-hero .hero-rings { animation: rings-enter 1.45s cubic-bezier(.19,.8,.26,1) both; }
@keyframes rings-enter { from { opacity: .05; transform: translate(3%,-3%) scale(1.16) rotate(-12deg); } }

.story { --story-ink: #442e18; --story-paper: #f4f3ef; --story-wash: #e5d2bd; background: var(--story-paper); }
.story[data-scene="1"] { --story-wash: #d9c5ac; }
.story[data-scene="2"] { --story-wash: #efd7c0; }
.story-sticky { position: relative; color: var(--story-ink); isolation: isolate; }
.story-sticky::before, .story-sticky::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.story-sticky::before { background: radial-gradient(ellipse at 14% 88%,#f4f3ef 10%,transparent 78%); background-color: var(--story-wash); transition: background-color .55s ease; }
.story-sticky::after { background: repeating-linear-gradient(108deg,#442e180c 0 1px,transparent 1px 5px); mask-image: linear-gradient(90deg,#0008,transparent); }
.story-surface { display: grid; grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); gap: clamp(44px,6vw,92px); align-items: center; padding-block: clamp(47px,7vh,86px); }
.story-copy h2 { margin: 0; font-size: clamp(25px,3vw,42px); letter-spacing: -.065em; line-height: 1.02; }
.story-copy > .kicker { margin-bottom: 10px; }
.story-intro { margin: 16px 0 20px; max-width: 42ch; line-height: 1.57; }
.story-panel { margin-top: 24px; }
.story-panel h3 { margin: 0 0 13px; font-size: clamp(39px,5.4vw,78px); font-weight: 800; line-height: .98; letter-spacing: -.075em; }
.story-panel p { margin: 12px 0 0; max-width: 45ch; font-size: clamp(15px,1.22vw,18px); line-height: 1.55; }
.story-panel .story-principle { display: flex; align-items: baseline; gap: .38em; }
.story-principle > strong { flex: none; }
.story-principle > span { min-width: 0; }
.story-panel .story-principle + .story-principle { margin-top: .36em; }
.story-panel a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: .26em; }
.story-panel a:hover { color: #805232; }
.story-actions { display: none; }
.story-art { display: none; }
.story-scroll { display: none; }
.story[data-live] .story-surface { min-height: calc(100svh - var(--mast)); }
.story[data-live] .story-sticky { position: sticky; top: var(--mast); overflow: hidden; }
.story[data-live] .story-panels { display: grid; isolation: isolate; }
.story[data-live] .story-panel {
  grid-area: 1/1;
  transform: translateY(24px);
  opacity: 0;
  visibility: hidden;
}
.story[data-live] .story-panel[data-active] { opacity: 1; visibility: visible; transform: translateY(0); animation: scene-copy-in .43s cubic-bezier(.17,.75,.23,1) both; }
@keyframes scene-copy-in { from { opacity: .55; transform: translateY(18px); } }
.story[data-live] .story-actions { display: flex; flex-wrap: wrap; gap: 0 clamp(10px,1.6vw,22px); margin: 8px 0 0; }
.story-actions button { position: relative; appearance: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: #6d5440; font: inherit; font-size: clamp(13px,1.25vw,16px); font-weight: 650; white-space: nowrap; cursor: pointer; }
.story-actions button::after { content: ""; position: absolute; inset: auto 2px 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.story-actions button:hover, .story-actions button[aria-selected="true"] { color: #442e18; }
.story-actions button[aria-selected="true"] { font-weight: 800; }
.story-actions button[aria-selected="true"]::after { transform: scaleX(1); }
.story-actions button:focus-visible { outline-offset: 0; }
.story[data-live] .story-scroll { display: block; height: clamp(540px, 125vh, 1170px); }
.story[data-live] .story-art { display: grid; position: relative; align-self: center; width: 100%; aspect-ratio: 1.22; margin: 0; }
.art-panel {
  grid-area: 1/1;
  align-self: stretch;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 49% 49% 2% 2% / 38% 38% 2% 2%;
  border: 1px solid #442e18;
  background: #442e18;
  color: #f4e6d6;
  opacity: 0;
  clip-path: inset(13% 6% 5% 4% round 45% 45% 4% 4%);
  transform: translateY(34px) scale(.95);
  transition: opacity .48s ease, clip-path .65s cubic-bezier(.18,.75,.28,1), transform .64s cubic-bezier(.18,.75,.28,1);
}
.story[data-scene="0"] .art-panel:nth-child(1), .story[data-scene="1"] .art-panel:nth-child(2), .story[data-scene="2"] .art-panel:nth-child(3) { z-index: 1; opacity: 1; clip-path: inset(0); transform: none; }
.art-panel::before {
  content: '';
  position: absolute;
  inset: -10%;
  z-index: -1;
  opacity: .7;
  background: repeating-linear-gradient(90deg,#f1cba739 0 1px,transparent 1px 36px), repeating-linear-gradient(0deg,#f1cba739 0 1px,transparent 1px 34px);
  mask-image: radial-gradient(ellipse,#000,transparent 67%);
  transform: translateY(calc(var(--story-progress,0) * 45px));
}
.art-panel::after { content: attr(data-number); position: absolute; z-index: -1; inset: auto -3% -14% auto; color: #e6b99438; font-size: clamp(108px,25vw,387px); font-weight: 800; letter-spacing: -.1em; line-height: .95; transform: translateY(calc(var(--story-progress,0) * -50px)); }
.art-panel > span { position: absolute; inset: 8%; display: grid; place-items: center; }
.art-panel i { grid-area: 1/1; border: 1px solid #f7d7b9; width: 53%; height: 55%; box-shadow: 0 0 28px #efbc8e28,inset 0 0 18px #efbc8e2e; }
.art-scan { background: radial-gradient(ellipse at 65% 33%, #9b785d,#442e18 55%,#24160d); }
.art-scan i { border-radius: 50%; transform: scale(var(--level)); }
.art-scan i:nth-of-type(1), .art-align i:nth-of-type(1) { --level: .44; }
.art-scan i:nth-of-type(2), .art-align i:nth-of-type(2) { --level: .8; }
.art-scan i:nth-of-type(3), .art-align i:nth-of-type(3) { --level: 1.16; }
.art-scan i:nth-of-type(4), .art-align i:nth-of-type(4) { --level: 1.58; opacity: .55; }
.art-scan em { position: absolute; inset: -14% 11% auto; height: 32%; background: linear-gradient(transparent,#d6b39314 65%,#eac6a27d 100%); box-shadow: 0 1px #ffdfbca5; transform: translateY(calc(var(--story-progress,0) * 255%)); }
.art-align { background: radial-gradient(ellipse at 52% 34%,#745437,#391f14 68%); }
.art-align i { width: 44%; height: 44%; transform: rotate(-32deg) skew(10deg,-6deg) scale(var(--level)) translate(calc(var(--story-progress,0) * 24px),0); }
.art-align em { width: 81%; height: 1px; background: #f6d3b4; transform: rotate(33deg); grid-area: 1/1; position: relative; }
.art-explain { background: radial-gradient(ellipse at 56% 0,#c0a087,#745033 72%); }
.art-explain i { width: 38%; height: 61%; border-radius: 32% 32% 6px 6px; background: repeating-linear-gradient(0deg,#f4f3ef00 0 14%,#f6d9c0ab 15%,#f4f3ef00 16% 21%),linear-gradient(135deg,#c0a087a6,#6b492da0 70%); transform: translate(-20%,-9%) rotate(-17deg); }
.art-explain i:nth-child(2) { transform: translate(30%,6%) rotate(13deg); }
.art-explain i:nth-child(3) { transform: translate(14%,-15%) rotate(4deg); }
.story-art figcaption { position: absolute; bottom: 4%; left: 5%; z-index: 2; color: #fbe6d4; font-size: 12px; }
.story-progress { display: none; }
.story[data-live] .story-progress { position: absolute; inset: auto 0 0; height: 3px; display: block; background: #c0a08755; }
.story-progress::before { position: absolute; inset: 0; content: ''; transform: scaleX(var(--story-progress,0)); transform-origin: left; background: #9a704f; }

.story[data-live][data-compact] .story-surface { min-height: 0; }
.story[data-live][data-compact] .story-sticky { position: relative; top: auto; }
.story[data-live][data-compact] .story-scroll { display: none; }

body[data-page="home"] section:not(.hero) .photo-figure { --photo-motion: 0px; }
body[data-page="home"] section:not(.hero) .slot-frame img {
  transform: translateY(var(--photo-motion)) scale(1.07);
}
body[data-page="home"] section:not(.hero) .slot-placeholder {
  translate: 0 var(--photo-motion);
}

@media (max-width: 940px) {
  .film-hero .hero-copy .display { font-size: clamp(37px,5.4vw,60px); }
  .story-surface { gap: 34px; }
  .hero-scene { margin-inline: -8px 8px; }
}

@media (max-width: 740px) {
  .film-hero .hero-grid { position: relative; width: var(--frame); display: flex; flex-direction: column; align-items: stretch; padding-block: 52px 55px; }
  .film-hero .hero-copy .display { font-size: clamp(29px,9.15vw,54px); width: auto; margin-top: 22px; }
  .film-hero .hero-copy .intro { margin-block: 16px 19px; }
  .film-hero .hero-info { margin-top: 21px; }
  .hero-scene { width: min(83%,440px); align-self: center; margin: 26px 5% 0 0; }
  .film-hero .hero-photo { transform: translateY(calc(var(--film-progress) * -12px)); }
  .film-hero .hero-photo::before { inset: -7px -9px 28px 7px; }
  .hero-scroll { right: 16px; bottom: 3px; min-height: 44px; }
  .hero-scroll span { width: 24px; height: 24px; }
  .story-surface { grid-template-columns: 1fr; gap: 12px; padding-block: 22px; }
  .story[data-live] .story-surface { min-height: calc(100svh - var(--mast) - 64px); }
  .story-copy h2 { font-size: 26px; }
  .story-copy > .kicker { margin-bottom: 4px; }
  .story-intro { max-width: 43ch; margin: 8px 0 5px; font-size: 13px; }
  .story-panel { margin-top: 12px; }
  .story-panel h3 { font-size: clamp(32px,8.7vw,55px); margin-bottom: 4px; }
  .story-panel p { margin: 7px 0 0; max-width: 38ch; font-size: 14px; }
  .story[data-live] .story-actions { gap: 0 11px; margin-top: 5px; }
  .story[data-live] .story-art { margin: 0 auto; width: min(100%,410px); aspect-ratio: 1.34; max-height: 34svh; }
}

@media (max-height: 690px) and (max-width: 740px) {
  .story-surface { padding-block: 13px; }
  .story[data-live] .story-art { max-height: 26svh; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] section:not(.hero) .photo-figure { --photo-motion: 0px !important; }
  .film-hero::before, .hero-rings i, .film-hero .hero-photo, .film-hero .hero-photo .slot-frame::after,
  .film-hero .hero-photo .slot-frame > img, .art-panel::before, .art-panel::after { transform: none; }
  .motion-enabled .film-hero .hero-rings { animation: none; }
  .motion-enabled .film-hero .hero-ink[data-curtain], .story[data-live] .story-panel[data-active] { animation: none; }
  .story[data-live] .story-panel, .art-panel { transition: none; }
  .story-sticky::before { transition: none; }
}

/* Columns, directions and the launch checklist */
.columns-home { background: var(--cream); }
.column-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.column-list-featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 0;
}
.column-link {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.column-list-featured .column-link {
  height: 100%;
  min-height: 132px;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 9px 7px;
  padding: clamp(12px, 1.15vw, 17px);
  border: 1px solid var(--line);
  background: var(--paper);
  transition: background-color .2s, border-color .2s;
}
.column-list-featured .column-link time { grid-column: 1 / -1; }
.column-link h3 { margin: 0; font-size: clamp(15px, 1.34vw, 18px); line-height: 1.42; }
.column-link time { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.column-link:is(:hover,:focus-visible) h3 { text-decoration: underline; text-underline-offset: .22em; }
.column-list-featured .column-link:is(:hover,:focus-visible) { background: #f5eee2; border-color: #b79b7c; }
.directions-details { margin-top: 10px; border-top: 1px solid #a98e6a; }
.directions-details > summary {
  min-height: 44px;
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
}
.directions-details > summary::after { content: "+"; }
.directions-details[open] > summary::after { content: "−"; }
.directions-details .steps { --line: #ac926d; }
.directions-details .steps li { min-height: auto; padding-block: 10px; }
.directions-details .photo-figure { margin-top: 15px; --ratio: 5/4; --ratio-mobile: 4/3; }
.directions-details .slot-placeholder strong { font: inherit; font-weight: 700; letter-spacing: normal; }
.directions-routes { margin-top: 18px; --line: #ac926d; }
.directions-routes .faq summary { min-height: 44px; font-size: 14px; }
.directions-routes .faq p { color: var(--brown); }
.launch-review h2 { font-size: clamp(19px, 2vw, 24px); }
.launch-list { margin: 12px 0 0; padding-left: 1.2em; }
.launch-list li + li { margin-top: 6px; }
.launch-review .launch-questions {
  margin-top: 22px;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}
.launch-design-note { margin-top: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 740px) {
  .column-list-featured { grid-template-columns: 1fr; gap: 10px; }
  .column-list-featured .column-link { min-height: 0; gap: 8px 12px; }
  .column-list:not(.column-list-featured) .column-link {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
  }
  .column-list:not(.column-list-featured) time { grid-column: 1 / -1; }
}

/* The clinic's four principles and shared warm surfaces. */
body { background: #f6efe3; }
.masthead { background: #f6efe3; }
.visit-home {
  background: linear-gradient(128deg, #f2e6d5, #e9d7bf);
  color: var(--brown);
}
.visit-home .address-tag { background: #f8f0e2; border: 1px solid #c3a78a; }
.philosophy-values { background: #f6ecdd; }
.philosophy-values .section-head, .philosophy-example > .frame > header, .tour-home .section-head { text-align: center; }
.tour-home .split-head { justify-content: center; }
.tour-home .section-head .muted { margin-inline: auto; }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid #c9ad91;
  background: #faf2e6;
}
.philosophy-grid li { min-width: 0; padding: clamp(16px,2.5vw,35px); }
.philosophy-grid li + li { border-left: 1px solid #c9ad91; }
.philosophy-grid span { color: #835f44; font: 400 clamp(21px,2.4vw,33px)/1.15 serif; }
.philosophy-grid h3 { margin: 9px 0 6px; font-size: clamp(18px,2vw,26px); }
.philosophy-grid p { color: var(--muted); margin: 0; line-height: 1.54; }
.philosophy-example { background: #fbf4e9; padding-block: clamp(50px,7.25vw,110px); }
.philosophy-example > .frame > header h2 { margin: 0 0 8px; font-size: clamp(25px,3vw,40px); letter-spacing: -.055em; line-height: 1.13; }
.philosophy-example p { margin: 0; color: var(--muted); line-height: 1.58; }
.philosophy-example > .frame > header h2 + p { max-width: 64ch; margin: 15px auto 0; }
.philosophy-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(13px,2vw,24px); padding: 0; margin: 24px 0 0; list-style: none; counter-reset: philosophy-step; }
.philosophy-steps > li { min-width: 0; padding: clamp(15px,2.6vw,28px); background: #f4eadc; border-top: 2px solid #a87853; counter-increment: philosophy-step; }
.philosophy-steps > li::before { content: counter(philosophy-step,decimal-leading-zero); display: block; color: #835f44; font-size: 13px; font-weight: 700; line-height: 1.2; }
.philosophy-steps h3 { margin: 10px 0 6px; font-size: clamp(16px,1.6vw,22px); }
.meaning-pair { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,245px),1fr)); gap: 22px; }
.meaning-pair > section { padding: 18px 20px; border-top: 2px solid #a87853; background: #f4e7d6; }
.meaning-pair h3 { margin-top: 0; }
.philosophy-detail > li { padding-left: 0; }
.principle-name { display: block; margin-bottom: 3px; font-size: 14px; color: var(--cocoa); }
.footer { background: #e6d3bc; color: var(--brown); border-top: 1px solid #c6a98c; }
.footer p, .footer a:not(.brand), .footer .review-dock { color: var(--brown); }
.footer :focus-visible { outline-color: var(--focus); }
.footer .brand img { filter: brightness(0) saturate(100%) invert(18%) sepia(35%) saturate(1046%) hue-rotate(349deg) brightness(90%) contrast(87%); }
@media (max-width: 740px) {
  .philosophy-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .philosophy-grid li:nth-child(3) { border-left: 0; }
  .philosophy-grid li:nth-child(n+3) { border-top: 1px solid #c9ad91; }
  .philosophy-grid p { font-size: 14px; }
  .philosophy-steps { grid-template-columns: 1fr; }
}

/* Photos, columns, and disclosures on the homepage. */
#director .director-profile-layout { align-items: start; overflow-anchor: none; }
@media (min-width: 741px) {
  #director .director-profile-layout { align-items: stretch; }
  #director .director-profile-layout > .portrait { display: grid; grid-template-rows: minmax(0,1fr) auto; min-height: 0; }
  #director .director-profile-layout > .portrait .slot-frame { aspect-ratio: auto; contain: size; min-height: 0; }
}
.director-details { margin-top: 20px; }
[data-director-tabs-ready] .director-tabs:not([hidden]) { display: flex; flex-wrap: wrap; gap: 0 clamp(8px,1.15vw,15px); margin-bottom: 13px; }
.director-tabs button { font-size: clamp(12px,1.1vw,15px); }
.director-module { min-width: 0; padding: clamp(15px,2vw,27px); border-top: 2px solid #a97c57; background: #faf2e6; }
.director-module[hidden] { display: none; }
.director-module + .director-module { margin-top: 13px; }
[data-director-tabs-ready] .director-module { margin-top: 0; }
.director-module > h3 { margin: 0 0 13px; font-size: clamp(18px,2.2vw,29px); line-height: 1.24; letter-spacing: -.055em; }
.director-module .prose p:last-child { margin-bottom: 0; }
.director-module .prose { min-width: 0; }
.director-module .prose > .line-list:first-child { margin-top: 0; }
.director-module[id] { scroll-margin-top: calc(var(--mast) + 12px); }
.director-module .prose h4 { margin: 23px 0 4px; font-size: clamp(16px,2vw,22px); }
.director-module .prose > h4:first-child { margin-top: 0; }
.director-papers { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: 14px; }
.director-paper-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 9px; min-width: 0; }
.director-paper-count { font-size: clamp(14px,1.28vw,17px); font-weight: 700; }
.director-research-papers { justify-content: start; }
.director-papers .btn { min-height: 43px; font-size: 13px; padding-inline: 12px; }
.research-trigger { min-width: 0; max-width: 100%; }
.research-trigger:has(.papers-fallback[open]), .director-paper-summary:has(.papers-fallback[open]) { flex-basis: 100%; }
.director-papers [hidden] { display: none; }
.papers-fallback { padding-block: 10px; }
.papers-fallback > summary { font-weight: 700; text-decoration: underline; text-underline-offset: .24em; }
.papers-dialog { width: min(720px,calc(100% - 32px)); max-height: min(84dvh,760px); padding: 0; border: 1px solid #b08d70; border-radius: 10px; background: #fcf4e9; color: var(--brown); }
.papers-dialog:not([open]) { display: none; }
.papers-dialog[open] { display: flex; flex-direction: column; }
.papers-dialog::backdrop { background: #302017a3; }
.papers-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px clamp(15px,4vw,37px); border-bottom: 1px solid var(--line); }
.papers-dialog-head h2 { margin: 0; font-size: clamp(22px,3vw,34px); letter-spacing: -.05em; }
.papers-close { min-height: 44px; padding: 0 13px; border: 1px solid #b08d70; border-radius: 4px; background: #f5e9da; color: #543624; font: inherit; font-weight: 700; cursor: pointer; }
.papers-close:hover { background: #e7d1b8; }
.papers-dialog-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 clamp(16px,4vw,37px) 24px; }
.papers-dialog-list:focus-visible { outline-offset: -5px; }
.papers-dialog .research { padding-left: 1.5em; }
.papers-dialog ul.research { list-style: disc; }
.papers-dialog ol.research { list-style: decimal; }

@media (max-width: 740px) {
  [data-director-tabs-ready] .director-tabs:not([hidden]) { gap: 0 9px; }
}
@media (max-width: 365px) {
  [data-director-tabs-ready] .director-tabs:not([hidden]) { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .director-tabs button { justify-content: center; }
}

.carousel-stage { position: relative; }
.carousel-arrows:not([hidden]) { display: block; position: absolute; inset: 0; pointer-events: none; }
.carousel-arrows button { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #bea183; border-radius: 50%; background: #fcf4e9; color: #614228; cursor: pointer; pointer-events: auto; }
.carousel-arrows button:hover { background: #684729; color: #fff2e3; }
.carousel-arrows button:focus-visible { outline-offset: 2px; }
.carousel-arrows [data-carousel-prev] { left: -46px; }
.carousel-arrows [data-carousel-next] { right: -46px; }
.carousel-chevron { width: 10px; height: 10px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: translateX(-1px) rotate(45deg); }
[data-carousel-prev] .carousel-chevron { transform: translateX(1px) rotate(-135deg); }
[data-carousel][data-carousel-ready] [data-carousel-rail] {
  --carousel-visible: 1;
  --carousel-gap: 0px;
  position: relative;
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--carousel-visible) - 1) * var(--carousel-gap)) / var(--carousel-visible));
  gap: var(--carousel-gap);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #ad8864 transparent;
  padding-bottom: 8px;
}
[data-carousel][data-carousel-ready] .column-list { --carousel-visible: 3; --carousel-gap: 12px; }
.columns-layout { min-width: 0; }
.columns-layout .carousel-stage { min-width: 0; }
[data-carousel][data-carousel-ready] [data-carousel-rail] > * { min-width: 0; scroll-snap-align: start; }
[data-carousel-rail] :focus-visible { outline-offset: -4px; }
.tour-rail { grid-template-columns: repeat(2,minmax(0,1fr)); }
.tour-slide { min-width: 0; background: #faf2e6; }
.tour-rail .photo-figure { --ratio: 16/9; }
.tour-slide-copy { align-self: center; padding: 20px clamp(18px,4vw,48px); }
.tour-slide-copy h3 { margin: 0 0 8px; font-size: clamp(21px,2.7vw,35px); letter-spacing: -.045em; }
.tour-slide-copy p { margin: 0; color: var(--muted); }
[data-carousel-ready] .tour-slide { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(0,.78fr); align-items: center; }
.visit-home { --line: #c3a78a; }
.visit-home :is(#hours,#directions,#booking,#faq,#fees) { scroll-margin-top: calc(var(--mast) + 18px); }
.visit-block { align-items: start; }
.visit-home .visit-primary { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: clamp(16px,3.3vw,42px); }
.visit-home .visit-primary > :is(#hours,#directions) { min-width: 0; align-content: start; padding: clamp(15px,2vw,27px); border: 1px solid #c3a78a; background: #f8f0e2; }
.visit-primary #directions { gap: 5px; }
.visit-primary #directions > strong { font-size: clamp(26px,3vw,42px); }
.directions-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 7px; }
.directions-head .directions-map-note { margin: 0; color: #8c2e29; font-size: 13px; font-weight: 700; line-height: 1.44; }
.visit-home .directions-head h3 { margin-bottom: 0; }
.visit-primary h3, .visit-block h3 { font-size: clamp(20px,2.6vw,34px); line-height: 1.16; letter-spacing: -.048em; margin: 0 0 14px; }
.visit-primary .steps h3 { margin: 0; font-size: inherit; }
.visit-block { border-top: 1px solid var(--line); margin-top: clamp(28px,4vw,55px); padding-top: clamp(25px,4vw,43px); }
.visit-block .section-head { margin-bottom: 16px; }

@media (max-width: 740px) {
  [data-carousel][data-carousel-ready] .column-list { --carousel-visible: 1; --carousel-gap: 12px; }
  .visit-home .visit-primary { grid-template-columns: minmax(0,1fr); }
  [data-carousel-ready] .tour-slide { grid-template-columns: minmax(0,1fr); }
  .tour-slide-copy { padding-block: 12px 17px; }
}

/* Booking anchors and contact actions. */
body:has(> .booking-float) { padding-bottom: 0; }
body:has(> .booking-float) .footer { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
.booking-float {
  position: fixed;
  z-index: 40;
  inset-inline-end: max(16px,env(safe-area-inset-right));
  inset-block-end: calc(16px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 48px;
  padding-inline: 17px;
  border: 1px solid #6d4932;
  border-radius: 8px;
  background: #563926;
  color: #fff6ea;
  box-shadow: 0 4px 16px #39241430;
  font-size: 15px;
  font-weight: 700;
}
.booking-float:hover { background: #6f4c33; }
.booking-float-icon { position: relative; width: 15px; height: 15px; flex: none; }
.booking-float-icon::before, .booking-float-icon::after { content: ""; position: absolute; }
.booking-float-icon::before { inset: 7px 2px auto 0; border-top: 1px solid currentColor; }
.booking-float-icon::after { inset: 4px 2px auto auto; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.visit-home .booking-section { align-items: center; }
.booking-section .section-head { margin: 0; }
.booking-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.booking-action { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 7px; min-height: 53px; border: 1px solid #704c32; border-radius: 4px; padding: 9px 10px; background: #563926; color: #fff6ea; font: inherit; font-weight: 700; line-height: 1.25; text-align: center; }
.booking-action:any-link:is(:hover,:focus-visible) { background: #704e35; box-shadow: inset 0 0 0 1px #c49b72; }
.booking-action strong { white-space: nowrap; }
.booking-action-naver:disabled { border-color: #c1ad96; background: #eee2d2; color: #6d6254; cursor: default; opacity: 1; }
.footer .site-credit { margin-top: 6px; font-size: 12px; }
.footer .site-credit a { color: #684934; text-decoration: none; }
.footer-fees { grid-column: 1 / -1; min-width: 0; }
.footer-fees #fees { scroll-margin-top: calc(var(--mast) + 12px); }
.footer-fees .fee-trigger { display: flex; width: fit-content; max-width: 100%; margin-inline-start: auto; }
.footer-fees .fee-guide { margin-inline: auto; max-width: min(100%,760px); }
.fee-trigger { display: inline-flex; align-items: center; gap: 17px; min-height: 48px; padding: 8px 15px; border: 1px solid #aa8566; border-radius: 4px; background: #fbf2e5; color: #523823; font-weight: 700; }
.fee-trigger:hover { background: #eddbc2; }
.fee-trigger::-webkit-details-marker { display: none; }
.fee-trigger-icon { width: 8px; height: 8px; border-bottom: 1px solid currentColor; border-right: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
#fees[open] .fee-trigger-icon { transform: translateY(2px) rotate(225deg); }
#fees .fee-guide { margin-top: 16px; }

/* Visit rates and direct phone links. */
.phone-link { text-decoration: underline; text-underline-offset: .22em; white-space: nowrap; }
.fee-guide { padding: 0 3px 18px; }
.fee-guide p { color: var(--muted); margin: 0; }
.fee-guide p + .fee-table { margin-top: 10px; }
.fee-table + p { margin-top: 11px; }
.fee-table { width: 100%; table-layout: fixed; border-collapse: collapse; background: #f9f0e3; font-size: clamp(13px,1.25vw,16px); }
.fee-table :is(th,td) { padding: 9px 10px; border: 1px solid #cdb498; vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.fee-table thead th { background: #eadac4; }
.fee-table thead th:first-child { width: 34%; }
.fee-table thead th:last-child { width: 32%; }
.fee-table td:last-child { font-variant-numeric: tabular-nums; }
#hours .hours th small { font-weight: 500; }
@media (max-width: 440px) {
  .fee-table :is(th,td) { padding: 7px 6px; }
}


@media (min-width: 1024px) {
  .columns-layout { display: grid; grid-template-columns: minmax(170px,.24fr) minmax(0,1fr); align-items: center; column-gap: clamp(53px,4.8vw,68px); }
  .columns-layout > .section-head { margin: 0; }
  .columns-layout .title { font-size: clamp(30px,3.3vw,47px); }
  .columns-layout .section-head .muted { font-size: clamp(13px,1.25vw,16px); }
  .columns-layout .column-list-featured { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .columns-layout[data-carousel-ready] .column-list { --carousel-visible: 4; }
  .columns-layout .column-link h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
}
@media (max-width: 900px) {
  .carousel-arrows:not([hidden]) { position: static; display: flex; justify-content: space-between; margin-top: 6px; }
  .carousel-arrows button { position: static; transform: none; width: 44px; height: 40px; border-radius: 6px; }
}
@media (min-width: 741px) {
  body[data-page="home"] .footer-grid { position: relative; }
  body[data-page="home"] .footer-grid > div:nth-child(2) { padding-inline-end: min(18vw,168px); }
  .footer-fees .fee-trigger { position: absolute; inset-block-start: 0; inset-inline-end: 0; }
}

/* Motion on the homepage stays within each section and its controls. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes director-panel-enter {
    from { opacity: .78; transform: translateX(5px); }
  }
  .director-module[data-panel-enter]:not([hidden]) > :is(h3,.prose,.director-research-papers) {
    animation: director-panel-enter 270ms cubic-bezier(.22,.72,.25,1);
  }
  #columns .column-link > span[aria-hidden] { transition: transform 180ms cubic-bezier(.22,.72,.25,1); }
  #columns .column-link:is(:hover,:focus-visible) > span[aria-hidden] { transform: translate(2px,-2px); }
  .booking-action:any-link { transition: background-color 180ms, box-shadow 180ms; }
}
@media (prefers-reduced-motion: reduce) {
  #columns .column-link, .booking-action { transition: none; }
}
