/* Root */
:root {
  --os-bg: #F3F2EB;
  --os-surface: #FCFBF7;
  --os-text: #23261F;
  --os-muted: #5A5E53;
  --os-accent: #56651E;
  --os-accent-dark: #3F4B14;
  --os-accent-text: #FCFBF7;
  --os-plate-bg: #23261F;
  --os-plate-text: #F3F2EB;
  --os-line: #D8D6C9;
  --os-radius-card: 14px;
  --os-radius-btn: 10px;
  --os-font-head: 'Gill Sans', 'Gill Sans MT', Calibri, 'Segoe UI', sans-serif;
  --os-font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --os-pad: clamp(16px, 4vw, 40px);
  --os-section: clamp(64px, 9vw, 128px);
  --os-shadow: 0 1px 2px rgb(35 38 31 / .06), 0 12px 32px rgb(35 38 31 / .08);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--os-bg);
  color: var(--os-text);
  font-family: var(--os-font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--os-font-head);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(1.8rem, 4.2vw + 0.7rem, 4.2rem); font-weight: 700; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.2rem, 1vw + 0.8rem, 1.5rem); }
p { margin: 0 0 16px; max-width: 68ch; }
a { color: var(--os-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--os-accent); }
:focus-visible { outline: 2px solid var(--os-accent); outline-offset: 2px; }
ul, ol { padding-left: 1.3em; }
.os_wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--os-pad); }
.os_narrow { max-width: 760px; }
.os_section { padding: var(--os-section) 0; }
.os_section > .os_wrap > p { max-width: 60ch; line-height: 1.6; }

/* Tinted alternating background with soft wave edge */
.os_section:nth-of-type(even) {
  background: var(--os-surface);
  position: relative;
}
.os_section:nth-of-type(even)::before {
  content: "";
  position: absolute;
  inset: -1px 0 auto 0;
  height: 44px;
  background: radial-gradient(140% 100% at 50% 100%, transparent 58%, var(--os-bg) 59%);
  transform: translateY(-99%);
  pointer-events: none;
}
.os_section:nth-of-type(even)::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 44px;
  background: radial-gradient(140% 100% at 50% 0, transparent 58%, var(--os-bg) 59%);
  transform: translateY(99%);
  pointer-events: none;
}

/* Skip link */
.os_skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  background: var(--os-plate-bg);
  color: var(--os-plate-text);
  padding: 12px 20px;
  border-radius: var(--os-radius-btn);
  text-decoration: none;
}
.os_skip:focus { left: 12px; color: var(--os-plate-text); }

/* Header bar */
.os_header {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin: 12px var(--os-pad) 0;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgb(252 251 247 / .92);
  border: 1px solid var(--os-line);
  border-radius: 18px;
  box-shadow: var(--os-shadow);
  min-height: 64px;
}
.os_logo {
  font-family: var(--os-font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--os-text);
  text-decoration: none;
  text-align: center;
  flex: 1;
}
.os_header_cta { flex: 0 0 auto; }

/* Nav toggle */
.os_nav_toggle {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-btn);
  background: transparent;
  color: var(--os-text);
  font: 600 0.95rem var(--os-font-body);
  cursor: pointer;
}
.os_nav_toggle:hover { border-color: var(--os-accent); }
.os_nav_toggle:focus-visible { outline: 2px solid var(--os-accent); outline-offset: 2px; }
.os_nav_toggle:active { box-shadow: none; }
.os_nav_bars, .os_nav_bars::before, .os_nav_bars::after {
  width: 18px; height: 2px;
  background: var(--os-text);
  border-radius: 2px;
  content: "";
  display: block;
  transition: transform .25s ease, opacity .2s ease;
}
.os_nav_bars::before { transform: translateY(-6px); margin-bottom: 4px; }
.os_nav_bars::after { transform: translateY(6px); margin-top: 4px; }

/* Off-canvas nav */
.os_nav_overlay {
  position: fixed;
  inset: 0;
  background: rgb(35 38 31 / .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 60;
}
.os_nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(340px, 84vw);
  background: var(--os-surface);
  border-right: 1px solid var(--os-line);
  box-shadow: var(--os-shadow);
  transform: translateX(-102%);
  transition: transform .32s ease;
  z-index: 70;
  padding: 84px 24px 32px;
  overflow-y: auto;
}
.os_nav_open .os_nav,
.os_nav.os_nav_open { transform: translateX(0); }
.os_nav_open .os_nav_overlay,
.os_nav_overlay:has(+ .os_nav.os_nav_open) { opacity: 1; visibility: visible; }
.os_nav_list { list-style: none; margin: 0; padding: 0; }
.os_nav_list li { border-bottom: 1px solid var(--os-line); }
.os_nav_link {
  position: relative;
  display: inline-block;
  padding: 14px 4px;
  color: var(--os-text);
  text-decoration: none;
  font-size: 1rem;
}
.os_nav_link::before {
  content: "";
  position: absolute;
  left: 0; bottom: 8px;
  width: 0; height: 2px;
  background: var(--os-accent);
  transition: width .28s ease;
}
.os_nav_link:hover::before,
.os_nav_link[aria-current="page"]::before { width: 100%; }
.os_nav_link:hover { color: var(--os-accent-dark); text-decoration: none; }

/* Buttons */
.os_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: none;
  border-radius: var(--os-radius-btn);
  background: linear-gradient(135deg, var(--os-accent-dark), var(--os-accent));
  background-size: 200% 100%;
  background-position: 0 0;
  color: var(--os-accent-text);
  font: 600 1rem var(--os-font-body);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgb(35 38 31 / .12);
  transition: background-position .3s ease, box-shadow .2s ease, transform .15s ease;
}
.os_button:hover { background-position: 100% 0; color: var(--os-accent-text); }
.os_button:focus-visible {
  outline: 3px solid var(--os-plate-bg);
  outline-offset: 2px;
  color: var(--os-accent-text);
}
.os_button:active { box-shadow: none; transform: translateY(1px); }
.os_button_alt {
  background: transparent;
  border: 1px solid var(--os-accent-dark);
  color: var(--os-accent-dark);
}
.os_button_alt:hover { background: rgb(86 101 30 / .08); color: var(--os-accent-dark); }
.os_button_alt:focus-visible { outline-color: var(--os-plate-bg); color: var(--os-accent-dark); }
.os_button_alt:active { box-shadow: none; }

/* Hero */
.os_hero {
  padding-top: clamp(48px, 7vw, 96px);
  text-align: center;
}
.os_hero h1 { max-width: 16ch; margin-left: auto; margin-right: auto; }
.os_hero { padding-inline: clamp(16px, 3vw, 24px); }
.os_hero p { margin: 0 auto 24px; max-width: 56ch; line-height: 1.6; }
.os_accent {
  display: inline-block;
  font-size: clamp(1.8rem, 4.2vw + 0.7rem, 4.2rem);
  color: var(--os-accent-dark);
}

/* Photos */
.os_photo {
  margin: 32px 0 0;
  padding: clamp(10px, 1.6vw, 18px);
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-card);
  box-shadow: var(--os-shadow);
}
.os_photo img {
  width: 100%;
  object-fit: cover;
  border-radius: calc(var(--os-radius-card) - 6px);
}
.os_photo_wide { padding: 0; border: none; box-shadow: none; background: transparent; }
.os_photo_wide img { aspect-ratio: 16 / 9; width: 100%; border-radius: 16px; box-shadow: var(--os-shadow); }
.os_split_side .os_photo { margin-top: 20px; }
.os_split_side .os_photo img { aspect-ratio: 4 / 5; }
.os_trust_body .os_photo img { aspect-ratio: 3 / 2; }

/* Split layout */
.os_split { display: block; }
.os_split_side { margin-bottom: 32px; }
.os_split_side { position: static; }

/* Filter */
.os_filter { display: flex; flex-wrap: wrap; row-gap: 8px; column-gap: 8px; margin-bottom: 24px; }
.os_filter_btn {
  min-height: 42px;
  padding: 10px 16px;
  line-height: 1;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-btn);
  background: var(--os-surface);
  color: var(--os-text);
  font: 600 0.9rem var(--os-font-body);
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.os_filter_btn:hover { border-color: var(--os-accent); }
.os_filter_btn:focus-visible { outline: 2px solid var(--os-accent); outline-offset: 2px; }
.os_filter_btn:active { box-shadow: none; }
.os_filter_btn.is_active {
  background: var(--os-plate-bg);
  border-color: var(--os-plate-bg);
  color: var(--os-plate-text);
}

/* Cards */
.os_card_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.os_card {
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.os_card > a { margin-top: auto; padding-top: 18px; align-self: flex-start; }
.os_card:hover, .os_card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--os-shadow);
}
.os_card p { margin: 0; flex: 1; }
.os_card a { font-weight: 600; }
.os_card.is_hidden { display: none; }

/* Prices */
.os_price_table { display: grid; grid-template-columns: 1fr; gap: 20px; }
.os_price_row {
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.os_price_row h3 { margin-bottom: 12px; }
.os_price_row > p:first-of-type { margin-bottom: 16px; }
.os_price_note { color: var(--os-muted); font-size: 0.875rem; line-height: 1.5; margin: auto 0 0; padding-top: 16px; }

/* Steps */
.os_steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.os_steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 32px 56px;
}
.os_steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--os-plate-bg);
  color: var(--os-plate-text);
  font: 600 1rem var(--os-font-head);
}
.os_steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 19.5px; top: 44px; bottom: 4px;
  width: 1px;
  background: var(--os-line);
}
.os_steps p { margin: 0; }

/* FAQ */
.os_faq { display: grid; gap: 12px; }
.os_faq details {
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-card);
  padding: 4px 22px;
}
.os_faq summary {
  cursor: pointer;
  font-family: var(--os-font-head);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 16px 0;
  list-style: none;
}
.os_faq summary::-webkit-details-marker { display: none; }
.os_faq summary::before {
  content: "+";
  display: inline-block;
  margin-right: 10px;
  color: var(--os-accent-dark);
  font-weight: 700;
}
.os_faq details[open] summary::before { content: "–"; }
.os_faq p { padding-bottom: 16px; margin: 0; }

/* Trust plate */
.os_trust { display: grid; gap: 28px; align-items: start; }
.os_plate {
  background: var(--os-plate-bg);
  color: var(--os-plate-text);
  border-radius: var(--os-radius-card);
  padding: 32px;
}
.os_plate h3 { color: var(--os-plate-text); }
.os_plate p { color: var(--os-plate-text); margin: 0; }
.os_trust_body { display: grid; gap: 20px; }
.os_trust_body .os_photo { margin: 4px 0; max-width: 560px; }

/* Form */
.os_form {
  display: grid;
  gap: 20px;
  max-width: 640px;
  background: var(--os-surface);
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-card);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--os-shadow);
}
.os_field { display: grid; gap: 6px; }
.os_label { font-weight: 600; font-size: 0.95rem; }
.os_input {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--os-line);
  border-radius: var(--os-radius-btn);
  background: var(--os-bg);
  color: var(--os-text);
  font: 400 1rem var(--os-font-body);
}
.os_input:focus { outline: 2px solid var(--os-accent); outline-offset: 1px; }
.os_input::placeholder { color: var(--os-muted); opacity: 1; }
.os_textarea { min-height: 120px; resize: vertical; }
.os_field:has(.os_input:user-invalid) .os_label { color: #8C2F1B; }
.os_field_error { color: #8C2F1B; font-size: 0.9rem; margin: 0; }
.os_check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; }
.os_check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--os-accent); flex: 0 0 auto; }
.os_form_note { color: var(--os-muted); font-size: 0.9rem; margin: 0; }
.os_form_button { justify-self: start; }
.os_form.is_sending .os_form_button { opacity: .7; pointer-events: none; }

/* Prose */
.os_prose { max-width: 760px; }
.os_prose h2 { font-size: clamp(1.4rem, 1.6vw + 0.9rem, 2rem); margin-top: 40px; }
.os_prose ol, .os_prose ul { margin: 0 0 16px; }
.os_prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 20px;
  font-size: 0.95rem;
}
.os_prose th, .os_prose td {
  border: 1px solid var(--os-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.os_prose th { background: var(--os-surface); font-weight: 600; }

/* Page head (inner pages) */
.os_page_head { padding: clamp(48px, 7vw, 88px) 0 0; }
.os_page_head p { max-width: 60ch; }

/* Thanks / 404 */
.os_confirm { text-align: center; }
.os_confirm .os_button { margin-top: 12px; }
.os_confirm_links {
  list-style: none;
  padding: 0;
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
}

/* Footer */
.os_footer {
  background: var(--os-plate-bg);
  color: var(--os-plate-text);
  padding: clamp(48px, 6vw, 80px) 0 32px;
  margin-top: var(--os-section);
  border-radius: 26px 26px 0 0;
}
.os_footer_cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.os_footer_logo { color: var(--os-plate-text); text-align: left; flex: none; }
.os_footer_note { color: #C9CBBE; max-width: 40ch; }
.os_footer_title {
  color: var(--os-plate-text);
  font-size: 1.05rem;
  margin-bottom: 14px;
}
.os_footer_links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.os_footer_links a { color: #DDDFD2; text-decoration: none; }
.os_footer_links a:hover { color: #FFFFFF; text-decoration: underline; }
.os_footer address { font-style: normal; }
.os_footer ul li span { color: #C9CBBE; }
.os_footer a { color: #DDDFD2; }
.os_footer_copy {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgb(243 242 235 / .2);
  color: #C9CBBE;
  font-size: 0.9rem;
}

/* Reveal */
html.is_ready .os_reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
html.is_ready .os_reveal.is_revealed {
  opacity: 1;
  transform: none;
}

/* Breakpoints */
@media (min-width: 480px) {
  .os_price_table { grid-template-columns: 1fr 1fr; }
  .os_price_row:last-child { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .os_card_list { grid-template-columns: 1fr 1fr; }
  .os_footer_cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
  .os_header { padding: 10px 12px; margin-left: 12px; margin-right: 12px; gap: 8px; }
  .os_logo { min-width: 0; font-size: 1rem; }
  .os_header_cta { flex-shrink: 0; padding: 10px 14px; font-size: 14px; white-space: nowrap; }
  .os_nav_toggle_text { display: none; }
}
@media (min-width: 768px) {
  .os_split { display: grid; grid-template-columns: minmax(240px, 34%) 1fr; gap: 48px; }
  .os_split_side { position: sticky; top: 104px; align-self: start; margin-bottom: 0; }
  .os_trust { grid-template-columns: minmax(280px, 40%) 1fr; }
  .os_prose { font-size: 1.02rem; }
}
@media (min-width: 1024px) {
  .os_card_list { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .os_card_list > li:nth-child(4), .os_card_list > li:nth-child(5) { grid-column: auto; }
  .os_price_table { grid-template-columns: repeat(3, 1fr); }
  .os_price_row:last-child { grid-column: auto; }
  .os_footer_cols { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
@media (min-width: 1280px) {
  .os_hero p { font-size: 1.15rem; }
  .os_section { padding: 128px 0; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  html.is_ready .os_reveal { opacity: 1; transform: none; }
}

/* Nav open hardening */
html.os_nav_open .os_nav,
body.os_nav_open .os_nav { transform: translateX(0); }
html.os_nav_open .os_nav_overlay,
body.os_nav_open .os_nav_overlay { opacity: 1; visibility: visible; }
