:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #7a7a7a;
  --line: #e8e8e8;
  --serif: "Literata", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.015em;
}

/* Small sans-serif labels: buttons, nav, captions */

.label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: opacity .15s;
}

.button:hover { opacity: .75; }

.button--big {
  padding: 18px 40px;
  font-size: 16px;
}

/* Hero */

.hero {
  position: relative;
  height: min(80vh, 860px);
  min-height: 560px;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 0 var(--pad) clamp(40px, 6vw, 80px);
}

.hero__label {
  margin: 0 0 18px;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.35;
  text-wrap: balance;
  opacity: .85;
}

.hero h1 {
  font-weight: 700;
  font-size: clamp(56px, 9.5vw, 144px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-top: clamp(32px, 4vw, 48px);
}

.button--light {
  background: #fff;
  color: var(--ink);
}

.hero__social {
  display: flex;
  gap: 22px;
  font-family: var(--sans);
  font-size: 15px;
  opacity: .85;
}

.hero__social a { transition: opacity .15s; }
.hero__social a:hover { opacity: .7; }

/* Slideshow (hero background) */

.slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1a1a1a;
}

/* Darkening so white text reads on any photo */
.slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.45), rgba(0,0,0,0) 60%),
    linear-gradient(to top, rgba(0,0,0,.7), rgba(0,0,0,.25) 45%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}

.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.slideshow img.is-active { opacity: 1; }

/* About */

.about {
  padding: clamp(56px, 6vw, 88px) var(--pad) 0;
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 120px);
  align-items: start;
}

.about h2 {
  font-size: clamp(32px, 3.4vw, 50px);
  margin-bottom: 32px;
}

.about__lead p {
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.55;
  margin: 0 0 22px;
}

.about__now h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 12px;
}

.about__now ul {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  font-size: 17px;
  line-height: 1.5;
}

.about__now ul:last-child { margin-bottom: 0; }

.about__now li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.about__now li:last-child { border-bottom: 1px solid var(--line); }

/* Gallery */

.gallery {
  padding: clamp(72px, 7vw, 104px) var(--pad) 0;
}

.gallery__grid {
  columns: 3;
  column-gap: 16px;
}

.gallery__grid a {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  cursor: zoom-in;
}

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

/* Join */

.join {
  padding: clamp(88px, 8vw, 120px) var(--pad) clamp(72px, 7vw, 104px);
  text-align: center;
}

.join h2 {
  font-weight: 700;
  font-size: clamp(44px, 7vw, 104px);
  letter-spacing: -0.03em;
  line-height: 1;
}

.join > p {
  margin: 32px auto 44px;
  max-width: 540px;
  font-size: clamp(18px, 1.4vw, 21px);
}

.join__social {
  margin: 44px auto 0 !important;
  font-family: var(--sans);
  font-size: 15px !important;
  color: var(--muted);
}

.join__social a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.join__social a:hover { border-color: var(--ink); }

/* Footer */

.footer {
  padding: 28px var(--pad) 36px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 14px;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-weight: 500;
}

.footer__links a:hover { color: var(--muted); }

.footer__note { margin: 0; color: var(--muted); }

/* Lightbox */

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
  cursor: zoom-out;
}

.lightbox:not([open]) { display: none; }

.lightbox::backdrop { background: rgba(10, 10, 10, .94); }

.lightbox img {
  max-width: 94vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.lightbox__close {
  position: fixed;
  top: 16px;
  right: 24px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: .7;
}

.lightbox__close:hover { opacity: 1; }

/* Utilities */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Responsive */

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2; }
}

@media (max-width: 600px) {
  body { font-size: 17px; }
  .hero { height: 58svh; min-height: 420px; }
  .hero__content { padding-bottom: 32px; }
  .hero__label { margin-bottom: 14px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .hero__actions { margin-top: 24px; gap: 16px; }
  .about { gap: 40px; }
  .about h2 { margin-bottom: 20px; }
  .gallery__grid { columns: 1; }
  .footer { flex-direction: column; }
}
