:root {
  --bg: #faf9f7;
  --bg-deep: #f1eee8;
  --surface: #ffffff;
  --ink: #1c1b19;
  --muted: #6a655c;
  --line: #d9d2c6;
  --clay: #a89882;
  --sand: #e8e2d8;
  --font: "Zen Kaku Gothic New", system-ui, sans-serif;
  --display: "Shippori Mincho", Georgia, "Times New Roman", serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --wide: min(100% - 2.5rem, 1180px);
  --reading: min(100% - 2.5rem, 680px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(168, 152, 130, 0.12), transparent 55%),
    radial-gradient(900px 500px at 90% 0%, rgba(232, 226, 216, 0.7), transparent 50%),
    linear-gradient(180deg, #fbfaf8 0%, var(--bg) 40%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}
body.nav-open,
body.lightbox-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.25em; }
a:hover { color: var(--ink); }

h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.6rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 34em; }
.muted { color: var(--muted); }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.wrap { width: var(--wide); margin-inline: auto; }
.wrap--narrow { width: var(--reading); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(250, 249, 247, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header__inner {
  width: var(--wide);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}
.brand {
  text-decoration: none;
  display: grid;
  gap: 0.15rem;
}
.brand__name {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}
.brand__place {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  justify-content: flex-end;
}
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -0.2em;
  height: 1px;
  background: var(--ink);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--ink); }
.site-nav a:hover::after,
.site-nav a.is-active::after { right: 0; }

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  margin: 0.45rem 0;
  transition: transform 0.3s var(--ease);
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #f7f4ef;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) infinite alternate;
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 18, 16, 0.15) 0%, rgba(20, 18, 16, 0.35) 45%, rgba(20, 18, 16, 0.72) 100%);
}
.hero__content {
  position: relative;
  z-index: 1;
  width: var(--wide);
  margin: 0 auto;
  padding: clamp(4rem, 12vh, 7rem) 0 clamp(3rem, 8vh, 5rem);
}
.hero .brand-mark {
  font-family: var(--display);
  font-size: clamp(3rem, 10vw, 7rem);
  line-height: 0.95;
  margin-bottom: 1rem;
  max-width: 12ch;
}
.hero h1 {
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  font-weight: 400;
  max-width: 22ch;
  margin-bottom: 1rem;
  color: inherit;
}
.hero .lead { color: rgba(247, 244, 239, 0.82); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.4rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: #faf9f7;
}
.btn--solid:hover { background: #000; color: #faf9f7; }
.btn--light {
  border-color: rgba(247, 244, 239, 0.75);
  color: #f7f4ef;
}
.btn--light:hover {
  background: rgba(247, 244, 239, 0.12);
  color: #fff;
}
.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--sand); }

.section {
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.section--tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.section--sand { background: rgba(232, 226, 216, 0.45); }
.section__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  flex-wrap: wrap;
}
.section__head a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.section__head a:hover { color: var(--ink); border-color: var(--ink); }

.quote-rail {
  display: grid;
  gap: 2.5rem;
}
.quote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  max-width: 16ch;
}
.quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.collection-grid,
.card-grid,
.event-list {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.collection-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.collection-card {
  text-decoration: none;
  display: grid;
  gap: 1rem;
  color: inherit;
}
.collection-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.collection-card:hover .collection-card__media img {
  transform: scale(1.04);
}
.collection-card h3 { margin-bottom: 0.25rem; }
.collection-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse > :first-child { order: 2; }
.split__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--sand);
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.masonry {
  columns: 3 220px;
  column-gap: 1rem;
}
.masonry a {
  break-inside: avoid;
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
  background: var(--sand);
}
.masonry img {
  width: 100%;
  transition: transform 0.8s var(--ease), opacity 0.3s;
}
.masonry a:hover img { transform: scale(1.03); }

.page-hero {
  padding: clamp(5rem, 12vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.page-hero h1 { max-width: 14ch; }
.prose {
  width: var(--reading);
  margin-inline: auto;
}
.prose p + p { margin-top: 1.1em; }
.prose h2 { margin-top: 2.2em; }

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.value h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.value p { color: var(--muted); margin: 0; }

.event {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.event:last-child { border-bottom: 1px solid var(--line); }
.event__meta {
  color: var(--muted);
  font-size: 0.92rem;
}
.event__meta strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.blog-list { display: grid; gap: 2rem; }
.blog-item {
  display: grid;
  gap: 0.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.blog-item time { color: var(--muted); font-size: 0.85rem; letter-spacing: 0.06em; }
.blog-item h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0; }
.blog-item p { margin: 0; color: var(--muted); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--clay);
  border-color: var(--clay);
}
.form-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 16, 14, 0.92);
  display: grid;
  place-items: center;
  padding: 2rem;
}
.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  background: transparent;
  color: #f7f4ef;
  font-size: 1.5rem;
  cursor: pointer;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 2.5rem;
  margin-top: 2rem;
  background: rgba(241, 238, 232, 0.55);
}
.site-footer__inner {
  width: var(--wide);
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}
.site-footer__brand strong {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}
.site-footer__brand p,
.site-footer__copy { color: var(--muted); margin: 0.4rem 0 0; }
.site-footer__nav,
.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.site-footer a { text-decoration: none; color: var(--muted); }
.site-footer a:hover { color: var(--ink); }

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}
[data-reveal="late"] { transition-delay: 0.12s; }
[data-reveal="later"] { transition-delay: 0.24s; }

@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(0, -1.5%, 0); }
}

@media (max-width: 900px) {
  .split,
  .split--reverse,
  .contact-grid,
  .event { grid-template-columns: 1fr; }
  .split--reverse > :first-child { order: 0; }
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(250, 249, 247, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s var(--ease);
  }
  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { font-size: 1.35rem; font-family: var(--display); }
  .masonry { columns: 2 140px; }
}

@media (max-width: 560px) {
  .masonry { columns: 1; }
  .hero__actions { flex-direction: column; align-items: stretch; }
}

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

/* Shop shared bits when site.css is loaded there */
.store-body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
}
.store-body h1, .store-body h2, .store-body h3 {
  font-family: var(--display);
  font-weight: 500;
}
.container { width: var(--wide); margin-inline: auto; }
.store-site-header {
  background: rgba(250, 249, 247, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.store-logo__mark {
  border-radius: 0;
  background: var(--sand);
  border: 1px solid var(--line);
  font-family: var(--display);
}
.btn--primary {
  background: var(--ink);
  border-color: var(--ink);
  color: #faf9f7;
}
.btn--ghost { border: 1px solid var(--line); }
.product-grid, .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.section--muted { background: rgba(232, 226, 216, 0.35); }
