:root {
  --bg: #f7f4ef;
  --bg-alt: #efe9e0;
  --surface: #ffffff;
  --ink: #1c1d1f;
  --ink-soft: #55524d;
  --line: #ddd5c9;
  --accent: #b07d45;
  --accent-dark: #8e6232;
  --dark: #17191b;
  --radius: 14px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em; text-decoration: none;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .65em 1.2em; font-size: .88rem; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

.link-arrow {
  font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px;
  display: inline-block; font-size: .95rem;
}
.link-arrow::after { content: " →"; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247,244,239,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: background .3s, border-color .3s, color .3s;
}
.site-header.is-over-hero { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.site-header.is-over-hero.is-scrolled { background: rgba(23,25,27,.85); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; border-radius: 50%; background: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; }
.brand-sub { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 4px 0; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 1px; background: currentColor; transition: right .25s;
}
.site-nav a:not(.btn):hover::after, .site-nav a[aria-current]::after { right: 0; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; color: inherit; position: relative; }
.nav-toggle span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform .25s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark); color: #fff; padding: 10px 20px 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  }
  .site-nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .site-nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.05rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .nav-cta { margin-top: 18px; }
  .brand-sub { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; display: flex; align-items: flex-end; }
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-slide.is-active .hero-img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.65) 100%); }
.hero-empty { background: linear-gradient(135deg, #2a2521, #17191b); }
.hero-content { position: relative; z-index: 2; padding-bottom: 130px; max-width: 1200px; }
.hero-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; margin: 0 0 .3em; max-width: 14ch; }
.hero-text { font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 46ch; opacity: .92; margin-bottom: 1.6em; }
.hero-slide .hero-title, .hero-slide .hero-text, .hero-slide .btn { opacity: 0; transform: translateY(18px); transition: opacity .8s .35s, transform .8s .35s; }
.hero-slide .hero-text { transition-delay: .5s; }
.hero-slide .btn { transition-delay: .65s; }
.hero-slide.is-active .hero-title, .hero-slide.is-active .hero-text, .hero-slide.is-active .btn { opacity: 1; transform: none; }
.hero-controls { position: absolute; left: 0; right: 0; bottom: 44px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 10px; }
.hero-dot { width: 34px; height: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: background .3s; }
.hero-dot.is-active { background: #fff; }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: transparent;
  color: #fff; font-size: 1.1rem; cursor: pointer; transition: background .2s;
}
.hero-arrows button:hover { background: rgba(255,255,255,.15); }
@media (max-width: 700px) { .hero-arrows { display: none; } .hero-content { padding-bottom: 100px; } }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding-top: 24px; }
.section-alt { background: var(--bg-alt); }
.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin-bottom: .9em; }
.section-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.08; margin: 0 0 .5em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.muted { color: var(--ink-soft); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.intro-text { font-size: 1.08rem; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 72px; border-top: 1px solid var(--line); }
.stat { padding: 32px 28px 0 0; }
.stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
.stat-value { font-family: var(--serif); font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1; color: var(--accent-dark); margin-bottom: 12px; }
.stat-label { color: var(--ink-soft); font-size: .95rem; max-width: 30ch; }
.stats-compact { margin-top: 64px; }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; gap: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Gallery cards ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.gallery-card { text-decoration: none; display: block; }
.gallery-card-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.gallery-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery-card:hover .gallery-card-img img { transform: scale(1.05); }
.gallery-card-body { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 16px 2px 0; }
.gallery-card-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0; line-height: 1.1; }
.gallery-card .count { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }

/* ---------- Video ---------- */
.video { background: var(--dark); color: #fff; }
.video .eyebrow { color: #d7a86e; }
.video .muted { color: rgba(255,255,255,.72); }
.video-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 60px; align-items: center; }
.video-frame { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-poster { width: 100%; height: 100%; border: 0; cursor: pointer; background-size: cover; background-position: center; position: relative; }
.video-poster::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.3); transition: background .2s; }
.video-poster:hover::before { background: rgba(0,0,0,.15); }
.play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: #fff; }
.play::after { content: ""; position: absolute; left: 31px; top: 24px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent var(--ink); }
@media (max-width: 860px) { .video-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- CTA ---------- */
.cta { background: var(--accent-dark); color: #fff; padding: 72px 0; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta .section-title { margin-bottom: .2em; }
.cta p { margin: 0; opacity: .88; max-width: 52ch; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta .btn-accent { background: #fff; color: var(--ink); }

/* ---------- Page head ---------- */
.page-head { padding: clamp(56px, 8vw, 96px) 0 32px; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.02; margin: 0 0 .3em; overflow-wrap: break-word; }
.page-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 62ch; }
.back-link { display: inline-block; text-decoration: none; font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }
.back-link:hover { color: var(--ink); }
.notice { display: inline-block; background: #fff3cd; color: #6b5100; padding: 8px 14px; border-radius: 8px; font-size: .9rem; }
.empty { color: var(--ink-soft); padding: 40px 0; }

/* ---------- Masonry + lightbox ---------- */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry-item { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: 10px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.masonry-item img { width: 100%; height: auto; transition: transform .6s, opacity .3s; }
.masonry-item:hover img { transform: scale(1.03); }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(12,12,12,.96); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: calc(100vw - 160px); max-height: calc(100vh - 100px); display: flex; flex-direction: column; align-items: center; }
.lb-figure img { max-width: 100%; max-height: calc(100vh - 130px); object-fit: contain; user-select: none; }
.lb-figure figcaption { color: rgba(255,255,255,.8); margin-top: 12px; font-size: .95rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; opacity: .75; transition: opacity .2s; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: 14px; right: 20px; font-size: 2.6rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2rem; width: 64px; height: 64px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-counter { position: absolute; top: 22px; left: 24px; color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: .08em; }
@media (max-width: 700px) {
  .lb-figure { max-width: 100vw; }
  .lb-nav { top: auto; bottom: 14px; transform: none; }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }
.prose { font-size: 1.1rem; color: var(--ink-soft); }
.prose p:first-child::first-letter { font-family: var(--serif); float: left; font-size: 4.2em; line-height: .85; padding: 6px 10px 0 0; color: var(--accent-dark); }
.prose p:last-child { font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.about-img { margin: 0; border-radius: var(--radius); overflow: hidden; position: sticky; top: calc(var(--header-h) + 24px); }
.about-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } .about-img { position: static; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; transition: border-color .2s; }
a.contact-card:hover { border-color: var(--accent); }
.contact-card span { display: block; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-dark); font-weight: 700; margin-bottom: 4px; }
.contact-card strong { font-weight: 600; font-size: 1.08rem; word-break: break-word; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 4vw, 40px); }
.form .field { margin-bottom: 18px; }
.form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; font: inherit; color: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176,125,69,.18); }
.form .has-error input, .form .has-error textarea { border-color: #c0392b; }
.form .error { color: #c0392b; font-size: .85rem; }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 16px; border-radius: 10px; margin-bottom: 20px; }
.alert-success { background: #e8f5e9; color: #1b5e20; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .form .field-row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 72px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 1.9rem; color: #fff; margin-bottom: 10px; }
.footer-text { max-width: 40ch; }
.footer-title { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: #fff; margin: 0 0 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover, .social a:hover { color: #fff; }
.social { display: flex; gap: 16px; margin-top: 16px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 22px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.2);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 28px; height: 28px; }

.page-404 { min-height: 60vh; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
