:root {
  color-scheme: light;
  --ivory: #f5f3ed;
  --navy: #102238;
  --sage: #94a399;
  --initial: #52665a;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--ivory);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: #d7dfd6; color: var(--navy); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--navy); outline-offset: 8px; }
.skip-link {
  position: fixed; top: 20px; left: 20px; z-index: 10;
  padding: 14px 20px; background: var(--ivory); transform: translateY(-160%);
}
.skip-link:focus { transform: none; }
.atmosphere { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.linen {
  position: absolute; inset: -2%;
  background: url("assets/linen.webp") center / cover no-repeat;
  opacity: .88;
}
/* Only the curtain side sways. The wall stays still; the parent retains scroll drift. */
.linen::after {
  content: "";
  position: absolute; inset: 0;
  background: inherit;
  -webkit-mask-image: linear-gradient(to right, transparent 42%, #000 66%);
  mask-image: linear-gradient(to right, transparent 42%, #000 66%);
  transform-origin: 50% 0;
}
@media (prefers-reduced-motion: no-preference) {
  .linen::after { animation: curtain-breeze 18s ease-in-out infinite; }
}
@keyframes curtain-breeze {
  0%, 100% { transform: skewX(0deg); }
  35% { transform: skewX(.28deg); }
  72% { transform: skewX(-.18deg); }
}
.ivory { position: absolute; inset: 0; background: var(--ivory); opacity: 0; }
.scene {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; min-height: 100svh;
  padding: 100px clamp(28px, 11vw, 180px);
}
.scene-copy { width: 100%; }
.phrase { margin: 0; font-size: clamp(40px, 5.1vw, 78px); line-height: 1.15; font-weight: 300; letter-spacing: -.045em; }
.middle { padding-left: 22vw; }
.closing { justify-content: center; text-align: center; }
.final-copy { padding-bottom: 12px; }
.closing .final-copy { max-width: 620px; margin-inline: auto; }
.about-section { padding: 0 28px 100px; background: var(--ivory); position: relative; }
.about-summary { text-align: left; border-top: 1px solid #d8dcd7; padding-top: 40px; margin: 0 auto; max-width: 520px; }
.wordmark-anchor { height: calc(clamp(44px, 5.2vw, 74px) * 1.15); margin-bottom: 38px; }
.floating-wordmark { position: fixed; top: 0; left: 0; z-index: 5; width: max-content; margin: 0; transform-origin: top left; pointer-events: none; will-change: transform; }
/* The anchor must stay stationary while the single wordmark moves into it. */
.closing .scene-copy { animation: none; }
.about-intro { display: flex; gap: 22px; align-items: center; margin-bottom: 22px; }
.about-portrait { width: 76px; height: auto; flex: 0 0 76px; border-radius: 3px; }
.about-intro .eyebrow { margin-bottom: 10px; }
.eyebrow { margin: 0 0 16px; color: #56645e; font-size: 11px; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6; }
.about-summary h2 { margin: 0 0 18px; font-size: 25px; line-height: 1.3; font-weight: 400; letter-spacing: -.025em; }
.about-summary > p:not(.eyebrow) { margin: 0 0 14px; font-size: 15px; line-height: 1.8; color: #48535d; }
.about-intro h2 { margin-bottom: 0; white-space: nowrap; }
.text-link { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; font-size: 14px; line-height: 1.6; text-decoration: underline; text-decoration-color: #9ca69f; text-underline-offset: 5px; transition: color 180ms ease-out; }
.text-link:hover { color: var(--initial); }
.link-icon { width: 20px; height: 20px; flex: 0 0 20px; transition: transform 180ms ease-out; }
.profile-page { position: relative; isolation: isolate; }
.profile-atmosphere { position: fixed; z-index: -1; inset: 0; background: url("assets/linen.webp") center / cover; opacity: .12; pointer-events: none; }
.profile-header, .profile-main { width: min(880px, calc(100% - 64px)); margin-inline: auto; }
.profile-header { padding-top: 32px; }
.profile-main { padding: 76px 0 48px; }
.profile-hero { display: grid; grid-template-columns: minmax(0,1fr) 220px; gap: 40px; align-items: start; margin-bottom: 58px; }
.profile-portrait { display: block; width: 100%; height: auto; border-radius: 4px; }
.profile-title { font-size: clamp(26px, 4.7vw, 50px); white-space: nowrap; margin: 0 0 24px; letter-spacing: -.045em; font-weight: 300; }
.profile-intro { margin: 0; color: #53645b; font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 300; }
.profile-body { max-width: 660px; }
.profile-body section { margin-top: 36px; }
.profile-body h2 { margin: 0 0 14px; font-size: 17px; line-height: 1.4; font-weight: 500; letter-spacing: -.01em; }
.profile-body p { margin: 0 0 16px; color: #48535d; font-size: 16px; line-height: 1.8; }
.profile-consultation { border-top: 1px solid #d8dcd7; padding-top: 32px; }
.not-found { width: min(680px, calc(100% - 48px)); margin: 0 auto; padding: 20vh 0 72px; }
.not-found h1 { font-size: clamp(32px, 5vw, 52px); white-space: normal; margin-bottom: 24px; }
.not-found > p:not(.eyebrow) { color: #48535d; line-height: 1.8; }
h1 { margin: 0 0 38px; font-size: clamp(44px, 5.2vw, 74px); line-height: 1.15; font-weight: 400; letter-spacing: -.045em; white-space: nowrap; }
.sage { color: var(--sage); }
.name-initial { color: var(--initial); }
.booking-link {
  display: inline-flex; align-items: center; gap: 20px;
  min-height: 44px; padding-block: 9px;
  border-bottom: 1px solid #84908f;
  font-size: 15px; line-height: 1.6; letter-spacing: .015em;
  text-decoration: none; transition: color 180ms, border-color 180ms;
}
.booking-link[href]:hover { color: var(--initial); border-color: var(--initial); }
.booking-link[href]:hover .link-icon { transform: translate(2px, -2px); }
.booking-link:active, .text-link:active { opacity: .75; }
.scroll-cue { position: absolute; bottom: 32px; left: calc(50% - 24px); width: 48px; height: 48px; display: grid; place-items: center; }
.scroll-cue span { width: 9px; height: 9px; border-right: 1px solid #53606a; border-bottom: 1px solid #53606a; transform: rotate(45deg); }
/* Text is fully visible without JS or scroll-animation support. */
@supports (animation-timeline: scroll()) {
  .linen { animation: linen-drift linear both; animation-timeline: scroll(root block); }
  .ivory { animation: clearing linear both; animation-timeline: scroll(root block); }
  .scene-copy { animation: copy-reveal linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  .opening .scene-copy { animation-name: opening-reveal; }
  .closing .scene-copy { animation: none; }
}
@keyframes linen-drift { from { transform: scale(1); } to { transform: translateX(6%) scale(1.12); } }
@keyframes clearing { 0%, 24% { opacity: 0; } 55% { opacity: .2; } 100% { opacity: .96; } }
@keyframes copy-reveal { 0% { opacity: 0; transform: translateY(16px); } 25%, 65% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-12px); } }
@keyframes opening-reveal { 0%, 65% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-12px); } }
@media (max-width: 800px) {
  .profile-hero { grid-template-columns: 1fr; }
  .profile-portrait { width: 180px; }
}
@media (max-width: 600px) {
  .linen { background-position: 57% center; opacity: .62; }
  .scene { padding: 72px 30px; }
  .middle { padding-left: 15vw; }
  .closing { padding-inline: 24px; }
  h1 { margin-bottom: 28px; }
  .booking-link { font-size: 14px; }
  .about-summary { padding-top: 28px; }
  .about-section { padding: 0 24px 72px; }
  .wordmark-anchor { margin-bottom: 28px; }
  .about-summary h2 { font-size: 23px; }
  .profile-header, .profile-main { width: calc(100% - 48px); }
  .profile-main { padding-top: 48px; }
  .profile-hero { grid-template-columns: 1fr; gap: 28px; margin-bottom: 40px; }
  .profile-portrait { width: 160px; }
  .about-intro { gap: 16px; }
  .about-intro .eyebrow { font-size: 10px; }
  .profile-body p { font-size: 15px; }
}
@media (max-width: 430px) {
  .about-intro { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ivory { opacity: .35; }
}
@media print {
  .atmosphere, .profile-atmosphere, .opening, .middle, .scroll-cue, .skip-link { display: none; }
  .scene { min-height: auto; padding: 40px; }
  .scene-copy { animation: none; }
  .floating-wordmark { position: static; transform: none !important; text-align: center; width: auto; }
  .wordmark-anchor { display: none; }
}
