@font-face {
  font-family: "Libertinus Sans";
  src: url("../assets/fonts/LibertinusSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libertinus Sans";
  src: url("../assets/fonts/LibertinusSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Libertinus Sans";
  src: url("../assets/fonts/LibertinusSans-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("../assets/fonts/Onest-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171719;
  --cream: #f4f2f1;
  --sun: #fbbe00;
  --stone: #dcd9d3;
  --ochre: #df9f44;
  --brown: #6f5840;
  --line: rgba(23, 23, 25, 0.16);
  --header: 84px;
  --serif: "Libertinus Sans", "Iowan Old Style", Palatino, serif;
  --sans: "Onest", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 450;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--sun);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 30;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header);
  background: rgba(244, 242, 241, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: block;
  flex: 0 0 auto;
  padding: 8px 10px 8px 0;
}

.logo img { height: 52px; width: auto; }

.site-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}

.site-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.site-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  position: relative;
}

.nav-toggle span:not(.sr-only) {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--ink);
}

.nav-toggle span:nth-child(2) { top: 17px; }
.nav-toggle span:nth-child(3) { top: 25px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--ink); color: var(--sun); }

.btn-ghost {
  background: transparent;
  border-color: var(--ink);
}

.btn-ghost:hover { background: var(--ink); color: var(--cream); }

.hero { padding: 56px 0 28px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--brown);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.kicker i {
  display: block;
  width: min(140px, 18vw);
  height: 1px;
  background: var(--line);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: -0.03em; }

h1 {
  margin: 0;
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 0.9;
}

.lede {
  max-width: 38em;
  margin: 22px 0 0;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 36px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown);
}

.facts dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero-plate {
  background: var(--ink);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 48px 36px 0;
}

.hero-plate img {
  width: min(100%, 420px);
  margin: auto auto 36px;
}

.hero-plate p {
  margin: 0 -36px 0;
  background: var(--sun);
  color: var(--ink);
  text-align: center;
  padding: 16px 12px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ribbon {
  margin-top: 56px;
  background: var(--sun);
}

.ribbon-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ribbon p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.03em;
}

.ribbon img { width: 92px; height: auto; }

.section { padding: 88px 0; }

.section-head-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: end;
}

.section-head-row h2 {
  margin: 0;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 0.95;
}

.section-head-row p { margin: 0 0 6px; }

.program-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: transparent;
  display: flex;
  flex-direction: column;
}

.card h3 {
  margin: 8px 0 10px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.card p { margin: 0; }

.card-index {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 600;
}

.feature {
  grid-row: span 2;
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  min-height: 472px;
}

.feature .card-index { color: var(--sun); }

.card-ill {
  width: 210px;
  margin-top: auto;
  margin-left: auto;
  margin-bottom: -8px;
}

.card-sun {
  background: var(--sun);
  border-color: var(--sun);
}

.footnote {
  margin: 18px 0 0;
  color: var(--brown);
  font-size: 14px;
}

.footnote a { color: var(--ink); }

.section-stone { background: var(--stone); }

.formats {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.formats li {
  padding: 22px 18px 20px;
  border-top: 1px solid var(--ink);
  background: var(--cream);
}

.formats span {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.formats h3 {
  margin: 18px 0 8px;
  font-size: 28px;
}

.formats p { margin: 0; }

.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.steps-ill { width: 150px; }

.steps ol {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
}

.steps li {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.quotes {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.quotes figure {
  margin: 0;
  padding: 28px 24px;
  border: 1px solid var(--line);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quotes blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.quotes figcaption {
  margin-top: 22px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brown);
}

.quotes figure:nth-child(2) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.quotes figure:nth-child(2) figcaption { color: var(--sun); }
.quotes figure:nth-child(4) { background: var(--sun); border-color: var(--sun); }
.quotes figure:nth-child(4) figcaption { color: var(--ink); }

.contact-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 12px;
}

.contact-card,
.booking {
  border: 1px solid var(--line);
  padding: 28px 24px;
}

.contact-card { position: relative; overflow: hidden; background: var(--ink); color: var(--cream); }

.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.contact-card dd { margin: 4px 0 0; }
.contact-card a { color: var(--cream); }

.contact-ill {
  width: 150px;
  margin-left: auto;
  margin-top: 12px;
}

.booking { background: #fffdfb; }
.booking h3 { margin: 0 0 8px; font-size: 40px; }
.booking > p { margin: 0 0 18px; }

.booking label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.booking input,
.booking select,
.booking textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 12px 12px;
  border-radius: 0;
  letter-spacing: 0;
  font-weight: 450;
  text-transform: none;
}

.booking textarea { resize: vertical; }

.form-status { margin: 12px 0 0; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 450; }

.map-wrap {
  margin-top: 12px;
  border: 1px solid var(--line);
  height: 340px;
}

.map-wrap iframe { width: 100%; height: 100%; border: 0; }

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 36px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 24px;
  align-items: center;
}

.footer-grid img { width: min(280px, 100%); }
.footer-grid p { margin: 0 0 6px; }
.footer-grid a { color: var(--cream); }

.footer-links {
  display: flex;
  gap: 16px;
}

section, .site-footer { scroll-margin-top: calc(var(--header) + 12px); }

@media (max-width: 900px) {
  :root { --header: 72px; }
  .logo img { height: 44px; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px 18px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-top: 1px solid var(--line); }

  .hero { padding-top: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-plate { min-height: 0; padding: 28px 24px 0; }
  .hero-plate img { width: min(100%, 300px); margin: 4px auto 20px; }
  .hero-plate p { margin-left: -24px; margin-right: -24px; }
  .hero-grid,
  .section-head-row,
  .program-grid,
  .formats,
  .quotes,
  .contact-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .feature { grid-row: auto; min-height: 0; }
  .facts dd { font-size: 24px; }
  .section { padding: 64px 0; }
  .ribbon img { width: 72px; }
  .steps-ill { width: 110px; }
  .map-wrap { height: 260px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
