/* Al-Eqtessad — Apple-style product-page build. Logical properties throughout so RTL (ar) and LTR (en) share one sheet. */

/* Thmanyah Sans (Thmanyah) for Arabic, used under the Thmanyah font licence; files unmodified. */
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans/thmanyahsans-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans/thmanyahsans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans/thmanyahsans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans/thmanyahsans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Thmanyah Sans"; src: url("../fonts/thmanyahsans/thmanyahsans-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  --black: #000;
  --graphite: #1d1d1f;
  --light: #f5f5f7;
  --white: #fff;
  --muted: #6e6e73;
  --muted-dark: #a1a1a6;
  --hair: #d2d2d7;
  --accent: #00813d;        /* pill fill: white text passes AA */
  --accent-hover: #006e34;
  --link-light: #007a3a;    /* links on light grounds */
  --link-dark: #3ddc84;     /* links and highlights on black */
  --brand: #00a052;

  --font-latin: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ar: "Thmanyah Sans", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font: var(--font-ar);

  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --nav-h: 52px;
  --radius: 28px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
html[lang="en"] { --font: var(--font-latin); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); background: var(--black); }
@media (pointer: fine) { html { overscroll-behavior-y: none; } }
body {
  margin: 0; background: var(--white); color: var(--graphite);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
html[lang="ar"] body { line-height: 1.75; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
bdi { unicode-bidi: isolate; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--link-dark); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: #fff; color: #000; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 10px; }

/* ---------- Type scale ---------- */
.h2 {
  font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.3; text-wrap: balance;
  margin-block-end: 18px;
}
html[lang="en"] .h2 { line-height: 1.07; letter-spacing: -0.03em; }
.h2--center, .lede--center { text-align: center; margin-inline: auto; }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); color: var(--muted); max-width: 40ch; text-wrap: pretty; }
html[lang="en"] .lede { letter-spacing: -0.01em; }

/* ---------- Pills and chevron links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600; font-size: 1.0625rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  transition: background-color 200ms var(--ease), transform 120ms var(--ease);
}
.pill:hover { background: var(--accent-hover); }
.pill:active { transform: scale(0.97); }
.pill--sm { min-height: 32px; padding: 0 14px; font-size: 0.875rem; }
.pill--block { width: 100%; }
.pill[aria-busy="true"] { opacity: 0.7; cursor: progress; }

.chev { display: inline-flex; align-items: center; gap: 4px; color: var(--link-light); text-decoration: none; font-weight: 500; font-size: 1.0625rem; }
.chev::after { content: ""; width: 7px; height: 7px; border-block-start: 1.75px solid currentColor; border-inline-end: 1.75px solid currentColor; transform: rotate(45deg); margin-inline-start: 4px; transition: transform 200ms var(--ease); }
html[dir="rtl"] .chev::after { transform: rotate(-45deg); }
.chev:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.chev:hover::after { transform: translateX(3px) rotate(45deg); }
html[dir="rtl"] .chev:hover::after { transform: translateX(-3px) rotate(-45deg); }

/* ---------- Global nav (translucent material) ---------- */
.gnav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; height: var(--nav-h);
  background: rgb(22 22 23 / 0.78);
  backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #e8e8ed;
}
.gnav__inner { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 24px; }
.gnav__brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 1rem; color: #f5f5f7; flex: none; }
.gnav__brand img { width: 26px; }
.gnav__nav { margin-inline-start: auto; }
.gnav__nav ul { display: flex; gap: 4px; }
.gnav__nav a { display: block; padding: 8px 12px; font-size: 0.875rem; color: #d2d2d7; text-decoration: none; transition: color 160ms var(--ease); }
.gnav__nav a:hover, .gnav__nav a[aria-current="true"] { color: #fff; }
.gnav__actions { display: flex; align-items: center; gap: 12px; }
.gnav__lang { font-family: var(--font-latin); font-size: 0.8125rem; font-weight: 600; color: #d2d2d7; text-decoration: none; padding: 6px 8px; border-radius: 8px; }
html[lang="en"] .gnav__lang { font-family: var(--font-ar); font-size: 0.9375rem; }
.gnav__lang:hover { color: #fff; background: rgb(255 255 255 / 0.1); }
.gnav__menu-cta { display: none; }
.gnav__menu { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.gnav__menu span { position: absolute; inset-inline: 11px; height: 1.5px; background: #e8e8ed; transition: transform 300ms var(--ease); }
.gnav__menu span:first-child { top: 16px; }
.gnav__menu span:last-child { top: 23px; }
.gnav__menu[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.gnav__menu[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--black); color: #f5f5f7; }
.hero__stage {
  height: 100svh; min-height: 640px; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto auto; justify-items: center;
  padding: calc(var(--nav-h) + clamp(28px, 6vh, 64px)) var(--gutter) clamp(28px, 5vh, 56px);
  overflow: hidden; text-align: center;
}
.hero__title {
  font-weight: 800; font-size: clamp(2.4rem, min(7vw, 9.5vh), 5.6rem); line-height: 1.25; text-wrap: balance;
}
html[lang="en"] .hero__title { line-height: 1.03; letter-spacing: -0.03em; font-size: clamp(2.6rem, min(8vw, 9.5vh), 6rem); }
/* Machine showcase: every cut-out stands on the same floor line and cross-fades in place */
.hero__product { align-self: stretch; width: min(94vw, 1100px); min-height: 0; margin-block: clamp(10px, 2vh, 24px) clamp(14px, 2.4vh, 26px); }
.hero__caption { display: none; }
.hero__slides { position: relative; width: 100%; height: 100%; will-change: transform; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: 50% 100%;
  opacity: 0; visibility: hidden;
  transform: translateX(var(--from, 6%)) scale(0.97);
  filter: blur(8px);
  transition: opacity 600ms var(--ease), transform 700ms var(--ease), filter 600ms var(--ease), visibility 0s linear 700ms;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; filter: drop-shadow(0 30px 40px rgb(255 255 255 / 0.05)); transition-delay: 0s; }
.hero__slide.is-leaving { opacity: 0; visibility: visible; transform: translateX(var(--to, -6%)) scale(0.97); filter: blur(8px); transition-delay: 0s; }
.hero__slide.is-leaving.is-stale { transition: opacity 140ms linear, transform 700ms var(--ease), filter 140ms linear; }

/* Machine tabs with an autoplay progress line */
.hero__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(6px, 1.4vw, 18px); margin-block-end: clamp(14px, 2.6vh, 28px); direction: ltr; }
.hero__tab {
  position: relative; padding: 8px 10px 12px; border: 0; background: none; cursor: pointer;
  font-family: var(--font-latin); font-size: 0.875rem; line-height: 1.2; color: #a1a1a6;
  transition: color 200ms var(--ease);
}
.hero__tab b { font-weight: 700; }
.hero__tab span { font-weight: 400; }
.hero__tab:hover, .hero__tab[aria-selected="true"] { color: #f5f5f7; }
.hero__tab i { position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 2px; background: rgb(255 255 255 / 0.16); overflow: hidden; }
.hero__tab i::after { content: ""; position: absolute; inset: 0; background: var(--link-dark); transform: scaleX(0); transform-origin: left center; }
.hero__tab[aria-selected="true"] i::after { transform: scaleX(1); }
.hero__tabs.is-playing .hero__tab[aria-selected="true"] i::after { animation: tab-progress var(--dwell, 5s) linear both; }
.hero__tabs.is-paused .hero__tab[aria-selected="true"] i::after { animation-play-state: paused; }
@keyframes tab-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__after { display: grid; justify-items: center; gap: 18px; margin-block-start: 8px; }
.hero__tab-name { display: block; }
.hero__tab small { display: block; margin-block-start: 3px; font-family: var(--font); font-size: 0.75rem; font-weight: 400; color: #86868b; }
.hero__caption small { display: block; font-family: var(--font); font-size: 0.75rem; color: #a1a1a6; }
.hero__lede { color: var(--muted-dark); font-size: clamp(1.0625rem, 1.7vw, 1.3125rem); max-width: 44ch; text-wrap: balance; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.hero .chev, .statement .chev, .heritage .chev, .reveal .chev { color: var(--link-dark); }

/* ---------- Statement ---------- */
.statement { background: var(--black); color: #f5f5f7; }
.statement__pin { display: grid; place-items: center; padding: clamp(72px, 10vw, 128px) var(--gutter); }
.statement__text {
  max-width: 34ch; font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.25rem); line-height: 1.7; text-wrap: balance; text-align: center;
}
html[lang="en"] .statement__text { max-width: 40ch; line-height: 1.35; letter-spacing: -0.015em; }
.is-scrub .statement__text .w { color: #48484a; transition: color 160ms linear; }
.is-scrub .statement__text .w.is-lit { color: #f5f5f7; }

/* ---------- Solutions rail ---------- */
.solutions { background: var(--light); }
.solutions__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-block: calc(var(--nav-h) + 40px) 56px; overflow: hidden; }
.solutions__head { margin-block-end: clamp(20px, 3vh, 36px); }
.rail-viewport { overflow: hidden; }
.rail { display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; will-change: transform; }
.card {
  flex: none; width: min(560px, 82vw); border-radius: var(--radius); overflow: hidden;
  background: var(--white); color: var(--graphite); display: grid; grid-template-rows: auto 1fr; align-self: stretch;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.04), 0 16px 40px -20px rgb(0 0 0 / 0.18);
}
.card--dark { background: var(--black); color: #f5f5f7; }
.card__media { position: relative; overflow: hidden; height: clamp(200px, 30vh, 330px); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 28px 28px; display: grid; gap: 6px; }
.card__title { font-weight: 700; font-size: 1.6rem; line-height: 1.3; }
html[lang="en"] .card__title { letter-spacing: -0.02em; line-height: 1.15; }
.card__text { color: var(--muted); font-size: 1rem; }
.card--dark .card__text { color: var(--muted-dark); }
.card__brands { font-size: 0.875rem; color: var(--muted); }
.card--dark .card__brands { color: #86868b; }
.card .chev { margin-block-start: 6px; }
.card__specs { display: grid; gap: 4px; margin-block: 4px 2px; font-size: 0.875rem; color: var(--muted); }
.card__specs b { font-family: var(--font-latin); font-weight: 600; color: var(--graphite); }
.card--dark .card__specs { color: #a1a1a6; }
.card--dark .card__specs b { color: #f5f5f7; }

/* Engineering plans card: the two plotters stand side by side, like a product lineup */
.lineup { background: linear-gradient(#fbfbfd, #ececf0); }
.card__media.lineup img { position: static; inset: auto; width: 100%; height: auto; max-height: 100%; object-fit: contain; transition: transform 500ms var(--ease); }
.card:hover .card__media.lineup img { transform: none; }
.lineup__row { position: absolute; inset: 9% 7% 7%; display: flex; align-items: flex-end; justify-content: center; gap: 8%; direction: ltr; }
.lineup__item { margin: 0; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; justify-items: center; align-items: end; gap: 14px; }
.lineup__item:first-child { flex: 0 1 56%; }
.lineup__item:last-child { flex: 0 1 32%; }
.lineup__item img { filter: drop-shadow(0 16px 14px rgb(0 0 0 / 0.16)); transform-origin: 50% 100%; }
.lineup__item figcaption { font-family: var(--font-latin); font-size: 0.875rem; color: #6e6e73; white-space: nowrap; transition: color 300ms var(--ease); }
.lineup__item figcaption b { font-weight: 700; }
@media (hover: hover) {
  .lineup__item:hover img { transform: scale(1.04); }
  .lineup__item:hover figcaption { color: var(--graphite); }
}
/* entrance: the machines rise onto the floor one after the other */
.motion .lineup__item { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.motion .lineup.is-in .lineup__item { opacity: 1; transform: none; }
.motion .lineup.is-in .lineup__item:last-child { transition-delay: 160ms; }
/* Signage card: the same lineup on the dark card, sized for two wide machines */
.lineup--dark { background: radial-gradient(120% 90% at 50% 100%, #2a2a2d, #0b0b0c 70%); }
.lineup--dark .lineup__item img { filter: drop-shadow(0 22px 26px rgb(0 0 0 / 0.55)); }
.lineup--dark .lineup__item figcaption { color: #a1a1a6; }
.lineup--dark .lineup__item:hover figcaption { color: #f5f5f7; }
.lineup--prod .lineup__row { gap: 5%; }
.lineup--prod .lineup__item:first-child { flex: 0 1 52%; }
.lineup--prod .lineup__item:last-child { flex: 0 1 46%; }
.lineup--office .lineup__row { gap: 7%; }
.lineup--office .lineup__item:first-child { flex: 0 1 54%; }
.lineup--office .lineup__item:last-child { flex: 0 1 30%; }
.card--dark .chev { color: var(--link-dark); }

/* ---------- Full-bleed reveal ---------- */
.reveal { background: var(--black); color: #fff; }
.reveal__pin { position: relative; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.reveal__frame { position: absolute; inset: 0; clip-path: inset(14% 16% round 28px); will-change: clip-path; }
.reveal__frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.reveal__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.88), rgb(0 0 0 / 0.6) 30%, rgb(0 0 0 / 0) 65%); }
.reveal__copy { position: absolute; inset-inline: 0; bottom: clamp(40px, 9vh, 96px); text-align: center; padding-inline: var(--gutter); }
.reveal__title { font-weight: 800; font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1.25; text-wrap: balance; }
html[lang="en"] .reveal__title { line-height: 1.05; letter-spacing: -0.03em; }
.reveal__text { margin: 14px auto 0; max-width: 46ch; color: #e8e8ed; font-size: clamp(1rem, 1.5vw, 1.25rem); }

/* ---------- Brands ---------- */
.brands { background: var(--white); padding-block: clamp(96px, 14vw, 180px); }
.brands__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 88px); margin-block-start: clamp(48px, 6vw, 80px); direction: ltr; }
.brands__list li { display: grid; justify-items: center; align-content: end; gap: 14px; text-align: center; }
.brands__list { align-items: end; }
.brands__cat { font-family: var(--font); font-size: 0.875rem; color: var(--muted); max-width: 16ch; line-height: 1.5; direction: inherit; }
html[dir="rtl"] .brands__cat { direction: rtl; }
.mark { width: auto; }
.mark--hp { height: 56px; }
.mark--oki { height: 32px; }
.mark--rowe { height: 56px; }
.mark--cj { height: 28px; }
.mark--lx { height: 38px; }

/* ---------- Heritage ---------- */
.heritage { background: var(--black); color: #f5f5f7; }
.heritage__pin { display: flex; align-items: center; padding-block: clamp(88px, 11vw, 140px); }
.heritage__lede { color: #d2d2d7; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.8; max-width: 52ch; margin-block-end: 8px; }
.heritage__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.heritage__count { display: grid; justify-items: start; }
.heritage__num { font-family: var(--font-latin); font-weight: 800; font-size: clamp(7rem, 22vw, 17rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--link-dark); font-variant-numeric: tabular-nums; }
.heritage__unit { font-weight: 600; font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: #f5f5f7; margin-block-start: 14px; }
.heritage .h2 { color: #f5f5f7; }
.chapters { position: relative; margin-block-start: 24px; display: grid; }
.chapter { padding-block: 16px; border-block-start: 1px solid #333336; }
.chapter h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.4; margin-block-end: 6px; }
.chapter p { color: var(--muted-dark); }
/* Motion mode: chapters stack in one cell and cross-fade */
.motion .heritage--seq .chapters { grid-template-areas: "c"; }
.motion .heritage--seq .chapter { grid-area: c; border: 0; opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.motion .heritage--seq .chapter.is-active { opacity: 1; transform: none; }

/* ---------- Process ---------- */
.process { background: var(--white); padding-block: clamp(96px, 12vw, 160px); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); margin-block-start: clamp(40px, 5vw, 72px); }
.step { display: grid; gap: 8px; align-content: start; }
.step__n { font-family: var(--font-latin); font-weight: 800; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em; color: var(--brand); margin-block-end: 10px; }
.step h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.step p { color: var(--muted); font-size: 1rem; }

/* ---------- Furniture bento ---------- */
.furniture { background: var(--light); padding-block: clamp(96px, 12vw, 160px); }
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 20vw, 260px); gap: 16px; margin-block-start: clamp(36px, 4vw, 56px); }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: #e8e8ed; }
.tile img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.tile figcaption {
  position: absolute; inset-inline-start: 16px; top: 16px;
  padding: 6px 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 600;
  background: rgb(255 255 255 / 0.82); backdrop-filter: blur(12px) saturate(160%); -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--wide { grid-column: 1 / -1; grid-row: 3; }
.tile--wide img { object-position: 50% 60%; }

.tile { will-change: clip-path; }
.furniture__cta { margin-block-start: clamp(28px, 3vw, 40px); text-align: center; }

/* ---------- Clients ---------- */
.clients { background: var(--white); padding-block: clamp(96px, 12vw, 160px); overflow: hidden; }
.marquee { margin-block-start: clamp(40px, 5vw, 64px); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.marquee__track { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 40px 56px; max-width: 980px; margin-inline: auto; }
.motion .marquee { max-width: none; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.motion .marquee__track { flex-wrap: nowrap; justify-content: flex-start; width: max-content; max-width: none; gap: 72px; animation: marquee 48s linear infinite; }
.motion .marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__track li { flex: none; width: 150px; height: 100px; display: grid; place-items: center; }
.marquee__track img { width: auto; height: auto; max-width: 150px; max-height: 96px; object-fit: contain; }

/* ---------- Contact ---------- */
.contact { background: var(--light); padding-block: clamp(96px, 12vw, 160px); }
.contact__title { text-align: center; font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.2; }
html[lang="en"] .contact__title { letter-spacing: -0.03em; line-height: 1; }
.contact .lede { margin-block-start: 12px; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 24px; margin-block-start: clamp(40px, 5vw, 64px); align-items: start; }
.quote { background: var(--white); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 18px; }
.quote__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-size: 0.9375rem; font-weight: 600; }
input, select, textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--hair); border-radius: 12px;
  background: var(--white); color: var(--graphite);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
input::placeholder, textarea::placeholder { color: #6e6e73; }
input:hover, select:hover, textarea:hover { border-color: #86868b; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgb(0 129 61 / 0.18); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236e6e73' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 16px center; padding-inline-end: 40px; }
html[dir="ltr"] select { background-position: right 16px center; }
input[dir="ltr"] { text-align: left; }
html[dir="rtl"] input[dir="ltr"]::placeholder { text-align: right; }
.field.has-error input, .field.has-error select { border-color: #d70015; }
.field__error { font-size: 0.875rem; color: #c1000f; }
.form-status { font-size: 0.9375rem; color: var(--muted); }
.form-note { font-size: 0.8125rem; color: var(--muted); text-align: center; }
.field--other { grid-column: 1 / -1; }
.field__opt { font-weight: 400; color: var(--muted); font-size: 0.8125rem; }
.form-status:empty { display: none; }

.branches { display: grid; gap: 16px; }
.branch { background: var(--white); border-radius: 22px; padding: 22px 24px; display: grid; gap: 2px; }
.branch h3 { font-weight: 700; font-size: 1.25rem; line-height: 1.4; }
.branch p { color: var(--muted); font-size: 0.9375rem; }
.branch__phone { font-family: var(--font-latin); font-weight: 600; font-size: 1.1875rem; text-decoration: none; margin-block-start: 6px; justify-self: start; font-variant-numeric: tabular-nums; }
.branch__phone:hover { color: var(--link-light); }
.branch .chev { font-size: 0.9375rem; justify-self: start; margin-block-start: 4px; }

/* ---------- Footer ---------- */
.footer { background: var(--light); color: var(--muted); font-size: 0.875rem; padding-block: 0 32px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-block: 28px; border-block-start: 1px solid var(--hair); }
.footer__name { color: var(--graphite); font-weight: 600; }
.footer__nav, .footer__contact { display: grid; gap: 8px; align-content: start; }
.footer a { color: var(--muted); text-decoration: none; justify-self: start; }
.footer a:hover { color: var(--graphite); text-decoration: underline; }
.footer__base { padding-block-start: 20px; border-block-start: 1px solid var(--hair); }

/* ---------- Load sequence (only with motion enabled; content is visible without JS) ---------- */
.motion .hero__title { animation: materialize 1100ms var(--ease) 100ms both; }
.motion .hero__product { animation: lights-on 1600ms var(--ease) 250ms both; }
.motion .hero__after { animation: materialize 1000ms var(--ease) 650ms both; }
.motion .hero__tabs { animation: materialize 1000ms var(--ease) 500ms both; }
.hero-done .hero__title, .hero-done .hero__product, .hero-done .hero__after, .hero-done .hero__tabs { animation: none; }
@keyframes materialize { from { opacity: 0; filter: blur(10px); transform: translateY(18px); } to { opacity: 1; filter: blur(0); transform: none; } }
@keyframes lights-on { from { opacity: 0; transform: translateY(40px) scale(0.96); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gnav__menu { display: block; }
  .gnav__menu-cta { display: block; }
  .gnav__inner { gap: 12px; }
  .gnav__actions { gap: 6px; }
  .gnav__actions .pill--sm { padding: 0 12px; font-size: 0.8125rem; }
  .gnav:has(.gnav__menu[aria-expanded="true"]) .gnav__actions .pill--sm { visibility: hidden; }
  .gnav__menu-cta { margin-block-end: 12px; }
  .gnav__menu-cta .pill { display: flex; font-size: 1.0625rem; padding: 0 24px; color: #fff; }
  .gnav__nav {
    position: absolute; top: 100%; inset-inline: 0; height: calc(100dvh - var(--nav-h)); overflow-y: auto; overscroll-behavior: contain;
    background: rgb(22 22 23 / 0.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 16px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 0s linear 260ms;
  }
  .gnav__nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .gnav__nav ul { flex-direction: column; gap: 0; }
  .gnav__nav a { font-size: 1.5rem; font-weight: 600; padding: 12px 4px; color: #e8e8ed; }
  .heritage__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  body { font-size: 1rem; }
  .hero__stage { min-height: 600px; }
  .hero__product { width: 100%; }
  /* phones: progress bars only, with the active machine named above them */
  .hero__caption { display: block; font-family: var(--font-latin); font-size: 0.875rem; color: #f5f5f7; margin-block-end: 8px; }
  .hero__caption b { font-weight: 700; }
  .hero__tabs { gap: 0 4px; }
  .hero__tab { width: 40px; padding: 10px 0; font-size: 0; }
  .hero__tab b, .hero__tab span, .hero__tab small { display: none; }
  .hero__tab i { left: 4px; right: 4px; bottom: 9px; }
  /* Solutions: native swipe rail instead of the pinned scrub */
  .solutions__pin { min-height: 0; padding-block: 96px 72px; }
  .rail-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
  .rail-viewport::-webkit-scrollbar { display: none; }
  .rail { gap: 14px; }
  .card { width: 84vw; scroll-snap-align: center; }
  .card__media { height: 220px; }
  .lineup__row { inset: 10% 5% 7%; gap: 6%; }
  .lineup__item figcaption { font-size: 0.75rem; }
  .reveal__frame { clip-path: inset(10% 6% round 22px); }
  .mark--hp, .mark--rowe { height: 42px; }
  .mark--oki { height: 24px; }
  .mark--cj { height: 22px; }
  .mark--lx { height: 28px; }
  .brands__list { gap: 32px 40px; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
  .tile--xl { grid-column: 1 / -1; grid-row: span 2; }
  .tile--wide { grid-column: 1 / -1; grid-row: auto; }
  .tile figcaption { font-size: 0.875rem; inset-inline-start: 12px; top: 12px; }
  .marquee__track { gap: 28px 24px; }
  .motion .marquee__track { gap: 48px; }
  .marquee__track li { width: 110px; height: 76px; }
  .marquee__track img { max-width: 110px; max-height: 72px; }
  .quote__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .motion .lineup__item { opacity: 1; transform: none; transition: none; }
  .motion .hero__title, .motion .hero__product, .motion .hero__after, .motion .hero__tabs { animation: none; }
  .hero__slide, .hero__slide.is-leaving { transition: opacity 200ms linear, visibility 0s linear 200ms; transform: none; filter: none; }
  .card__media img, .chev::after { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .gnav { background: #161617; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .tile figcaption { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
}

/* ---------- Category pages (printers-*.html, furniture.html) ---------- */
.gnav__nav a[aria-current="page"] { color: #fff; }
.phero { background: var(--black); color: #f5f5f7; padding-block: calc(var(--nav-h) + clamp(56px, 9vw, 112px)) clamp(64px, 9vw, 112px); }
.crumbs { font-size: 0.875rem; color: var(--muted-dark); margin-block-end: 20px; }
.crumbs a { color: var(--muted-dark); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin-inline: 6px; opacity: 0.6; }
.phero__title { font-weight: 700; font-size: clamp(2.4rem, 6.2vw, 5rem); line-height: 1.2; text-wrap: balance; max-width: 18ch; }
html[lang="en"] .phero__title { line-height: 1.05; letter-spacing: -0.035em; }
.phero__lede { margin-block-start: 22px; font-size: clamp(1.0625rem, 1.7vw, 1.375rem); color: var(--muted-dark); max-width: 46ch; text-wrap: pretty; }
.phero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-block-start: 36px; }
.phero .chev { color: var(--link-dark); }

.psection { padding-block: clamp(64px, 9vw, 120px); }
.psection--light { background: var(--light); }
.psection__title { font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.3; margin-block-end: clamp(28px, 4vw, 48px); text-wrap: balance; }
html[lang="en"] .psection__title { line-height: 1.1; letter-spacing: -0.025em; }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px 32px; counter-reset: use; }
.uses li { counter-increment: use; padding-block-start: 18px; border-block-start: 1px solid var(--hair); font-size: 1.125rem; font-weight: 500; line-height: 1.5; }
.uses li::before { content: counter(use, decimal-leading-zero); display: block; margin-block-end: 10px; font-family: var(--font-latin); font-size: 0.8125rem; font-weight: 600; color: var(--link-light); }

.pgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.pcard { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; scroll-margin-top: calc(var(--nav-h) + 24px); }
.pcard__media { --pad: clamp(24px, 4vw, 40px); position: relative; aspect-ratio: 4 / 3; background: var(--white); }
.pcard__media img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; filter: drop-shadow(0 18px 18px rgb(0 0 0 / 0.12)); transition: transform 700ms var(--ease); }
.pcard__body { display: flex; flex-direction: column; gap: 10px; padding: 4px clamp(22px, 3vw, 32px) clamp(24px, 3vw, 32px); }
.pcard__name { font-family: var(--font-latin); font-weight: 700; font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.015em; }
.pcard__use { color: var(--muted); }
.pcard__note { font-size: 0.8125rem; color: var(--muted); padding: 8px 12px; border-radius: 10px; background: var(--light); }
.psection__note { margin-block: calc(-1 * clamp(14px, 2.5vw, 30px)) clamp(24px, 3vw, 36px); color: var(--muted); font-size: 0.9375rem; }
.pcard__specs { display: grid; margin-block: 6px 10px; font-size: 0.9375rem; }
.pcard__specs li { display: flex; gap: 10px; align-items: baseline; padding-block: 10px; border-block-start: 1px solid #e8e8ed; }
.pcard__specs li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); transform: translateY(-2px); }
.pcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-block-start: auto; padding-block-start: 6px; }
.pcard__actions .chev { font-size: 0.9375rem; }
@media (hover: hover) { .pcard:hover .pcard__media img { transform: scale(1.035); } }

.fits { display: grid; border-block-start: 1px solid var(--hair); }
.fits li { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 8px 32px; padding-block: 22px; border-block-end: 1px solid var(--hair); font-size: 1.0625rem; }
.fits b { font-family: var(--font-latin); font-weight: 600; }
.others__title { margin-block-start: clamp(48px, 6vw, 72px); font-size: 1.25rem; font-weight: 700; }
.others { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.others li { padding: 7px 14px; border: 1px solid var(--hair); border-radius: 999px; font-family: var(--font-latin); font-size: 0.875rem; color: var(--graphite); }
.others__note { margin-block-start: 14px; font-size: 0.9375rem; color: var(--muted); }

.pclose { background: var(--black); color: #f5f5f7; text-align: center; padding-block: clamp(80px, 11vw, 140px); }
.pclose__title { font-weight: 700; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.25; text-wrap: balance; }
html[lang="en"] .pclose__title { line-height: 1.08; letter-spacing: -0.03em; }
.pclose__text { margin: 18px auto 34px; max-width: 44ch; color: var(--muted-dark); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); }

.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.fcard--wide { grid-column: span 2; }
.fcard { display: grid; grid-template-rows: auto 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; }
.fcard__media { position: relative; display: block; width: 100%; height: clamp(240px, 24vw, 360px); padding: 0; border: 0; background: #e8e8ed; overflow: hidden; cursor: zoom-in; }
.fcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.fcard__media:focus-visible { outline-offset: -4px; }
.fcard__zoom { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / 0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: transform 300ms var(--ease); }
.fcard__zoom::before, .fcard__zoom::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 1.75px; border-radius: 2px; background: var(--graphite); }
.fcard__zoom::after { transform: rotate(90deg); }
@media (hover: hover) {
  .fcard__media:hover img { transform: scale(1.04); }
  .fcard__media:hover .fcard__zoom { transform: scale(1.1); }
}
.fcard__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 24px 24px; }
.fcard__name { font-size: 1.25rem; font-weight: 700; }
.fcard__text { color: var(--muted); font-size: 0.9375rem; }
.fcard .chev { margin-block-start: auto; padding-block-start: 8px; font-size: 0.9375rem; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 92svh; overflow: visible; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 88svh; width: auto; border-radius: 18px; }
.lightbox__close { position: fixed; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.16); cursor: pointer; }
.lightbox__close span::before, .lightbox__close span::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 1.75px; background: #fff; transform: rotate(45deg); }
.lightbox__close span::after { transform: rotate(-45deg); }
.lightbox__close:hover { background: rgb(255 255 255 / 0.28); }
.motion .lightbox[open] { animation: zoom-in 380ms var(--ease); }
@keyframes zoom-in { from { opacity: 0; transform: scale(0.94); } }

/* page heading arrives on load, not on scroll, so it never waits for script */
.motion .phero .crumbs, .motion .phero__title, .motion .phero__lede, .motion .phero__actions { animation: phero-in 1s var(--ease) both; }
.motion .phero__title { animation-delay: 80ms; }
.motion .phero__lede { animation-delay: 180ms; }
.motion .phero__actions { animation-delay: 280ms; }
@keyframes phero-in { from { opacity: 0; transform: translateY(22px); } }
.rise { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 1000ms var(--ease); }
.rise.is-in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .fcard__media { height: auto; aspect-ratio: 4 / 5; }
  .fcard--wide .fcard__media { aspect-ratio: 16 / 9; }
  .fits li { grid-template-columns: 1fr; padding-block: 18px; }
  .pcard__media { aspect-ratio: 16 / 11; }
  .fgrid { gap: 12px; }
  .fcard { border-radius: 20px; }
  .fcard__body { padding: 14px 14px 16px; }
  .fcard__name { font-size: 1.0625rem; }
  .fcard__text { font-size: 0.875rem; }
  .fcard__zoom { width: 32px; height: 32px; inset-block-end: 10px; inset-inline-end: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .motion .phero .crumbs, .motion .phero__title, .motion .phero__lede, .motion .phero__actions { animation: none; }
  .pcard__media img, .fcard__media img { transition: none; }
}

/* ---------- Needs: pick a need, or open the selection wizard ---------- */
.needs { background: var(--white); padding-block: clamp(88px, 11vw, 140px); }
.needs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-block-start: clamp(36px, 5vw, 56px); }
.need { display: flex; flex-direction: column; height: 100%; padding: 0 0 24px; border-radius: var(--radius); background: var(--light); text-decoration: none; overflow: hidden; transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.need__media { position: relative; display: block; aspect-ratio: 5 / 4; }
.need__media img { position: absolute; inset: 22px 22px 6px; width: calc(100% - 44px); height: calc(100% - 28px); object-fit: contain; filter: drop-shadow(0 16px 16px rgb(0 0 0 / 0.12)); transition: transform 700ms var(--ease); }
.need__media--photo { margin-block-end: 6px; }
.need__media--photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; filter: none; }
.need__name { padding-inline: 22px; margin-block-start: 14px; font-size: 1.1875rem; font-weight: 700; line-height: 1.4; }
.need__text { padding-inline: 22px; margin-block-start: 4px; font-size: 0.9375rem; color: var(--muted); }
/* a round arrow in the tile corner says the whole tile is a link */
.need { position: relative; }
.need::before { content: ""; position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / 0.9); box-shadow: 0 2px 8px rgb(0 0 0 / 0.08); transition: background-color 300ms var(--ease); }
.need::after { content: ""; position: absolute; z-index: 1; inset-block-start: 27px; inset-inline-end: 29px; width: 7px; height: 7px; border-block-start: 1.75px solid var(--link-light); border-inline-end: 1.75px solid var(--link-light); transform: rotate(45deg); transition: transform 300ms var(--ease); }
html[dir="rtl"] .need::after { transform: rotate(-45deg); }
@media (hover: hover) {
  .need:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(0 0 0 / 0.08); }
  .need:hover .need__media img { transform: scale(1.05); }
  .need:hover::before { background: var(--accent); }
  .need:hover::after { border-color: #fff; transform: translateX(2px) rotate(45deg); }
  html[dir="rtl"] .need:hover::after { transform: translateX(-2px) rotate(-45deg); }
}
.needs__help { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; margin-block-start: 16px; padding: clamp(24px, 3.4vw, 36px) clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: var(--black); color: #f5f5f7; }
.needs__help-title { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; }
.needs__help p { margin-block-start: 6px; color: var(--muted-dark); max-width: 60ch; }
.needs__help .pill { flex: none; min-width: 120px; }

/* ---------- Selection wizard ---------- */
.wizard { margin-block-start: 16px; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--radius); background: var(--light); scroll-margin-top: calc(var(--nav-h) + 16px); }
.motion .wizard:not([hidden]) { animation: phero-in 600ms var(--ease) both; }
.wizard__head { display: flex; align-items: center; gap: 16px; }
.wizard__title { font-size: 1rem; font-weight: 700; }
.wizard__count { font-size: 0.875rem; color: var(--muted); }
.wizard__close { position: relative; margin-inline-start: auto; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(0 0 0 / 0.06); cursor: pointer; }
.wizard__close:hover { background: rgb(0 0 0 / 0.1); }
.wizard__close span::before, .wizard__close span::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 1.75px; background: var(--graphite); transform: rotate(45deg); }
.wizard__close span::after { transform: rotate(-45deg); }
.wizard__bar { height: 3px; margin-block: 18px 30px; border-radius: 3px; background: var(--hair); overflow: hidden; }
.wizard__bar i { display: block; height: 100%; background: var(--accent); transform-origin: left center; transform: scaleX(var(--p, 0)); transition: transform 500ms var(--ease); }
html[dir="rtl"] .wizard__bar i { transform-origin: right center; }
.wizard fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wizard__q { display: block; padding: 0; font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 700; line-height: 1.35; outline: none; }
html[lang="en"] .wizard__q { letter-spacing: -0.02em; line-height: 1.2; }
.wizard__hint { margin-block-start: 6px; font-size: 0.9375rem; color: var(--muted); }
.wizard__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px; margin-block-start: 22px; }
.opt { position: relative; display: flex; align-items: center; min-height: 60px; padding: 14px 18px; border: 1.5px solid var(--hair); border-radius: 16px; background: var(--white); cursor: pointer; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { font-weight: 500; line-height: 1.45; }
.opt:hover { border-color: #86868b; }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.opt:has(input:checked) span { color: var(--accent-hover); }
.opt:has(input:focus-visible) { outline: 2px solid var(--link-light); outline-offset: 2px; }
.opt--unsure { border-style: dashed; }
.opt--unsure span { color: var(--muted); }
.wizard__field input { width: 100%; max-width: 520px; margin-block-start: 18px; min-height: 52px; padding: 0 16px; border: 1.5px solid var(--hair); border-radius: 14px; background: var(--white); font-size: 1.0625rem; }
.wizard__field input:focus { outline: none; border-color: var(--accent); }
.wizard__error { margin-block-start: 12px; font-size: 0.9375rem; color: #c1000f; }
.wizard__error:empty { display: none; }
.wizard__nav, .wizard__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-block-start: 30px; }
.wizard__actions { justify-content: flex-start; }
.wizard__back { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--link-light); font-weight: 500; cursor: pointer; }
.wizard__back:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.wizard__sum-title { font-size: clamp(1.375rem, 2.6vw, 2rem); font-weight: 700; outline: none; }
.wizard__cat { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-block-start: 18px; padding: 18px 20px; border-radius: 16px; background: var(--white); }
.wizard__cat span { font-size: 0.875rem; color: var(--muted); }
.wizard__cat b { font-size: 1.125rem; }
.wizard__cat .chev { margin-inline-start: auto; font-size: 0.9375rem; }
.wizard__answers { display: grid; margin-block-start: 14px; }
.wizard__answers div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4px 24px; padding-block: 12px; border-block-end: 1px solid var(--hair); }
.wizard__answers dt { color: var(--muted); font-size: 0.9375rem; }
.wizard__answers dd { margin: 0; font-weight: 500; }
.wizard__recs { margin-block-start: 26px; }
.wizard__recs h4 { font-size: 1.0625rem; font-weight: 700; }
.wizard__recs ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 10px; margin-block-start: 12px; }
.wizard__recs a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; background: var(--white); text-decoration: none; border: 1.5px solid transparent; transition: border-color 160ms var(--ease); }
.wizard__recs a:hover { border-color: var(--accent); }
.wizard__recs b { font-family: var(--font-latin); font-size: 1.0625rem; }
.wizard__recs a span { font-size: 0.9375rem; color: var(--muted); }
.wizard__note { margin-block-start: 14px; font-size: 0.9375rem; color: var(--muted); }
.wizard__note--box { margin-block-start: 24px; padding: 16px 18px; border-radius: 16px; background: var(--white); color: var(--graphite); }
.wizard__recs--partial a { border-style: dashed; border-color: var(--hair); }
.wizard__recs li { display: grid; gap: 6px; align-content: start; }
.wizard__check { padding-inline: 4px; font-size: 0.875rem; color: var(--muted); }
.wizard__check b { color: var(--graphite); font-weight: 600; }

/* ---------- Solutions card links, furniture link ---------- */
.card__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-block-start: 6px; }
.card .card__links .chev { margin-block-start: 0; }
.furniture__cta .chev { margin-inline-start: 18px; }

/* ---------- Quote form additions ---------- */
.quote__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px 16px; }
.quote__top #form-reset { margin-inline-start: auto; min-height: 36px; font-size: 0.9375rem; }
.form-prefill { flex: 1 1 260px; padding: 12px 16px; border-radius: 12px; background: #e3f4ea; color: #0b5b2e; font-size: 0.9375rem; }
.form-prefill:empty { display: none; }
.wz-summary { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--light); border: 1px solid var(--hair); }
.wz-summary__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; }
.wz-summary__title { font-size: 0.9375rem; font-weight: 700; }
.wz-summary__head .review__btn { min-height: 32px; font-size: 0.875rem; }
.wz-summary__text { white-space: pre-line; font-size: 0.9375rem; line-height: 1.7; }
.wz-summary__hint { font-size: 0.8125rem; color: var(--muted); }
.fur-fields { margin: 0; padding: 0; border: 0; min-width: 0; }
.fur-fields legend { padding: 0; margin-block-end: 8px; font-size: 0.9375rem; font-weight: 600; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.check { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--hair); border-radius: 999px; background: var(--white); font-size: 0.9375rem; cursor: pointer; transition: border-color 160ms var(--ease); }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check:hover { border-color: #86868b; }
.check:has(input:checked) { border-color: var(--accent); color: var(--accent-hover); box-shadow: inset 0 0 0 1px var(--accent); }
.check:has(input:focus-visible) { outline: 2px solid var(--link-light); outline-offset: 2px; }
.fur-fields.has-error .check { border-color: #d70015; }
.review { display: grid; gap: 18px; align-content: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--white); }
.review__title { font-size: 1.5rem; font-weight: 700; outline: none; }
.review__list { display: grid; }
.review__list div { display: grid; grid-template-columns: minmax(110px, 0.6fr) 1fr; gap: 4px 20px; padding-block: 11px; border-block-end: 1px solid var(--hair); }
.review__list dt { color: var(--muted); font-size: 0.9375rem; }
.review__list dd { margin: 0; font-weight: 500; white-space: pre-line; overflow-wrap: anywhere; }
.review__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.review__btn { min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--link-light); font-weight: 500; cursor: pointer; }
.review__btn:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.review__note { font-size: 0.875rem; color: var(--muted); }

@media (max-width: 1024px) {
  .needs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .needs__grid { gap: 10px; }
  .need { padding-block-end: 18px; border-radius: 20px; }
  .need__media img { inset: 14px 14px 2px; width: calc(100% - 28px); height: calc(100% - 16px); }
  .need__media--photo img { inset: 0; width: 100%; height: 100%; }
  .need__name { padding-inline: 14px; margin-block-start: 10px; font-size: 1rem; }
  .need__text { padding-inline: 14px; font-size: 0.8125rem; }
  .needs__help { flex-direction: column; align-items: stretch; border-radius: 20px; }
  .needs__help .pill { width: 100%; }
  .wizard { padding: 20px 16px; border-radius: 20px; }
  .wizard__answers div, .review__list div { grid-template-columns: 1fr; }
  .wizard__opts--many { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt { min-height: 54px; padding: 12px 14px; }
  .wizard__nav .pill { flex: 1; }
  .wizard__actions .pill { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .need, .need__media img, .wizard__bar i { transition: none; }
  .motion .wizard:not([hidden]) { animation: none; }
}

/* ---------- Home furniture gallery: every category links to its place on the furniture page ---------- */
.fgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(190px, 18vw, 270px); gap: 14px; margin-block-start: clamp(36px, 4vw, 56px); }
.fgal > li { position: relative; overflow: hidden; border-radius: 24px; }
.fgal__item { background: #e8e8ed; }
.fgal__item--lead { grid-column: span 2; grid-row: span 2; }
.fgal__item a { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.fgal__item img { position: absolute; inset: -5% 0; width: 100%; height: 110%; object-fit: cover; filter: saturate(0.92) contrast(1.02); transition: scale 900ms var(--ease); }
.fgal__item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / 0.62), rgb(0 0 0 / 0.08) 46%, transparent 64%); }
.fgal__name { position: absolute; z-index: 1; inset-inline: 18px; inset-block-end: 16px; font-size: 1.125rem; font-weight: 700; line-height: 1.35; text-shadow: 0 1px 12px rgb(0 0 0 / 0.3); }
.fgal__item--lead .fgal__name { font-size: clamp(1.5rem, 2.4vw, 2rem); inset-inline: 28px; inset-block-end: 26px; }
.fgal__go { position: absolute; z-index: 1; inset-block-start: 14px; inset-inline-end: 14px; padding: 6px 12px; border-radius: 999px; background: rgb(255 255 255 / 0.88); color: var(--graphite); font-size: 0.8125rem; font-weight: 600; opacity: 0; transform: translateY(-4px); transition: opacity 250ms var(--ease), transform 250ms var(--ease); }
.fgal__item a:hover .fgal__go, .fgal__item a:focus-visible .fgal__go { opacity: 1; transform: none; }
.fgal__item a:focus-visible { outline: 3px solid var(--link-light); outline-offset: -3px; border-radius: 24px; }
@media (hover: hover) { .fgal__item a:hover img { scale: 1.04; } }
.fgal__help { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: clamp(22px, 2.6vw, 34px); background: var(--black); color: #f5f5f7; }
.fgal__help-title { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 700; line-height: 1.35; }
.fgal__help p { color: var(--muted-dark); max-width: 46ch; }
.fgal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-block-start: 6px; }
.fgal__help .chev { color: var(--link-dark); }
@media (max-width: 1024px) {
  .fgal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 34vw, 260px); }
  .fgal__item--lead, .fgal__help { grid-column: 1 / -1; }
  .fgal__item--lead { grid-row: span 1; }
}
@media (max-width: 767px) {
  .fgal { gap: 10px; grid-auto-rows: 170px; }
  .fgal > li { border-radius: 18px; }
  .fgal__name { inset-inline: 12px; inset-block-end: 10px; font-size: 0.9375rem; }
  .fgal__item--lead .fgal__name { font-size: 1.25rem; inset-inline: 16px; inset-block-end: 14px; }
  .fgal__help { grid-row: auto; }
  .fgal__go { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fgal__item img, .fgal__go { transition: none; } }

/* ---------- Wizard summary: edit per answer, reasons per machine ---------- */
.wizard__answers div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: baseline; }
.wizard__answers .is-unset dd { color: var(--muted); font-weight: 400; font-style: normal; }
.wizard__edit { min-height: 32px; padding: 0 10px; border: 1px solid var(--hair); border-radius: 999px; background: var(--white); color: var(--link-light); font-size: 0.8125rem; font-weight: 600; cursor: pointer; }
.wizard__edit:hover { border-color: var(--link-light); }
.wizard__cat .wizard__edit { margin-inline-start: 4px; }
.wizard__hint--alert { color: #8a5300; background: #fff4e0; padding: 8px 12px; border-radius: 10px; }
.wizard__rec { display: grid; gap: 8px; align-content: start; }
.wizard__why { padding: 10px 14px; border-radius: 12px; background: var(--white); font-size: 0.875rem; }
.wizard__why b { display: block; margin-block-end: 4px; font-size: 0.8125rem; }
.wizard__why ul { display: grid; gap: 3px; }
.wizard__why li { position: relative; padding-inline-start: 16px; color: var(--graphite); }
.wizard__why li::before { position: absolute; inset-inline-start: 0; }
.wizard__why--ok b { color: #0b5b2e; }
.wizard__why--ok li::before { content: "✓"; color: var(--accent); }
.wizard__why--check b { color: #8a5300; }
.wizard__why--check li::before { content: "؟"; color: #8a5300; }
html[lang="en"] .wizard__why--check li::before { content: "?"; }

/* ---------- Quote form: printer count, "not decided", review text ---------- */
.check--inline { align-self: start; min-height: 34px; margin-block-start: 4px; font-size: 0.875rem; }
.check--unsure { border-style: dashed; color: var(--muted); }
input:disabled { background: var(--light); color: var(--muted); cursor: not-allowed; }
.review__text { display: grid; gap: 6px; }
.review__text label { font-size: 0.875rem; font-weight: 600; color: var(--muted); }
.review__text textarea { min-height: 150px; font-size: 0.875rem; line-height: 1.7; background: var(--light); }
.review__contact { display: grid; gap: 6px; padding-block-start: 14px; border-block-start: 1px solid var(--hair); font-size: 0.875rem; color: var(--muted); }
.review__ways { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.review__ways a { color: var(--link-light); font-weight: 600; text-decoration: none; }
.review__ways a:hover { text-decoration: underline; }

/* ---------- Category pages: navigation between the four categories ---------- */
.catnav { position: sticky; top: var(--nav-h); z-index: 50; background: rgb(255 255 255 / 0.86); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-block-end: 1px solid var(--hair); }
.catnav ul { display: flex; justify-content: center; gap: 6px; padding-block: 10px; }
.catnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--graphite); font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: background-color 160ms var(--ease); }
.catnav a:hover { background: var(--light); }
.catnav a[aria-current="page"] { background: var(--graphite); color: #fff; }
.catnav a:focus-visible { outline: 2px solid var(--link-light); outline-offset: 2px; }
@media (max-width: 767px) {
  .catnav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-block: 8px; }
  .catnav a { justify-content: center; min-height: 40px; padding: 0 8px; font-size: 0.8125rem; text-align: center; line-height: 1.3; }
}
@media (prefers-reduced-transparency: reduce) { .catnav { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- Furniture page: request hints, multi-category selection, steps ---------- */
.fcard__ask { font-size: 0.875rem; color: var(--muted); }
.fcard__ask b { color: var(--graphite); font-weight: 600; }
.fcard__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-block-start: auto; padding-block-start: 10px; }
.fcard .fcard__actions .chev { margin: 0; padding: 0; font-size: 0.875rem; }
.fcard__pick { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 14px; border: 1.5px solid var(--accent); border-radius: 999px; background: var(--white); color: var(--accent-hover); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.fcard__pick::before { content: "+"; font-size: 1.1em; line-height: 1; }
.fcard__pick[aria-pressed="true"] { background: var(--accent); color: #fff; }
.fcard__pick[aria-pressed="true"]::before { content: "✓"; }
.fcard__pick-on, .fcard__pick[aria-pressed="true"] .fcard__pick-off { display: none; }
.fcard__pick[aria-pressed="true"] .fcard__pick-on { display: inline; }
.fcard:has(.fcard__pick[aria-pressed="true"]) { outline: 2px solid var(--accent); outline-offset: -2px; }
.funsure { margin-block-start: 24px; text-align: center; }
.fsteps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; counter-reset: fstep; }
.fsteps li { counter-increment: fstep; padding-block-start: 18px; border-block-start: 1px solid var(--hair); font-size: 1.0625rem; line-height: 1.6; }
.fsteps li::before { content: counter(fstep); display: grid; place-items: center; width: 30px; height: 30px; margin-block-end: 12px; border-radius: 50%; background: var(--graphite); color: #fff; font-family: var(--font-latin); font-size: 0.875rem; font-weight: 700; }
.fbar { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgb(29 29 31 / 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); color: #f5f5f7; }
.motion .fbar:not([hidden]) { animation: fbar-in 360ms var(--ease); }
@keyframes fbar-in { from { transform: translateY(100%); } }
.fbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; max-width: var(--wrap); margin-inline: auto; }
.fbar__count { font-weight: 600; }
.fbar__clear { margin-inline-end: auto; min-height: 36px; padding: 0 8px; border: 0; background: none; color: var(--muted-dark); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.fbar__clear:hover { color: #fff; }
body:has(.fbar:not([hidden])) .footer { padding-block-end: 96px; }
@media (max-width: 767px) {
  .fsteps { grid-template-columns: 1fr; }
  .fbar__inner { gap: 8px 12px; }
  .fbar .pill { width: 100%; }
  .fcard__actions { flex-direction: column; align-items: stretch; }
  .fcard__pick { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .motion .fbar:not([hidden]) { animation: none; } }
@media (max-width: 767px) {
  .wizard__answers div { grid-template-columns: minmax(0, 1fr) auto; }
  .wizard__answers dt { grid-column: 1; }
  .wizard__answers dd { grid-column: 1; }
  .wizard__answers .wizard__edit { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

.gnav__actions .pill--sm { white-space: nowrap; }

/* company name beside the mark: light weight, one line on wide screens, two short lines on phones */
.gnav__name { font-weight: 400; font-size: 0.9375rem; letter-spacing: 0; white-space: nowrap; }
html[lang="en"] .gnav__name { font-weight: 400; font-size: 0.875rem; letter-spacing: -0.01em; }
@media (max-width: 1200px) { .gnav__nav a { padding-inline: 9px; } }
@media (max-width: 767px) {
  .gnav__brand { gap: 8px; min-width: 0; flex: 0 1 auto; }
  .gnav__name { white-space: normal; font-size: 0.75rem; line-height: 1.3; max-width: 13ch; }
  html[lang="en"] .gnav__name { font-size: 0.6875rem; max-width: 17ch; }
}
@media (max-width: 480px) {
  /* the quote button stays first in the menu; the bar gives its room to the company name */
  .gnav__actions .pill--sm { display: none; }
  .gnav__name { max-width: none; font-size: 0.8125rem; }
  html[lang="en"] .gnav__name { max-width: 24ch; font-size: 0.75rem; }
}

/* "What do you need?" is now only the way into the selection helper; the categories live in the sections below */
.needs { padding-block: clamp(72px, 9vw, 112px); }
.needs__help { margin-block-start: clamp(28px, 4vw, 44px); }
/* the quote button in the top bar: a quiet, compact pill */
.gnav__actions .pill--sm { min-height: 28px; padding: 0 12px; font-size: 0.8125rem; font-weight: 600; }
