:root {
  --paper: #EFEAE1;
  --ink: #161714;
  --muted: #5D5B54;
  --accent: #B23A1F;
  --red: #D9482B;
  --butter: #E8D27A;
  --placeholder: #E3DACB;
  --line-dark: #3A3B36;
  --muted-dark: #A8A59C;
  --wa: #1E7A47;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Inter Tight', system-ui, sans-serif;
  --gutter: clamp(16px, 3vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: var(--ink); }
a:hover { color: var(--accent); }
em { font-style: italic; }

.page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

/* ---------- Header ---------- */
.ee-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(239, 234, 225, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--ink);
}
.nav {
  padding: 0 var(--gutter);
  min-height: 64px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 24px;
  font-size: 14px;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav-links a { text-decoration: none; padding: 12px 0; }
.ee-logo {
  text-decoration: none;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1;
}
.nav-right { display: flex; align-items: center; gap: 20px; }
.ee-clock { color: var(--muted); }

/* ---------- Pills / buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px;
  text-decoration: none; font-weight: 500;
  transition: background .25s, color .25s;
}
.pill-sm { min-height: 40px; padding: 0 16px; gap: 8px; }
.pill-lg { min-height: 56px; padding: 0 32px; gap: 12px; }
.pill-dark { background: var(--ink); color: var(--paper); }
.pill-dark:hover { background: var(--accent); color: var(--paper); }
.pill-outline { border: 1px solid var(--ink); }
.pill-outline:hover { background: var(--ink); color: var(--paper); }
.pill-outline:hover .muted-sm { color: inherit; }
.pill-btn { background: transparent; color: var(--ink); font-family: var(--sans); font-size: 16px; cursor: pointer; }
.pill-light { background: var(--paper); color: var(--ink); }
.pill-light:hover { background: var(--butter); color: var(--ink); }
.pill-outline-light { border: 1px solid var(--paper); color: var(--paper); }
.pill-outline-light:hover { background: var(--paper); color: var(--ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #6FD08C; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.muted-sm { font-size: 13px; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(20px, 3vw, 36px) var(--gutter) 0;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 14px 40px;
}
.hero-meta {
  flex: 1 1 100%;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 14px; color: var(--muted);
}
.hero-title {
  margin: 0; flex: 0 0 auto; order: 1;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(76px, 17vw, 268px);
  line-height: 0.82; letter-spacing: -0.045em;
}
.hero-title .line { display: block; }
.hero-title .line-2 { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.12em; }
.hero-title em { color: var(--accent); }
.hero-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.25em; height: 0.62em;
  border-radius: 999px; background: var(--red); overflow: hidden;
}
.hero-badge svg { width: 100%; height: 100%; }
.ee-spin { transform-origin: 60px 30px; animation: ee-spin 22s linear infinite; }

.hero-image {
  order: 3; flex: 1 1 100%; min-width: 0;
  position: relative; aspect-ratio: 2000 / 913;
  margin-top: 6px; border-radius: 4px; overflow: hidden;
  background: var(--placeholder);
}
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero-intro {
  order: 2; flex: 1 1 300px; max-width: 440px; min-width: 0;
  display: flex; flex-direction: column; gap: 18px; padding-bottom: 6px;
}
.lede {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.15; letter-spacing: -0.01em;
}

/* ---------- Marquee ---------- */
.marquee {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; background: var(--butter);
}
.ee-track { display: flex; width: max-content; animation: ee-marquee 38s linear infinite; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 32px;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1; white-space: nowrap;
}
.marquee-item .it { font-style: italic; }

/* ---------- Collection ---------- */
.collection { padding: clamp(48px, 6vw, 80px) var(--gutter) 0; }
.collection-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 20px 40px; margin-bottom: 28px;
}
.h2 {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.9; letter-spacing: -0.03em;
}
.h2 em { color: var(--accent); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--ink);
  background: transparent; color: var(--ink);
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.tab:hover { background: rgba(22, 23, 20, 0.06); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.tab-count { font-size: 12px; opacity: 0.6; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 46%), 1fr));
  gap: 28px 20px;
  align-items: start;
}
.ee-card { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; aspect-ratio: 3 / 4; border-radius: 4px; overflow: hidden; background: var(--placeholder); }
.ee-art {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transform-origin: 50% 60%;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1);
}
.ee-card:hover .ee-art { transform: scale(1.06) rotate(-2deg); }
.card-tag {
  position: absolute; left: 14px; top: 14px;
  padding: 4px 10px; border-radius: 999px;
  background: var(--paper); font-size: 12px; font-weight: 500;
}
.card-body { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card-title {
  margin: 0;
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; line-height: 1.05; letter-spacing: -0.01em;
}
.card-note { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.ee-ask {
  flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--ink);
  transition: background .25s, color .25s;
}
.ee-card .ee-ask { color: var(--ink); }
.ee-card .ee-ask:hover, .ee-card .ee-ask:focus-visible { background: var(--ink); color: var(--paper); }
.more-wrap { margin-top: 36px; display: flex; justify-content: center; }
.more-wrap[hidden] { display: none; }

/* ---------- Atelier ---------- */
.atelier { padding: clamp(56px, 7vw, 96px) var(--gutter); }
.manifesto {
  margin: 0; max-width: 1180px;
  font-family: var(--serif);
  font-size: clamp(36px, 5.4vw, 84px);
  line-height: 1.02; letter-spacing: -0.025em;
}
.manifesto em { color: var(--accent); }
.steps {
  margin-top: clamp(32px, 4vw, 52px);
  display: flex; flex-wrap: wrap;
  border-top: 1px solid var(--ink);
}
.step { flex: 1 1 280px; padding: 20px 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.step strong { font-size: 20px; font-weight: 600; }
.step-text { color: var(--muted); max-width: 320px; }

/* ---------- Visit ---------- */
.visit {
  background: var(--ink); color: var(--paper);
  padding: clamp(52px, 6vw, 84px) var(--gutter) 0;
}
.visit a:hover { color: inherit; }
.visit-grid { display: flex; flex-wrap: wrap; gap: 48px; }
.visit-info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.h2-visit { font-size: clamp(48px, 6.5vw, 104px); line-height: 0.92; }
.h2-visit em { color: #F08A6E; }
.facts {
  display: flex; flex-wrap: wrap; gap: 32px 56px;
  border-top: 1px solid var(--line-dark); padding-top: 28px;
}
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact-label { font-size: 13px; color: var(--muted-dark); }
.fact-value { font-size: 18px; line-height: 1.45; }
a.fact-value { color: var(--paper); }
.map {
  flex: 1.1 1 380px; min-width: 0; min-height: 340px;
  position: relative; display: block;
  border-radius: 4px; overflow: hidden; background: #22231F;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cta {
  position: absolute; right: 12px; top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--paper); color: var(--ink);
  font-size: 14px; font-weight: 500; text-decoration: none;
  box-shadow: 0 2px 8px rgba(22, 23, 20, 0.25);
  transition: background .25s;
}
.map-cta:hover { background: var(--butter); color: var(--ink); }

.footer { margin-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line-dark); }
.footer-row {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 12px 24px; padding: 20px 0;
  font-size: 14px; color: var(--muted-dark);
}
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--paper); min-height: 44px; display: inline-flex; align-items: center; }
.footer-links a:hover { color: #F08A6E; }
.footer-mark {
  font-family: var(--serif);
  font-size: clamp(44px, 17vw, 300px);
  line-height: 0.72; letter-spacing: -0.05em;
  color: var(--paper); white-space: nowrap;
  height: 0.62em; overflow: hidden;
}
.footer-mark em { color: var(--red); }

/* ---------- WhatsApp FAB ---------- */
.ee-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 8px;
  border-radius: 999px; background: var(--wa); color: #fff;
  text-decoration: none; font-weight: 600;
  box-shadow: 0 12px 32px rgba(22, 23, 20, 0.28);
  transition: transform .2s;
}
.ee-fab:hover { color: #fff; transform: translateY(-2px); }
.fab-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: #fff; color: var(--wa);
}

/* ---------- Animations ---------- */
@keyframes ee-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ee-spin { to { transform: rotate(360deg); } }

@media (max-width: 720px) {
  .ee-head { position: static; }
  .ee-logo { order: -1; flex-basis: 100%; text-align: center; padding-top: 14px; }
  .ee-clock { display: none; }
  .ee-fab { padding: 0 8px; }
  .ee-wa-label { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ee-track, .ee-spin { animation: none; }
  .ee-art { transition: none; }
}
