:root {
  --ink: #11181a;
  --muted: #6b7779;
  --paper: #f3f0e9;
  --sand: #ddd4c4;
  --line: rgba(17, 24, 26, .14);
  --white: #fff;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 4vw;
  color: white;
  mix-blend-mode: normal;
  transition: .35s ease;
}
.site-header.scrolled {
  background: rgba(11, 17, 20, .88);
  backdrop-filter: blur(16px);
  padding-top: 17px;
  padding-bottom: 17px;
}
.brand {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .14em;
}
.brand span { opacity: .55; }
.nav { display: flex; gap: 32px; font-size: .75rem; letter-spacing: .12em; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.menu-toggle { display: none; background: none; border: 0; }

.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: white;
  background: #172326;
}
.hero-media {
  position: absolute; inset: 0;
  background: url("assets/sunset.webp") center 57% / cover no-repeat;
  transform: scale(1.02);
  animation: heroZoom 14s ease-out forwards;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 14, .20) 0%, rgba(5, 12, 14, .05) 40%, rgba(5, 12, 14, .72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 0 4vw 10vh;
}
.eyebrow, .section-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { opacity: .72; margin-bottom: 18px; }
h1, h2, blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: .98;
  margin: 0;
}
h1 { font-size: clamp(3.8rem, 8vw, 8rem); letter-spacing: -.04em; }
h1 em, h2 em { font-style: italic; font-weight: 500; }
.hero-copy {
  max-width: 490px;
  margin: 28px 0 34px;
  font-size: .98rem;
  color: rgba(255,255,255,.82);
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: .25s ease;
}
.button:hover { background: white; color: var(--ink); }
.scroll-hint {
  position: absolute;
  z-index: 2;
  right: 4vw;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .62rem;
  letter-spacing: .16em;
  opacity: .7;
}
.scroll-hint span { width: 42px; height: 1px; background: currentColor; }

.section { max-width: var(--max); margin: 0 auto; padding: 130px 4vw; }
.section-label { color: var(--muted); border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.intro-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  align-items: start;
  gap: clamp(48px, 7vw, 96px);
  margin-top: 52px;
  padding: clamp(34px, 5vw, 64px);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .34);
  box-shadow: 0 12px 36px rgba(17, 24, 26, .045);
}
h2 { font-size: clamp(3rem, 6vw, 6.5rem); letter-spacing: -.035em; }
.intro h2, .contact h2 {
  max-width: 590px;
  font-size: clamp(2.8rem, 4.8vw, 5.25rem);
  line-height: 1.02;
}
.intro-text {
  max-width: 520px;
  align-self: start;
  color: #4e595b;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.intro-text p {
  margin: 0;
  padding: 24px 0 25px;
  font-size: clamp(1.02rem, 1.25vw, 1.16rem);
  line-height: 1.78;
  text-wrap: pretty;
}
.intro-text p:first-child { color: var(--ink); }
.intro-text p + p {
  margin: 0;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.gallery { padding-top: 40px; }
.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  padding: 70px 0 65px;
}
.gallery-head p { max-width: 310px; color: var(--muted); font-size: .92rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 70px;
  gap: 18px;
}
.photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border: 1px solid rgba(17, 24, 26, .22);
  background: #faf8f3;
  box-shadow: 0 7px 22px rgba(17, 24, 26, .07);
}
.photo-open {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
  min-height: 0;
  overflow: hidden;
}
.photo img { transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .35s ease; }
.photo:hover img { transform: scale(1.035); filter: brightness(.92); }
.photo-open:focus-visible { outline: 3px solid white; outline-offset: -7px; }
.photo-feature { grid-column: span 7; grid-row: span 8; }
.photo-side { grid-column: span 5; grid-row: span 4; }
.photo-standard { grid-column: span 4; grid-row: span 5; }
.photo-medium { grid-column: span 5; grid-row: span 5; }
.photo-wide-small { grid-column: span 7; grid-row: span 5; }
.photo-wide { grid-column: span 8; grid-row: span 5; }
.photo-tall { grid-column: span 4; grid-row: span 8; }
.photo-panorama { grid-column: 1 / -1; grid-row: span 6; }
.photo figcaption {
  position: static;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 13px 17px 12px;
  border-top: 1px solid rgba(17, 24, 26, .16);
  color: var(--ink);
  background: #faf8f3;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: none;
}
.photo figcaption span { margin-right: 15px; color: var(--muted); opacity: 1; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 42px 7vw 28px;
  border: 0;
  color: white;
  background: rgba(6, 10, 12, .96);
}
.lightbox[open] { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 24px; }
.lightbox::backdrop { background: rgba(6, 10, 12, .86); }
.lightbox figure { min-width: 0; height: calc(100vh - 70px); margin: 0; display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 115px); object-fit: contain; }
.lightbox figcaption { display: flex; justify-content: center; gap: 16px; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox-number { opacity: .5; }
.lightbox-close, .lightbox-nav {
  border: 1px solid rgba(255,255,255,.35);
  color: white;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  transition: .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { color: var(--ink); background: white; }
.lightbox-close { position: absolute; top: 20px; right: 24px; width: 42px; height: 42px; font-size: 1.5rem; }
.lightbox-nav { width: 48px; height: 48px; font-size: 1.1rem; }

.quote {
  min-height: 58vh;
  display: grid;
  place-items: center;
  color: white;
  background:
    linear-gradient(rgba(8,17,20,.46), rgba(8,17,20,.65)),
    url("assets/dunes-sea.webp") center / cover;
  text-align: center;
}
.quote-inner { padding: 90px 4vw; }
.quote-mark { display: block; font: 5rem/0.6 Georgia, "Times New Roman", serif; opacity: .6; }
blockquote { font-size: clamp(2.6rem, 5vw, 5.5rem); letter-spacing: -.035em; }
.quote-line { display: block; width: 65px; height: 1px; margin: 36px auto 0; background: rgba(255,255,255,.6); }

.contact-card {
  max-width: 520px;
  padding: 24px 0 25px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: #4e595b;
}
.contact-card > p:first-child { margin: 0; font-size: 1.04rem; line-height: 1.75; color: var(--ink); }
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin: 24px 0 12px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--ink);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  color: var(--ink);
}
.email-link span { font-size: .8em; }
.small { font-size: .72rem; color: var(--muted); }

@media (max-width: 980px) {
  .intro-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    margin-top: 42px;
  }
  .intro h2, .contact h2 { max-width: 650px; }
  .intro-text, .contact-card { max-width: none; width: 100%; }
}

.footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 28px 4vw 40px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: .63rem;
  letter-spacing: .12em;
  color: var(--muted);
}
.footer a { color: var(--ink); }

@keyframes heroZoom { from { transform: scale(1.02); } to { transform: scale(1.08); } }

@media (max-width: 760px) {
  .site-header { padding: 20px 6vw; }
  .nav {
    position: absolute; top: 100%; right: 4vw;
    display: none; flex-direction: column; gap: 18px;
    padding: 22px 24px; background: rgba(11,17,20,.94);
  }
  .nav.open { display: flex; }
  .menu-toggle { display: grid; gap: 6px; padding: 6px; }
  .menu-toggle span { width: 25px; height: 1px; background: white; }
  .hero-content { padding: 0 6vw 12vh; }
  .hero-copy { font-size: .9rem; }
  .section { padding: 90px 6vw; }
  .intro-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 34px;
    padding: 28px 22px 30px;
  }
  .intro h2, .contact h2 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .intro-text { max-width: none; }
  .intro-text p { padding: 20px 0 21px; font-size: 1rem; line-height: 1.72; }
  .intro-text p + p { padding-top: 19px; }
  .gallery-head { display: block; padding: 50px 0 40px; }
  .gallery-head p { margin-top: 25px; }
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .photo-feature, .photo-side, .photo-standard, .photo-medium, .photo-wide-small,
  .photo-wide, .photo-tall, .photo-panorama { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .photo-tall { aspect-ratio: 3 / 4; }
  .photo-panorama { aspect-ratio: 16 / 9; }
  .photo figcaption { min-height: 46px; padding: 12px 14px 11px; }
  .lightbox { padding: 58px 16px 20px; }
  .lightbox[open] { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 48px; gap: 12px; }
  .lightbox figure { grid-column: 1 / -1; height: calc(100vh - 138px); }
  .lightbox-prev { justify-self: end; }
  .lightbox-next { justify-self: start; }
  .quote { min-height: 52vh; }
  .footer { padding-left: 6vw; padding-right: 6vw; flex-wrap: wrap; }
}
