:root {
  --paper: #f3f1eb;
  --ink: #141414;
  --mute: #6a675f;
  --line: rgba(20, 20, 20, 0.14);
  --line-strong: rgba(20, 20, 20, 0.28);
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif", serif;
  --sans: "Manrope", "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --pad: clamp(20px, 4vw, 56px);
  --max: 1280px;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: var(--paper); }
body {
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  letter-spacing: 0.01em;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--paper); }

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.app { min-height: 100vh; display: flex; flex-direction: column; }

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--pad);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  z-index: 20;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 140px;
}
.brand strong {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.brand span {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav {
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.nav a, .lang button, .cart-link {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.nav a[aria-current="page"] { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.meta-nav { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; gap: 8px; }
.lang button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--mute);
}
.lang button.is-on { color: var(--ink); }
.cart-link { position: relative; }
.cart-link em {
  font-style: normal;
  margin-left: 4px;
  color: var(--mute);
}

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--pad); }
.page { flex: 1; padding: 48px 0 80px; }

.kicker {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin: 0 0 14px;
}
h1, h2, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 0;
}
.display { font-size: clamp(64px, 13vw, 152px); }
h1 { font-size: clamp(40px, 6vw, 72px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
.lead {
  max-width: 38rem;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  margin: 22px 0 0;
}
.mute { color: var(--mute); }
.hair { border: 0; border-top: 1px solid var(--line); margin: 48px 0; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.btn[disabled] { opacity: 0.4; pointer-events: none; }

.hero { padding: 28px 0 12px; }
.hero-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-end;
  margin-bottom: 8px;
}
.founder {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
  max-width: 14rem;
  text-align: right;
}

.paths {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 56px;
}
.path {
  padding: 28px 24px 32px 0;
  border-right: 1px solid var(--line);
}
.path:last-child { border-right: 0; padding-right: 0; }
.path:first-child { padding-left: 0; }
.path h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 10px;
}
.path p { margin: 0; color: var(--mute); font-size: 14px; font-weight: 300; }
.path:hover h3 { font-style: italic; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin: 64px 0 28px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 18px;
}
.card { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.card:hover .visual { filter: contrast(1.04); }
.visual {
  aspect-ratio: 4 / 5;
  background: #eceae4;
  border: 1px solid var(--line);
  overflow: hidden;
}
.visual svg { width: 100%; height: 100%; }
.card-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.card-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.15;
  margin: 0;
}
.card-foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}
.sold { color: var(--mute); text-decoration: line-through; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  margin: 28px 0;
}
.chip {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.chip.is-on { color: var(--ink); border-bottom: 1px solid var(--ink); }
.search {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  outline: none;
}
.search:focus { border-bottom-color: var(--ink); }

.item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 5vw, 72px);
  align-items: start;
}
.item-visual { border: 1px solid var(--line); background: #eceae4; }
.item-visual svg { width: 100%; height: auto; }
.price { font-family: var(--serif); font-size: 36px; margin: 18px 0; }
.prose { font-weight: 300; max-width: 38em; }
.prose p { margin: 0 0 1em; }

.form {
  display: grid;
  gap: 14px;
  max-width: 460px;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  outline: none;
  border-radius: 0;
}
.form textarea { min-height: 120px; resize: vertical; }
.form label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 72px);
}
.program-list { display: grid; gap: 28px; }
.program-list article h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 8px;
}
.program-list p { margin: 0; font-weight: 300; color: var(--mute); }

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row .mini { width: 72px; height: 90px; border: 1px solid var(--line); }
.linkish {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--mute);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 28px var(--pad) 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
  font-size: 13px;
  color: var(--mute);
}
.foot a { border-bottom: 1px solid transparent; }
.foot a:hover { border-bottom-color: currentColor; }
.foot strong { color: var(--ink); font-weight: 500; }

.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--paper);
  display: grid;
  place-items: center;
  padding: var(--pad);
}
.gate[hidden] { display: none !important; }
.gate-inner { width: min(560px, 100%); }
.gate h1 { margin: 8px 0 18px; }
.notice {
  padding: 16px 0;
  font-size: 14px;
  color: var(--mute);
}
.ok { font-family: var(--serif); font-size: 32px; }

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 60;
}

.menu-btn { display: none; background: none; border: 0; cursor: pointer; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; }

@media (max-width: 980px) {
  .paths, .grid, .item, .split, .foot { grid-template-columns: 1fr 1fr; }
  .path { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px 0; }
  .hero-top { flex-direction: column; align-items: flex-start; }
  .founder { text-align: left; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px var(--pad) 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: block; }
  .grid, .paths, .item, .split, .foot, .cart-row { grid-template-columns: 1fr; }
  .page { padding-top: 32px; }
  .display { font-size: clamp(56px, 22vw, 96px); }
}

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

.wrap { width: min(var(--max), 100%); margin: 0 auto; padding: 0 var(--pad); }
.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--pad); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
}
.visual { aspect-ratio: 4 / 5; background: #eceae4; border: 1px solid var(--line); overflow: hidden; }
.visual svg { width: 100%; height: 100%; }
.card-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); }
.card-title { font-family: var(--serif); font-size: 22px; line-height: 1.15; margin: 0; }
.card-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.menu-btn { display: none; background: none; border: 0; cursor: pointer; letter-spacing: 0.18em; text-transform: uppercase; font-size: 11px; }
.nav.is-open { display: flex; }
.meta-nav { display: flex; align-items: center; gap: 16px; }
.lang button.is-on { color: var(--ink); }
.cart-link em { font-style: normal; margin-left: 4px; color: var(--mute); }
.page { flex: 1; padding: 48px 0 80px; }
.foot {
  margin-top: auto; border-top: 1px solid var(--line); padding: 28px var(--pad) 40px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: 13px; color: var(--mute);
}
.hero-top { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: transparent; color: var(--ink); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 64px 0 28px; }
.search {
  flex: 1; min-width: 180px; background: transparent; border: 0;
  border-bottom: 1px solid var(--line); padding: 8px 0; outline: none;
}
.item-visual { border: 1px solid var(--line); background: #eceae4; }
.item-visual svg { width: 100%; height: auto; }
.mute { color: var(--mute); }
.prose { font-weight: 300; max-width: 38em; }
.program-list { display: grid; gap: 28px; }
.linkish {
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--mute);
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
}
.gate-inner { width: min(560px, 100%); }
.notice { padding: 16px 0; font-size: 14px; color: var(--mute); }
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav.is-open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 16px;
    padding: 20px var(--pad) 28px; background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
}
