/* ==========================================================================
   SAAS Sourcing BD — public site
   Base system shared by all five templates. Template files add art direction.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/assets/fonts/bricolage.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('/assets/fonts/jetbrains-mono.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f2eee5;
  --surface: #fbf8f1;
  --ink: #15140f;
  --ink-soft: #3f3a30;
  --muted: #6b6355;
  --line: #d8d0c0;
  --accent: #8a6a45;
  --accent-deep: #6b4f31;
  --header-bg: #f2eee5;
  --footer-bg: #15140f;
  --footer-ink: #f2eee5;
  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --body: 'Bricolage Grotesque', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', Consolas, monospace;
  --container: 1280px;
  --gutter: clamp(18px, 4vw, 56px);
  --radius: 4px;
  --section-y: clamp(64px, 8.5vw, 122px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 84px;
  --hero-size: clamp(44px, 7vw, 104px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--accent); color: var(--bg); }

.shell { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.shell--narrow { width: min(100% - (var(--gutter) * 2), 880px); margin-inline: auto; }
.shell--wide { width: min(100% - (var(--gutter) * 1), 1480px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 10px 14px; font-size: 12px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.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; }

/* ------------------------------------------------------------------ atoms */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 22px; height: 1px; background: currentColor; }
.eyebrow--plain::before { display: none; }

.display { font-family: var(--display); font-weight: 400; letter-spacing: -0.02em; line-height: 0.98; }
.serif { font-family: var(--display); font-weight: 400; }
.mono { font-family: var(--mono); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--muted); }
.faint { color: var(--muted); opacity: 0.7; }
.small { font-size: 13px; }
.text-center { text-align: center; }
.flex { display: flex; align-items: center; gap: 8px; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: var(--radius); transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
  line-height: 1;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-1px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn--line { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 32%, transparent); }
.btn--line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--light { background: transparent; color: var(--footer-ink); border-color: color-mix(in srgb, var(--footer-ink) 32%, transparent); }
.btn--light:hover { background: var(--footer-ink); color: var(--footer-bg); border-color: var(--footer-ink); }
.btn--sm { padding: 10px 15px; font-size: 8.5px; }
.btn svg { width: 14px; height: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.13em; text-transform: uppercase;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 25%, transparent);
  padding-bottom: 5px; transition: border-color 0.2s, gap 0.2s;
}
.link-arrow:hover { border-color: var(--accent); gap: 14px; color: var(--accent-deep); }
.link-arrow svg { width: 13px; height: 13px; }

.rule { border: 0; border-top: 1px solid var(--line); }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: 100px;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); transition: 0.2s;
}
.pill:hover { border-color: var(--accent); color: var(--accent-deep); }
.pill.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--header-bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled { border-color: var(--line); background: color-mix(in srgb, var(--header-bg) 96%, transparent); }
.header-inner { display: flex; align-items: center; gap: 30px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--bg);
  font-family: var(--display); font-size: 21px; line-height: 1;
  border-radius: calc(var(--radius) * 0.6);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.brand-sub { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.brand-logo { max-height: 44px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 10px;
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-soft); transition: color 0.18s ease;
}
.nav-link:hover, .nav-link.is-current { color: var(--accent-deep); }
.nav-link::after {
  content: ''; position: absolute; left: 10px; right: 10px; bottom: 3px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav-link:hover::after, .nav-link.is-current::after { transform: scaleX(1); }
.nav-caret { width: 10px; height: 10px; opacity: 0.6; transition: transform 0.2s; }
.nav-item:hover .nav-caret { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px;
  background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.35);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: 0.2s var(--ease); z-index: 60;
}
.nav-item:hover .submenu, .nav-item:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 9px 11px; border-radius: calc(var(--radius) * 0.8);
  font-size: 12.5px; color: var(--ink-soft);
}
.submenu a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--accent-deep); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
.header-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid transparent; border-radius: 50%; background: none; color: var(--ink-soft);
  transition: 0.18s ease;
}
.header-icon:hover { border-color: var(--line); color: var(--ink); }
.header-icon svg { width: 16px; height: 16px; }
.header-cta { display: inline-flex; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 1px solid var(--line);
  background: transparent; border-radius: 50%; place-items: center;
}
.nav-toggle span { display: block; width: 15px; height: 1px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 15px; height: 1px; background: var(--ink); transition: 0.2s;
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
body.menu-open .nav-toggle span { background: transparent; }
body.menu-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.menu-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

.mobile-panel {
  display: none; position: fixed; inset: var(--header-h) 0 0; z-index: 45;
  background: var(--bg); padding: 24px var(--gutter) 48px; overflow-y: auto;
}
body.menu-open .mobile-panel { display: block; }
.mobile-panel__nav { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-size: 27px; line-height: 1; color: var(--ink);
}
.mobile-link svg { width: 16px; height: 16px; }
.mobile-sub { display: grid; padding: 6px 0 10px 16px; border-bottom: 1px solid var(--line); }
.mobile-sub a { padding: 8px 0; font-size: 14px; color: var(--muted); }
.mobile-panel__foot { margin-top: 28px; display: grid; gap: 16px; }
.mobile-panel__contact { font-size: 14px; color: var(--muted); }
.mobile-panel__contact a { display: block; margin-top: 4px; color: var(--ink); }

/* search overlay */
.search-overlay {
  position: fixed; inset: 0; z-index: 120; background: color-mix(in srgb, var(--bg) 97%, transparent);
  backdrop-filter: blur(10px); display: none; padding: 0 var(--gutter);
}
.search-overlay.is-open { display: grid; place-items: center; }
.search-overlay__inner { width: min(100%, 760px); }
.search-overlay__label { font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.search-overlay form { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 14px; }
.search-overlay input {
  flex: 1; background: none; border: 0; outline: none;
  font-family: var(--display); font-size: clamp(30px, 5vw, 58px); line-height: 1;
}
.search-overlay input::placeholder { color: color-mix(in srgb, var(--ink) 28%, transparent); }
.search-overlay button { background: none; border: 0; color: var(--ink); }
.search-overlay button svg { width: 24px; height: 24px; }
.search-overlay__hint { margin-top: 16px; font-size: 12px; color: var(--muted); }
.search-close { background: none; border: 1px solid var(--line); border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.search-close svg { width: 14px; height: 14px; }

/* ticker */
.ticker {
  background: var(--ink); color: var(--bg); overflow: hidden;
  display: flex; align-items: stretch; height: 38px; position: relative; z-index: 40;
}
.ticker__label {
  display: inline-flex; align-items: center; padding: 0 16px;
  background: var(--accent); color: #fff;
  font-family: var(--mono); font-size: 8px; letter-spacing: 0.15em; text-transform: uppercase;
  flex: 0 0 auto; gap: 7px;
}
.ticker__label i { width: 5px; height: 5px; border-radius: 50%; background: #fff; display: block; animation: pulse 2.4s infinite; }
.ticker__track { display: flex; align-items: center; gap: 42px; white-space: nowrap; padding-left: 32px; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__item { font-family: var(--mono); font-size: 9px; letter-spacing: 0.11em; text-transform: uppercase; color: color-mix(in srgb, var(--bg) 78%, transparent); display: inline-flex; gap: 42px; align-items: center; }
.ticker__item::after { content: '—'; opacity: 0.3; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 76px); }
.section--flush-top { padding-top: 0; }
.section--surface { background: var(--surface); }
.section--ink { background: var(--footer-bg); color: var(--footer-ink); }
.section--ink .eyebrow { color: color-mix(in srgb, var(--footer-ink) 65%, transparent); }
.section--ink .muted, .section--ink .lead { color: color-mix(in srgb, var(--footer-ink) 70%, transparent); }

.section-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-bottom: clamp(32px, 5vw, 60px); }
.section-head__eyebrow { margin-bottom: 16px; }
.section-head__title {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(34px, 4.6vw, 66px); line-height: 0.99; letter-spacing: -0.02em;
}
.section-head__sub { color: var(--muted); max-width: 560px; margin-top: 16px; font-size: 15px; }
.section-head__link { align-self: end; }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head--center .section-head__sub { margin-inline: auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.split--media-right { grid-template-columns: 1fr 0.92fr; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split__media--wide img { aspect-ratio: 4 / 3; }
.split__caption { margin-top: 10px; font-family: var(--mono); font-size: 8.5px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; display: flex; justify-content: space-between; }
.split__body { max-width: 560px; }
.split__title { font-family: var(--display); font-size: clamp(32px, 4vw, 56px); line-height: 1.02; margin: 16px 0 20px; }
.split__text { color: var(--muted); font-size: 15px; line-height: 1.75; }
.split__text p + p { margin-top: 12px; }
.split__actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }

/* stats */
.stats-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.55fr); gap: 24px; align-items: end; margin-bottom: clamp(22px, 3vw, 38px); }
.stats-intro h2 { font-family: var(--display); font-weight: 400; font-size: clamp(27px, 3.2vw, 44px); line-height: 1.02; letter-spacing: -0.02em; margin-top: 10px; }
.stats-intro p { font-size: 12.5px; line-height: 1.65; color: var(--muted); max-width: 360px; justify-self: end; text-align: right; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 26px 24px 0 0; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--display); font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -0.03em; }
.stat__suffix { font-size: 0.48em; vertical-align: 0.16em; margin-left: 3px; color: var(--accent); letter-spacing: 0.04em; }
.stat__label { margin-top: 10px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.marquee__track { display: flex; align-items: center; gap: clamp(36px, 6vw, 84px); width: max-content; animation: ticker 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-family: var(--display); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: 0.01em;
  color: var(--ink); opacity: 0.72; display: inline-flex; align-items: center; gap: 28px; white-space: nowrap;
}
.marquee__item::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.6; }
.marquee__item img { height: 24px; width: auto; max-width: 120px; object-fit: contain; opacity: 0.72; }

/* services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-card { background: var(--bg); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; min-height: 260px; position: relative; transition: background 0.25s ease; }
.service-card:hover { background: var(--surface); }
.service-card__top { display: flex; align-items: center; justify-content: space-between; color: var(--accent); }
.service-card__icon { width: 34px; height: 34px; }
.service-card__icon svg { width: 26px; height: 26px; stroke-width: 1.1; }
.service-card__index { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--muted); }
.service-card__title { font-family: var(--display); font-size: clamp(24px, 2.1vw, 31px); line-height: 1.08; margin: 26px 0 10px; }
.service-card__text { font-size: 13px; line-height: 1.65; color: var(--muted); }
.service-card__link { margin-top: auto; padding-top: 22px; }

.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 60px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease), background 0.2s;
}
.service-row:hover { padding-left: 12px; background: color-mix(in srgb, var(--accent) 4%, transparent); }
.service-row__num { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 0.1em; }
.service-row__title { font-family: var(--display); font-size: clamp(24px, 2.5vw, 36px); line-height: 1.05; }
.service-row__text { font-size: 13px; color: var(--muted); line-height: 1.6; }
.service-row__arrow { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; transition: 0.2s; }
.service-row__arrow svg { width: 13px; height: 13px; }
.service-row:hover .service-row__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

/* products */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 30px); }
.product-card { display: block; group: product; }
.product-card__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--surface); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.04); }
.product-card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(6px);
  padding: 5px 9px; border-radius: 100px;
  font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft);
}
.product-card__tag--featured { left: auto; right: 12px; background: var(--accent); color: #fff; border: 0; }
.product-card__body { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding-top: 14px; }
.product-card__title { font-family: var(--display); font-size: 24px; line-height: 1.08; }
.product-card__meta { font-family: var(--body); font-size: 11.5px; line-height: 1.45; color: var(--muted); margin-top: 5px; max-width: 34ch; }
.product-card__arrow { color: var(--muted); transition: 0.2s; margin-top: 4px; }
.product-card:hover .product-card__arrow { color: var(--accent-deep); transform: translate(2px, -2px); }
.product-card__arrow svg { width: 16px; height: 16px; }

.products-feature { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(16px, 2.4vw, 30px); }
.products-feature__side { display: grid; grid-template-rows: 1fr 1fr; gap: inherit; }
.products-feature .product-card__media { aspect-ratio: 4 / 4.4; }
.products-feature__side .product-card__media { aspect-ratio: 16 / 9; }
.products-feature__side .product-card__title { font-size: 20px; }

/* portfolio */
.projects-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px); align-items: start; }
.project-card { display: block; }
.project-card__media { overflow: hidden; background: var(--surface); aspect-ratio: 4 / 3; }
.project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.035); }
.project-card__meta { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.project-card__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--accent); display: block; }
.project-card__title { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.04; margin-top: 7px; }
.project-card--offset { margin-top: clamp(30px, 6vw, 84px); }

/* process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.process-step { padding: 26px 20px 0 0; border-right: 1px solid var(--line); }
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step__num { font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; color: var(--accent); }
.process-step__title { font-family: var(--display); font-size: 24px; line-height: 1.08; margin: 18px 0 9px; }
.process-step__text { font-size: 12px; line-height: 1.65; color: var(--muted); }

/* quotes */
.quote { max-width: 960px; margin-inline: auto; text-align: center; }
.quote__mark { font-family: var(--display); font-size: 68px; line-height: 0.6; color: var(--accent); display: block; margin-bottom: 26px; }
.quote__text { font-family: var(--display); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.18; letter-spacing: -0.01em; }
.quote__author { margin-top: 30px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.quote__author strong { color: var(--ink); font-weight: 500; }
.quote__stars { margin-top: 12px; display: flex; gap: 3px; justify-content: center; font-size: 10px; color: color-mix(in srgb, var(--ink) 18%, transparent); }
.quote__stars .is-filled { color: var(--accent); }
.quote__avatar { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; display: inline-block; vertical-align: middle; margin-right: 8px; }
.quote-nav { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.quote-nav button { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); background: none; display: grid; place-items: center; }
.quote-nav button.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.quote-nav i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; display: block; }

/* notices */
.notice-list { border-top: 1px solid var(--line); }
.notice-row {
  display: grid; grid-template-columns: 120px 90px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); transition: background 0.2s;
}
.notice-row:hover { background: color-mix(in srgb, var(--accent) 4%, transparent); }
.notice-row__date { font-family: var(--mono); font-size: 9px; color: var(--muted); letter-spacing: 0.06em; }
.notice-row__type { font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.notice-row__title { font-family: var(--display); font-size: clamp(20px, 2vw, 27px); line-height: 1.1; }
.notice-row__excerpt { display: block; font-family: var(--body); font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 6px; letter-spacing: 0; text-transform: none; }
.notice-row__arrow svg { width: 15px; height: 15px; color: var(--muted); }

/* CTA */
.cta-band { position: relative; overflow: hidden; background: var(--footer-bg); color: var(--footer-ink); }
.cta-band__media { position: absolute; inset: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--footer-bg) 20%, color-mix(in srgb, var(--footer-bg) 55%, transparent)); }
.cta-band__inner { position: relative; z-index: 2; padding-block: clamp(60px, 9vw, 120px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.cta-band__title { font-family: var(--display); font-size: clamp(38px, 5.6vw, 78px); line-height: 0.98; letter-spacing: -0.025em; }
.cta-band__text { color: color-mix(in srgb, var(--footer-ink) 68%, transparent); max-width: 460px; margin-top: 18px; font-size: 14px; }
.cta-band__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* page hero */
.page-hero { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 30px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent-deep); }
.breadcrumbs span { opacity: 0.4; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.page-hero__eyebrow { margin-bottom: 18px; }
.page-hero__title { font-family: var(--display); font-size: clamp(42px, 6.2vw, 92px); line-height: 0.96; letter-spacing: -0.025em; max-width: 900px; }
.page-hero__sub { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); max-width: 620px; margin-top: 22px; }
.page-hero__meta { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); text-align: right; display: grid; gap: 6px; }
.page-hero__meta strong { color: var(--ink); font-weight: 500; }
.page-hero--image { position: relative; min-height: 420px; display: flex; align-items: flex-end; background: var(--ink); color: var(--bg); border: 0; overflow: hidden; }
.page-hero--image .page-hero__bg { position: absolute; inset: 0; }
.page-hero--image .page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.page-hero--image::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 7, 0.5) 0%, rgba(10, 9, 7, 0.12) 58%, transparent 100%),
    linear-gradient(180deg, rgba(10, 9, 7, 0.12) 0%, rgba(10, 9, 7, 0.18) 35%, rgba(10, 9, 7, 0.85) 100%);
}
.page-hero--image .shell { position: relative; z-index: 2; padding-bottom: clamp(36px, 5vw, 64px); }
.page-hero--image .breadcrumbs, .page-hero--image .page-hero__sub, .page-hero--image .page-hero__meta { color: rgba(255, 250, 242, 0.68); }
.page-hero--image .page-hero__title { color: #fffaf2; }
.page-hero--image .breadcrumbs a:hover { color: #fff; }

/* prose */
.prose { font-size: 16px; line-height: 1.78; color: var(--ink-soft); }
.prose > * + * { margin-top: 18px; }
.prose .lead { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--ink); margin-bottom: 30px; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.1vw, 42px); line-height: 1.06; letter-spacing: -0.015em; margin-top: 46px; color: var(--ink); }
.prose h3 { font-family: var(--display); font-size: 26px; font-weight: 400; margin-top: 34px; }
.prose p { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 22px; max-width: 70ch; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-deep); border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.prose a:hover { border-color: var(--accent); }
.prose blockquote {
  border-left: 2px solid var(--accent); padding: 6px 0 6px 26px; margin: 38px 0;
  font-family: var(--display); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--ink);
}
.prose strong { color: var(--ink); font-weight: 650; }
.prose img { width: 100%; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }

/* catalogue filters */
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar__label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.catalogue-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.catalogue-count { font-family: var(--mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.search-inline { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.search-inline input { border: 0; background: none; outline: none; font-size: 12px; width: 190px; }
.search-inline svg { width: 14px; height: 14px; color: var(--muted); }

/* product detail */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.detail-crumbs { padding-top: clamp(24px, 3vw, 36px); }
.detail-crumbs + .section { padding-top: clamp(30px, 4vw, 54px); }
.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
.product-gallery__main { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.product-thumbs button { padding: 0; border: 1px solid transparent; background: none; aspect-ratio: 1; overflow: hidden; }
.product-thumbs button.is-active { border-color: var(--accent); }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.product-info__code { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.product-info h1 { font-family: var(--display); font-size: clamp(38px, 4.6vw, 62px); line-height: 0.98; margin: 12px 0 18px; }
.product-info__summary { color: var(--muted); font-size: 16px; line-height: 1.7; }
.spec-list { margin-top: 30px; border-top: 1px solid var(--line); }
.spec-list__row { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.spec-list__row dt { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.spec-list__row dd { margin: 0; color: var(--ink-soft); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.swatch { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 100px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.swatch i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); opacity: 0.65; }
.product-info__actions { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.product-note { margin-top: 22px; font-size: 11.5px; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.product-note svg { width: 14px; height: 14px; color: var(--accent); flex: 0 0 14px; margin-top: 2px; }
.related { margin-top: clamp(50px, 7vw, 90px); padding-top: 40px; border-top: 1px solid var(--line); }

/* contact */
.contact-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact-details { display: grid; gap: 26px; }
.contact-block__label { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 7px; }
.contact-block__value { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); line-height: 1.25; }
.contact-block__value a { border-bottom: 1px solid transparent; }
.contact-block__value a:hover { border-color: var(--accent); }
.contact-block__note { font-size: 12px; color: var(--muted); margin-top: 4px; }
.contact-form-card { background: var(--surface); border: 1px solid var(--line); padding: clamp(22px, 3.4vw, 42px); border-radius: calc(var(--radius) + 2px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 20px; }
.form-field > label, .form-field__label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.form-input, .form-textarea, .form-select {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 9px 0; font-size: 14px; color: var(--ink); border-radius: 0;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6355' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 2px center; padding-right: 24px; }
.form-hint { font-size: 10.5px; color: var(--muted); margin-top: 5px; }
.form-error { font-size: 10.5px; color: #9a3b2c; margin-top: 5px; }
.form-check { display: flex; gap: 9px; align-items: flex-start; font-size: 11px; color: var(--muted); line-height: 1.5; }
.form-check input { margin-top: 3px; accent-color: var(--accent); }
.form-alert { padding: 13px 15px; border: 1px solid color-mix(in srgb, #3f6b4a 30%, transparent); background: color-mix(in srgb, #3f6b4a 8%, transparent); color: #2f563a; font-size: 12.5px; margin-bottom: 22px; border-radius: var(--radius); }
.form-alert--error { border-color: rgba(154, 59, 44, 0.25); background: rgba(154, 59, 44, 0.06); color: #7d2f23; }

/* notices & article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(30px, 6vw, 80px); align-items: start; }
.article-meta { display: flex; gap: 14px; flex-wrap: wrap; font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.article-side { border-top: 1px solid var(--line); padding-top: 18px; position: sticky; top: calc(var(--header-h) + 24px); }
.article-side__label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.article-side a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
.article-side h4 { font-family: var(--display); font-size: 19px; line-height: 1.15; font-weight: 400; }
.article-side span { font-family: var(--mono); font-size: 8px; color: var(--muted); }

/* search */
.search-hero { padding: clamp(52px, 8vw, 110px) 0 30px; }
.search-hero h1 { font-family: var(--display); font-size: clamp(40px, 6vw, 84px); line-height: 0.98; margin-bottom: 26px; }
.search-form { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding-bottom: 10px; max-width: 760px; }
.search-form input { flex: 1; border: 0; background: none; outline: none; font-family: var(--display); font-size: clamp(24px, 3.4vw, 40px); }
.search-form button { border: 0; background: var(--ink); color: var(--bg); width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.search-form button svg { width: 17px; height: 17px; }
.result-list { border-top: 1px solid var(--line); margin-top: 40px; }
.result-row { display: grid; grid-template-columns: 78px 100px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.result-row__img { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.result-row__img img { width: 100%; height: 100%; object-fit: cover; }
.result-row__type { font-family: var(--mono); font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.result-row__title { font-family: var(--display); font-size: 24px; line-height: 1.1; }
.result-row__text { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* pagination */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); }
.pager__info { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pager__links { display: flex; gap: 5px; flex-wrap: wrap; }
.pager__links a, .pager__links span {
  min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); font-family: var(--mono); font-size: 10px; color: var(--muted);
}
.pager__links a:hover { border-color: var(--accent); color: var(--accent-deep); }
.pager__links .is-current { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pager__links .is-disabled { opacity: 0.4; }
.pager__links svg { width: 12px; height: 12px; }

/* footer */
.site-footer { background: var(--footer-bg); color: var(--footer-ink); position: relative; overflow: hidden; }
.site-footer a { color: inherit; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr); gap: clamp(30px, 6vw, 90px); padding-block: clamp(52px, 7vw, 88px) clamp(40px, 5vw, 64px); }
.footer-brand .brand-mark { background: var(--footer-ink); color: var(--footer-bg); }
.footer-brand .brand-sub { color: color-mix(in srgb, var(--footer-ink) 55%, transparent); }
.footer-brand__about { margin-top: 22px; max-width: 380px; font-size: 13.5px; line-height: 1.75; color: color-mix(in srgb, var(--footer-ink) 64%, transparent); }
.footer-social { display: flex; gap: 7px; margin-top: 26px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid color-mix(in srgb, var(--footer-ink) 22%, transparent); border-radius: 50%; display: grid; place-items: center; transition: 0.2s; }
.footer-social a:hover { background: var(--footer-ink); color: var(--footer-bg); }
.footer-social svg { width: 14px; height: 14px; }
.footer-social a { font-family: var(--mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-col__label { font-family: var(--mono); font-size: 8px; letter-spacing: 0.16em; text-transform: uppercase; color: color-mix(in srgb, var(--footer-ink) 45%, transparent); margin-bottom: 16px; }
.footer-col a { display: block; padding: 5px 0; font-size: 13px; color: color-mix(in srgb, var(--footer-ink) 76%, transparent); transition: color 0.2s; }
.footer-col a:hover { color: var(--footer-ink); }
.footer-col p { font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--footer-ink) 76%, transparent); margin-bottom: 8px; }
.footer-col p strong { color: var(--footer-ink); font-weight: 500; }
.footer-word {
  font-family: var(--display); font-size: clamp(58px, 13vw, 190px); line-height: 0.8; letter-spacing: -0.04em;
  color: color-mix(in srgb, var(--footer-ink) 9%, transparent); white-space: nowrap; overflow: hidden;
  padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--footer-ink) 12%, transparent);
}
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding: 18px 0 26px; font-family: var(--mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; color: color-mix(in srgb, var(--footer-ink) 45%, transparent); }
.footer-bottom__links { display: flex; gap: 16px; }
.footer-bottom a:hover { color: var(--footer-ink); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgba(10, 9, 7, 0.94); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 22px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: none; color: #fff; display: grid; place-items: center; }
.lightbox__close svg { width: 16px; height: 16px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: none; color: #fff; display: grid; place-items: center; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }
.lightbox__nav svg { width: 16px; height: 16px; }

/* back to top */
.back-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent); color: var(--ink);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: 0.25s var(--ease); backdrop-filter: blur(8px);
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 15px; height: 15px; }

/* reveal */
body:not(.anim-marquee) .ticker__track,
body:not(.anim-marquee) .marquee__track { animation: none; }
body:not(.anim-hover) .product-card:hover .product-card__media img,
body:not(.anim-hover) .project-card:hover .project-card__media img,
body:not(.anim-hover) .service-index__item:hover .service-index__media img { transform: none; }
body:not(.anim-hover) .btn:hover { transform: none; }

.reveal { opacity: 1; transform: none; }
body.anim-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0ms); }
body.anim-reveal .reveal.is-in { opacity: 1; transform: none; }
body.anim-reveal.anim-subtle .reveal { transform: translateY(12px); }
body.anim-reveal.anim-expressive .reveal { transform: translateY(34px); }

/* empty states */
.empty-state { text-align: center; padding: 60px 20px; border: 1px dashed var(--line); }
.empty-state h3 { font-family: var(--display); font-size: 28px; font-weight: 400; margin-bottom: 8px; }
.empty-state p { color: var(--muted); font-size: 14px; }

/* responsive */
@media (max-width: 1100px) {
  .primary-nav { gap: 0; }
  .nav-link { padding-inline: 7px; font-size: 9px; }
  .header-cta { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .process-step { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card--offset { margin-top: 40px; }
  .article-layout { grid-template-columns: 1fr; }
  .article-side { position: static; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .stats-intro { grid-template-columns: 1fr; gap: 10px; }
  .stats-intro p { justify-self: start; text-align: left; }
  .primary-nav { display: none; }
  .nav-toggle { display: grid; }
  .header-inner { gap: 14px; }
  .header-actions { margin-left: auto; }
  .split, .split--media-right, .contact-layout, .product-detail, .footer-top { grid-template-columns: 1fr; }
  .split__media { order: -1; }
  .split__media img { aspect-ratio: 4 / 3; }
  .product-gallery { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .stat:nth-child(2) { border-right: 0; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-feature { grid-template-columns: 1fr; }
  .products-feature__side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .products-feature__side .product-card__media { aspect-ratio: 4 / 4.4; }
  .service-row { grid-template-columns: 40px minmax(0, 1fr) auto; }
  .service-row__text { display: none; }
  .cta-band__inner { grid-template-columns: 1fr; align-items: start; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .result-row { grid-template-columns: 60px 80px minmax(0, 1fr); }
  .result-row__arrow { display: none; }
  .notice-row { grid-template-columns: 90px 70px minmax(0, 1fr) auto; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head__link { margin-top: 4px; }
  .services-grid, .products-grid, .projects-grid, .products-feature__side { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat__value { font-size: 36px; }
  .notice-row { grid-template-columns: 1fr auto; gap: 4px 14px; padding: 16px 0; }
  .notice-row__date, .notice-row__type { grid-column: 1; }
  .notice-row__title { grid-column: 1 / -1; }
  .notice-row__arrow { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .product-thumbs { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .result-row { grid-template-columns: 56px minmax(0, 1fr); }
  .result-row__type { grid-column: 2; }
  .result-row__img { grid-row: 1 / span 2; }
  .quote__text { font-size: 26px; }
  .cta-band__actions .btn { width: 100%; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__meta { text-align: left; }
}

/* motion preferences */
@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; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
