/* Constantine at Rocky Hill — venue site
   Ivory, charcoal, forest, and champagne gold.
   Edit colors below; the venue name lives in index.html (VENUE_CONFIG). */

:root {
  --ivory: #f7f3eb;
  --ivory-deep: #efe8d8;
  --cream: #f4efe4;
  --paper: #fbf8f2;
  --charcoal: #1a1814;
  --ink: #2c2924;
  --muted: #5c574d;
  --forest: #1c3329;
  --forest-deep: #12231c;
  --gold: #c4a36a;
  --gold-bright: #d4b67a;
  --gold-dim: #a68954;
  --gold-line: rgba(196, 163, 106, 0.55);
  --white: #fffcf7;
  --danger: #8a3b2b;
  --header-h: 5.25rem;
  --wrap: 72rem;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", Calibri, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
iframe { border: 0; }
a { color: inherit; }
address { font-style: normal; }

h1, h2, h3, .wordmark-primary, .footer-primary, .footer-wordmark, .capacity-figure {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}

h1 { margin: 0; font-size: clamp(3rem, 7.2vw, 6.25rem); line-height: 1.05; font-weight: 400; }
h2 { margin: 0 0 0.35em; font-size: clamp(2.25rem, 4.2vw, 3.65rem); line-height: 1.15; }
h3 { margin: 0 0 0.6em; font-size: 1.65rem; font-weight: 500; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -4rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--charcoal);
  color: var(--ivory);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* Eyebrows, rules, buttons
   -------------------------------------------------- */
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-dim);
}
.eyebrow.light { color: var(--gold-bright); }

.gold-rule {
  display: block;
  width: 3.25rem;
  height: 1px;
  margin: 1.5rem auto 1.75rem;
  background: var(--gold);
}
.gold-rule.left { margin-left: 0; margin-right: 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--gold);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  color: var(--ivory);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--charcoal);
  outline: none;
}
.btn-gold { color: var(--ivory); border-color: var(--gold); }
.btn-solid {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}
.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--charcoal);
}

.text-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--forest);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.2rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.text-link:hover { color: var(--gold-dim); border-color: var(--gold-dim); }

.contact-line { white-space: nowrap; }

.placeholder {
  display: inline;
  color: var(--gold-dim);
  font-style: italic;
  font-family: var(--font-serif);
  font-weight: 500;
}

/* Header
   -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), color 0.4s var(--ease);
  color: var(--ivory);
}
.site-header.is-scrolled {
  background: rgba(247, 243, 235, 0.94);
  color: var(--charcoal);
  box-shadow: 0 1px 0 var(--gold-line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(100% - 3rem, var(--wrap));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.wordmark-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.05;
  min-width: 0;
}
.monogram {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--font-serif);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.wordmark-primary {
  font-size: 1.12rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: inherit;
  white-space: nowrap;
}
.wordmark-secondary {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: inherit;
  white-space: nowrap;
  margin-top: 0.12rem;
  opacity: 0.92;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  position: relative;
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -0.35rem;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }

.nav-cta {
  padding: 0.6rem 1rem;
  border: 1px solid var(--gold);
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}
.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: var(--charcoal);
  outline: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
  color: inherit;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Hero
   -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end center;
  color: var(--ivory);
  overflow: hidden;
}
.hero-media,
.hero-overlay { position: absolute; inset: 0; }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero-overlay {
  background:
    linear-gradient(180deg, rgba(18, 16, 12, 0.38) 0%, rgba(18, 16, 12, 0.18) 35%, rgba(18, 16, 12, 0.45) 70%, rgba(18, 16, 12, 0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 3rem, var(--wrap));
  padding: 0 0 8.5rem;
  text-align: center;
}
.hero-content h1 { color: var(--white); }
.hero-line { display: block; }
.hero-line.italic { font-style: italic; font-weight: 400; }
.hero-content .gold-rule { margin-left: auto; margin-right: auto; background: var(--gold-bright); }
.hero-lead {
  max-width: 38rem;
  margin: 0 auto 2.25rem;
  font-size: 1.08rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(247, 243, 235, 0.88);
}
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(247, 243, 235, 0.8);
}
.hero-scroll span {
  display: block;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--gold);
}

/* Sections
   -------------------------------------------------- */
.section { padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.section-header { text-align: center; max-width: 40rem; margin: 0 auto 3.75rem; }
.section-intro { color: var(--muted); }
.section-intro.gallery-note,
.section-intro.sample-flag { font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.about-figure img {
  width: 100%;
  height: min(78vh, 40rem);
  object-fit: cover;
}
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--charcoal); font-weight: 500; }

/* Events
   -------------------------------------------------- */
.events { background: var(--paper); }
.event-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.event-card {
  padding: 2rem 1.6rem 2.15rem;
  border: 1px solid var(--gold-line);
  background: var(--ivory);
}
.event-index {
  display: block;
  margin-bottom: 1.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold);
}
.event-card p { color: var(--muted); font-size: 0.98rem; }

/* Gallery
   -------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 14rem;
  gap: 0.75rem;
}
.gallery-item { margin: 0; overflow: hidden; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item.span-2 { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }
@media (min-width: 981px) {
  .gallery-item.span-rest { grid-column: span 3; }
}

/* Experience
   -------------------------------------------------- */
.experience {
  background: var(--forest-deep);
  color: var(--ivory);
}
.experience h2,
.experience .amenity-label { color: var(--ivory); }
.experience p { color: rgba(247, 243, 235, 0.82); }
.experience strong { color: var(--gold-bright); font-weight: 500; }
.experience-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem 4rem;
  align-items: start;
}
.capacity-panel {
  border: 1px solid var(--gold-line);
  padding: 2.5rem 2rem;
  text-align: center;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.capacity-kicker {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
}
.capacity-figure {
  margin: 0.35rem 0 0.15rem;
  font-size: clamp(5.5rem, 10vw, 7.5rem);
  line-height: 0.9;
  color: var(--ivory);
  font-weight: 300;
}
.capacity-caption {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-bright);
}
.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--gold-line);
}
.amenity-list li {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.5rem 1.25rem 1.5rem 0;
  border-bottom: 1px solid var(--gold-line);
  border-right: 1px solid var(--gold-line);
}
.amenity-list li:nth-child(3n) { border-right: 0; padding-right: 0; }
.amenity-list li:nth-child(3n+1) { padding-left: 0; }
.amenity-label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.amenity-list .placeholder { color: var(--gold-bright); }

/* Testimonials
   -------------------------------------------------- */
.testimonials { background: var(--paper); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
blockquote {
  margin: 0;
  padding: 2rem 1.75rem;
  border-top: 1px solid var(--gold);
  background: var(--ivory);
}
blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--charcoal);
}
blockquote footer {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
blockquote cite { font-style: italic; text-transform: none; letter-spacing: 0; color: var(--gold-dim); }

/* Location
   -------------------------------------------------- */
.location-split { align-items: stretch; }
.location-copy address {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  line-height: 1.4;
  margin: 0 0 1.35rem;
  color: var(--charcoal);
}
.location-copy p { color: var(--muted); }
.map-frame {
  position: relative;
  min-height: 26rem;
  border: 1px solid var(--gold-line);
  overflow: hidden;
  background: var(--ivory-deep);
}
.map-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: #f1ebe0;
  z-index: 0;
}
.map-address {
  margin: 0 0 1.25rem;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.35;
  color: var(--charcoal);
}
.map-frame iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 26rem;
  background: transparent;
  filter: grayscale(0.35) contrast(0.95) saturate(0.85);
}
.map-frame iframe.is-ready {
  background: var(--ivory-deep);
}

/* Inquire
   -------------------------------------------------- */
.inquire { background: var(--cream); }
.inquire-wrap { max-width: 48rem; }
.inquire-form { display: grid; gap: 1.4rem; }
.inquire-form > label { grid-column: 1 / -1; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.inquire-form label { display: flex; flex-direction: column; gap: 0.45rem; }
.inquire-form label span {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.inquire-form label span em {
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--font-serif);
  font-size: 0.95em;
}
.inquire-form input,
.inquire-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  background: transparent;
  padding: 0.65rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--charcoal);
  border-radius: 0;
  appearance: none;
}
.inquire-form input:focus,
.inquire-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.inquire-form textarea {
  resize: vertical;
  min-height: 8rem;
  border: 1px solid var(--gold-line);
  padding: 0.85rem 0.95rem;
  background: rgba(255, 252, 247, 0.55);
}
.inquire-form input[type="date"] {
  color: var(--muted);
  min-height: 2.6rem;
}
.inquire-form input[type="date"]:focus,
.inquire-form input[type="date"]:valid {
  color: var(--charcoal);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.form-aside { margin: 0; font-size: 0.9rem; color: var(--muted); font-family: var(--font-serif); font-style: italic; }
.form-status {
  margin: 0.25rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--gold-line);
  font-size: 0.98rem;
  color: var(--forest);
}
.form-status.is-error { color: var(--danger); }

/* Footer
   -------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: rgba(247, 243, 235, 0.78);
  padding: 4rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(196, 163, 106, 0.28);
}
.footer-wordmark {
  margin: 0 0 0.35rem;
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.footer-primary {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer-secondary {
  margin: 0.2rem 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--ivory);
}
.footer-tag {
  margin: 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-bright);
}
.site-footer p { margin: 0 0 0.25rem; }
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.55);
}
.footer-base a { color: var(--gold-bright); text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }
.site-footer .placeholder { color: var(--gold-bright); }

/* Reveal
   -------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(1.15rem);
  animation: none;
}
.reveal.is-visible {
  animation: fade-up 0.9s var(--ease) forwards;
}
@keyframes fade-up {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .reveal.is-visible { animation: none; }
  .gallery-item img { transition: none; }
}

/* Responsive
   -------------------------------------------------- */
@media (max-width: 980px) {
  .event-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 16rem;
  }
  .gallery-item.span-2 { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }
  .experience-layout { grid-template-columns: 1fr; }
  .amenity-list { grid-template-columns: 1fr 1fr; }
  .amenity-list li { padding: 1.35rem 1rem 1.35rem 0; }
  .amenity-list li:nth-child(3n) { border-right: 1px solid var(--gold-line); padding-right: 1rem; }
  .amenity-list li:nth-child(even) { border-right: 0; padding-right: 0; }
  .quote-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .about-figure img { height: 28rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  :root { --header-h: 4.35rem; }
  .wrap, .header-inner, .hero-content { width: min(100% - 1.75rem, var(--wrap)); }
  .nav-toggle { display: block; z-index: 60; }
  .site-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    background: var(--forest-deep);
    color: var(--ivory);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; }
  .site-nav a { font-size: 0.9rem; }
  .wordmark-primary { letter-spacing: 0.14em; font-size: 0.95rem; }
  .wordmark-secondary { font-size: 0.7rem; }
  .hero-content { padding-bottom: 6.5rem; text-align: left; }
  .hero-content .gold-rule { margin-left: 0; }
  .hero-lead { margin-left: 0; }
  .hero-scroll { left: 1.75rem; transform: none; }
  .event-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 18rem; }
  .gallery-item.span-2,
  .gallery-item.tall { grid-column: auto; grid-row: auto; }
  .amenity-list { grid-template-columns: 1fr; }
  .amenity-list li,
  .amenity-list li:nth-child(3n),
  .amenity-list li:nth-child(even) {
    border-right: 0;
    padding-right: 0;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-spacer { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-figure img { height: 22rem; }
}

@media (min-width: 761px) and (max-width: 880px) {
  .site-nav { gap: 1rem; }
  .wordmark-primary { font-size: 1rem; letter-spacing: 0.14em; }
}
