:root {
  --black: #11100e;
  --ink: #24211c;
  --muted: #756f65;
  --paper: #f7f4ed;
  --soft: #ebe3d6;
  --gold: #b99055;
  --deep: #29221b;
  --white: #ffffff;
  --shadow: 0 28px 70px rgba(17, 16, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

body.lightbox-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(247, 244, 237, 0.9);
  border-bottom: 1px solid rgba(36, 33, 28, 0.1);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1240px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(185, 144, 85, 0.58);
  border-radius: 50%;
  color: var(--gold);
  background: var(--deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.language-switcher button {
  border-radius: 6px;
  transition: background 160ms ease, color 160ms ease;
}

.nav-links a {
  padding: 10px 12px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--soft);
  outline: none;
}

.language-switcher {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(36, 33, 28, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5);
}

.language-switcher button {
  min-width: 38px;
  border: 0;
  padding: 8px 9px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switcher button.active {
  color: var(--white);
  background: var(--deep);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 140px 0 82px;
  background: var(--black);
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 14, 0.92), rgba(17, 16, 14, 0.62) 46%, rgba(17, 16, 14, 0.08)),
    linear-gradient(0deg, rgba(17, 16, 14, 0.58), rgba(17, 16, 14, 0)),
    url("assets/gallery/artwork-18.webp") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--white);
}

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

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

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(48px, 9vw, 112px);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.75;
}

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

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 13px 18px;
  font-weight: 800;
  cursor: pointer;
}

.button.primary {
  color: var(--black);
  background: var(--gold);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
}

.intro-band {
  width: min(1240px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(185, 144, 85, 0.24);
  border-radius: 8px;
  background: var(--deep);
  box-shadow: var(--shadow);
}

.intro-band div {
  min-height: 132px;
  padding: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-band div:last-child {
  border-right: 0;
}

.intro-band strong {
  display: block;
  color: var(--white);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
}

.intro-band span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.55;
}

.section {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 38px;
}

.section h2 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
}

.section-heading p:last-child,
.contact-copy p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 14px;
}

.gallery-item {
  min-height: 260px;
  border: 0;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: var(--soft);
  box-shadow: 0 14px 32px rgba(17, 16, 14, 0.08);
  cursor: zoom-in;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
  min-height: 534px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.03);
}

.gallery-item:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.about-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep);
}

.about-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 44px;
  align-items: start;
  border-top: 1px solid rgba(36, 33, 28, 0.12);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-card {
  min-height: 138px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(36, 33, 28, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 16, 14, 0.07);
}

.contact-card:hover,
.contact-card:focus-visible {
  border-color: rgba(185, 144, 85, 0.65);
  outline: none;
}

.contact-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card strong {
  font-size: 20px;
}

.muted-link {
  opacity: 0.72;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(17, 16, 14, 0.92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 940px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 14px 0;
  }

  .nav-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-band,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-band div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .intro-band div:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 620px) {
  .site-header {
    position: sticky;
  }

  .nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .language-switcher {
    width: 100%;
  }

  .language-switcher button {
    flex: 1;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .nav-links a {
    background: rgba(235, 227, 214, 0.72);
    text-align: center;
  }

  .hero {
    min-height: 760px;
    padding-top: 90px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(17, 16, 14, 0.92), rgba(17, 16, 14, 0.65) 58%, rgba(17, 16, 14, 0.2)),
      url("assets/gallery/artwork-18.webp") center / cover no-repeat;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 76px 0;
  }

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

  .gallery-item,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
    min-height: 360px;
  }
}
