@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root {
  --background: #fbf8f2;
  --background-strong: #f2eadc;
  --foreground: #203027;
  --card: rgba(255, 255, 255, 0.94);
  --card-strong: #ffffff;
  --muted: #f1ece3;
  --muted-foreground: #57655c;
  --primary: #5f7550;
  --primary-deep: #202722;
  --primary-foreground: #fbf8f2;
  --accent: #a45d3d;
  --accent-soft: #d08f6f;
  --border: #d8ccbc;
  --border-strong: rgba(255, 255, 255, 0.18);
  --danger: #c94d4d;
  --shadow-soft: 0 20px 60px rgba(40, 32, 18, 0.08);
  --shadow-card: 0 18px 48px rgba(50, 40, 20, 0.1);
  --radius-lg: 2rem;
  --radius-md: 1.5rem;
  --radius-sm: 1rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(164, 93, 61, 0.08), transparent 32%),
    radial-gradient(circle at bottom right, rgba(95, 117, 80, 0.1), transparent 30%),
    linear-gradient(180deg, #f4eee2 0%, #fbf8f2 24%, #fbf8f2 100%);
  color: var(--foreground);
  font-family: "Source Sans 3", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 0.96;
}

p {
  margin: 0;
}

main {
  display: block;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -10rem;
  z-index: 200;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(216, 204, 188, 0.8);
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding: 1rem 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.45rem;
  border-radius: 1.35rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 10px 24px rgba(30, 26, 18, 0.08);
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 0.92;
  color: var(--primary);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(32, 48, 39, 0.76);
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.topbar-admin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 999px;
  border: 1px solid rgba(95, 117, 80, 0.18);
  background: rgba(255, 255, 255, 0.65);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar-admin:hover,
.topbar-admin:focus-visible {
  border-color: rgba(164, 93, 61, 0.35);
  color: var(--accent);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 10px 28px rgba(164, 93, 61, 0.22);
}

.button:hover,
.button:focus-visible {
  background: #965237;
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button-ghost {
  background: rgba(95, 117, 80, 0.1);
  color: var(--primary);
  box-shadow: none;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(95, 117, 80, 0.16);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(241, 236, 227, 0.5);
  border-top: 1px solid rgba(216, 204, 188, 0.76);
  border-bottom: 1px solid rgba(216, 204, 188, 0.76);
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack-lg {
  display: grid;
  gap: 1.75rem;
}

.grid-2,
.grid-3,
.split-grid,
.feature-grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.split-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 3.5rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-foreground);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.84) contrast(1.04) saturate(0.98);
}

.hero-media::before,
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-media::before {
  background:
    linear-gradient(118deg, rgba(10, 15, 13, 0.62) 0%, rgba(10, 15, 13, 0.48) 34%, rgba(10, 15, 13, 0.24) 64%, rgba(10, 15, 13, 0.2) 100%),
    linear-gradient(180deg, rgba(7, 10, 9, 0.06) 0%, rgba(7, 10, 9, 0.03) 26%, rgba(7, 10, 9, 0.24) 100%);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.38) 0%, rgba(8, 11, 10, 0.18) 48%, transparent 100%),
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.14), transparent 38%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.1), transparent 44%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: 2.5rem;
  min-height: 82vh;
  padding: 4rem 0;
}

.hero-panel,
.card,
.panel,
.admin-shell,
.admin-card,
.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(216, 204, 188, 0.82);
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  border-color: var(--border-strong);
  background: linear-gradient(160deg, rgba(12, 18, 15, 0.58), rgba(12, 18, 15, 0.36));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: 2rem;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  color: #fff;
}

.hero-copy p {
  max-width: 39rem;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-hero .hero-inner {
  min-height: 22rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-hero .hero-copy h1 {
  max-width: none;
}

.page-hero .hero-copy p {
  max-width: 42rem;
}

.page-hero-compact .hero-inner {
  min-height: 18rem;
}

.stat-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.stat-card,
.mini-card,
.contact-tile {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem;
}

.stat-card strong,
.mini-card strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.05rem;
  color: #fff;
}

.section-intro {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.section-intro.center {
  margin: 0 auto;
  text-align: center;
}

.section-intro .eyebrow {
  color: var(--accent);
}

.section-intro h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--foreground);
}

.section-intro p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.card,
.panel,
.admin-card {
  padding: 1.5rem;
}

.card-title {
  font-size: 2rem;
  color: var(--foreground);
}

.card-muted,
.muted {
  color: var(--muted-foreground);
}

.home-card-kicker {
  color: var(--accent);
}

.home-contact-actions {
  display: grid;
  justify-self: center;
  width: min(100%, 36rem);
  gap: 1.6rem;
}

.home-contact-card {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2rem);
}

.home-contact-button {
  width: 100%;
}

.image-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 25rem;
  border: 1px solid rgba(216, 204, 188, 0.86);
  background: var(--card-strong);
  box-shadow: var(--shadow-card);
}

.image-frame img,
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-frame-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2rem;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 18, 15, 0.74) 100%);
}

.feature-card,
.content-card,
.archive-card {
  overflow: hidden;
  padding: 0;
}

.card-media {
  position: relative;
  overflow: hidden;
  min-height: 17rem;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.48) 100%);
}

.card-body {
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}

.feature-link:hover,
.feature-link:focus-visible {
  color: var(--accent);
}

.badge,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(95, 117, 80, 0.12);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
}

.detail-list {
  display: grid;
  gap: 0.9rem;
}

.detail-row {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.detail-label {
  min-width: 6.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.85rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(95, 117, 80, 0.18);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
}

.timeline-dot {
  position: absolute;
  left: 0;
  top: 1.6rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  border: 4px solid var(--background);
  background: var(--accent);
  box-shadow: 0 0 0 1px rgba(164, 93, 61, 0.15);
}

.archive-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.table th,
.table td {
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0.6rem;
  vertical-align: top;
  text-align: left;
}

.admin-shell {
  margin: 1rem auto;
  padding: 1.5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-nav,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--muted);
}

.flash {
  width: min(1200px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
}

.flash-success {
  background: rgba(95, 117, 80, 0.12);
  color: var(--primary);
}

.flash-error {
  background: rgba(201, 77, 77, 0.12);
  color: var(--danger);
}

form.stack label {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: 0.95rem;
  background: #fff;
  color: inherit;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(164, 93, 61, 0.18);
}

.site-footer {
  background: var(--primary-deep);
  color: var(--primary-foreground);
}

.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta-inner,
.footer-main,
.footer-bottom {
  display: grid;
  gap: 1.25rem;
}

.footer-cta-inner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 2.5rem 0;
}

.footer-main {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.9fr);
  gap: 3rem;
  padding: 3.5rem 0;
}

.footer-bottom {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 1.4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(251, 248, 242, 0.5);
  font-size: 0.95rem;
}

.footer-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-soft);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.7rem;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
}

.footer-links,
.footer-contact,
.social-links {
  display: grid;
  gap: 0.9rem;
}

.footer-links a,
.footer-contact a {
  color: rgba(251, 248, 242, 0.74);
}

.footer-links a:hover,
.footer-contact a:hover,
.footer-links a:focus-visible,
.footer-contact a:focus-visible {
  color: #fff;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(251, 248, 242, 0.8);
}

.social-link:hover,
.social-link:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-admin {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(251, 248, 242, 0.6);
}

.footer-admin:hover,
.footer-admin:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1080px) {
  .hero-inner,
  .split-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-cta-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .topbar,
  .topbar-nav,
  .nav,
  .hero-actions,
  .admin-header {
    align-items: flex-start;
  }

  .topbar,
  .topbar-nav {
    flex-direction: column;
  }

  .topbar-nav,
  .nav {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .nav {
    gap: 0.85rem 1rem;
  }

  .hero-inner,
  .grid-2,
  .grid-3,
  .feature-grid,
  .archive-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.25rem 0;
  }

  .hero-copy,
  .card-body,
  .card,
  .panel {
    padding: 1.35rem;
  }

  .brand-copy {
    gap: 0.2rem;
  }

  .brand-title {
    font-size: 1.55rem;
  }
}

@media (max-width: 640px) {
  .brand-lockup {
    align-items: flex-start;
  }

  .brand-mark {
    width: 3rem;
    height: 3rem;
  }

  .container {
    width: min(100% - 1.25rem, 1200px);
  }

  .nav {
    gap: 0.7rem 0.9rem;
  }

  .hero-copy h1,
  .section-intro h2 {
    line-height: 1.02;
  }
}

.footer-description {
  max-width: 34rem;
  color: rgba(251, 248, 242, 0.72);
  font-size: 1.05rem;
  line-height: 1.7;
}

.social-row {
  gap: 0.9rem;
}

.social-link {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  border-radius: 1.1rem;
  border-color: rgba(255, 255, 255, 0.12);
}

.social-link svg,
.footer-contact-icon svg,
.footer-admin svg,
.admin-auth-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-contact-list {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: rgba(251, 248, 242, 0.76);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.15rem;
  color: var(--accent);
}

.footer-bottom {
  gap: 1rem 1.5rem;
}

.footer-bottom > p {
  color: rgba(251, 248, 242, 0.78);
}

.footer-bottom-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-bottom-meta p {
  color: rgba(251, 248, 242, 0.46);
}

.footer-admin {
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  color: rgba(251, 248, 242, 0.38);
}

.footer-admin:hover,
.footer-admin:focus-visible {
  color: rgba(251, 248, 242, 0.82);
}

body.admin-page {
  background:
    radial-gradient(circle at top left, rgba(164, 93, 61, 0.08), transparent 24%),
    radial-gradient(circle at bottom right, rgba(95, 117, 80, 0.08), transparent 20%),
    linear-gradient(180deg, #f1eadf 0%, #fbf8f2 26%, #fbf8f2 100%);
}

.admin-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.admin-shell {
  margin: 0 auto;
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(50, 40, 20, 0.12);
}

.admin-content,
.admin-stack {
  display: grid;
  gap: 1.5rem;
}

.admin-header {
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(216, 204, 188, 0.76);
}

.admin-header-main {
  display: grid;
  gap: 0.55rem;
}

.admin-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--foreground);
}

.admin-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.admin-nav {
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.4rem;
}

.admin-nav a {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(95, 117, 80, 0.08);
  border-radius: 999px;
  background: rgba(95, 117, 80, 0.08);
  color: rgba(32, 48, 39, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  background: rgba(164, 93, 61, 0.12);
  color: var(--accent);
}

.admin-nav a[aria-current="page"] {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.admin-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.6rem 1.75rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(216, 204, 188, 0.8);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(244, 238, 226, 0.9));
}

.admin-overview-tight {
  align-items: start;
}

.admin-overview-copy {
  display: grid;
  gap: 0.75rem;
}

.admin-overview h2,
.admin-card-heading h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--foreground);
}

.admin-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.admin-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-stat-card {
  display: grid;
  gap: 0.7rem;
}

.admin-stat-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  line-height: 0.95;
  color: var(--foreground);
}

.admin-module-grid-card,
.admin-form-card,
.admin-table-card,
.admin-auth-card {
  display: grid;
  gap: 1.5rem;
}

.admin-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.admin-module-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-module-link {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1.2rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(216, 204, 188, 0.86);
  background: rgba(241, 236, 227, 0.52);
}

.admin-module-link span {
  font-weight: 700;
  color: var(--foreground);
}

.admin-module-link small {
  color: var(--muted-foreground);
}

.admin-module-link:hover,
.admin-module-link:focus-visible {
  border-color: rgba(164, 93, 61, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(50, 40, 20, 0.08);
}

.admin-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.admin-form {
  gap: 1rem;
}

.admin-form label {
  gap: 0.55rem;
  color: var(--foreground);
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.admin-table td {
  color: rgba(32, 48, 39, 0.84);
}

.admin-table tbody tr:hover {
  background: rgba(241, 236, 227, 0.45);
}

.admin-row-actions {
  align-items: center;
}

.admin-empty-cell {
  padding: 1.3rem 0.6rem;
  color: var(--muted-foreground);
}

.button-danger {
  background: #a94545;
  box-shadow: 0 10px 28px rgba(169, 69, 69, 0.22);
}

.button-danger:hover,
.button-danger:focus-visible {
  background: #943c3c;
}

.admin-auth-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.admin-auth-shell {
  width: min(100%, 38rem);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.admin-auth-intro {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
}

.admin-auth-intro h1 {
  font-size: clamp(2.6rem, 4vw, 3.35rem);
  color: var(--primary);
}

.admin-auth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 1.5rem;
  background: rgba(95, 117, 80, 0.1);
  color: var(--primary);
}

.admin-auth-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-auth-card {
  padding: 1.8rem;
  border-radius: 1.8rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 48px rgba(50, 40, 20, 0.12);
}

@media (max-width: 1080px) {
  .admin-grid,
  .admin-stats,
  .admin-module-grid,
  .admin-overview {
    grid-template-columns: 1fr;
  }

  .admin-inline-actions,
  .footer-bottom-meta {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .admin-shell {
    padding: 1.35rem;
  }

  .admin-card-heading,
  .footer-bottom-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-list li {
    gap: 0.65rem;
  }
}

.history-page {
  min-height: 100vh;
  background: var(--background);
}

.history-hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.14), transparent 42%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.18), transparent 46%),
    rgba(241, 236, 227, 0.55);
}

.history-hero-grid,
.history-story-grid,
.history-timeline-layout,
.history-closing-grid {
  display: grid;
  gap: 3rem;
}

.history-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.history-hero-copy,
.history-story-copy {
  display: grid;
  gap: 2rem;
}

.history-fact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.history-fact-card {
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(216, 204, 188, 0.8);
  background: rgba(251, 248, 242, 0.88);
  box-shadow: 0 10px 28px rgba(50, 40, 20, 0.06);
}

.history-fact-card p:last-child {
  margin-top: 0.7rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--foreground);
}

.history-mini-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.history-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.history-outline-button {
  background: rgba(251, 248, 242, 0.8);
  border-color: rgba(216, 204, 188, 0.9);
  color: var(--foreground);
}

.history-outline-button:hover,
.history-outline-button:focus-visible {
  background: rgba(164, 93, 61, 0.12);
  border-color: rgba(164, 93, 61, 0.3);
  color: var(--accent);
}

.history-visual-card,
.history-quote-card,
.history-timeline-notes,
.history-present-card,
.history-closing-card,
.history-empty-state,
.history-extra-card {
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.history-visual-media,
.history-present-media {
  position: relative;
  min-height: 26rem;
}

.history-visual-media img,
.history-present-media img,
.history-extra-media img,
.history-timeline-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-visual-overlay,
.history-present-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 27, 24, 0.1), rgba(19, 27, 24, 0.28), rgba(19, 27, 24, 0.78));
}

.history-visual-chip,
.history-timeline-year {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.history-visual-content,
.history-present-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 0.75rem;
  padding: 2rem;
  color: #fff;
}

.history-visual-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.history-visual-content h2,
.history-closing-card h2,
.history-section-copy h2,
.history-timeline-body h3 {
  font-size: clamp(2.3rem, 4vw, 3.35rem);
  line-height: 1;
  color: var(--foreground);
}

.history-visual-content h2,
.history-visual-content p,
.history-present-content p {
  color: #fff;
}

.history-story-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.history-section-copy {
  display: grid;
  gap: 1rem;
}

.history-richtext {
  display: grid;
  gap: 1rem;
  color: var(--muted-foreground);
  font-size: 1.12rem;
  line-height: 1.72;
}

.history-quote-card {
  padding: 2rem;
  background: rgba(241, 236, 227, 0.55);
}

.history-quote-card blockquote {
  margin: 0.9rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.04;
  color: var(--foreground);
}

.history-pillars {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.history-pillar {
  display: flex;
  gap: 1rem;
  padding: 1.6rem;
  border-radius: 1.75rem;
  border: 1px solid rgba(216, 204, 188, 0.86);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(50, 40, 20, 0.06);
}

.history-pillar-wide {
  grid-column: 1 / -1;
}

.history-pillar-icon,
.history-note-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(164, 93, 61, 0.1);
  color: var(--accent);
}

.history-pillar-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  margin-top: 0.1rem;
}

.history-pillar-icon span,
.history-note-icon {
  position: relative;
}

.history-pillar-icon span::before,
.history-pillar-icon span::after,
.history-note-icon::before,
.history-note-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}

.history-pillar-icon span {
  width: 1.1rem;
  height: 1.1rem;
}

.history-pillar-icon span::before {
  inset: 0;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
}

.history-pillar-icon span::after {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.history-pillar h3 {
  font-size: 1.9rem;
  line-height: 1.02;
  color: var(--foreground);
}

.history-pillar p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.history-extra-grid {
  display: grid;
  gap: 1.5rem;
}

.history-extra-card {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
}

.history-extra-media {
  min-height: 18rem;
}

.history-extra-body {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.history-extra-body h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--foreground);
}

.history-extra-subtitle {
  font-size: 1.08rem;
  color: var(--foreground);
}

.history-timeline-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(241, 236, 227, 0.42);
  padding: 5rem 0;
}

.history-timeline-layout {
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  align-items: start;
}

.history-timeline-sidebar {
  position: sticky;
  top: 7rem;
  display: grid;
  gap: 1.5rem;
}

.history-timeline-notes {
  padding: 1.5rem;
}

.history-note-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.history-note-row + .history-note-row {
  margin-top: 1.15rem;
}

.history-note-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.95rem;
  flex: 0 0 2.5rem;
}

.history-note-icon::before {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  border: 2px solid currentColor;
  background: transparent;
}

.history-note-icon::after {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
}

.history-timeline-list {
  position: relative;
  padding-left: 2.5rem;
}

.history-timeline-list::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(216, 204, 188, 0.95);
}

.history-timeline-entry {
  position: relative;
}

.history-timeline-entry + .history-timeline-entry {
  margin-top: 2rem;
}

.history-timeline-dot {
  position: absolute;
  left: -1.9rem;
  top: 2rem;
  z-index: 2;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 4px solid rgba(241, 236, 227, 1);
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(164, 93, 61, 0.22);
}

.history-timeline-card {
  overflow: hidden;
  border-radius: 1.75rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: var(--card);
  box-shadow: 0 10px 28px rgba(50, 40, 20, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
}

.history-timeline-entry:hover .history-timeline-card,
.history-timeline-entry:focus-within .history-timeline-card {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(50, 40, 20, 0.12);
}

.history-timeline-media {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  background: rgba(95, 117, 80, 0.08);
}

.history-timeline-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26));
}

.history-timeline-media-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top left, rgba(164, 93, 61, 0.14), transparent 42%),
    radial-gradient(circle at bottom right, rgba(95, 117, 80, 0.12), transparent 44%),
    rgba(241, 236, 227, 0.82);
}

.history-logo-fallback {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(32, 48, 39, 0.14));
}

.history-timeline-body {
  display: grid;
  align-content: center;
  gap: 0.9rem;
  padding: 2rem;
}

.history-timeline-body h3 {
  font-size: clamp(2rem, 3vw, 2.9rem);
}

.history-timeline-body p:last-child {
  color: var(--muted-foreground);
  font-size: 1.08rem;
  line-height: 1.72;
}

.history-timeline-actions {
  margin-top: 0.35rem;
}

.history-timeline-link {
  width: fit-content;
}

.history-empty-state {
  padding: 2rem;
}

.history-empty-state p:last-child {
  margin-top: 0.9rem;
  color: var(--muted-foreground);
  font-size: 1.08rem;
  line-height: 1.72;
}

.history-closing-grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  align-items: center;
}

.history-closing-card {
  padding: 2rem;
}

.history-present-content p:last-child {
  max-width: 34rem;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.archive-page {
  min-height: 100vh;
}

.archive-hero .hero-panel {
  max-width: 48rem;
}

.archive-intro-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  align-items: start;
}

.archive-intro-card,
.archive-closing-card,
.archive-entry {
  border-radius: 2rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.archive-intro-card,
.archive-closing-card {
  padding: 2rem;
}

.archive-meta-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-left: 1.15rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.archive-list {
  display: grid;
  gap: 1.5rem;
}

.archive-entry {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  scroll-margin-top: 7rem;
}

.archive-entry-media {
  min-height: 20rem;
  background: rgba(95, 117, 80, 0.08);
}

.archive-entry-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-entry-body {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.archive-entry-header {
  display: grid;
  gap: 0.65rem;
}

.archive-entry-header h3,
.archive-closing-card h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.04;
  color: var(--foreground);
}

.archive-entry-meta {
  color: var(--muted-foreground);
  font-size: 0.98rem;
}

.archive-entry-summary {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--foreground);
}

.archive-entry-footer {
  display: grid;
  gap: 0.4rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(216, 204, 188, 0.72);
  color: var(--muted-foreground);
}

.wardrobe-context-list {
  display: grid;
  gap: 2.25rem;
  width: min(100%, 76rem);
  margin: 0 auto;
}

.wardrobe-context-entry {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  border-radius: 2rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.wardrobe-context-entry:nth-child(even) .wardrobe-context-media {
  order: 2;
}

.wardrobe-context-media {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(241, 236, 227, 0.58), rgba(255, 255, 255, 0.16)),
    rgba(95, 117, 80, 0.06);
}

.wardrobe-context-media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 34rem;
  border-radius: 1.35rem;
  border: 1px solid rgba(216, 204, 188, 0.78);
  background: var(--card-strong);
  box-shadow: 0 18px 42px rgba(50, 40, 20, 0.1);
}

.wardrobe-context-body {
  display: grid;
  gap: 1.3rem;
  padding: clamp(2rem, 4vw, 3rem);
}

.wardrobe-context-header {
  display: grid;
  gap: 0.75rem;
}

.wardrobe-context-header h2 {
  max-width: 13ch;
  font-size: clamp(2.2rem, 3.6vw, 3.3rem);
  line-height: 1.02;
  color: var(--foreground);
}

.wardrobe-context-subtitle {
  max-width: 34rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(216, 204, 188, 0.78);
  color: var(--foreground);
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
  font-weight: 600;
  line-height: 1.58;
}

.wardrobe-context-richtext {
  max-width: 40rem;
  font-size: 1.08rem;
  line-height: 1.78;
}

.contact-page {
  min-height: 100vh;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 204, 188, 0.72);
  background: rgba(15, 22, 19, 0.08);
}

.contact-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.contact-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(16, 22, 20, 0.7) 0%, rgba(16, 22, 20, 0.46) 44%, rgba(16, 22, 20, 0.26) 100%),
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(10, 12, 11, 0.12), rgba(10, 12, 11, 0.28));
}

.contact-hero-inner {
  position: relative;
  display: grid;
  min-height: 24rem;
  align-items: center;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.contact-hero-panel {
  width: min(100%, 54rem);
  display: grid;
  gap: 1rem;
  padding: 1.75rem 2rem;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(160deg, rgba(15, 21, 19, 0.56), rgba(15, 21, 19, 0.34));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}

.contact-hero-panel h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 5vw, 4.3rem);
  line-height: 0.98;
  color: #fff;
}

.contact-hero-subtitle,
.contact-hero-body {
  max-width: 38rem;
  font-size: 1.12rem;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.88);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 3rem;
  align-items: start;
}

.contact-editorial,
.contact-cards,
.contact-card,
.contact-note-card,
.contact-detail-copy {
  display: grid;
}

.contact-editorial,
.contact-cards {
  gap: 1.5rem;
}

.contact-intro {
  max-width: 39rem;
}

.contact-intro h2 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1.04;
  color: var(--foreground);
}

.contact-intro p:last-child,
.contact-note-card p:last-child,
.contact-social-copy {
  font-size: 1.06rem;
  line-height: 1.72;
  color: var(--muted-foreground);
}

.contact-note-card,
.contact-card {
  border-radius: 1.9rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.contact-note-card {
  gap: 1rem;
  padding: 1.75rem;
}

.contact-note-actions,
.contact-social-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-outline-button {
  color: var(--foreground);
  border-color: rgba(216, 204, 188, 0.9);
  background: rgba(241, 236, 227, 0.66);
}

.contact-outline-button:hover,
.contact-outline-button:focus-visible {
  background: rgba(164, 93, 61, 0.1);
  border-color: rgba(164, 93, 61, 0.3);
}

.contact-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  gap: 1.2rem;
  padding: 1.75rem;
  align-content: start;
}

.contact-card-heading {
  display: grid;
  gap: 0.55rem;
}

.contact-card-heading h3 {
  font-size: 1.9rem;
  line-height: 1.08;
  color: var(--foreground);
}

.contact-detail-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-detail-list li {
  display: flex;
  gap: 0.95rem;
  align-items: flex-start;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(216, 204, 188, 0.68);
}

.contact-detail-list li:first-child {
  padding-top: 0;
  border-top: none;
}

.contact-detail-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  min-width: 2.85rem;
  height: 2.85rem;
  border-radius: 999px;
  color: var(--accent);
  background: rgba(164, 93, 61, 0.1);
  border: 1px solid rgba(164, 93, 61, 0.16);
}

.contact-detail-icon svg,
.contact-social-link svg {
  width: 1.2rem;
  height: 1.2rem;
}

.contact-detail-copy {
  gap: 0.3rem;
}

.contact-detail-copy a,
.contact-detail-copy span:last-child {
  color: var(--foreground);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact-social-card {
  grid-template-rows: auto auto 1fr auto;
}

.contact-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  min-width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  color: var(--foreground);
  border: 1px solid rgba(216, 204, 188, 0.92);
  background: rgba(251, 248, 242, 0.92);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.contact-social-link:hover,
.contact-social-link:focus-visible {
  transform: translateY(-1px);
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.dance-page {
  min-height: 100vh;
  background: var(--background);
}

.dance-hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 204, 188, 0.72);
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.08), transparent 34%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.12), transparent 40%),
    rgba(241, 236, 227, 0.42);
}

.dance-hero-grid,
.dance-story-card {
  display: grid;
  gap: 2.25rem;
}

.dance-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.dance-hero-copy,
.dance-story-body,
.dance-closing-card,
.dance-richtext {
  display: grid;
}

.dance-hero-copy {
  gap: 1.5rem;
}

.dance-fact-grid,
.dance-highlight-list {
  display: grid;
  gap: 1rem;
}

.dance-fact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dance-fact-card,
.dance-highlight-card,
.dance-story-card,
.dance-closing-card {
  border-radius: 1.9rem;
  border: 1px solid rgba(216, 204, 188, 0.88);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.dance-fact-card,
.dance-highlight-card {
  padding: 1.25rem;
}

.dance-fact-card p:last-child,
.dance-highlight-card p:last-child {
  color: var(--muted-foreground);
  line-height: 1.65;
}

.dance-richtext {
  gap: 1rem;
}

.dance-richtext p {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.72;
}

.dance-hero-visual,
.dance-story-media {
  border-radius: 2rem;
  overflow: hidden;
}

.dance-hero-media,
.dance-story-media {
  position: relative;
  min-height: 24rem;
  background: rgba(95, 117, 80, 0.08);
}

.dance-story-media {
  min-height: 19rem;
}

.dance-hero-media img,
.dance-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dance-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 23, 20, 0.08), rgba(16, 23, 20, 0.72));
}

.dance-hero-chip {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(19, 27, 24, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dance-hero-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  gap: 0.7rem;
  padding: 1.75rem;
}

.dance-hero-caption p {
  color: #fff;
}

.dance-hero-caption p:last-child {
  max-width: 30rem;
  font-size: 1.02rem;
  line-height: 1.6;
}

.dance-intro-copy {
  max-width: 44rem;
}

.dance-section-stack {
  display: grid;
  gap: 1.75rem;
}

.dance-story-card {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  overflow: hidden;
}

.dance-story-card.is-reversed .dance-story-media {
  order: 2;
}

.dance-story-card.is-reversed .dance-story-body {
  order: 1;
}

.dance-story-body {
  gap: 1rem;
  padding: 2rem;
  align-content: center;
}

.dance-story-body h2,
.dance-closing-card h2 {
  font-size: clamp(2.2rem, 3.7vw, 3.15rem);
  line-height: 1.02;
  color: var(--foreground);
}

.dance-story-subtitle {
  color: var(--foreground);
  font-size: 1.08rem;
  line-height: 1.68;
}

.dance-story-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 19rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.14), transparent 40%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.14), transparent 44%),
    rgba(241, 236, 227, 0.75);
}

.dance-closing-shell {
  display: flex;
  justify-content: center;
}

.dance-closing-card {
  gap: 1rem;
  width: min(100%, 56rem);
  padding: 2rem;
}

.dance-closing-card .history-hero-actions {
  margin-top: 0.35rem;
}

.events-page {
  min-height: 100vh;
}

.events-hero-section {
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.08), transparent 36%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.12), transparent 42%),
    rgba(241, 236, 227, 0.42);
  border-bottom: 1px solid rgba(216, 204, 188, 0.72);
}

.events-hero-shell,
.events-featured-card {
  display: grid;
  gap: 1.5rem;
}

.events-hero-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: start;
}

.events-hero-copy {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.events-hero-copy h1,
.events-filters-header h2,
.events-results-header h2,
.events-featured-body h3,
.events-closing-card h2,
.events-empty-state h3 {
  font-size: clamp(2.3rem, 4vw, 3.45rem);
  line-height: 1.02;
  color: var(--foreground);
}

.events-hero-subtitle,
.events-hero-body,
.events-empty-state p:last-child {
  font-size: 1.08rem;
  line-height: 1.72;
  color: var(--muted-foreground);
}

.events-metrics,
.events-filter-grid,
.events-list {
  display: grid;
  gap: 1rem;
}

.events-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.events-metric-card,
.events-filters-card,
.events-featured-card,
.events-list-card,
.events-closing-card,
.events-empty-state {
  border-radius: 1.85rem;
  border: 1px solid rgba(216, 204, 188, 0.88);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.events-metric-card,
.events-closing-card,
.events-empty-state {
  padding: 1.5rem;
}

.events-closing-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.events-closing-card h2 {
  max-width: 16ch;
}

.events-closing-card > p:last-of-type {
  max-width: 44rem;
  margin-top: 0.15rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

.events-metric-card strong {
  display: block;
  margin-top: 0.7rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--foreground);
}

.events-metric-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.events-filters-card {
  padding: 1.5rem;
}

.events-filters-header,
.events-filter-actions,
.events-featured-actions,
.events-results-header {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.events-filters-header,
.events-filter-actions,
.events-results-header {
  align-items: center;
}

.events-filters-form {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.events-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.events-filter-pill {
  border: 1px solid rgba(216, 204, 188, 0.92);
  background: rgba(241, 236, 227, 0.52);
  color: var(--foreground);
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.events-filter-pill:hover,
.events-filter-pill:focus-visible,
.events-filter-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.events-filter-grid {
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr));
}

.events-field {
  display: grid;
  gap: 0.45rem;
}

.events-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.events-field input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(216, 204, 188, 0.92);
  background: rgba(251, 248, 242, 0.94);
  color: var(--foreground);
  padding: 0.9rem 1rem;
  font: inherit;
}

.events-filter-summary {
  color: var(--muted-foreground);
}

.events-featured-card {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  overflow: hidden;
  box-shadow: 0 22px 54px rgba(37, 31, 24, 0.09);
}

.events-featured-media,
.events-list-media {
  position: relative;
  background: rgba(95, 117, 80, 0.08);
}

.events-featured-media {
  min-height: 22.5rem;
}

.events-featured-media img,
.events-list-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-featured-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 24rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--foreground);
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.14), transparent 40%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.14), transparent 44%),
    rgba(241, 236, 227, 0.75);
}

.events-status-badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(19, 27, 24, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.events-featured-body,
.events-list-body {
  display: grid;
  gap: 1rem;
  padding: 2rem;
}

.events-featured-body {
  gap: 0.9rem;
  padding: 1.9rem;
}

.events-featured-body h3 {
  font-size: clamp(2.45rem, 3.8vw, 3.35rem);
  line-height: 0.98;
}

.events-featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: var(--muted-foreground);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.events-featured-description,
.events-list-description {
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.72;
}

.events-list {
  margin-top: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.events-list-card {
  overflow: hidden;
}

.events-list-media {
  min-height: 13rem;
}

.events-list-heading {
  display: grid;
  gap: 0.55rem;
}

.events-list-heading h3 {
  font-size: 2rem;
  line-height: 1.05;
  color: var(--foreground);
}

.events-list-date {
  font-weight: 700;
  color: var(--accent);
}

.events-list-meta {
  color: var(--muted-foreground);
}

.events-closing-card,
.events-empty-state {
  max-width: 52rem;
}

.events-empty-state {
  display: grid;
  gap: 1rem;
}

.music-hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 204, 188, 0.72);
  background:
    linear-gradient(90deg, rgba(251, 248, 242, 0.98) 0%, rgba(251, 248, 242, 0.94) 48%, rgba(241, 236, 227, 0.78) 100%);
  padding: clamp(2.1rem, 4vw, 3.6rem) 0 clamp(2rem, 3.5vw, 3.2rem);
}

.music-hero-section .container {
  width: min(1200px, calc(100vw - 2rem));
}

.music-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(20rem, 0.92fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.5rem);
}

.music-hero-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 38rem;
}

.music-hero-copy .eyebrow {
  color: var(--accent);
  letter-spacing: 0.22em;
}

.music-hero-copy h1 {
  color: var(--foreground);
  font-size: clamp(3.2rem, 6.6vw, 4.85rem);
  letter-spacing: 0;
  line-height: 0.92;
}

.music-hero-copy > p {
  max-width: 35rem;
  color: var(--muted-foreground);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
  line-height: 1.62;
}

.music-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.55rem;
}

.music-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(164, 93, 61, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--foreground);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.72rem 0.95rem;
}

.music-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 204, 188, 0.9);
  border-radius: 0.5rem;
  box-shadow: 0 22px 52px rgba(50, 40, 20, 0.14);
  background: var(--muted);
  justify-self: center;
}

.music-hero-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(13, 18, 15, 0.32) 100%);
  pointer-events: none;
}

.music-hero-visual img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 38rem;
  display: block;
}

.music-hero-section + .section {
  padding-top: clamp(3rem, 5vw, 4rem);
}

.gallery-hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(216, 204, 188, 0.72);
  background: linear-gradient(180deg, rgba(251, 248, 242, 0.98) 0%, rgba(246, 241, 232, 0.92) 100%);
  padding: clamp(2.5rem, 5vw, 4.6rem) 0 clamp(2.2rem, 4.5vw, 4.2rem);
}

.gallery-hero-section .container {
  width: min(1200px, calc(100vw - 2rem));
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(20rem, 0.86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5.25rem);
}

.gallery-hero-copy {
  display: grid;
  gap: 1.15rem;
  max-width: 37rem;
}

.gallery-hero-copy .eyebrow {
  color: var(--accent);
  letter-spacing: 0.22em;
}

.gallery-hero-copy h1 {
  color: var(--foreground);
  font-size: clamp(3.25rem, 7vw, 5rem);
  letter-spacing: 0;
  line-height: 0.92;
}

.gallery-hero-copy > p {
  max-width: 34rem;
  color: var(--muted-foreground);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
}

.gallery-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-top: 0.6rem;
}

.gallery-hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(216, 204, 188, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--foreground);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.72rem 0.95rem;
}

.gallery-hero-visual {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(216, 204, 188, 0.9);
  border-radius: 0.5rem;
  box-shadow: 0 22px 52px rgba(50, 40, 20, 0.14);
  aspect-ratio: 16 / 9;
  background: var(--muted);
}

.gallery-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.gallery-page {
  position: relative;
}

.gallery-shell-section {
  position: relative;
}

.gallery-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(21rem, 0.98fr);
  gap: 1.75rem;
  align-items: start;
}

.gallery-intro {
  padding: 1.1rem 0 0.75rem;
}

.gallery-intro h2,
.gallery-filters-header h2,
.gallery-results-header h2,
.gallery-card-body h3,
.gallery-empty-state h3 {
  color: var(--foreground);
}

.gallery-intro h2,
.gallery-filters-header h2,
.gallery-results-header h2,
.gallery-empty-state h3 {
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.02;
}

.gallery-intro p:last-child,
.gallery-filter-summary,
.gallery-filter-note,
.gallery-card-description,
.gallery-empty-state p:last-child {
  color: var(--muted-foreground);
  line-height: 1.72;
}

.gallery-filters-card,
.gallery-card,
.gallery-empty-state {
  border-radius: 1.85rem;
  border: 1px solid rgba(216, 204, 188, 0.88);
  background: var(--card);
  box-shadow: var(--shadow-card);
}

.gallery-filters-card,
.gallery-card-body,
.gallery-empty-state {
  padding: 1.5rem;
}

.gallery-filters-card {
  display: grid;
  gap: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(252, 249, 244, 0.96) 100%);
}

.gallery-filters-header,
.gallery-filter-actions,
.gallery-results-header,
.gallery-card-actions {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.gallery-filters-header,
.gallery-filter-actions,
.gallery-results-header {
  align-items: center;
}

.gallery-filters-form {
  display: grid;
  gap: 1.15rem;
}

.gallery-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.gallery-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(216, 204, 188, 0.92);
  background: rgba(241, 236, 227, 0.56);
  color: var(--foreground);
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.gallery-filter-pill strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  min-height: 1.85rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: rgba(32, 48, 39, 0.08);
  font-size: 0.82rem;
}

.gallery-filter-pill:hover,
.gallery-filter-pill:focus-visible,
.gallery-filter-pill.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
  transform: translateY(-1px);
}

.gallery-filter-pill:hover strong,
.gallery-filter-pill:focus-visible strong,
.gallery-filter-pill.is-active strong {
  background: rgba(255, 255, 255, 0.14);
}

.gallery-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.8fr));
  gap: 1rem;
}

.gallery-field {
  display: grid;
  gap: 0.45rem;
}

.gallery-field span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.gallery-field input {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(216, 204, 188, 0.92);
  background: rgba(251, 248, 242, 0.94);
  color: var(--foreground);
  padding: 0.9rem 1rem;
}

.gallery-field input:focus-visible {
  outline: 2px solid rgba(95, 117, 80, 0.22);
  outline-offset: 2px;
  border-color: rgba(95, 117, 80, 0.45);
}

.gallery-field-search input {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 248, 242, 0.94) 100%);
}

.gallery-filter-summary {
  font-weight: 600;
}

.gallery-filter-note {
  max-width: 28rem;
  font-size: 0.98rem;
}

.gallery-results-header {
  margin-top: 0.2rem;
}

.gallery-results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  overflow: hidden;
}

.gallery-card-media {
  position: relative;
  min-height: 17rem;
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(83, 107, 79, 0.14), transparent 42%),
    rgba(241, 236, 227, 0.62);
}

.gallery-card-media.is-video::after {
  content: "Vídeo";
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  padding: 0.52rem 0.8rem;
  border-radius: 999px;
  background: rgba(19, 27, 24, 0.76);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 17rem;
  padding: 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  color: var(--foreground);
  text-align: center;
}

.gallery-card-badges {
  position: absolute;
  left: 1.15rem;
  top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.gallery-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.78rem;
  border-radius: 999px;
  background: rgba(19, 27, 24, 0.76);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.gallery-card-badge.is-muted {
  background: rgba(251, 248, 242, 0.88);
  color: var(--foreground);
}

.gallery-card-body {
  display: grid;
  gap: 1rem;
}

.gallery-card-body h3 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1;
}

.gallery-card-description {
  font-size: 1.04rem;
}

.gallery-card-actions {
  margin-top: 0.2rem;
}

.gallery-empty-state {
  display: grid;
  gap: 1rem;
  max-width: 52rem;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
}

.gallery-lightbox[hidden] {
  display: none;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 17, 15, 0.54);
  backdrop-filter: blur(18px) saturate(0.8);
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: min(100%, 100rem);
  height: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.gallery-lightbox-panel {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.9rem;
  min-height: 0;
  max-height: calc(100vh - 4rem);
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(14, 20, 18, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.gallery-lightbox-panel.is-video {
  grid-template-rows: auto auto;
  justify-self: center;
  width: min(100%, 68rem);
}

.gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1.35rem 1.35rem 2.35rem;
  background:
    radial-gradient(circle at top left, rgba(164, 93, 61, 0.18), transparent 26%),
    radial-gradient(circle at bottom right, rgba(95, 117, 80, 0.18), transparent 30%),
    rgba(8, 12, 10, 0.9);
}

.gallery-lightbox-panel.is-video .gallery-lightbox-stage {
  padding: 1rem 1rem 1.25rem;
}

.gallery-lightbox-image,
.gallery-lightbox-video-frame iframe {
  width: 100%;
  height: 100%;
}

.gallery-lightbox-image {
  max-width: 100%;
  max-height: calc(100vh - 12rem);
  object-fit: contain;
}

.gallery-lightbox-video-frame {
  width: min(100%, 92rem);
  aspect-ratio: 16 / 9;
  margin: auto;
}

.gallery-lightbox-panel.is-video .gallery-lightbox-video-frame {
  width: 100%;
  max-width: 100%;
}

.gallery-lightbox-video-frame iframe {
  border: 0;
}

.gallery-lightbox-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 26rem;
  padding: 2rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 4rem);
  color: rgba(255, 255, 255, 0.92);
}

.gallery-lightbox-caption {
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2.6rem 1.5rem 1.8rem;
  background: rgba(4, 7, 6, 0.96);
}

.gallery-lightbox-panel.is-video .gallery-lightbox-caption {
  padding: 1.45rem 1.5rem 1.55rem;
}

.gallery-lightbox-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.gallery-lightbox-caption h3 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: #fff;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: #fff;
  transition: transform 160ms ease, background 160ms ease, opacity 160ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:hover,
.gallery-lightbox-nav:focus-visible {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
}

.gallery-lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 2;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(15, 22, 19, 0.72);
  font-size: 1.8rem;
  line-height: 1;
}

.gallery-lightbox-nav {
  width: 3.5rem;
  height: 7rem;
  border-radius: 999px;
  background: rgba(15, 22, 19, 0.56);
}

.gallery-lightbox-nav span {
  font-size: 2.8rem;
  line-height: 1;
}

.gallery-lightbox-nav[hidden] {
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 1080px) {
  .history-hero-grid,
  .history-story-grid,
  .history-timeline-layout,
  .history-closing-grid,
  .history-extra-card,
  .archive-intro-grid,
  .archive-entry,
  .contact-layout,
  .events-hero-shell,
  .events-featured-card,
  .music-hero-grid,
  .gallery-hero-grid,
  .gallery-shell,
  .dance-hero-grid,
  .dance-story-card {
    grid-template-columns: 1fr;
  }

  .history-fact-grid,
  .history-pillars,
  .history-timeline-card,
  .events-metrics,
  .events-filter-grid,
  .events-list,
  .gallery-filter-grid,
  .gallery-results-grid,
  .contact-cards,
  .dance-fact-grid {
    grid-template-columns: 1fr;
  }

  .history-timeline-sidebar {
    position: static;
  }

  .dance-story-card.is-reversed .dance-story-media,
  .dance-story-card.is-reversed .dance-story-body {
    order: initial;
  }
}

@media (max-width: 860px) {
  .history-hero-grid {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .history-fact-grid {
    grid-template-columns: 1fr;
  }

  .history-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .events-filters-header,
  .events-filter-actions,
  .events-featured-actions,
  .events-results-header,
  .gallery-filters-header,
  .gallery-filter-actions,
  .gallery-results-header,
  .gallery-card-actions,
  .contact-note-actions,
  .contact-social-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-lightbox-dialog {
    grid-template-columns: 1fr;
    justify-items: stretch;
    padding: 1rem;
  }

  .gallery-lightbox-panel {
    max-height: calc(100vh - 2rem);
  }

  .gallery-lightbox-nav {
    position: absolute;
    top: calc(50% - 2rem);
    z-index: 2;
    width: 3rem;
    height: 4rem;
  }

  .gallery-lightbox-nav.is-prev {
    left: 1rem;
  }

  .gallery-lightbox-nav.is-next {
    right: 1rem;
  }

  .history-visual-media,
  .history-present-media {
    min-height: 22rem;
  }

  .history-timeline-list {
    padding-left: 1.5rem;
  }

  .history-timeline-list::before {
    left: 0.45rem;
  }

  .history-timeline-dot {
    left: -1.15rem;
  }

  .history-timeline-body,
  .history-closing-card,
  .history-quote-card,
  .history-extra-body,
  .archive-entry-body,
  .archive-intro-card,
  .archive-closing-card,
  .wardrobe-context-body,
  .events-featured-body,
  .events-list-body,
  .events-filters-card,
  .events-closing-card,
  .events-empty-state,
  .gallery-filters-card,
  .gallery-card-body,
  .gallery-empty-state,
  .contact-card,
  .contact-note-card,
  .dance-story-body,
  .dance-closing-card {
    padding: 1.5rem;
  }

  .events-list {
    margin-top: 1.35rem;
  }

  .events-closing-card {
    gap: 0.85rem;
  }

  .gallery-card-media,
  .gallery-card-fallback {
    min-height: 14.5rem;
  }

  .music-hero-section {
    padding-top: 2rem;
  }

  .music-hero-section .container {
    width: calc(100% - 1.5rem);
    margin-left: auto;
    margin-right: auto;
  }

  .music-hero-grid {
    gap: 1.5rem;
  }

  .music-hero-copy {
    max-width: none;
  }

  .music-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 13vw, 3.35rem);
    line-height: 0.98;
  }

  .music-hero-copy > p {
    max-width: 21rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .music-hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
  }

  .music-hero-meta span {
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.64rem 0.48rem;
    text-align: center;
  }

  .wardrobe-context-list {
    gap: 1.35rem;
  }

  .wardrobe-context-entry {
    display: block;
    border-radius: 1.5rem;
  }

  .wardrobe-context-entry:nth-child(even) .wardrobe-context-media {
    order: initial;
  }

  .wardrobe-context-media {
    padding: 0.75rem 0.75rem 0;
  }

  .wardrobe-context-media img {
    max-height: 24rem;
    border-radius: 1rem;
  }

  .wardrobe-context-header {
    justify-items: start;
    text-align: left;
  }

  .wardrobe-context-header h2 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .wardrobe-context-subtitle {
    max-width: 100%;
  }


  .gallery-hero-section {
    padding-top: 2rem;
  }

  .gallery-hero-section .container {
    width: calc(100% - 1.5rem);
    margin-left: auto;
    margin-right: auto;
  }

  .gallery-hero-grid {
    gap: 1.5rem;
  }

  .gallery-hero-copy {
    max-width: none;
  }

  .gallery-hero-copy h1 {
    font-size: clamp(3rem, 18vw, 4.1rem);
  }

  .gallery-hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    width: 100%;
    max-width: 100%;
  }

  .gallery-hero-meta span {
    justify-content: center;
    min-height: 2.1rem;
    padding: 0.64rem 0.48rem;
    text-align: center;
  }

  .gallery-hero-meta span:last-child {
    grid-column: 1 / -1;
  }

  .gallery-hero-visual {
    aspect-ratio: 4 / 3;
  }

  .gallery-lightbox-caption {
    padding: 2rem 1rem 1.35rem;
  }

  .gallery-lightbox-stage {
    padding: 1rem;
  }

  .gallery-lightbox-meta {
    gap: 0.6rem;
    letter-spacing: 0.12em;
  }

  .gallery-lightbox-close {
    top: 0.85rem;
    right: 0.85rem;
  }

  .dance-hero-grid {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .dance-hero-media,
  .dance-story-media,
  .dance-story-fallback {
    min-height: 21rem;
  }

  .contact-hero-inner {
    min-height: 20rem;
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .contact-hero-panel {
    padding: 1.5rem;
  }
}

.admin-page-sections-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: start;
}

.admin-page-section-form {
  gap: 1.15rem;
}

.admin-form-card {
  align-content: start;
}

.admin-field-grid {
  gap: 1rem;
}

.admin-inline-heading {
  align-items: center;
}

.admin-subtitle {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--foreground);
}

.admin-field-help {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-foreground);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-form-note {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(216, 204, 188, 0.78);
  background: rgba(241, 236, 227, 0.35);
}

.admin-form-note-title {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--foreground);
}

.admin-form-note p:last-child {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.admin-page-sections-list {
  display: grid;
  gap: 1.5rem;
}

.admin-culture-manager {
  display: grid;
  gap: 1.2rem;
}

.admin-culture-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.admin-culture-card {
  display: grid;
  gap: 1rem;
  align-content: space-between;
  min-height: 15rem;
  padding: 1.15rem;
  border: 1px solid rgba(216, 204, 188, 0.78);
  border-radius: 1.25rem;
  background: rgba(251, 248, 242, 0.72);
}

.admin-culture-card .admin-section-group-kicker {
  color: var(--accent);
}

.admin-culture-card h3 {
  margin-top: 0.25rem;
  font-size: 2rem;
  line-height: 0.98;
}

.admin-culture-card p:not(.admin-section-group-kicker) {
  margin-top: 0.55rem;
  color: var(--muted-foreground);
}

.admin-culture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.admin-guided-highlights,
.admin-image-field {
  display: grid;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(216, 204, 188, 0.78);
  background: rgba(255, 255, 255, 0.72);
}

.page-section-highlight-list {
  display: grid;
  gap: 1rem;
}

.page-section-highlight-item {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(216, 204, 188, 0.72);
  background: rgba(241, 236, 227, 0.35);
}

.admin-image-preview {
  display: grid;
  gap: 0.75rem;
}

.admin-image-preview-frame {
  overflow: hidden;
  border-radius: 1.1rem;
  border: 1px solid rgba(216, 204, 188, 0.72);
  background: rgba(241, 236, 227, 0.42);
  min-height: 13rem;
}

.page-section-image-preview {
  display: block;
  width: 100%;
  height: 13rem;
  object-fit: cover;
}

.page-section-image-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 13rem;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.page-section-image-caption {
  word-break: break-all;
  color: var(--muted-foreground);
  font-size: 0.86rem;
  line-height: 1.5;
}

.admin-inline-picker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.admin-picker-nav {
  min-height: 2.85rem;
  padding-inline: 1rem;
  white-space: nowrap;
}

.admin-image-field-wide {
  grid-column: 1 / -1;
}

.admin-section-group {
  display: grid;
  gap: 1rem;
}

.admin-section-group-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.4rem;
  border: 1px solid rgba(95, 117, 80, 0.78);
  background: #5f7550;
  color: #fbf8f2;
  box-shadow: 0 12px 28px rgba(32, 48, 39, 0.14);
}

.admin-section-group-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(251, 248, 242, 0.76);
}

.admin-section-group-header h3 {
  margin-top: 0.25rem;
  font-size: 1.75rem;
  line-height: 1;
  color: #fff;
}

.admin-section-group-header > p {
  color: rgba(251, 248, 242, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-section-accordion {
  display: grid;
  gap: 1rem;
}

.admin-section-empty {
  display: grid;
  gap: 0.85rem;
  padding: 1.35rem;
  border: 1px dashed rgba(164, 93, 61, 0.42);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.68);
}

.admin-section-item {
  overflow: hidden;
  border-radius: 1.6rem;
  border: 1px solid rgba(216, 204, 188, 0.86);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(50, 40, 20, 0.08);
}

.admin-section-item[open] {
  box-shadow: 0 18px 42px rgba(50, 40, 20, 0.12);
}

.admin-section-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.4rem;
  cursor: pointer;
  list-style: none;
}

.admin-section-summary::-webkit-details-marker {
  display: none;
}

.admin-section-summary-main {
  display: grid;
  gap: 0.8rem;
  flex: 1 1 auto;
  min-width: 0;
}

.admin-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--foreground);
}

.admin-section-meta,
.admin-section-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.admin-section-meta span {
  padding: 0.65rem 0.85rem;
  border-radius: 0.95rem;
  background: rgba(241, 236, 227, 0.58);
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.admin-section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(95, 117, 80, 0.08);
  color: var(--primary);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.admin-section-badge-accent {
  background: rgba(164, 93, 61, 0.12);
  color: var(--accent);
}

.admin-section-chevron {
  position: relative;
  width: 1rem;
  height: 1rem;
  margin-top: 0.35rem;
  flex: 0 0 auto;
}

.admin-section-chevron::before,
.admin-section-chevron::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  width: 0.58rem;
  height: 2px;
  background: var(--foreground);
  transition: transform 180ms ease;
}

.admin-section-chevron::before {
  left: 0;
  transform: rotate(45deg);
}

.admin-section-chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

.admin-section-item[open] .admin-section-chevron::before {
  transform: rotate(-45deg);
}

.admin-section-item[open] .admin-section-chevron::after {
  transform: rotate(45deg);
}

.admin-section-content {
  display: grid;
  gap: 1rem;
  padding: 0 1.4rem 1.35rem;
  border-top: 1px solid rgba(216, 204, 188, 0.68);
}

.admin-inline-edit-form {
  gap: 1rem;
  padding-top: 0.25rem;
 }

.admin-section-preview {
  display: grid;
  gap: 0.65rem;
  padding-top: 1rem;
}

.admin-section-preview-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--foreground);
}

.page-section-preview-dialog {
  width: min(42rem, calc(100% - 2rem));
  border: 0;
  padding: 0;
  border-radius: 1.6rem;
  background: transparent;
}

.page-section-preview-dialog::backdrop {
  background: rgba(18, 22, 20, 0.5);
  backdrop-filter: blur(4px);
}

.page-section-preview-shell {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1.6rem;
  border: 1px solid rgba(216, 204, 188, 0.86);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 60px rgba(32, 48, 39, 0.18);
}

.page-section-preview-canvas {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  padding: 1.35rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top left, rgba(168, 97, 60, 0.08), transparent 36%),
    rgba(241, 236, 227, 0.38);
  border: 1px solid rgba(216, 204, 188, 0.72);
  overflow: hidden;
}

.page-section-preview-media {
  min-height: 18rem;
  background: linear-gradient(155deg, rgba(95, 117, 80, 0.18), rgba(95, 117, 80, 0.06));
  border-radius: 1rem;
  overflow: hidden;
}

.page-section-preview-media-frame {
  width: 100%;
  height: 100%;
}

.page-section-preview-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.page-section-preview-media-empty {
  min-height: 18rem;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  color: var(--muted-foreground);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.page-section-preview-copy {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.page-section-preview-button {
  background: rgba(95, 117, 80, 0.14);
  border: 1px solid rgba(95, 117, 80, 0.3);
  color: var(--primary);
  box-shadow: none;
}

.page-section-preview-button:hover,
.page-section-preview-button:focus-visible {
  background: rgba(95, 117, 80, 0.22);
  border-color: rgba(95, 117, 80, 0.4);
  color: var(--primary);
}

.page-section-preview-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.page-section-preview-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: var(--foreground);
}

.page-section-preview-subtitle,
.page-section-preview-body {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.page-section-preview-body {
  display: grid;
  gap: 0.75rem;
}

.page-section-preview-highlights {
  display: grid;
  gap: 0.9rem;
}

.page-section-preview-highlight {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(216, 204, 188, 0.72);
  background: rgba(255, 255, 255, 0.74);
}

.page-section-preview-highlight strong {
  display: block;
  color: var(--foreground);
  margin-bottom: 0.35rem;
}

.page-section-preview-highlight p {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.page-section-preview-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.page-section-preview-cta,
.page-section-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.2rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.page-section-preview-cta {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  background: var(--accent);
  color: #fff;
}

.page-section-preview-link {
  background: rgba(95, 117, 80, 0.1);
  color: var(--primary);
}

@media (max-width: 1080px) {
  .admin-culture-grid {
    grid-template-columns: 1fr;
  }

  .admin-page-sections-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .admin-section-group-header,
  .admin-section-summary,
  .admin-section-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .admin-section-group-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .admin-section-summary {
    flex-direction: column;
  }

  .page-section-preview-shell {
    padding: 1rem;
  }

  .page-section-preview-canvas {
    grid-template-columns: 1fr;
  }

  .page-section-preview-copy {
    padding: 1.1rem 0 0;
  }

  .admin-inline-picker {
    grid-template-columns: 1fr;
  }
}

/* ADMIN BLOCK EDITOR MODAL */
.admin-editor-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: none;
  width: 95vw;
  height: 95vh;
  margin: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.4);
}

.admin-editor-dialog::backdrop {
  background: rgba(10, 15, 13, 0.75);
  backdrop-filter: blur(8px);
}

.admin-editor-layout {
  display: grid;
  grid-template-columns: minmax(400px, 450px) 1fr;
  height: 100%;
  background: var(--background);
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.admin-editor-panel {
  padding: 2rem;
  overflow-y: auto;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.admin-editor-preview-panel {
  padding: 3rem;
  overflow-y: auto;
  background: var(--background);
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.admin-editor-preview-panel > .page-section-preview-canvas {
  width: 100%;
  max-width: 900px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  margin: auto;
}

.admin-editor-sticky-actions {
  position: sticky;
  bottom: -2rem;
  background: #fff;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: auto;
  z-index: 10;
}

@media (max-width: 960px) {
  .admin-editor-layout {
    grid-template-columns: 1fr;
  }
}
