:root {
  --bg: #f4f1ec;
  --bg-2: #fffdf9;
  --ink: #1c1a17;
  --muted: #5c574e;
  --line: #ddd6ca;
  --accent: #2a3d47;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
p { margin: 0 0 1em; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid var(--accent);
  background:
    linear-gradient(var(--accent), var(--accent)) 6px 4px / 2px 20px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 20px 4px / 2px 20px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 6px 13px / 16px 2px no-repeat;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: Outfit, sans-serif; font-weight: 500; font-size: 14px; letter-spacing: 0.16em; text-transform: uppercase; }
.brand-text em { font-style: normal; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

.site-nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.site-nav a:hover, .site-nav .current-menu-item a { color: var(--ink); }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background:
    linear-gradient(var(--ink), var(--ink)) center 14px / 18px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center 20px / 18px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center 26px / 18px 1.5px no-repeat;
}

.hero {
  background: var(--bg-2);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.15fr);
  align-items: center;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 36rem;
  margin-left: auto;
  padding: clamp(40px, 5vw, 80px) clamp(28px, 4vw, 64px);
}
.hero-copy .eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.hero-copy h1 { font-size: clamp(36px, 4.4vw, 58px); max-width: 12ch; }
.hero-copy .lede { font-size: 18px; color: var(--muted); max-width: 38ch; }
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background: #ece8e1;
  padding: clamp(20px, 3vw, 48px);
  overflow: visible;
}
.hero-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100svh - 8.5rem);
  object-fit: contain;
  object-position: center;
}
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--accent);
  padding: 12px 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.btn-solid { background: var(--accent); color: #f4f1ec; }
.btn-ghost { background: transparent; }

.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); }
.kicker {
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split img { width: 100%; background: #fff; }
.prose { max-width: 62ch; }
.prose h2 { font-size: clamp(32px, 4vw, 46px); }

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.card {
  display: block;
  text-decoration: none;
  background: var(--bg-2);
  border: 1px solid var(--line);
  min-height: 100%;
}
.card img { width: 100%; aspect-ratio: 4/5; object-fit: contain; background: #fff; }
.card-body { padding: 22px; }
.card h3 { font-size: 28px; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }

.page-hero { padding: 72px 0 12px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 60px); }
.page-hero p { color: var(--muted); max-width: 46ch; }

.detail { padding: 24px 0 96px; }
.detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}
.detail-grid img { width: 100%; background: #fff; border: 1px solid var(--line); }
.gallery { display: grid; gap: 16px; margin-top: 16px; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 28px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 32px; }
.footer-brand { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
.footer-note, .footer-legal { color: var(--muted); font-size: 14px; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

@media (min-width: 1600px) {
  :root { --max: 1280px; }
}

@media (max-width: 1100px) {
  .site-nav ul { gap: 14px; }
  .site-nav a { font-size: 12px; letter-spacing: 0.08em; }
}

@media (max-width: 980px) {
  .hero-inner, .split, .split.reverse, .detail-grid, .grid-4 { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; }
  .hero-visual {
    order: -1;
    height: auto;
    max-height: none;
    min-height: 0;
    padding: 16px 16px 0;
    background: transparent;
  }
  .hero-visual img { max-height: min(70svh, 560px); margin: 0 auto; }
  .hero-copy { padding: 28px 24px 16px; max-width: none; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    inset: 76px 0 auto;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 24px;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 14px; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 600px) {
  .hero-visual img { max-height: min(64vh, 460px); }
  .hero-copy h1 { font-size: 34px; }
  .wrap { width: calc(100% - 32px); }
}
