/* Heritage Hall -- heritagehalltx.com
   Clean, elegant, modern. Not rustic. */

:root {
  --ivory: #faf8f5;
  --white: #ffffff;
  --charcoal: #2b2b2b;
  --ink: #1d1d1d;
  --stone: #6e6a64;
  --gold: #56708f;
  --gold-light: #b6c6db;
  --sage: #8a9183;
  --line: #e7e2da;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.7;
  font-size: 17px;
}

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

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-size: 1.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img { height: 46px; width: auto; }

.brand .brand-sub {
  display: block;
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--gold);
  text-transform: uppercase;
}

.main-nav { display: flex; gap: 36px; align-items: center; }

.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}

.main-nav a:hover, .main-nav a[aria-current="page"] {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-cta {
  border: 1px solid var(--gold) !important;
  padding: 10px 26px !important;
  color: var(--gold) !important;
}

.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--charcoal);
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(29, 29, 29, 0.42), rgba(29, 29, 29, 0.42)),
    linear-gradient(160deg, #39404a 0%, #50596a 45%, #8696ab 100%);
  background-size: cover;
  background-position: center;
}

.hero.has-photo {
  background-image:
    linear-gradient(rgba(29, 29, 29, 0.38), rgba(29, 29, 29, 0.55)),
    var(--hero-img);
}

.hero-inner { padding: 120px 24px; max-width: 820px; }

.hero .eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.12;
  margin-bottom: 22px;
}

.hero p {
  font-size: 1.06rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  max-width: 560px;
  margin: 0 auto 38px;
  color: rgba(255, 255, 255, 0.92);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 15px 42px;
  border: 1px solid var(--gold);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  font-family: var(--sans);
}

.btn:hover { background: var(--gold); }

.btn.solid { background: var(--gold); }
.btn.solid:hover { background: var(--ink); border-color: var(--ink); }

.btn.dark { color: var(--charcoal); }
.btn.dark:hover { color: var(--white); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.18;
  color: var(--ink);
  margin-bottom: 24px;
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 12px;
}

.lead { font-size: 1.12rem; color: var(--stone); max-width: 640px; }

.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* ---------- Two column intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split .photo-frame { order: 2; }

.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  background: linear-gradient(165deg, #e9ebee, #d8dde3);
  overflow: hidden;
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(86, 112, 143, 0.4);
  pointer-events: none;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame.wide { aspect-ratio: 16 / 9; }

/* ---------- Events grid ---------- */
.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-top: 56px;
}

.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  padding: 44px 34px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(29, 29, 29, 0.07); }

.card .icon {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.card p { font-size: 0.95rem; color: var(--stone); }

/* ---------- Feature list ---------- */
.feature-list {
  list-style: none;
  margin-top: 32px;
  display: grid;
  gap: 16px;
}

.feature-list li {
  padding-left: 32px;
  position: relative;
  color: var(--stone);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 18px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.gallery-grid figure {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(165deg, #e9ebee, #d8dde3);
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-grid figure:hover img { transform: scale(1.04); }

/* ---------- Quote band ---------- */
.quote-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-style: italic;
  font-weight: 400;
  max-width: 760px;
  margin: 0 auto 18px;
  line-height: 1.4;
}

.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.cta-band p { max-width: 540px; margin: 0 auto 36px; color: var(--stone); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: start;
}

.contact-info dl { margin-top: 28px; display: grid; gap: 22px; }

.contact-info dt {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.contact-info dd { color: var(--stone); }

form .field { margin-bottom: 22px; }

label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}

input, textarea, select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.25s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
}

textarea { min-height: 140px; resize: vertical; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 72px 0 32px;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.site-footer .brand { color: var(--white); font-size: 1.25rem; margin-bottom: 16px; }

.site-footer h4 {
  font-size: 0.74rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  font-weight: 400;
}

.site-footer ul { list-style: none; display: grid; gap: 10px; }

.site-footer a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background: linear-gradient(rgba(29, 29, 29, 0.5), rgba(29, 29, 29, 0.5)),
    linear-gradient(160deg, #39404a, #5d6b80);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  padding: 110px 24px;
}

.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.page-hero .eyebrow { color: var(--gold-light); }

.page-hero.has-photo {
  background-image:
    linear-gradient(rgba(29, 29, 29, 0.5), rgba(29, 29, 29, 0.5)),
    var(--hero-img);
}

/* ---------- Pricing ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  justify-content: center;
  gap: 28px;
  margin-top: 56px;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card .btn { margin-top: auto; }

.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--gold);
}

.price-card h3 { font-size: 1.9rem; margin-bottom: 6px; }

.price-months { color: var(--stone); font-size: 0.92rem; margin-bottom: 4px; }

.price-days {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.price-tiers {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 28px;
}

.price-amount {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  color: var(--ink);
  line-height: 1.1;
}

.price-label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 6px;
}

.price-includes {
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.includes-band {
  max-width: 720px;
  margin: 72px auto 0;
  padding: 44px 40px;
  background: var(--white);
  border: 1px solid var(--line);
}

.includes-band .eyebrow { text-align: center; }

.price-note {
  max-width: 620px;
  margin: 44px auto 0;
  color: var(--stone);
  font-size: 0.95rem;
}

.price-note a { color: var(--gold); text-decoration: underline; }

/* ---------- Availability calendar ---------- */
.cal-wrap {
  max-width: 760px;
  margin: 56px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 36px;
}

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.cal-title { margin: 0; font-weight: 400; font-size: 1.7rem; }

.cal-nav {
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.cal-nav:hover:not(:disabled) { background: var(--gold); color: var(--white); border-color: var(--gold); }
.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.cal-day {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 1px solid transparent;
}

.cal-day.open { background: var(--ivory); border-color: var(--line); color: var(--charcoal); }
.cal-day.booked {
  background: #eef1f5;
  color: #9aa6b5;
  text-decoration: line-through;
  border-color: var(--line);
}
.cal-day.past { color: #c8c4bd; }
.cal-day.today { border-color: var(--gold); }

.cal-legend {
  display: flex;
  gap: 28px;
  justify-content: center;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--stone);
}

.cal-legend .dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 7px;
}

.dot-open { background: var(--ivory); border: 1px solid var(--gold); }
.dot-booked { background: #d4dbe4; }
.dot-past { background: #e6e2db; }

.cal-note { margin-top: 20px; text-align: center; font-size: 0.9rem; color: var(--stone); }

@media (max-width: 600px) {
  .cal-wrap { padding: 20px 14px; }
  .cal-legend { gap: 14px; flex-wrap: wrap; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }

  .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 44px; }

  .split .photo-frame { order: 0; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
  }

  .main-nav.open { display: flex; }

  .field-row { grid-template-columns: 1fr; }
}
