:root {
  scroll-behavior: smooth;
  --font-body: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-display: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
}

img {
  max-width: 100%;
}

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

.container {
  width: min(calc(100% - 2rem), 1180px);
  margin: 0 auto;
}

.row {
  --grid-gap: 1.5rem;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--grid-gap);
}

.row > * {
  min-width: 0;
  grid-column: span 12;
}

.col-4 {
  grid-column: span 4;
}

.col-8 {
  grid-column: span 8;
}

.g-3 {
  --grid-gap: 1rem;
}

.g-4 {
  --grid-gap: 1.5rem;
}

.h-100 {
  height: 100%;
}

.pt-0 {
  padding-top: 0;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.text-white {
  color: #ffffff;
}

.fs-2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
}

body.preview-body {
  position: relative;
  font-family: var(--font-body, Georgia, serif);
  line-height: 1.5;
  color: var(--page-text, #171717);
  background:
    radial-gradient(circle at top left, var(--page-glow, rgba(255, 255, 255, 0.8)), transparent 34%),
    var(--page-bg, #f6f1ea);
}

body.preview-modal-open {
  overflow: hidden;
}

.preview-shell {
  overflow-x: hidden;
}

.preview-exhibit.is-hidden {
  display: none;
}

.section-shell {
  padding: 5rem 0;
  scroll-margin-top: 96px;
}

.preview-navbar {
  padding: 1rem 0;
  background: var(--nav-bg, rgba(16, 18, 22, 0.8));
  border-bottom: 1px solid var(--nav-border, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav__toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--nav-border, rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.navbar-toggler-icon {
  width: 1.5rem;
  height: 1.1rem;
  display: inline-block;
  background-image:
    linear-gradient(var(--nav-link, rgba(255, 255, 255, 0.82)), var(--nav-link, rgba(255, 255, 255, 0.82))),
    linear-gradient(var(--nav-link, rgba(255, 255, 255, 0.82)), var(--nav-link, rgba(255, 255, 255, 0.82))),
    linear-gradient(var(--nav-link, rgba(255, 255, 255, 0.82)), var(--nav-link, rgba(255, 255, 255, 0.82)));
  background-repeat: no-repeat;
  background-position: center top, center center, center bottom;
  background-size: 100% 2px;
}

.preview-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.preview-brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.preview-brand-copy span {
  color: var(--brand-text, #ffffff);
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: 1.4rem;
  font-weight: 700;
}

.preview-brand-copy small {
  color: var(--brand-muted, rgba(255, 255, 255, 0.72));
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav__menu {
  display: flex;
  align-items: center;
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-navbar .nav-link {
  display: inline-flex;
  padding: 0.4rem 0.85rem;
  color: var(--nav-link, rgba(255, 255, 255, 0.82));
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.preview-navbar .nav-link:hover,
.preview-navbar .nav-link.active {
  color: var(--accent, #c76c3a);
}

.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 6.75rem 0 3.25rem;
  background-size: cover;
  background-position: center center;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, linear-gradient(120deg, rgba(0, 0, 0, 0.65), transparent 58%));
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  color: var(--hero-kicker, rgba(255, 255, 255, 0.82));
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 3rem;
  height: 1px;
  background: currentColor;
}

.hero-title {
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero-text,
.hero-note {
  max-width: 40rem;
  font-size: 1.04rem;
}

.hero-note {
  color: var(--hero-note, rgba(255, 255, 255, 0.72));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12rem;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-preview--primary {
  background: var(--accent, #c76c3a);
  color: #ffffff;
}

.btn-preview--secondary {
  border: 1px solid var(--button-secondary-border, rgba(255, 255, 255, 0.35));
  color: var(--button-secondary-text, #ffffff);
}

.btn-preview--secondary:hover,
.btn-preview--primary:hover {
  opacity: 0.92;
  color: inherit;
}

.hero-panel,
.content-panel,
.contact-panel,
.quote-panel,
.point-card {
  background: var(--surface, rgba(255, 255, 255, 0.88));
  border: 1px solid var(--surface-border, rgba(30, 20, 15, 0.08));
  box-shadow: var(--surface-shadow, 0 24px 70px rgba(18, 14, 11, 0.12));
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-label {
  color: var(--accent, #c76c3a);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-title {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  line-height: 1;
}

.section-intro {
  max-width: 44rem;
  margin: 0;
  color: var(--muted, rgba(0, 0, 0, 0.65));
  font-size: 1rem;
}

.editorial-grid {
  display: grid;
  gap: 1.5rem;
}

.editorial-grid {
  grid-template-columns: 1fr;
}

.editorial-card {
  overflow: hidden;
  border-radius: 1.8rem;
  display: grid;
  grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
  align-items: center;
}

.editorial-card--interactive {
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.editorial-card--interactive:hover,
.editorial-card--interactive:focus-visible {
  transform: translateY(-8px) scale(1.015);
  border-color: rgba(164, 77, 42, 0.22);
  box-shadow: 0 36px 90px rgba(44, 31, 23, 0.18);
}

.editorial-card--interactive:focus-visible {
  outline: 2px solid rgba(164, 77, 42, 0.28);
  outline-offset: 4px;
}

.editorial-card__media {
  min-height: 0;
  aspect-ratio: 664 / 336;
  background-size: cover;
  background-position: center center;
}

.preview-media-fallback {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent),
    linear-gradient(120deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.12));
}

.editorial-card__content {
  padding: 1.65rem 1.85rem;
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 0.9rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: var(--badge-bg, rgba(199, 108, 58, 0.12));
  color: var(--accent, #c76c3a);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-title {
  margin-bottom: 0.85rem;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.8rem, 2.6vw, 2.35rem);
  line-height: 0.98;
}

.card-summary {
  color: var(--muted, rgba(0, 0, 0, 0.65));
  font-size: 1rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1rem 0 1.25rem;
  color: var(--meta-text, rgba(0, 0, 0, 0.68));
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--page-text, #111111);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.card-link:hover {
  color: var(--accent, #c76c3a);
}

.card-link--hint::after {
  content: "↗";
  font-size: 1rem;
}

.content-panel {
  border-radius: 1.9rem;
  padding: 2rem;
}

.quote-panel {
  border-radius: 1.9rem;
  padding: 2rem;
  height: 100%;
}

.quote-panel blockquote {
  margin: 0;
  font-family: var(--font-display, "Cormorant Garamond", serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.05;
}

.quote-panel blockquote.quote-panel__cv {
  font-family: var(--font-display, Georgia, serif);
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
}

.quote-panel__cv p {
  margin: 0 0 0.9rem;
}

.quote-panel__cv p:last-child {
  margin-bottom: 0;
}

.quote-panel footer {
  margin-top: 1.1rem;
  color: var(--muted, rgba(0, 0, 0, 0.65));
  font-size: 0.84rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.point-card {
  height: 100%;
  border-radius: 1.6rem;
  padding: 1.5rem;
}

.profile-detail-grid {
  align-items: stretch;
}

.point-card--copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.point-card--image-shell {
  overflow: hidden;
  padding: 0;
}

.point-card__image,
.point-card__media--profile {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 17rem;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.point-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.point-card p {
  margin-bottom: 0;
  color: var(--muted, rgba(0, 0, 0, 0.68));
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  padding: 2.2rem;
}

.contact-panel::after {
  content: "";
  position: absolute;
  inset: auto -8% -30% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: var(--contact-glow, rgba(199, 108, 58, 0.18));
  filter: blur(6px);
}

.contact-panel__inner {
  position: relative;
  z-index: 1;
}

.contact-label {
  display: block;
  color: var(--muted, rgba(0, 0, 0, 0.6));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-value {
  display: inline-block;
  margin-top: 0.45rem;
  color: var(--page-text, #171717);
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  text-decoration: none;
}

.contact-copy-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.45rem;
}

.contact-copy-group .contact-value {
  margin-top: 0;
}

.contact-copy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(33, 24, 17, 0.14);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.72);
  color: var(--page-text, #171717);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.contact-copy-button:hover,
.contact-copy-button:focus-visible {
  border-color: rgba(164, 77, 42, 0.26);
  color: var(--accent, #a44d2a);
}

.contact-copy-button.is-copied {
  background: var(--accent, #a44d2a);
  border-color: var(--accent, #a44d2a);
  color: #ffffff;
}

.contact-address {
  margin: 0;
  font-size: 1.05rem;
  color: var(--page-text, #171717);
}

.preview-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.preview-more-button {
  min-width: 16rem;
}

.preview-footer {
  padding: 1.8rem 0 2.4rem;
  background: var(--footer-bg, #111111);
  color: var(--footer-text, rgba(255, 255, 255, 0.78));
}

.footer-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.preview-footer p {
  margin: 0;
}

.footer-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-link:hover {
  color: #ffffff;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(16, 12, 10, 0.72);
  z-index: 200;
}

.modal.is-open {
  display: flex;
}

.modal-dialog {
  width: min(100%, 940px);
  max-height: calc(100vh - 3rem);
}

.modal-content.preview-modal {
  display: flex;
  flex-direction: column;
  max-height: inherit;
  border: 0;
  border-radius: 1.8rem;
  background: var(--modal-bg, #171717);
  color: var(--modal-text, #f5f1ea);
  overflow: hidden;
}

.preview-modal .modal-header,
.preview-modal .modal-body {
  padding: 1.75rem 1.9rem;
}

.preview-modal .modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom-color: var(--modal-border, rgba(255, 255, 255, 0.08));
}

.preview-modal .modal-body {
  overflow: auto;
}

.preview-modal .modal-title {
  color: var(--modal-text, #f5f1ea);
}

.preview-modal .card-kicker {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--modal-border, rgba(255, 255, 255, 0.08));
  color: var(--modal-text, #f5f1ea);
}

.preview-modal .card-summary {
  color: var(--modal-text, #f5f1ea);
}

.preview-modal .card-meta {
  color: var(--modal-muted, rgba(255, 255, 255, 0.72));
}

.preview-modal .card-link {
  color: var(--modal-text, #f5f1ea);
}

.preview-modal .card-link:hover {
  color: var(--accent, #c76c3a);
}

.preview-modal__image {
  min-height: 18rem;
  background-size: cover;
  background-position: center center;
}

.btn-close {
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--modal-border, rgba(255, 255, 255, 0.08));
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.btn-close::before {
  content: "×";
  font-size: 1.7rem;
  line-height: 1;
}

.preview-modal__list {
  margin: 1rem 0 0;
  padding-left: 1rem;
  color: var(--modal-muted, rgba(255, 255, 255, 0.72));
}

.preview-modal__list li + li {
  margin-top: 0.65rem;
}

.preview-modal__description {
  color: var(--modal-muted, rgba(255, 255, 255, 0.72));
}

.preview-modal__description p:last-child {
  margin-bottom: 0;
}

.editorial-hero-card {
  max-width: 46rem;
  padding: 2.5rem;
  border-radius: 2rem;
  background: rgba(23, 16, 12, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
}

.theme-editorial {
  --page-bg: #f5f1ea;
  --page-glow: rgba(255, 255, 255, 0.94);
  --page-text: #1f1814;
  --muted: rgba(44, 34, 28, 0.72);
  --accent: #a44d2a;
  --surface: rgba(255, 251, 247, 0.86);
  --surface-border: rgba(43, 31, 24, 0.08);
  --surface-shadow: 0 28px 80px rgba(44, 31, 23, 0.12);
  --nav-bg: rgba(248, 243, 236, 0.88);
  --nav-border: rgba(33, 24, 17, 0.08);
  --nav-link: rgba(36, 26, 19, 0.82);
  --brand-text: #221811;
  --brand-muted: rgba(34, 24, 17, 0.58);
  --hero-overlay: linear-gradient(115deg, rgba(26, 20, 17, 0.78), rgba(26, 20, 17, 0.34) 48%, rgba(245, 241, 234, 0.16));
  --hero-kicker: rgba(255, 255, 255, 0.78);
  --hero-note: rgba(255, 255, 255, 0.74);
  --button-secondary-border: rgba(255, 255, 255, 0.34);
  --button-secondary-text: #ffffff;
  --badge-bg: rgba(164, 77, 42, 0.12);
  --footer-bg: #19120e;
  --footer-text: rgba(244, 235, 226, 0.76);
  --modal-bg: #18110d;
  --modal-text: #f4ede6;
  --modal-border: rgba(255, 255, 255, 0.08);
  --modal-muted: rgba(255, 255, 255, 0.72);
  --contact-glow: rgba(164, 77, 42, 0.18);
  --font-display: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  --font-body: Georgia, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
}

@media (max-width: 991.98px) {
  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--nav-border, rgba(255, 255, 255, 0.08));
    border-radius: 1.25rem;
    background: var(--nav-bg, rgba(16, 18, 22, 0.94));
    box-shadow: 0 18px 50px rgba(12, 10, 8, 0.16);
  }

  .site-nav__menu.is-open {
    display: block;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }

  .hero-section {
    min-height: auto;
    padding-top: 6.75rem;
  }

  .col-lg-5,
  .col-lg-6,
  .col-lg-7 {
    grid-column: span 12;
  }

  .editorial-card {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .col-lg-5 {
    grid-column: span 5;
  }

  .col-lg-6 {
    grid-column: span 6;
  }

  .col-lg-7 {
    grid-column: span 7;
  }
}

@media (max-width: 767.98px) {
  .preview-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .preview-brand-copy {
    display: flex;
    min-width: 0;
    max-width: 100%;
  }

  .preview-brand-copy span {
    font-size: 1rem;
    white-space: nowrap;
  }

  .preview-brand-copy small {
    display: block;
    font-size: 0.56rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }

  .profile-detail-grid > .col-4,
  .profile-detail-grid > .col-8 {
    grid-column: span 12;
  }

  .section-shell {
    padding: 4rem 0;
  }

  .editorial-card__content,
  .content-panel,
  .quote-panel,
  .contact-panel,
  .editorial-hero-card {
    padding: 1.5rem;
  }

  .contact-value {
    font-size: 1.15rem;
  }

  .point-card__image,
  .point-card__media--profile {
    min-height: 14rem;
  }

  .modal {
    padding: 0.75rem;
  }

  .preview-modal .modal-header,
  .preview-modal .modal-body {
    padding: 1.25rem;
  }
}
