/* ---------- Tokens ---------- */
:root {
  --ink: #37323d;
  --plum: #5b5560;
  --plum-deep: #453f4c;
  --sage: #8f9a70;
  --sage-deep: #7a8560;
  --blush: #cf9f8d;
  --blush-deep: #bd8672;
  --cream: #faf5f0;
  --cream-deep: #f1e7de;
  --surface: #ffffff;
  --line: rgba(55, 50, 61, 0.12);
  --shadow: 0 1.2rem 3rem rgba(55, 50, 61, 0.14);

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Work Sans", ui-sans-serif, system-ui, sans-serif;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #ece6ea;
    --plum: #c8bfce;
    --plum-deep: #ada2b6;
    --sage: #aab88a;
    --sage-deep: #94a374;
    --blush: #dba996;
    --blush-deep: #e2b8a5;
    --cream: #221e26;
    --cream-deep: #2a2530;
    --surface: #2a2530;
    --line: rgba(236, 230, 234, 0.12);
    --shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --ink: #ece6ea;
  --plum: #c8bfce;
  --plum-deep: #ada2b6;
  --sage: #aab88a;
  --sage-deep: #94a374;
  --blush: #dba996;
  --blush-deep: #e2b8a5;
  --cream: #221e26;
  --cream-deep: #2a2530;
  --surface: #2a2530;
  --line: rgba(236, 230, 234, 0.12);
  --shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.45);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --ink: #37323d;
  --plum: #5b5560;
  --plum-deep: #453f4c;
  --sage: #8f9a70;
  --sage-deep: #7a8560;
  --blush: #cf9f8d;
  --blush-deep: #bd8672;
  --cream: #faf5f0;
  --cream-deep: #f1e7de;
  --surface: #ffffff;
  --line: rgba(55, 50, 61, 0.12);
  --shadow: 0 1.2rem 3rem rgba(55, 50, 61, 0.14);
  color-scheme: light;
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.section-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 5.5rem 1.75rem;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 2.75rem;
  font-style: italic;
  font-weight: 500;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  margin: 0 0 0.9rem;
}
.eyebrow-dark { color: var(--sage-deep); }
.eyebrow-light { color: var(--cream); opacity: 0.85; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.btn-primary {
  background: var(--blush);
  color: #2b2530;
  border-color: var(--blush);
}
.btn-primary:hover { background: var(--blush-deep); border-color: var(--blush-deep); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 245, 240, 0.55);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(250, 245, 240, 0.08); }

.btn-nav {
  background: var(--plum);
  color: var(--cream);
  border-color: var(--plum);
  padding: 0.65rem 1.4rem;
}
.btn-nav:hover { background: var(--plum-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
}
.header-inner {
  max-width: 78rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.1rem 1.75rem;
}
.brand { display: flex; align-items: center; }
.brand-mark { height: 3.1rem; width: auto; filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(0,0,0,0.35)); }

.nav {
  display: flex;
  gap: 2.1rem;
  margin-left: auto;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a {
  text-decoration: none;
  color: var(--cream);
  opacity: 0.9;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}
.nav a:hover { opacity: 1; border-color: currentColor; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.4rem;
  height: 2.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
  border-radius: 1px;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--plum-deep);
}
.nav-mobile a {
  padding: 1rem 1.75rem;
  text-decoration: none;
  color: var(--cream);
  border-bottom: 1px solid rgba(250,245,240,0.12);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
}
.nav-mobile .btn { margin: 1rem 1.75rem; }

.site-header.is-open .nav-mobile { display: flex; }
.site-header.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header.scrolled { background: rgba(43, 37, 48, 0.92); backdrop-filter: blur(10px); box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .nav { display: none; }
  .btn-nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    url("https://images.unsplash.com/photo-1632345031435-8727f6897d53?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(34,30,38,0.55) 0%, rgba(34,30,38,0.72) 55%, rgba(34,30,38,0.88) 100%);
  z-index: -1;
}

.frame {
  position: absolute;
  width: 5.5rem;
  height: 5.5rem;
  border-color: rgba(250, 245, 240, 0.55);
  pointer-events: none;
  z-index: 3;
}
.frame-tl { top: 1.75rem; left: 1.75rem; border-top: 1.5px solid; border-left: 1.5px solid; }
.frame-br { bottom: 1.75rem; right: 1.75rem; border-bottom: 1.5px solid; border-right: 1.5px solid; }
.why-us .frame { border-color: rgba(55, 50, 61, 0.35); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--cream);
  padding: 0 1.5rem;
  max-width: 46rem;
}
.hero-content .eyebrow { color: var(--blush); }
.hero h1 {
  font-size: clamp(3.2rem, 9vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  color: var(--cream);
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-tag {
  margin: 1.6rem auto 0;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(250, 245, 240, 0.92);
  max-width: 34rem;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1.4rem;
  height: 2.4rem;
  border: 1.5px solid rgba(250,245,240,0.6);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-cue span {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--cream);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(9px); }
  100% { opacity: 0; transform: translateY(9px); }
}
@media (prefers-reduced-motion: reduce) {
  .scroll-cue span { animation: none; }
}

/* ---------- Services ---------- */
.services { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 2.1rem 1.75rem;
  border-radius: 2px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 {
  font-size: 1.4rem;
  font-style: italic;
  color: var(--sage-deep);
  margin-bottom: 0.7rem;
}
.service-card p { font-size: 0.95rem; opacity: 0.85; }

/* ---------- Why us ---------- */
.why-us {
  position: relative;
  background: var(--sage);
  color: var(--cream);
  isolation: isolate;
}
@media (prefers-color-scheme: dark) { .why-us { background: var(--sage-deep); } }
:root[data-theme="dark"] .why-us { background: var(--sage-deep); }
:root[data-theme="light"] .why-us { background: var(--sage); }

.why-inner { text-align: center; max-width: 46rem; }
.why-statement {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.45;
  color: var(--cream);
}

/* ---------- Gallery ---------- */
.gallery { background: var(--cream-deep); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 32rem;
}
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-tall { grid-row: 1 / 3; }

@media (max-width: 700px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery-tall { grid-row: auto; height: 16rem; }
  .gallery-item:not(.gallery-tall) { height: 12rem; }
}

/* ---------- Find us ---------- */
.find-us { background: var(--cream); }
.find-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.find-copy { margin: 1.4rem 0 2rem; opacity: 0.85; max-width: 30rem; }
.find-map {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.find-map iframe { width: 100%; height: 100%; border: 0; }

@media (max-width: 800px) {
  .find-inner { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--plum-deep);
  color: var(--cream);
}
.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 3rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.footer-mark { height: 3.5rem; width: auto; opacity: 0.95; filter: brightness(0) invert(1); }
.footer-fb {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--blush);
  border-bottom: 1px solid transparent;
}
.footer-fb:hover { border-color: var(--blush); }
.footer-fine { font-size: 0.78rem; opacity: 0.65; }
