:root {
  --ink: #1d2a22;
  --ink-soft: #4f5d54;
  --paper: #f5f2ea;
  --paper-2: #ebe6d9;
  --forest: #1f3b2d;
  --moss: #4d7a5b;
  --clay: #b7663d;
  --line: rgba(29, 42, 34, 0.14);
  --radius: 14px;
  --gutter: 1.25rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

/* Animated background (canvas drawn by script.js) */
#flow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.55;
  pointer-events: none;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem var(--gutter);
  background: rgba(245, 242, 234, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.site-header nav { display: flex; gap: 1.1rem; align-items: center; }
.site-header nav a { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.site-header nav a:hover { color: var(--forest); text-decoration: underline; }
.nav-cta {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--forest);
  border-radius: 999px;
  color: var(--forest) !important;
}
.nav-cta:hover { background: var(--forest); color: #fff !important; text-decoration: none !important; }

.site-footer img { margin: 0 auto 0.75rem; height: 56px; width: auto; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem var(--gutter) 2.5rem;
}
.eyebrow {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.12;
  margin: 0 0 1.1rem;
  font-weight: 400;
  color: var(--forest);
}
.lead { font-size: 1.12rem; color: var(--ink-soft); margin: 0 0 1.75rem; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: 0 24px 60px -24px rgba(31, 59, 45, 0.45);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--moss); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }

/* Sections */
main { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 4rem 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: var(--forest);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
.muted { color: var(--ink-soft); margin: 0.5rem 0 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
}
.about-grid p { font-size: 1.08rem; color: var(--ink-soft); margin: 0 0 1rem; }
.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.facts li {
  padding: 1rem 1.1rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink-soft);
}
.facts span {
  display: block;
  font-family: Georgia, serif;
  font-size: 1.6rem;
  color: var(--forest);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery figure { margin: 0; }
.gallery figure.wide { grid-column: span 2; }
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: zoom-in;
  transition: transform 0.35s ease;
}
.gallery figure.wide img { aspect-ratio: 8 / 3; }
.gallery img:hover { transform: scale(1.015); }
.gallery figcaption {
  margin-top: 0.4rem;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -22px rgba(31, 59, 45, 0.5);
  border-color: var(--moss);
}
.card-label {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}
.card-value { font-size: 1.15rem; color: var(--forest); }
.card-value.handle { display: inline-flex; align-items: center; gap: 0.5rem; }
.ig-icon { width: 22px; height: 22px; flex-shrink: 0; }

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem var(--gutter);
  text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(10, 18, 13, 0.92);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius);
}
.lightbox-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Tablet and phone */
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2rem; }
  .hero-photo img { aspect-ratio: 4 / 3; border-radius: var(--radius); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure.wide { grid-column: span 2; }
}

@media (max-width: 600px) {
  .site-header { flex-direction: column; gap: 0.6rem; padding: 0.8rem var(--gutter); }
  .site-header nav { gap: 0.9rem; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery figure.wide { grid-column: span 1; }
  .gallery figure.wide img { aspect-ratio: 4 / 3; }
  .section { padding: 3rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .gallery img { transition: none; }
}
