:root {
  color-scheme: light;
  --paper: #f7f5ec;
  --ink: #252b1b;
  --muted: #535949;
  --line: #d7d9c9;
  --leaf: #343f29;
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "DM Sans", system-ui, sans-serif;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "DM Sans";
  src: url("./assets/dm-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--body); }
img { display: block; max-width: 100%; }
figure, h1, h2, p, dl, dd, blockquote { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
section[id] { scroll-margin-top: 24px; }

.skip-link { position: fixed; z-index: 2; top: .75rem; left: .75rem; padding: .5rem 1rem; color: var(--ink); background: var(--paper); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.wrap, .nav-inner, .hero-inner { width: min(100% - 112px, 1200px); margin-inline: auto; }
.nav-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.wordmark { display: inline-flex; align-items: center; gap: .68rem; line-height: 1; }
.wordmark strong { display: block; font-size: 1.28rem; font-weight: 750; letter-spacing: -.055em; }
.wordmark small { display: block; margin-top: .25rem; font-size: .66rem; color: var(--muted); }
.brand-mark { flex: none; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #9a9e85; border-radius: 50%; }
.brand-mark span { width: 12px; height: 12px; border-radius: 80% 0 80% 0; background: #5c6948; transform: rotate(-15deg); }
nav { display: flex; align-items: center; gap: clamp(16px, 3.2vw, 42px); font-size: .86rem; font-weight: 600; }
.nav-text, .back-top { text-underline-offset: .3em; }
.nav-text:hover, .back-top:hover { text-decoration: underline; }
.nav-action { display: inline-flex; align-items: center; min-height: 42px; gap: .65rem; padding: .45rem .9rem; border: 1px solid #b8bba9; border-radius: 100px; transition: background-color .2s; }
.nav-action:hover { background: #e8ebdd; }

.hero { position: relative; display: flex; align-items: center; min-height: clamp(580px, 72svh, 780px); isolation: isolate; overflow: hidden; color: #fffdf2; background: #30371e; }
.hero-media, .hero::after { position: absolute; inset: 0; }
.hero-media { z-index: -2; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: 52% 54%; }
.hero::after { z-index: -1; content: ""; background: linear-gradient(90deg, rgba(18,26,13,.75) 0%, rgba(22,29,15,.59) 29%, rgba(27,30,14,.19) 63%, rgba(25,26,13,.06) 100%); }
.hero-inner { padding-block: 55px 72px; }
.eyebrow { font-size: .69rem; font-weight: 750; text-transform: uppercase; letter-spacing: .185em; line-height: 1.4; }
.hero-label { display: flex; gap: .8rem; align-items: center; margin-bottom: 1.35rem; color: #f4f0d7; }
.hero-label::before { content: ""; width: 24px; height: 1px; background: currentColor; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; }
h1 { font-size: clamp(5rem, 9vw, 9rem); line-height: .85; }
h2 { font-size: clamp(3.35rem, 6vw, 6.2rem); line-height: .96; }
h1 em, h2 em { font-weight: inherit; }
h1 em { color: #f0e9bd; }
.hero-description { max-width: 305px; margin: 1.75rem 0 1.55rem; color: #fffdf2; font-size: clamp(1rem, 1.45vw, 1.2rem); line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 1rem; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: 100px; cursor: pointer; font-size: .83rem; font-weight: 750; transition: background-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { color: #29301e; background: #f5f0d9; }
.button-light:hover { background: #fffdf0; }
.button-light:focus-visible { outline-color: #fffdf0; }
.hero-caption { position: absolute; right: max(28px, calc((100% - 1200px) / 2)); bottom: 26px; display: flex; gap: .55rem; align-items: center; border-radius: 20px; padding: .25rem .65rem; background: #282a19a6; color: #fffdf0; font-size: .7rem; }
.hero-caption span, .phone-dot { width: 6px; height: 6px; border-radius: 50%; background: #d9d6a5; }

.moments { padding-block: clamp(62px, 8vw, 110px); }
.section-heading { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; gap: 1.1rem 3.5rem; margin-bottom: 2rem; }
.section-heading .eyebrow, .practice .eyebrow { margin-bottom: .8rem; color: #58624a; }
.section-heading > p { max-width: 38ch; margin-bottom: .35rem; color: var(--muted); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.2vw, 32px); }
.gallery img { width: 100%; aspect-ratio: 1.13; height: auto; object-fit: cover; border-radius: 3px; background: #dddbcb; }
.gallery figcaption { padding-block: .7rem .2rem; color: var(--muted); font-size: .85rem; line-height: 1.45; }

.about { color: #fcf9e9; background: var(--leaf); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; padding-block: clamp(65px, 8vw, 110px); }
.about .eyebrow { color: #e1dfc0; margin-bottom: .8rem; }
.about h2 em { color: #e0ddaf; }
.features { max-width: 430px; margin-top: 1.6rem; }
.features div { border-top: 1px solid #838974; padding: .64rem 0 .72rem; }
.features dt { font-size: .95rem; font-weight: 700; }
.features dd { margin-top: .15rem; color: #e5e5d6; font-size: .92rem; }
.preview-block { justify-self: center; width: min(100%, 248px); }
.preview { width: 100%; }
.phone { padding: 10px; border: 5px solid #242a1c; border-radius: 31px; background: var(--paper); color: var(--ink); box-shadow: 0 22px 50px #14200e65; }
.phone-top { display: flex; gap: .55rem; align-items: center; justify-content: space-between; padding: .3rem .33rem .6rem; font-size: .88rem; font-weight: 700; }
.phone-dot { background: #657253; }
.phone-time { color: var(--muted); font-size: .61rem; letter-spacing: .09em; }
.carousel-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: 2px; border-radius: 12px; }
.carousel-slide { flex: 0 0 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.phone img { width: 100%; aspect-ratio: .86; height: auto; border-radius: 12px; object-fit: cover; }
.phone img.is-landscape { object-position: 52% 54%; }
.carousel-slide figcaption { padding: .63rem .33rem .2rem; font-size: .75rem; line-height: 1.4; }
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 6px; padding: .1rem 0 .4rem; }
.carousel-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #c5c7b6; cursor: pointer; }
.carousel-dot[aria-current="true"] { background: var(--leaf); }
.carousel-dot:focus-visible { outline-offset: 3px; }

.store-links { margin-top: 1.15rem; }
.store-status { margin: 0 0 .55rem; font-size: .69rem; font-weight: 750; text-transform: uppercase; letter-spacing: .185em; line-height: 1.4; }
.store-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.store-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: .4rem 1rem; border: 1px solid #b8bba9; border-radius: 100px; font-size: .78rem; font-weight: 650; }
.store-badge[aria-disabled="true"] { cursor: default; opacity: .82; }
.hero .store-status { color: #f4f0d7; }
.hero .store-badge { color: #fffdf2; border-color: #d5d3b8; background: transparent; }
.hero .store-badge:not([aria-disabled="true"]):hover { background: #ffffff1a; }
.preview-block .store-links { margin-top: 1rem; text-align: center; }
.preview-block .store-row { justify-content: center; }
.preview-block .store-status { color: #e1dfc0; }
.preview-block .store-badge { color: #fcf9e9; border-color: #838974; }
.preview-block .store-badge:not([aria-disabled="true"]):hover { background: #ffffff14; }

.practice { padding-block: clamp(55px, 8vw, 100px); }
.practice-inner { padding: clamp(37px, 6vw, 82px) clamp(15px, 4vw, 60px); border: 1px solid var(--line); border-radius: 5px; background: #eeeee2; text-align: center; }
.practice h2 { font-size: clamp(2.75rem, 5.5vw, 5.4rem); }
.practice blockquote { display: grid; place-items: center; max-width: 42ch; min-height: 3.4em; margin: .9rem auto .85rem; color: var(--muted); font-size: clamp(.98rem, 1.8vw, 1.25rem); }
.button-dark { color: #fffdf0; background: var(--leaf); }
.button-dark:hover { background: #4f5c3e; }
.button-dark:focus-visible { outline-color: var(--leaf); }
footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 90px; }
.footer-links { flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1rem; }
.footer-links a, .prose a { text-decoration: underline; text-underline-offset: .2em; }
.back-top { font-size: .83rem; font-weight: 600; }
.back-top span { margin-left: .25rem; }

.prose { max-width: 720px; padding-block: clamp(44px, 8vw, 96px); }
.prose h1 { font-size: clamp(3.15rem, 9vw, 6.1rem); line-height: .96; }
.prose h2 { margin-top: 2rem; font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.08; }
.prose p, .prose ul { margin-block: .8rem 0; color: var(--muted); }
.prose ul { padding-inline-start: 1.35rem; }
.prose li + li { margin-top: .4rem; }
.prose a { color: var(--ink); overflow-wrap: anywhere; }
.prose h3 { margin-top: 1.35rem; font-family: var(--body); font-size: 1.05rem; font-weight: 700; letter-spacing: 0; line-height: 1.35; color: var(--ink); }
.prose .policy-kicker { margin-top: .85rem; color: var(--ink); font-size: 1.15rem; }
.prose .policy-updated { margin-top: .2rem; font-size: .86rem; }
.prose address { margin-block: .8rem 0; font-style: normal; color: var(--muted); line-height: 1.7; }


@media (max-width: 850px) {
  .wrap, .nav-inner, .hero-inner { width: calc(100% - 64px); }
  .section-heading { gap: 1rem 1.65rem; }
  .gallery img { aspect-ratio: .85; }
}

@media (max-width: 590px) {
  .wrap, .nav-inner, .hero-inner { width: calc(100% - 36px); }
  .nav-inner { min-height: 64px; }
  nav { gap: .55rem; font-size: .74rem; }
  .nav-action { gap: .35rem; padding-inline: .55rem; }
  .wordmark { gap: .42rem; }
  .wordmark strong { font-size: 1.07rem; }
  .wordmark small { font-size: .55rem; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-mark span { width: 10px; height: 10px; }
  .hero { min-height: 590px; align-items: end; }
  .hero-image { object-position: 65% 50%; }
  .hero::after { background: linear-gradient(0deg, rgba(18,26,13,.88) 0%, rgba(18,26,13,.65) 48%, rgba(27,30,14,.04) 90%); }
  .hero-inner { padding-block: 125px 82px; }
  h1 { font-size: clamp(3.85rem, 15.5vw, 6rem); }
  .hero-description { margin-block: 1.2rem; max-width: 28ch; }
  .hero-caption { right: 18px; bottom: 15px; }
  .section-heading, .about-inner { grid-template-columns: 1fr; }
  .section-heading { margin-bottom: 1.3rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 1.58; }
  .gallery figcaption { font-size: .78rem; }
  .about-inner { gap: 2.3rem; }
}

@media (max-width: 350px) {
  .nav-text { padding: .2rem 0; }
  .wordmark small { max-width: 67px; line-height: 1.1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.action-icon { position: relative; display: inline-block; flex: 0 0 10px; width: 10px; height: 10px; }
.action-icon.north-east::before, .action-icon.up::before { position: absolute; content: ""; top: 1px; right: 1px; width: 5px; height: 5px; border-top: 1px solid; border-right: 1px solid; }
.action-icon.north-east::after, .action-icon.up::after { position: absolute; content: ""; top: 1px; right: 1px; width: 11px; height: 1px; background: currentColor; transform: rotate(-45deg); transform-origin: right center; }
.action-icon.up { transform: rotate(-45deg); }
.action-icon.refresh { border: 1px solid; border-right-color: transparent; border-radius: 50%; }
.action-icon.refresh::after { position: absolute; content: ""; top: 0; right: -1px; border: 2px solid transparent; border-top: 3px solid currentColor; transform: rotate(-22deg); }

@media (max-width: 350px) {
  .nav-inner { width: calc(100% - 24px); gap: 8px; }
  nav { gap: .45rem; white-space: nowrap; }
}
