:root {
  --olive: #3F5A2E;
  --olive-d: #24351C;
  --forest: #1E3320;
  --moss: #5C7A3E;
  --sage: #8BA86A;
  --leaf: #6F9A4A;
  --sky: #8FB7C4;
  --clay: #C4784A;
  --clay-d: #A35A32;
  --honey: #E0B25A;
  --sun: #E8C96A;
  --linen: #F3EBD4;
  --ivory: #FBF7EC;
  --wood: #3A2A1C;
  --ink: #2A2818;
  --muted: #667056;
  --line: #D7E0C4;
  --display: "Cormorant Garamond", Georgia, serif;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --shadow: 0 16px 40px rgba(36, 53, 28, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background-color: #EAF3DC;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(143, 183, 196, 0.22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(224, 178, 90, 0.16), transparent 26%),
    radial-gradient(circle at 50% 100%, rgba(107, 154, 74, 0.12), transparent 40%),
    repeating-linear-gradient(90deg, rgba(63, 90, 46, 0.035) 0 1px, transparent 1px 22px);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol { margin: 0; }
button { font-family: inherit; }

.progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--olive) 0%, var(--clay) 55%, var(--honey) 100%);
  z-index: 80;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn--gold { background: var(--clay); color: #FFF8EE; }
.btn--gold:hover { background: var(--clay-d); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: #F6EEDD;
  border: 1px solid rgba(212, 160, 84, 0.5);
}
.btn--ghost:hover { background: rgba(255, 248, 238, 0.08); }

.leaf {
  position: absolute;
  width: 160px;
  height: 160px;
  fill: none;
  stroke: rgba(232, 201, 106, 0.45);
  stroke-width: 2;
  pointer-events: none;
  z-index: 0;
}
.leaf--a { top: 24px; right: 8%; transform: rotate(18deg); }
.leaf--b { bottom: 40px; left: 3%; transform: rotate(-12deg); width: 130px; }

.sprig {
  display: inline-block;
  width: 18px;
  height: 10px;
  margin-right: 6px;
  border-radius: 0 10px 0 10px;
  background: var(--moss);
  box-shadow: 7px -3px 0 var(--leaf), 14px 0 0 var(--sage);
  vertical-align: middle;
}

.hero {
  position: relative;
  background:
    radial-gradient(520px 280px at 80% 0%, rgba(143, 183, 196, 0.28), transparent 55%),
    radial-gradient(480px 260px at 10% 100%, rgba(111, 154, 74, 0.28), transparent 50%),
    linear-gradient(165deg, #1A3A28 0%, #2B4A2A 42%, #3A4A22 100%);
  color: #F3F7E8;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(232, 201, 106, 0.08) 0 40px, transparent 70px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 22px;
  background:
    linear-gradient(#5C7A3E, #5C7A3E) 0 0 / 100% 8px no-repeat,
    repeating-linear-gradient(90deg, #3F5A2E 0 20px, #8BA86A 20px 28px, #E0B25A 28px 32px, #C4784A 32px 36px, #3F5A2E 36px 56px);
}
.hero__grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 64px 28px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 650;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--display);
  font-size: 50px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 15ch;
}
.brand-line {
  margin: 14px 0 12px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
}
.lead {
  color: #E6D7BE;
  font-size: 17px;
  max-width: 50ch;
  margin-bottom: 26px;
}
.lead strong { color: #FFF8EE; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__card {
  background: rgba(251, 246, 236, 0.06);
  border: 1px solid rgba(212, 160, 84, 0.32);
  border-radius: 6px;
  padding: 28px 24px;
}
.hero__logo {
  height: 50px;
  width: auto;
  background: #fff;
  padding: 7px 11px;
  border-radius: 4px;
}
.hero__company {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 700;
}
.hero__product {
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  margin: 4px 0 16px;
}
.hero__list { list-style: none; padding: 0; }
.hero__list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid rgba(212, 160, 84, 0.22);
  font-weight: 650;
}
.hero__list span {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--honey);
  color: var(--honey);
  font-size: 11px;
}
.hero__list small {
  display: block;
  font-weight: 400;
  color: #D2C3A6;
  margin-top: 2px;
}

.strip {
  max-width: 1140px;
  margin: -22px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.strip__item { padding: 20px 18px; border-right: 1px solid var(--line); }
.strip__item:last-child { border-right: 0; }
.strip__item b {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-style: italic;
  color: var(--olive);
}
.strip__item span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

.section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 28px 20px;
}
.section--wine,
.section--cream {
  max-width: none;
  padding: 72px 0 40px;
}
.section--wine {
  background:
    radial-gradient(circle at 90% 10%, rgba(143, 183, 196, 0.25), transparent 28%),
    linear-gradient(#D7E6C4, #C8D9A8);
}
.section--cream {
  background:
    radial-gradient(circle at 8% 80%, rgba(224, 178, 90, 0.18), transparent 30%),
    linear-gradient(#E4EBC8, #D5E0B0);
}
.section--wine .section__head,
.section--wine .salon,
.section--wine .legend,
.section--cream .section__head,
.section--cream .flow,
.section--cream .flow__card {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}
.section__head { margin-bottom: 26px; }
.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 8px;
}
h2 {
  font-family: var(--display);
  font-size: 40px;
  font-weight: 600;
  font-style: italic;
  line-height: 1.12;
  color: var(--olive-d);
  max-width: 16ch;
}
.intro { margin-top: 12px; color: var(--muted); font-size: 16px; max-width: 66ch; }

.outcomes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.outcome {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px 16px;
  min-height: 168px;
  border-top: 5px solid var(--sage);
}
.outcome--moss { border-top-color: #5C7A3E; background: #F4F8EC; }
.outcome--leaf { border-top-color: #6F9A4A; background: #F7FAEF; }
.outcome--sun { border-top-color: #E0B25A; background: #FFF8E8; }
.outcome--clay { border-top-color: #C4784A; background: #FBF4EC; }
.outcome h3 {
  font-family: var(--display);
  font-size: 24px;
  font-style: italic;
  color: var(--olive);
  margin-bottom: 8px;
}
.outcome p { font-size: 13px; color: var(--muted); }

.salon {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}
.floor {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 18%),
    radial-gradient(circle at 80% 70%, rgba(111, 154, 74, 0.25), transparent 22%),
    repeating-linear-gradient(0deg, rgba(63, 90, 46, 0.08) 0 2px, transparent 2px 16px),
    linear-gradient(180deg, #8FBF6A 0%, #6A9A48 55%, #5A7A3A 100%);
  border-radius: 18px;
  padding: 18px;
  border: 10px solid #5A3E24;
  box-shadow: inset 0 0 0 3px #8BA86A;
}
.table {
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: #2C2418;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: 0 4px 0 rgba(58, 42, 28, 0.18);
}
.table span { font-size: 11px; font-weight: 500; }
.table.is-free { background: #DCE6C6; }
.table.is-busy { background: #E7B48A; }
.table.is-bill { background: #E8C97A; }
.table.is-res { background: #C9D4A8; }
.table.is-on { outline: 3px solid var(--olive); outline-offset: 2px; }
.table-card {
  background: var(--ivory);
  border-radius: 6px;
  padding: 22px 20px;
  border: 1px solid var(--line);
}
.table-card h3 { font-family: var(--display); font-size: 26px; font-style: italic; color: var(--olive); margin: 4px 0 10px; }
.table-card p { color: var(--muted); font-size: 14px; }
.table-card ul { padding: 12px 0 0 18px; color: var(--ink); font-size: 14px; }
.legend {
  display: flex;
  gap: 18px;
  list-style: none;
  padding: 14px 28px 0;
  font-size: 13px;
  color: var(--muted);
}
.lg {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.lg-free { background: #7C8B5A; }
.lg-busy { background: #C4784A; }
.lg-bill { background: #D4A054; }
.lg-res { background: #8FA06A; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tab {
  border: 1px solid var(--line);
  background: var(--ivory);
  color: var(--olive);
  border-radius: 4px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.tab.is-on { background: var(--olive); color: #F6EEDD; border-color: var(--olive); }
.panels {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.panel { display: none; grid-template-columns: 270px 1fr; }
.panel.is-on { display: grid; }
.panel__meta { background: var(--olive); color: #F6EEDD; padding: 26px 22px; }
.panel__meta span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--honey);
  font-weight: 700;
  margin-bottom: 8px;
}
.panel__meta h3 { font-family: var(--display); font-size: 28px; font-style: italic; }
.panel__meta p { margin-top: 8px; color: #E6D7BE; font-size: 13px; }
.panel__grid { display: grid; grid-template-columns: 1fr 1fr; }
.cell {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.cell:nth-child(odd) { border-left: 0; }
.cell:nth-last-child(-n+2) { border-bottom: 0; }
.cell b { display: block; font-size: 14px; color: var(--olive); margin-bottom: 4px; }
.cell span { font-size: 13px; color: var(--muted); }
.cell:hover { background: #F3E8D0; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.flow__step {
  text-align: left;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 12px;
  cursor: pointer;
}
.flow__step span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 6px;
}
.flow__step strong { display: block; color: var(--olive-d); }
.flow__step em { display: block; font-style: normal; font-size: 12px; color: var(--muted); margin-top: 3px; }
.flow__step.is-on { background: var(--olive); border-color: var(--olive); color: #F6EEDD; }
.flow__step.is-on strong { color: #FFF8EE; }
.flow__step.is-on em, .flow__step.is-on span { color: var(--honey); }
.flow__card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-left: 5px solid var(--clay);
  border-radius: 6px;
  padding: 20px 22px;
}
.flow__card h3 { font-family: var(--display); font-size: 26px; font-style: italic; color: var(--olive); margin: 4px 0 8px; }
.flow__card p { color: var(--muted); }

.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.role {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 16px;
  min-height: 170px;
}
.role .who {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 700;
  margin-bottom: 6px;
}
.role h3 { font-family: var(--display); font-size: 22px; font-style: italic; color: var(--olive); margin-bottom: 8px; }
.role p { font-size: 13px; color: var(--muted); }

.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 550;
  color: var(--olive);
}
.chips li:hover { border-color: var(--clay); background: #F3E8D0; }

.cta {
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: center;
  background:
    radial-gradient(circle at 90% 0%, rgba(143, 183, 196, 0.22), transparent 36%),
    linear-gradient(145deg, #1E3320, #3F5A2E);
  color: #F3F7E8;
  border-radius: 12px;
}
.cta h2 { color: #FFF8EE; }
.cta p { color: #E6D7BE; margin-top: 10px; }
.cta .kicker { color: var(--honey); }
.cta__card {
  background: var(--ivory);
  color: var(--ink);
  border-radius: 6px;
  padding: 20px;
}
.cta__card strong { display: block; font-family: var(--display); font-size: 26px; font-style: italic; color: var(--olive); }
.cta__card a {
  display: block;
  margin-top: 8px;
  font-weight: 700;
  color: var(--clay-d);
  width: fit-content;
  border-bottom: 2px solid var(--honey);
}
.cta__card span { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }

.foot {
  max-width: 1140px;
  margin: 0 auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}
.foot img { height: 32px; width: auto; }

@media (max-width: 960px) {
  .hero__grid, .salon, .panel, .cta, .strip, .outcomes, .roles, .flow {
    grid-template-columns: 1fr;
  }
  .hero h1 { font-size: 36px; max-width: none; }
  h2 { font-size: 30px; }
  .strip { margin: 0 16px; }
  .strip__item, .cell { border-right: 0; border-left: 0; }
  .panel.is-on { display: block; }
  .cta { margin: 32px 16px 0; }
  .legend { flex-wrap: wrap; }
  .leaf { display: none; }
}

@media print {
  .progress { display: none !important; }
  body { background: #fff; }
  .hero { break-after: page; }
  .panel { display: grid !important; page-break-inside: avoid; margin-bottom: 10px; }
  .panel[hidden] { display: grid !important; }
}
