/* ============================================================================
   BDS Leatherworx — the atelier (division-only styles, linked after division.css)
   Colour comes ONLY from the --lw* family via var(--accent*) / world tokens,
   so the navy -> yellow switch stays a one-line change in base.css.
   Motif: the saddle stitch (dashed rules) and the workshop ledger (numbered rows).
   ============================================================================ */

/* ---------- inner-page photo hero ---------- */
.dhero--inner { min-height: 72svh; }

/* ---------- typographic hero (stitched frame) ---------- */
.lwhero {
  position: relative; min-height: 72svh;
  display: flex; align-items: flex-end; overflow: clip;
  padding-top: clamp(150px, 22vh, 240px);
  background:
    radial-gradient(110% 90% at 88% 6%, var(--accent-soft), transparent 62%),
    radial-gradient(70% 60% at 0% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
    var(--bg);
}
.lwhero::before {
  content: ""; position: absolute; inset: clamp(10px, 1.4vw, 18px);
  border: 1.5px dashed var(--line-2); border-radius: calc(var(--radius) + 6px);
  pointer-events: none;
}
.lwhero__content { position: relative; width: 100%; padding-bottom: clamp(60px, 9vh, 110px); }
.lwhero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 88px); align-items: end; }
@media (max-width: 860px) { .lwhero__grid { grid-template-columns: 1fr; } }
.lwhero h1 { max-width: 12ch; }
.lwhero h1 .tone { color: var(--accent-bright); }
.lwhero__sub { max-width: 46ch; margin-top: 20px; font-size: clamp(1rem, 1.35vw, 1.2rem); color: var(--muted); }
.lwhero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.lwhero__big {
  font-family: var(--font-display); font-weight: 400; line-height: .78;
  font-size: clamp(9rem, 27vw, 23rem); text-align: right;
  color: transparent; -webkit-text-stroke: 1.5px var(--accent-bright);
  user-select: none;
}
.lwhero__big small { display: block; font-family: var(--font-body); font-size: .72rem; letter-spacing: .3em; -webkit-text-stroke: 0; color: var(--muted); margin-top: 18px; text-transform: uppercase; font-weight: 600; }
@media (max-width: 860px) { .lwhero__big { text-align: left; } }

.crumbs { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; }
.crumbs a { text-decoration: none; opacity: .7; }
.crumbs a:hover { opacity: 1; }
.crumbs span[aria-hidden] { opacity: .4; }
.dhero .crumbs { color: rgba(242,239,232,.82); }
.lwhero .crumbs { color: var(--muted); }

/* ---------- the stitch ---------- */
.stitch { border: 0; border-top: 2px dashed var(--accent); width: 72px; margin: 0 0 22px; opacity: .8; }
.stitch--wide { width: 100%; border-top-width: 1.5px; border-color: var(--line-2); margin: 0; opacity: 1; }

/* ---------- ledger: one numbered row per piece ---------- */
.ledger { list-style: none; padding: 0; border-bottom: 1.5px dashed var(--line-2); }
.ledger__row {
  display: grid; grid-template-columns: 4.5rem 5fr 6fr 15rem;
  gap: clamp(14px, 2vw, 32px); align-items: center;
  padding: clamp(18px, 2.6vh, 28px) 0; border-top: 1.5px dashed var(--line-2);
  scroll-margin-top: 140px;
  transition: background .3s var(--ease);
}
.ledger__row:hover { background: linear-gradient(90deg, var(--accent-soft), transparent 70%); }
.ledger__no { font-family: var(--font-mono); font-size: .85rem; color: var(--accent-bright); padding-left: 6px; }
.ledger__name { display: flex; align-items: center; gap: 16px; }
.ledger__name h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1; }
.ledger__thumb { flex: none; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--bone); }
.ledger__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ledger__row p { color: var(--muted); font-size: .94rem; max-width: 52ch; }
.ledger__row .enq { justify-self: end; }
@media (max-width: 960px) {
  .ledger__row { grid-template-columns: 3rem 1fr; row-gap: 10px; }
  .ledger__row p, .ledger__row .enq { grid-column: 2; justify-self: start; }
}

/* ---------- enquire pill (WhatsApp, piece pre-filled) ---------- */
.enq {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: .86rem; text-decoration: none; white-space: nowrap;
  padding: 10px 18px; border-radius: 99px;
  border: 1px solid var(--line-2); color: var(--fg);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .16s var(--ease);
}
.enq:hover { border-color: var(--whatsapp); background: rgba(37,211,102,.08); }
.enq:active { transform: scale(.97); }
.enq svg { flex: none; }

/* ---------- shelves: four doors into the collection ---------- */
.shelves { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.shelf {
  grid-column: span 7; position: relative; display: flex; align-items: flex-end;
  min-height: clamp(360px, 52vh, 540px); border-radius: var(--radius); overflow: clip;
  text-decoration: none; color: #f2efe8; background: var(--bg-3);
}
.shelf:nth-child(2), .shelf:nth-child(3) { grid-column: span 5; }
@media (max-width: 860px) { .shelf, .shelf:nth-child(2), .shelf:nth-child(3) { grid-column: span 12; } }
.shelf img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.shelf:hover img { transform: scale(1.04); }
.shelf::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.05) 30%, rgba(10,12,16,.86) 100%); }
.shelf--type { color: var(--fg); background: radial-gradient(90% 80% at 80% 10%, var(--accent-soft), transparent 70%), var(--bg-2); border: 1px solid var(--line); }
.shelf--type::after { display: none; }
.shelf--type::before { content: ""; position: absolute; inset: 12px; border: 1.5px dashed var(--line-2); border-radius: 10px; }
.shelf__body { position: relative; z-index: 2; padding: clamp(22px, 2.6vw, 36px); width: 100%; }
.shelf__count { font-family: var(--font-mono); font-size: .8rem; color: var(--lw-light); }
.shelf--type .shelf__count { color: var(--accent-bright); }
.shelf h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3.4rem); line-height: .95; margin: 6px 0 12px; }
.shelf__list { font-size: .88rem; opacity: .8; max-width: 52ch; }
.shelf__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: .88rem; }
.shelf__go svg { transition: transform .25s var(--ease); }
.shelf:hover .shelf__go svg { transform: translateX(4px); }

/* ---------- full-bleed statement band (the big moment) ---------- */
.lwband { position: relative; min-height: 86svh; display: grid; align-items: end; overflow: clip; color: #f2efe8; }
.lwband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lwband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.25), rgba(10,12,16,.82)); }
.lwband__text { position: relative; z-index: 2; padding-block: clamp(80px, 14vh, 180px); }
.lwband__text h2 { color: #f6f4f0; max-width: 14ch; }
.lwband__text h2 .tone { color: var(--lw-light); }
.lwband__text p { max-width: 50ch; margin-top: 22px; color: rgba(242,239,232,.84); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.lwband--type { color: var(--fg); background: var(--bg-2); border-block: 1px solid var(--line); min-height: 70svh; }
.lwband--type::after { display: none; }
.lwband--type .lwband__text h2 { color: var(--fg); }
.lwband--type .lwband__text h2 .tone { color: var(--accent-bright); }
.lwband--type .lwband__text p { color: var(--muted); }

/* ---------- product plates (photos shot on white) ---------- */
.frame--plate { background: var(--bone); }
.frame--plate img { object-fit: contain !important; padding: 6%; }
.benchrow__media .frame--plate { aspect-ratio: 4 / 3; }
.benchrow .enq { margin-top: 22px; }
.benchrow__no { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-bright); display: block; margin-bottom: 10px; }

/* ---------- other shelves strip ---------- */
.othershelves { display: flex; flex-wrap: wrap; gap: clamp(18px, 3vw, 48px); margin-top: clamp(24px, 4vh, 40px); }
.othershelves a { text-decoration: none; display: grid; gap: 4px; padding-top: 14px; border-top: 2px dashed var(--line-2); min-width: 200px; transition: border-color .25s var(--ease); }
.othershelves a:hover { border-color: var(--accent); }
.othershelves strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; }
.othershelves span { font-family: var(--font-mono); font-size: .78rem; color: var(--accent-bright); }

/* ---------- promo pair (custom / clubs) ---------- */
.promos { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(14px, 1.8vw, 24px); }
@media (max-width: 860px) { .promos { grid-template-columns: 1fr; } }
.promo { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 62vh, 640px); border-radius: var(--radius); overflow: clip; text-decoration: none; color: #f2efe8; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo:hover img { transform: scale(1.04); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,16,.05) 30%, rgba(10,12,16,.86) 100%); }
.promo__body { position: relative; z-index: 2; padding: clamp(24px, 3vw, 40px); }
.promo__body .micro { color: var(--lw-light); }
.promo h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: .95; margin: 10px 0 12px; }
.promo p { max-width: 42ch; opacity: .84; }

/* ---------- care list ---------- */
.care { list-style: none; padding: 0; border-bottom: 1.5px dashed var(--line-2); }
.care li { display: grid; grid-template-columns: 1fr 1.618fr; gap: clamp(16px, 3vw, 48px); padding: 22px 0; border-top: 1.5px dashed var(--line-2); }
@media (max-width: 700px) { .care li { grid-template-columns: 1fr; gap: 6px; } }
.care strong { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; }
.care p { color: var(--muted); }

/* ---------- forms (compose a WhatsApp / email, no backend) ---------- */
.lwform { display: grid; gap: 18px; }
.lwform__pair { display: grid; grid-template-columns: 5fr 7fr; gap: 18px; }
@media (max-width: 640px) { .lwform__pair { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--fg);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 14px 16px; transition: border-color .2s var(--ease);
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px var(--accent-soft); }
.lwform__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.lwform__note { font-size: .84rem; color: var(--muted); }
.lwform__note a { color: var(--fg); }

/* ---------- contact ---------- */
.lwmap { border-radius: var(--radius); overflow: hidden; min-height: 480px; border: 1px solid var(--line); }
.lwmap iframe { display: block; width: 100%; height: 100%; min-height: 480px; border: 0; }
.lines { list-style: none; padding: 0; margin-top: 22px; }
.lines li { display: grid; grid-template-columns: 1fr 1.618fr; gap: 16px; padding: 14px 0; border-top: 1.5px dashed var(--line-2); align-items: baseline; }
.lines li:last-child { border-bottom: 1.5px dashed var(--line-2); }
.lines .k { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.lines a { text-decoration: none; font-weight: 500; }
.lines a:hover { color: var(--accent-bright); }
.promise { border-left: 2px dashed var(--accent); padding-left: 18px; color: var(--muted); max-width: 52ch; }

/* small phones: keep the CTA and burger on one line */
@media (max-width: 480px) {
  .nav__cta { padding: 8px 14px; font-size: .8rem; }
  .nav__right { display: flex; align-items: center; gap: 6px; }
}
