:root {
  --ground: #f5f1ea;
  --ground-alt: #ece4d6;
  --ink: #2a2420;
  --ink-soft: #5c5248;
  --clay: #a9633f;
  --clay-dark: #8a4d2f;
  --line: #ddd2bf;
  --max-width: 1120px;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* Clay-grain texture, laid over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.12s; }

.gallery-item.reveal:nth-child(2) { transition-delay: 0.1s; }
.gallery-item.reveal:nth-child(3) { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 20px;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

p { margin: 0 0 16px; color: var(--ink-soft); }

a { color: var(--clay-dark); }

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--clay);
  color: #fff;
}
.btn-primary:hover { background: var(--clay-dark); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--ground); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245, 241, 234, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a:not(.btn) {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
}
.main-nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero {
  padding: 90px 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(169, 99, 63, 0.10), transparent 60%),
    var(--ground);
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.hero-copy {
  max-width: 560px;
  text-align: left;
  flex: 1 1 420px;
}

.eyebrow, .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--clay-dark);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-sub {
  font-size: 1.15rem;
  max-width: 480px;
  margin: 0 0 32px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-video {
  flex: 0 0 auto;
  line-height: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(42, 36, 32, 0.12);
}

.hero-video iframe {
  display: block;
  max-width: 100%;
}

@media (max-width: 840px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-copy { text-align: center; }
  .hero-cta { justify-content: center; }
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: var(--ground-alt); }

.section h2 { text-align: center; }
.section-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  font-size: 1.05rem;
}
.section .section-eyebrow { text-align: center; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
}

.gallery-item figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.placeholder-block {
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  background: repeating-linear-gradient(45deg, var(--ground-alt), var(--ground-alt) 12px, var(--ground) 12px, var(--ground) 24px);
  font-size: 0.95rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.about-text .section-eyebrow,
.about-text h2 { text-align: left; }

.about-portrait img {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
}

/* Contact */
.contact-section { text-align: center; }
.contact-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 840px) {
  .gallery { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-text .section-eyebrow, .about-text h2 { text-align: center; }
  .about-text p { text-align: center; }
  .main-nav { gap: 16px; }
  .main-nav a:not(.btn) { display: none; }
}
