:root {
  --forest: #173e35;
  --forest-2: #0d2d27;
  --foam: #f7f0df;
  --cream: #fffaf0;
  --tide: #58c8c1;
  --tide-dark: #158d8a;
  --coral: #ef7a5a;
  --ink: #14312c;
  --line: rgba(23, 62, 53, .2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 99; background: white; padding: .75rem 1rem; }
.skip-link:focus { left: .5rem; top: .5rem; }

.site-header {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 1rem clamp(1.2rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 240, .93);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; text-decoration: none; width: max-content; }
.brand-logo { display: block; width: clamp(180px, 18vw, 280px); height: auto; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.8rem); }
nav a { text-decoration: none; font-size: .88rem; font-weight: 600; }
.site-header > .button { justify-self: end; }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .8rem 1.35rem;
  background: var(--forest); color: white; text-decoration: none;
  font-weight: 700; font-size: .9rem; border-radius: 2px;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); background: var(--forest-2); }
.button:focus-visible, a:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.button-small { min-height: 42px; padding: .65rem 1rem; }
.text-link { font-weight: 700; text-underline-offset: 5px; }

.hero { min-height: 700px; display: grid; grid-template-columns: 1.08fr .92fr; overflow: hidden; }
.hero-copy { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 8rem); align-self: center; }
.eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .24em; margin: 0 0 1.25rem; }
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: .98; letter-spacing: -.035em; margin: 0; }
h1 { font-size: clamp(3.7rem, 7.3vw, 7.5rem); }
h1 em, h2 em { color: var(--tide-dark); font-weight: 600; }
.hero-lede { font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 620px; margin: 2rem 0; color: #35554e; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.availability { display: flex; align-items: center; gap: .6rem; margin-top: 2.4rem; font-size: .84rem; font-weight: 600; }
.availability span { display: block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(239,122,90,.16); }

.hero-art {
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f8f4e9;
}
.hero-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.promise-strip { background: var(--forest); color: white; display: grid; grid-template-columns: repeat(3, 1fr); padding: 1.2rem clamp(1.5rem, 7vw, 8rem); gap: 2rem; }
.promise-strip p { margin: 0; text-align: center; font-weight: 600; font-size: .88rem; }
.promise-strip span { color: var(--tide); margin-right: .65rem; font-size: .7rem; }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 7vw, 8rem); }
.classes { display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(3rem, 7vw, 8rem); background: var(--foam); }
.section-heading h2, .story h2, .contact h2 { font-size: clamp(3rem, 5.5vw, 6rem); }
.class-stamp { width: min(260px, 80%); height: auto; margin-top: 3.5rem; border-radius: 50%; opacity: .92; }
.class-content > .lead { font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.32; margin: 0 0 3rem; max-width: 800px; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.class-grid article { border-top: 2px solid var(--forest); padding-top: 1rem; }
.number { color: var(--coral); font-size: .75rem; font-weight: 700; letter-spacing: .15em; }
h3 { font-family: "Playfair Display", serif; font-size: 1.35rem; margin: .75rem 0 .5rem; }
.class-grid p { margin: 0; color: #49635e; font-size: .94rem; }
.note-card { margin-top: 3.5rem; background: var(--forest); color: white; padding: 1.5rem 1.7rem; display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.note-card strong { font-family: "Playfair Display", serif; font-size: 1.35rem; }
.note-card p { margin: .2rem 0 0; color: #d8e5e0; font-size: .9rem; }
.button-light { background: var(--foam); color: var(--forest); flex: 0 0 auto; }
.button-light:hover { background: white; }

.story { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 9vw, 10rem); background: var(--cream); }
.founders-photo { margin: 0; position: relative; }
.founders-photo::before { content: ""; position: absolute; width: 38%; height: 55%; background: var(--tide); right: -5%; top: -5%; z-index: 0; }
.founders-photo img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; position: relative; z-index: 1; filter: saturate(.88) contrast(1.03); }
.founders-photo figcaption { position: relative; z-index: 2; background: var(--coral); color: white; width: max-content; padding: .55rem .9rem; margin: -1.3rem 0 0 -1.2rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; }
.story-copy > p:not(.eyebrow) { font-size: 1.08rem; max-width: 650px; color: #3e5d56; }
.story-copy h2 { margin-bottom: 2rem; }
.signature { font-family: "Playfair Display", serif; font-style: italic; color: var(--coral); font-size: 1.45rem; margin-top: 2rem; }

.contact { text-align: center; color: white; background: var(--forest); position: relative; overflow: hidden; }
.contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(88,200,193,.24); border-radius: 50%; width: 500px; height: 500px; }
.contact::before { left: -260px; top: -210px; }
.contact::after { right: -280px; bottom: -250px; }
.contact .eyebrow { color: var(--tide); }
.contact h2 em { color: var(--coral); }
.contact > p:not(.eyebrow) { max-width: 560px; margin: 1.6rem auto 2rem; color: #dce8e3; }
.button-coral { background: var(--coral); position: relative; z-index: 2; }
.button-coral:hover { background: #dd6345; }

footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; padding: 2rem clamp(1.5rem, 5vw, 5rem); background: #0a2722; color: #cfddd8; font-size: .78rem; }
.footer-brand { background: var(--foam); padding: .35rem .55rem; border-radius: 2px; }
.footer-brand .brand-logo { width: 210px; }
footer p { margin: 0; text-align: center; }
footer p:last-child { text-align: right; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { order: 2; }
  .hero-art { min-height: 0; aspect-ratio: 3 / 1; }
  .classes { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; }
  .founders-photo { max-width: 600px; }
  footer { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { margin: auto; }
  footer p:last-child { text-align: center; }
}

@media (max-width: 620px) {
  .site-header { min-height: 76px; padding: .8rem 1rem; }
  .site-header > .button { display: none; }
  .brand-logo { width: 190px; }
  .hero { min-height: 0; }
  .hero-art { min-height: 0; aspect-ratio: 3 / 1; }
  .hero-copy { padding: 4rem 1.25rem 4.5rem; }
  h1 { font-size: clamp(3.3rem, 17vw, 4.8rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .promise-strip { grid-template-columns: 1fr; gap: .6rem; padding: 1.3rem; }
  .promise-strip p { text-align: left; }
  .section { padding: 4.5rem 1.25rem; }
  .class-grid { grid-template-columns: 1fr; gap: 2rem; }
  .note-card { flex-direction: column; align-items: flex-start; }
  .section-heading h2, .story h2, .contact h2 { font-size: clamp(2.8rem, 14vw, 4rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
