:root {
  --bg: #f6f1ea;
  --bg-deep: #efe7dc;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a4540;
  --muted: #8a8278;
  --rule: #d9cfc2;
  --accent: #6e2a26;
  --accent-soft: #c2867d;
  --shadow: 0 18px 40px -20px rgba(28, 26, 23, .25);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 .4em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 500;
}
h1 em { font-style: italic; color: var(--accent); font-weight: 500; }
h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.15;
}
h3 { font-size: 1.35rem; line-height: 1.25; }

p { margin: 0 0 1em; }
.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 52ch; }

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .75rem;
  font-weight: 500;
  color: var(--accent);
  margin: 0 0 1.2em;
}
.eyebrow.centered, h2.centered { text-align: center; }
h2.centered { max-width: 22ch; margin-left: auto; margin-right: auto; }

.muted { color: var(--muted); }
.small { font-size: .85rem; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: rgba(246, 241, 234, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: inherit; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .04em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.brand-job { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 1.6rem; }
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .92rem;
  position: relative;
  padding: .3rem 0;
}
.nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.burger { display: none; background: none; border: 0; width: 36px; height: 32px; cursor: pointer; padding: 0; }
.burger span { display: block; height: 1.5px; background: var(--ink); margin: 6px 0; transition: .2s; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
  gap: 0;
}
.hero-media {
  position: relative;
  overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.95);
}
.hero-content {
  padding: clamp(2rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  padding: .9rem 1.6rem;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* ---------- ABOUT ---------- */
.about { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.about-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about-image { margin: 0; }
.about-image img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-image figcaption {
  font-family: var(--serif);
  font-style: italic;
  text-align: center;
  margin-top: 1rem;
  color: var(--muted);
}

/* ---------- CRAFT ---------- */
.craft {
  background: var(--bg-deep);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}
.craft-grid {
  max-width: 1200px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.craft-card {
  background: var(--bg-deep);
  padding: 2.2rem 1.8rem;
  transition: background .25s;
}
.craft-card:hover { background: var(--paper); }
.craft-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--accent);
  display: block;
  margin-bottom: .6rem;
}
.craft-card h3 { margin-bottom: .4em; }
.craft-card p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- GALLERY ---------- */
.gallery { padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); }
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin: 2rem 0 3rem;
}
.filter {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .06em;
  padding: .55rem 1.1rem;
  cursor: pointer;
  transition: all .2s;
  border-radius: 999px;
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
}
.tile {
  margin: 0;
  overflow: hidden;
  background: var(--bg-deep);
  aspect-ratio: 4/5;
  box-shadow: var(--shadow);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .3s;
}
.tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.tile-feature { grid-column: span 2; aspect-ratio: 16/10; }
@media (max-width: 600px) {
  .tile-feature { grid-column: span 1; aspect-ratio: 4/5; }
}

/* ---------- CONTACT ---------- */
.contact {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}
.contact h2, .contact .eyebrow { color: var(--bg); }
.contact .eyebrow { color: var(--accent-soft); }
.contact .lede { color: #d6cfc4; }

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info {
  list-style: none;
  padding: 0; margin: 2rem 0 0;
  border-top: 1px solid #3a342d;
}
.contact-info li {
  padding: 1rem 0;
  border-bottom: 1px solid #3a342d;
  display: flex;
  gap: 1.4rem;
  font-size: .95rem;
}
.contact-info li span {
  min-width: 80px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--accent-soft);
}

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.contact-form label {
  display: flex; flex-direction: column; gap: .35rem;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #d6cfc4;
}
.contact-form .opt { text-transform: none; letter-spacing: 0; color: var(--muted); font-size: .82rem; }
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #3a342d;
  padding: .7rem 0;
  color: var(--bg);
  font-family: var(--sans);
  font-size: 1rem;
  width: 100%;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-soft);
}
.contact-form .btn {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  margin-top: .5rem;
  align-self: flex-start;
}
.contact-form .btn:hover { background: transparent; color: var(--bg); }

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 2rem clamp(1rem, 4vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid var(--rule);
  background: var(--bg);
}
.site-footer .brand-name { font-size: 1.1rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-media { aspect-ratio: 4/3; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .brand-job { display: none; }
  .nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    padding: .5rem 0;
    transform: translateY(-200%);
    transition: transform .3s ease;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a {
    padding: 1rem 2rem;
    border-top: 1px solid var(--rule);
  }
  .nav a:first-child { border-top: 0; }
  .burger { display: block; }
}
