:root {
  --ivory: #f3efe8;
  --bone: #e9e3da;
  --stone: #cfc9c3;
  --taupe: #8a8178;
  --ink: #1b1916;
  --espresso: #26221e;
  --line: rgba(27, 25, 22, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
em { font-style: italic; font-family: var(--serif); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--taupe);
  margin: 0 0 24px;
}

/* ---------- Announcement + header ---------- */
.announce {
  background: var(--ink);
  color: var(--bone);
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 10px var(--gutter);
}
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--ivory);
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.header.is-solid {
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  padding: 0 var(--gutter);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.42em;
  padding-left: 0.42em; /* optically centre tracked text */
}
.nav { display: flex; gap: 32px; align-items: center; }
.nav--right { justify-content: flex-end; }
.nav__link {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.bag-count {
  display: inline-grid; place-items: center;
  min-width: 18px; height: 18px; margin-left: 6px;
  border: 1px solid currentColor; border-radius: 50%;
  font-size: 9px; letter-spacing: 0;
}
.menu-btn { display: none; width: 24px; height: 14px; position: relative; }
.menu-btn span {
  position: absolute; left: 0; width: 100%; height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-btn span:first-child { top: 2px; }
.menu-btn span:last-child { top: 11px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 7px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 7px; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ivory);
  display: flex; flex-direction: column; justify-content: center;
  gap: 18px; padding: 0 var(--gutter);
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.drawer a { font-family: var(--serif); font-size: 40px; font-weight: 300; }
.drawer.is-open { opacity: 1; pointer-events: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 40px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 400;
  border: 1px solid currentColor;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s;
}
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--light { color: var(--ivory); }
.btn--light:hover { background: var(--ivory); color: var(--ink); }
.btn--ghost { color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.link {
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 4px;
}
.link--light { color: var(--bone); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: min(calc(100svh - 109px), 980px);
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
}
.hero__text {
  align-self: center;
  padding: 80px var(--gutter);
  max-width: 640px;
  justify-self: center;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(72px, 12vw, 200px);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0 0 36px;
}
.hero__title em { display: block; padding-left: 0.5em; font-weight: 300; }
.hero__sub { max-width: 380px; color: rgba(239, 233, 225, 0.72); margin: 0 0 48px; }
.hero__cta { display: flex; gap: 36px; align-items: center; flex-wrap: wrap; }
.hero__media { margin: 0; position: relative; }
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
  animation: heroZoom 2.4s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.08); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 32px;
  width: 1px; height: 56px; background: rgba(239, 233, 225, 0.25); overflow: hidden;
}
.hero__scroll span {
  position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--ivory);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Manifesto ---------- */
.manifesto {
  text-align: center;
  padding: clamp(96px, 16vw, 200px) var(--gutter);
  max-width: 1040px; margin: 0 auto;
}
.manifesto__text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.35;
  margin: 0 0 56px;
}
.rule { display: inline-block; width: 1px; height: 72px; background: var(--ink); opacity: 0.4; }

/* ---------- Product ---------- */
.product > *, .hero > *, .editorial > * { min-width: 0; }
.product {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  padding: 0 var(--gutter) clamp(96px, 12vw, 160px);
  max-width: 1440px; margin: 0 auto;
}
.gallery__main { background: var(--stone); aspect-ratio: 1024 / 1360; overflow: hidden; }
.gallery__main img {
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity 0.5s var(--ease), transform 1.2s var(--ease);
}
.gallery__main:hover img { transform: scale(1.03); }
.gallery__main img.is-fading { opacity: 0; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.thumb {
  width: 84px; aspect-ratio: 3 / 4; overflow: hidden; background: var(--stone);
  opacity: 0.5; transition: opacity 0.3s; outline-offset: 3px;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; }
.thumb.is-active { outline: 1px solid var(--ink); }

.details__sticky { position: sticky; top: 112px; padding-top: 8px; }
.details__title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 4.4vw, 60px); line-height: 1; margin: 0 0 16px;
}
.details__price { font-size: 14px; letter-spacing: 0.08em; margin: 0 0 40px; }
.details__option { padding: 24px 0; border-top: 1px solid var(--line); }
.label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; display: block; margin-bottom: 14px; }
.swatches { display: flex; gap: 12px; }
.swatch {
  width: 28px; height: 28px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px var(--line);
  outline: 1px solid transparent; outline-offset: 3px;
}
.swatch.is-active { outline-color: var(--ink); }
.details__actions { display: grid; gap: 10px; padding: 24px 0 0; }
.details__note { font-size: 13px; color: var(--taupe); margin: 20px 0 40px; }

.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 400;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform 0.4s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion p, .accordion ul { margin: 0 0 24px; color: #4a443e; font-size: 14px; }
.accordion ul { padding-left: 18px; }

/* ---------- Full bleed ---------- */
.bleed { position: relative; background: var(--stone); }
.bleed img { width: 100%; height: auto; max-height: 92vh; object-fit: cover; }
.bleed__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(24px, 5vw, 64px);
  text-align: center; margin: 0;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 3vw, 36px);
  color: var(--espresso);
}

/* ---------- Craft ---------- */
.craft { padding: clamp(96px, 14vw, 180px) var(--gutter); max-width: 1320px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: clamp(56px, 8vw, 104px); }
.section-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 80px); line-height: 1.05; margin: 0;
}
.craft__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 5vw, 72px); }
.craft__item { border-top: 1px solid var(--line); padding-top: 32px; }
.numeral { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--taupe); }
.craft__item h3 {
  font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 12px 0 12px;
}
.craft__item p { margin: 0; color: #4a443e; }

/* ---------- Editorial ---------- */
.editorial {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--espresso); color: var(--ivory);
}
.editorial__media { margin: 0; background: var(--stone); }
.editorial__media img { width: 100%; height: 100%; object-fit: cover; }
.editorial__text {
  align-self: center;
  padding: clamp(64px, 10vw, 140px) clamp(24px, 7vw, 120px);
}
.editorial blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 3.4vw, 46px); line-height: 1.25; margin: 0 0 36px;
}
.editorial__sign { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(239,233,225,.6); margin: 0; }
.editorial .eyebrow { color: rgba(239,233,225,.55); }

/* ---------- Join ---------- */
.join { text-align: center; padding: clamp(96px, 14vw, 180px) var(--gutter); background: var(--bone); }
.join__sub { color: #4a443e; margin: 24px auto 48px; max-width: 420px; }
.join__form { display: flex; max-width: 520px; margin: 0 auto; border-bottom: 1px solid var(--ink); }
.join__form input {
  flex: 1; min-width: 0; border: 0; background: transparent; outline: 0;
  font: inherit; font-size: 15px; padding: 0 4px; height: 52px; color: var(--ink);
}
.join__form input::placeholder { color: var(--taupe); }
.join__form .btn { border: 0; padding: 0 24px; }
.join__msg { min-height: 24px; font-size: 13px; margin: 16px 0 0; }
.join__contact { font-size: 12px; letter-spacing: 0.14em; color: var(--taupe); margin-top: 40px; }
.join__contact a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--bone); padding: clamp(72px, 10vw, 120px) var(--gutter) 32px; }
.footer__wordmark {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(36px, 10.5vw, 168px); letter-spacing: 0.18em;
  line-height: 1; text-align: center; opacity: 0.95;
  margin-bottom: clamp(56px, 8vw, 96px);
  white-space: nowrap;
}
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; max-width: 1200px; margin: 0 auto; }
.footer__cols h4 {
  font-size: 10.5px; letter-spacing: 0.28em; text-transform: uppercase; font-weight: 400;
  color: rgba(233,227,218,.5); margin: 0 0 18px;
}
.footer__cols a, .footer__cols button { display: block; font-size: 13px; margin-bottom: 10px; text-align: left; opacity: 0.85; }
.footer__cols a:hover, .footer__cols button:hover { opacity: 1; }
.footer__base {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  max-width: 1200px; margin: 72px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(233,227,218,.14);
  font-size: 11px; letter-spacing: 0.12em; color: rgba(233,227,218,.5);
}

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(27,25,22,.55); opacity: 0; transition: opacity .5s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(920px, 100%); max-height: calc(100svh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1.1fr; background: var(--ivory);
  opacity: 0; transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__media { background: var(--stone); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 48px 40px; }
.modal__body h3 { font-family: var(--serif); font-weight: 300; font-size: 40px; margin: 0 0 4px; line-height: 1.1; }
.modal__meta { font-size: 13px; color: var(--taupe); margin: 0 0 28px; }
.modal__close { position: absolute; top: 12px; right: 18px; font-size: 28px; font-weight: 300; z-index: 2; }
#reserveForm { display: grid; gap: 16px; }
#reserveForm label { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; display: grid; gap: 6px; }
#reserveForm .opt { text-transform: none; letter-spacing: 0; color: var(--taupe); }
#reserveForm input, #reserveForm textarea {
  font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none;
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 8px 0; outline: 0; color: var(--ink); resize: vertical;
}
#reserveForm input:focus, #reserveForm textarea:focus { border-bottom-color: var(--ink); }
#reserveForm .btn { margin-top: 12px; }
.modal__fine { font-size: 12px; color: var(--taupe); margin: 16px 0 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img, .hero__scroll span { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav--left .nav__link, .nav--right .nav__link:not(.nav__bag) { display: none; }
  .menu-btn { display: block; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero__media { order: -1; height: 72svh; }
  .hero__text { padding: 56px var(--gutter) 88px; justify-self: start; }
  .hero__scroll { display: none; }
  .product { grid-template-columns: 1fr; }
  .details__sticky { position: static; }
  .craft__grid { grid-template-columns: 1fr; }
  .editorial { grid-template-columns: 1fr; }
  .editorial__media { aspect-ratio: 4 / 5; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .modal__panel { grid-template-columns: 1fr; }
  .modal__media { display: none; }
  .modal__body { padding: 48px 24px 32px; }
}
@media (max-width: 520px) {
  .header__inner { height: 60px; }
  .wordmark { letter-spacing: 0.3em; padding-left: 0.3em; }
  .nav__bag { font-size: 0; }
  .nav__bag .bag-count { font-size: 9px; margin: 0; }
  .announce { font-size: 9px; letter-spacing: 0.16em; }
  .btn { padding: 0 28px; }
  .bleed img { aspect-ratio: 4 / 3; }
  .join__form { flex-direction: column; border: 0; gap: 12px; }
  .join__form input { border-bottom: 1px solid var(--ink); }
  .join__form .btn { border: 1px solid var(--ink); }
}
