/* ==========================================================================
   Kaysons Multicolour — Design System
   Editorial / luxury-manufacturing aesthetic.
   Author: rebuild 2026. Single stylesheet, no framework.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Colour — neutral canvas so the printed packaging carries the colour */
  --bone:        #f6f4f0;
  --bone-deep:   #ece8e1;
  --paper:       #ffffff;
  --ink:         #14110f;
  --ink-soft:    #23201d;
  --stone:       #6b645c;
  --stone-light: #9a938a;
  --line:        #e0dbd2;
  --line-dark:   rgba(255, 255, 255, 0.16);

  --accent:      #d9531a;   /* refined from the brand orange */
  --accent-deep: #ac3d0e;
  --accent-soft: #f7ede7;
  --plum:        #4b2a72;

  /* Typography */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-display: clamp(2.9rem, 7.2vw, 6.5rem);
  --fs-h1:      clamp(2.3rem, 5.2vw, 4.5rem);
  --fs-h2:      clamp(1.9rem, 3.8vw, 3.25rem);
  --fs-h3:      clamp(1.35rem, 2.1vw, 1.9rem);
  --fs-h4:      clamp(1.05rem, 1.4vw, 1.25rem);
  --fs-lead:    clamp(1.05rem, 1.35vw, 1.3rem);
  --fs-body:    1rem;
  --fs-small:   0.875rem;
  --fs-eyebrow: 0.6875rem;

  /* Rhythm */
  --gutter:  clamp(1.25rem, 4vw, 3.5rem);
  --section: clamp(4.5rem, 9vw, 8.5rem);
  --maxw:    1440px;
  --maxw-narrow: 760px;

  /* Motion */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:       0.45s;
  --dur-slow:  1.1s;

  /* The bar is derived from the logo, so it hugs it tightly (8px above and
     below) at every width and never grows taller than it needs to be. */
  --logo-h:   clamp(52px, 9.5vw, 97px);
  --header-h: calc(var(--logo-h) + 16px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4, h5, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
button, a, [role="button"], summary, label[for], input[type="submit"] { cursor: pointer; }

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

::selection { background: var(--ink); color: var(--bone); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: 0; left: 50%;
  transform: translate(-50%, -110%);
  z-index: 200;
  background: var(--ink); color: var(--bone);
  padding: 0.75rem 1.5rem;
  font-size: var(--fs-small);
  transition: transform 0.2s var(--ease-soft);
}
.skip-link:focus { transform: translate(-50%, 0); }

/* ---------- 3. Typography primitives ---------- */
.display,
.h1, .h2, .h3 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.display { font-size: var(--fs-display); }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); line-height: 1.08; }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }

.h4 {
  font-family: var(--font-sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow--accent { color: var(--accent); }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--stone);
  font-weight: 300;
}

.body-copy { color: var(--stone); }
.body-copy + .body-copy { margin-top: 1.15em; }

.measure { max-width: 62ch; }
.measure-tight { max-width: 48ch; }

.ital { font-style: italic; }

/* ---------- 4. Layout ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: calc(var(--maxw-narrow) + var(--gutter) * 2); }
.wrap--flush  { max-width: 100%; padding-inline: 0; }

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

.section--ink { background: var(--ink); color: var(--bone); }
.section--ink .eyebrow,
.section--ink .lead,
.section--ink .body-copy { color: rgba(246, 244, 240, 0.66); }

.section--paper { background: var(--paper); }
.section--bone-deep { background: var(--bone-deep); }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.section--ink .rule { background: var(--line-dark); }

.stack > * + * { margin-top: var(--stack-gap, 1.5rem); }

/* Editorial two-column split */
.split {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--40-60 { grid-template-columns: 0.72fr 1fr; }
  .split--60-40 { grid-template-columns: 1fr 0.72fr; }
  .split--top { align-items: start; }
  .split--reverse > *:first-child { order: 2; }
}

/* Section heading block: label left, heading right */
.section-head {
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.section--ink .section-head { border-top-color: var(--line-dark); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 220px 1fr; align-items: start; }
}
.section-head__aside { padding-top: 0.4rem; }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.9rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid var(--btn-bg);
  border-radius: 999px;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:hover { --btn-bg: var(--accent); --btn-fg: #fff; transform: translateY(-2px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--bone); border-color: var(--ink); }

.section--ink .btn--ghost { --btn-fg: var(--bone); border-color: rgba(246,244,240,0.4); }
.section--ink .btn--ghost:hover { --btn-bg: var(--bone); --btn-fg: var(--ink); border-color: var(--bone); }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Underline-draw text link */
.link-line {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-bottom: 0.4rem;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size var(--dur) var(--ease), color var(--dur) var(--ease);
}
.link-line::after {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  transition: width var(--dur) var(--ease);
}
.link-line:hover { color: var(--accent); }
.link-line:hover { background-size: 100% 1px; }
.link-line:hover::after { width: 28px; }

.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---------- 6. Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur) var(--ease-soft),
              box-shadow var(--dur) var(--ease-soft),
              border-color var(--dur) var(--ease-soft);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(246, 244, 240, 0.94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(20, 17, 15, 0.5);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img {
  width: auto;
  height: var(--logo-h);          /* fixed — does not shrink on scroll */
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.brand:hover img { opacity: 0.78; transform: scale(1.03); }

/* Desktop nav */
.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: 1.5rem; }
}
@media (min-width: 1280px) { .nav { gap: 2.2rem; } }

.nav__item { position: relative; }

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color var(--dur) var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.nav__link:hover::after,
.nav__item:focus-within .nav__link::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--accent); }
.nav__caret { transition: transform var(--dur) var(--ease); }
.nav__item:hover .nav__caret { transform: rotate(180deg); }

/* Dropdown panel */
.nav__panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 280px;
  padding: 1.1rem 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -28px rgba(20, 17, 15, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item:hover .nav__panel,
.nav__item:focus-within .nav__panel {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__panel::before {
  content: "";
  position: absolute;
  inset: -18px 0 auto 0;
  height: 18px;
}
.nav__panel a {
  display: block;
  padding: 0.6rem 1.6rem;
  font-size: var(--fs-small);
  color: var(--stone);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__panel a:hover { color: var(--ink); padding-left: 1.95rem; background: var(--bone); }

.header__actions { display: flex; align-items: center; gap: 1rem; }
.header__cta { display: none; }
@media (min-width: 1080px) { .header__cta { display: inline-flex; padding: 0.8rem 1.5rem; } }

/* Burger */
.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  align-items: flex-end;
  z-index: 130;
}
@media (min-width: 1080px) { .burger { display: none; } }
.burger span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), width var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.burger span:nth-child(1) { width: 26px; }
.burger span:nth-child(2) { width: 18px; }
.burger[aria-expanded="true"] span:nth-child(1) { width: 26px; transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { width: 26px; transform: translateY(-3.5px) rotate(-45deg); }

/* Full-screen overlay menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--bone);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
@media (min-width: 1080px) { .menu { display: none; } }

.menu__list { max-width: 680px; margin-inline: auto; }
.menu__row { border-bottom: 1px solid var(--line); }
.menu__link,
.menu__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 300;
  line-height: 1.1;
  text-align: left;
  color: var(--ink);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color var(--dur) var(--ease);
}
.menu.is-open .menu__link,
.menu.is-open .menu__toggle { opacity: 1; transform: none; transition-delay: var(--d, 0s); }
.menu__link:hover, .menu__toggle:hover { color: var(--accent); }

.menu__toggle svg { transition: transform var(--dur) var(--ease); flex-shrink: 0; }
.menu__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }

.menu__sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.menu__sub > div { overflow: hidden; }
.menu__toggle[aria-expanded="true"] + .menu__sub { grid-template-rows: 1fr; }
.menu__sub a {
  display: block;
  padding: 0.55rem 0 0.55rem 1.25rem;
  font-size: 0.95rem;
  color: var(--stone);
  border-left: 1px solid var(--line);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.menu__sub a:hover { color: var(--ink); border-left-color: var(--accent); }
.menu__sub > div > :last-child { padding-bottom: 1.25rem; }

.menu__foot {
  max-width: 680px;
  margin: 3rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: var(--stone);
}

/* ---------- 7. Hero ---------- */
.hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 9vw, 7rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}
.hero__inner { max-width: 1100px; }
.hero__title { margin-top: 1.75rem; }
.hero__title .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero__title .word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.95s var(--ease);
  transition-delay: var(--d, 0s);
}
.is-ready .hero__title .word > span { transform: translateY(0); }

.hero__meta {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3.5rem;
  align-items: flex-end;
  justify-content: space-between;
}
.hero__lede { max-width: 46ch; }

/* Full-bleed cropped product band (crops baked-in banner text) */
.band {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--bone-deep);
  aspect-ratio: 1600 / 374;
}
.band img {
  width: 100%;
  margin-top: -15.5625%;   /* removes the banner's headline area */
  transform: scale(1.02);
  transition: transform 6s var(--ease-soft);
}
.is-ready .band img { transform: scale(1); }
@media (max-width: 760px) {
  .band { aspect-ratio: 16 / 11; }
  .band img {
    height: 100%;
    width: auto;
    max-width: none;
    margin-top: -13%;
    margin-left: 50%;
    transform: translateX(-50%);
  }
  .is-ready .band img { transform: translateX(-50%); }
}

/* Full-bleed hero banner. The artwork carries its own headline and logo, so it
   is shown whole at its native ratio rather than cropped or overlaid. */
.hero-banner {
  position: relative;
  margin-top: var(--header-h);
  background: var(--bone-deep);
  overflow: hidden;
}

/* Overlays the call-to-action printed into the artwork. Percentages, so it
   tracks the image at every screen width. */
/* Sits over the "Explore Our Products" pill printed into the banner artwork.
   Percentages are measured off the 1717x916 source, so it tracks the image
   at every width. Re-measure if the banner art is ever replaced. */
.hero-banner__hotspot {
  position: absolute;
  left: 6.6%;
  top: 76.9%;
  width: 17.3%;
  height: 6.4%;
  border-radius: 999px;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.hero-banner__hotspot:hover {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.hero-banner__hotspot:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.hero-banner__img {
  width: 100%;
  height: auto;
  transform: scale(1.03);
  opacity: 0;
  transition: transform 1.6s var(--ease), opacity 0.9s var(--ease-soft);
}
.is-ready .hero-banner__img,
.hero-banner__img.is-in { transform: scale(1); opacity: 1; }
/* No JS: never leave the banner hidden */
html:not(.js) .hero-banner__img { opacity: 1; transform: none; }

.hero--tight { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

/* Wide editorial statement (no accompanying image) */
.statement { max-width: 1120px; }
.statement__head { margin-top: 1.5rem; max-width: 20ch; }
.statement__head .ital { display: block; }
.statement__cols { margin-top: clamp(2rem, 4vw, 3rem); display: grid; gap: 1.5rem clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 860px) {
  .statement__cols { grid-template-columns: 1fr 1fr; }
  .statement__head { max-width: 24ch; }
}

/* Interior page header */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}
.page-head__title { margin-top: 1.25rem; }
.page-head__lede { margin-top: 1.75rem; }

.crumbs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.crumbs a { transition: color var(--dur) var(--ease); }
.crumbs a:hover { color: var(--accent); }

/* ---------- 8. Media treatments ---------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bone-deep);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--1x1 { aspect-ratio: 1 / 1; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--contain { background: var(--paper); }
.media--contain img { object-fit: contain; padding: clamp(1.25rem, 3vw, 2.5rem); }
/* Machine photos are supplier product shots on white and vary in aspect ratio.
   Inside the small grid cards the full-size contain padding shrinks them too
   far, so those get a tighter inset instead of a crop. */
.media--contain.media--tight img { padding: clamp(0.5rem, 1.4vw, 1rem); }

.media--zoom img { transition: transform 1.4s var(--ease); }
.media--zoom:hover img,
a:hover .media--zoom img,
.card:hover .media--zoom img { transform: scale(1.055); }

/* Curtain reveal used with the reveal observer */
.js .media--curtain::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--bone);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease);
}
.js .media--curtain.is-in::after { transform: scaleY(0); }

/* ---------- 9. Cards & grids ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card { display: block; }
.card__body { padding-top: 1.15rem; }
.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.2;
  transition: color var(--dur) var(--ease);
}
.card:hover .card__title { color: var(--accent); }
.card__meta {
  margin-top: 0.45rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.card__index {
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  color: var(--stone-light);
}

/* Product tile (packaging cut-outs on paper) */
.tile {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.tile:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -40px rgba(20, 17, 15, 0.45);
}
.tile__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
}
.tile__media img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 1.1s var(--ease);
}
.tile:hover .tile__media img { transform: scale(1.07); }
.tile__body {
  padding: 1.1rem clamp(1.1rem, 2vw, 1.5rem) 1.4rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}
.tile__name {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.25;
}
.tile__num { font-size: var(--fs-eyebrow); letter-spacing: 0.14em; color: var(--stone-light); }

/* Numbered process list */
.steps { border-top: 1px solid var(--line); }
.section--ink .steps { border-top-color: var(--line-dark); }
.step {
  display: grid;
  gap: 0.75rem 2.5rem;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
  border-bottom: 1px solid var(--line);
}
.section--ink .step { border-bottom-color: var(--line-dark); }
@media (min-width: 860px) {
  .step { grid-template-columns: 90px 320px 1fr; align-items: start; }
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}

/* Stats */
.stats { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.section--ink .stats { background: var(--line-dark); border-block-color: var(--line-dark); }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat {
  background: var(--bone);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2rem);
}
.section--ink .stat { background: var(--ink); }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 0.9rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}
.section--ink .stat__label { color: rgba(246,244,240,0.6); }

/* Feature list with rules */
.list-rules { border-top: 1px solid var(--line); }
.list-rules li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1.25rem;
  align-items: baseline;
  justify-content: space-between;
}
.list-rules .k { font-size: var(--fs-eyebrow); letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-light); flex-shrink: 0; }

/* ---------- 10. Clients marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  animation: marquee 46s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* Client logos run in full colour. Each sits on a white card so brands with a
   light or transparent lock-up stay legible against the bone background. */
.marquee__track img {
  height: clamp(56px, 6.5vw, 82px);
  width: auto;
  max-width: 190px;
  object-fit: contain;
  padding: 0.75rem 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.marquee__track img:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -26px rgba(20, 17, 15, 0.5);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 10b. Contact cards ---------- */
.contact-cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 820px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  background: var(--paper);
  transition: background var(--dur) var(--ease);
}
.contact-card:not(.contact-card--static):hover { background: var(--bone); }

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  margin-bottom: 0.4rem;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.contact-card:not(.contact-card--static):hover .contact-card__icon {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

.contact-card__label {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone-light);
}
.contact-card__value {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-card__go {
  margin-top: auto;
  padding-top: 1.1rem;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-card__go--muted { color: var(--stone); letter-spacing: 0.12em; }
.contact-card__go span { display: inline-block; transition: transform var(--dur) var(--ease); }
.contact-card:hover .contact-card__go span { transform: translateX(5px); }

/* ---------- 10c. Enquiry form panel ---------- */
.form-panel {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 940px) { .form-panel { grid-template-columns: 0.85fr 1fr; } }

.form-panel__list { border-top: 1px solid var(--line); }
.form-panel__list li {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-small);
  color: var(--stone);
}
.form-panel__list span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
}

.form-panel__form {
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  background: var(--bone);
  border: 1px solid var(--line);
}
.form-panel__form .field + .field,
.form-panel__form .field-row + .field { margin-top: 1.6rem; }
.form-panel__form .field__input,
.form-panel__form .field__area {
  padding: 0.8rem 0.9rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.form-panel__form .field__input:focus,
.form-panel__form .field__area:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 83, 26, 0.12);
}
.form-panel__submit { width: 100%; justify-content: center; margin-top: 2rem; }
.form-panel__note { margin-top: 1.5rem; font-size: var(--fs-small); color: var(--stone); }
.form-panel__note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--dur) var(--ease);
}
.form-panel__note a:hover { color: var(--accent); }

/* ---------- 11. Forms ---------- */
.field { display: block; }
.field + .field { margin-top: 1.5rem; }
.field__label {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.6rem;
}
.field__input,
.field__area {
  width: 100%;
  padding: 0.95rem 0;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color var(--dur) var(--ease);
}
.field__input::placeholder, .field__area::placeholder { color: var(--stone-light); }
.field__input:focus, .field__area:focus { outline: none; border-bottom-color: var(--accent); }
.field__area { resize: vertical; min-height: 132px; }

.field-row { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } .field-row .field + .field { margin-top: 0; } }

.section--ink .field__input,
.section--ink .field__area { color: var(--bone); border-bottom-color: var(--line-dark); }
.section--ink .field__label { color: rgba(246,244,240,0.6); }

.subscribe { display: flex; border-bottom: 1px solid var(--line-dark); }
.subscribe input {
  flex: 1; min-width: 0;
  padding: 0.85rem 0;
  font: inherit;
  color: var(--bone);
  background: transparent;
  border: 0;
}
.subscribe input::placeholder { color: rgba(246,244,240,0.45); }
.subscribe input:focus { outline: none; }
.subscribe button {
  padding-left: 1rem;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bone);
  transition: color var(--dur) var(--ease);
}
.subscribe button:hover { color: var(--accent); }

/* ---------- 12. Footer ---------- */
.site-footer { background: var(--ink); color: var(--bone); padding-block: clamp(3.5rem, 7vw, 6rem) 0; }
.footer__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } }

.footer__title {
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246, 244, 240, 0.5);
  margin-bottom: 1.4rem;
}
.footer__links li + li { margin-top: 0.7rem; }
.footer__links a {
  font-size: 0.95rem;
  color: rgba(246, 244, 240, 0.8);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.footer__links a:hover { color: var(--accent); padding-left: 6px; }

.footer__mark { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; line-height: 1.15; }
.footer__addr { margin-top: 1.25rem; font-size: 0.95rem; color: rgba(246,244,240,0.6); font-style: normal; line-height: 1.75; }
.footer__addr a { transition: color var(--dur) var(--ease); }
.footer__addr a:hover { color: var(--accent); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.75rem; }
.socials a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(246,244,240,0.22);
  border-radius: 999px;
  color: rgba(246,244,240,0.8);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.socials a:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

.footer__bar {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: rgba(246, 244, 240, 0.5);
}
.footer__bar a:hover { color: var(--accent); }

/* ---------- 13. Floating WhatsApp ---------- */
.wa {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.35rem;
  background: var(--ink);
  color: var(--bone);
  border-radius: 999px;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 20px 45px -20px rgba(20, 17, 15, 0.6);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.js .wa { transform: translateY(16px); opacity: 0; }
.js .wa.is-in { transform: none; opacity: 1; }
.wa:hover { background: #128c4a; }
.wa span { display: none; }
@media (min-width: 560px) { .wa span { display: inline; } }

/* ---------- 14. Preloader ---------- */
/* Only ever shown when the interaction layer is live (html.js). A CSS-only
   safety animation dismisses it even if kaysons.js never boots, so the page
   can never be left behind a blank curtain. */
.preload { display: none; }
.js .preload {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bone);
  transition: clip-path 0.9s var(--ease), opacity 0.4s linear 0.5s;
  clip-path: inset(0 0 0 0);
  animation: preFailsafe 0.001s linear 2.6s forwards;
}
.preload img { width: 132px; opacity: 0; transform: scale(0.94); animation: preIn 0.7s var(--ease) forwards; }
.preload.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes preIn { to { opacity: 1; transform: none; } }
@keyframes preFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ---------- 15. Scroll reveal ---------- */
/* Scoped to html.js: with no JavaScript the content is simply visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="right"] { transform: translateX(28px); }
.js [data-reveal="scale"] { transform: scale(0.965); }

[data-parallax] { will-change: transform; }

/* ==========================================================================
   15b. Homepage mobile refinements
   Scoped to .page-home so only index.html is affected.
   ========================================================================== */
@media (max-width: 760px) {

  /* The banner switches to the product crop via <picture>; the hotspot maps
     to the printed button on the desktop artwork, which is not in that crop. */
  .page-home .hero-banner__hotspot { display: none; }

  /* The display size floor (2.9rem) is too heavy on a 360px screen and forces
     awkward breaks in "precision." — let it scale down properly. */
  .page-home .hero__title { font-size: clamp(2.1rem, 9.5vw, 3.4rem); }

  .page-home .hero--tight { padding-top: 2.5rem; padding-bottom: 1.5rem; }
  .page-home .hero__meta { margin-top: 1.75rem; gap: 1.5rem; }
  .page-home .hero__lede { max-width: none; }
  .page-home .hero__meta .btn-group { width: 100%; }
  .page-home .hero__meta .btn { flex: 1 1 auto; justify-content: center; }

  /* Product tiles: two per row leaves ~150px of width, where a 1.28rem serif
     name overflows. Shrink the type and stack the caption. */
  .page-home .tile__media { padding: 0.9rem; }
  .page-home .tile__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.85rem 0.9rem 1rem;
  }
  .page-home .tile__name { font-size: 1.02rem; line-height: 1.25; }
  .page-home .tile__num { font-size: 0.625rem; }
  .page-home .grid--4 { gap: 0.85rem; }

  /* Section headings sit tighter without the desktop two-column split */
  .page-home .section-head { padding-top: 1.5rem; gap: 0.9rem; }
  .page-home .h2 { font-size: clamp(1.7rem, 7.5vw, 2.4rem); }

  /* Stats read better as a single stack with less vertical padding */
  .page-home .stat { padding: 1.6rem 1.25rem; }
  .page-home .stat__value { font-size: clamp(2.4rem, 13vw, 3.2rem); }

  .page-home .statement__head { margin-top: 1.1rem; }
  .page-home .step { padding: 1.4rem 0; }

  /* Full-width buttons in the closing call to action */
  .page-home .section--ink .btn-group { width: 100%; }
  .page-home .section--ink .btn-group .btn { flex: 1 1 100%; justify-content: center; }
}

@media (max-width: 400px) {
  /* Single column below this width — two tiles become too narrow to read */
  .page-home .grid--4 { grid-template-columns: 1fr; }
  .page-home .tile__name { font-size: 1.15rem; }
}

/* ---------- 16. Utilities ---------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.75rem; }
.mt-6 { margin-top: 4rem; }
.mb-3 { margin-bottom: 1.5rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.accent { color: var(--accent); }
.flow > * + * { margin-top: 1.25rem; }

/* ---------- 17. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__title .word > span { transform: none !important; }
  .media--curtain::after { display: none; }
  .marquee__track { animation: none; }
  .preload { display: none; }
}

/* ---------- 18. Print ---------- */
@media print {
  .site-header, .menu, .wa, .preload, .marquee, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
