:root {
  --bg: #fbfaf6;
  --ink: #11130f;
  --muted: #666b60;
  --soft: #f0efe8;
  --line: #dfddd3;
  --panel: #ffffff;
  --accent: #31593b;
  --accent-dark: #203e2a;
  --shadow: 0 24px 80px rgba(25, 29, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 52px;
  border-bottom: 1px solid rgba(17, 19, 15, 0.08);
  background: rgba(251, 250, 246, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  font-size: 13px;
  font-weight: 750;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg);
  background: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: var(--ink);
}

.nav-links a {
  color: rgba(17, 19, 15, 0.76);
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(380px, 0.42fr) minmax(0, 0.58fr);
  min-height: calc(100vh - 64px);
  overflow: hidden;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 34%, rgba(251, 250, 246, 0.1) 68%);
}

.hero-media {
  order: 2;
  position: relative;
  min-height: 650px;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 1;
  width: 48%;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(251, 250, 246, 0.86) 34%, rgba(251, 250, 246, 0) 100%);
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  order: 1;
  z-index: 2;
  align-self: center;
  padding: 72px 0 72px 68px;
  max-width: 690px;
}

.subtle {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 660px;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 660px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
  letter-spacing: 0;
}

.hero-copy > p:not(.subtle),
.video-copy p,
.detail-grid p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 850;
}

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

.button.ghost,
.button.small {
  border-color: #c6c8bc;
  background: rgba(255, 255, 255, 0.58);
}

.button.small {
  min-height: 42px;
  padding: 0 16px;
  white-space: nowrap;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 22px;
  margin: 44px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
}

.quick-stats div {
  display: grid;
  gap: 8px;
}

.quick-stats dt {
  order: 2;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.quick-stats dd {
  order: 1;
  margin-bottom: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 850;
  line-height: 1;
}

.intro,
.gallery-section,
.video-section {
  padding: 88px 68px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: 70px;
  border-top: 1px solid var(--line);
}

.details-heading {
  position: sticky;
  top: 104px;
  align-self: start;
}

.details-content {
  display: grid;
  gap: 42px;
}

.description-copy {
  max-width: 850px;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

.description-copy p {
  margin-bottom: 18px;
  color: #3f433b;
  font-size: 17px;
  line-height: 1.62;
}

.description-copy p:last-child {
  margin-bottom: 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.detail-grid article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.detail-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 850;
}

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

.gallery-section {
  background: var(--soft);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.gallery button {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #e1e2db;
  cursor: pointer;
}

.gallery button:nth-child(12n + 1),
.gallery button:nth-child(12n + 8) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery button:hover img {
  transform: scale(1.045);
}

.gallery span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.video-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 0.66fr);
  gap: 52px;
  align-items: center;
  background: #171714;
  color: white;
}

.video-section .subtle {
  color: #a9d0c8;
}

.video-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.video-frame {
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.video-frame video,
.video-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #050505;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 68px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #171714;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 64px 72px;
  background: rgba(7, 8, 7, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: calc(100vh - 150px);
  width: auto;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox p {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 14px;
  font-weight: 850;
}

.icon-button {
  position: fixed;
  z-index: 55;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.icon-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.close {
  top: 22px;
  right: 22px;
}

.prev,
.next {
  top: 50%;
  transform: translateY(-50%);
}

.prev {
  left: 22px;
}

.next {
  right: 22px;
}

@media (max-width: 1040px) {
  .site-header {
    padding: 0 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    order: 1;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-media::before {
    display: none;
  }

  .hero-copy {
    order: 2;
    padding: 34px 28px 58px;
    max-width: 780px;
  }

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

  .details-heading {
    position: static;
  }

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

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 78px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding: 0 14px;
  }

  .brand {
    font-size: 12px;
  }

  .nav-links {
    display: none;
  }

  .hero-media {
    aspect-ratio: 1.16 / 1;
  }

  .hero-copy {
    padding: 28px 14px 48px;
  }

  h1 {
    font-size: 36px;
    line-height: 1;
  }

  h2 {
    font-size: 31px;
    line-height: 1.04;
  }

  .hero-copy > p:not(.subtle),
  .video-copy p,
  .detail-grid p {
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 26px;
  }

  .button {
    width: 100%;
    min-height: 50px;
  }

  .quick-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 30px;
    padding-top: 24px;
  }

  .quick-stats dd {
    font-size: 26px;
  }

  .intro,
  .gallery-section,
  .video-section {
    padding: 52px 14px;
  }

  .description-copy {
    padding-left: 16px;
  }

  .description-copy p {
    font-size: 16px;
    line-height: 1.62;
    margin-bottom: 18px;
  }

  .details-content {
    gap: 32px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-grid article {
    min-height: auto;
    padding: 20px;
  }

  .detail-grid span {
    margin-bottom: 18px;
  }

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

  .section-heading .button {
    width: 100%;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .gallery button:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .video-section {
    gap: 28px;
  }

  .site-footer {
    display: block;
    padding: 22px 14px;
  }

  .lightbox {
    padding: 68px 14px 78px;
    align-items: center;
  }

  .lightbox img {
    max-width: 100%;
    max-height: calc(100vh - 180px);
  }

  .icon-button {
    width: 42px;
    height: 42px;
    font-size: 28px;
  }

  .close {
    top: 14px;
    right: 14px;
  }

  .prev,
  .next {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .prev {
    left: 14px;
  }

  .next {
    right: 14px;
  }

  .lightbox p {
    bottom: 28px;
  }
}

@media (max-width: 360px) {
  .brand span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 29px;
  }
}
