:root {
  color-scheme: light;
  --ink: #172a23;
  --ink-deep: #10231c;
  --muted: #46564d;
  --paper: #f8f6ef;
  --white: #fffefa;
  --line: #d4d8c9;
  --soft: #e9eee3;
  --warm: #e8bc7c;
  --accent: #744123;
  --serif: "Instrument Serif", Baskerville, Georgia, serif;
  --sans: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.6 var(--sans); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #ae682a; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .99; }
h1 { font-size: clamp(3.55rem, 7.8vw, 7.7rem); letter-spacing: -.065em; overflow-wrap: break-word; }
h2 { font-size: clamp(2.5rem, 4.6vw, 4.6rem); letter-spacing: -.052em; }
h3 { font-size: clamp(1.8rem, 3vw, 3.15rem); letter-spacing: -.04em; }
h1 em { font-weight: 400; color: #42604e; }
[id] { scroll-margin-top: 1.5rem; }
.shell { width: min(100% - 6rem, 78rem); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 7vw, 6.6rem); }
.skip { position: absolute; padding: .7rem 1rem; background: var(--white); top: -6rem; left: 1rem; z-index: 3; }
.skip:focus { top: 1rem; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 750; color: var(--accent); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.24rem); max-width: 48ch; color: var(--muted); margin-top: 1.25rem; }
.small { font-size: .9rem; color: var(--muted); }

.site-header { background: var(--white); border-bottom: 1px solid #e2e2d9; }
.header-inner { min-height: 5.65rem; display: flex; justify-content: space-between; align-items: center; gap: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 3.5rem; mix-blend-mode: multiply; }
.brand span { font-size: .9rem; font-weight: 750; line-height: 1.1; }
nav { display: flex; justify-content: center; align-items: center; gap: clamp(.95rem, 3vw, 2.5rem); }
nav a { font-size: .93rem; text-decoration: none; white-space: nowrap; padding: .55rem 0; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: #965525; text-underline-offset: .5rem; text-decoration-thickness: .11rem; }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; border: 1px solid var(--ink); background: var(--ink); color: var(--white); padding: .82rem 1.18rem; border-radius: .17rem; font-size: .92rem; font-weight: 700; text-decoration: none; }
.button:hover { background: #345246; }
.outline { color: var(--ink); background: transparent; }
.outline:hover { color: var(--white); }
.warm, .warm:hover { color: var(--ink-deep); border-color: transparent; }
.warm { background: var(--warm); }
.warm:hover { background: #f3d199; }
.arrow { display: inline-flex; align-items: baseline; gap: .65rem; width: fit-content; text-decoration: underline; text-underline-offset: .3rem; font-weight: 680; }
.arrow:hover { color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 1.3rem; align-items: center; }

.cover { background: var(--ink-deep); color: var(--white); }
.cover-grid { min-height: clamp(35rem, 46vw, 42rem); display: grid; grid-template-columns: 1.14fr 1fr; }
.cover-copy { position: relative; align-self: center; padding: 4.4rem 0 4.6rem; z-index: 1; }
.cover h1 { font-size: clamp(4rem, 7.8vw, 7.7rem); margin-block: 1.1rem 1.5rem; }
.cover h1 em, .cover .kicker { color: #ecc691; }
.cover-copy > p:not(.kicker) { max-width: 38ch; font-size: clamp(1.06rem, 1.6vw, 1.23rem); color: #eef0e8; margin-bottom: 1.75rem; }
.cover .arrow:hover { color: #ecc691; }
.cover-photo { position: relative; min-width: 0; min-height: 100%; background: #2e4436; }
.cover-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cover-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #10231c 0%, #10231c22 22%, transparent 50%); pointer-events: none; }

.section-title { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: .9rem 1.5rem; margin-bottom: 1.65rem; }
.offer-grid, .resource-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer, .resource { display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; background: var(--white); border: 1px solid var(--line); border-top: .23rem solid #6e806a; padding: clamp(1.25rem, 3.3vw, 2.6rem); }
.offer.operations { border-top-color: #b68057; }
.offer > p:not(.kicker), .resource > p:not(.kicker) { color: var(--muted); max-width: 48ch; }
.offer .arrow, .resource .arrow { margin-top: auto; padding-top: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: .25rem 0 .15rem; list-style: none; }
.chips li { background: var(--soft); font-size: .85rem; padding: .28rem .62rem; }

.band { background: var(--soft); }
.split { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: clamp(1.5rem, 5vw, 5.5rem); }
.split > div > .arrow { margin-top: 1.1rem; }
.steps { margin: 0; padding-left: 1.78rem; }
.steps li { padding: .85rem .4rem 1.05rem; border-top: 1px solid #bdc7b7; }
.steps li::marker { color: var(--accent); font-size: .9rem; font-weight: 780; }
.steps h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
.steps p { margin-top: .42rem; color: var(--muted); }
.callout { margin-block: clamp(2.5rem, 6vw, 5rem); background: var(--ink); color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1.6rem, 4vw, 3.3rem); }
.callout p { color: #e5eadf; margin-top: .65rem; max-width: 58ch; }
.callout .button { flex-shrink: 0; }

.intro { padding-block: clamp(3.4rem, 7.5vw, 7.5rem); }
.intro h1, .contact-layout h1 { margin-top: .7rem; }
.intro h1 { max-width: 15ch; }
.intro .button { margin-top: 1.5rem; }
.intro.visual { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(1.5rem, 7vw, 6rem); }
.intro-media img { aspect-ratio: 1.4 / 1; object-fit: cover; object-position: center 62%; }
.faq details { border-top: 1px solid #b8c5b4; }
.faq details:last-child { border-bottom: 1px solid #b8c5b4; }
.faq summary { padding: .95rem 0; font-weight: 700; cursor: pointer; }
.faq summary small { float: right; padding-left: .7rem; color: var(--muted); font-weight: 600; }
.faq p { color: var(--muted); padding-bottom: .9rem; }
.schedule ol { padding-left: 1.5rem; margin: 0; }
.schedule li { padding-left: .4rem; }
.schedule li::marker { color: var(--accent); font-weight: 700; }
.schedule h3 { font-size: 1.7rem; }
.schedule li p { margin-top: .3rem; }

.article { max-width: 48rem; padding-block: clamp(2.8rem, 7.5vw, 7rem); }
.article header { margin-block: 1.1rem 2.4rem; }
.article h1 { font-size: clamp(3.45rem, 7vw, 6.05rem); margin-top: .6rem; }
.article h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-block: 1.8rem .65rem; }
.article > p { color: var(--muted); }
.article blockquote { margin: 1.2rem 0 0; padding: 1rem 1.2rem; background: var(--soft); border-left: .22rem solid #98754c; }
.article > .button { margin-top: 1.7rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 5vw, 5rem); }
.contact-layout .email { margin-top: 1.25rem; }
.email { overflow-wrap: anywhere; }
.contact-card { border: 1px solid var(--line); border-top: .23rem solid #6e806a; background: var(--white); padding: clamp(1.25rem, 3vw, 2rem); }
.contact-card form:not([hidden]) { display: grid; gap: .4rem; }
.contact-card label { font-weight: 700; }
.contact-card label span { font-weight: 400; color: var(--muted); }
.contact-card input, .contact-card select, .contact-card textarea {
  width: 100%; min-width: 0; margin-bottom: .55rem; padding: .6rem .72rem;
  color: var(--ink); background: var(--paper); border: 1px solid #8c9b8e; border-radius: .15rem;
}
.contact-card textarea { resize: vertical; }
.contact-card .button { width: fit-content; margin-top: .5rem; }

.site-footer { background: #e6eadf; border-top: 1px solid var(--line); }
.footer-main { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem 1.5rem; padding-block: 1.75rem; font-size: .9rem; }
.footer-main div:nth-child(2) { display: flex; gap: 1rem; }

@media (max-width: 920px) {
  .shell { width: min(100% - 3rem, 78rem); }
  .header-inner { flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: .65rem; }
  nav { order: 1; flex: 0 0 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 1.4rem; padding-block: .3rem; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 2rem); }
  .cover-grid, .offer-grid, .resource-grid, .split, .intro.visual, .contact-layout { grid-template-columns: 1fr; }
  .cover-copy { padding: 2.9rem 0 1.85rem; }
  .cover-photo { min-height: 0; aspect-ratio: 1.65 / 1; }
  .cover-photo::after { background: linear-gradient(#10231c12, transparent); }
  .cover h1 { font-size: clamp(3.4rem, 10vw, 4.5rem); }
  h1 { font-size: clamp(3.1rem, 10.7vw, 4.5rem); }
  nav { gap: 0 .95rem; }
  nav a { font-size: .85rem; padding: .38rem 0; }
  .callout { align-items: flex-start; flex-direction: column; }
  .offer, .resource { gap: .58rem; }
}

.offer-grid.three, .resource-grid:has(.resource:nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.offer.laboratory { border-top-color: #3b6450; }
.split > div > .arrow + .arrow { display: flex; }

@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; gap: .5rem 1.25rem; padding-top: .65rem; }
  nav { order: 1; flex: 0 0 100%; flex-wrap: wrap; justify-content: flex-start; gap: 0 1.15rem; padding-block: .3rem; border-top: 1px solid var(--line); }
}
@media (max-width: 750px) {
  .offer-grid.three, .resource-grid:has(.resource:nth-child(3)) { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { gap: 0 .95rem; }
}

.test-result { margin-top: 1.65rem; }
.test-result img { border: 1px solid var(--line); }
.test-result figcaption { margin-top: .55rem; color: var(--muted); font-size: .9rem; }

.resource > img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: .55rem;
}
.article-image { margin-block: 1.25rem; }
.article-image img { border: 1px solid var(--line); }
.article-image.wide img { aspect-ratio: 3 / 2; object-fit: cover; object-position: center 60%; }

.breadcrumbs { display: block; padding-top: 1rem; border-top: 0; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: .8rem; }
.breadcrumbs li + li::before { content: "›"; padding-right: .35rem; }
.breadcrumbs a { white-space: normal; font-size: inherit; text-decoration: underline; padding: 0; }
.breadcrumbs [aria-current="page"] { overflow-wrap: anywhere; }
.article-meta { margin-top: 1rem; font-size: .85rem; color: var(--muted); }
