/* ============================================================
   Hugmade Toys — template styles
   Structure modelled on a factory-style B2B plush site.
   All copy, brand and imagery are placeholders.
   ============================================================ */

:root {
  --ink: #1d2a23;
  --ink-soft: #3b4a41;
  --muted: #6d786f;
  --cream: #faf5ec;
  --paper: #ffffff;
  --line: #e6dfd2;
  --line-strong: #d8cfbd;
  --accent: #c4633f;
  --accent-dark: #a54f2f;
  --accent-soft: #f6e2d7;
  --sage: #dfe7dc;
  --sage-deep: #b9c9b4;
  --sand: #f0e4d2;
  --butter: #f6e8c9;
  --blush: #f3ddd7;
  --mist: #dde7e8;

  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(29, 42, 35, 0.05);
  --shadow: 0 18px 40px -24px rgba(29, 42, 35, 0.35);

  --container: 1180px;
  --gutter: clamp(18px, 4vw, 32px);

  --space-section: clamp(56px, 7vw, 104px);
}

/* ---------- base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, p, figure, blockquote {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

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

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

::selection {
  background: var(--accent);
  color: #fff;
}

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

.container {
  width: min(var(--container), calc(100vw - var(--gutter) * 2));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 12px;
}

/* ---------- typography ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
}

.display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 5.3vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h4 {
  font-size: 17px;
  font-weight: 650;
  line-height: 1.35;
}

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  line-height: 1.62;
  color: var(--ink-soft);
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 14px;
}

.tiny {
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 24px -14px rgba(196, 99, 63, 0.9);
}

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

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(29, 42, 35, 0.04);
}

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

.btn--light:hover {
  background: var(--sand);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.18s ease;
}

.link-arrow:hover {
  color: var(--accent);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ---------- topbar + header ---------- */

.topbar {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.82);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
  flex-wrap: wrap;
  padding-block: 6px;
}

.topbar-list {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-list svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}

.topbar a:hover {
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 245, 236, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px -24px rgba(29, 42, 35, 0.5);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-mark {
  width: 11px;
  height: 11px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  align-self: center;
}

.logo-dot {
  color: var(--accent);
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding-block: 6px;
  font-size: 14px;
  font-weight: 550;
  color: var(--ink-soft);
  transition: color 0.16s ease;
}

.nav-link:hover,
.nav-item.is-active > .nav-link {
  color: var(--ink);
}

.nav-link svg {
  width: 11px;
  height: 11px;
  opacity: 0.55;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: -18px;
  width: 260px;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.dropdown a:hover {
  background: var(--cream);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(5.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(4) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 6vw, 80px) 0 clamp(48px, 6vw, 88px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero .display {
  margin-top: 20px;
}

.hero .lead {
  margin-top: 22px;
  max-width: 52ch;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

.pill svg {
  width: 13px;
  height: 13px;
  color: var(--accent);
}

.hero-art {
  position: relative;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  background: var(--sand);
}

.hero-note {
  position: absolute;
  z-index: 2;
  left: -18px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-size: 12.5px;
  font-weight: 600;
}

.hero-note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5b8c5a;
  box-shadow: 0 0 0 3px rgba(91, 140, 90, 0.18);
}

/* ---------- stats ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: clamp(20px, 3vw, 32px) 24px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-value span {
  color: var(--accent);
}

.stat-value .unit {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--muted);
}

.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- sections ---------- */

.section {
  padding-block: var(--space-section);
}

.section--tight {
  padding-block: clamp(36px, 4.5vw, 64px);
}

.section--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.section--ink {
  background: var(--ink);
  color: var(--cream);
}

.section--ink .eyebrow {
  color: #eaa789;
}

.section--ink .lead,
.section--ink .muted {
  color: rgba(250, 245, 236, 0.68);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head > div {
  max-width: 640px;
}

.section-head .h2 {
  margin-top: 14px;
}

.section-head p {
  margin-top: 14px;
  max-width: 56ch;
  color: var(--muted);
}

.section-head--center {
  display: block;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-head--center p {
  margin-inline: auto;
}

/* ---------- grids + cards ---------- */

.grid {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card p {
  color: var(--muted);
  font-size: 14.5px;
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 18px;
}

/* who we serve */

.serve-card {
  padding-top: 22px;
}

.serve-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--accent);
}

.serve-icon svg {
  width: 21px;
  height: 21px;
}

.serve-card .h3 {
  font-size: 21px;
}

.serve-card p {
  margin-top: 10px;
}

/* product cards */

.product-card {
  padding: 10px;
  overflow: hidden;
}

.product-media {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--sand);
  overflow: hidden;
}

.product-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.04) rotate(-1deg);
}

.product-body {
  padding: 18px 10px 10px;
}

.product-body p {
  margin-top: 8px;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.product-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 550;
  color: var(--ink-soft);
}

.tint-sand { background: var(--sand); }
.tint-sage { background: var(--sage); }
.tint-butter { background: var(--butter); }
.tint-blush { background: var(--blush); }
.tint-mist { background: var(--mist); }
.tint-clay { background: #efd9cd; }

/* steps */

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -11px;
  left: 0;
  padding-right: 10px;
  background: var(--cream);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.section--paper .step::before {
  background: var(--paper);
}

.section--ink .step {
  border-top-color: rgba(250, 245, 236, 0.24);
}

.section--ink .step::before {
  background: var(--ink);
  color: #eaa789;
}

.step .h4 {
  margin-bottom: 8px;
}

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

.section--ink .step p {
  color: rgba(250, 245, 236, 0.62);
}

/* advantages */

.adv {
  display: flex;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.adv:last-child {
  border-bottom: 1px solid var(--line);
}

.adv-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--ink);
}

.adv-icon svg {
  width: 20px;
  height: 20px;
}

.adv .h4 {
  margin-bottom: 4px;
}

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

/* price table */

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.price-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14.5px;
}

.price-table th,
.price-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.price-table th {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: #fcfaf5;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table strong {
  font-weight: 650;
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.price-note svg {
  flex: none;
  width: 15px;
  height: 15px;
  margin-top: 2px;
}

/* compliance */

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

.cert {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

.cert b {
  font-size: 15px;
  letter-spacing: 0.01em;
}

.cert span {
  font-size: 11.5px;
  color: var(--muted);
}

/* about block */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.about-art img {
  width: 100%;
  border-radius: var(--radius-lg);
  background: var(--sage);
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.check-list li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
}

.check-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

/* posts */

.post-card {
  padding: 12px;
}

.post-media {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-body {
  padding: 16px 8px 8px;
}

.post-meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.post-card .h4 {
  margin-top: 10px;
  font-size: 18px;
}

.post-card p {
  margin-top: 8px;
  font-size: 13.5px;
}

/* ---------- quote form ---------- */

.quote {
  position: relative;
}

.quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.quote-copy .h2 {
  margin-top: 14px;
}

.quote-points {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.quote-points li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(250, 245, 236, 0.78);
}

.quote-points svg {
  flex: none;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: #eaa789;
}

.quote-contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 245, 236, 0.18);
  font-size: 14px;
  color: rgba(250, 245, 236, 0.68);
}

.quote-contact a {
  color: var(--cream);
  border-bottom: 1px solid rgba(250, 245, 236, 0.35);
}

.form-card {
  padding: clamp(22px, 3vw, 34px);
  background: var(--paper);
  border-radius: var(--radius-lg);
  color: var(--ink);
  box-shadow: 0 40px 80px -50px rgba(0, 0, 0, 0.7);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

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

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
}

.field label span {
  color: var(--accent);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fffdf9;
  font-size: 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(196, 99, 63, 0.14);
}

.field input[type="file"] {
  padding: 9px 12px;
  font-size: 13px;
  color: var(--muted);
}

.field input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: var(--cream);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.file-drop {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #fffdf9;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--accent);
  background: #fff8f2;
}

.file-drop svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.file-drop b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.file-drop .js-file-name {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.form-foot .small {
  max-width: 34ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--sage-deep);
  border-radius: 10px;
  background: #f1f6ef;
  font-size: 13.5px;
  color: #36543a;
}

.form-status.is-visible {
  display: block;
}

/* ---------- page hero (inner pages) ---------- */

.page-hero {
  padding: clamp(40px, 5.5vw, 72px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 11px;
  height: 11px;
  opacity: 0.5;
}

.page-hero .display {
  margin-top: 18px;
  max-width: 18ch;
}

.page-hero .lead {
  margin-top: 18px;
  max-width: 62ch;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: end;
}

.page-hero-aside {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--line);
}

.page-hero-aside div {
  padding: 14px 18px;
  background: var(--paper);
}

.page-hero-aside b {
  display: block;
  font-size: 13px;
}

.page-hero-aside span {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- timeline / detail ---------- */

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(18px, 3vw, 40px);
  padding: clamp(22px, 3vw, 32px) 0;
  border-bottom: 1px solid var(--line);
}

.timeline-step {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.timeline-item .h3 {
  font-size: clamp(20px, 2vw, 24px);
}

.timeline-item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* faq */

.faq {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq details[open] summary::after {
  content: "–";
  background: var(--cream);
}

.faq details p {
  padding: 0 46px 22px 0;
  max-width: 72ch;
  color: var(--muted);
  font-size: 14.5px;
}

/* cta band */

.cta-band {
  padding-block: clamp(44px, 5.5vw, 72px);
}

.cta-band .h2 {
  max-width: 22ch;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(250, 245, 236, 0.72);
  padding-top: clamp(44px, 5vw, 68px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 40px;
  padding-bottom: 48px;
}

.site-footer .logo {
  color: var(--cream);
}

.footer-about p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-col h5 {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 245, 236, 0.45);
}

.footer-col ul {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.footer-col a {
  font-size: 13.5px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 22px;
  border-top: 1px solid rgba(250, 245, 236, 0.14);
  font-size: 12px;
  color: rgba(250, 245, 236, 0.5);
}

.footer-bottom a:hover {
  color: #fff;
}

/* ---------- product rows (products page) ---------- */

.product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(34px, 4.5vw, 60px);
  border-top: 1px solid var(--line);
}

.product-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.product-row-media {
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
}

.product-row-media img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.product-row:nth-child(even) .product-row-media {
  order: 2;
}

.product-row-copy .h2 {
  font-size: clamp(26px, 2.8vw, 36px);
}

.product-row-copy > p {
  margin-top: 14px;
  color: var(--muted);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 28px;
  margin: 24px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  gap: 2px;
}

.spec-list dt {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.spec-list dd {
  margin: 0;
  font-size: 14px;
  font-weight: 550;
}

@media (max-width: 900px) {
  .product-row {
    grid-template-columns: 1fr;
  }

  .product-row:nth-child(even) .product-row-media {
    order: 0;
  }

  .product-row-media {
    max-width: 520px;
  }
}

@media (max-width: 640px) {
  .spec-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- responsive ---------- */

@media (max-width: 1060px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    max-width: 640px;
  }

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

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 22px;
  }

  .cert-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-grid,
  .about-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-aside {
    max-width: 480px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

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

  .header-inner {
    min-height: 66px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px var(--gutter) 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -30px rgba(29, 42, 35, 0.5);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }

  .nav-link {
    justify-content: space-between;
    padding: 12px 4px;
    font-size: 15px;
    border-bottom: 1px solid var(--line);
  }

  .nav-link svg {
    display: none;
  }

  .dropdown {
    position: static;
    width: auto;
    padding: 4px 0 8px 12px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .dropdown a {
    padding: 8px 4px;
    font-size: 13.5px;
  }

  .nav-cta {
    margin-top: 12px;
    width: 100%;
  }

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

  .stat {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-inline: 0;
  }

  .stat:nth-child(odd) {
    padding-right: 18px;
  }

  .stat:nth-child(even) {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }

  .stat:nth-child(-n + 2) {
    border-top: 0;
  }

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

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .timeline-step {
    font-size: 11.5px;
  }
}

@media (max-width: 640px) {
  .display {
    font-size: clamp(34px, 10vw, 46px);
  }

  .section-head {
    display: block;
  }

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

  .grid--2,
  .grid--3,
  .grid--4,
  .steps {
    grid-template-columns: 1fr;
  }

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

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

  .hero-note {
    left: 8px;
    bottom: 12px;
    padding: 9px 13px;
    font-size: 11.5px;
  }

  .form-foot {
    display: grid;
  }

  .form-foot .btn {
    width: 100%;
  }

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

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
