/* LodgeWare marketing site
   Palette matches the live Ashlar Lodge site: navy #1a2744, gold #b8973a, cream #f4f1e8.
   Canonical host lives in index.html and can be switched to lodgeware.com later. */

:root {
  --navy: #1a2744;
  --navy-deep: #10182b;
  --navy-mid: #243456;
  --gold: #b8973a;
  --gold-bright: #d4b45a;
  --gold-dim: #8e7328;
  --cream: #f4f1e8;
  --cream-dim: #e6e0d1;
  --ink: #1c1917;
  --ink-soft: #4a453c;
  --line: rgba(184, 151, 58, 0.35);
  --shadow: 0 18px 40px rgba(16, 24, 43, 0.18);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", sans-serif;
  --radius: 14px;
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.75rem);
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream);
  background: var(--navy-deep);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-bright); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #f0d98a; }
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--cream);
  margin: 0 0 0.7em;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; margin-bottom: 0.45em; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--navy-deep);
  padding: 0.4rem 0.8rem;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { top: 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(16, 24, 43, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  min-height: var(--header-h);
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--gold-bright); }
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  box-shadow: 0 0 0 1px rgba(184, 151, 58, 0.45);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-button {
  display: none;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  color: var(--cream);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-button-bars,
.nav-button-bars::before,
.nav-button-bars::after {
  display: block;
  width: 1.25rem;
  height: 2px;
  background: var(--gold);
  position: relative;
  transition: transform 0.2s ease;
}
.nav-button-bars::before,
.nav-button-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-button-bars::before { top: -6px; }
.nav-button-bars::after { top: 6px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--cream-dim);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--gold-bright); }
.nav-cta {
  background: var(--gold);
  color: var(--navy-deep) !important;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  text-decoration: none !important;
}
.nav-cta:hover { background: var(--gold-bright); color: var(--navy-deep) !important; }

.hero, .section { padding: 4.5rem 1.25rem; }
.hero {
  background:
    radial-gradient(ellipse at top, rgba(184, 151, 58, 0.12), transparent 55%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner, .section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.hero-inner { max-width: 800px; }
.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.lead, .section-lead, .byline, .self-host, .price-note {
  color: var(--cream-dim);
}
.lead { font-size: 1.2rem; margin: 0 0 1.6rem; }
.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.6rem;
}
.byline {
  margin: 0;
  font-size: 0.98rem;
  max-width: 42rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.2;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep) !important;
}
.btn-gold:hover { background: var(--gold-bright); color: var(--navy-deep) !important; }
.btn-ghost {
  background: transparent;
  color: var(--cream) !important;
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-bright) !important; }
button.btn { appearance: none; }

.features { background: var(--navy-deep); }
.section-lead { max-width: 40rem; margin-bottom: 2.2rem; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--navy);
  border: 1px solid rgba(184, 151, 58, 0.22);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem 1.2rem;
}
.feature-card p { margin: 0; color: var(--cream-dim); }

.sisec {
  background:
    linear-gradient(180deg, rgba(184, 151, 58, 0.08), transparent 40%),
    var(--navy);
  border-block: 1px solid var(--line);
}
.sisec-inner { max-width: 720px; }
.sisec p { color: var(--cream-dim); font-size: 1.12rem; }
.sisec-points {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.7rem;
}
.sisec-points li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--cream);
  font-weight: 600;
}
.sisec-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

.pricing { background: var(--navy-deep); }
.price-card {
  margin-top: 1.5rem;
  background: linear-gradient(180deg, var(--navy-mid), var(--navy));
  border: 1px solid var(--gold-dim);
  border-radius: 18px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  max-width: 36rem;
}
.price { display: flex; align-items: baseline; gap: 0.75rem; margin: 0 0 0.8rem; flex-wrap: wrap; }
.price-amount {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 4.2rem);
  color: var(--gold-bright);
  line-height: 0.9;
}
.price-period { color: var(--cream-dim); font-weight: 600; }
.price-includes {
  margin: 1.2rem 0 1.6rem;
  padding: 0;
  list-style: none;
}
.price-includes li {
  padding: 0.45rem 0 0.45rem 1.3rem;
  position: relative;
  border-top: 1px solid rgba(184, 151, 58, 0.16);
}
.price-includes li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--gold);
}
.self-host { max-width: 40rem; margin-top: 1.6rem; }

.example { background: var(--navy); border-top: 1px solid var(--line); }
.example-card {
  margin-top: 1.5rem;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background:
    linear-gradient(120deg, rgba(16, 24, 43, 0.15), rgba(16, 24, 43, 0.55)),
    radial-gradient(circle at 90% 10%, rgba(184, 151, 58, 0.2), transparent 40%),
    var(--navy-mid);
  border: 1px solid var(--line);
  max-width: 36rem;
}
.example-copy p { color: var(--cream-dim); margin-top: 0; }

.contact { background: var(--cream); color: var(--ink); }
.contact h2, .contact .eyebrow { color: var(--navy); }
.contact .section-lead, .contact .form-aside { color: var(--ink-soft); }
.contact a { color: var(--gold-dim); }
.contact a:hover { color: var(--navy); }
.contact-inner { max-width: 760px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
  margin-top: 0.5rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy);
}
.field input,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc6b0;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
.form-actions { grid-column: 1 / -1; margin: 0.3rem 0 0; }
.form-aside { margin: 0; font-size: 0.92rem; max-width: 24rem; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.thanks-inner { max-width: 36rem; padding-top: 2rem; color: var(--cream-dim); }
.thanks-inner h1 { color: var(--cream); }

.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 1.6rem 1.25rem 2rem;
  color: var(--cream-dim);
  font-size: 0.95rem;
}
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-brand, .footer-copy { margin: 0.15rem 0; }

@media (max-width: 760px) {
  .nav-button { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line);
    padding: 0.4rem 0 1rem;
  }
  .site-nav a { padding: 0.7rem 1.25rem; }
  .nav-cta { margin: 0.4rem 1.25rem 0; text-align: center; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .feature-grid, .contact-form { grid-template-columns: 1fr; }
  .hero, .section { padding: 3.2rem 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
