:root {
  --ink: #1f1d1a;
  --muted: #5d5850;
  --paper: #fbf8f3;
  --alt: #f1ebe1;
  --line: #ddd3c4;
  --steel: #2f3b44;
  --accent: #b5532a;
  --accent-dark: #93411f;
  --ok: #2f6b3a;
  --err: #a12d2d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

a { color: var(--accent-dark); }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 680px; }

/* Top bar */
.topbar { background: var(--steel); color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.brand { font-weight: 700; letter-spacing: .02em; }
.topbar-link { color: #fff; font-weight: 600; text-decoration: none; }
.topbar-link:hover, .topbar-link:focus { text-decoration: underline; }

/* Hero images: assets/images/hero-board.jpg (desktop) and hero.jpg (mobile) */
/* Desktop: headline on dark stone, board photo on the right with soft faded edges. */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #252320;
}
.hero::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 56%;
  aspect-ratio: 1400 / 723;
  transform: translateY(-50%);
  background:
    linear-gradient(90deg, #252320 0%, rgba(37, 35, 32, 0) 24%, rgba(37, 35, 32, 0) 92%, #252320 100%),
    linear-gradient(180deg, #252320 0%, rgba(37, 35, 32, 0) 18%, rgba(37, 35, 32, 0) 82%, #252320 100%),
    url("images/hero-board.jpg") center / cover no-repeat;
}
.hero-inner { position: relative; z-index: 1; padding: 5rem 1.25rem 5.5rem; max-width: 1040px; }
.hero .lead { max-width: 28rem; }
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 16ch;
}
.lead { font-size: 1.25rem; max-width: 36rem; margin: 0 0 2rem; }

.season {
  display: inline-block;
  margin: 0 0 1.25rem;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: #1d5c3a;
  border: 1px solid #3f8a5e;
  font-size: .95rem;
  font-weight: 600;
}

.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-block;
  padding: .85rem 1.4rem;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--accent-dark); }
.btn-secondary { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-secondary:hover, .btn-secondary:focus { background: rgba(255, 255, 255, .12); }
.btn:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid #f2b84b;
  outline-offset: 2px;
}

/* Sections */
.section { padding: 4rem 0; }
.section.alt { background: var(--alt); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin: 0 0 1.25rem; line-height: 1.2; }
.small { font-size: .95rem; color: var(--muted); }

/* Prices */
.prices { width: 100%; border-collapse: collapse; margin: 0 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.prices th, .prices td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); }
.prices th { background: var(--steel); color: #fff; font-size: 1rem; }
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices td:last-child { font-size: 1.35rem; font-weight: 700; }
.prices tr:last-child td { border-bottom: 0; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.5rem; counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: inline-grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; margin-bottom: .75rem;
}
.steps strong { display: block; font-size: 1.15rem; margin-bottom: .25rem; }
.steps span { color: var(--muted); }

/* Form */
.form { display: grid; gap: .4rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 1.5rem; }
.form label { font-weight: 600; margin-top: .75rem; }
.form label:first-of-type { margin-top: 0; }
.opt { font-weight: 400; color: var(--muted); font-size: .95rem; }
.form input, .form textarea {
  width: 100%;
  font: inherit;
  padding: .7rem .8rem;
  border: 1px solid #b9ad9b;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
}
.form input[type="number"] { max-width: 8rem; }
.form button { margin-top: 1.25rem; justify-self: start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1rem 1.25rem; border-radius: 8px; font-weight: 600; margin: 0 0 1.25rem; }
.notice-ok { background: #e6f2e8; color: var(--ok); border: 1px solid #b8d8bf; }
.notice-err { background: #f8e6e6; color: var(--err); border: 1px solid #e3bcbc; }

/* Footer */
.footer { background: var(--steel); color: #e8e4dd; padding: 2rem 0; }
.footer p { margin: .25rem 0; }
.footer a { color: #fff; }
.footer .small { color: #b9c0c5; }

@media (max-width: 800px) {
  /* Phones and tablets: photo as its own band above the text */
  .hero::after { display: none; }
  .hero::before {
    content: "";
    display: block;
    aspect-ratio: 1400 / 723;
    max-height: 340px;
    width: 100%;
    background:
      linear-gradient(180deg, rgba(37, 35, 32, 0) 70%, #252320 100%),
      url("images/hero-board.jpg") center / cover no-repeat;
  }
  .hero .lead { max-width: none; }
}

@media (max-width: 600px) {
  .hero-inner { padding: 1.5rem 1.25rem 3rem; }
  .actions .btn { width: 100%; text-align: center; }
  .section { padding: 3rem 0; }
}
