:root {
  --ink: #17201d;
  --muted: #64716d;
  --line: #d9dfdc;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #2f6f62;
  --accent-dark: #214e46;
  --gold: #b98934;
  --soft: #eef4f1;
  --danger: #a4443f;
  --shadow: 0 18px 45px rgba(23, 32, 29, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(251, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: white;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a,
.button,
.call-button,
.admin-sidebar button,
.icon-button {
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: var(--muted);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--ink);
  background: var(--soft);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a::after {
  content: "v";
  margin-left: 7px;
  font-size: 11px;
  color: var(--muted);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 180px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown-menu a {
  display: flex;
  width: 100%;
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.call-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  color: white;
  background: var(--accent);
  font-weight: 850;
}

.call-button:hover {
  background: var(--accent-dark);
}

.admin-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 540px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.hero-media {
  min-height: 420px;
  background:
    linear-gradient(90deg, rgba(23, 32, 29, 0.18), rgba(23, 32, 29, 0.02)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1500&q=80");
  background-size: cover;
  background-position: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 76px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin-bottom: 14px;
}

h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy p:not(.eyebrow) {
  font-size: 18px;
  max-width: 620px;
}

.page-hero {
  width: min(1180px, calc(100% - 36px));
  min-height: 430px;
  margin: 22px auto 0;
  display: flex;
  align-items: end;
  padding: clamp(32px, 6vw, 76px) clamp(18px, 4vw, 56px);
  color: white;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.page-hero > div {
  max-width: 850px;
}

.page-hero h1,
.page-hero p {
  color: white;
}

.page-hero p:not(.eyebrow) {
  max-width: 680px;
  font-size: 18px;
}

.services-hero {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 29, 0.78), rgba(23, 32, 29, 0.18)),
    url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=1500&q=80");
}

.about-hero {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 29, 0.76), rgba(23, 32, 29, 0.16)),
    url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1500&q=80");
}

.gallery-hero {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 29, 0.76), rgba(23, 32, 29, 0.16)),
    url("https://images.unsplash.com/photo-1519671282429-b44660ead0a7?auto=format&fit=crop&w=1500&q=80");
}

.halls-hero {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 29, 0.76), rgba(23, 32, 29, 0.16)),
    url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1500&q=80");
}

.rentals-hero {
  background-image:
    linear-gradient(90deg, rgba(23, 32, 29, 0.76), rgba(23, 32, 29, 0.16)),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85?auto=format&fit=crop&w=1500&q=80");
}

.hero-actions,
.row-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  font-weight: 750;
}

.button.primary {
  color: white;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line);
}

.band,
.page-shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 56px);
}

.feature-band,
.cta-band,
.process-band,
.gallery-band {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(18px, 4vw, 56px);
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  background: #eef4f1;
  border-radius: 8px;
}

.feature-band.reverse {
  grid-template-columns: minmax(320px, 1.05fr) minmax(0, 0.95fr);
  background: #fbfaf7;
  border: 1px solid var(--line);
}

.feature-photo,
.gallery-photo {
  min-height: 420px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.event-photo {
  background-image: url("https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1300&q=80");
}

.menu-photo {
  background-image: url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1300&q=80");
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--ink);
  border-radius: 8px;
  margin-bottom: 28px;
}

.cta-band h2,
.cta-band p {
  color: white;
}

.cta-band h2 {
  margin-bottom: 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 24px;
}

.service-grid,
.stats-grid,
.record-grid,
.calendar-grid,
.menu-grid,
.split-view,
.menu-showcase,
.story-grid,
.hall-grid,
.contact-layout,
.gallery-grid,
.venue-directory,
.rental-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-grid article,
.menu-showcase article,
.hall-grid article,
.rental-grid article,
.trust-list article,
.contact-card,
.venue-card,
.stat,
.record,
.calendar-day,
.form-panel,
.table-wrap,
.builder-panel,
.document-preview {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(23, 32, 29, 0.06);
}

.service-grid article,
.menu-showcase article,
.hall-grid article,
.rental-grid article,
.trust-list article,
.contact-card,
.venue-card,
.stat,
.record,
.calendar-day,
.builder-panel {
  padding: 18px;
}

.service-grid.large {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--accent-dark);
  font-weight: 850;
}

.menu-showcase.detailed {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hall-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.venue-directory {
  grid-template-columns: 1fr;
}

.venue-card.featured {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.venue-card.featured > div:last-child {
  padding: 24px;
}

.venue-photo {
  min-height: 310px;
  background-size: cover;
  background-position: center;
}

.anshei-photo {
  background-image:
    linear-gradient(180deg, rgba(23, 32, 29, 0.04), rgba(23, 32, 29, 0.28)),
    url("https://images.unsplash.com/photo-1519167758481-83f550bb49b3?auto=format&fit=crop&w=1000&q=80");
}

.albany-photo {
  background-image:
    linear-gradient(180deg, rgba(23, 32, 29, 0.04), rgba(23, 32, 29, 0.28)),
    url("https://images.unsplash.com/photo-1527529482837-4698179dc6ce?auto=format&fit=crop&w=1000&q=80");
}

.venue-card dl {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.venue-card dl div {
  padding: 12px;
  background: var(--soft);
  border-radius: 8px;
}

.venue-card dt {
  color: var(--ink);
  font-weight: 850;
}

.venue-card dd {
  margin: 4px 0 0;
  color: var(--muted);
}

.rental-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-layout {
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
}

.contact-card {
  padding: 24px;
}

.contact-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

.success-note {
  margin: 0;
  padding: 12px 14px;
  color: var(--accent-dark);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-tile {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}

.gallery-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23, 32, 29, 0.02), rgba(23, 32, 29, 0.56));
}

.gallery-tile figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: white;
  font-weight: 850;
}

.gallery-a {
  background-image: url("https://images.unsplash.com/photo-1527529482837-4698179dc6ce?auto=format&fit=crop&w=1000&q=80");
}

.gallery-b {
  background-image: url("https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1000&q=80");
}

.gallery-c {
  background-image: url("https://images.unsplash.com/photo-1551218808-94e220e084d2?auto=format&fit=crop&w=1000&q=80");
}

.gallery-d {
  background-image: url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=1000&q=80");
}

.gallery-e {
  background-image: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1000&q=80");
}

.gallery-f {
  background-image: url("https://images.unsplash.com/photo-1478146896981-b80fe463b330?auto=format&fit=crop&w=1000&q=80");
}

.menu-showcase ul {
  padding-left: 18px;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-band {
  background: #f2f5f3;
  border-radius: 8px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-list strong,
.trust-list strong {
  display: block;
  margin-bottom: 8px;
}

.process-list span,
.trust-list span {
  color: var(--muted);
  line-height: 1.55;
}

.story-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.trust-list {
  display: grid;
  gap: 14px;
}

.gallery-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 16px;
  background: #eef4f1;
  border-radius: 8px;
}

.gallery-photo {
  min-height: 360px;
}

.photo-one {
  background-image: url("https://images.unsplash.com/photo-1527529482837-4698179dc6ce?auto=format&fit=crop&w=1100&q=80");
}

.photo-two {
  background-image: url("https://images.unsplash.com/photo-1543352634-a1c51d9f1fa7?auto=format&fit=crop&w=1100&q=80");
}

.photo-three {
  background-image: url("https://images.unsplash.com/photo-1478146896981-b80fe463b330?auto=format&fit=crop&w=1100&q=80");
}

.halls-photo {
  background-image: url("https://images.unsplash.com/photo-1511795409834-ef04bbd61622?auto=format&fit=crop&w=1300&q=80");
}

.rentals-photo {
  background-image: url("https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=1300&q=80");
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto;
  gap: clamp(24px, 5vw, 72px);
  margin-top: 28px;
  padding: 36px clamp(18px, 4vw, 56px);
  color: white;
  background: #17201d;
}

.site-footer p,
.site-footer small {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer h3 {
  color: white;
}

.site-footer a:not(.brand) {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-brand {
  margin-bottom: 16px;
}

.admin-route .site-footer {
  display: none;
}

.form-panel {
  max-width: 1040px;
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.admin-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: calc(100vh - 72px);
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: #f2f5f3;
  border-right: 1px solid var(--line);
}

.admin-sidebar button {
  min-height: 42px;
  padding: 10px 12px;
  text-align: left;
  color: var(--muted);
  background: transparent;
}

.admin-sidebar button.active,
.admin-sidebar button:hover {
  color: var(--ink);
  background: white;
  border-color: var(--line);
}

.admin-main {
  padding: clamp(18px, 3vw, 36px);
  overflow-x: auto;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.admin-head h1 {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 8px;
}

.stat strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat span,
.meta,
.status {
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

tr:last-child td {
  border-bottom: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  color: var(--accent-dark);
  background: var(--soft);
  font-size: 12px;
  font-weight: 800;
}

.record-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.record h3 {
  margin-bottom: 6px;
}

.record ul {
  padding-left: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.builder-panel {
  margin-bottom: 16px;
}

.builder-panel form {
  display: grid;
  gap: 14px;
}

.menu-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.split-view {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  align-items: start;
}

.compact-label {
  margin: 14px 0;
  font-size: 13px;
}

.document-preview {
  position: sticky;
  top: 92px;
  padding: 24px;
}

.doc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.doc-top h2 {
  margin: 0;
}

.doc-section {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.doc-section ul {
  margin-bottom: 0;
}

.doc-totals {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  margin: 18px 0;
  padding: 16px;
  background: var(--soft);
  border-radius: 8px;
}

.doc-totals strong {
  text-align: right;
}

.calendar-grid {
  grid-template-columns: repeat(7, minmax(130px, 1fr));
}

.calendar-day {
  min-height: 132px;
  box-shadow: none;
}

.calendar-day strong {
  display: block;
  margin-bottom: 8px;
}

.calendar-event {
  margin-top: 8px;
  padding: 8px;
  border-left: 3px solid var(--accent);
  background: var(--soft);
  border-radius: 6px;
  font-size: 12px;
}

.empty {
  padding: 24px;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .hero,
  .admin-layout,
  .feature-band,
  .feature-band.reverse,
  .story-grid,
  .gallery-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    min-height: 340px;
  }

  .admin-sidebar {
    position: sticky;
    top: 72px;
    z-index: 10;
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .nav-dropdown {
    position: static;
  }

  .dropdown-menu {
    position: static;
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    margin-top: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .dropdown-menu a {
    width: auto;
  }

  .service-grid,
  .service-grid.large,
  .stats-grid,
  .record-grid,
  .form-grid,
  .menu-grid,
  .menu-showcase,
  .menu-showcase.detailed,
  .hall-grid,
  .contact-layout,
  .gallery-grid,
  .venue-directory,
  .venue-card.featured,
  .rental-grid,
  .process-list,
  .split-view {
    grid-template-columns: 1fr;
  }

  .document-preview {
    position: static;
  }

  .feature-photo,
  .gallery-photo {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 auto;
    text-align: center;
  }

  .hero-copy {
    padding: 28px 18px;
  }

  .page-hero {
    min-height: 460px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media print {
  body {
    background: white;
  }

  .topbar,
  .admin-sidebar,
  .table-wrap,
  .admin-head,
  .no-print {
    display: none !important;
  }

  .admin-layout,
  .split-view {
    display: block;
  }

  .admin-main {
    padding: 0;
  }

  .document-preview {
    position: static;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
}
