@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --red: #df4443;
  --red-deep: #b92e32;
  --blue: #3d4095;
  --blue-deep: #272b72;
  --navy: #111a45;
  --navy-2: #19235a;
  --ink: #172047;
  --muted: #63708e;
  --paper: #f8fafc;
  --blue-gray: #edf2f8;
  --line: #d9e1ec;
  --white: #fff;
  --shadow: 0 24px 70px rgba(17, 26, 69, .13);
  --radius: 22px;
  --wrap: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

:focus-visible {
  outline: 3px solid #f0bd4d;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

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

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.section {
  padding: 104px 0;
}

.eyebrow {
  color: var(--red);
  font: 500 11px/1.2 'DM Mono', monospace;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 38px;
}

.section-head h2 {
  max-width: 700px;
  margin: 10px 0 0;
  font: 700 clamp(33px, 4vw, 55px)/1.02 'Space Grotesk', sans-serif;
  letter-spacing: -.07em;
}

.section-head p {
  max-width: 370px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(223, 68, 67, .22);
}

.btn-primary:hover {
  background: var(--red-deep);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
}

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--blue);
}

.btn-small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.text-link::after {
  content: '↗';
  color: var(--red);
  font-size: 17px;
}

/* Shared shell */
.topline {
  background: var(--navy);
  color: #dce4fa;
  font-size: 12px;
  letter-spacing: .04em;
}

.topline-inner {
  width: var(--wrap);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  margin: 0 auto;
}

.topline a {
  color: #f2c759;
}

#site-header {
  position: sticky;
  top: 0;
  z-index: 30;
}

.site-header {
  position: relative;
  background: rgba(248, 250, 252, .94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 26, 69, .09);
}

.nav-inner {
  width: var(--wrap);
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 225px;
}

.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-wordmark {
  width: 142px;
  height: auto;
}

.brand-copy {
  display: grid;
  line-height: 1;
  gap: 5px;
}

.brand-copy strong {
  font: 700 18px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.04em;
}

.brand-copy small {
  color: var(--muted);
  font: 10px/1 'DM Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 700;
}

.nav-links a {
  color: var(--ink);
  position: relative;
  padding: 30px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 22px;
  height: 2px;
  background: var(--red);
  transition: right .2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current='page']::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn,
.menu-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--navy);
}

.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

.floating-quote {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 17px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 800;
}

.count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 50%;
  color: var(--navy);
  background: #f2c759;
  font-size: 10px;
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0 86px;
  background: var(--blue-gray);
}

.hero::before {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  top: -290px;
  right: -120px;
  border: 1px solid rgba(61, 64, 149, .18);
  border-radius: 50%;
  box-shadow: -38px 0 0 rgba(61, 64, 149, .05), -76px 0 0 rgba(61, 64, 149, .035);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: 76px;
  align-items: center;
  position: relative;
}

.hero h1 {
  max-width: 650px;
  margin: 18px 0 20px;
  font: 700 clamp(42px, 5.6vw, 78px)/.98 'Space Grotesk', sans-serif;
  letter-spacing: -.075em;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-copy {
  max-width: 530px;
  margin: 0;
  color: #414e71;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 12px;
}

.hero-meta strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.hero-visual {
  min-height: 480px;
  position: relative;
}

.hero-photo {
  position: absolute;
  inset: 18px 0 0 46px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  box-shadow: var(--shadow);
}

.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(17, 26, 69, .85), rgba(17, 26, 69, .12) 70%), linear-gradient(0deg, rgba(17, 26, 69, .55), transparent 50%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .76;
  filter: saturate(.75) contrast(1.05);
}

.hero-note {
  position: absolute;
  z-index: 1;
  top: 54px;
  left: 0;
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 18px;
  background: rgba(17, 26, 69, .76);
  backdrop-filter: blur(12px);
  color: #edf3ff;
}

.hero-note span {
  display: block;
  margin-bottom: 42px;
  color: #f2c759;
  font: 11px 'DM Mono', monospace;
}

.hero-note strong {
  display: block;
  font: 700 24px/1.05 'Space Grotesk', sans-serif;
  letter-spacing: -.05em;
}

.hero-stamp {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 20px;
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border: 1px solid #f2c759;
  border-radius: 50%;
  color: #f2c759;
  text-align: center;
  font: 10px/1.4 'DM Mono', monospace;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(13deg);
}

.hero-stamp::before {
  content: '↗';
  display: block;
  margin-bottom: 3px;
  font-size: 24px;
}

.hero-label {
  position: absolute;
  z-index: 2;
  left: 78px;
  bottom: 34px;
  color: var(--white);
  font: 12px 'DM Mono', monospace;
  letter-spacing: .03em;
}

.trust-strip {
  background: var(--navy);
  color: #e8eeff;
}

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

.trust-item {
  padding: 23px 20px;
  border-right: 1px solid rgba(255, 255, 255, .13);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item b {
  display: block;
  color: #f2c759;
  font: 500 11px 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trust-item span {
  display: block;
  margin-top: 4px;
  color: #b8c5e0;
  font-size: 12px;
}

/* Shared content */
.featured {
  background: var(--paper);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.product-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(17, 26, 69, .04);
}

.product-media {
  height: 164px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8eef7, #cfd9ee);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.product-detail-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-detail-link img {
  width: 100%;
  height: 100%;
}

.no-image-link {
  display: grid;
  place-items: center;
  color: rgba(61, 64, 149, .35);
  font: 700 35px 'Space Grotesk', sans-serif;
}

.product-media.no-image::before {
  content: 'N S';
  color: rgba(61, 64, 149, .35);
  font: 700 35px 'Space Grotesk', sans-serif;
}

.product-card small,
.catalog-meta {
  color: var(--muted);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.product-card h3 {
  min-height: 40px;
  margin: 6px 0 5px;
  font: 700 20px/1.05 'Space Grotesk', sans-serif;
  letter-spacing: -.045em;
}

.product-card p {
  min-height: 42px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.price {
  color: var(--blue);
  font: 700 19px 'Space Grotesk', sans-serif;
}

.price-label {
  color: var(--muted);
  font-size: 10px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.card-actions .btn {
  flex: 1;
  min-width: 0;
}

.card-actions .btn-ghost {
  flex: 0 0 auto;
  padding: 0 12px;
}

.brand-ribbon {
  padding: 17px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #f0f4fa;
}

.brand-ribbon-inner {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow: auto;
}

.brand-ribbon strong {
  flex: 0 0 auto;
  color: var(--blue);
  font: 11px 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-logo-tile {
  flex: 0 0 auto;
  width: 112px;
  height: 34px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.clients {
  background: var(--navy);
  color: var(--white);
}

.clients .eyebrow {
  color: #f2c759;
}

.clients .section-head p {
  color: #b8c5e0;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.client-tile {
  min-height: 102px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 13px;
  background: rgba(255, 255, 255, .96);
}

.client-tile img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.client-tile span {
  color: var(--navy);
  font-size: 9px;
  font-weight: 800;
  text-align: center;
}

.project-band {
  background: var(--blue);
  color: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.project-feature,
.project-stack article {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  background: var(--navy);
  color: var(--white);
}

.project-feature {
  min-height: 420px;
}

.project-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(17, 26, 69, .86), transparent 65%);
}

.project-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
}

.project-copy {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 26px;
}

.project-copy h3 {
  margin: 8px 0;
  font: 700 33px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
}

.project-copy p {
  margin: 0;
  color: #d5def4;
  font-size: 13px;
}

.project-stack {
  display: grid;
  gap: 18px;
}

.project-stack article {
  min-height: 201px;
  padding: 24px;
}

.project-stack article:first-child {
  background: var(--red);
}

.project-stack article:last-child {
  background: #f2c759;
  color: var(--navy);
}

.project-stack span {
  font: 11px 'DM Mono', monospace;
  opacity: .76;
}

.project-stack h3 {
  max-width: 250px;
  margin: 35px 0 0;
  font: 700 26px/1.02 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.process-card {
  padding: 26px;
  border-top: 2px solid var(--blue);
}

.process-card::before {
  content: attr(data-step);
  display: block;
  margin-bottom: 52px;
  color: var(--red);
  font: 12px 'DM Mono', monospace;
}

.process-card h3 {
  margin: 0 0 8px;
  font: 700 25px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.05em;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

/* Full catalog */
.page-hero {
  padding: 80px 0 70px;
  background: var(--blue-gray);
}

.page-hero h1 {
  max-width: 700px;
  margin: 14px 0;
  font: 700 clamp(42px, 6vw, 72px)/.98 'Space Grotesk', sans-serif;
  letter-spacing: -.075em;
}

.page-hero p {
  max-width: 610px;
  margin: 0;
  color: #52617f;
  font-size: 16px;
}

.catalog-controls {
  display: grid;
  grid-template-columns: 1.3fr .7fr auto;
  align-items: end;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 26, 69, .06);
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--muted);
  font: 11px 'DM Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  outline: 0;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(61, 64, 149, .12);
}

.catalog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 28px 0 18px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
}

.filter.active,
.filter:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.view-tools {
  display: flex;
  gap: 6px;
}

.view-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--white);
  color: var(--muted);
}

.view-btn.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.catalog-grid.list-view {
  grid-template-columns: 1fr;
}

.catalog-grid.list-view .product-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas: 'media meta meta' 'media title price' 'media desc price' 'media secondary primary';
  gap: 8px 18px;
  align-items: center;
}

.catalog-grid.list-view .product-card>.product-media {
  grid-area: media;
}

.catalog-grid.list-view .product-card>small {
  grid-area: meta;
  align-self: end;
}

.catalog-grid.list-view .product-card>h3 {
  grid-area: title;
  align-self: start;
}

.catalog-grid.list-view .product-card>p {
  grid-area: desc;
  align-self: start;
}

.catalog-grid.list-view .product-card>.price-line {
  grid-area: price;
  align-self: center;
  white-space: nowrap;
}

.catalog-grid.list-view .product-card>.rate-actions {
  grid-area: primary;
  justify-self: end;
  margin-top: 8px;
}

.catalog-grid.list-view .product-card>.shortlist-actions {
  grid-area: secondary;
  justify-self: start;
  margin-top: 8px;
}

.catalog-grid.list-view .product-media {
  height: 130px;
  margin: 0;
}

.catalog-grid.list-view .product-card p {
  min-height: 0;
}

.catalog-grid.list-view .price-line {
  margin-top: 0;
}

.result-empty {
  grid-column: 1/-1;
  padding: 44px 25px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.result-empty strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font: 700 21px 'Space Grotesk', sans-serif;
}

.catalog-note {
  margin-top: 20px;
  color: var(--muted);
  font-size: 11px;
}

/* Dialogs and quote drawer */
dialog {
  width: min(560px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

dialog::backdrop {
  background: rgba(17, 26, 69, .62);
  backdrop-filter: blur(3px);
}

.dialog-inner {
  padding: 28px;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.dialog-head h2 {
  margin: 0;
  font: 700 27px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.05em;
}

.dialog-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 19px;
}

.dialog-note {
  padding: 12px 14px;
  border-left: 3px solid var(--red);
  background: #fff4f4;
  color: #6c484d;
  font-size: 11px;
}

.rate-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 13px;
}

.rate-table th,
.rate-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.rate-table th {
  color: var(--blue);
  font: 11px 'DM Mono', monospace;
  text-transform: uppercase;
}

.rate-table td:last-child {
  font-weight: 800;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(10, 18, 55, .56);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  z-index: 41;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100%;
  padding: 30px;
  overflow-y: auto;
  background: var(--paper);
  transform: translateX(100%);
  transition: transform .3s ease;
  box-shadow: -20px 0 60px rgba(10, 18, 55, .18);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.drawer h2 {
  margin: 0;
  font: 700 30px/1 'Space Grotesk', sans-serif;
  letter-spacing: -.06em;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 20px;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.quote-item small {
  display: block;
  color: var(--muted);
  font: 10px 'DM Mono', monospace;
  margin-top: 3px;
}

.remove {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12px;
}

.drawer-empty {
  padding: 28px 0;
  color: var(--muted);
  font-size: 13px;
}

.drawer-footer {
  position: sticky;
  bottom: -30px;
  margin: 24px -30px -30px;
  padding: 22px 30px 30px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

/* Forms / footer */
.quote-section {
  padding-top: 45px;
}

.quote-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 55px;
  padding: 46px;
  border-radius: 28px;
  background: var(--blue-gray);
}

.quote-panel h2 {
  margin: 12px 0;
  font: 700 clamp(32px, 4vw, 56px)/.98 'Space Grotesk', sans-serif;
  letter-spacing: -.07em;
}

.quote-panel p {
  color: var(--muted);
  font-size: 14px;
}

.quote-detail {
  display: grid;
  gap: 11px;
  margin-top: 28px;
  font-size: 13px;
}

.quote-detail a {
  color: var(--blue);
  font-weight: 800;
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-content: start;
}

.field.full,
.form-note,
.form-status {
  grid-column: 1/-1;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.form-status {
  padding: 12px 14px;
  border-radius: 11px;
  background: #e8f1d4;
  color: #3c511c;
  font-size: 12px;
}

.site-footer {
  padding: 48px 0 28px;
  background: var(--navy);
  color: #dbe5ff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 42px;
  padding-bottom: 48px;
}

.footer-title {
  margin: 0 0 16px;
  color: #f2c759;
  font: 11px 'DM Mono', monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  color: #afbddc;
  font-size: 13px;
}

.footer-grid a {
  display: block;
  margin: 10px 0;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  color: #8d9abd;
  font: 11px 'DM Mono', monospace;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: grid;
  }

  .hero-grid,
  .quote-panel,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 32px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-photo {
    inset: 15px 0 0 22px;
  }

  .hero-note {
    left: 0;
    top: 36px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, .13);
  }

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

  .client-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .quote-panel {
    gap: 28px;
    padding: 30px;
  }

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

  .mobile-nav {
    position: fixed;
    inset: 82px 0 auto;
    z-index: 29;
    padding: 10px 24px 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .mobile-nav.open {
    display: grid;
  }

  .mobile-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
  }

  .catalog-controls {
    grid-template-columns: 1fr 1fr;
  }

  .catalog-controls .btn {
    grid-column: 1/-1;
  }
}

@media (max-width: 620px) {
  :root {
    --wrap: min(100% - 32px, 1180px);
  }

  .topline-inner {
    display: block;
    text-align: center;
  }

  .topline-inner span:first-child {
    display: none;
  }

  .brand {
    min-width: auto;
  }

  .brand-wordmark {
    width: 124px;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .hero {
    padding: 54px 0 64px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-note {
    width: 190px;
    padding: 14px;
  }

  .hero-note strong {
    font-size: 19px;
  }

  .hero-stamp {
    width: 98px;
    height: 98px;
    right: 10px;
    font-size: 8px;
  }

  .hero-label {
    left: 44px;
    bottom: 26px;
    font-size: 10px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    display: block;
    margin-bottom: 26px;
  }

  .section-head p {
    margin-top: 18px;
  }

  .product-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .project-feature {
    min-height: 340px;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }

  .catalog-controls .btn {
    grid-column: auto;
  }

  .catalog-bar {
    display: block;
  }

  .view-tools {
    margin-top: 14px;
  }

  .catalog-grid.list-view .product-card {
    display: block;
  }

  .catalog-grid.list-view .product-media {
    height: 164px;
    margin-bottom: 16px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .field.full,
  .form-note,
  .form-status {
    grid-column: auto;
  }

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

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
    margin-top: 8px;
  }
}