:root {
  --ink: #24312d;
  --muted: #65736e;
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --green: #28594d;
  --green-dark: #1e443b;
  --green-soft: #e6efeb;
  --line: #dce3dd;
  --gold: #c89355;
  --red: #a75245;
  --shadow: 0 18px 45px rgba(35, 56, 49, 0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 4vw, 4.4rem);
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(40, 89, 77, 0.12);
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(14px);
}

.brand,
.brand span:last-child {
  display: flex;
}

.brand {
  align-items: center;
  gap: 12px;
}

.brand span:last-child {
  flex-direction: column;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.9rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--green);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--green);
  font-weight: 700;
}

.section {
  width: min(1240px, 90vw);
  margin: 0 auto;
  padding: 112px 0;
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: 56px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-text {
  max-width: 670px;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  transition: 180ms ease;
}

.button-primary {
  background: var(--green);
  color: white;
}

.button-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: rgba(40, 89, 77, 0.2);
  background: rgba(255, 255, 255, 0.35);
  color: var(--green);
}

.button-secondary:hover {
  border-color: var(--green);
  background: var(--paper);
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.82rem;
}

.note-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-card {
  overflow: hidden;
  min-height: 480px;
  padding: 30px;
  border-radius: 160px 160px 22px 22px;
  background: var(--green);
  box-shadow: var(--shadow);
  color: white;
}

.hero-card-top,
.hero-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card-top {
  padding: 34px 10px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card-top p {
  margin: 0;
}

.hero-card-metrics {
  padding: 28px 10px;
}

.hero-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat strong {
  font-family: "Fraunces", Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.77rem;
  text-transform: uppercase;
}

.hero-card-bottom {
  padding: 4px 10px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  border-top: 1px solid rgba(40, 89, 77, 0.16);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.step-card,
.card,
.proposal-card {
  border: 1px solid rgba(40, 89, 77, 0.1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.step-card {
  min-height: 190px;
  padding: 22px;
}

.step-card span,
.section-number {
  color: var(--gold);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.7rem;
}

.step-card h3 {
  margin-top: 16px;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.48fr);
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading > p {
  margin-bottom: 8px;
  color: var(--muted);
}

.reservation-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 18px;
  align-items: start;
}

.card {
  padding: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: var(--green-dark);
  font-size: 0.8rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: none;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(40, 89, 77, 0.12);
}

textarea {
  resize: vertical;
}

.full-width {
  grid-column: 1 / -1;
}

.checkbox {
  flex-direction: row;
  align-items: center;
  color: var(--muted);
  font-weight: 500;
}

.checkbox input {
  width: auto;
  accent-color: var(--green);
}

.form-message {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-message.error {
  color: var(--red);
}

.availability h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
}

.availability-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.availability-row div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--green-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.availability-row small {
  color: var(--muted);
}

.progress {
  overflow: hidden;
  height: 5px;
  margin-top: 9px;
  border-radius: 99px;
  background: var(--green-soft);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
}

.availability-footnote {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.control-section {
  background: var(--green-dark);
  color: white;
}

.control-inner {
  width: min(1380px, 90vw);
}

.control-section .split-heading > p {
  color: rgba(255, 255, 255, 0.68);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.metric {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}

.metric strong {
  display: block;
  font-family: "Fraunces", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 18px;
}

.table-card,
.manage-card {
  color: var(--ink);
}

.card-heading {
  margin-bottom: 18px;
}

.card-heading h3 {
  margin-bottom: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
}

.card-heading-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.export-actions,
.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.table-helper {
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 0.82rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  text-align: left;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 99px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-full {
  background: #f4e6e2;
  color: var(--red);
}

.day-form {
  display: grid;
  gap: 13px;
}

.day-form .button {
  width: 100%;
  margin-top: 2px;
}

.manage-days {
  margin-top: 17px;
}

.manage-day {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.icon-button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 700;
}

.action-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border-radius: 99px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
}

.action-link:hover {
  background: var(--green);
  color: white;
}

.reservations-card {
  margin-top: 18px;
  color: var(--ink);
}

.empty-row td {
  padding: 22px 10px;
  color: var(--muted);
  text-align: center;
}

.proposal-section {
  max-width: 1180px;
}

.proposal-layout {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  align-items: start;
}

.proposal-nav {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 4px;
}

.proposal-nav a {
  padding: 7px 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.proposal-nav a:hover {
  color: var(--green);
}

.proposal-content {
  display: grid;
  gap: 16px;
}

.proposal-card {
  scroll-margin-top: 96px;
  padding: 26px;
}

.proposal-card h3 {
  margin-top: 6px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.85rem;
}

.proposal-card p,
.proposal-card li {
  color: var(--muted);
  font-size: 0.92rem;
}

.proposal-card li + li {
  margin-top: 7px;
}

blockquote {
  margin: 18px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: #fbf7f0;
  color: var(--green-dark);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
}

.code-grid {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

code {
  overflow-x: auto;
  padding: 9px 11px;
  border-radius: 7px;
  background: var(--green-soft);
  color: var(--green-dark);
  font-size: 0.8rem;
}

.email-card span {
  color: var(--green);
  font-weight: 700;
}

.subject {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.risk-card {
  border-color: rgba(167, 82, 69, 0.25);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 5vw;
  border-top: 1px solid rgba(40, 89, 77, 0.15);
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: auto;
    border-radius: 130px 130px 20px 20px;
  }

  .intro-grid,
  .reservation-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .proposal-layout {
    grid-template-columns: 1fr;
  }

  .proposal-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 14px 5vw 18px;
    border-bottom: 1px solid var(--line);
    background: var(--cream);
  }

  .main-nav.open {
    display: grid;
    gap: 12px;
  }

  .section {
    width: min(92vw, 620px);
    padding: 78px 0;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero {
    gap: 34px;
  }

  .hero-card {
    padding: 22px;
  }

  .intro-grid {
    gap: 22px;
  }

  .steps,
  .form-grid,
  .metrics-grid,
  .split-heading {
    grid-template-columns: 1fr;
  }

  .split-heading {
    gap: 10px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-heading-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .card {
    padding: 19px;
  }

  footer {
    flex-direction: column;
    gap: 4px;
  }
}
