:root {
  --bg: #fafaf8;
  --ink: #1b1b1b;
  --muted: #6d6d6a;
  --line: #e2e1dc;
  --accent: #1b1b1b;
  --ok: #1f6b3a;
  --err: #a32121;
  --pad: clamp(20px, 5vw, 64px);
  --head-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head-h); }
body {
  margin: 0;
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; }
em { font-style: italic; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad);
  background: rgba(250, 250, 248, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand { text-decoration: none; letter-spacing: .28em; font-weight: 500; font-size: .95rem; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav a:hover { color: var(--ink); }

.menu-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s, top .25s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer;
  font: inherit; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem;
  padding: 1rem 2.2rem; text-decoration: none;
  background: var(--accent); color: #fff; border: 1px solid var(--accent);
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--accent); }
.btn:disabled { opacity: .5; cursor: wait; }
.btn-outline { background: transparent; color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #fff; }

/* Hero */
.hero {
  min-height: calc(80vh - var(--head-h));
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 1.8rem;
  padding: 6rem var(--pad);
}
.eyebrow { margin: 0; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 9vw, 120px) var(--pad); border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }

.filters { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.filter { background: none; border: 0; padding: .3rem 0; font: inherit; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); cursor: pointer; border-bottom: 1px solid transparent; }
.filter:hover { color: var(--ink); }
.filter.is-active { color: var(--ink); border-bottom-color: var(--ink); }

/* Gallery (masonry) */
.gallery { columns: 3 280px; column-gap: 18px; }
.item { margin: 0 0 18px; break-inside: avoid; position: relative; overflow: hidden; cursor: zoom-in; background: #ddd; }
.item img { width: 100%; transition: transform .6s ease, opacity .3s; }
.item:hover img { transform: scale(1.04); }
.item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem;
  color: #fff; font-size: .9rem; letter-spacing: .06em;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s;
}
.item:hover figcaption, .item:focus-visible figcaption { opacity: 1; transform: none; }
.item.is-hidden { display: none; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.lead { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.7rem; line-height: 1.35; margin: 0 0 1.4rem; }
.about-text p { max-width: 58ch; color: #3b3b39; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: 2rem 3rem; padding: 0; margin: 2.2rem 0 0; }
.facts strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.6rem; font-weight: 500; line-height: 1; }
.facts span { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Where */
.where { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: stretch; }
address { font-style: normal; margin-bottom: 1.4rem; font-size: 1.1rem; }
.hours { color: #3b3b39; }
.where-info a:not(.btn) { text-decoration-color: var(--line); text-underline-offset: 4px; }
.where-info .btn { margin-top: 1rem; }
.map { min-height: 380px; border: 1px solid var(--line); filter: grayscale(.85) contrast(.95); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.contact-intro p { max-width: 38ch; color: #3b3b39; }
.form { display: grid; gap: 1.4rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form label { display: grid; gap: .4rem; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  font: inherit; font-size: 1.05rem; letter-spacing: 0; text-transform: none; color: var(--ink);
  width: 100%; padding: .8rem .9rem; background: #fff; border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--ink); }
.form .invalid { border-color: var(--err) !important; }
.check { display: flex !important; gap: .8rem; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-size: .9rem !important; line-height: 1.5; }
.check input { margin-top: .25rem; width: 18px; height: 18px; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* Footer */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 2rem var(--pad); border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.site-footer p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(10,10,10,.94); display: flex; align-items: center; justify-content: center; padding: 3rem 4rem; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #ddd; margin-top: .9rem; font-size: .95rem; letter-spacing: .06em; }
.lb-close, .lb-nav { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 2.6rem; line-height: 1; padding: .5rem 1rem; opacity: .75; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { top: .6rem; right: .8rem; }
.lb-prev { left: .4rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .4rem; top: 50%; transform: translateY(-50%); }

/* Responsive */
@media (max-width: 860px) {
  .about, .where, .contact { grid-template-columns: 1fr; }
  .about-photo { order: -1; }
  .about-photo img { aspect-ratio: 4 / 3; }
  .row { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: var(--head-h); left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.is-open { max-height: 320px; }
  .nav a { padding: 1rem var(--pad); border-top: 1px solid var(--line); }
  .lightbox { padding: 3.5rem .5rem 2rem; }
  .lb-nav { top: auto; bottom: .4rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
