/* ---------- Tokens ---------- */
:root {
  --ink: #0b1f2a;
  --ink-soft: #2a3f4a;
  --paper: #f7f4ee;
  --paper-2: #efeae0;
  --line: #d9d2c4;
  --accent: #1f4a5c;
  --accent-deep: #0d2a36;
  --max: 1240px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}

.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: var(--ink);
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  background-image:
    linear-gradient(180deg, rgba(8,28,38,0.35) 0%, rgba(8,28,38,0.15) 35%, rgba(8,28,38,0.55) 100%),
    url("https://images.unsplash.com/photo-1493558103817-58b2924bce98?auto=format&fit=crop&w=2400&q=80");
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 40px 40px;
}

.hero__overlay { display: none; }

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.nav__brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.04em;
}

.nav__links {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav__links a {
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.nav__links a:hover { opacity: 1; }

.hero__content {
  text-align: center;
  margin: auto;
  padding: 0 20px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(60px, 11vw, 160px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0 0 18px;
}

.hero__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: 0.02em;
  margin: 0;
  opacity: 0.92;
}

.hero__scroll {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}

/* ---------- About ---------- */
.about {
  padding: clamp(80px, 12vw, 160px) 28px;
  text-align: center;
  background: var(--paper);
}
.about__inner {
  max-width: 880px;
  margin: 0 auto;
}

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.feature {
  padding: clamp(40px, 5vw, 72px) clamp(24px, 3vw, 48px);
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: none; }

.feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  margin: 0 0 14px;
  color: var(--accent-deep);
}

.feature p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Gallery ---------- */
.gallery {
  padding: clamp(80px, 12vw, 160px) 28px;
  max-width: var(--max);
  margin: 0 auto;
}

.gallery__header {
  text-align: center;
  margin: 0 auto clamp(40px, 6vw, 72px);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--paper-2);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ---------- Contact ---------- */
.contact {
  background: var(--accent-deep);
  color: #f4ece0;
  text-align: center;
  padding: clamp(90px, 12vw, 160px) 28px;
}

.contact .eyebrow { color: #b8d4dc; }

.contact .section-title { color: #ffffff; }

.contact .lead { color: rgba(244,236,224,0.78); }

.contact__email {
  display: inline-block;
  margin-top: 36px;
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: 0.01em;
  border-bottom: 1px solid rgba(244,236,224,0.4);
  padding-bottom: 6px;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.contact__email:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: #061923;
  color: rgba(244,236,224,0.55);
  padding: 28px 32px;
  font-size: 13px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__brand {
  font-family: var(--serif);
  font-size: 18px;
  color: #f4ece0;
  letter-spacing: 0.04em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { padding: 20px 22px 28px; }
  .nav__links { gap: 18px; font-size: 11px; }

  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child { border-bottom: none; }

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery__item--wide { grid-column: span 2; }
  .gallery__item--tall { grid-row: span 1; }
}

@media (max-width: 560px) {
  .nav__links { display: none; }

  .gallery__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .gallery__item--wide { grid-column: span 1; }
}
