/* ===========================================================================
   DARMI VAULT — editorial layer
   ---------------------------------------------------------------------------
   Loaded after style.css. Everything here is the design system: the type
   scale, the spacing scale, the technical label language, and the components
   that carry the brand — product cards, the product page, the shop head, the
   journal, the archive.

   It is a separate file rather than edits inside style.css so the whole layer
   can be rolled back by dequeuing one stylesheet, and so the cascade is
   predictable: this loads last, so single-class rules here win over the
   equal-specificity rules in style.css without a single !important.

   The rule the palette follows: one accent, used rarely. Orange appears on
   scarcity, on focus, and nowhere else. Everything else is ink, paper and
   two greys — the restraint is the design.
   ========================================================================= */

:root {
  /* ---- Space scale ---- */
  --s-1:   4px;
  --s-2:   8px;
  --s-3:  16px;
  --s-4:  24px;
  --s-5:  32px;
  --s-6:  48px;
  --s-7:  64px;
  --s-8:  96px;
  --s-9: 128px;

  /* Section rhythm: fewer sections, bigger. */
  --s-section: clamp(72px, 9vw, 148px);

  /* ---- Type scale ---- */
  --t-display: clamp(44px, 11vw, 148px);
  --t-h1:      clamp(32px, 5.2vw, 68px);
  --t-h2:      clamp(24px, 3vw, 40px);
  --t-h3:      clamp(18px, 1.6vw, 22px);
  --t-body:    16px;
  --t-small:   14px;
  --t-label:   11px;

  /* ---- Colour ---- */
  --ink:        #0e0e0e;
  --paper:      #ffffff;
  --offwhite:   #f4f2ee;
  --grey:       #6f6f6f;
  --grey-light: #a5a19b;
  --rule:       rgba(14, 14, 14, 0.13);
  --rule-firm:  rgba(14, 14, 14, 0.26);
  --accent:     var(--color-accent, #ff4d00);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------------
   The technical label
   The brand's smallest voice: run numbers, volumes, entry numbers, cities.
   Mono, uppercase, widely tracked — it reads as a stamp, not as copy.
   ------------------------------------------------------------------------- */
.dv-label {
  display: block;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.dv-label--ink { color: var(--ink); }
.dv-label--paper { color: rgba(255, 255, 255, 0.78); }
.dv-label--accent { color: var(--accent); }

/* A rule with a label sitting on it — the section marker used site-wide. */
.dv-rule {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-firm);
  margin-bottom: var(--s-6);
}

/* ---------------------------------------------------------------------------
   Header — transparent over a hero image, solid once scrolled
   ------------------------------------------------------------------------- */
.header { transition: background-color 0.28s var(--ease), border-color 0.28s var(--ease); }

body.has-hero-media .header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: transparent;
  border-bottom-color: transparent;
}
body.has-hero-media .header:not(.is-scrolled) a,
body.has-hero-media .header:not(.is-scrolled) button,
body.has-hero-media .header:not(.is-scrolled) .header__wordmark {
  color: #fff;
}
body.has-hero-media .header:not(.is-scrolled) .header__burger span,
body.has-hero-media .header:not(.is-scrolled) .header__burger span::before,
body.has-hero-media .header:not(.is-scrolled) .header__burger span::after {
  background: #fff;
}
body.has-hero-media .header.is-scrolled {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

/* The announcement bar scrolls away with the page rather than pinning. */
.announcement { position: relative; z-index: 2; }

.header__nav a,
.header__utils a,
.header__utils button {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Underline that draws from the left rather than a colour change. */
.header__nav a { position: relative; text-decoration: none; }
.header__nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header__nav a:hover::after,
.header__nav .current-menu-item > a::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------------
   Product card — editorial, not commercial
   Photography is the whole card. The label above the name places the piece in
   a volume; the state below it is the only urgency shown, and only when true.
   ------------------------------------------------------------------------- */
.card__media {
  position: relative;
  overflow: hidden;
  background: var(--offwhite);
  aspect-ratio: 4 / 5;
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* Second angle, revealed on hover. Falls back to nothing when a product has
   only one image, so the card never flickers to blank. */
.card__media--swap .card__img-alt {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.card__media--swap:hover .card__img-alt,
.card:focus-within .card__media--swap .card__img-alt { opacity: 1; }

.card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
  padding-top: var(--s-3);
}
.card__meta {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.card__title {
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.25;
}
.card__price {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-small);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

/* The grid is for looking, not for transacting. Add-to-cart lives on the
   product page, where a size can actually be chosen. */
.card__add { display: none; }

/* WooCommerce's own sale flash, wherever it still renders. */
.woocommerce span.onsale,
.card__tag--sale { display: none; }

/* ---------------------------------------------------------------------------
   Product grid — generous, unequal, never a wall of twelve
   ------------------------------------------------------------------------- */
.woocommerce ul.products,
ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-6) var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) {
  .woocommerce ul.products,
  ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-8) var(--s-5); }
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; }
.woocommerce ul.products li.product { width: auto; margin: 0; float: none; }

/* ---------------------------------------------------------------------------
   Shop head — a collection index, not a results page
   ------------------------------------------------------------------------- */
.shop-head {
  padding: var(--s-7) 0 var(--s-6);
  border-bottom: 1px solid var(--rule-firm);
  margin-bottom: var(--s-7);
}
.shop-head__title {
  font-size: var(--t-h1);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
  margin: var(--s-3) 0 var(--s-4);
}
.shop-head__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
}

/* Filters read as an index line, not a control panel. */
.shop-filters { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); }
.shop-filters a {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.shop-filters a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.shop-filters a.is-current { color: var(--ink); border-bottom-color: var(--ink); }

/* ---------------------------------------------------------------------------
   Product page — gallery left, information right
   ------------------------------------------------------------------------- */
@media (min-width: 900px) {
  .single-product div.product {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: var(--s-8);
    align-items: start;
  }
  .single-product div.product .woocommerce-product-gallery { grid-column: 1; margin: 0; width: auto !important; float: none !important; }
  .single-product div.product .summary { grid-column: 2; margin: 0; width: auto !important; float: none !important; position: sticky; top: var(--s-8); }
  .single-product div.product .woocommerce-tabs,
  .single-product div.product .related { grid-column: 1 / -1; }
}

.single-product .product_title {
  font-size: var(--t-h2);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.05;
  text-wrap: balance;
  margin: var(--s-2) 0 var(--s-3);
}
.single-product .summary .price {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-h3);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s-4);
}

/* The piece's place in the archive, above the name. */
.piece-ident { margin-bottom: var(--s-2); }

/* Spec table */
.product-details__list li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding: var(--s-2) 0;
  border-bottom: 1px solid var(--rule);
  font-size: var(--t-small);
}
.product-details__list li > span:last-child { text-align: right; }

/* Accordions — details, sizing, materials, shipping, returns */
.dv-accordion { border-top: 1px solid var(--rule-firm); margin-top: var(--s-5); }
.dv-accordion__item { border-bottom: 1px solid var(--rule); }
.dv-accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
  padding: var(--s-4) 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}
.dv-accordion__sign { position: relative; width: 11px; height: 11px; flex: none; }
.dv-accordion__sign::before,
.dv-accordion__sign::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  background: currentColor;
}
.dv-accordion__sign::before { width: 11px; height: 1px; }
.dv-accordion__sign::after  { width: 1px; height: 11px; transition: transform 0.28s var(--ease); }
.dv-accordion__trigger[aria-expanded="true"] .dv-accordion__sign::after { transform: scaleY(0); }

/* Panels are open by default. JavaScript adds .is-ready and takes over, so
   with scripting blocked the content stays readable instead of being sealed
   behind a button that does nothing. */
.dv-accordion__panel { overflow: hidden; }
.dv-accordion.is-ready .dv-accordion__panel {
  max-height: 0;
  transition: max-height 0.32s var(--ease);
}
.dv-accordion__panel > div {
  padding-bottom: var(--s-4);
  font-size: var(--t-small);
  line-height: 1.65;
  color: var(--grey);
}
.dv-accordion__panel a { color: var(--ink); border-bottom: 1px solid var(--rule-firm); }

/* Triggers are inert decoration until the script wires them up. */
.dv-accordion:not(.is-ready) .dv-accordion__trigger { cursor: default; }
.dv-accordion:not(.is-ready) .dv-accordion__sign { display: none; }

/* Size selector — squares, not a dropdown */
.dv-sizes { display: flex; flex-wrap: wrap; gap: var(--s-2); margin: var(--s-3) 0 var(--s-4); }
.dv-sizes__option {
  min-width: 52px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--rule-firm);
  background: var(--paper);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}
.dv-sizes__option:hover { border-color: var(--ink); }
.dv-sizes__option[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.dv-sizes__option[disabled] {
  color: var(--grey-light);
  border-color: var(--rule);
  cursor: not-allowed;
  text-decoration: line-through;
}

/* Add to bag */
.single-product .summary .single_add_to_cart_button,
.dv-addtobag {
  display: block;
  width: 100%;
  padding: var(--s-4) var(--s-5);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 0;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.single-product .summary .single_add_to_cart_button:hover,
.dv-addtobag:hover { background: transparent; color: var(--ink); }

/* Quantity input is noise on a one-per-customer limited run. */
.single-product .summary .quantity { display: none; }

/* ---------------------------------------------------------------------------
   Journal — entries, not blog posts
   ------------------------------------------------------------------------- */
.entry-card {
  display: grid;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 760px) {
  .entry-card {
    grid-template-columns: 140px minmax(0, 1fr) auto;
    align-items: baseline;
    gap: var(--s-5);
  }
}
.entry-card__no {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.entry-card__title {
  font-size: var(--t-h3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.entry-card__title a { text-decoration: none; }
.entry-card:hover .entry-card__title { color: var(--accent); }
.entry-card__read {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Newsletter — one line, no popup
   ------------------------------------------------------------------------- */
.newsletter {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ink);
  max-width: 460px;
}
.newsletter input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: var(--s-3) 0;
  border: 0;
  background: transparent;
  font-size: var(--t-body);
  color: inherit;
}
.newsletter input[type="email"]::placeholder { color: var(--grey); }
.newsletter button {
  flex: none;
  padding: var(--s-3) 0 var(--s-3) var(--s-4);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.newsletter button:hover { color: var(--accent); }

/* ---------------------------------------------------------------------------
   WooCommerce chrome that reads as a plugin
   Hidden, never disabled — the underlying flow keeps working.
   ------------------------------------------------------------------------- */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering,
.woocommerce nav.woocommerce-breadcrumb,
.woocommerce .product_meta,
.woocommerce-product-gallery__trigger { display: none; }

/* Notices: keep them, restyle them. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 0;
  border-left: 2px solid var(--ink);
  border-radius: 0;
  background: var(--offwhite);
  padding: var(--s-3) var(--s-4);
  font-size: var(--t-small);
}
.woocommerce-error { border-left-color: var(--accent); }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { display: none; }

/* Pagination as an index line. */
.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  gap: var(--s-3);
  justify-content: center;
}
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: var(--s-2) var(--s-1);
  background: none;
}
.woocommerce nav.woocommerce-pagination ul li span.current { border-bottom: 1px solid var(--ink); }

/* ---------------------------------------------------------------------------
   Accessibility and motion
   ------------------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card__media--swap .card__img-alt { transition: none; }
}

/* Nothing scrolls sideways, at any width. */
html, body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------------------
   Made-to-order notice
   Sits under the add-to-bag button. The lead time is the biggest objection on
   the page, so it is answered there rather than buried in a policy link.
   ------------------------------------------------------------------------- */
.made-to-order {
  margin-top: var(--s-4);
  padding: var(--s-4);
  background: var(--offwhite);
  border-left: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.made-to-order p { margin: 0; font-size: var(--t-small); line-height: 1.6; color: var(--grey); }
.made-to-order .dv-label { color: var(--ink); }

/* ---------------------------------------------------------------------------
   Variation form
   The native select stays in the DOM and stays authoritative — it is only
   taken out of the visual flow. Screen readers and no-JS visitors keep a
   working control, and WooCommerce keeps the element it expects to find.
   ------------------------------------------------------------------------- */
.dv-native-select {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.woocommerce div.product form.cart .variations { margin-bottom: var(--s-3); }
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tbody,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations td { display: block; width: auto; padding: 0; border: 0; }
.woocommerce div.product form.cart .variations .label { padding: 0 0 var(--s-2); }
.woocommerce div.product form.cart .variations .label label {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 400;
}
.woocommerce div.product form.cart .reset_variations {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}
.woocommerce div.product .woocommerce-variation-price { margin-bottom: var(--s-3); }
.woocommerce div.product .woocommerce-variation-availability { display: none; }

/* ---------------------------------------------------------------------------
   Premium pass — restraint, space, and one accent used rarely
   ------------------------------------------------------------------------- */

/* Announcement bar: quieter, wider tracking, hairline rule instead of a slab. */
.announcement {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.announcement__row { display: flex; justify-content: center; gap: var(--s-6); padding: var(--s-2) 0; flex-wrap: wrap; }
.announcement__row span { opacity: 0.82; }

/* Header: more air, wordmark carries the weight. */
.header__inner { padding-top: var(--s-4); padding-bottom: var(--s-4); }
.header__wordmark {
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 15px;
}
.header__logo small { display: none; }

/* Bag count: a number, not a bubble. */
.cart-count {
  font-variant-numeric: tabular-nums;
  background: none;
  color: inherit;
  padding: 0 0 0 4px;
}

/* Hero: the type is the image until real photography exists. */
.hero__inner { padding-block: clamp(80px, 16vh, 180px); }
.hero__title {
  font-size: var(--t-h1);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__sub { max-width: 46ch; color: var(--grey); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

/* Buttons: square, mono, no fills competing with the photography. */
.btn {
  border-radius: 0;
  padding: var(--s-3) var(--s-5);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Section rhythm: fewer, larger. */
.section { padding-block: var(--s-section); }
.section-head { margin-bottom: var(--s-6); }

/* Prices align on the decimal wherever they sit in a column. */
.woocommerce-Price-amount { font-variant-numeric: tabular-nums; }

/* Mobile: nothing under 44px, nothing clipped. */
@media (max-width: 600px) {
  .dv-sizes__option { min-width: 56px; min-height: 44px; }
  .announcement__row { gap: var(--s-3); font-size: 9px; }
  .header__inner { padding-top: var(--s-3); padding-bottom: var(--s-3); }
}

/* ---------------------------------------------------------------------------
   Cookie consent
   Refusing is the same size, weight and distance from the cursor as accepting.
   That symmetry is a legal requirement, not a style choice — a "Refuse" made
   quieter than "Accept" is what regulators treat as invalid consent.
   ------------------------------------------------------------------------- */
.consent {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9999;
  background: var(--paper);
  border-top: 1px solid var(--ink);
  transform: translateY(100%);
  transition: transform 0.26s var(--ease);
}
.consent.is-open { transform: translateY(0); }
.consent__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: var(--s-4) var(--s-4);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.consent__copy { flex: 1 1 420px; min-width: 0; }
.consent__copy p { margin: 0; font-size: var(--t-small); line-height: 1.6; color: var(--grey); }
.consent__copy .dv-label { margin-bottom: var(--s-2); }
.consent__copy a { color: var(--ink); border-bottom: 1px solid var(--rule-firm); }

.consent__options { display: flex; flex-direction: column; gap: var(--s-2); margin-top: var(--s-3); }
.consent__option { display: flex; gap: var(--s-2); align-items: flex-start; font-size: 13px; line-height: 1.5; }
.consent__option input { margin-top: 3px; accent-color: var(--ink); flex: none; }
.consent__option strong { display: block; color: var(--ink); font-weight: 600; }

.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); flex: 0 0 auto; }
.consent__btn {
  min-height: 44px;
  padding: var(--s-2) var(--s-4);
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.consent__btn:hover { background: var(--ink); color: var(--paper); }
.consent__btn--solid { background: var(--ink); color: var(--paper); }
.consent__btn--solid:hover { background: transparent; color: var(--ink); }

/* Permanent way back to the choice. */
.consent-reopen {
  position: fixed;
  left: var(--s-3); bottom: var(--s-3);
  z-index: 9998;
  background: var(--paper);
  color: var(--grey);
  border: 1px solid var(--rule);
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease);
}
.consent-reopen:hover, .consent-reopen:focus-visible { opacity: 1; }

@media (max-width: 720px) {
  .consent__inner { padding: var(--s-3); gap: var(--s-3); }
  .consent__actions { width: 100%; }
  .consent__btn { flex: 1 1 auto; }
  .consent-reopen { display: none; }
}
@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* ---------------------------------------------------------------------------
   Mailing list
   ------------------------------------------------------------------------- */
.newsletter__trap {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.newsletter__consent {
  margin-top: var(--s-2);
  max-width: 46ch;
  font-size: 11px;
  line-height: 1.5;
  color: var(--grey);
}
.newsletter__consent a { color: inherit; border-bottom: 1px solid var(--rule); }
.newsletter__msg {
  margin-top: var(--s-2);
  min-height: 1em;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
}
.newsletter__msg.is-ok { color: var(--ink); }
.newsletter__msg.is-error { color: var(--accent); }
.newsletter button:disabled { opacity: 0.5; cursor: wait; }

/* ---------------------------------------------------------------------------
   Journal — an index of entries
   Numbered like archive documents. The rule between entries does the
   separating, so nothing needs a card, a shadow or a border box.
   ------------------------------------------------------------------------- */
.journal { display: flex; flex-direction: column; border-top: 1px solid var(--rule-firm); }

.entry-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
  align-items: start;
}
@media (min-width: 760px) {
  .entry-card {
    grid-template-columns: 150px minmax(0, 1fr) 200px auto;
    gap: var(--s-5);
    align-items: center;
    padding: var(--s-4) 0;
  }
}

.entry-card__ident { display: flex; flex-direction: column; gap: 2px; }
.entry-card__no,
.entry-card__date {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.entry-card__no { color: var(--ink); }
.entry-card__date { color: var(--grey); font-variant-numeric: tabular-nums; }

.entry-card__title {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
  margin: 0;
}
.entry-card__title a { text-decoration: none; color: inherit; }
.entry-card__excerpt {
  margin: var(--s-2) 0 0;
  font-size: var(--t-small);
  line-height: 1.6;
  color: var(--grey);
  max-width: 60ch;
}

.entry-card__media { display: block; overflow: hidden; background: var(--offwhite); aspect-ratio: 4 / 3; }
.entry-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.entry-card:hover .entry-card__media img { transform: scale(1.03); }

.entry-card__read {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
}
.entry-card:hover .entry-card__read { border-bottom-color: currentColor; }

/* Single entry — long-form reading measure. */
.single-post .entry__content { max-width: 68ch; }
.single-post .entry__content p { font-size: 17px; line-height: 1.75; }
.single-post .entry__content h2 {
  margin-top: var(--s-7);
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
   Archive — pieces that are closed
   Presented as a record, not as a shop. Nothing here is purchasable, so
   nothing here carries a price or a button.
   ------------------------------------------------------------------------- */
.vault-archive { display: grid; grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 760px) { .vault-archive { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } }

.vault-archive figure { margin: 0; }
.vault-archive img {
  width: 100%; height: auto; display: block;
  background: var(--offwhite);
  filter: grayscale(0.15);
  transition: filter 0.5s var(--ease);
}
.vault-archive figure:hover img { filter: grayscale(0); }
.vault-archive figcaption {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: var(--s-3);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.vault-archive figcaption strong { color: var(--ink); font-weight: 600; letter-spacing: 0.1em; }
.vault-archive figcaption span { color: var(--grey); }

/* ---------------------------------------------------------------------------
   Forms
   Underlines rather than boxes: a field is a line you write on, and it keeps
   the page reading as editorial instead of as an admin panel.
   ------------------------------------------------------------------------- */
.dv-form { display: flex; flex-direction: column; gap: var(--s-4); max-width: 560px; }
.dv-form__row { display: flex; flex-direction: column; gap: var(--s-2); }
.dv-form__label {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
}
.dv-form__label span { opacity: 0.6; letter-spacing: 0.1em; }

.dv-form input[type="text"],
.dv-form input[type="email"],
.dv-form select,
.dv-form textarea {
  width: 100%;
  padding: var(--s-2) 0;
  border: 0;
  border-bottom: 1px solid var(--rule-firm);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--t-body);
  transition: border-color 0.2s var(--ease);
}
.dv-form textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.dv-form input:focus,
.dv-form select:focus,
.dv-form textarea:focus { outline: none; border-bottom-color: var(--ink); }

/* Native select arrow removed so it matches the underlined fields. */
.dv-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
                    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 6px center, right 1px center;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: var(--s-4);
}

.dv-form__submit {
  align-self: flex-start;
  min-height: 44px;
  padding: var(--s-3) var(--s-5);
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dv-form__submit:hover:not(:disabled) { background: transparent; color: var(--ink); }
.dv-form__submit:disabled { opacity: 0.5; cursor: not-allowed; }

.dv-form__note { margin: 0; font-size: 11px; line-height: 1.5; color: var(--grey); }
.dv-form__note a { color: inherit; border-bottom: 1px solid var(--rule); }
.dv-form__msg {
  margin: 0;
  min-height: 1em;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label);
  letter-spacing: 0.08em;
  line-height: 1.5;
}
.dv-form__msg.is-ok { color: var(--ink); }
.dv-form__msg.is-error { color: var(--accent); }

/* Contact page: form beside the direct details, not stacked under them. */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-7); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: var(--s-8); } }

/* ---------------------------------------------------------------------------
   Order timeline
   A <details> element: closed by default so it never pushes the price and the
   photograph down the page, open with no JavaScript at all.
   ------------------------------------------------------------------------- */
.dv-timeline { margin-top: var(--s-4); border-top: 1px solid var(--rule); }
.dv-timeline > summary {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-3); padding: var(--s-4) 0; cursor: pointer; list-style: none;
}
.dv-timeline > summary::-webkit-details-marker { display: none; }
.dv-timeline__sign { position: relative; width: 11px; height: 11px; flex: none; }
.dv-timeline__sign::before,
.dv-timeline__sign::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--ink); }
.dv-timeline__sign::before { width: 11px; height: 1px; }
.dv-timeline__sign::after  { width: 1px; height: 11px; transition: transform 0.28s var(--ease); }
.dv-timeline[open] .dv-timeline__sign::after { transform: scaleY(0); }

.dv-timeline__list { list-style: none; margin: 0 0 var(--s-4); padding: 0; display: flex; flex-direction: column; }
.dv-timeline__list li {
  display: grid; grid-template-columns: 108px minmax(0, 1fr);
  gap: var(--s-3); padding: var(--s-3) 0;
  border-top: 1px solid var(--rule);
}
.dv-timeline__when {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
  padding-top: 2px;
}
.dv-timeline__body { font-size: 13px; line-height: 1.55; color: var(--grey); }
.dv-timeline__body strong {
  display: block; color: var(--ink); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 12px; margin-bottom: 2px;
}
@media (max-width: 520px) {
  .dv-timeline__list li { grid-template-columns: 1fr; gap: var(--s-1); }
}

/* ---------------------------------------------------------------------------
   Payment marks — set as type, so there are no logo files to load or licence
   ------------------------------------------------------------------------- */
.dv-pay { margin-top: var(--s-4); display: flex; flex-direction: column; gap: var(--s-2); }
.dv-pay__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.dv-pay__list li {
  padding: 4px 9px;
  border: 1px solid var(--rule-firm);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey);
}

/* ---------------------------------------------------------------------------
   Commitments
   ------------------------------------------------------------------------- */
.dv-commit { border-top: 1px solid var(--rule-firm); margin-top: var(--s-8); padding: var(--s-6) 0; }
.dv-commit ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: var(--s-5); }
@media (min-width: 760px) { .dv-commit ul { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } }
.dv-commit a {
  display: flex; flex-direction: column; gap: var(--s-2);
  text-decoration: none; color: var(--grey);
  font-size: 13px; line-height: 1.55;
  padding-top: var(--s-3); border-top: 1px solid var(--rule);
  transition: border-color 0.2s var(--ease);
}
.dv-commit a:hover { border-top-color: var(--ink); }
.dv-commit a:hover .dv-label { color: var(--accent); }

/* ---------------------------------------------------------------------------
   Measurements
   ------------------------------------------------------------------------- */
.dv-measure { width: 100%; border-collapse: collapse; margin: var(--s-2) 0; font-variant-numeric: tabular-nums; }
.dv-measure th, .dv-measure td {
  text-align: left; padding: 7px 0; border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 11px; letter-spacing: 0.06em;
}
.dv-measure th { color: var(--ink); text-transform: uppercase; width: 4em; }
.dv-measure td { color: var(--grey); }
.dv-measure__note { font-size: 11px; color: var(--grey-light); margin: var(--s-1) 0 0; }

/* ---------------------------------------------------------------------------
   About — editorial, asymmetric, read rather than skimmed
   Text sits on a 68ch measure while images break wider, so the page has a
   rhythm instead of one centred corporate column.
   ------------------------------------------------------------------------- */
.about-page { display: flex; flex-direction: column; gap: var(--s-8); }

.about-lede {
  font-size: clamp(26px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
  max-width: 18ch;
  margin: 0;
}
.about-sub { max-width: 62ch; font-size: 17px; line-height: 1.7; color: var(--grey); margin: var(--s-4) 0 0; }

/* Numbered chapter heading with a rule across the page. */
.about-chapter {
  display: flex; align-items: baseline; gap: var(--s-4);
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--rule-firm);
  margin: 0 0 var(--s-5);
}
.about-chapter h2 {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em;
}
.about-chapter .dv-label { margin-left: auto; white-space: nowrap; }

.about-block { display: grid; grid-template-columns: 1fr; gap: var(--s-5); align-items: start; }
@media (min-width: 900px) {
  .about-block { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--s-8); }
  .about-block--flip > :first-child { order: 2; }
}
.about-block p { max-width: 62ch; font-size: 16px; line-height: 1.75; }
.about-block p + p { margin-top: var(--s-3); }

.about-figure { margin: 0; }
.about-figure img { width: 100%; height: auto; display: block; background: var(--offwhite); }
.about-figure figcaption {
  padding-top: var(--s-2);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}

/* Pull quote — the founder's own published words, not marketing copy. */
.about-quote {
  margin: 0; padding: var(--s-5) 0;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
}
.about-quote p {
  margin: 0; max-width: 22ch;
  font-size: clamp(22px, 3.4vw, 40px);
  font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-transform: uppercase;
}
.about-quote cite {
  display: block; margin-top: var(--s-3); font-style: normal;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}
.about-quote cite a { color: inherit; border-bottom: 1px solid var(--rule); }

/* The facts, set as data. */
.about-facts { border-top: 1px solid var(--rule-firm); }
.about-facts dl { display: grid; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 700px) { .about-facts dl { grid-template-columns: repeat(2, 1fr); column-gap: var(--s-8); } }
.about-facts div {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-4);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--rule);
}
.about-facts dt {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label); letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
}
.about-facts dd {
  margin: 0; text-align: right;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   Size buttons — with the real number left
   The count is the actual stock level, so scarcity is a fact the visitor can
   check against what happens when they try to buy, not a decoration.
   ------------------------------------------------------------------------- */
.dv-sizes__option { display: inline-flex; align-items: baseline; gap: 6px; }
.dv-sizes__size { line-height: 1; }
.dv-sizes__left {
  font-size: 9px; letter-spacing: 0.06em; opacity: 0.55;
  font-variant-numeric: tabular-nums;
}
.dv-sizes__left.is-low { opacity: 1; color: var(--accent); }
.dv-sizes__option[aria-pressed="true"] .dv-sizes__left { opacity: 0.8; color: inherit; }
.dv-sizes__option.is-gone { text-decoration: line-through; }

/* ---------------------------------------------------------------------------
   Cart drawer
   ------------------------------------------------------------------------- */
.cart-drawer__scrim {
  position: fixed; inset: 0; z-index: 9990;
  background: rgba(14, 14, 14, 0.42);
  opacity: 0; transition: opacity 0.28s var(--ease);
}
.cart-drawer__scrim.is-open { opacity: 1; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 9991;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: var(--paper);
  border-left: 1px solid var(--ink);
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}
.cart-drawer.is-open { transform: translateX(0); }
body.drawer-open { overflow: hidden; }

.cart-drawer__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s-4); border-bottom: 1px solid var(--rule-firm);
}
.cart-drawer__close {
  background: none; border: 0; cursor: pointer;
  font-size: 26px; line-height: 1; color: var(--ink); padding: 0 4px;
}

.cart-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: var(--s-4); }
.cart-drawer__body.is-loading { opacity: 0.45; pointer-events: none; }
.cart-drawer__empty { margin: 0; font-size: var(--t-small); color: var(--grey); }

.cart-drawer__items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cart-drawer__item {
  display: grid; grid-template-columns: 68px minmax(0, 1fr); gap: var(--s-3);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--rule);
}
.cart-drawer__item img,
.cart-drawer__ph { width: 68px; aspect-ratio: 4/5; object-fit: cover; background: var(--offwhite); display: block; }
.cart-drawer__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cart-drawer__meta strong {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.02em; line-height: 1.25;
}
.cart-drawer__qty {
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 11px; color: var(--grey); font-variant-numeric: tabular-nums;
}
.cart-drawer__remove {
  align-self: flex-start; margin-top: 2px;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--grey); border-bottom: 1px solid var(--rule);
}
.cart-drawer__remove:hover { color: var(--accent); border-bottom-color: var(--accent); }

.cart-drawer__foot { padding: var(--s-4); border-top: 1px solid var(--ink); display: flex; flex-direction: column; gap: var(--s-3); }
.cart-drawer__total {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 15px; font-variant-numeric: tabular-nums;
}
.cart-drawer__note { margin: 0; font-size: 11px; color: var(--grey); }
.cart-drawer__checkout {
  display: block; text-align: center; text-decoration: none;
  padding: var(--s-4); background: var(--ink); color: var(--paper);
  border: 1px solid var(--ink);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: var(--t-label); letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.cart-drawer__checkout:hover { background: transparent; color: var(--ink); }
.cart-drawer__view {
  text-align: center; text-decoration: none; color: var(--grey);
  font-family: var(--font-mono, ui-monospace, Menlo, Consolas, monospace);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-drawer__scrim { transition: none; }
}
