:root {
  color-scheme: light;
  --paper: #fbfbfb;
  --ink: #0a0501;
  --night: #0f0f11;
  --muted: #534f4d;
  --line: #0a050129;
  --accent: #c83e07;
  font-family: Geist, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(100% - clamp(2.3rem, 10vw, 11rem), 85rem); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: -10rem; left: 1rem; padding: .5rem 1rem; background: white; }
.skip:focus { top: 1rem; }
.header { display: flex; justify-content: space-between; align-items: center; min-height: 5.3rem; gap: 1.1rem; border-bottom: 1px solid var(--line); }
.home .header { position: absolute; inset: 0 0 auto; z-index: 2; color: var(--paper); border-color: #ffffff4d; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: 1.06rem; letter-spacing: .035em; line-height: 1.15; text-decoration: none; font-weight: 470; flex-shrink: 0; }
.brand small { display: block; letter-spacing: .19em; font-size: .66rem; margin-top: .16rem; }
.mark { width: 1.85rem; height: 1.85rem; display: grid; grid-template-columns: 1fr 1fr; gap: .15rem; transform: rotate(-8deg); }
.mark i { display: block; border: 1px solid currentColor; border-radius: 65% 0 0 0; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem clamp(.76rem, 2.45vw, 2.2rem); }
nav a { text-decoration: none; font-size: .94rem; font-weight: 460; }
nav a:hover, nav a[aria-current] { text-decoration: underline; text-underline-offset: .26em; }
.header nav a:last-child { padding: .42rem .8rem; background: var(--accent); color: var(--paper); border-radius: .15rem; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 385; letter-spacing: -.057em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(3rem, 7.3vw, 7rem); }
h2 { font-size: clamp(2.35rem, 5.3vw, 5rem); }
h3 { font-size: clamp(1.7rem, 3.3vw, 3.1rem); }
.label { margin-bottom: .75rem; font-size: .82rem; font-weight: 530; letter-spacing: .1em; text-transform: uppercase; }
.lead { max-width: 37rem; margin-top: 1.12rem; font-size: clamp(1.05rem, 1.65vw, 1.34rem); color: var(--muted); }
.hero { position: relative; isolation: isolate; min-height: clamp(33rem, 93svh, 60rem); display: grid; align-items: end; color: var(--paper); overflow: clip; background: var(--night); }
.hero-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 58% 55%; animation: photo-settle 9s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(#0a0501a8, transparent 30%), linear-gradient(90deg, #0a0501b0, transparent 80%), linear-gradient(0deg, var(--night), #0a05018f 28%, transparent 74%); }
.hero-copy { padding-block: clamp(9rem, 23vh, 14rem) clamp(4.7rem, 10vh, 7.5rem); }
.hero h1 { font-weight: 350; text-wrap: initial; }
.hero .lead, .approach-intro .lead { color: #ffffffde; }
.hero-credit { position: absolute; inset: auto 0 1.25rem; text-align: right; font-size: .79rem; }
.hero-credit a { text-decoration-color: #ffffff74; text-underline-offset: .2em; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.4rem; margin-top: 1.55rem; }
.button { display: inline-block; padding: .68rem 1rem; background: var(--accent); color: var(--paper); text-decoration: none; border-radius: .15rem; font-weight: 510; }
.button:hover { background: #a83306; }
.under { display: inline-block; font-weight: 510; text-underline-offset: .25em; }
.approach-intro { background: var(--night); color: var(--paper); text-align: center; padding-block: clamp(4.7rem, 12vw, 10rem); }
.approach-intro .lead { margin-inline: auto; }
.story { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2.2rem, 7vw, 7.75rem); align-items: start; padding-block: clamp(3rem, 8vw, 7.5rem); }
.story-media { position: sticky; top: 9vh; min-width: 0; }
.story-media figure { overflow: clip; }
.story-photo { display: block; width: 100%; height: clamp(17rem, 54vh, 33rem); object-fit: cover; object-position: 57% center; }
.story-media figcaption { font-size: .76rem; color: var(--muted); margin-top: .38rem; }
.story-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem; margin-top: .5rem; }
.story-nav a {
  display: grid; place-items: center; min-height: 2.85rem; padding: .55rem .25rem;
  background: var(--night); color: var(--paper); border-radius: .15rem;
  text-align: center; font-weight: 510; line-height: 1.2;
}
.story-nav a:hover, .story-nav a:focus-visible,
.story:has(#review:target) .story-nav a[href="#review"],
.story:has(#plan:target) .story-nav a[href="#plan"],
.story:has(#train:target) .story-nav a[href="#train"] { background: var(--accent); text-decoration: none; }
.story-step { display: grid; align-content: center; gap: .75rem; min-height: clamp(15rem, 52vh, 29rem); padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.story-step .label { color: #a43107; margin-bottom: 0; }
.story-step h3 { text-wrap: initial; }
.story-step p:not(.label) { max-width: 40ch; color: var(--muted); }
.services { padding-block: clamp(2.7rem, 6vw, 5.5rem); }
.articles { margin-top: 1.65rem; }
.post { display: grid; grid-template-columns: minmax(9rem, 1fr) 2.1fr; gap: .45rem 1.8rem; padding-block: 1.35rem; border-top: 1px solid var(--line); }
.post:last-child { border-bottom: 1px solid var(--line); }
.post p:not(.label) { grid-column: 2; color: var(--muted); }
.post h3 { font-size: clamp(1.5rem, 2.8vw, 2.65rem); }
.post h3 a { text-decoration: none; }
.post h3 a:hover { text-decoration: underline; text-underline-offset: .15em; }
.section-heading, .invite, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.band { background: #fff; border-block: 1px solid var(--line); }
.invite { padding-block: 4rem; }
.invite p { margin-top: .65rem; color: var(--muted); }
.footer { border-top: 1px solid var(--line); padding-block: 1.5rem; font-size: .94rem; color: var(--muted); }
.intro { padding-block: clamp(3.1rem, 8vw, 7rem) 2.6rem; }
.intro h1 { font-size: clamp(2.625rem, 6vw, 5.75rem); }
.detail { display: grid; gap: 2rem; padding-block: 1rem 3rem; }
.detail article { max-width: 47rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.detail h2, .reading h2 { font-size: clamp(1.65rem, 3vw, 2.65rem); }
.detail article p, .reading p { margin-top: .7rem; }
.reading { max-width: 46rem; padding-block: 1rem 4rem; }
.reading section { margin-bottom: 2rem; }
@keyframes photo-settle { from { transform: scale(1.045); } to { transform: scale(1); } }
@keyframes courtyard-pan { from { transform: scale(1.09) translateX(3%); } to { transform: scale(1.09) translateX(-3%); } }
@keyframes reveal-heading { from { opacity: .5; transform: translateY(1.25rem); } to { opacity: 1; transform: translateY(0); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .story { view-timeline-name: --approach; }
    .story-photo { animation: courtyard-pan linear both; animation-timeline: --approach; animation-range: entry 30% exit 70%; }
    .approach-intro h2, .story-step h3 { animation: reveal-heading linear both; animation-timeline: view(); animation-range: entry 0% entry 95%; }
  }
}
@media (max-width: 760px) {
  .header { align-items: flex-start; flex-direction: column; gap: .65rem; padding-block: .75rem; }
  .header nav a { font-size: .88rem; }
  .hero { min-height: clamp(34rem, 88svh, 47rem); }
  .hero-photo { object-position: 54% 56%; }
  .hero-credit { text-align: left; }
  .story { grid-template-columns: 1fr; gap: .7rem; }
  .story-media { position: static; }
  .story-photo { animation: none; }
  .story-step { min-height: 0; }
  .post { grid-template-columns: 1fr; }
  .post p:not(.label) { grid-column: 1; }
  .footer, .section-heading, .invite { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-photo { animation: none; }
}

.contact-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(2.5rem, 8vw, 7rem); padding-bottom: 4.5rem; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-content: start; }
.contact-form label { display: grid; gap: .35rem; font-weight: 510; }
.contact-form :is(input, select, textarea) { font: inherit; background: #fff; color: var(--ink); border: 1px solid #76716d; border-radius: .15rem; padding: .6rem .7rem; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-wide { grid-column: 1 / -1; }
.contact-form .button { border: 0; cursor: pointer; font: inherit; justify-self: start; }
.contact-form .button:disabled { opacity: .7; cursor: wait; }
.contact-note { color: var(--muted); font-size: .92rem; }
.contact-other h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.contact-other p { margin-top: .7rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .contact-layout, .contact-form { grid-template-columns: 1fr; } }
.footer { display: block; }
.footer-main, .footer-meta { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.footer-main { padding-block: .65rem 1.55rem; }
.footer-name { color: var(--ink); font-weight: 600; }
.footer-main p { margin-top: .3rem; }
.footer-meta { border-top: 1px solid var(--line); padding-top: 1rem; }
.footer-meta nav a { font-size: .88rem; }
.site-header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .header { position: static; color: var(--ink); border: 0; }
.site-header .brand { color: #1a2332; gap: 10px; font: 700 14px/1.15 Inter, sans-serif; letter-spacing: .08em; }
.site-header .brand small { margin: 0; color: #8a6d3b; font: 400 11px/1.15 Inter, sans-serif; letter-spacing: .25em; }
.site-header .mark { width: 22px; height: 22px; gap: 2px; transform: none; }
.site-header .mark i { border: 2px solid #1a2332; border-radius: 0; }
.site-header .mark i:first-child, .site-header .mark i:last-child { border-color: #8a6d3b; }
[id] { scroll-margin-top: 6.2rem; }
@media (max-width: 760px) {
  [id] { scroll-margin-top: 9rem; }
}

.about-intro { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.about-portrait { display: block; width: min(100%, 26rem); height: auto; justify-self: end; }
@media (max-width: 760px) {
  .about-intro { grid-template-columns: 1fr; }
  .about-portrait { width: min(100%, 22rem); justify-self: start; }
}
