/* ============================================================
   Teddy Rental LLC
   Flat, print-like styling. Paper background, hairline rules,
   one brand color. No gradients, no shadows, no rounded cards.
   ============================================================ */

:root {
  --paper: #f4f1ea;
  --paper-2: #ebe6db;
  --ink: #191c20;
  --ink-2: #3c4149;
  --muted: #565c63;
  --line: #d3ccbe;
  --line-dark: #b8b0a0;
  --brand: #9b2c22;
  --brand-dark: #7a2018;
  --on-dark: #f4f1ea;
  --on-dark-muted: #b3ada0;

  --font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1140px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

section[id],
main[id] { scroll-margin-top: 96px; }

@media (max-width: 820px) {
  section[id],
  main[id] { scroll-margin-top: 84px; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ink); }

.wrap {
  width: min(var(--wrap), 100% - 3rem);
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.98;
  margin: 0 0 0.7rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 6.2vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.15rem; letter-spacing: 0.03em; }

p { margin: 0 0 1rem; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.kicker {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 1.1rem;
}
.kicker-light { color: #d98b7f; }

.lede {
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 46ch;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  border-radius: 2px;
  padding: 0.85rem 1.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); }

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.btn-light:hover { background: #fff; border-color: #fff; }

.link-arrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line-dark);
  padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Utility bar ---------- */

.utility {
  background: var(--ink);
  color: var(--on-dark-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.utility-inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: 36px;
  padding-block: 0.35rem;
}
.utility-item { white-space: nowrap; }
.utility-hours { margin-right: auto; }
.utility-phone {
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.utility-phone:hover { color: #d98b7f; }

/* ---------- Masthead ---------- */

.masthead {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
  padding-block: 0.9rem;
}

.wordmark {
  display: block;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}
.wordmark-main {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.wordmark-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

.nav-call {
  background: var(--brand);
  color: #fff !important;
  border: 1px solid var(--brand) !important;
  border-radius: 2px;
  padding: 0.7rem 1.1rem !important;
}
.nav-call:hover { background: var(--brand-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: none;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(3rem, 7vw, 5.5rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.hero-copy h1 { margin-bottom: 1.25rem; }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 2rem;
}

.hero-fineprint {
  margin-top: 2.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  color: var(--muted);
  max-width: none;
}

/* Rate card: bordered panel, not a floating shadowed card */
.rate-card {
  border: 1px solid var(--ink);
  background: var(--paper-2);
}
.rate-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  background: var(--ink);
  color: var(--on-dark);
  padding: 0.7rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rate-card-unit {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
}
.rate-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 1.1rem;
}
.rate-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.62rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.rate-list li:last-child { border-bottom: 0; }
.rate-list .num {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.rate-card-foot {
  margin: 0;
  padding: 0.8rem 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.72rem;
  color: var(--muted);
  max-width: none;
}

/* ---------- Bands ---------- */

.band { padding-block: clamp(3.25rem, 6.5vw, 5.25rem); border-top: 1px solid var(--line); }
.band-alt { background: var(--paper-2); }
.band-dark {
  background: var(--ink);
  color: var(--on-dark);
  border-top: 1px solid var(--ink);
}
.band-dark h2 { color: var(--on-dark); }
.band-dark p { color: var(--on-dark-muted); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem 3rem;
  align-items: end;
  margin-bottom: 2.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line-dark);
}
.section-head .kicker { margin-bottom: 0.6rem; grid-column: 1 / -1; }
.section-head h2 { margin-bottom: 0; }
.section-head p { margin-bottom: 0; font-size: 0.95rem; color: var(--ink-2); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}
.split h2 { margin-bottom: 1rem; }

/* ---------- Rate table ---------- */

.table-wrap { border-top: 0; }

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.rates-table thead th {
  text-align: left;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.75rem 1rem 0.75rem 0;
  border-bottom: 1px solid var(--line-dark);
  white-space: nowrap;
}
.rates-table thead th.num { text-align: right; padding-right: 0; }
.rates-table tbody th {
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: 0;
  text-transform: none;
}
.rates-table tbody td {
  padding: 0.95rem 1rem 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.rates-table tbody td.num {
  text-align: right;
  padding-right: 0;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.rates-table tbody tr:hover { background: rgba(155, 44, 34, 0.04); }

.table-note {
  margin-top: 1.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 70ch;
}

/* ---------- Spec list ---------- */

.spec-list {
  margin: 0;
  border-top: 1px solid var(--line-dark);
}
.spec-list > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}
.spec-list dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.2rem;
}
.spec-list dd { margin: 0; font-size: 0.93rem; }

/* ---------- Requirements ---------- */

.req-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(2rem, 4vw, 3.5rem);
}
.req-list li {
  display: grid;
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1.35rem;
  border-top: 1px solid var(--line);
}
.req-list li:nth-child(-n + 2) { border-top: 2px solid var(--ink); }
.req-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand);
  line-height: 1.1;
}
.req-list h3 { margin-bottom: 0.3rem; font-size: 1.05rem; }
.req-list p { font-size: 0.9rem; color: var(--ink-2); margin: 0; max-width: 42ch; }

/* ---------- Towns ---------- */

.town-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.town-list li {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.town-list li:nth-child(odd) { padding-right: 1rem; }

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
}
.about-side h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.about-body p { color: var(--ink-2); }

.signoff {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand);
  margin: 1.75rem 0;
}

.about-facts {
  margin: 0;
  display: grid;
  gap: 0.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.about-facts > div {
  display: grid;
  grid-template-columns: 10rem minmax(0, 1fr);
  gap: 1rem;
}
.about-facts dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.18rem;
}
.about-facts dd { margin: 0; font-size: 0.9rem; }

/* ---------- Reserve ---------- */

.reserve-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.reserve-copy h2 { color: var(--on-dark); }

.contact-list {
  margin: 2.25rem 0 0;
  border-top: 1px solid rgba(244, 241, 234, 0.22);
}
.contact-list > div {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid rgba(244, 241, 234, 0.14);
}
.contact-list dt {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  padding-top: 0.25rem;
}
.contact-list dd { margin: 0; font-size: 0.93rem; color: var(--on-dark); }
.contact-list a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(244, 241, 234, 0.35); }
.contact-list a:hover { border-color: #d98b7f; color: #d98b7f; }
.contact-note { font-size: 0.78rem; color: var(--on-dark-muted); }

.reserve-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }

.field { display: grid; gap: 0.4rem; }
.field label {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: rgba(244, 241, 234, 0.06);
  border: 1px solid rgba(244, 241, 234, 0.28);
  border-radius: 2px;
  color: var(--on-dark);
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 0.68rem 0.8rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.field select { appearance: none; background-image: none; }
.field select option { color: var(--ink); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(244, 241, 234, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid #d98b7f;
  outline-offset: 1px;
  border-color: transparent;
  background: rgba(244, 241, 234, 0.1);
}
.field textarea { resize: vertical; }

.reserve-form .btn { justify-self: start; margin-top: 0.35rem; }

.form-status {
  margin: 0;
  font-size: 0.86rem;
  color: #d98b7f;
  border-left: 2px solid #d98b7f;
  padding-left: 0.75rem;
  max-width: none;
}
.form-legal {
  margin: 0;
  font-size: 0.74rem;
  color: var(--on-dark-muted);
  max-width: none;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--paper-2);
  border-top: 1px solid var(--line-dark);
  padding-top: 3rem;
  font-size: 0.88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand p { margin-top: 1rem; font-size: 0.84rem; color: var(--muted); max-width: 30ch; }

.footer-col { display: grid; align-content: start; gap: 0.45rem; }
.footer-head {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.footer-col a,
.footer-col span { color: var(--muted); text-decoration: none; font-size: 0.86rem; }
.footer-col a:hover { color: var(--brand); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------- Mobile call bar ---------- */

.mobile-bar { display: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero-grid,
  .about-grid,
  .reserve-grid,
  .split { grid-template-columns: minmax(0, 1fr); }

  .section-head { grid-template-columns: minmax(0, 1fr); gap: 0.75rem; }
  .rate-card { max-width: 30rem; }

  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .utility-hours { display: none; }
  .utility-inner { justify-content: space-between; gap: 1rem; }

  .nav-toggle { display: flex; }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line-dark);
    padding: 0.5rem 1.5rem 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
  }
  .nav-call { margin-top: 1rem; text-align: center; }

  .masthead-inner { min-height: 70px; }

  .req-list { grid-template-columns: minmax(0, 1fr); }
  .req-list li:nth-child(2) { border-top: 1px solid var(--line); }

  .form-row { grid-template-columns: minmax(0, 1fr); }

  body { padding-bottom: 3.6rem; }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    border-top: 1px solid var(--ink);
  }
  .mobile-bar a {
    text-align: center;
    padding: 0.95rem 0.5rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-bar-call { background: var(--paper); color: var(--ink); }
  .mobile-bar-reserve { background: var(--brand); color: #fff; }
}

@media (max-width: 620px) {
  .wrap { width: min(var(--wrap), 100% - 2rem); }

  .rate-list li { font-size: 0.86rem; }
  .spec-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .spec-list dt { padding-top: 0; }
  .about-facts > div { grid-template-columns: minmax(0, 1fr); gap: 0.1rem; }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
  .contact-list dt { padding-top: 0; }
  .town-list { grid-template-columns: minmax(0, 1fr); }
  .town-list li:nth-child(odd) { padding-right: 0; }

  /* Stacked table rows */
  .rates-table thead { display: none; }
  .rates-table,
  .rates-table tbody,
  .rates-table tr,
  .rates-table th,
  .rates-table td { display: block; width: 100%; }

  .rates-table tr {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }
  .rates-table tbody tr:hover { background: none; }
  .rates-table tbody th {
    padding: 0 0 0.5rem;
    border-bottom: 0;
    font-size: 1.05rem;
  }
  .rates-table tbody td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.2rem 0;
    border-bottom: 0;
    font-size: 0.86rem;
  }
  .rates-table tbody td::before {
    content: attr(data-label);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .rates-table tbody td.num {
    padding-right: 0;
    font-size: 1.05rem;
  }
  .rates-table tbody td.num::before { font-family: var(--font-body); }

  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .utility, .mobile-bar, .nav-toggle, .masthead { display: none; }
  body { background: #fff; padding: 0; }
  .band-dark { background: #fff; color: #000; }
}
