@font-face {
    font-family: "Stillwater Serif";
    src: url("stillwater-serif.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 550;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f6f2e8;
    --sage: #e5e9dd;
    --leaf: #314e43;
    --ink: #263d32;
    --muted: #4c5c50;
    --ochre: #83583a;
    --rule: #a3ac9d;
    --serif: "Stillwater Serif", Georgia, serif;
    --shell: min(100% - 4.5rem, 76rem);
    background: var(--paper);
    color: var(--ink);
    font-family: "Trebuchet MS", system-ui, sans-serif;
    font-weight: 400;
}

* { box-sizing: border-box; }
body, h1, h2, h3, p, figure, ul { margin: 0; }
body { min-width: 0; line-height: 1.6; }
a { color: inherit; text-underline-offset: .24em; }
img, video { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.stillwater-shell { width: var(--shell); margin-inline: auto; }
.stillwater-skip { position: absolute; z-index: 20; top: .65rem; left: .65rem; transform: translateY(-180%); padding: .5rem 1rem; color: white; background: var(--leaf); }
.stillwater-skip:focus { transform: none; }
.stillwater-demo { padding: .3rem 1rem; text-align: center; background: var(--sage); color: var(--ink); font-size: .82rem; }
.stillwater-preview { padding: .5rem 1rem; text-align: center; background: var(--leaf); color: white; }
.stillwater-fallback { padding-top: 1rem; color: var(--muted); font-size: .9rem; }

.stillwater-header { position: relative; z-index: 2; border-bottom: 1px solid #d5dacd; }
.stillwater-header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; min-height: 5.4rem; gap: .75rem 1.5rem; }
.stillwater-brand { display: inline-flex; width: fit-content; max-width: 100%; min-height: 44px; align-items: center; gap: .65rem; font: 525 clamp(1.22rem, 2.25vw, 1.8rem)/1.07 var(--serif); letter-spacing: -.042em; text-decoration: none; }
.stillwater-brand span:last-child { overflow-wrap: anywhere; }
.stillwater-brand img { width: auto; max-width: min(100%, 8rem); max-height: 3rem; height: auto; object-fit: contain; }
.stillwater-mark { position: relative; display: inline-block; flex: 0 0 auto; width: 1.85rem; height: 1.85rem; border: 1px solid currentColor; border-radius: 50%; }
.stillwater-mark::before, .stillwater-mark::after { position: absolute; inset: .28rem .14rem; border: 1px solid currentColor; border-radius: 50%; content: ""; transform: rotate(45deg); }
.stillwater-mark::after { transform: rotate(-45deg); }
.stillwater-navigation { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(.5rem, 2.3vw, 1.8rem); list-style: none; padding: 0; }
.stillwater-navigation li { position: relative; }
.stillwater-header :is(summary, .stillwater-navigation a, .stillwater-language a) { display: inline-flex; min-height: 44px; align-items: center; gap: .35rem; padding: .3rem .1rem; color: var(--muted); text-decoration: none; font-size: .915rem; }
.stillwater-header summary { list-style: none; cursor: pointer; }
.stillwater-header summary::-webkit-details-marker { display: none; }
.stillwater-header :is(a, summary):is(:hover, [aria-current="page"]) { color: var(--ink); text-decoration: underline; }
.stillwater-navigation [aria-current="page"] { text-decoration-color: var(--ochre); }
.stillwater-header svg { width: .9rem; height: .9rem; flex: 0 0 auto; }
.stillwater-language { position: relative; justify-self: end; }
.stillwater-language > summary { min-width: 3.35rem; justify-content: center; border: 1px solid var(--rule); border-radius: 99px; padding-inline: .62rem; font-size: .83rem; font-weight: 700; }
.stillwater-language ul, .stillwater-nav-children { position: absolute; z-index: 2; min-width: 11.6rem; padding: .25rem .75rem; background: var(--paper); border: 1px solid var(--rule); list-style: none; }
.stillwater-language ul { right: 0; top: calc(100% + .35rem); }
.stillwater-nav-children { left: 0; }
.stillwater-language li + li { border-top: 1px solid #d5dacd; }
.stillwater-language li a { display: flex; }
.stillwater-mobile-menu { display: none; }

.stillwater-hero { padding-block: clamp(2.55rem, 4.5vw, 4.85rem) clamp(3.75rem, 6.5vw, 6rem); }
.stillwater-hero-title { max-width: 62rem; margin-inline: auto; text-align: center; }
.stillwater-hero-feature { display: grid; max-width: 58rem; margin: clamp(2.6rem, 4.5vw, 4.75rem) auto 0; align-items: center; gap: clamp(1.6rem, 6vw, 6rem); }
.stillwater-hero-with-photo { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.stillwater-hero-with-photo .stillwater-hero-words { grid-column: 2; grid-row: 1; }
.stillwater-hero-feature:not(.stillwater-hero-with-photo) .stillwater-hero-words { justify-self: center; text-align: center; }
.stillwater-hero-words .stillwater-intro { margin-top: 0; }
.stillwater-eyebrow { color: var(--ochre); font-size: .82rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.stillwater-hero h1, .stillwater-page-heading h1 { margin-top: .75rem; font: 420 clamp(4.05rem, 6.3vw, 6.5rem)/.99 var(--serif); font-optical-sizing: auto; letter-spacing: -.075em; text-wrap: balance; overflow-wrap: break-word; }
.stillwater-intro { max-width: 37ch; margin-top: 1.5rem; color: var(--muted); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.stillwater-button { display: inline-flex; min-height: 48px; align-items: center; gap: .75rem; margin-top: 1.9rem; border: 1px solid var(--leaf); border-radius: 99px; padding: .54rem 1.25rem; background: var(--leaf); color: #fffaf1; text-decoration: none; font-size: .98rem; transition: background-color .18s ease, color .18s ease; }
.stillwater-button:hover { background: var(--paper); color: var(--leaf); }
.stillwater-button svg, .stillwater-text-link svg { width: 1.05rem; height: 1.05rem; flex: 0 0 auto; }
.stillwater-text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .5rem; color: var(--ink); font-weight: 700; }
.stillwater-hero-art { position: relative; isolation: isolate; grid-column: 1; grid-row: 1; width: 100%; }
.stillwater-hero-art::after { position: absolute; z-index: -1; inset: -.65rem .65rem .65rem -.65rem; border: 1px solid #8e9b89; border-radius: 49% 49% 1.4rem 1.4rem / 39% 39% 1.4rem 1.4rem; content: ""; }
.stillwater-hero-photo { overflow: hidden; aspect-ratio: 1.08; border-radius: 49% 49% 1.4rem 1.4rem / 39% 39% 1.4rem 1.4rem; background: #dce5d2; }
.stillwater-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 57%; }

.stillwater-sage-band { background: var(--sage); }
.stillwater-welcome { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: clamp(2.5rem, 10vw, 8rem); padding-block: clamp(3.1rem, 7vw, 6.5rem); }
.stillwater-welcome-photo { overflow: hidden; max-width: 27rem; aspect-ratio: 1.3; border-radius: 1rem 5rem 1rem 1rem; }
.stillwater-welcome-photo img { width: 100%; height: 100%; object-fit: cover; }
.stillwater-prose { max-width: 60ch; overflow-wrap: break-word; }
.stillwater-prose > * + * { margin-top: 1rem; }
.stillwater-prose h2, .stillwater-prose h3, .stillwater-class-list h2 { font: 470 clamp(1.75rem, 4vw, 3.5rem)/1.06 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.stillwater-prose h3 { font-size: clamp(1.3rem, 3vw, 2rem); }
.stillwater-prose .stillwater-copy { max-width: 51ch; }
.stillwater-copy { white-space: pre-line; color: var(--muted); }
.stillwater-list { padding-inline-start: 1.2rem; color: var(--muted); }
.stillwater-list li + li { margin-top: .35rem; }

.stillwater-article { padding-block: clamp(2.8rem, 6.5vw, 6rem); }
.stillwater-page-heading { max-width: 54rem; margin-bottom: clamp(2.4rem, 5vw, 4.8rem); }
.stillwater-page-heading h1 { font-size: clamp(3.5rem, 6vw, 5.8rem); }
.stillwater-page-heading .stillwater-intro { max-width: 47ch; }
.stillwater-about, .stillwater-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); align-items: start; gap: clamp(2rem, 8vw, 7rem); }
.stillwater-about { align-items: center; }
.stillwater-about-photo img { width: 100%; aspect-ratio: 1.32; border-radius: .75rem 6rem .75rem .75rem; object-fit: cover; }
.stillwater-photo img, .stillwater-photo video { width: 100%; aspect-ratio: 1.3; object-fit: cover; border-radius: .75rem; background: var(--sage); }
.stillwater-photo video { object-fit: contain; }
.stillwater-yoga figcaption { margin-top: .6rem; color: var(--muted); font: italic 1.02rem/1.35 var(--serif); }
.stillwater-photo-walk { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(1rem, 3vw, 3rem); }
.stillwater-photo-walk figure:nth-child(3n + 1) { grid-row: span 2; }
.stillwater-photo-walk figure:nth-child(3n + 1) :is(img, video) { aspect-ratio: .91; border-radius: 6rem .75rem .75rem .75rem; }
.stillwater-gallery-copy { margin-top: 2rem; }
.stillwater-class-heading { padding-block: clamp(2.8rem, 6.5vw, 6rem); }
.stillwater-class-heading .stillwater-page-heading { margin: 0; }
.stillwater-classes { padding-block: clamp(2.5rem, 6.5vw, 5.5rem); }
.stillwater-class-list { list-style: none; padding: 0; }
.stillwater-class-list li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: .75rem 2rem; padding-block: clamp(1.25rem, 3vw, 2.35rem); border-top: 1px solid var(--rule); }
.stillwater-class-list li:last-child { border-bottom: 1px solid var(--rule); }
.stillwater-class-list h2 { font-size: clamp(1.7rem, 3.5vw, 2.9rem); }
.stillwater-class-price { margin-top: .55rem; color: var(--ochre); font-weight: 700; }
.stillwater-class-list figure { max-width: 18rem; }
.stillwater-class-note { margin-top: clamp(2.25rem, 6vw, 4.4rem); }
.stillwater-address { display: grid; justify-items: start; gap: .6rem; padding: clamp(1.4rem, 4vw, 2.75rem); border-radius: 1rem 4rem 1rem 1rem; background: var(--sage); color: var(--ink); font-style: normal; }
.stillwater-address .stillwater-mark { margin-bottom: .35rem; }
.stillwater-address p { font: 470 clamp(1.4rem, 3.5vw, 2.1rem)/1.13 var(--serif); }
.stillwater-address a { display: flex; align-items: start; gap: .5rem; min-height: 44px; padding-block: .4rem; overflow-wrap: anywhere; }
.stillwater-address svg { width: 1.2rem; height: 1.2rem; margin-block-start: .2rem; flex: 0 0 auto; }

.stillwater-footer { padding-block: clamp(2rem, 5vw, 4rem); background: var(--leaf); color: var(--paper); }
.stillwater-footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: end; justify-content: space-between; }
.stillwater-footer-inner > div p { font-size: .94rem; }
.stillwater-yoga .kabritu-contact { margin-top: 2rem; padding-top: 1.35rem; border-top: 1px solid var(--rule); }
.stillwater-yoga .kabritu-contact__form { display: grid; gap: 1rem; margin-top: .8rem; }
.stillwater-yoga .kabritu-contact__field { display: grid; gap: .25rem; }
.stillwater-yoga .kabritu-contact__input { width: 100%; padding: .6rem .75rem; border: 1px solid var(--muted); border-radius: .35rem; color: var(--ink); font: inherit; }
.stillwater-yoga .kabritu-contact__submit { display: inline-flex; align-items: center; justify-self: start; min-height: 44px; gap: .55rem; border: 1px solid var(--leaf); border-radius: 99px; padding: .5rem 1.1rem; color: var(--paper); background: var(--leaf); font: inherit; cursor: pointer; }
.stillwater-yoga .kabritu-contact__icon { width: 1rem; height: 1rem; }
.stillwater-yoga .kabritu-contact__error, .stillwater-yoga .kabritu-contact__notice { color: var(--ochre); }

@media (max-width: 57rem) {
    :root { --shell: calc(100% - 3rem); }
    .stillwater-header-inner { grid-template-columns: minmax(0, 1fr) auto auto; min-height: 4.6rem; gap: .4rem; }
    .stillwater-desktop-nav { display: none; }
    .stillwater-mobile-menu { display: block; grid-column: 3; }
    .stillwater-mobile-menu > summary { display: grid; width: 44px; place-content: center; border: 1px solid var(--rule); border-radius: 50%; }
    .stillwater-mobile-menu > summary svg { width: 1.3rem; height: 1.3rem; }
    .stillwater-mobile-menu nav { position: absolute; z-index: 2; inset: 100% 0 auto; padding: .65rem max(1.5rem, calc((100% - 76rem) / 2)); background: var(--paper); border-bottom: 1px solid var(--rule); }
    .stillwater-mobile-menu .stillwater-navigation { display: grid; }
    .stillwater-mobile-menu .stillwater-nav-children { position: static; border: 0; }
    .stillwater-hero-feature { gap: clamp(1.5rem, 4vw, 3.6rem); }
    .stillwater-hero h1 { font-size: clamp(3rem, 6.5vw, 5rem); }
}

@media (max-width: 38rem) {
    :root { --shell: calc(100% - 2rem); }
    .stillwater-hero-with-photo, .stillwater-welcome, .stillwater-about, .stillwater-contact, .stillwater-photo-walk, .stillwater-class-list li { grid-template-columns: minmax(0, 1fr); }
    .stillwater-hero { padding-block: 2.5rem 3.5rem; }
    .stillwater-hero-feature { margin-top: 1.25rem; gap: 2.25rem; }
    .stillwater-hero-with-photo :is(.stillwater-hero-art, .stillwater-hero-words) { grid-area: auto; justify-self: center; }
    .stillwater-hero-words { text-align: center; }
    .stillwater-hero h1 { font-size: clamp(2.85rem, 12vw, 4.9rem); }
    .stillwater-page-heading h1 { font-size: clamp(2.6rem, 11vw, 4rem); }
    .stillwater-hero-art { width: calc(100% - .8rem); max-width: 27rem; }
    .stillwater-hero-art::after { inset: -.43rem .43rem .43rem -.43rem; }
    .stillwater-hero-photo { aspect-ratio: 1 / 1.09; }
    .stillwater-intro { margin-top: 1rem; }
    .stillwater-button { margin-top: 1.35rem; }
    .stillwater-welcome-photo, .stillwater-about-photo { width: 100%; max-width: 29rem; }
    .stillwater-photo-walk { gap: 1.7rem; }
    .stillwater-photo-walk figure:nth-child(3n + 1) { grid-row: auto; }
}

@media (max-width: 21rem) {
    .stillwater-brand { gap: .4rem; }
    .stillwater-mark { width: 1.5rem; height: 1.5rem; }
    .stillwater-language > summary { padding-inline: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .stillwater-button { transition: none; }
}
