:root {
  --bg: #e9e8e4;
  --bg-soft: #deddd8;
  --panel: #f7f6f3;
  --panel-soft: #ffffff;
  --text: #262626;
  --text-dark: #151515;
  --muted: #6e6b66;
  --accent: #b7b0a5;
  --accent-strong: #8b867d;
  --line: rgba(38, 38, 38, 0.14);
  --shadow: 0 22px 50px rgba(35, 35, 35, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.42), transparent 34%),
    linear-gradient(180deg, #f0efec 0%, #deddd8 100%);
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
textarea {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(63, 64, 62, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: min(280px, 56vw);
}

.header-actions,
.header-socials {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 1.25rem;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.site-nav a {
  padding: 0.45rem 0;
  color: #ecebe7;
  border-bottom: 2px solid transparent;
  transition: 160ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ffffff;
  border-color: #cfc8bd;
}

.header-socials {
  gap: 0.55rem;
}

.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ecebe7;
  background: rgba(255, 255, 255, 0.08);
  transition: 160ms ease;
}

.social-link:hover {
  color: #ffffff;
  border-color: #cfc8bd;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: start;
  background-color: #262626;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18) 30%, transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22));
}

.hero-inner,
.page-intro,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-inner {
  padding: 4.5rem 0 4rem;
  color: #ffffff;
  display: grid;
  justify-items: end;
  text-align: right;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.72);
}

.hero h1 {
  max-width: none;
  white-space: nowrap;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-strong);
  font-size: 0.8rem;
}

.hero .eyebrow {
  color: #f4f3ef;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  font-weight: 600;
}

h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 8vw, 6rem);
}

h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  line-height: 1.7;
}

.hero-copy,
.page-intro p {
  max-width: 44rem;
  font-size: 1.08rem;
  color: #4f4d49;
}

.hero-copy {
  color: #f4f3ef;
}

.hero-subtitle {
  margin: 1rem 0 0;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.2;
  color: #f4f3ef;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button-secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.page-intro-button {
  margin-top: 2rem;
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.46));
}

.page-intro {
  width: 100%;
  min-height: 42vh;
  margin: 0;
  padding: 4rem max(1rem, calc((100% - 1180px) / 2));
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.18) 30%, transparent 58%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.22)),
    url("images/content/v1/604227dce7bf1346cc580f4a/1619179210203-U3311T8PCMOB9FTCA8GF/cop_.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  display: grid;
  align-content: start;
  justify-items: end;
  text-align: right;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.72);
}

.page-intro h2 {
  max-width: 760px;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.72);
}

.page-intro .eyebrow,
.page-intro p {
  color: #f4f3ef;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.page-intro p {
  margin: 1rem 0 0;
  max-width: 44rem;
  font-size: 1.08rem;
  line-height: 1.7;
}

.split-card,
.contact-layout {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1.3fr 1fr;
}

.person-card {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
}

.person-card.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.person-card.reverse .person-image {
  order: 2;
}

.person-card.reverse .person-copy {
  order: 1;
}

.press-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.28), rgba(255,255,255,0.46));
  scroll-margin-top: 92px;
}

.press-section .section-header {
  margin-bottom: 2.5rem;
}

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

.pdf-card {
  display: grid;
  gap: 0.8rem;
  min-height: 220px;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 160ms ease, border-color 160ms ease;
}

.pdf-card:hover {
  transform: translateY(-2px);
  border-color: rgba(38, 38, 38, 0.28);
}

.pdf-label {
  width: fit-content;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--text-dark);
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.pdf-card p {
  margin: 0;
  color: var(--muted);
}

.pdf-modal[hidden] {
  display: none;
}

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(24, 24, 24, 0.72);
}

.pdf-modal-panel {
  width: min(1120px, 100%);
  height: min(820px, calc(100vh - 3rem));
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.pdf-modal-header,
.pdf-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}

.pdf-modal-footer {
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.pdf-modal-header h2 {
  font-size: 1.25rem;
}

.pdf-modal-close {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text);
  padding: 0.7rem 1rem;
  cursor: pointer;
}

.pdf-modal-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.map-card,
.info-card,
.contact-card,
.person-copy {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  border-radius: var(--radius);
}

.map-card.compact iframe {
  min-height: 280px;
}

.info-card,
.contact-card,
.person-copy {
  padding: 2rem;
}

.person-image img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel-soft);
  color: var(--text);
  padding: 0.9rem 1rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.contact-photo-card {
  padding: 1rem;
  overflow: hidden;
}

.contact-photo {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 8px);
}

.gallery-stack {
  display: grid;
  gap: 3rem;
}

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

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

.gallery-card {
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 20, 20, 0.18));
  opacity: 0;
  transition: opacity 160ms ease;
}

.gallery-card:hover::after {
  opacity: 1;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 260ms ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(232, 231, 226, 0.96);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
}

.lightbox-stage {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.lightbox-slide {
  display: none;
  margin: 0;
}

.lightbox-slide.is-active {
  display: block;
}

.lightbox-slide img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 24px;
}

.lightbox-slide figcaption {
  margin-top: 0.9rem;
  color: var(--muted);
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border-radius: 999px;
  padding: 0.95rem 1.1rem;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.site-footer {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
  background: rgba(220, 219, 214, 0.72);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 3rem 0;
}

.footer-logo {
  width: min(280px, 100%);
}

.footer-grid p,
.footer-grid a {
  color: var(--muted);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-note {
  padding: 1rem;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .header-actions {
    gap: 0.75rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 1rem;
    background: rgba(63, 64, 62, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .split-card,
  .contact-layout,
  .person-card,
  .person-card.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .person-card.reverse .person-image,
  .person-card.reverse .person-copy {
    order: initial;
  }

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

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

  .lightbox {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }

  .lightbox-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    gap: 0.5rem;
  }

  .brand img {
    width: min(210px, 42vw);
  }

  .social-link {
    width: 34px;
    height: 34px;
  }

  .social-link svg {
    width: 17px;
    height: 17px;
  }

  .menu-toggle {
    padding: 0.65rem 0.8rem;
  }

  .hero {
    min-height: 58vh;
  }

  .hero-inner {
    padding-top: 3rem;
    justify-items: start;
    text-align: left;
  }

  .page-intro {
    min-height: 36vh;
    padding: 3rem 1rem;
    justify-items: start;
    text-align: left;
  }

  .hero h1 {
    white-space: normal;
  }

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

  .person-image img,
  .map-card iframe {
    min-height: 320px;
  }

  .contact-photo {
    min-height: 320px;
  }
}

.site-popup {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(24, 24, 24, 0.66);
}

.site-popup-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.site-popup-panel h2 {
  padding-right: 5rem;
}

.site-popup-panel p {
  color: var(--muted);
}

.site-popup-close,
.site-popup-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--text);
  padding: 0.8rem 1rem;
  cursor: pointer;
}

.site-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.site-popup-button {
  display: inline-flex;
  margin-top: 0.5rem;
  background: var(--accent);
  color: var(--text-dark);
}