:root {
  --bg-dark: #120c22;
  --bg-dark-soft: #1a1232;
  --surface: #f1eef6;
  --surface-strong: #fcf9ff;
  --ink: #171a24;
  --muted: #5f6675;
  --accent: #3c2866;
  --accent-soft: #d6c8ef;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(60, 40, 102, 0.14);
  --shadow-dark: 0 28px 70px rgba(0, 0, 0, 0.34);
  --shadow-light: 0 22px 50px rgba(18, 22, 34, 0.1);
  --radius-xl: 40px;
  --radius-lg: 30px;
  --radius-md: 24px;
  --page-width: 1080px;
  --hero-width: 1320px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--bg-dark) 0, var(--bg-dark) 42rem, var(--surface) 42rem, var(--surface) 100%);
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.site-header,
.section,
.site-footer {
  width: min(calc(100% - 2rem), var(--page-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(10, 11, 18, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.brand img {
  width: 2.8rem;
  height: 2.8rem;
  flex: 0 0 auto;
  border-radius: 10px;
}

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

.site-nav a {
  padding: 0.65rem 1rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  transition: background-color 160ms ease, color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: rgba(60, 40, 102, 0.42);
  outline: none;
}

.hero {
  width: min(calc(100% - 2rem), var(--hero-width));
  margin: 0 auto;
  padding: 2rem 0 4.5rem;
}

.hero-frame {
  position: relative;
  margin: 0;
  min-height: clamp(30rem, 76vh, 50rem);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-dark-soft);
  box-shadow: var(--shadow-dark);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 11, 18, 0.78) 0, rgba(10, 11, 18, 0.42) 34%, rgba(10, 11, 18, 0.1) 72%),
    linear-gradient(180deg, rgba(10, 11, 18, 0.12) 0, rgba(10, 11, 18, 0.56) 100%);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  left: clamp(1.5rem, 4vw, 3.2rem);
  right: 1.5rem;
  bottom: clamp(1.5rem, 4vw, 3.2rem);
  max-width: 38rem;
  color: #fff;
}

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

.hero .eyebrow {
  color: var(--accent-soft);
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: "Avenir Next Condensed", "Franklin Gothic Medium", "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: 9ch;
  font-size: clamp(3.2rem, 7vw, 6.3rem);
}

.hero-text,
.section-heading p,
.intro-list li,
.site-footer p {
  line-height: 1.6;
}

.hero-text {
  max-width: 32rem;
  margin: 1.2rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.04rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  margin-top: 1.8rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  transition: transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.section {
  padding-bottom: 5rem;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: center;
}

.section-heading {
  max-width: 37rem;
}

.section-heading-compact {
  max-width: 31rem;
}

.section-heading h2 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: var(--ink);
}

.section-heading p {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-list {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
}

.intro-list li {
  padding: 0.85rem 0 0;
  color: var(--muted);
  border-top: 1px solid var(--line-light);
}

.intro-list li + li {
  margin-top: 0.8rem;
}

.intro-photo,
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-light);
}

.intro-photo {
  aspect-ratio: 16 / 10.6;
}

.intro-photo img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-section {
  padding-bottom: 4rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-strong);
}

.gallery-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.gallery-link:focus-visible {
  display: block;
  border-radius: inherit;
  outline: 3px solid var(--accent);
  outline-offset: -3px;
}

.gallery-item img {
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-link:focus-visible img {
  transform: scale(1.025);
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(10, 11, 18, 0.82);
  cursor: pointer;
}

.lightbox-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.85rem;
  width: min(92vw, 1400px);
}

.lightbox-close {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  outline: none;
}

.lightbox-image {
  width: 100%;
  max-height: calc(90vh - 4rem);
  object-fit: contain;
  border-radius: var(--radius-lg);
  background: var(--bg-dark-soft);
  box-shadow: var(--shadow-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 0 2.5rem;
}

.site-footer img {
  width: 5.75rem;
  height: auto;
  border-radius: 18px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 960px) {
  body {
    background: linear-gradient(180deg, var(--bg-dark) 0, var(--bg-dark) 48rem, var(--surface) 48rem, var(--surface) 100%);
  }

  .intro-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    top: 0.75rem;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding-top: 1.5rem;
  }

  .hero-frame {
    min-height: 36rem;
  }

  .hero-frame::after {
    background:
      linear-gradient(180deg, rgba(10, 11, 18, 0.18) 0, rgba(10, 11, 18, 0.72) 100%);
  }
}

@media (max-width: 620px) {
  body {
    background: linear-gradient(180deg, var(--bg-dark) 0, var(--bg-dark) 38rem, var(--surface) 38rem, var(--surface) 100%);
  }

  .site-header,
  .section,
  .site-footer,
  .hero {
    width: min(calc(100% - 1.5rem), var(--page-width));
  }

  .site-header {
    padding: 0.8rem 0.9rem;
  }

  .site-nav a {
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
  }

  .hero-frame {
    min-height: 30rem;
    border-radius: 28px;
  }

  .hero-copy {
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .section {
    padding-bottom: 4rem;
  }

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

  .gallery-item {
    aspect-ratio: 4 / 3.1;
  }

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