@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --cream: #f6f1ea;
  --cream-2: #efe7db;
  --ink: #262220;
  --ink-soft: #514b46;
  --gold: #ad8a52;
  --gold-soft: #cbb083;
  --line: #ded3c2;
  --white: #ffffff;
  --shadow: 0 20px 50px rgba(38, 34, 32, 0.12);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, .display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.site-header.solid {
  background: rgba(246, 241, 234, 0.95);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(38,34,32,0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 28px;
  line-height: 1;
  color: var(--ink);
}
.logo small {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-top: 4px;
}
.site-header.on-dark:not(.solid) .logo,
.site-header.on-dark:not(.solid) .logo small { color: var(--white); }
.site-header.on-dark:not(.solid) .nav a { color: var(--white); }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding-bottom: 4px;
}
.nav a.active, .nav a:hover { color: var(--gold); }
.nav .btn { margin-left: 6px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px; height: 1.5px; background: currentColor;
}
.site-header.on-dark:not(.solid) .menu-toggle { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--white); }
.btn.solid { background: var(--ink); color: var(--white); }
.btn.solid:hover { background: transparent; color: var(--ink); }
.btn.on-dark { border-color: rgba(255,255,255,0.7); color: var(--white); }
.btn.on-dark:hover { background: var(--white); color: var(--ink); }
.btn.gold { border-color: var(--gold); background: var(--gold); color: var(--white); }
.btn.gold:hover { background: transparent; color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #1b1815;
}
.hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,16,0.45) 0%, rgba(20,18,16,0.35) 45%, rgba(20,18,16,0.65) 100%);
}
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 0 20px; }
.hero-content .eyebrow { color: var(--gold-soft); }
.hero-content h1 {
  color: var(--white);
  font-size: clamp(42px, 8vw, 88px);
  font-style: italic;
  margin: 14px 0 18px;
}
.hero-content p {
  max-width: 520px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.88);
  font-weight: 300;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.75); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue::after {
  content: ""; display: block; width: 1px; height: 34px; background: rgba(255,255,255,0.6);
  margin: 10px auto 0; animation: cue 2s infinite ease-in-out;
}
@keyframes cue { 0%,100%{opacity:.2; transform: scaleY(.6); } 50%{opacity:1; transform: scaleY(1);} }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #1b1815;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content:""; position:absolute; inset:0; background: rgba(20,18,16,0.5); }
.page-hero-content { position: relative; z-index: 2; color: var(--white); }
.page-hero-content h1 { color: var(--white); font-style: italic; font-size: clamp(36px, 6vw, 58px); margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 110px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 12px 0 16px; font-style: italic; }
.section-head p { color: var(--ink-soft); }

.intro-block { text-align: center; max-width: 720px; margin: 0 auto; }
.intro-block .display { font-size: clamp(24px, 3vw, 32px); font-style: italic; line-height: 1.5; color: var(--ink); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
}
.service-card {
  position: relative;
  background: var(--ink);
  aspect-ratio: 3/4;
  overflow: hidden;
  color: var(--white);
}
.service-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; transition: transform 0.6s ease, opacity 0.4s ease;
}
.service-card:hover img { transform: scale(1.08); opacity: 0.35; }
.service-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 22px;
  z-index: 2;
}
.service-card .num { font-size: 11px; letter-spacing: 0.25em; color: var(--gold-soft); }
.service-card h3 { color: var(--white); font-style: italic; font-size: 24px; margin-top: 8px; }

/* Featured grid (fixed-tile grid — cheap to lay out, no reflow cost) */
.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  grid-auto-rows: 320px;
  gap: 14px;
}
.masonry figure {
  margin: 0; overflow: hidden; position: relative;
  cursor: zoom-in;
  background: var(--cream-2);
}
.masonry img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.masonry figure:hover img { transform: scale(1.05); }
.center-cta { text-align: center; margin-top: 50px; }

/* Values / why choose */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value {
  text-align: center;
  padding: 10px;
}
.value .glyph {
  width: 56px; height: 56px; margin: 0 auto 20px;
  border: 1px solid var(--gold-soft); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 22px;
}
.value h3 { font-size: 22px; margin-bottom: 10px; font-style: italic; }
.value p { color: var(--ink-soft); font-size: 15px; }

/* CTA banner */
.cta-banner {
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  background: #1b1815;
}
.cta-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; }
.cta-banner::after { content:""; position:absolute; inset:0; background: rgba(20,18,16,0.35); }
.cta-banner .inner { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--white); font-style: italic; font-size: clamp(30px,4vw,46px); margin-bottom: 26px; }
.cta-banner .hero-actions { justify-content: center; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid .photo-stack { position: relative; }
.about-grid .photo-stack img { border-radius: 2px; box-shadow: var(--shadow); }
.about-grid p { color: var(--ink-soft); margin: 16px 0; }

.quote-block {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 70px 0;
}
.quote-block p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 34px);
  color: var(--ink);
  line-height: 1.6;
}
.quote-block .eyebrow { display: block; margin-top: 22px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}
.contact-info .item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.contact-info .item .tag {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  width: 110px; flex-shrink: 0; padding-top: 3px;
}
.contact-info .item a, .contact-info .item span { font-size: 17px; }
.contact-info .item a:hover { color: var(--gold); }

form.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft);
  margin-bottom: 8px; display: block;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 2px;
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form button { align-self: flex-start; margin-top: 8px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); cursor: pointer; }
.contact-form button:hover { background: transparent; color: var(--ink); }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: -6px; }

.map-wrap { margin-top: 90px; text-align: center; }

/* Gallery page */
.gallery-toolbar {
  display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.gallery-toolbar button {
  background: none; border: 1px solid var(--line); padding: 9px 20px;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  color: var(--ink-soft); transition: all 0.25s ease;
}
.gallery-toolbar button.active, .gallery-toolbar button:hover { border-color: var(--gold); color: var(--gold); }

.full-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  grid-auto-rows: 260px;
  gap: 12px;
}
.full-gallery figure { margin: 0; overflow: hidden; cursor: zoom-in; background: var(--cream-2); }
.full-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease, opacity 0.5s ease; opacity: 0; }
.full-gallery img.loaded { opacity: 1; }
.full-gallery figure:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(15,13,12,0.96);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw; max-height: 84vh; object-fit: contain;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
  position: absolute; background: none; border: none; color: var(--white);
  cursor: pointer; opacity: 0.75; transition: opacity 0.2s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { opacity: 1; }
.lightbox .lb-close { top: 24px; right: 28px; font-size: 30px; line-height: 1; }
.lightbox .lb-prev, .lightbox .lb-next { top: 50%; transform: translateY(-50%); font-size: 40px; padding: 10px 16px; }
.lightbox .lb-prev { left: 10px; }
.lightbox .lb-next { right: 10px; }
.lightbox .lb-count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 12px; letter-spacing: 0.2em;
}

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 70px 0 30px; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px;
  padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-grid .logo { color: var(--white); }
.footer-grid .logo small { color: var(--gold-soft); }
.footer-grid p { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  color: var(--white); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  font-family: 'Jost', sans-serif; font-weight: 500; margin-bottom: 20px;
}
.footer-col a, .footer-col span { display: block; font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  padding-top: 26px; font-size: 12px; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* Utility */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .full-gallery { grid-auto-rows: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    background: var(--cream); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px; transition: right 0.4s ease; box-shadow: -10px 0 40px rgba(0,0,0,0.15); }
  .nav.open { right: 0; }
  .nav .btn { margin-left: 0; margin-top: 10px; }
  .menu-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .full-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); grid-auto-rows: 180px; }
  .masonry { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); grid-auto-rows: 220px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  section { padding: 70px 0; }
}
