@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,700;9..40,800;9..40,900&display=swap");

:root {
  color-scheme: dark;
  --bg: #030303;
  --panel: #101010;
  --panel-soft: #171717;
  --text: #f5f1ea;
  --muted: #b7b0a7;
  --faint: #746f68;
  --line: rgba(245, 241, 234, 0.18);
  --line-strong: rgba(245, 241, 234, 0.34);
  --accent: #d6b778;
  --accent-2: #8fb6b0;
  --max: 95vw;
  --header: 88px;
  --font-main: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(214, 183, 120, 0.05), transparent 34%, rgba(143, 182, 176, 0.04)),
    var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  letter-spacing: 0;
}

body.has-lightbox {
  overflow: hidden;
}

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

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

button {
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: var(--header);
  padding: 0 2.5vw;
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.92), rgba(3, 3, 3, 0.64), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 136px;
}

.brand img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.6vw, 44px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: rgba(245, 241, 234, 0.76);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
}

.mobile-nav-socials {
  display: none;
}

.mobile-nav-logo {
  display: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--text);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.035);
  transition: opacity 1100ms ease, transform 1800ms ease;
}

.hero-slide::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.72), rgba(3, 3, 3, 0.26) 48%, rgba(3, 3, 3, 0.58)),
    linear-gradient(180deg, rgba(3, 3, 3, 0.2), rgba(3, 3, 3, 0.82));
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide-label {
  position: absolute;
  right: 2.5vw;
  bottom: 108px;
  z-index: 1;
  min-width: 170px;
  border-top: 1px solid var(--line-strong);
  padding-top: 18px;
  text-align: right;
}

.hero-slide-label p,
.hero-slide-label h2 {
  margin: 0;
}

.hero-slide-label p {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-slide-label h2 {
  margin-top: 8px;
  font-size: clamp(22px, 4vw, 58px);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(760px, 84vw);
  min-height: 100svh;
  margin-left: 2.5vw;
  padding: calc(var(--header) + 42px) 0 130px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(27px, 3.8vw, 59px);
  font-weight: 800;
  line-height: 0.94;
}

.home-hero h1 {
  font-size: clamp(30px, 5.1vw, 74px);
}

.home-hero h1 span {
  display: block;
}

.lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.1vw, 28px);
  line-height: 1.45;
}

.home-hero .lead {
  font-size: clamp(14px, 1.7vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button.primary {
  border-color: var(--text);
  background: var(--text);
  color: #080808;
}

.button.ghost:hover,
.button.primary:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #090909;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: 2.5vw;
  bottom: 34px;
  left: 2.5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero-controls > button,
.lightbox-arrow,
.lightbox-close {
  cursor: pointer;
  background: rgba(5, 5, 5, 0.72);
  padding: 14px 18px;
  color: var(--text);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slide-dots {
  display: flex;
  gap: 12px;
}

.slide-dots button {
  width: 34px;
  height: 2px;
  cursor: pointer;
  background: rgba(245, 241, 234, 0.38);
}

.slide-dots button[aria-current="true"] {
  background: var(--text);
}

.page-band,
.page-shell,
.album-detail-shell,
.split-page,
.contact-page,
.article-shell {
  width: var(--max);
  margin: 0 auto;
}

.page-band {
  padding: 96px 0;
}

.home-intro {
  min-height: 90svh;
}

.section-heading,
.page-title {
  padding-top: calc(var(--header) + 64px);
  padding-bottom: 52px;
}

.section-heading h2,
.page-title h1,
.album-meta h2,
.post-card h2,
.split-copy h1,
.contact-panel h1,
.article-hero h1 {
  margin: 0;
  font-size: clamp(27px, 3.8vw, 59px);
  font-weight: 800;
  line-height: 0.98;
}

.album-strip,
.album-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.album-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-bottom: 96px;
}

.album-card {
  position: relative;
  min-height: 64vh;
  overflow: hidden;
  background: var(--panel);
}

.album-card.compact {
  min-height: 54vh;
}

.album-card-image {
  position: absolute;
  inset: 0;
}

.album-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.album-card::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 18%, rgba(3, 3, 3, 0.12), rgba(3, 3, 3, 0.84));
}

.album-card:hover img {
  transform: scale(1.045);
}

.album-card-copy {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px;
}

.album-card-copy p,
.album-card-copy span {
  display: block;
  min-height: 3em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.album-card-copy p {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-card-copy h2 {
  margin: 8px 0 10px;
  font-size: clamp(27px, 3.2vw, 51px);
  font-weight: 800;
  line-height: 1;
}

.album-hero {
  display: flex;
  align-items: flex-end;
  min-height: 78svh;
  padding: calc(var(--header) + 72px) 2.5vw 72px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.album-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.34), rgba(3, 3, 3, 0.84));
}

.album-hero > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.back-link,
.text-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.album-detail-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  min-width: 0;
  padding: 46px 0 110px;
}

.album-meta {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.1fr) minmax(0, 1.35fr);
  gap: 28px;
  align-items: end;
  min-width: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.album-meta-heading {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.album-meta h2 {
  font-size: clamp(27px, 3.8vw, 59px);
}

.album-meta dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
  margin: 0;
}

.album-meta dl > div {
  display: grid;
  gap: 24px;
  min-width: 0;
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.album-meta dt,
.album-meta dd,
.album-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.album-meta dt {
  color: var(--faint);
  text-transform: uppercase;
}

.album-description {
  min-width: 0;
  max-width: 620px;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: start;
  gap: 18px;
  min-width: 0;
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  cursor: zoom-in;
  background: var(--panel-soft);
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: opacity 180ms ease;
}

.gallery-item:hover img {
  opacity: 0.78;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.94);
  padding: 5vw;
}

.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow.prev {
  left: 24px;
}

.lightbox-arrow.next {
  right: 24px;
}

.lightbox p {
  position: absolute;
  bottom: 22px;
  left: 50%;
  margin: 0;
  color: var(--muted);
  transform: translateX(-50%);
}

.post-list {
  display: grid;
  gap: 20px;
  padding-bottom: 100px;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(280px, 42vw) 1fr;
  gap: 34px;
  min-height: 420px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.post-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.post-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 680px;
}

.post-copy time,
.article-hero time {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-copy p,
.article-body p,
.split-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
}

.split-page,
.contact-page {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  min-height: 100svh;
  padding-top: calc(var(--header) + 40px);
  padding-bottom: 70px;
}

.split-image,
.contact-hero {
  min-height: calc(100svh - var(--header) - 110px);
}

.split-image img,
.contact-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-copy,
.contact-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: var(--text);
  font-size: clamp(18px, 2vw, 28px);
}

.article-shell {
  padding-top: calc(var(--header) + 32px);
  padding-bottom: 100px;
}

.article-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: end;
}

.article-hero img {
  width: 100%;
  height: min(70vh, 680px);
  object-fit: cover;
}

.article-body {
  max-width: 860px;
  margin: 72px auto 0;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: flex-start;
  gap: 24px;
  width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  color: var(--faint);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.site-footer p {
  min-width: 0;
  margin: 0;
  line-height: 1.8;
}

.site-footer p a {
  color: var(--text);
  font-weight: 900;
  transition: color 180ms ease;
}

.site-footer p a:hover {
  color: var(--text);
}

.footer-links {
  justify-self: end;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
}

.footer-links .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  color: var(--text);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.footer-links .social-icon:hover {
  border-color: var(--accent);
  background: rgba(214, 183, 120, 0.12);
  color: var(--text);
}

.footer-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

@media (max-width: 1100px) {
  .album-strip,
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card,
  .split-page,
  .contact-page,
  .article-hero {
    grid-template-columns: 1fr;
  }

  .split-image,
  .contact-hero {
    min-height: 58svh;
  }
}

@media (max-width: 760px) {
  :root {
    --header: 74px;
    --max: 94vw;
  }

  .site-header {
    padding: 0 3vw;
  }

  .brand {
    width: 122px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 40;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    background: rgba(3, 3, 3, 0.96);
    padding: 0 8vw;
    font-size: 24px;
    letter-spacing: 0.08em;
  }

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

  .mobile-nav-logo {
    display: inline-flex;
    width: 156px;
    margin-bottom: 18px;
  }

  .mobile-nav-logo img {
    width: 100%;
    height: auto;
  }

  .mobile-nav-socials {
    display: flex;
    gap: 12px;
    margin-top: 6px;
  }

  .mobile-nav-socials .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    color: var(--text);
  }

  .mobile-nav-socials svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .hero-copy {
    width: 92vw;
    margin-left: 4vw;
    padding-bottom: 170px;
  }

  .hero-slide-label {
    right: auto;
    bottom: 116px;
    left: 4vw;
    text-align: left;
  }

  .hero-controls {
    right: 4vw;
    bottom: 28px;
    left: 4vw;
  }

  .hero-controls > button {
    padding: 12px;
    font-size: 10px;
  }

  .slide-dots button {
    width: 22px;
  }

  .section-heading,
  .page-title {
    padding-top: calc(var(--header) + 46px);
  }

  .album-strip,
  .album-grid {
    grid-template-columns: 1fr;
  }

  .album-card,
  .album-card.compact {
    min-height: 72vh;
  }

  .album-detail-shell {
    grid-template-columns: 1fr;
  }

  .album-meta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .album-meta dl {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .album-meta dl > div {
    border-bottom: 0;
    border-left: 1px solid var(--line);
    padding: 0 0 0 12px;
    gap: 14px;
  }

  .album-meta dl > div:first-child {
    border-left: 0;
    padding-left: 0;
  }

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

  .post-card {
    min-height: 0;
  }

  .post-image img {
    min-height: 360px;
  }

  .lightbox {
    padding: 72px 0;
  }

  .lightbox img {
    max-width: 100vw;
    max-height: 74vh;
  }

  .lightbox-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  .lightbox-close {
    top: 16px;
    right: 16px;
  }

  .lightbox p {
    bottom: 78px;
    width: 100%;
    text-align: center;
  }

  .site-footer {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .footer-links {
    justify-content: flex-end;
    text-align: right;
  }
}
