@font-face {
  font-family: Manrope;
  src: url(assets/fonts/manrope-latin-wght-normal.woff2) format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url(assets/fonts/instrument-serif-latin-400-italic.woff2) format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --navy: #192920;
  --teal: #294738;
  --teal-dark: #203a2d;
  --paper: #f6f5ee;
  --sage: #e7ebdc;
  --ink-soft: #4c5c51;
  --line: #ccd3c5;
  --white: #fcfbf6;
  --forest: #101f18;
  --lime: #e6f58e;
  --ease-out: cubic-bezier(.2,.75,.22,1);
  --wrap: 1260px;
  --gutter: clamp(16px, 3.35vw, 58px);
  font-family: Manrope, Arial, sans-serif;
}
html { scroll-padding-block-start: 90px; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.062em; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); }
h2 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); }
h3 { letter-spacing: -.05em; }
.wrap { width: min(var(--wrap), calc(100% - var(--gutter)*2)); }
:focus-visible { outline-color: #528663; outline-offset: 4px; }
.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgb(246 245 238 / .95);
  border-bottom-color: transparent;
  transition: border-color .22s ease, box-shadow .22s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 5px 25px rgb(25 41 32 / .055); backdrop-filter: blur(14px); }
.reading-progress { position: absolute; inset: auto 0 -1px; height: 2px; pointer-events: none; background: #648457; transform: scaleX(var(--progress, 0)); transform-origin: left; }
.header .wrap { min-height: 78px; gap: clamp(14px, 3vw, 42px); }
.header .logo { width: clamp(138px, 16vw, 218px); }
.nav { gap: clamp(14px, 2.2vw, 37px); }
.nav a { min-height: 44px; display: flex; align-items: center; position: relative; font-weight: 650; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; inset: auto 0 5px; height: 1px; background: currentColor; transform-origin: left; transform: scaleX(0); transition: transform 220ms var(--ease-out); }
.nav a:hover, .nav [aria-current] { text-decoration: none; }
.nav a:hover::after, .nav [aria-current]::after { transform: scaleX(1); }
.button { border-radius: 100px; padding-inline: 21px; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out); }
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 12px rgb(25 41 32 / .16); }
.button:active { transform: translateY(0); box-shadow: none; }
.home-hero {
  width: min(1600px, calc(100% - var(--gutter)*2));
  margin-inline: auto;
  min-height: clamp(560px, 47vw, 742px);
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "hero";
  border-radius: clamp(12px, 2vw, 28px);
  background: var(--forest);
  color: var(--paper);
  isolation: isolate;
  overflow: hidden;
}
.hero-copy {
  grid-area: hero;
  z-index: 2;
  padding: clamp(66px, 7.2vw, 112px) 0 clamp(70px, 7vw, 108px) clamp(38px, 5.6vw, 103px);
  max-width: 57%;
}
.hero-copy h1 { font-size: clamp(2.8rem, 5.55vw, 6.25rem); max-width: none; line-height: .955; margin-bottom: 22px; }
.hero-line { display: block; }
.hero-line em, em.hero-line { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; font-size: 1.18em; letter-spacing: -.03em; color: var(--lime); line-height: .9; }
.hero-copy .lead { color: #e2e9dc; font-size: clamp(1rem, 1.25vw, 1.14rem); max-width: 37ch; }
.hero-copy .actions { gap: 10px 22px; margin-top: 26px; }
.hero-copy .button { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.hero-copy .button:hover { background: #f4ffb7; border-color: #f4ffb7; }
.hero-copy .text-link { color: var(--paper); border: 1px solid rgb(246 245 238 / .66); border-radius: 100px; padding-inline: 17px; background: rgb(16 31 24 / .74); }
.hero-copy .text-link:hover { background: var(--forest); text-decoration: none; }
.hero-copy a:focus-visible { outline-color: var(--lime); }
.hero-media { grid-area: hero; z-index: 0; display: block; position: relative; background: var(--forest); overflow: hidden; pointer-events: none; }
.hero-media picture { position: absolute; inset: 0; }
.hero-media img {
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: 62% center;
  animation: none;
  transform: translate3d(var(--shift-x, 0px),var(--shift-y, 0px),0) scale(1.015);
  transition: transform 500ms var(--ease-out);
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(12 24 18 / .86), rgb(12 24 18 / .60) 30%, rgb(12 24 18 / .15) 47%, transparent 61%);
}
.mission { background: transparent; padding: 26px 0; }
.mission .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); padding: 0 0 23px; }
.mission p { text-align: left; margin: 0; max-width: 82ch; font-size: .93rem; color: var(--ink-soft); }
.mission .text-link { flex-shrink: 0; }
.section { padding-block: clamp(55px, 7.3vw, 108px); }
.section-head { margin-bottom: 34px; }
.section-head p { max-width: 57ch; }
#finder { padding-top: clamp(35px,5.6vw,84px); }
.finder { grid-template-columns: .78fr 1.22fr; gap: 24px; }
.choices { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 0; }
.choice {
  border: 0; border-radius: 0; min-height: 73px; font-size: clamp(.91rem, 1.32vw, 1.12rem);
  padding: 11px 15px 11px 17px; transition: background 220ms ease, color 220ms ease;
}
.choice + .choice { border-top: 1px solid var(--line); }
.choice:hover { background: #edf0e6; }
.choice[aria-pressed="true"] { background: var(--lime); box-shadow: inset 3px 0 var(--teal); }
.choice-arrow { display: grid; place-items: center; width: 33px; height: 33px; flex: none; border-radius: 50%; border: 1px solid currentColor; color: var(--teal); }
.choice[aria-pressed="true"] .choice-arrow { background: var(--forest); color: var(--lime); }
.finder-result { min-height: 300px; background: var(--forest); color: var(--white); border-radius: 18px; grid-template-columns: .95fr 1fr; }
.finder-result > div { padding: clamp(24px,3vw,44px); }
.finder-result h3 { font-size: clamp(1.65rem,2.3vw,2.45rem); }
.finder-result p { color: #dce5d7; font-size: .95rem; }
.finder-result .text-link { color: var(--lime); line-height: 1.4; justify-content: flex-start; }
.finder-result .text-link:focus-visible { outline-color: var(--lime); }
.finder-result .arrow { flex: none; }
.cards { gap: 16px; }
.card { border-radius: 15px; background: var(--white); transition: background 230ms ease, border-color 230ms ease, box-shadow 230ms ease; }
.course-card { align-items: stretch; gap: 0; overflow: hidden; padding: 0; }
.course-card-art { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); border-bottom: 1px solid var(--line); }
.course-card-art img { height: 100%; object-fit: cover; transition: transform 420ms var(--ease-out); }
.course-card-content { display: flex; flex: 1; flex-direction: column; align-items: start; gap: 10px; padding: clamp(19px, 2.7vw, 32px); }
.course-card .price { margin: 3px 0 7px; }
.course-card:focus-within { border-color: #829985; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .course-card:hover .course-card-art img, .course-card:focus-within .course-card-art img { transform: scale(1.04); }
}
.consult-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
.consult-cards .card:hover { border-color: #829985; box-shadow: 0 12px 30px rgb(29 44 34 / .07); }
.consult-cards h3 { min-block-size: 2.15em; line-height: 1.12; }
.consult-cards .price { font-size: clamp(1.65rem,2.65vw,2.5rem); line-height: 1; font-weight: 750; }
.consult-cards .meta { margin-bottom: .25rem; }
.consult-cards dl { margin-top: auto; display: grid; grid-template-rows: minmax(4.6rem,auto) minmax(5.35rem,auto) minmax(5.35rem,auto); }
.consult-cards .button { width: 100%; }
.consult-cards .card:nth-child(2) { border-color: #a2b19a; background: #f0f2e7; }
[data-page="consultancy"] .consult-cards .card:last-child { background: var(--white); }
@supports (grid-template-rows: subgrid) {
  @media (min-width: 761px) {
    [data-page="consultancy"] .consult-cards { row-gap: 9px; }
    [data-page="consultancy"] .consult-cards .card {
      display: grid;
      grid-row: span 8;
      grid-template-rows: subgrid;
      justify-items: stretch;
    }
    [data-page="consultancy"] .consult-cards h3 { min-block-size: auto; }
    [data-page="consultancy"] .consult-cards dl {
      grid-row: span 3;
      grid-template-rows: subgrid;
      gap: 0;
      align-self: stretch;
      margin: 0;
    }
    [data-page="consultancy"] .consult-cards .button { align-self: end; }
  }
}
#consultations { background: #eff0e5; }
.featured {
  border-radius: 18px; padding: 0; gap: 0; background: var(--forest); color: var(--paper);
  overflow: hidden; margin-bottom: 30px;
}
.featured > div { padding: clamp(26px,4.6vw,72px); }
.featured h3 { font-size: clamp(1.65rem, 3.25vw, 3.25rem); max-width: 15ch; }
.featured p { color: #e1e7dd; }
.featured .text-link { color: var(--lime); }
.featured img { border-radius: 0; }
.filterbar { gap: 7px; }
.filter { border-radius: 100px; padding-inline: 17px; transition: background 180ms ease; }
.filter[aria-pressed="true"], .filter[aria-current="page"] { background: var(--lime); border-color: #a8b77b; color: var(--forest); }
.editorial img { border-radius: 17px; }
#manufacturing-support .editorial img { aspect-ratio: 6/5; }
#manufacturing-support .lead { margin-bottom: 16px; }
details:has(summary:hover) { background: var(--sage); }
summary { padding-left: 12px; }
details p { padding-left: 12px; }
.entry { padding-top: clamp(52px,7.5vw,106px); }
.entry.tight { padding-bottom: 34px; }
[data-page="consultancy"] .entry, [data-page="courses"] .entry {
  width: min(1600px,calc(100% - var(--gutter)*2));
  margin: 0 auto 28px;
  padding-block: clamp(42px, 6vw, 83px);
  border-radius: clamp(12px,2vw,28px);
  background: var(--forest);
}
[data-page="consultancy"] .entry .wrap, [data-page="courses"] .entry .wrap { width: calc(100% - clamp(40px,10vw,164px)); }
[data-page="consultancy"] .entry .lead, [data-page="courses"] .entry .lead { color: #dce5d7; }
[data-page="course"] .entry .editorial img { box-shadow: 0 20px 50px rgb(29 44 34 / .14); }
.panel { background: var(--white); border-radius: 16px; }
.notice { border-radius: 9px; }
#booking .notice:first-child { padding: 18px; }
#availability { background: #f9eccc; border-color: #ceb782; }
#availability p { margin-bottom: 8px; }
#availability .button { background: transparent; }
#availability .button:hover { background: #fff7df; }
.receipt-mark { display: block; margin-bottom: 14px; color: var(--teal-dark); }
.receipt-mark circle { fill: var(--sage); stroke: var(--line); }
.receipt-mark path { stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; }
.copy-status { margin: 10px 0 0; }
.copy-status:empty { display: none; }
#lookup-result > .button { margin-top: 15px; }
.footer { background: var(--sage); padding: 40px 0; }
.receipt .text-link:focus-visible { outline-offset: 3px; }
@media (max-width: 1000px) and (min-width: 761px) {
  .hero-copy { max-width: 63%; }
  .hero-media img { object-position: 67% center; }
  .hero-media::after { background: linear-gradient(90deg, rgb(12 24 18 / .88), rgb(12 24 18 / .66) 38%, transparent 78%); }
  .consult-cards .card { padding: 20px 15px; }
  .consult-cards .button { padding-inline: 9px; text-align: center; }
}
@media (min-width: 761px) and (max-width: 860px) {
  .nav { gap: 11px; font-size: .79rem; }
  .header .wrap { gap: 14px; }
  .header .book { font-size: .81rem; padding-inline: 12px; }
}
@media (min-width: 761px) {
  [data-page="book"] .form-layout > aside { position: sticky; top: 96px; }
}
@media (max-width: 760px) {
  html { scroll-padding-block-start: 73px; }
  .header .wrap { min-height: 65px; gap: 7px; }
  .header .logo { width: clamp(109px,33vw,165px); }
  .header .book { padding-inline: 10px; }
  .menu { border-radius: 50%; }
  .nav.open { position: absolute; inset: 100% 0 auto; padding: 13px var(--gutter) 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px rgb(25 41 32 / .09); display: grid; }
  .nav a::after { display: none; }
  .nav [aria-current] { text-decoration: underline; }
  .home-hero { grid-template-areas: "hero" "photo"; min-height: auto; }
  .hero-copy { max-width: none; padding: 37px clamp(18px,5vw,35px) 16px; }
  .hero-copy h1 { font-size: clamp(2.38rem, 8.4vw, 4.6rem); margin-bottom: 16px; }
  .hero-copy .lead { font-size: .95rem; }
  .hero-copy .actions { gap: 1px 11px; margin-top: 17px; }
  .hero-copy .button { padding-inline: 13px; }
  .hero-copy .text-link { font-size: .84rem; padding-inline: 0; background: transparent; border-color: transparent; }
  .hero-copy .text-link:hover { text-decoration: underline; }
  .hero-media { grid-area: photo; aspect-ratio: 1.32 / 1; }
  .hero-media img { transform: none; object-position: center 59%; }
  .hero-media::after { background: linear-gradient(var(--forest),transparent 20%); }
  .mission { padding-block: 21px; }
  .mission .wrap { flex-wrap: wrap; gap: 7px; padding-bottom: 12px; }
  .mission p { font-size: .9rem; }
  .section-head { margin-bottom: 24px; }
  .finder { grid-template-columns: 1fr; gap: 13px; }
  .choice { min-height: 56px; }
  .finder-result { min-height: 220px; grid-template-columns: minmax(0,1.17fr) minmax(0,.83fr); border-radius: 13px; }
  .finder-result > div { padding: 16px; }
  .finder-result h3 { font-size: 1.45rem; }
  .finder-result p, .finder-result .text-link { font-size: .86rem; }
  .consult-cards { grid-template-columns: 1fr; }
  .consult-cards h3 { min-block-size: auto; }
  .consult-cards dl { display: block; }
  .consult-cards .button { width: auto; text-align: center; }
  .featured > div { padding: 23px; }
  .featured img { border-radius: 0; }
  #manufacturing-support .editorial img { aspect-ratio: 3/2; }
  [data-page="consultancy"] .entry .wrap, [data-page="courses"] .entry .wrap { width: calc(100% - 37px); }
}
@media (max-width: 350px) {
  .header .logo { width: 103px; }
  .hero-copy .actions { align-items: start; flex-direction: column; }
  .hero-copy h1 { font-size: clamp(1.9rem,9.8vw,2.42rem); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-media img { transform: none; }
  .reading-progress { display: none; }
}
