/* ==========================================================================
   Nepal Shipping & Sourcing — main stylesheet
   Mobile-first. One family (Archivo, variable weight + width), self-hosted.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallback keeps layout shift low while the font loads. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 104%;
  ascent-override: 88%;
  descent-override: 21%;
}

:root {
  /* Brand palette */
  --ivory: #FAF7F2;
  --tint: #F1ECE4;
  --tint-deep: #E7E0D5;
  --crimson: #C8102E;
  --crimson-deep: #A60D26;
  --leaf: #1E5631;
  --leaf-deep: #164326;
  --ink: #1A1E1C;
  --slate: #4A524E;
  --forest: #16221C;
  --forest-raised: #1D2E25;
  --rose: #F2A7B4;          /* crimson's light partner, for dark surfaces (8.6:1 on forest) */
  --mist: #B9C2BC;          /* secondary text on forest (9:1) */
  --rule: rgba(26, 30, 28, .16);
  --rule-strong: rgba(26, 30, 28, .32);

  /* Type */
  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.1rem + .8vw, 1.6rem);
  --step-3: clamp(1.9rem, 1.4rem + 2.2vw, 3rem);
  --step-4: clamp(2.6rem, 1.6rem + 4.6vw, 5.6rem);

  /* Space */
  --gutter: clamp(1.25rem, .8rem + 2.2vw, 3rem);
  --section: clamp(4rem, 2.8rem + 5vw, 7.5rem);
  --maxw: 78rem;
  --radius: 3px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 6rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-stretch: 100%;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

/* ---------- Utilities ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; 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: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: .75rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 2px; }
.section--forest :focus-visible, .cta-band :focus-visible, .page-hero__plate :focus-visible { outline-color: var(--rose); }

/* ---------- Typography ---------- */
.display-1, .display-2, h1, h2 {
  font-stretch: 84%;
  font-weight: 720;
  letter-spacing: -.018em;
  line-height: 1.04;
  text-wrap: balance;
}
.display-2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 650; font-stretch: 92%; line-height: 1.25; letter-spacing: -.005em; }
p { text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.55; color: var(--slate); max-width: 38rem; }
.prose { max-width: 40rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { color: var(--slate); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--crimson); }

.text-link {
  font-weight: 600; color: var(--crimson);
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .22em;
}
.text-link:hover { color: var(--crimson-deep); text-decoration-thickness: 2.5px; }

/* ---------- Buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-stretch: 96%; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.btn--small { min-height: 2.5rem; padding: .45rem 1rem; font-size: .9375rem; }
.btn--primary { background: var(--crimson); color: #fff; }
.btn--primary:hover { background: var(--crimson-deep); }
.btn--secondary { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--secondary:hover { background: var(--ink); color: var(--ivory); }
.btn--leaf { background: var(--leaf); color: var(--ivory); }
.btn--leaf:hover { background: var(--leaf-deep); }
.btn--ivory { background: var(--ivory); color: var(--crimson-deep); }
.btn--ivory:hover { background: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.75rem;
}
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
/* The logo PNG has an opaque white square background. A circular radius hides only the
   white corners (the artwork's outer ring sits inside the circle); the file is unmodified. */
.brand__mark, .site-footer__brand img { border-radius: 50%; }
.brand__mark { width: 3.25rem; height: 3.25rem; flex: none; }
.brand__name {
  font-weight: 700; font-stretch: 82%; font-size: 1.0625rem; line-height: 1.1; letter-spacing: -.005em;
  max-width: 9.5rem;
}
.brand__amp { color: var(--crimson); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 2.75rem; padding: .4rem .9rem;
  border: 1.5px solid var(--rule-strong); border-radius: var(--radius);
  background: transparent; font-weight: 600; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; position: relative;
  transition: transform .2s var(--ease), background-color .2s;
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav: a panel below the header bar. Without JS it stays open (see .no-js). */
.site-nav {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--ivory); border-bottom: 1px solid var(--rule);
  padding: .5rem var(--gutter) 1.5rem;
  box-shadow: 0 18px 30px -18px rgba(22, 34, 28, .35);
}
.js .site-nav[data-open="false"] { display: none; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; box-shadow: none; padding-inline: 0; border: 0; }
.no-js .site-header__inner { flex-wrap: wrap; }
.site-nav__list a {
  display: block; padding: .85rem 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; font-weight: 600; font-size: 1.125rem;
}
.site-nav__list a[aria-current="page"] { color: var(--crimson); }
.site-nav__cta { margin-top: 1.25rem; width: 100%; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav[data-open="false"] {
    display: flex; align-items: center; gap: 1.75rem;
    position: static; padding: 0; border: 0; box-shadow: none; background: none;
  }
  .site-nav__list { display: flex; gap: 1.6rem; }
  .site-nav__list a {
    position: relative; padding: .5rem 0; border: 0; font-size: .96875rem; font-weight: 560;
  }
  .site-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px;
    background: var(--crimson); transform: scaleX(0); transform-origin: left;
    transition: transform .22s var(--ease);
  }
  .site-nav__list a:hover::after, .site-nav__list a[aria-current="page"]::after { transform: scaleX(1); }
  .site-nav__list a[aria-current="page"] { color: var(--ink); }
  .site-nav__cta { margin: 0; width: auto; }
  .brand__mark { width: 3.75rem; height: 3.75rem; }
  .brand__name { font-size: 1.15rem; max-width: none; }
  .site-header__inner { min-height: 5.25rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--tint); }
.section--forest { background: var(--forest); color: var(--ivory); }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head__text { color: var(--slate); max-width: 34rem; font-size: var(--step-1); line-height: 1.5; }
.section-head--invert .section-head__text { color: var(--mist); }
.section-foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 56rem) {
  .section-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 3rem; }
}

.split { display: grid; gap: 2rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .split--wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.hero__head { display: grid; gap: 1.75rem; }
.hero__title {
  font-size: var(--step-4);
  font-stretch: 78%;
  font-weight: 760;
  line-height: .96;
  letter-spacing: -.028em;
  max-width: 12em;
}
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--slate); max-width: 34rem; margin-bottom: 1.75rem; }
@media (min-width: 62rem) {
  .hero__head { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); align-items: end; gap: 3.5rem; }
  .hero__aside { padding-bottom: .5rem; }
}

.hero__plate-wrap { margin-top: clamp(2rem, 1.5rem + 2.5vw, 3.5rem); }
.plate { background: var(--forest); border-radius: var(--radius); overflow: hidden; }
.hero__plate { aspect-ratio: 3 / 2; }
@media (min-width: 48rem) { .hero__plate { aspect-ratio: 1600 / 760; } }
.route-map { width: 100%; height: 100%; }

.route path { fill: none; stroke-width: 3; stroke-linecap: round; }
.route--air path { stroke: var(--rose); stroke-dasharray: 1 11; stroke-width: 4; }
.route--sea path { stroke: var(--ivory); stroke-dasharray: 22 12; }
.route--road path { stroke: var(--rose); stroke-dasharray: 8 8; }
.reveal { fill: none; stroke: #fff; stroke-width: 14; stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.route-map__points circle { fill: var(--forest); stroke: var(--rose); stroke-width: 3; }
.route-map__origin { fill: var(--crimson); stroke: var(--ivory); stroke-width: 4; }
.route-map__label {
  fill: var(--ivory); font-family: var(--font); font-size: 30px; font-weight: 650; font-stretch: 90%;
  paint-order: stroke; stroke: var(--forest); stroke-width: 6px; stroke-linejoin: round;
}
@media (max-width: 47.99rem) { .route-map__label { font-size: 42px; } }

/* The page's one orchestrated motion: routes draw out from Kathmandu once. */
@media (prefers-reduced-motion: no-preference) {
  .reveal { stroke-dashoffset: 1; animation: draw 1.5s var(--ease) forwards; }
  .reveal--1 { animation-delay: .35s; }
  .reveal--2 { animation-delay: .5s; }
  .reveal--3 { animation-delay: .75s; animation-duration: 1.1s; }
  .reveal--4 { animation-delay: .95s; animation-duration: 1.1s; }
  .reveal--5 { animation-delay: 1.1s; animation-duration: 1.1s; }
  .route-map__origin { transform-box: fill-box; transform-origin: center; animation: pop .5s var(--ease) .1s both; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }

.map-legend {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.75rem;
  padding: 1rem 0 0; font-size: var(--step--1); color: var(--slate);
}
.map-legend__title { font-weight: 650; color: var(--ink); }
.map-legend__list { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.map-legend__list li { display: inline-flex; align-items: center; gap: .55rem; }
.map-legend__note { margin-left: auto; font-style: italic; }
.swatch { width: 2.5rem; height: .5rem; padding: .1rem .3rem; box-sizing: content-box; background: var(--forest); border-radius: 2px; }
.swatch path { fill: none; stroke-width: 2.5; stroke-linecap: round; }
.swatch--air path { stroke: var(--rose); stroke-dasharray: .5 5; stroke-width: 3; }
.swatch--sea path { stroke: var(--ivory); stroke-dasharray: 9 5; }
.swatch--road path { stroke: var(--rose); stroke-dasharray: 4 4; }

/* ---------- Service index (home) ---------- */
.service-index { border-top: 2px solid var(--ink); }
.service-index__row {
  display: grid; grid-template-columns: 2.5rem 1fr; gap: .35rem 1rem;
  padding-block: 1.4rem; border-bottom: 1px solid var(--rule-strong);
}
.service-index__row .icon { width: 1.75rem; height: 1.75rem; color: var(--crimson); grid-row: span 2; margin-top: .1rem; }
.service-index__row p { color: var(--slate); grid-column: 2; max-width: 40rem; }
.service-index__name a { text-decoration: none; }
.service-index__name a:hover { color: var(--crimson); text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 48rem) {
  .service-index__row { grid-template-columns: 3rem minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; padding-block: 1.6rem; }
  .service-index__row .icon { grid-row: auto; align-self: center; margin: 0; }
  .service-index__row p { grid-column: auto; }
  .service-index__name { font-size: var(--step-2); font-stretch: 86%; font-weight: 680; }
}

/* ---------- Sourcing band ---------- */
.sourcing-band { background: var(--ivory); border-top: 6px solid var(--leaf); }
.sourcing-band .lead { margin-block: 1.25rem 2rem; }
.capability-list { display: grid; gap: 0; border-top: 2px solid var(--leaf); }
.capability-list > div { padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.capability-list dt { font-weight: 680; font-stretch: 90%; font-size: 1.125rem; color: var(--leaf); }
.capability-list dd { color: var(--slate); margin-top: .2rem; }
@media (min-width: 40rem) {
  .capability-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
}

/* ---------- Commitments ---------- */
.commitments { display: grid; gap: 0; counter-reset: none; }
.commitments li { padding-block: 1.75rem; border-top: 1px solid var(--rule-strong); }
.commitments h3 { font-size: var(--step-2); font-stretch: 86%; font-weight: 680; margin-bottom: .5rem; }
.commitments p { color: var(--slate); max-width: 32rem; }
@media (min-width: 48rem) {
  .commitments { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); }
}

/* ---------- Process steps (a real sequence, so numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps__item { counter-increment: step; position: relative; padding: 0 0 2rem 3.75rem; }
.steps__item::before {
  content: counter(step);
  position: absolute; left: 0; top: -.15rem;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center;
  border: 2px solid var(--rose); border-radius: 50%;
  color: var(--rose); font-weight: 700; font-size: 1rem;
  background: var(--forest);
}
.steps__item::after {
  content: ""; position: absolute; left: 1.2rem; top: 2.5rem; bottom: .25rem;
  border-left: 2px dashed rgba(242, 167, 180, .5);
}
.steps__item:last-child { padding-bottom: 0; }
.steps__item:last-child::after { display: none; }
.steps__item h3 { color: var(--ivory); margin-bottom: .4rem; }
.steps__item p { color: var(--mist); }
@media (min-width: 62rem) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; }
  .steps__item { padding: 3.75rem 0 0; }
  .steps__item::before { top: 0; }
  .steps__item::after {
    left: 3.25rem; right: -1.25rem; top: 1.2rem; bottom: auto;
    border-left: 0; border-top: 2px dashed rgba(242, 167, 180, .5);
  }
}

/* ---------- Product categories ---------- */
.category-grid { display: grid; grid-template-columns: 1fr; border-top: 2px solid var(--ink); }
.category-grid li { padding: 1.25rem 0 1.4rem; border-bottom: 1px solid var(--rule-strong); }
.category-grid h3 { margin-bottom: .3rem; }
.category-grid p { color: var(--slate); font-size: .96875rem; }
@media (min-width: 36rem) {
  .category-grid { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 62rem) {
  .category-grid { grid-template-columns: repeat(4, 1fr); column-gap: 2.5rem; }
  .category-grid li { padding-block: 1.5rem 1.75rem; }
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--crimson); color: #fff; padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.cta-band__inner { display: grid; gap: 2rem; }
.cta-band p { max-width: 34rem; margin-top: 1rem; font-size: var(--step-1); line-height: 1.5; }
.cta-band__actions { display: grid; gap: 1.25rem; align-content: start; justify-items: start; }
.cta-band__contact { display: grid; gap: .3rem; font-weight: 600; }
.cta-band__contact a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; overflow-wrap: anywhere; }
.cta-band__contact a:hover { text-decoration-thickness: 2px; }
@media (min-width: 56rem) {
  .cta-band__inner { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: end; gap: 4rem; }
}

/* ---------- Interior page hero ---------- */
.page-hero { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
.page-hero__grid { display: grid; gap: 1.5rem; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.page-hero h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem); font-stretch: 80%; font-weight: 750; line-height: .98; letter-spacing: -.025em; max-width: 16ch; }
.page-hero .lead { max-width: 36rem; }
@media (min-width: 56rem) {
  .page-hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 4rem; }
}
.page-hero__plate {
  height: clamp(5.5rem, 4rem + 6vw, 10rem);
  background: var(--forest) url("/assets/img/hero-terrain.svg") center 42% / 1600px auto no-repeat;
}
@media (min-width: 100rem) { .page-hero__plate { background-size: cover; } }
.page-hero__plate--east { background-position: 72% 55%; }
.page-hero__plate--west { background-position: 28% 30%; }

/* ---------- Two-column feature blocks (about) ---------- */
.pair { display: grid; gap: 2.5rem; }
.pair > div { border-top: 2px solid var(--ink); padding-top: 1.25rem; }
.pair h2, .pair h3 { font-size: var(--step-2); font-stretch: 86%; font-weight: 720; letter-spacing: -.018em; line-height: 1.1; margin-bottom: .75rem; }
.pair p { color: var(--slate); }
.pair--leaf > div:last-child { border-color: var(--leaf); }
@media (min-width: 48rem) { .pair { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); } }

.values { display: grid; border-top: 2px solid var(--ink); }
.values li { display: grid; gap: .3rem; padding-block: 1.3rem; border-bottom: 1px solid var(--rule-strong); }
.values h3 { font-size: var(--step-1); }
.values p { color: var(--slate); max-width: 40rem; }
@media (min-width: 48rem) {
  .values li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 2rem; align-items: baseline; }
  .values h3 { font-size: var(--step-2); font-stretch: 86%; }
}

/* ---------- Services page ---------- */
.service-layout { display: grid; gap: 2.5rem; }
.service-toc { display: none; }
@media (min-width: 62rem) {
  .service-layout { grid-template-columns: 15rem minmax(0, 1fr); gap: 4.5rem; align-items: start; }
  .service-toc { display: block; position: sticky; top: 7.5rem; }
  .service-toc h2 { font-size: 1rem; font-stretch: 100%; font-weight: 650; letter-spacing: 0; color: var(--slate); margin-bottom: .75rem; }
  .service-toc ol { border-left: 2px solid var(--rule); }
  .service-toc a {
    display: block; padding: .45rem 0 .45rem 1rem; margin-left: -2px; border-left: 2px solid transparent;
    text-decoration: none; color: var(--slate); font-weight: 520;
  }
  .service-toc a:hover { color: var(--ink); border-left-color: var(--crimson); }
}
.service { padding-block: 2.5rem; border-top: 2px solid var(--ink); }
.service:first-child { padding-top: 1.5rem; }
.service__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.service__icon {
  flex: none; width: 3.25rem; height: 3.25rem; display: grid; place-items: center;
  background: var(--tint); border-radius: 50%; color: var(--crimson);
}
.service__icon svg { width: 1.6rem; height: 1.6rem; }
.service h2 { font-size: var(--step-3); }
.service__body { display: grid; gap: 1.5rem; }
.service__body > p { color: var(--slate); max-width: 40rem; font-size: 1.125rem; }
.service__list-title { font-size: 1rem; font-stretch: 100%; font-weight: 650; margin-bottom: .6rem; }
.check-list { display: grid; gap: .5rem; }
.check-list li { position: relative; padding-left: 1.6rem; color: var(--slate); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: .8rem; height: .45rem;
  border-left: 2px solid var(--leaf); border-bottom: 2px solid var(--leaf); transform: rotate(-45deg);
}
.service__note { font-size: var(--step--1); color: var(--slate); border-left: 3px solid var(--tint-deep); padding-left: .9rem; max-width: 40rem; }
.service__cta { margin-top: .5rem; }
@media (min-width: 48rem) {
  .service__body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3rem; }
  .service__body > p, .service__note, .service__cta { grid-column: 1 / -1; }
}

/* ---------- Sourcing page ---------- */
.flow { counter-reset: flow; display: grid; border-top: 2px solid var(--leaf); }
.flow li {
  counter-increment: flow; display: grid; grid-template-columns: 3rem 1fr; gap: .25rem 1rem;
  padding-block: 1.4rem; border-bottom: 1px solid var(--rule-strong);
}
.flow li::before {
  content: counter(flow, decimal-leading-zero);
  grid-row: span 2; color: var(--leaf); font-weight: 700; font-stretch: 80%; font-size: 1.5rem; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.flow h3 { font-size: var(--step-1); }
.flow p { color: var(--slate); max-width: 42rem; }
@media (min-width: 56rem) {
  .flow li { grid-template-columns: 4.5rem minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; gap: 2rem; }
  .flow li::before { grid-row: auto; font-size: 2rem; }
  .flow h3 { font-size: var(--step-2); font-stretch: 86%; }
}

.category-detail { display: grid; border-top: 2px solid var(--ink); }
.category-detail > li { padding-block: 1.75rem; border-bottom: 1px solid var(--rule-strong); display: grid; gap: .6rem; }
.category-detail h3 { font-size: var(--step-2); font-stretch: 86%; }
.category-detail p { color: var(--slate); max-width: 40rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.tag-list li { font-size: .875rem; padding: .25rem .6rem; background: var(--ivory); border-radius: 2px; color: var(--ink); }
@media (min-width: 56rem) {
  .category-detail > li { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 3rem; }
  .category-detail > li > :not(h3) { grid-column: 2; }
  .category-detail > li > h3 { grid-row: span 2; }
}

.brief-box { background: var(--tint); padding: clamp(1.5rem, 1rem + 2vw, 3rem); border-left: 6px solid var(--leaf); border-radius: var(--radius); }
.brief-box h2 { font-size: var(--step-3); margin-bottom: 1rem; }
.brief-box .check-list { margin-block: 1.5rem 2rem; }
@media (min-width: 48rem) { .brief-box .check-list { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; } }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; gap: 3.5rem; }
@media (min-width: 62rem) { .contact-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; align-items: start; } }
.contact-list { display: grid; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; grid-template-columns: 2.25rem 1fr; gap: .1rem .9rem; padding-block: 1.2rem; border-bottom: 1px solid var(--rule-strong); }
.contact-list .icon { width: 1.5rem; height: 1.5rem; color: var(--crimson); grid-row: span 2; margin-top: .15rem; }
.contact-list__label { font-size: var(--step--1); color: var(--slate); }
.contact-list__value { font-weight: 650; font-size: 1.125rem; overflow-wrap: anywhere; }
.contact-list__value a { text-decoration: underline; text-decoration-color: var(--rule-strong); text-underline-offset: .22em; }
.contact-list__value a:hover { color: var(--crimson); text-decoration-color: currentColor; }
address { font-style: normal; }
.contact-list__hint { grid-column: 2; font-size: var(--step--1); color: var(--slate); }
.contact-aside { margin-top: 2rem; }

.form-panel { background: var(--tint); padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); border-radius: var(--radius); border-top: 6px solid var(--crimson); }
.form-panel h2 { font-size: var(--step-3); margin-bottom: .75rem; }
.form-panel__intro { color: var(--slate); max-width: 36rem; margin-bottom: 2rem; }
.form-grid { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 620; font-size: .96875rem; }
.field__req { color: var(--crimson-deep); font-weight: 600; }
.field__hint { font-size: var(--step--1); color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .7rem .85rem;
  background: var(--ivory); border: 1.5px solid #7B8580; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.4;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.15rem) 1.3rem, calc(100% - .8rem) 1.3rem;
  background-size: .35rem .35rem; background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--crimson); border-width: 2px; }
.field__error { color: var(--crimson-deep); font-size: .9375rem; font-weight: 600; }
.field__error:empty { display: none; }
.form-actions { margin-top: 1.75rem; display: grid; gap: 1rem; justify-items: start; }
.form-privacy { font-size: var(--step--1); color: var(--slate); max-width: 36rem; }
.form-status { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--ivory); border-left: 4px solid var(--leaf); }
.form-status--error { border-left-color: var(--crimson); }
.form-status h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.form-status p { color: var(--slate); font-size: .96875rem; }
.form-status .btn-row { margin-top: .9rem; }
.form-error-summary { border-left: 4px solid var(--crimson); background: var(--ivory); padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.form-error-summary h3 { font-size: 1.0625rem; margin-bottom: .4rem; }
.form-error-summary ul { padding-left: 1.1rem; }
.form-error-summary a { color: var(--crimson-deep); font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--rule); padding-top: clamp(3rem, 2rem + 3vw, 5rem); font-size: .96875rem; }
.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 7.5rem; height: 7.5rem; margin-bottom: 1rem; }
.site-footer__name { font-weight: 700; font-stretch: 86%; font-size: 1.125rem; }
.site-footer__line { color: var(--slate); max-width: 22rem; margin-top: .35rem; }
.site-footer__heading { font-size: 1rem; font-stretch: 100%; font-weight: 650; letter-spacing: 0; margin-bottom: .75rem; color: var(--ink); }
.site-footer__col ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.site-footer__col a { color: var(--slate); text-decoration: none; overflow-wrap: anywhere; }
.site-footer__col a:hover { color: var(--crimson); text-decoration: underline; text-underline-offset: .2em; }
.site-footer__contact li { color: var(--slate); }
.site-footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-block: 1.5rem; border-top: 1px solid var(--rule-strong); color: var(--slate); font-size: var(--step--1);
}
@media (min-width: 40rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 62rem) { .site-footer__grid { grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 3rem; } }

/* ---------- 404 ---------- */
.notfound { padding-block: var(--section); }
.notfound h1 { font-size: var(--step-4); font-stretch: 78%; max-width: 14ch; margin-bottom: 1.25rem; }
.notfound .btn-row { margin-top: 2rem; }

/* ---------- Content review mode: add ?review to any URL ---------- */
.review-mode [data-placeholder] { outline: 2px dashed #B45309; outline-offset: 3px; background: #FEF3C7; color: #1A1E1C; }
.review-mode [data-placeholder]::after {
  content: " [" attr(data-placeholder) "]"; font-size: .8125rem; font-weight: 700; color: #7C2D12;
}
.review-banner {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 99; max-width: 34rem;
  background: #FEF3C7; color: #1A1E1C; border: 2px solid #B45309; padding: .75rem 1rem; border-radius: var(--radius);
  font-size: .9375rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
