/*
Theme Name: MOBIPART
Theme URI: https://mobipart.ro
Author: MOBIPART
Description: Custom theme for MOBIPART — precision-manufactured furniture components. Manufacture elegance: charcoal, paper, one surgical red.
Version: 0.3.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: mobipart
*/

/* Self-hosted fonts (assets/fonts/, from Google Fonts). Inter and
   JetBrains Mono are variable files covering all weights in use. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("assets/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/fraunces-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --charcoal: #1d2126;
  --charcoal-soft: #262b31;
  --paper: #faf8f5;
  --ink: #1d2126;
  --ink-muted: #6b7075;
  --ink-faint: #9a9fa4;
  --paper-muted: #b9bdc1;
  --red: #cc0000;
  --hairline: rgba(29, 33, 38, 0.16);
  --hairline-dark: rgba(250, 248, 245, 0.18);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --container: 80rem; /* 1280px */
  --pad-x: clamp(1.25rem, 4vw, 3.5rem); /* 20px → 56px, identical in every section */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}

/* ---------- type ---------- */

.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kicker::before {
  content: "";
  flex: none;
  width: 1.5rem; /* 24px rule */
  height: 2px;
  background: var(--red);
}

.statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 1.25rem;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.75rem;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: #a80000;
}

.btn-ghost {
  border-color: var(--hairline-dark);
  color: var(--paper);
}

.btn-ghost:hover {
  border-color: var(--paper);
}

.text-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--red);
  padding-bottom: 0.2rem;
}

.text-link:hover {
  color: var(--red);
}

/* ---------- header ---------- */

/* row 1 — technical strip (scrolls away) */

.topbar {
  background: var(--charcoal);
  color: var(--paper-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem; /* 11px */
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 2.125rem; /* 34px */
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar a:hover {
  color: var(--paper);
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  white-space: nowrap;
}

.topbar-meta i {
  width: 1px;
  height: 0.75rem;
  background: var(--hairline-dark);
}

/* EN · DE language switcher — current language solid, other one a link */
.lang-switch strong {
  color: var(--paper);
  font-weight: 600;
}

/* row 2 — main bar (sticky) */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
  box-shadow: 0 8px 24px rgba(29, 33, 38, 0.08);
}

.site-header .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  height: 3.75rem; /* 60px */
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.site-nav a:not(.btn) {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-muted);
}

.site-nav a:not(.btn):hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
}

.site-nav .btn {
  padding: 0.6rem 1.25rem;
}

/* ---------- hero ---------- */

.hero {
  background: var(--charcoal);
  color: var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
}

/* text column starts exactly at the shared container's left content edge;
   photo stays full-bleed to the viewport's right edge */
.hero-copy {
  padding: clamp(4rem, 8vw, 7.5rem) var(--pad-x) clamp(4rem, 8vw, 7.5rem)
    calc(max((100vw - var(--container)) / 2, 0px) + var(--pad-x));
  align-self: center;
}

.hero-copy .kicker {
  color: var(--paper-muted);
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  color: #fff;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 30rem;
  color: var(--paper-muted);
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-photo {
  position: relative;
  min-height: 30rem;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

/* fixed-aspect frame matching the source image (1122 × 1402),
   so the dimension lines track the subject at any column size */
.hero-figure {
  position: relative;
  aspect-ratio: 561 / 701;
  max-width: 100%;
}

/* the artwork's near-black ground is close to, but not identical to,
   our charcoal — dissolve all four edges into the section background
   with intersecting linear-gradient masks (no visible rectangle) */
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, #000 10%, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

/* blueprint dimension-line annotations */

.dim {
  position: absolute;
  z-index: 2;
  background: var(--paper);
  opacity: 0.7;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dim::before,
.dim::after {
  content: "";
  position: absolute;
  background: var(--paper);
}

.dim span {
  position: absolute;
  white-space: nowrap;
}

/* short horizontal line across the top cap — Ø 90 mm */
.dim-h {
  left: 40%;
  right: 39.5%;
  top: 10%;
  height: 1px;
}

.dim-h::before,
.dim-h::after {
  top: -0.25rem;
  width: 1px;
  height: 0.5625rem;
}

.dim-h::before {
  left: 0;
}

.dim-h::after {
  right: 0;
}

.dim-h span {
  left: 50%;
  bottom: 0.5rem;
  transform: translateX(-50%);
}

/* vertical line spanning the leg's full height — 420 mm */
.dim-v {
  top: 14.5%;
  bottom: 18%;
  left: 26%;
  width: 1px;
}

.dim-v::before,
.dim-v::after {
  left: -0.25rem;
  width: 0.5625rem;
  height: 1px;
}

.dim-v::before {
  top: 0;
}

.dim-v::after {
  bottom: 0;
}

.dim-v span {
  top: 50%;
  left: 0.6rem;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

/* mono caption plate near the pedestal */
.dim-plate {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 3%;
  transform: translateX(-50%);
  opacity: 0.7;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid var(--hairline-dark);
  padding: 0.35rem 0.7rem;
}

/* ---------- trust strip ---------- */

.trust {
  border-bottom: 1px solid var(--hairline);
}

.trust .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-block: 1.4rem;
}

.trust span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
}

/* ---------- sections ---------- */

.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* components grid */

.components-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.tile {
  border: 1px solid var(--hairline);
}

.tile-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* photos carry an old watermark in the top-right corner:
   oversize the image and crop the top and right out of frame */
.tile-photo img {
  position: absolute;
  top: -16%;
  left: 0;
  width: 118%;
  height: 118%;
  object-fit: cover;
  object-position: 30% 70%;
}

/* catalog plate */
.tile-caption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.tile-caption em {
  font-style: normal;
  color: var(--red);
}

/* full catalogue page — annotated list */

.page-lede {
  margin-top: 1.25rem;
  max-width: 32rem;
  color: var(--ink-muted);
}

.components-list {
  margin-top: 3.5rem;
}

.component-row {
  display: grid;
  grid-template-columns: minmax(260px, 30%) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: 2rem;
  border-top: 1px solid var(--hairline);
}

.component-row:last-child {
  border-bottom: 1px solid var(--hairline);
}

/* photo reuses the watermark-crop frame idiom (.tile-photo) */
.row-photo {
  border: 1px solid var(--hairline);
}

.row-title {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.row-ref {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.row-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
}

.row-material {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.row-detail {
  position: relative;
  margin-top: 1rem;
}

.row-desc {
  max-width: 60ch;
  color: var(--ink-muted);
  font-size: 0.95rem;
  transition: opacity 0.25s ease;
}

/* use-case strip — mobile/touch default: shown under the description */
.row-usecases {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 12rem));
  gap: 0.75rem;
}

.row-usecase {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.row-usecase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* desktop hover reveal: description fades out, use-cases fade in */
@media (hover: hover) {
  .component-row.has-usecases .row-detail {
    min-height: 9rem;
  }

  .component-row.has-usecases .row-usecases {
    position: absolute;
    inset: 0 0 auto 0;
    margin-top: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  .component-row.has-usecases:hover .row-desc {
    opacity: 0;
  }

  .component-row.has-usecases:hover .row-usecases {
    opacity: 1;
  }
}

.components-more {
  margin-top: 2.5rem;
}

/* process */

.process {
  border-top: 1px solid var(--hairline);
}

.process-steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* same tile idiom as the components grid: 4:3 frame, hairline border */
.step-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--hairline);
}

.step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the photo frame's hairline replaces the old column top rule */
.step-no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--red);
  display: block;
  margin-top: 1.25rem;
}

.step h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  margin-top: 0.75rem;
}

.step p {
  margin-top: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

/* craft */

.craft {
  border-top: 1px solid var(--hairline);
}

.craft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.craft-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.craft-copy p {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  max-width: 32rem;
}

/* CTA band */

.cta-band {
  background: var(--charcoal);
  color: var(--paper);
}

.cta-band .container {
  padding-block: 0.75rem; /* 12px inset for the drawing frame */
}

.cta-frame {
  border: 1px dashed rgba(250, 248, 245, 0.25);
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-band .statement {
  color: #fff;
  margin-top: 0;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

.footer-grid img {
  height: 3.25rem; /* 52px */
  width: auto;
}

.footer-grid h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}

.footer-grid p,
.footer-grid a {
  font-size: 0.9rem;
  color: var(--ink-muted);
  text-decoration: none;
  font-style: normal;
}

.footer-grid a:hover {
  color: var(--ink);
}

.footer-grid li {
  list-style: none;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  margin-top: 1.25rem;
  max-width: 22rem;
}

.footer-legal {
  border-top: 1px solid var(--hairline);
  padding-block: 1.25rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* ---------- responsive ---------- */

@media (max-width: 56rem) {
  .component-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .row-usecases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dim,
  .dim-plate {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: -1;
    min-height: 18rem;
  }

  .hero-copy {
    padding-left: var(--pad-x);
  }

  .trust .container {
    grid-template-columns: repeat(2, 1fr);
  }

  .components-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .craft-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 36rem) {
  .topbar-note {
    display: none;
  }

  .topbar .container {
    justify-content: flex-end;
  }

  .site-nav a:not(.btn) {
    display: none;
  }

  .brand img {
    height: 3rem;
  }

  .trust .container {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .components-grid {
    grid-template-columns: 1fr;
  }
}

/* Regenerated studio photos (clean background, no watermark): show the
   full frame instead of the watermark crop. */
.row-photo--clean img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Preview affordance: an eye badge on thumbnails that reveal use-cases
   on hover. Fades away while the reveal is showing. */
.row-peek {
  display: none;
}
@media (hover: hover) {
  .row-peek {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(29, 33, 38, 0.28);
    color: var(--paper);
    opacity: 0.55;
    transition: opacity 250ms ease;
    pointer-events: none;
  }
  .row-peek svg {
    width: 1rem;
    height: 1rem;
  }
  .component-row:hover .row-peek {
    opacity: 0;
  }
}

/* Scroll shortcuts, bottom-right: quick jumps for the long catalogue. */
.scroll-jumps {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.scroll-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.85);
  color: var(--ink-muted);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: opacity 150ms ease, transform 150ms ease, color 150ms ease;
}
.scroll-jump:hover {
  color: var(--charcoal);
}
.scroll-jump.is-hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
}

/* ---------- contact page ---------- */

.contact-grid {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-channels {
  display: grid;
  gap: 2.25rem;
}

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.channel-value {
  display: inline-block;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-decoration: none;
  margin-top: 0.35rem;
  border-bottom: 1px solid var(--red);
  padding-bottom: 0.15rem;
}

.channel-value:hover {
  color: var(--red);
}

.channel-note {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.channel-address {
  font-style: normal;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

/* same drawing-frame idiom as .cta-frame, on paper */
.quote-frame {
  border: 1px dashed rgba(29, 33, 38, 0.35);
  padding: clamp(2rem, 4vw, 3rem);
}

.quote-list {
  list-style: none;
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

.quote-list li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.quote-list p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.quote-list strong {
  color: var(--ink);
  font-weight: 600;
}

.quote-no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--red);
  flex: none;
}

.quote-note {
  margin-top: 2rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.quote-frame .btn {
  margin-top: 1.5rem;
}

@media (max-width: 56rem) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- about page ---------- */

/* hero sits tighter — the story section follows immediately */
.about-hero {
  padding-bottom: 0;
}

.about-hero .statement {
  max-width: 24ch;
}

.about-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about-story-copy p:not(.kicker) {
  margin-top: 1.25rem;
  color: var(--ink-muted);
  max-width: 32rem;
}

/* photos reuse the catalogue frame idiom: hairline border, mono plate */
.about-story-photo,
.about-photos figure {
  margin: 0;
  border: 1px solid var(--hairline);
}

.about-story-photo img,
.about-photos img {
  width: 100%;
  height: auto;
}

.photo-plate {
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* facts band — the trust strip's richer sibling, on charcoal */
.about-facts {
  background: var(--charcoal);
  color: var(--paper);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.fact {
  padding-inline: 1.5rem;
  border-left: 1px solid var(--hairline-dark);
}

.fact:first-child {
  padding-left: 0;
  border-left: 0;
}

.fact dt {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.fact dd {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0.6rem 0 0;
}

.fact p {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--paper-muted);
}

.about-workshop {
  border-top: 1px solid var(--hairline);
}

.about-photos {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
}

.about-work {
  border-top: 1px solid var(--hairline);
}

/* mono-numbered lines — the quote-list idiom, stretched across hairlines */
.work-lines {
  list-style: none;
  margin-top: 3rem;
}

.work-lines li {
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  padding-block: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.work-lines li:last-child {
  border-bottom: 1px solid var(--hairline);
}

.work-no {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--red);
  flex: none;
}

.work-lines p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 48rem;
}

.work-lines strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 56rem) {
  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .fact {
    padding-inline: 0;
    border-left: 0;
    border-top: 1px solid var(--hairline-dark);
    padding-top: 1.25rem;
  }

  .fact:first-child {
    border-top: 0;
    padding-top: 0;
  }

  .about-photos {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp conversion tab: flush under the sticky header's bottom edge,
   right-aligned under the offer CTA, on every page. */
.wa-cta {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: var(--pad-x);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.1rem 0.6rem;
  border-radius: 0.5rem;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(29, 33, 38, 0.14);
  transition: background 150ms ease;
}
.wa-cta svg {
  width: 1rem;
  height: 1rem;
  color: #25d366;
}
.wa-cta:hover {
  background: var(--charcoal-soft);
}

/* Logged-in view: WordPress's fixed admin bar overlaps a top-stuck sticky
   header — offset by its height so the logo never gets clipped. */
body.admin-bar .site-header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* Homepage grid tiles link to the catalogue: blueprint reveal on hover. */
.tile--link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.tile--link .tile-photo,
.tile--link .tile-caption {
  display: block;
}
.tile--link .tile-caption {
  display: flex;
}
.tile--link .tile-photo img {
  transition: transform 300ms ease;
}
.tile-reveal {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(to top, rgba(29, 33, 38, 0.55), rgba(29, 33, 38, 0) 55%);
  opacity: 0;
  transition: opacity 250ms ease;
}
.tile-reveal::before,
.tile-reveal::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--paper);
  opacity: 0.85;
}
.tile-reveal::before {
  top: 10px;
  left: 10px;
  border-right: 0;
  border-bottom: 0;
}
.tile-reveal::after {
  right: 10px;
  bottom: 10px;
  border-left: 0;
  border-top: 0;
}
.tile-reveal-label {
  margin: 0 auto 0.9rem;
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (hover: hover) {
  .tile--link:hover .tile-photo img {
    transform: scale(1.04);
  }
  .tile--link:hover .tile-reveal {
    opacity: 1;
  }
  .tile--link:hover .tile-caption em {
    color: var(--red);
  }
}

/* ---------- accessibility ---------- */

/* Skip link: visually hidden until keyboard focus lands on it. */
.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 100;
  padding: 0.7rem 1.2rem;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-300%);
}

.skip-link:focus {
  transform: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---------- shared page actions (404, simple pages) ---------- */

.page-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.75rem;
}

/* ---------- privacy page ---------- */

/* mono-numbered, hairline-separated sections — the work-lines idiom */
.privacy-sections {
  margin-top: 3.5rem;
  max-width: 44rem;
}

.privacy-section {
  padding-block: 2rem;
  border-top: 1px solid var(--hairline);
}

.privacy-section:last-child {
  border-bottom: 1px solid var(--hairline);
}

.privacy-section p:not(.kicker) {
  margin-top: 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.privacy-section strong {
  color: var(--ink);
  font-weight: 600;
}

.privacy-section p a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.2em;
}

.privacy-section p a:hover {
  color: var(--red);
}

/* Quantity band on the catalogue: volume tiers without prices. */
.qty-band {
  margin: 2.5rem 0 1rem;
  border: 1px dashed rgba(29, 33, 38, 0.35);
  padding: 1.5rem clamp(1.25rem, 3vw, 2rem) 1.25rem;
}
.qty-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.qty-tier {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  border-left: 2px solid var(--red);
  padding-left: 0.9rem;
}
.qty-range {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--charcoal);
}
.qty-note {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.qty-price {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.qty-legend {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
  max-width: 62ch;
}
@media (max-width: 36rem) {
  .qty-tiers {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Catalogue type sections: keyword h2 blocks, anchor mini-nav and the
   compact reference grid. Rows keep the .component-row idiom.
   ------------------------------------------------------------------ */

/* Anchor mini-nav under the lede: mono chips on shared hairlines. */
.type-nav {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
}
.type-nav a {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  padding: 0.6rem 1rem;
  border: 1px solid var(--hairline);
  margin: -1px 0 0 -1px;
  transition: color 0.2s ease;
}
.type-nav a:hover {
  color: var(--red);
}

/* Type section: keyword heading, shared intro, one spec line. */
.type-section {
  margin-top: 4rem;
}
.type-section:first-of-type {
  margin-top: 3rem;
}
.type-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.2;
  scroll-margin-top: 6rem;
}
.type-intro {
  margin-top: 0.75rem;
  max-width: 62ch;
  color: var(--ink-muted);
  font-size: 0.95rem;
}
.type-spec {
  margin: 1rem 0 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Compact grid for references without a curated note. */
.type-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.component-row + .type-grid {
  margin-top: 1.5rem;
}
.type-tile {
  margin: 0;
  border: 1px solid var(--hairline);
}
.type-tile .tile-photo {
  border-bottom: 1px solid var(--hairline);
}
.type-tile-caption {
  padding: 0.55rem 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Tile hover: product photo cross-fades to its first use-case shot;
   the eye badge reuses .row-peek and fades out with it. */
.type-tile .tile-usecase {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
}
@media (hover: hover) {
  .type-tile .tile-usecase {
    transition: opacity 0.25s ease;
  }
  .type-tile:hover .tile-usecase {
    opacity: 1;
  }
  .type-tile:hover .row-peek {
    opacity: 0;
  }
}

@media (max-width: 72rem) {
  .type-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 56rem) {
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 36rem) {
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------------
   Quality & materials: technical plates on the about page, echoed as
   a compact hairline strip under the catalogue's quantity band.
   ------------------------------------------------------------------ */

.about-quality {
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 6rem;
}

/* hairline-framed technical plates: mono label + one muted sentence */
.quality-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.quality-plate {
  border: 1px solid var(--hairline);
  padding: 1.75rem 1.5rem;
}

.quality-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.quality-plate p:not(.quality-label) {
  margin-top: 0.75rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

@media (max-width: 72rem) {
  .quality-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 36rem) {
  .quality-grid {
    grid-template-columns: 1fr;
  }
}

/* catalogue echo strip: the four mono labels on one hairline row,
   linking to the about page's quality section */
.quality-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 0.9rem;
  margin: 1rem 0 0;
  border: 1px solid var(--hairline);
  padding: 0.85rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.quality-strip i {
  font-style: normal;
  color: var(--ink-faint);
}

.quality-strip:hover {
  color: var(--red);
}
