:root {
  --ink: #101216;
  --soft-ink: rgba(16, 18, 22, 0.7);
  --muted: rgba(16, 18, 22, 0.56);
  --glass: rgba(255, 255, 255, 0.34);
  --glass-strong: rgba(255, 255, 255, 0.56);
  --glass-line: rgba(255, 255, 255, 0.6);
  --shadow: 0 30px 100px rgba(34, 42, 55, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.82), transparent 30%),
    radial-gradient(circle at 84% 8%, rgba(197, 219, 235, 0.72), transparent 34%),
    linear-gradient(125deg, #dfe9ee 0%, #f6eee5 48%, #e8eee3 100%);
  background-attachment: fixed;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), transparent 24%, rgba(255, 255, 255, 0.22) 68%, transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 44%);
}

body.lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.glass-bar,
.glass-panel,
.photo-card,
.feature-card,
.lightbox-frame {
  position: relative;
  background: linear-gradient(135deg, var(--glass-strong), rgba(255, 255, 255, 0.18));
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    var(--shadow);
  backdrop-filter: blur(30px) saturate(1.38);
  -webkit-backdrop-filter: blur(30px) saturate(1.38);
}

.glass-bar::after,
.glass-panel::after,
.photo-card::after,
.feature-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.46), transparent 38%, rgba(255, 255, 255, 0.18) 76%, transparent);
  mix-blend-mode: screen;
}

.glass-bar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(100% - 32px, 1180px);
  min-height: 62px;
  margin: 14px auto 0;
  padding: 8px;
  border-radius: 999px;
}

.brand,
.site-nav,
.photo-pill,
.glass-button {
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 10px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, 0.94);
  background: rgba(16, 18, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  color: rgba(16, 18, 22, 0.66);
  font-size: 0.92rem;
}

.site-nav a {
  padding: 10px 0;
}

.site-nav a:hover {
  color: var(--ink);
}

.photo-pill,
.glass-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: rgba(16, 18, 22, 0.72);
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  font-size: 0.92rem;
}

.photo-pill {
  gap: 5px;
}

.photo-count {
  color: var(--ink);
  font-weight: 800;
}

.hero {
  position: relative;
  width: min(100% - 32px, 1180px);
  min-height: calc(100vh - 96px);
  margin: 18px auto 0;
  padding-bottom: 34px;
}

.hero-photo {
  min-height: calc(100vh - 130px);
  margin: 0;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 36px 110px rgba(30, 38, 50, 0.22);
}

.hero-photo img {
  width: 100%;
  height: calc(100vh - 130px);
  min-height: 640px;
  display: block;
  object-fit: cover;
}

.empty-photo {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100vh - 130px);
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.empty-photo span,
.empty-photo strong {
  display: block;
}

.empty-photo span {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
}

.empty-photo strong {
  margin-top: 6px;
  color: var(--ink);
  font-size: clamp(2.5rem, 9vw, 7rem);
  letter-spacing: 0;
}

.hero-copy {
  position: absolute;
  left: clamp(14px, 3vw, 34px);
  bottom: clamp(48px, 7vw, 86px);
  z-index: 2;
  width: min(570px, calc(100% - 28px));
  padding: clamp(22px, 4vw, 36px);
  border-radius: 32px;
}

.kicker {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.88rem, 1.6vw, 1rem);
  font-weight: 780;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(5rem, 13vw, 9rem);
  font-weight: 780;
  line-height: 0.78;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 4.2rem);
  font-weight: 760;
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  max-width: 31rem;
  margin-bottom: 24px;
  color: var(--soft-ink);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.56;
}

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

.glass-button.dark {
  color: rgba(255, 255, 255, 0.94);
  background: rgba(16, 18, 22, 0.78);
  border-color: rgba(255, 255, 255, 0.28);
}

.overview,
.gallery,
.site-footer {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}

.overview {
  display: grid;
  grid-template-columns: minmax(310px, 0.86fr) minmax(0, 1.14fr);
  gap: 16px;
  margin-top: 2px;
}

.profile {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 32px;
}

.profile h2 {
  margin: 12px 0 18px;
}

.profile > p {
  max-width: 34rem;
  margin-bottom: 28px;
  color: var(--soft-ink);
  font-size: 1.05rem;
  line-height: 1.62;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
}

.quick-facts div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.22);
}

.quick-facts dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 780;
  text-transform: uppercase;
}

.quick-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 730;
}

.featured {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}

.feature-card {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
}

.feature-card button,
.photo-button {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: zoom-in;
}

.feature-card img {
  width: 100%;
  height: auto;
  min-height: 0;
  display: block;
}

.feature-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.gallery {
  padding: 74px 0 34px;
}

.gallery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.gallery-heading .kicker {
  margin-bottom: 10px;
}

.gallery-heading > p {
  max-width: 25rem;
  margin-bottom: 4px;
  color: var(--soft-ink);
  line-height: 1.55;
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 14px;
}

.photo-card {
  display: inline-block;
  width: 100%;
  margin: 0 0 14px;
  overflow: hidden;
  border-radius: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-card:nth-child(7n + 1),
.photo-card:nth-child(7n + 6) {
  grid-column: auto;
}

.photo-card:hover {
  transform: translateY(-3px);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-card:nth-child(7n + 1) img,
.photo-card:nth-child(7n + 6) img {
  aspect-ratio: auto;
}

.gallery-empty {
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 34px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 30px;
  text-align: center;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 56px;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--soft-ink);
  font-weight: 760;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: none;
  place-items: center;
  padding: 70px 18px 24px;
  background: rgba(233, 236, 235, 0.58);
  backdrop-filter: blur(34px) saturate(1.28);
  -webkit-backdrop-filter: blur(34px) saturate(1.28);
}

.lightbox.open {
  display: grid;
}

.lightbox-frame {
  width: min(100%, 1120px);
  margin: 0;
  overflow: hidden;
  border-radius: 32px;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  display: block;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.24);
}

.lightbox figcaption {
  padding: 14px 18px 16px;
  color: rgba(16, 18, 22, 0.78);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 14px 30px rgba(31, 38, 44, 0.14);
  cursor: pointer;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (max-width: 920px) {
  .glass-bar {
    grid-template-columns: auto auto;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .hero-photo,
  .hero-photo img,
  .empty-photo {
    min-height: auto;
  }

  .hero-photo img,
  .empty-photo {
    height: 68vh;
    min-height: 520px;
  }

  .hero-copy {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 14px;
  }

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

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

  .feature-card img,
  .feature-empty {
    min-height: 0;
  }

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

  .gallery-grid {
    columns: 2 240px;
  }
}

@media (max-width: 640px) {
  .glass-bar,
  .hero,
  .overview,
  .gallery,
  .site-footer {
    width: min(100% - 20px, 1180px);
  }

  .glass-bar {
    top: 10px;
    gap: 10px;
    margin-top: 10px;
  }

  .brand {
    padding-right: 0;
  }

  .photo-pill {
    min-height: 40px;
    padding-inline: 12px;
    font-size: 0.86rem;
  }

  .hero {
    margin-top: 10px;
    padding-bottom: 20px;
  }

  .hero-photo,
  .hero-copy,
  .profile,
  .feature-card,
  .gallery-empty,
  .photo-card,
  .lightbox-frame {
    border-radius: 24px;
  }

  .hero-photo img,
  .empty-photo {
    height: 56vh;
    min-height: 420px;
  }

  h1 {
    font-size: clamp(4.2rem, 20vw, 6.6rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .glass-button {
    width: 100%;
  }

  .quick-facts {
    grid-template-columns: 1fr;
  }

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

  .feature-card img,
  .feature-empty {
    min-height: 0;
  }

  .gallery {
    padding-top: 48px;
  }

  .gallery-grid {
    columns: 1;
    column-gap: 10px;
  }

  .photo-card {
    margin-bottom: 10px;
  }

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