@charset "UTF-8";
/* ==========================================================================
   MOHJA BUILDING MATERIALS — design system
   Direction: "Engineered precision"
   Geometry is borrowed from the brand itself: the hexagon that frames every
   product photograph, and the ~20° slant of the slabs in the logo mark.
   Hexagons carry inventory. Chamfers carry interaction and structure.

   Hero tuning lives in section 7 (size/placement of the suspended load);
   its motion constants are the CFG block in assets/js/mohja.js.
   ========================================================================== */

/* Only the weights the design actually uses: Archivo 700/800 for display,
   Plex Sans 400/500/600 for text, Plex Mono 400/500/600 for data labels. */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@700;800&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — crimson is sampled from the logo (#88262C) */
  --ink:        #16110f;
  --ink-2:      #1e1816;
  --graphite:   #292120;
  --graphite-2: #3a302e;
  --crimson:    #88262c;
  --ember:      #b5333b;
  --concrete:   #efeae4;
  --chalk:      #fbf9f7;
  --hivis:      #f2c14e;

  --sand:       #d8cfc5;
  --slate:      #6f635d;
  --slate-2:    #8b7d75;

  --line-dark:  rgba(239, 234, 228, .14);
  --line-dark-2:rgba(239, 234, 228, .28);
  --line-light: rgba(22, 17, 15, .13);
  --line-light-2: rgba(22, 17, 15, .26);

  /* Type */
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --body:    'IBM Plex Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  --data:    'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Geometry */
  --ch: 18px;                       /* chamfer depth */
  --hex: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);

  /* Rhythm */
  --shell: 1280px;
  --gut: clamp(1.25rem, 4vw, 3.5rem);
  --section-y: clamp(4.5rem, 9vw, 8.5rem);

  --ease: cubic-bezier(.22, .68, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; }

html:focus-within { scroll-behavior: smooth; }

body {
  background: var(--concrete);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--hivis);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection { background: var(--crimson); color: var(--chalk); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--hivis); color: var(--ink);
  padding: .7rem 1.4rem;
  font-family: var(--data); font-size: .75rem;
  letter-spacing: .16em; text-transform: uppercase;
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
.display, h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
}

.t-hero {
  font-size: clamp(1.95rem, 3.9vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.02em;
  font-weight: 800;
}
.t-xl { font-size: clamp(1.5rem, 2.5vw, 2.05rem); }
.t-lg { font-size: clamp(1.28rem, 1.9vw, 1.6rem); }
.t-md { font-size: clamp(1rem, 1.2vw, 1.12rem); letter-spacing: -.005em; }
.t-sm { font-size: 1rem; letter-spacing: 0; }

/* Mono utility label — the "spec sheet" voice */
.tag {
  font-family: var(--data);
  font-size: .715rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.4;
}

.lead {
  font-size: clamp(.97rem, 1.05vw, 1.05rem);
  line-height: 1.62;
  color: var(--slate);
  max-width: 62ch;
  text-wrap: pretty;
}
.on-dark .lead { color: var(--sand); }

p + p { margin-top: 1.1em; }

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */
.shell {
  width: min(100% - (var(--gut) * 2), var(--shell));
  margin-inline: auto;
}
.shell--wide { width: min(100% - (var(--gut) * 2), 1500px); }

.band { padding-block: var(--section-y); position: relative; }
.band--tight { padding-block: clamp(3rem, 5.5vw, 5rem); }
.band--flush-top { padding-top: 0; }

/* Colour-only utility. It is applied to inner containers that sit on top of
   photography or the hero artwork, so it must never paint a background —
   sections that want an ink field opt in with `.band.on-dark` below. */
.on-dark { color: var(--concrete); }
.on-dark h1, .on-dark h2, .on-dark h3 { color: var(--chalk); }
.band.on-dark { background: var(--ink); }

.band-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}
.band-head > :last-child { padding-bottom: .35rem; }
@media (max-width: 860px) {
  .band-head { grid-template-columns: 1fr; align-items: start; }
  .band-head > :last-child { padding-bottom: 0; }
}

/* Chamfer — the logo's slant, applied to surfaces and controls */
.chamfer {
  clip-path: polygon(
    var(--ch) 0, 100% 0,
    100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%,
    0 100%, 0 var(--ch)
  );
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --ch: 14px;
  display: inline-flex; align-items: center; gap: .8rem;
  padding: 1.02rem 1.7rem;
  font-family: var(--data);
  font-size: .755rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none;
  position: relative; isolation: isolate;
  transition: color .28s var(--ease), background-color .28s var(--ease);
  clip-path: polygon(
    var(--ch) 0, 100% 0,
    100% calc(100% - var(--ch)), calc(100% - var(--ch)) 100%,
    0 100%, 0 var(--ch)
  );
}
.btn svg { flex: none; transition: transform .32s var(--ease-out); }

/* sweep fill on hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ember);
  transform: scaleX(0); transform-origin: left;
  transition: transform .38s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn:hover svg, .btn:focus-visible svg { transform: translateX(4px); }

.btn--primary { background: var(--crimson); color: var(--chalk); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--chalk); }

.btn--ink { background: var(--ink); color: var(--chalk); }

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-light-2);
}
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--chalk); box-shadow: inset 0 0 0 1.5px transparent; }

.on-dark .btn--ghost { color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--line-dark-2); }

.btn--sm { padding: .78rem 1.25rem; font-size: .705rem; --ch: 10px; }

/* Text link with a rule that draws in */
.link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--data); font-size: .755rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--crimson);
  padding-bottom: .4rem;
  background-image: linear-gradient(var(--crimson), var(--crimson));
  background-size: 100% 1.5px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .35s var(--ease-out), color .25s var(--ease);
}
.link:hover, .link:focus-visible { background-size: 32% 1.5px; }
.link svg { transition: transform .32s var(--ease-out); }
.link:hover svg { transform: translateX(4px); }
.on-dark .link {
  color: var(--hivis);
  background-image: linear-gradient(var(--hivis), var(--hivis));
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.masthead {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease);
}
/* Always-on scrim so the nav stays legible over the hero honeycomb and over
   interior-page photography, before the solid state kicks in. */
.masthead::before {
  content: ""; position: absolute; inset: 0 0 -32px 0; z-index: -2;
  background: linear-gradient(to bottom, rgba(22,17,15,.92) 0%, rgba(22,17,15,.6) 55%, transparent 100%);
  transition: opacity .35s var(--ease);
}
.masthead.is-stuck::before { opacity: 0; }
.masthead::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.masthead.is-stuck::after { opacity: 1; }
.masthead.is-stuck { box-shadow: 0 1px 0 var(--line-dark); }

.masthead__inner {
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.75rem);
  height: 84px;
  transition: height .35s var(--ease);
}
.masthead.is-stuck .masthead__inner { height: 68px; }

.brand { flex: none; display: block; line-height: 0; }
.brand img { width: 172px; transition: width .35s var(--ease); }
.masthead.is-stuck .brand img { width: 150px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2.1rem); }

.nav__link {
  font-family: var(--data);
  font-size: .745rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; color: var(--concrete);
  padding: .45rem 0; position: relative;
  transition: color .25s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px; background: var(--ember);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease-out);
}
.nav__link:hover, .nav__link:focus-visible { color: var(--chalk); }
.nav__link:hover::after, .nav__link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--chalk); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); background: var(--crimson); }

.masthead__phone {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--data); font-size: .755rem; font-weight: 500;
  letter-spacing: .06em; text-decoration: none; color: var(--sand);
  transition: color .25s var(--ease);
}
.masthead__phone:hover { color: var(--chalk); }
.masthead__phone svg { opacity: .7; }

.burger {
  display: none; margin-left: auto;
  width: 46px; height: 46px;
  place-items: center;
  color: var(--chalk);
}
.burger__bars { display: block; width: 24px; height: 12px; position: relative; }
.burger__bars::before, .burger__bars::after {
  content: ""; position: absolute; left: 0; width: 100%; height: 1.75px;
  background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger__bars::before { top: 0; }
.burger__bars::after { top: 10px; }
.burger[aria-expanded="true"] .burger__bars::before { top: 5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { top: 5px; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  padding: 110px var(--gut) 3rem;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer__link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.3rem, 5.5vw, 1.7rem); line-height: 1;
  color: var(--chalk); text-decoration: none;
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open .drawer__link { animation: drawerIn .5s var(--ease-out) forwards; }
.drawer.is-open .drawer__link:nth-child(1) { animation-delay: .06s; }
.drawer.is-open .drawer__link:nth-child(2) { animation-delay: .12s; }
.drawer.is-open .drawer__link:nth-child(3) { animation-delay: .18s; }
.drawer.is-open .drawer__link:nth-child(4) { animation-delay: .24s; }
.drawer__link span { font-family: var(--data); font-size: .7rem; font-weight: 500; color: var(--crimson); letter-spacing: .12em; }
.drawer__foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: .9rem; }
.drawer__foot .btn { justify-content: center; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .nav, .masthead__phone { display: none; }
  .burger { display: grid; margin-left: 0; }
  .masthead__inner { gap: .75rem; }
  .masthead__inner > .btn { margin-left: auto; }
}
@media (max-width: 460px) {
  .brand img, .masthead.is-stuck .brand img { width: 132px; }
  .masthead__inner > .btn { padding: .7rem .85rem; font-size: .64rem; letter-spacing: .1em; }
}


/* --------------------------------------------------------------------------
   7. Hero — a suspended Mohja load over a static container yard
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: flex-end;
  background: #8fb3d4;                 /* sky, so nothing flashes before the image */
  overflow: hidden;
  padding-top: 96px;
}

/* Static backdrop: sky plus the stacked charcoal containers. Never moves.
   Anchored to the bottom so the container stack survives every crop. */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 100%;
  user-select: none;
}

/* The stage centres the load; the JS only ever writes `transform` on the image
   inside it, so the neutral position is pure layout and cannot drift. */
.hero__stage {
  position: absolute;
  inset: 0 0 auto 0;
  display: flex; justify-content: flex-end;
  padding: clamp(4.5rem, 9vh, 7rem) clamp(0.5rem, 4vw, 4.5rem) 0 0;
  pointer-events: none;
}
.hero__load {
  width: clamp(420px, 47vw, 820px);
  height: auto;
  user-select: none; -webkit-user-drag: none;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  filter: drop-shadow(0 34px 46px rgba(18, 26, 38, .32));
}

.hero__veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    /* grounds the copy on the charcoal container band */
    linear-gradient(to top, var(--ink) 0%, rgba(22,17,15,.84) 10%, rgba(22,17,15,.3) 22%, transparent 37%),
    /* holds the left column while leaving the sky and the load bright */
    linear-gradient(100deg, rgba(22,17,15,.7) 0%, rgba(22,17,15,.26) 26%, transparent 46%),
    /* keeps the nav legible against open sky */
    linear-gradient(to bottom, rgba(16,26,40,.34) 0%, transparent 15%);
}

/* NB: no `width` here — this element is also a .shell, and an equal-specificity
   width would override the shell's gutter. */
.hero__inner { position: relative; padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero__body { max-width: min(100%, 640px); }

.hero__title { color: var(--chalk); max-width: 13ch; }
.hero__title em {
  font-style: normal;
  display: block;
  color: var(--concrete);
}
.hero__sub { color: var(--sand); max-width: 48ch; font-size: clamp(.97rem, 1.05vw, 1.05rem); margin-top: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.9rem, 3vw, 2.6rem); }

/* Spec rail across the hero foot — real, countable facts only */
.specrail {
  position: relative;
  margin-top: clamp(2.8rem, 5vw, 4.5rem);
  border-top: 1px solid var(--line-dark);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.specrail__item {
  padding: 1.5rem 1.5rem 0 0;
  border-right: 1px solid var(--line-dark);
}
.specrail__item:last-child { border-right: 0; }
.specrail__item:not(:first-child) { padding-left: 1.5rem; }
.specrail__n {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1;
  color: var(--chalk); letter-spacing: -.02em;
}
.specrail__n sup { font-size: .42em; vertical-align: super; color: var(--crimson); margin-left: .12em; }
.specrail__l { color: var(--sand); margin-top: .55rem; }
@media (max-width: 780px) {
  .specrail { grid-template-columns: repeat(2, 1fr); }
  .specrail__item:nth-child(2n) { border-right: 0; }
  .specrail__item:nth-child(n+3) { border-top: 1px solid var(--line-dark); padding-top: 1.35rem; margin-top: .35rem; }
}

/* Compact page hero for interior pages */
.pagehero {
  position: relative; background: var(--ink);
  padding: clamp(9rem, 15vw, 12.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  overflow: hidden;
}
.pagehero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .5;
}
.pagehero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, var(--ink) 12%, rgba(22,17,15,.82) 45%, rgba(22,17,15,.5) 100%);
}
.pagehero__inner { position: relative; z-index: 1; }
.pagehero h1 { color: var(--chalk); max-width: 18ch; }
.pagehero .lead { margin-top: 1.4rem; color: var(--sand); }

/* Breadcrumb */
.crumbs { display: flex; gap: .6rem; align-items: center; color: var(--slate-2); margin-bottom: 1.6rem; }
.crumbs a { text-decoration: none; color: var(--sand); }
.crumbs a:hover { color: var(--chalk); }
.crumbs span { opacity: .5; }

/* Below this breakpoint the honeycomb becomes a textured band behind the
   headline only — full-bleed it competes with the copy for attention.
   Declared after the hero rules above so these overrides actually win. */
@media (max-width: 760px) {
  .hero { min-height: 0; }
  /* Below the breakpoint the load joins the flow above the copy instead of
     floating over it, so the hero grows to fit and nothing overlaps. */
  .hero { display: block; padding-top: 88px; }
  .hero__stage {
    position: relative; inset: auto;
    justify-content: center;
    padding: 0 0 clamp(.5rem, 3vw, 1.5rem);
  }
  .hero__load { width: min(94%, 470px); }
  .hero__inner { padding-bottom: clamp(2rem, 7vw, 3rem); }
  .hero__veil {
    background:
      linear-gradient(to top, var(--ink) 0%, rgba(22,17,15,.94) 22%, rgba(22,17,15,.6) 38%, rgba(22,17,15,.12) 54%, transparent 66%),
      linear-gradient(to bottom, rgba(16,26,40,.55) 0%, transparent 20%);
  }
  .specrail__item { padding-right: 1rem; }
}

/* --------------------------------------------------------------------------
   8. Hex tile (product) — shared by home preview and catalogue
   -------------------------------------------------------------------------- */
.hexgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: clamp(.6rem, 1.1vw, 1rem);
}
.hexcell {
  aspect-ratio: 1 / .9;
  clip-path: var(--hex);
  background: var(--chalk);
  display: grid; place-items: center;
  transition: transform .4s var(--ease-out), background-color .3s var(--ease);
}
.hexcell img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform .45s var(--ease-out);
}
.hexcell:hover { background: #fff; transform: translateY(-4px); }
.hexcell:hover img { transform: scale(1.07); }
.on-dark .hexcell { background: var(--graphite); }
.on-dark .hexcell:hover { background: var(--graphite-2); }

/* --------------------------------------------------------------------------
   9. Category card (home index of the catalogue)
   -------------------------------------------------------------------------- */
/* Rules are drawn by each card, not by the grid's background showing through
   the gaps — a partly-filled last row would otherwise render as a grey slab. */
.catgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 1px;
}

.catcard {
  background: var(--concrete);
  box-shadow: 0 0 0 1px var(--line-light);
  padding: 1.6rem 1.5rem 1.5rem;
  display: flex; flex-direction: column; gap: .9rem;
  text-decoration: none;
  position: relative; isolation: isolate;
  min-height: 232px;
  transition: color .3s var(--ease);
}
.on-dark .catcard { background: var(--ink); box-shadow: 0 0 0 1px var(--line-dark); }
.catcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--crimson);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .42s var(--ease-out);
}
.catcard:hover, .catcard:focus-visible { color: var(--chalk); }
.catcard:hover::before, .catcard:focus-visible::before { transform: scaleY(1); }

.catcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.catcard__code { font-family: var(--data); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--crimson); transition: color .3s var(--ease); }
.catcard:hover .catcard__code { color: var(--chalk); }
.on-dark .catcard__code { color: var(--ember); }
.on-dark .catcard:hover .catcard__code { color: var(--chalk); }

.catcard__thumb {
  width: 62px; aspect-ratio: 1 / .885; flex: none;
  clip-path: var(--hex);
  background: var(--chalk);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease);
}
.on-dark .catcard__thumb { background: var(--graphite); }
.catcard:hover .catcard__thumb { background: rgba(255,255,255,.92); }
.catcard__thumb img { width: 100%; height: 100%; object-fit: contain; }

.catcard__name {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: .95rem; line-height: 1.2; letter-spacing: -.005em;
  margin-top: auto;
}
.catcard__meta {
  font-family: var(--data); font-size: .69rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--slate);
  display: flex; align-items: center; gap: .5rem;
  transition: color .3s var(--ease);
}
.catcard:hover .catcard__meta { color: rgba(255,255,255,.8); }
.on-dark .catcard__meta { color: var(--slate-2); }

/* --------------------------------------------------------------------------
   10. Split feature (image + copy)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
}

.split__media { position: relative; }
.split__media img {
  width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover;
}
.split__media--chamfer img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%);
}
/* small crimson hex pinned to the image corner — the brand mark as a joint */
.split__pin {
  position: absolute; left: -22px; bottom: 34px;
  width: 74px; aspect-ratio: 1 / .885;
  clip-path: var(--hex);
  background: var(--crimson);
  display: grid; place-items: center;
  color: var(--chalk);
}
.split__pin span { font-family: var(--data); font-size: .68rem; font-weight: 600; letter-spacing: .1em; }
@media (max-width: 560px) { .split__pin { left: -12px; width: 60px; } }

/* --------------------------------------------------------------------------
   11. Numbered service list — order is meaningful here (supply → source → deliver)
   -------------------------------------------------------------------------- */
.flow { display: grid; gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
.flow__item {
  background: var(--ink);
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 20ch) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(1.8rem, 3vw, 2.6rem) 0;
  transition: background-color .35s var(--ease);
}
.flow__item:hover { background: var(--ink-2); }
.flow__step {
  font-family: var(--data); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; color: var(--crimson);
  padding-top: .35rem;
}
.flow__name { color: var(--chalk); }
.flow__desc { color: var(--sand); font-size: 1rem; }
@media (max-width: 820px) {
  .flow__item { grid-template-columns: 1fr; gap: .75rem; }
  .flow__step { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   12. Reason grid (why mohja)
   -------------------------------------------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; }
.reason {
  background: var(--concrete);
  box-shadow: 0 0 0 1px var(--line-light);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column; gap: .85rem;
}
.reason__mark {
  width: 46px; aspect-ratio: 1 / .885; clip-path: var(--hex);
  background: var(--crimson); color: var(--chalk);
  display: grid; place-items: center; margin-bottom: .4rem;
}
.reason__mark svg { width: 20px; height: 20px; }
.reason h3 { font-size: .96rem; }
.reason p { color: var(--slate); font-size: .96rem; line-height: 1.6; }

/* --------------------------------------------------------------------------
   13. Vision band (full-bleed photograph)
   -------------------------------------------------------------------------- */
.vision { position: relative; overflow: hidden; background: var(--ink); }
.vision__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 68%; }
.vision::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,17,15,.1) 0%, rgba(22,17,15,.4) 38%, rgba(22,17,15,.9) 88%, var(--ink) 100%);
}
.vision__inner { position: relative; z-index: 1; padding-block: clamp(9rem, 20vw, 17rem) clamp(3.5rem, 6vw, 5rem); }
.vision__quote {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.2rem, 2.1vw, 1.75rem); line-height: 1.2;
  letter-spacing: -.02em; color: var(--chalk);
  max-width: 22ch;
}
.vision__quote b { color: var(--hivis); font-weight: inherit; }
.vision p { color: var(--sand); max-width: 54ch; margin-top: 1.5rem; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--ink); }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: .9; }
.cta::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(92deg, var(--ink) 12%, rgba(22,17,15,.88) 34%, rgba(22,17,15,.5) 60%, rgba(22,17,15,.3) 100%);
}
.cta__inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 9vw, 8rem); }
.cta h2 { color: var(--chalk); max-width: 15ch; }
.cta .lead { margin-top: 1.4rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }

/* --------------------------------------------------------------------------
   15. Catalogue (building materials)
   -------------------------------------------------------------------------- */
.catalogue { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (max-width: 1040px) { .catalogue { grid-template-columns: 1fr; } }

.catindex { position: sticky; top: 104px; }
@media (max-width: 1040px) { .catindex { display: none; } }
.catindex__head { font-family: var(--data); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--slate); padding-bottom: .9rem; border-bottom: 1px solid var(--line-light); margin-bottom: .35rem; }
.catindex__list { max-height: min(74vh, 760px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.catindex__link {
  display: flex; gap: .7rem; align-items: baseline;
  padding: .52rem 0; text-decoration: none;
  font-size: .875rem; line-height: 1.3; color: var(--slate);
  border-bottom: 1px solid transparent;
  transition: color .22s var(--ease);
}
.catindex__link em { font-family: var(--data); font-style: normal; font-size: .68rem; color: var(--slate); flex: none; }
.catindex__link:hover { color: var(--ink); }
.catindex__link.is-active { color: var(--crimson); font-weight: 600; }
.catindex__link.is-active em { color: var(--crimson); }

/* Search / filter bar */
.filterbar {
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center;
  padding: 1rem 1.15rem;
  background: var(--chalk);
  border: 1px solid var(--line-light);
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
  position: sticky; top: 84px; z-index: 20;
}
.search { flex: 1 1 260px; display: flex; align-items: center; gap: .8rem; }
.search svg { flex: none; color: var(--slate-2); }
.search input {
  flex: 1; border: 0; background: none; outline: none;
  font-size: 1rem; padding: .35rem 0;
}
.search input::placeholder { color: var(--slate); }
/* the bar has its own Clear control, which also resets the filter state */
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.filterbar__count { font-family: var(--data); font-size: .715rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); flex: none; }
.filterbar__clear { font-family: var(--data); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--crimson); text-decoration: underline; text-underline-offset: 3px; }
.filterbar__clear[hidden] { display: none; }

.catsection { padding-bottom: clamp(2.5rem, 5vw, 4rem); scroll-margin-top: 168px; }
.catsection[hidden] { display: none; }
.catsection__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.1rem;
  padding-bottom: 1rem; margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--ink);
}
.catsection__code { font-family: var(--data); font-size: .72rem; font-weight: 600; letter-spacing: .16em; color: var(--crimson); }
.catsection__title { font-size: clamp(1.05rem, 1.45vw, 1.3rem); flex: 1 1 auto; }
.catsection__count { font-family: var(--data); font-size: .715rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); }
.catsection__desc { color: var(--slate); max-width: 68ch; margin-bottom: 1.7rem; font-size: .99rem; }

.noresults { padding: 3.5rem 0; text-align: center; color: var(--slate); }
.noresults[hidden] { display: none; }

/* --------------------------------------------------------------------------
   16. Contact
   -------------------------------------------------------------------------- */
.contactgrid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contactgrid { grid-template-columns: 1fr; } }

.channels { display: grid; gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); }
.channel {
  background: var(--concrete);
  display: grid; grid-template-columns: 54px 1fr auto; gap: 1.2rem; align-items: center;
  padding: 1.35rem .25rem;
  text-decoration: none;
  transition: background-color .3s var(--ease), padding-inline .3s var(--ease);
}
.channel:hover { background: var(--chalk); padding-inline: .9rem .25rem; }
.channel__ic {
  width: 46px; aspect-ratio: 1 / .885; clip-path: var(--hex);
  background: var(--ink); color: var(--chalk);
  display: grid; place-items: center;
  transition: background-color .3s var(--ease);
}
.channel:hover .channel__ic { background: var(--crimson); }
.channel__ic svg { width: 19px; height: 19px; }
.channel__l { display: block; font-family: var(--data); font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.channel__v { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; text-transform: none; letter-spacing: 0; margin-top: .2rem; }
.channel__go { color: var(--slate-2); transition: transform .3s var(--ease-out), color .3s var(--ease); }
.channel:hover .channel__go { transform: translateX(4px); color: var(--crimson); }

.form { display: grid; gap: 1.15rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }

.field { display: grid; gap: .5rem; }
.field > label { font-family: var(--data); font-size: .69rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--slate); }
.field > label span { color: var(--crimson); }
.field input, .field textarea, .field select {
  border: 0; border-bottom: 1.5px solid var(--line-light-2);
  background: transparent;
  padding: .7rem 0; font-size: 1rem;
  transition: border-color .25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-bottom-color: var(--crimson);
}
.field textarea { resize: vertical; min-height: 118px; }
.field select { cursor: pointer; }
.form__note { font-size: .84rem; color: var(--slate); line-height: 1.55; }
.form__status { font-family: var(--data); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--crimson); line-height: 1.7; }
.form__status[hidden] { display: none; }
.form__status a { color: var(--crimson); text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--sand); padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__brand img { width: 176px; margin-bottom: 1.25rem; }
.footer__tag { color: var(--slate-2); max-width: 34ch; font-size: .95rem; }
.footer h4 { font-family: var(--data); font-size: .7rem; font-weight: 500; letter-spacing: .18em; color: var(--slate-2); margin-bottom: 1.1rem; text-transform: uppercase; }
.footer__links { display: grid; gap: .62rem; }
.footer__links a { text-decoration: none; font-size: .95rem; color: var(--sand); transition: color .22s var(--ease); }
.footer__links a:hover { color: var(--chalk); }
.footer__bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
  font-family: var(--data); font-size: .7rem; letter-spacing: .1em; color: var(--slate-2);
}
.footer__bar a { text-decoration: none; }
.footer__bar a:hover { color: var(--chalk); }

/* Floating WhatsApp */
.wa {
  position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  width: 56px; height: 50px;
  clip-path: var(--hex);
  background: #1faa54; color: #fff;
  display: grid; place-items: center;
  transition: transform .3s var(--ease-out), background-color .3s var(--ease);
}
.wa:hover { transform: translateY(-3px); background: #23c162; }
.wa svg { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }

/* --------------------------------------------------------------------------
   19. Motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__load { transform: translate3d(0, 0, 0) !important; }
}

@media print {
  .masthead, .drawer, .wa, .hero__stage, .filterbar, .catindex { display: none !important; }
  body { background: #fff; color: #000; }
  .on-dark, .hero, .cta, .vision { background: #fff !important; color: #000 !important; }
}
