:root {
  --navy: #18324a;
  --teal: #397c78;
  --teal-dark: #286460;
  --paper: #f8f8f5;
  --sage: #e5ede7;
  --ink-soft: #495e67;
  --line: #cbd6cf;
  --white: #fff;
  --wrap: 1232px;
  font: 16px/1.55 Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
html { scroll-behavior: smooth; }
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:focus-visible { outline: 3px solid var(--teal-dark); outline-offset: 4px; }
[hidden] { display: none !important; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0 0 .38em; line-height: 1.03; letter-spacing: -.049em; }
h1 { font-size: clamp(2.6rem, 5.05vw, 5.2rem); font-weight: 600; }
h2 { font-size: clamp(2.05rem, 4vw, 3.8rem); font-weight: 600; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -.035em; }
.skip { position: absolute; top: -5rem; background: white; padding: 1rem; z-index: 4; }
.skip:focus { top: 1rem; }
.wrap { width: min(var(--wrap), calc(100% - 96px)); margin-inline: auto; }
.header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header .wrap { min-height: 84px; display: flex; align-items: center; gap: 36px; justify-content: space-between; }
.logo { display: inline-block; width: clamp(156px, 17vw, 225px); flex: none; }
.logo img { mix-blend-mode: multiply; }
.nav, .actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav { gap: clamp(17px, 2.4vw, 38px); font-size: .92rem; }
.nav a, .footer nav a { text-decoration: none; }
.nav a:hover, .footer nav a:hover, .nav [aria-current] { text-decoration: underline; }
.button, .text-link, .filter, .menu {
  min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  text-decoration: none; font-size: .91rem; font-weight: 700; line-height: 1.2;
}
.menu { display: none; }
.button { padding: 12px 19px; border: 1px solid var(--teal); border-radius: 7px; color: white; background: var(--teal); transition: background-color 180ms, border-color 180ms, transform 180ms; }
.button:hover { background: var(--teal-dark); border-color: var(--teal-dark); transform: translateY(-1px); }
.button.secondary { background: transparent; color: var(--teal-dark); }
.button.secondary:hover { background: var(--sage); }
.text-link { color: var(--teal-dark); }
.text-link:hover { text-decoration: underline; }
.arrow { display: inline-block; font-size: 1.05em; transition: transform 180ms; }
.text-link:hover .arrow, .button:hover .arrow { transform: translateX(3px); }
.home-hero { display: grid; grid-template-columns: 45% 55%; align-items: stretch; }
.hero-copy { padding: clamp(39px, 4.2vw, 78px) 27px clamp(39px, 4vw, 74px) max(48px, calc((100vw - var(--wrap)) / 2)); align-self: center; }
.hero-copy h1 { max-width: 640px; }
.lead { max-width: 54ch; font-size: clamp(1.04rem, 1.55vw, 1.28rem); line-height: 1.55; color: var(--ink-soft); }
.hero-copy .actions, .entry .actions { margin-top: 28px; }
.hero-media { min-width: 0; overflow: hidden; display: grid; background: #c4cdb9; }
.hero-media img { height: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center; animation: settle 650ms ease-out both; }
@keyframes settle { from { scale: 1.04; } to { scale: 1; } }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .hero-media img { transform: translate(var(--shift-x, 0), var(--shift-y, 0)) scale(1.018); transition: transform 270ms ease-out; }
}
.mission { background: var(--sage); padding: 26px 0; }
.mission p { max-width: 96ch; margin: 0 auto; text-align: center; }
.section { padding: clamp(55px, 7vw, 104px) 0; }
.section + .section:not(.tint):not(.white) { border-top: 1px solid var(--line); }
.tint { background: var(--sage); }
.white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; gap: 22px; align-items: end; margin-bottom: 27px; }
.section-head h2 { margin-bottom: 0; }
.section-head p { color: var(--ink-soft); margin-top: 12px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 60px); align-items: center; }
.finder { align-items: stretch; gap: 18px; }
.choices { display: grid; grid-template-rows: repeat(4, 1fr); gap: 8px; }
.choice { width: 100%; min-height: 55px; display: flex; justify-content: space-between; gap: 10px; align-items: center; text-align: left; padding: 13px 18px; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 7px; font-weight: 700; }
.choice:hover { background: #eff2ed; }
.choice[aria-pressed="true"] { background: var(--sage); border-color: var(--teal); box-shadow: inset 3px 0 var(--teal); }
.finder-result { min-height: 250px; background: var(--sage); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr .72fr; }
.finder-result > div { padding: clamp(20px, 3vw, 34px); align-self: center; }
.finder-result img { height: 100%; object-fit: cover; object-position: 61% center; }
.finder-result p { color: var(--ink-soft); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; align-items: stretch; }
.card { border: 1px solid var(--line); border-radius: 9px; background: var(--paper); padding: clamp(19px, 2.8vw, 34px); display: flex; flex-direction: column; gap: 10px; align-items: start; }
.card p { color: var(--ink-soft); }
.card h3, .card p { margin-bottom: 0; }
.card .button, .card .text-link { margin-top: auto; }
.card ul { padding-left: 1.15rem; }
.price { font-size: 1.35rem; font-weight: 700; letter-spacing: -.035em; }
.muted, .meta, small { color: var(--ink-soft); }
.meta, small { font-size: .88rem; }
.card dl { width: 100%; margin: 5px 0 10px; }
.card dl > div { border-top: 1px solid var(--line); padding: 8px 0; font-size: .91rem; }
dt { font-weight: 700; }
dd { color: var(--ink-soft); margin: 1px 0 0; }
.featured { padding: 20px 20px 20px 0; background: var(--sage); border-radius: 9px; margin-bottom: 22px; gap: 28px; }
.featured > div { padding: 18px 0 18px clamp(18px, 3vw, 45px); }
.featured img, .editorial img { border-radius: 7px; aspect-ratio: 3/2; object-fit: cover; }
.editorial img { aspect-ratio: 5/4; }
.filterbar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.filter { padding: 8px 15px; border: 1px solid var(--line); background: transparent; color: var(--navy); border-radius: 6px; }
.filter[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: white; }
.filter:not([aria-pressed="true"]):hover { background: var(--sage); }
.faq { display: grid; grid-template-columns: .65fr 1fr; gap: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { min-height: 52px; padding: 14px 26px 14px 0; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; color: var(--teal-dark); }
details[open] summary::after { content: "−"; }
details p { padding: 0 28px 14px 0; color: var(--ink-soft); }
.entry { padding: clamp(46px, 7vw, 92px) 0; }
.entry h1 { max-width: 15ch; }
.entry .lead { margin-bottom: 0; }
.entry.tight { padding-bottom: 32px; }
.entry .editorial img { aspect-ratio: 3/2; }
[data-page="consultancy"] .entry, [data-page="courses"] .entry {
  background: var(--navy); color: var(--paper); padding-bottom: clamp(40px, 5vw, 65px);
  margin-bottom: 26px;
}
[data-page="consultancy"] .entry .lead, [data-page="courses"] .entry .lead { color: var(--sage); }
[data-page="consultancy"] .consult-cards .card:last-child { background: var(--sage); }
[data-page="course"] .entry .lead { margin-bottom: 14px; }
.config label { width: 100%; }
.crumb { display: inline-block; font-size: .88rem; margin-bottom: 20px; color: var(--teal-dark); }
.page-tail { padding-bottom: clamp(55px, 7vw, 104px); }
.panel { border: 1px solid var(--line); background: white; border-radius: 9px; padding: clamp(18px, 3vw, 35px); }
.panel + .panel { margin-top: 15px; }
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; gap: 24px; max-width: 1000px; }
.form-layout > aside { background: var(--sage); }
.flow { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-row:has(input[name="business"]) { align-items: end; }
label { display: grid; gap: 5px; font-weight: 700; font-size: .92rem; }
.check { display: flex; align-items: start; gap: 9px; font-weight: 400; min-height: 35px; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-width: 0; min-height: 45px; padding: 9px 11px; border: 1px solid #9daea7; border-radius: 6px; color: var(--navy); background: white; }
input[type="checkbox"] { accent-color: var(--teal); width: 18px; height: 18px; flex: none; margin: 2px 0 0; }
.notice { padding: 13px 16px; border: 1px solid var(--line); background: var(--sage); border-radius: 6px; }
.error { color: #7a302c; }
.receipt { padding-block: 24px; max-width: 650px; }
.receipt strong { display: block; margin: 8px 0 14px; font-size: 1.5rem; }
.request-summary { white-space: pre-wrap; overflow-wrap: anywhere; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.modules { margin: 0; padding-left: 1.7rem; }
.modules li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); background: var(--sage); padding: 32px 0; }
.footer .wrap { display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.footer nav { display: flex; gap: 12px 24px; flex-wrap: wrap; font-size: .91rem; }
.footer .logo { width: 205px; }
@media (max-width: 1010px) {
  .header .wrap { gap: 16px; }
  .nav { gap: 15px; }
  .cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .consult-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-copy { padding-left: 36px; }
  .hero-copy h1 { font-size: clamp(2.5rem, 5vw, 3.6rem); }
  .hero-copy .actions { gap: 7px 13px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header .wrap { min-height: 64px; flex-wrap: wrap; gap: 8px; padding: 8px 0; }
  .header .logo { width: clamp(124px, 34vw, 172px); margin-right: auto; }
  .header .book { padding: 8px 10px; font-size: .77rem; min-height: 44px; }
  .menu { display: inline-flex; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 6px; min-width: 44px; padding: 0; }
  .nav { display: none; order: 3; width: 100%; padding: 6px 0; }
  .nav.open { display: flex; gap: 10px 18px; }
  .nav a { min-height: 44px; display: inline-flex; align-items: center; }
  .home-hero, .split, .faq, .form-layout, .content-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 36px 20px 26px; }
  .hero-copy h1 { font-size: clamp(2.25rem, 9vw, 3.62rem); max-width: 15ch; }
  .hero-copy .actions, .entry .actions { margin-top: 18px; gap: 4px 13px; }
  .hero-media img { aspect-ratio: 3/2; }
  .mission { padding: 21px 0; }
  .mission p { text-align: left; }
  .section-head { display: block; }
  .section-head .text-link { margin-top: 7px; }
  .cards, .consult-cards { grid-template-columns: 1fr; }
  .finder-result { min-height: 205px; }
  .featured { padding: 0 0 12px; gap: 0; }
  .featured > div { padding: 21px; }
  .featured img { border-radius: 0 0 7px 7px; }
}
@media (max-width: 390px) {
  .wrap { width: calc(100% - 30px); }
  .hero-copy { padding-inline: 15px; }
  .header .book { font-size: .72rem; }
  .hero-copy .button, .hero-copy .text-link { font-size: .83rem; }
  .hero-copy .button { padding-inline: 11px; }
}
@media (max-width: 350px) {
  .header .logo { width: 105px; }
  .header .wrap { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
