/* ==========================================================================
   Reisinger Hall — shared styles
   To re-theme the whole site (e.g. to match a template), edit the tokens
   in :root below. Every page reads its colors and fonts from here.
   ========================================================================== */

:root {
  /* Palette — taken from the Reisinger Hall phoenix mark and the collection
     catalog (ember red -> flame orange -> amber gold on warm cream). */
  --ivory: #faf3e9;          /* page background (catalog "paper") */
  --linen: #f3e6d4;          /* alternate section background */
  --paper: #fffdf9;          /* cards, form fields */
  --ink: #3a2418;            /* headings (catalog "ink") */
  --night: #2a180f;          /* dark sections, footer */
  --text: #4e3426;           /* body copy */
  --muted: #85654f;          /* captions, secondary text */
  --accent: #c1531a;         /* eyebrows, rules, ornaments (catalog "brass") */
  --accent-soft: #fcb54a;    /* accent on dark backgrounds (amber) */
  --primary: #a33a12;        /* buttons, links (catalog "brass-dark") */
  --primary-dark: #82290b;
  --line: #e8d9c5;           /* borders (catalog "hairline") */
  --flame: linear-gradient(90deg, #ea1112 0%, #fb6a00 55%, #fca000 100%);

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 3px;
  --section: clamp(72px, 10vw, 128px);
}

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

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(44px, 7vw, 88px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.6vw, 56px); font-weight: 400; }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
h4 { font-size: 21px; }
p { margin: 0 0 1.1em; }
em.script { font-style: italic; color: var(--accent); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 720px; }
.center { text-align: center; margin-inline: auto; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--text); }

/* Ornamental divider */
.ornament {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: var(--accent); margin: 22px auto 28px;
}
.ornament::before, .ornament::after {
  content: ""; height: 1px; width: 64px; background: currentColor; opacity: .6;
}
.ornament svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn-primary { background: var(--primary); color: var(--ivory); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn-light { border-color: rgba(250,243,233,.7); color: var(--ivory); background: transparent; }
.btn-light:hover { background: var(--ivory); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row, .btn-row.center { justify-content: center; }

.text-link {
  font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; color: var(--primary);
  border-bottom: 1px solid var(--accent); padding-bottom: 4px;
}
.text-link:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.topbar {
  position: relative; background: var(--night); color: var(--accent-soft);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--ivory); }
.topbar a[href^="mailto:"] { text-transform: none; letter-spacing: .06em; font-size: 13px; }
.topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flame); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,243,233,.97);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { height: 60px; width: auto; flex: none; }
.brand-name {
  font-family: var(--font-display); font-size: 27px; font-weight: 500; line-height: 1;
  letter-spacing: .04em;
}
.brand-sub {
  display: block; font-family: var(--font-body); font-size: 10px; font-weight: 400;
  letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 5px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  white-space: nowrap; font-size: 13px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 6px 0; position: relative;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--accent); transform: scaleX(0); transition: transform .3s;
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { padding: 12px 22px; white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 1120px) {
  .topbar .hide-sm { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 86vw);
    flex-direction: column; align-items: flex-start; gap: 28px;
    padding: 110px 36px 40px; background: var(--ivory);
    border-left: 1px solid var(--line);
    transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility 0s linear .35s;
    box-shadow: -20px 0 60px rgba(42,24,15,.12);
  }
  .nav ul { flex-direction: column; gap: 20px; }
  .nav a:not(.btn) { font-size: 15px; }
  body.nav-open .nav { transform: none; visibility: visible; transition: transform .35s ease; }
  body.nav-open .nav-toggle { position: relative; z-index: 60; }
}
@media (max-width: 600px) {
  .topbar .wrap { justify-content: center; }
  .topbar .wrap > span:first-child { display: none; }
}

/* --------------------------------------------------------------------------
   Image placeholders
   Swap each .ph for an <img> (or set a background-image) once photos exist.
   -------------------------------------------------------------------------- */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,253,249,.55), transparent 60%),
    linear-gradient(160deg, #e2b98f 0%, #b0673a 55%, #5e2f19 100%);
  min-height: 280px;
  display: flex; align-items: flex-end;
  color: rgba(255,253,249,.9);
}
.ph::before {
  /* fine diamond lattice texture */
  content: ""; position: absolute; inset: 0; opacity: .14;
  background-image:
    linear-gradient(45deg, #fff 1px, transparent 1px),
    linear-gradient(-45deg, #fff 1px, transparent 1px);
  background-size: 26px 26px;
}
.ph::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255,253,249,.35);
  pointer-events: none;
}
.ph-label {
  position: relative; z-index: 1; margin: 0 26px 24px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.ph-label::before { content: "Photo · "; opacity: .7; }
.ph.dusk { background: radial-gradient(110% 80% at 80% 0%, rgba(252,160,0,.38), transparent 60%), linear-gradient(170deg, #4a2414 0%, #7a2410 50%, #1f110a 100%); }
.ph.sage { background: radial-gradient(120% 90% at 30% 0%, rgba(255,253,249,.4), transparent 60%), linear-gradient(160deg, #c9c3a6 0%, #8d8664 55%, #4f4a33 100%); }
.ph.stone { background: radial-gradient(120% 90% at 70% 10%, rgba(255,253,249,.5), transparent 60%), linear-gradient(160deg, #e6d8c4 0%, #b39a7e 55%, #6e5642 100%); }
.ph.tall { min-height: 520px; }
.ph.square { aspect-ratio: 1; min-height: 0; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: grid; place-items: center; text-align: center;
  color: var(--ivory); isolation: isolate;
}
.hero .ph { position: absolute; inset: 0; z-index: -2; min-height: 0; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(42,24,15,.35) 0%, rgba(42,24,15,.55) 100%);
}
.hero h1, .hero p { color: var(--ivory); }
/* Full-bleed background photo for hero / page-hero / cta-band sections */
.hero > img.bg, .page-hero > img.bg, .cta-band > img.bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
}
.hero h1, .page-hero h1 { text-shadow: 0 2px 24px rgba(42,24,15,.35); }
/* Real photos are busier than the placeholders: deepen the scrim behind the text */
.hero:has(> img.bg)::after, .page-hero:has(> img.bg)::after {
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(42,24,15,.55), transparent 100%),
    linear-gradient(180deg, rgba(42,24,15,.45) 0%, rgba(42,24,15,.55) 60%, rgba(42,24,15,.7) 100%);
}
.hero:has(> img.bg) p.lede, .page-hero:has(> img.bg) p { text-shadow: 0 1px 12px rgba(42,24,15,.6); }
.hero .eyebrow { color: var(--accent-soft); }
.hero-inner { padding: 120px 0; max-width: 860px; }
.hero p.lede { max-width: 620px; margin: 0 auto 36px; color: rgba(250,243,233,.88); }
.hero .ornament, .hero em.script { color: var(--accent-soft); }

.page-hero {
  position: relative; text-align: center; color: var(--ivory); isolation: isolate;
  padding: clamp(110px, 16vw, 190px) 0 clamp(80px, 11vw, 130px);
}
.page-hero .ph { position: absolute; inset: 0; z-index: -2; min-height: 0; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(42,24,15,.5); }
.page-hero h1 { color: var(--ivory); font-size: clamp(42px, 6vw, 76px); }
.page-hero .eyebrow { color: var(--accent-soft); }
.page-hero p { color: rgba(250,243,233,.88); max-width: 600px; margin-inline: auto; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: var(--section) 0; }
.section.alt { background: var(--linen); }
.section.dark { background: var(--night); color: rgba(250,243,233,.82); }
.section.dark h2, .section.dark h3 { color: var(--ivory); }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center;
}
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-4, .grid-2 { grid-template-columns: 1fr; } }

/* Offer cards */
.card { background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.card .ph { min-height: 240px; }
.card-body { padding: 30px 30px 34px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--text); flex: 1; }
.card-num {
  font-family: var(--font-display); font-style: italic; color: var(--accent); font-size: 20px;
  margin-bottom: 8px;
}

/* Feature list with gold ticks */
.ticks { list-style: none; padding: 0; margin: 0 0 28px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .72em; width: 14px; height: 1px; background: var(--accent);
}

/* Steps */
.steps { counter-reset: step; }
.step { text-align: center; padding: 0 12px; }
.step::before {
  counter-increment: step; content: counter(step, upper-roman);
  display: grid; place-items: center; margin: 0 auto 22px;
  width: 64px; height: 64px; border: 1px solid var(--accent); border-radius: 50%;
  font-family: var(--font-display); font-size: 24px; color: var(--accent);
}
.section.dark .step p { color: rgba(250,243,233,.75); }

/* Quote */
.quote { text-align: center; max-width: 860px; margin: 0 auto; }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.3; color: var(--ink);
}
.quote cite {
  display: block; margin-top: 26px; font-style: normal; font-size: 12px;
  letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 5vw, 60px); color: var(--ink); line-height: 1;
}
.stat span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery .ph { min-height: 0; }
.gallery .wide { grid-column: span 2; }
.gallery .tall { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

/* Spaces table */
.spec { width: 100%; border-collapse: collapse; margin: 8px 0 28px; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec th { font-weight: 400; color: var(--muted); width: 45%; letter-spacing: .04em; }
.spec td { color: var(--ink); }

/* Packages */
.package { background: var(--paper); border: 1px solid var(--line); padding: 44px 36px; text-align: center; display: flex; flex-direction: column; }
.package.featured { border-color: var(--accent); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--accent-soft); }
.package .price { font-family: var(--font-display); font-size: 22px; font-style: italic; color: var(--accent); margin-bottom: 24px; }
.package .ticks { text-align: left; flex: 1; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-family: var(--font-display); font-size: 23px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-weight: 300; font-size: 26px; color: var(--accent);
  transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-right: 40px; color: var(--text); }

/* Team */
.person { text-align: center; }
.person .ph { margin-bottom: 22px; }
.person h4 { margin-bottom: 4px; }
.person span { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; text-align: center; color: var(--ivory); padding: clamp(90px, 12vw, 150px) 0; }
.cta-band .ph { position: absolute; inset: 0; z-index: -2; min-height: 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(42,24,15,.55); }
.cta-band h2 { color: var(--ivory); }
.cta-band p { color: rgba(250,243,233,.88); max-width: 560px; margin: 0 auto 34px; }
.cta-band .eyebrow { color: var(--accent-soft); }

/* --------------------------------------------------------------------------
   Contact form
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: var(--paper); border: 1px solid var(--line); padding: clamp(28px, 4vw, 48px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field label {
  font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(193,83,26,.18);
}
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none; text-align: center; padding: 40px 10px;
}
.form.sent form { display: none; }
.form.sent .form-success { display: block; }

.info-block { margin-bottom: 36px; }
.info-block h4 { margin-bottom: 8px; }
.info-block p { margin: 0; }
.info-block a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--accent-soft); }
.map { min-height: 300px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--night); color: rgba(250,243,233,.7); padding: 90px 0 36px; font-size: 15px; }
.site-footer .brand { color: var(--ivory); margin-bottom: 20px; }
.site-footer .brand-sub { color: rgba(250,243,233,.5); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 {
  font-family: var(--font-body); font-size: 12px; font-weight: 500; letter-spacing: .24em;
  text-transform: uppercase; color: var(--accent-soft); margin: 0 0 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(250,243,233,.75); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.footer-base {
  margin-top: 70px; padding-top: 26px; border-top: 1px solid rgba(250,243,233,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px;
}

/* Reveal-on-scroll (progressive: content is visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--ivory); padding: 10px 16px; }

/* Footer logo sits on a cream medallion so the red wordmark stays legible on the dark ground */
.site-footer .brand img { background: var(--ivory); padding: 8px 10px; border-radius: 4px; height: 76px; }

/* Flame rule — thin brand gradient used sparingly under headings */
.flame-rule { width: 72px; height: 2px; background: var(--flame); border: 0; margin: 0 0 28px; }
.center .flame-rule, .section-head .flame-rule { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Real photos
   -------------------------------------------------------------------------- */
.photo { overflow: hidden; background: var(--linen); }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo { aspect-ratio: 4 / 5; }
.photo.wide { aspect-ratio: 3 / 2; }
.photo.tall { aspect-ratio: 3 / 4; }
.card .photo { aspect-ratio: 3 / 2; }

/* Gallery: simple columns + lightbox */
.masonry { columns: 3 260px; column-gap: 14px; }
.masonry .tile { display: block; margin: 0 0 14px; break-inside: avoid; overflow: hidden; background: var(--linen); }
.masonry .tile img { width: 100%; height: auto; display: block; transition: transform .5s ease; }
.masonry .tile:hover img { transform: scale(1.03); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center;
  flex-direction: column; gap: 14px; padding: 24px; background: rgba(42,24,15,.94);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 110px); object-fit: contain; }
.lightbox p { margin: 0; color: rgba(250,243,233,.85); font-size: 14px; text-align: center; max-width: 640px; }
.lightbox button {
  position: absolute; background: none; border: 0; color: var(--ivory); font-size: 38px; line-height: 1;
  cursor: pointer; padding: 12px 18px; opacity: .85;
}
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 8px; right: 12px; }
.lightbox .lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
