:root {
  --ink: #25231f;
  --olive: #777843;
  --olive-dark: #626331;
  --paper: #fbf9f5;
  --sand: #eee4da;
  --line: rgba(70, 66, 55, .18);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --script: "Shadows Into Light", cursive;
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
section { scroll-margin-top: 88px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 16px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #a1a360; outline-offset: 4px; }

.site-header { min-height: 94px; padding: 18px clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 30px; background: rgba(248, 243, 237, .95); }
.brand { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; letter-spacing: .38em; }
.brand span { font-size: 30px; font-weight: 500; }
.brand small { margin-top: 8px; font-size: 8px; letter-spacing: .32em; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.main-nav > a:not(.button) { position: relative; }
.main-nav > a:not(.button)::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: var(--olive); transform: scaleX(0); transition: transform .2s; }
.main-nav > a:hover::after { transform: scaleX(1); }
.menu-toggle { position: relative; display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; }
.menu-toggle i { position: absolute; top: 50%; left: 50%; display: block; width: 24px; height: 2px; margin: 0; background: var(--ink); transform-origin: center; transition: transform .2s, opacity .2s; }
.menu-toggle i:nth-of-type(1) { transform: translate(-50%, calc(-50% - 7px)); }
.menu-toggle i:nth-of-type(2) { transform: translate(-50%, -50%); }
.menu-toggle i:nth-of-type(3) { transform: translate(-50%, calc(-50% + 7px)); }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 0 27px; border: 1px solid var(--olive); border-radius: 999px; background: var(--olive); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; transition: background .2s, color .2s, transform .2s; }
.button:hover { background: var(--olive-dark); transform: translateY(-1px); }
.button-small { min-height: 45px; padding-inline: 25px; }
.button-outline { background: transparent; color: var(--olive-dark); }
.button-outline:hover { color: #fff; }
.eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.script { margin: 0; color: var(--olive); font-family: var(--script); font-size: clamp(38px, 3.5vw, 56px); font-weight: 400; line-height: 1; }

.hero { position: relative; min-height: min(680px, calc(100vh - 94px)); overflow: hidden; display: grid; align-items: center; background: rgb(242, 235, 226); }
.hero-media, .hero-media img, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: center 18%; transform: translateX(7%); transform-origin: center; }
.hero-shade { background: linear-gradient(90deg, rgb(242,235,226) 0%, rgb(242,235,226) 12%, rgba(242,235,226,.96) 28%, rgba(242,235,226,.78) 43%, rgba(242,235,226,.16) 61%, transparent 77%); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 70px 0; }
.hero h1 { max-width: 610px; margin: 28px 0 18px; font-family: var(--serif); font-size: clamp(48px, 5.2vw, 78px); font-weight: 500; line-height: 1.06; letter-spacing: -.025em; }
.hero-copy { margin: 26px 0; font-size: 16px; line-height: 1.6; }

.section { padding: 70px max(24px, calc((100% - var(--max)) / 2)); }
.section-heading { margin-bottom: 34px; text-align: center; }
.section-heading span { display: block; width: 54px; height: 1px; margin: 10px auto 0; background: var(--olive); }
.offer-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.offer-card { min-width: 0; padding: 10px clamp(22px, 3vw, 45px) 18px; text-align: center; border-left: 1px solid var(--line); }
.offer-card:first-child { border-left: 0; }
.icon { display: inline-block; flex: 0 0 auto; object-fit: contain; }
.line-icon { display: block; width: 48px; height: 62px; margin-inline: auto; }
.offer-card h2, .location-grid h2 { min-height: 43px; margin: 12px 0 20px; font-size: 14px; line-height: 1.35; letter-spacing: .08em; text-transform: uppercase; }
.offer-card p { margin: 0 auto; font-size: 15px; line-height: 1.7; }
.offer-card a, .text-link { color: var(--olive-dark); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.about { min-height: 600px; display: grid; grid-template-columns: 56% 44%; background: var(--sand); }
.about-copy { width: 100%; padding: 76px clamp(30px, 5vw, 78px) 70px max(24px, calc((100vw - var(--max)) / 2)); }
.underlined { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid var(--olive); }
.about h2, .contact h2 { margin: 14px 0 0; font-family: var(--serif); font-size: clamp(34px, 3.5vw, 50px); font-weight: 500; line-height: 1.15; }
.about .script { margin: 14px 0 28px; }
.about-copy > p:not(.eyebrow):not(.script) { max-width: 550px; font-size: 16px; line-height: 1.7; }
.about .button { margin-top: 12px; }
.about-media { position: relative; min-height: 0; overflow: hidden; }
.about-media img { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center 22%; }

.locations { padding-top: 68px; padding-bottom: 72px; }
.location-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.location-grid article { padding: 0 40px; border-left: 1px solid var(--line); }
.location-grid article:first-child { border-left: 0; }
.pin { display: block; width: 30px; height: 30px; margin: 0 auto; color: var(--olive); }
.location-grid h2 { min-height: 0; margin: 12px 0 4px; text-align: center; }
.muted { margin: 0 0 19px; color: #6f6a61; text-align: center; font-size: 14px; }
.training-details { margin: 0; font-size: 14px; }
.training-details div { display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 7px 0; }
.training-details dt { font-weight: 600; }
.training-details dd { margin: 0; }
.center { text-align: center; }

.community { min-height: 390px; display: grid; grid-template-columns: 58% 42%; background: var(--sand); }
.community picture { overflow: hidden; }
.community > picture img { height: 100%; object-fit: cover; object-position: center 58%; }
.community-copy { display: flex; flex-direction: column; justify-content: center; padding: 62px clamp(35px, 6vw, 90px); }
.community-copy p:not(.script) { max-width: 490px; font-size: 16px; line-height: 1.7; }
.community-copy .script { margin-bottom: 16px; }
.community-title { display: flex; align-items: center; gap: .2em; }
.heart-icon { width: 1em; height: 1em; margin: 0; flex-shrink: 0; }
.community-copy .button { align-self: flex-start; margin-top: 14px; }

.contact { padding: 52px max(24px, calc((100% - var(--max)) / 2)) 56px; background: #f7f1ea; text-align: center; }
.contact-intro .eyebrow { color: var(--olive); }
.contact h2 { font-size: clamp(28px, 3vw, 42px); }
.contact .script { margin: 20px 0 60px; font-size: clamp(27px, 2.8vw, 39px); }
.contact-links { display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 45px; }
.contact-links a { display: flex; min-height: 49px; align-items: center; justify-content: center; gap: 12px; border: 1px solid var(--olive); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.contact-links a:hover { background: var(--olive); color: white; }
.contact-links span { color: var(--olive); font-size: 21px; }
.contact-links .icon { width: 21px; height: 21px; }
.contact-links a:hover span { color: white; }
.contact-links a:hover .icon { filter: brightness(0) invert(1); }
.contact-note { margin: 14px 0 0; color: #776f67; font-size: 13px; }

.site-footer { min-height: 88px; padding: 56px clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; background: #d9c4b3; }
.site-footer .brand { justify-self: start; transform: scale(.72); transform-origin: left center; }
.site-footer nav { display: flex; gap: 34px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer > p { justify-self: end; margin: 0; font-size: 16px; }

.legal { width: min(850px, calc(100% - 48px)); min-height: calc(100vh - 182px); margin: 0 auto; padding: 70px 0; }
.legal h1 { font-family: var(--serif); font-size: 48px; font-weight: 500; }
.legal h2 { margin-top: 32px; font-size: 18px; }
.placeholder { padding: 16px 18px; border-left: 4px solid var(--olive); background: var(--sand); }

@media (max-width: 980px) {
  .site-header { position: sticky; z-index: 20; top: 0; min-height: 76px; }
  .site-header .brand span { font-size: 24px; }
  .menu-toggle { display: block; z-index: 2; }
  .main-nav { position: fixed; inset: 76px 0 auto; display: grid; gap: 0; padding: 15px 24px 28px; background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 16px 30px rgba(40,35,28,.12); transform: translateY(-130%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav > a { padding: 13px 0; }
  .main-nav > a:not(.button)::after { display: none; }
  .main-nav > a:not(.button) { border-radius: 5px; transition: color .2s, background-color .2s, padding-left .2s; }
  .main-nav > a:not(.button):hover,
  .main-nav > a:not(.button):focus-visible { padding-left: 12px; background: rgba(119,120,67,.09); color: var(--olive-dark); }
  .main-nav .button { margin-top: 8px; }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(1) { transform: translate(-50%, -50%) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] i:nth-of-type(3) { transform: translate(-50%, -50%) rotate(-45deg); }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card:nth-child(3) { border-left: 0; }
  .offer-card:nth-child(n+3) { padding-top: 35px; border-top: 1px solid var(--line); }
  .contact-links { gap: 20px; }
}

@media (max-width: 700px) {
  .hero { min-height: 790px; align-items: end; background: var(--sand); }
  .hero-media { inset: 0 0 auto; height: 560px; }
  .hero-media img { inset: 0; height: 100%; }
  .hero-media img { object-position: 59% center; transform: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(238,228,218,.99) 0%, rgba(238,228,218,.96) 48%, rgba(238,228,218,.26) 62%, rgba(238,228,218,.02) 78%); }
  .hero-content { padding: 330px 0 44px; }
  .hero h1 { margin-top: 17px; font-size: clamp(40px, 12vw, 58px); }
  .hero-copy br { display: none; }
  .section { padding-block: 54px; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card, .offer-card:first-child, .offer-card:nth-child(3), .offer-card:nth-child(n+3) { padding: 30px 15px; border: 0; border-top: 1px solid var(--line); }
  .offer-card:first-child { border-top: 0; }
  .offer-card p { min-height: 0; max-width: 390px; }
  .about { grid-template-columns: 1fr; }
  .about-copy { order: 2; padding: 52px 24px 60px; }
  .about-media { height: 450px; }
  .about-media img { object-position: center 24%; }
  .location-grid { grid-template-columns: 1fr; }
  .location-grid article, .location-grid article:first-child { padding: 34px 0; border: 0; border-top: 1px solid var(--line); }
  .location-grid article:first-child { border-top: 0; }
  .community { grid-template-columns: 1fr; }
  .community picture { height: 300px; }
  .community-copy { padding: 50px 24px 58px; }
  .contact-links { grid-template-columns: 1fr; gap: 12px; }
  .site-footer { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 64px; text-align: center; }
  .site-footer .brand { transform-origin: center; }
  .site-footer nav { width: 100%; justify-content: center; }
  .site-footer > p { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
