/* ============================================================
   MONOFORME — Times-led editorial system.
   One typeface, infinite hierarchy. White space as material.
   Cold graphic frame around warm photography (two temperatures).
   ============================================================ */

:root {
  --paper:   #FAFAF8;  /* near-white, faint warmth */
  --paper-2: #F2EFE9;  /* warmer paper, used in media wells */
  --ink:     #141414;  /* soft black, never pure #000 */
  --grey:    #8E8B85;  /* secondary, captions, rules */
  --grey-2:  #B5B2AC;  /* tertiary, muted */
  --ash:     #6F6C66;  /* darker editorial text */
  --ash-2:   #4E4B46;  /* primary editorial body */
  --smoke:   #ECEAE6;  /* photo well background */
  --line:    #E6E3DD;  /* hairline borders */
  --line-2:  #D5D1CA;  /* slightly stronger borders */
  --accent:  #C14A22;  /* burnt heritage orange, used rarely */
  --orange:  #C14A22;  /* alias */

  --serif: 'Times New Roman', Times, 'Tinos', serif;
  --mono:  'Times New Roman', Times, 'Tinos', serif;

  --mx: clamp(24px, 6vw, 120px);
  --maxw: 1440px;
  --gap: clamp(16px, 2vw, 28px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  overflow-x: hidden;
  letter-spacing: -0.003em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ---------- type ---------- */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(42px, 8.2vw, 124px);
  line-height: 0.96; letter-spacing: -0.035em;
  margin: 0;
}
.h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(30px, 4.6vw, 64px);
  line-height: 1.04; letter-spacing: -0.030em;
  margin: 0;
}
.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.12; letter-spacing: -0.022em;
  margin: 0;
}
.h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.2; letter-spacing: -0.012em;
  margin: 0;
}
.lead {
  font-weight: 400; font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45; letter-spacing: -0.010em;
  color: var(--ash-2);
}
.body { font-weight: 400; font-size: 17px; line-height: 1.6; color: var(--ash-2); }
.muted { color: var(--grey); }

/* spec / system layer — all caps Times, tabular, tracked.
   This kills the italic-serif label tic and gives the
   instrument-panel readout feel without using a mono typeface. */
.label, .mono, .eyebrow {
  font-family: var(--mono);
  font-weight: 400;
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  font-variant-numeric: tabular-nums;
  display: inline-block;
}
.label-accent { color: var(--accent); }
.num { font-variant-numeric: tabular-nums; }

/* wordmark — MONOFORME. in caps, tracked, burnt-orange period */
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.085em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
}
.wordmark .dot, .mark .dot {
  display: inline-block;
  width: 0.18em; height: 0.18em;
  border-radius: 50%;
  background: var(--accent);
  margin-left: 0.06em;
  vertical-align: baseline;
}

/* ---------- grid + layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--mx); padding-right: var(--mx); }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); }
.section { padding-top: clamp(72px, 11vw, 184px); padding-bottom: clamp(72px, 11vw, 184px); }
.section-sm { padding-top: clamp(48px, 7vw, 120px); padding-bottom: clamp(48px, 7vw, 120px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-ink { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.inverse { background: var(--ink); color: var(--paper); }
.inverse .muted, .inverse .lead, .inverse p { color: var(--grey-2); }
.inverse .eyebrow, .inverse .label, .inverse .mono { color: var(--grey-2); }
.inverse .wordmark .dot { background: var(--accent); }
.inverse hr.rule, .inverse .rule { border-top-color: rgba(255,255,255,0.18); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: transparent !important; border: 0 !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.site-header .wrap, .site-header .nav { background: transparent !important; }
.site-header .wordmark,
.site-header .nav .links a,
.site-header .cart-link { transition: color 0.35s ease; }
.site-header .wordmark .dot,
.site-header .menu-toggle span { transition: background 0.35s ease; }
.site-header.nav-light .wordmark,
.site-header.nav-light .nav .links a,
.site-header.nav-light .cart-link { color: #FFFFFF; }
.site-header.nav-light .wordmark .dot { background: var(--accent); }
.site-header.nav-light .menu-toggle span { background: #FFFFFF; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav .links { display: flex; gap: clamp(22px, 2.6vw, 44px); align-items: center; }
.nav .links a {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink); position: relative;
}
.nav .links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.nav .links a:hover::after, .nav .links a[aria-current="page"]::after { transform: scaleX(1); }
.nav .utility { display: flex; align-items: center; gap: 20px; }
.cart-link {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap; display: inline-flex; gap: 6px;
}
.cart-link .count { color: var(--accent); font-variant-numeric: tabular-nums; }

.menu-toggle {
  display: none; border: 0; background: none; cursor: pointer;
  width: 24px; height: 14px; position: relative; padding: 0;
}
.menu-toggle span {
  position: absolute; left: 0; width: 100%; height: 1px;
  background: var(--ink); transition: transform 0.3s ease, opacity 0.2s;
}
.menu-toggle span:nth-child(1) { top: 1px; }
.menu-toggle span:nth-child(2) { top: 7px; }
.menu-toggle span:nth-child(3) { top: 13px; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 0 0; z-index: 49; background: var(--paper);
  display: flex; flex-direction: column; padding: 24px var(--mx);
  transform: translateY(-101%); transition: transform 0.4s ease; pointer-events: none;
}
body.menu-open .mobile-menu { transform: translateY(0); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 7vw, 44px);
  letter-spacing: -0.028em; padding: 18px 0;
  color: var(--ink); display: flex; gap: 18px; align-items: baseline;
  border-bottom: 1px solid var(--line);
}
.mobile-menu a .ix {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); align-self: flex-start;
  font-variant-numeric: tabular-nums;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--mono); font-weight: 400;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 28px; border: 1px solid var(--ink); background: transparent; color: var(--ink);
  cursor: pointer; border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-fill { background: var(--ink); color: var(--paper); }
.btn-fill:hover { background: var(--accent); border-color: var(--accent); }
.btn-orange { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-orange:hover { background: var(--accent); border-color: var(--accent); color: var(--paper); }
.btn-inv { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-inv:hover { background: var(--paper); color: var(--ink); }
.btn .arrow { display: inline-block; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.link-u, .link-arrow {
  font-family: var(--mono); font-weight: 400;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--ink); padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-u:hover, .link-arrow:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- spec table ---------- */
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec li {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.spec .k {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash);
}
.spec .v { font-family: var(--serif); font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- figure / image ---------- */
.fig { margin: 0; }
.fig .frame { background: var(--smoke); overflow: hidden; }
.fig .frame img { width: 100%; height: 100%; object-fit: cover; }
.fig figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; }
.fig figcaption span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash);
}

/* ---------- product card ---------- */
.card { display: block; }
.card .media { position: relative; overflow: hidden; background: var(--smoke); aspect-ratio: 4/5; }
.card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .media img { transform: scale(1.03); }
.card .media .tag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--paper); color: var(--ink);
  padding: 6px 10px;
}
.card .media .tag.soon { background: transparent; border: 1px solid var(--line-2); color: var(--ash); }
.card .meta {
  display: flex; justify-content: space-between; gap: 16px;
  padding-top: 16px; align-items: baseline;
}
.card .meta .name { font-family: var(--serif); font-weight: 400; font-size: 18px; letter-spacing: -0.012em; }
.card .meta .sub {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ash); margin-top: 6px;
}
.card .meta .price { font-family: var(--serif); font-size: 16px; font-variant-numeric: tabular-nums; }
.card .meta .price.muted { color: var(--ash); }

.ph { background: var(--smoke); position: relative; overflow: hidden; }
.ph.hatch {
  background-image:
    repeating-linear-gradient(45deg, rgba(20,20,20,0.04) 0 1px, transparent 1px 9px);
}
.ph .ph-label {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-2);
  text-align: center; padding: 16px; line-height: 1.8;
}

/* ---------- forms ---------- */
.field input {
  width: 100%; background: none; border: 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif); font-size: 16px; padding: 12px 0;
  color: var(--ink);
}
.field input:focus { outline: none; }
.field input::placeholder { color: var(--grey-2); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: 26px 0;
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(17px, 1.6vw, 22px);
  color: var(--ink); letter-spacing: -0.020em;
}
.faq-q .ico { position: relative; width: 13px; height: 13px; flex: none; }
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform 0.3s ease;
}
.faq-q .ico::before { top: 6px; left: 0; width: 13px; height: 1.5px; }
.faq-q .ico::after { top: 0; left: 6px; width: 1.5px; height: 13px; }
.faq-item.open .faq-q .ico::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.25s ease; }
.faq-a .inner { padding: 0 0 28px; color: var(--ash-2); max-width: 60ch; font-size: 16px; line-height: 1.6; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--ink); padding-top: clamp(56px, 7vw, 96px); background: var(--paper); }
.site-footer.inverse, footer.site-footer[data-nav-theme="dark"] {
  background: var(--ink); color: var(--paper); border-top: 0;
}
.site-footer.inverse .wordmark .dot,
footer.site-footer[data-nav-theme="dark"] .wordmark .dot { background: var(--accent); }

.footer-top {
  display: grid; grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gap); row-gap: 44px;
  padding-bottom: clamp(56px, 7vw, 96px);
}
.footer-brand { grid-column: span 4; }
.footer-brand .wordmark { font-size: 15px; }
.footer-brand > p {
  color: var(--ash-2); max-width: 34ch;
  font-size: 14px; line-height: 1.6; margin: 18px 0 0;
}
.site-footer.inverse .footer-brand > p,
footer.site-footer[data-nav-theme="dark"] .footer-brand > p { color: var(--grey-2); }

.footer-col { grid-column: span 2; }
.footer-col h4 {
  font-family: var(--mono); font-weight: 400;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ash); margin: 0 0 18px;
}
.site-footer.inverse .footer-col h4,
footer.site-footer[data-nav-theme="dark"] .footer-col h4 { color: var(--grey-2); }

.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-family: var(--serif); font-size: 15px; color: var(--ink); }
.site-footer.inverse .footer-col a,
footer.site-footer[data-nav-theme="dark"] .footer-col a { color: var(--paper); }
.footer-col a:hover { color: var(--accent); }

.footer-news { grid-column: span 4; }
.footer-news h4 {
  font-family: var(--mono); font-weight: 400;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ash); margin: 0 0 18px;
}
.footer-news .news-form { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.site-footer.inverse .footer-news .news-form,
footer.site-footer[data-nav-theme="dark"] .footer-news .news-form { border-bottom-color: var(--paper); }
.footer-news input {
  flex: 1; background: none; border: 0; color: var(--ink);
  font-family: var(--serif); font-size: 15px; padding: 12px 0;
}
.site-footer.inverse .footer-news input,
footer.site-footer[data-nav-theme="dark"] .footer-news input { color: var(--paper); }
.footer-news input::placeholder { color: var(--grey-2); }
.footer-news input:focus { outline: none; }
.footer-news button { background: none; border: 0; color: inherit; cursor: pointer; font-size: 18px; padding: 6px; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding: 22px 0 40px;
  border-top: 1px solid var(--line);
}
.site-footer.inverse .footer-bottom,
footer.site-footer[data-nav-theme="dark"] .footer-bottom { border-top-color: rgba(255,255,255,0.14); }
.footer-bottom, .footer-bottom a {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash);
}
.site-footer.inverse .footer-bottom,
.site-footer.inverse .footer-bottom a,
footer.site-footer[data-nav-theme="dark"] .footer-bottom,
footer.site-footer[data-nav-theme="dark"] .footer-bottom a { color: var(--grey-2); }
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- cart ---------- */
.cart-flash {
  position: fixed; right: 22px; bottom: 22px; z-index: 120;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; max-width: 320px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.cart-flash.show { opacity: 1; pointer-events: auto; }
.cart-flash .dot { width: 7px; height: 7px; background: var(--accent); flex: none; border-radius: 0; }
.cart-flash .t { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.cart-flash a { color: var(--accent); }

.cart-grid { display: grid; grid-template-columns: 1.6fr 0.9fr; gap: clamp(36px, 5vw, 88px); align-items: start; }
.cart-row {
  display: grid; grid-template-columns: 120px 1fr; gap: 26px;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.cart-row:first-child { border-top: 1px solid var(--ink); }
.cart-thumb { background: var(--smoke); aspect-ratio: 1/1; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; }
.cart-line { display: flex; justify-content: space-between; gap: 18px; }
.cart-name { font-family: var(--serif); font-weight: 400; font-size: 19px; letter-spacing: -0.012em; }
.cart-price { font-family: var(--serif); font-size: 16px; font-variant-numeric: tabular-nums; }
.cart-ref {
  margin-top: 8px; font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash);
}
.cart-controls {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 22px;
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty-btn { width: 40px; height: 40px; background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--ink); }
.qty-btn:hover { color: var(--accent); }
.qty-n {
  min-width: 34px; text-align: center;
  font-family: var(--serif); font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.cart-remove {
  background: none; border: 0; cursor: pointer; color: var(--ash);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.cart-remove:hover { color: var(--accent); }
.cart-summary {
  border: 1px solid var(--line); padding: clamp(28px, 3vw, 42px);
  position: sticky; top: 92px;
}
.sum-line {
  display: flex; justify-content: space-between; gap: 18px; padding: 14px 0;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ash);
  border-bottom: 1px solid var(--line);
}
.sum-line .v { font-family: var(--serif); font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); font-variant-numeric: tabular-nums; }
.sum-line.total { color: var(--ink); font-weight: 400; border-bottom: 0; padding-top: 24px; }
.sum-line.total .v { font-size: 20px; }
.cart-checkout { width: 100%; margin-top: 28px; }
.cart-note {
  margin: 18px 0 0; color: var(--ash);
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.cart-empty { padding: clamp(56px, 8vw, 140px) 0; }

/* ---------- motion ---------- */
.page-curtain { display: none; }
[data-reveal], .reveal { opacity: 0; transition: opacity 1.3s var(--ease); }
[data-reveal].in, .reveal.in { opacity: 1; }
.reveal.d1 { transition-delay: 0.10s; }
.reveal.d2 { transition-delay: 0.22s; }
.reveal.m1 { transition-delay: 0.04s; }
.clip { overflow: hidden; }
.line-mask { display: block; }
.line-mask > span { display: block; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  [data-reveal], .reveal { opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav .links { display: none; }
  .menu-toggle { display: block; }
  .footer-brand { grid-column: span 12; }
  .footer-col { grid-column: span 6; }
  .footer-news { grid-column: span 12; }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
