/* ==========================================================================
   Armour – Google Search landing page
   Brand: Opening Hours Sans · Breeze / Butter / Ground / Minimal Grey / Stance
   ========================================================================== */

@font-face {
  font-family: "Opening Hours Sans";
  src: url("../fonts/OpeningHoursSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Base palette */
  --breeze:       #CEECFB;
  --butter:       #F8EDB0;
  --ground:       #BF9D71;
  --minimal-grey: #D0D0CB;
  --stance:       #171816;

  /* Approved tints */
  --breeze-10: #F5FBFE;  --breeze-20: #EFF9FE;
  --butter-10: #FEFBEF;  --butter-20: #FDF9E5;
  --grey-10:   #F6F6F5;  --grey-20:   #EFEFEE;  --grey-30: #E8E8E5;
  --ground-10: #F2EBE3;  --ground-20: #EADED0;
  --stance-80: #464646;

  /* Semantic */
  --bg-page:     var(--grey-10);
  --text:        var(--stance);
  --text-invert: #FFFFFF;
  --field-bg:    #F3F3F3;
  --ink:         #050504;
  --ink-button:  #080807;
  --placeholder: #8B8B87;
  --border:      var(--minimal-grey);

  /* Layout */
  /* Same content width as the Armour sourcing page: 1496px max, 64–212px gutters */
  --maxw: 1496px;
  --gutter: clamp(64px, calc((100vw - 1496px) / 2), 212px);
  --header-h: 76px;
  --arc-h: clamp(48px, 8vw, 140px);
  --radius: 16px;
  --section-y: clamp(72px, 9vw, 136px);

  /* Type: shared scale with the Armour sourcing page.
     Fluid between 390px and 1440px, capped at the 1920 design values. */
  --font: "Opening Hours Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: clamp(44px, 4.381vw + 26.9px, 90px);
  --fs-heading-m: clamp(30px, 1.714vw + 23.3px, 48px);
  --fs-h1: var(--fs-display);
  --fs-h2: var(--fs-display);
  --fs-h3: clamp(22px, 0.571vw + 19.77px, 28px);
  --fs-body: clamp(18px, 0.5714vw + 15.77px, 24px);
  --lh-body: clamp(24px, 0.381vw + 22.5px, 28px);
  --fs-small: 18px;
  --lh-small: 24px;
  --fs-label: 17px;
  --fs-button: 18px;

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .9s;
}

@media (max-width: 1023px) { :root { --gutter: 40px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (max-width: 767px) { html { scroll-padding-top: calc(var(--header-h) + 12px); } }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  background: var(--bg-page);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
b, strong, em, i, h1, h2, h3, h4, th, button, input, select, textarea, label, legend { font-weight: 400; font-style: normal; font-family: inherit; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { cursor: pointer; }
ul, ol { padding: 0; list-style: none; }

.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: 16px; top: -100px; z-index: 100;
  background: var(--stance); color: var(--text-invert); padding: 12px 20px; border-radius: 999px;
  font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--stance); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--breeze); }

/* ---------- Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }

/* ---------- Typography ---------- */
.h1, .h2 { line-height: .945; text-wrap: balance; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); line-height: 1.2; }
.eyebrow, .label {
  font-size: var(--fs-label);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.4;
}
.eyebrow { display: inline-block; margin-bottom: clamp(18px, 2vw, 28px); }
.lede { font-size: var(--fs-body); line-height: var(--lh-body); max-width: 34em; }
.lede p + p, .prose p + p { margin-top: 1em; }
.prose { max-width: 36em; }
.small { font-size: var(--fs-small); line-height: 22px; }
.br { white-space: nowrap; display: inline-block; }
.br__o, .br__c { display: inline-block; }

/* ---------- Pill buttons ---------- */
.btn {
  --btn-bg: var(--stance); --btn-fg: var(--text-invert); --btn-bd: var(--stance);
  --btn-hbg: var(--stance); --btn-hfg: var(--text-invert);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 10px 36px;
  border: 1px solid var(--btn-bd); border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-button); letter-spacing: .1em; text-transform: uppercase; line-height: 1.2;
  /* Long labels wrap onto two lines on narrow screens instead of overflowing */
  text-decoration: none; text-align: center; text-wrap: balance;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), opacity .25s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
  .btn:hover { background: var(--btn-hbg); color: var(--btn-hfg); border-color: var(--btn-hbg); }
  /* Plain dark buttons dim slightly on hover, like the form submit buttons */
  .btn:not([class*="btn--"]):hover { opacity: .88; }
}
.btn--breeze  { --btn-bg: var(--breeze); --btn-fg: var(--stance); --btn-hbg: var(--stance); --btn-hfg: var(--text-invert); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--stance); --btn-hbg: var(--stance); --btn-hfg: var(--text-invert); }
.btn--sm { min-height: 42px; padding: 0 22px; }
.btn--block { width: 100%; }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"] .btn__label { opacity: .0; }
.btn[aria-busy="true"]::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.text-link {
  font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  position: relative; padding-block: 6px;
}
.text-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
@media (hover: hover) { .text-link:hover::after { transform: scaleX(1); transform-origin: left; } }

/* ---------- Numbered marker ---------- */
.marker {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--stance); color: var(--text-invert);
  font-size: 14px; letter-spacing: .02em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.marker--breeze { background: var(--breeze); color: var(--stance); }

/* ---------- Arc separator (shared component) ---------- */
.has-arc { position: relative; }
.arc {
  position: absolute; left: 0; right: 0; bottom: calc(100% - 1px);
  height: var(--arc-h);
  pointer-events: none;
  transform-origin: 50% 100%;
  will-change: transform;
}
.arc svg { width: 100%; height: 100%; }
.arc path { fill: currentColor; }
.before-arc { padding-bottom: calc(var(--section-y) + var(--arc-h) * .6); }

/* ---------- Header (matches the Armour sourcing page) ---------- */
.site-header {
  display: flex; align-items: center;
  height: 120px;
  padding: 28px clamp(20px, 3.23vw, 62px) 0 clamp(20px, 3.65vw, 70px);
  background: var(--bg-page);
}
.site-header__inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo-btn { display: block; flex: none; background: none; border: 0; padding: 0; color: inherit; }
.logo-btn img { width: clamp(160px, 15.83vw, 304px); height: auto; }
.site-header__actions { display: flex; align-items: center; gap: 31px; }
.site-header .text-link { font-size: var(--fs-button); line-height: 1; }
.btn--pill {
  width: 411px; height: 56px; min-height: 0; padding: 0;
  background: var(--ground); color: var(--stance); border-color: var(--stance);
  transition: background-color .25s var(--ease-out);
}
@media (hover: hover) { .btn--pill:hover { background: rgba(191, 157, 113, .8); color: var(--stance); border-color: var(--stance); } }
.cta-short { display: none; }

@media (max-width: 1023px) {
  .btn--pill { width: auto; height: 50px; padding: 0 28px; font-size: 16px; }
}
.btn--pill { white-space: nowrap; }
@media (max-width: 400px) {
  .logo-btn img { width: 120px; }
  .site-header__actions { gap: 12px; }
  .site-header .btn--pill { padding: 0 16px; font-size: 13px; }
}
@media (max-width: 767px) {
  .site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h); padding: 0 20px;
  }
  .site-header .text-link { display: none; }
  .btn--pill { height: 44px; padding: 0 22px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(32px, 6vw, 82px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(40px, 6vw, 104px); align-items: start;
}
.hero__copy { padding-top: clamp(0px, 1.5vw, 24px); }
.hero .h1 { margin-bottom: clamp(24px, 3vw, 40px); }
.hero .lede { max-width: 31em; }
.proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin-top: clamp(32px, 4vw, 52px); max-width: 600px;
}
.proof li { border-top: 1px solid var(--stance); padding-top: 14px; }
.proof__num { display: block; font-size: clamp(30px, 3vw, 40px); line-height: 1; letter-spacing: -.01em; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.proof .label { font-size: 12px; display: block; }
.proof__arc svg { height: clamp(30px, 3vw, 40px); width: auto; overflow: visible; }
.proof__arc path { fill: none; stroke: var(--stance); stroke-width: 1.5px; stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.6s var(--ease-io) 900ms both; }
@keyframes draw { from { stroke-dashoffset: 1; } }

/* ---------- Form card (matches the Armour sourcing page) ---------- */
.form-card {
  background: #FFFFFF; border-radius: 24px;
  padding: 37px 49px 36px 53px;
  color: var(--ink);
}
.form-card__title { font-size: 28px; line-height: 34px; }
.form-card__intro { font-size: 18px; line-height: 22px; margin-top: 15px; max-width: 560px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 18px; margin-top: 35px; }
.field { min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label:not(.check), .field__label { display: block; font-size: 18px; line-height: 22px; margin-bottom: 6px; }
.input {
  display: block; width: 100%; height: 42px; padding: 0 16px;
  background: var(--field-bg); color: var(--ink);
  border: 1px solid transparent; border-radius: 6px;
  font-size: 16px;
  transition: border-color .2s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.input::placeholder { color: var(--placeholder); opacity: 1; }
textarea.input { height: 84px; padding: 12px 16px; line-height: 20px; resize: vertical; }
select.input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='8' viewBox='0 0 13 8'%3E%3Cpath d='M.5.5l6 6 6-6' fill='none' stroke='%23050504' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
select.input option { color: var(--ink); }
.input[aria-invalid="true"] { border-color: var(--stance); }
.field__error { display: none; font-size: 16px; line-height: 20px; color: var(--ink); margin-top: 6px; }
.field__error.is-visible { display: block; }
.field__note { font-size: 16px; line-height: 20px; margin-top: 6px; }
.field__note[hidden] { display: none; }
.check { display: grid; grid-template-columns: 20px 1fr; column-gap: 12px; align-items: center; margin-top: 14px; font-size: 16px; line-height: 20px; cursor: pointer; }
.check input {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; margin: 0; border: 1px solid var(--stance); border-radius: 3px; background: #FFFFFF;
  display: grid; place-content: center; cursor: pointer;
}
.check input::after {
  content: ""; width: 10px; height: 6px; margin-top: -3px;
  border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  transform: rotate(-45deg) scale(0); transition: transform .15s var(--ease-out);
}
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { outline: 1px solid var(--stance); outline-offset: 1px; }
.form-foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 27px; }
.btn--submit {
  width: 380px; max-width: 100%; min-height: 57px; padding: 10px 20px;
  --btn-bg: var(--ink-button); --btn-fg: #FFFFFF; --btn-bd: var(--ink-button); --btn-hbg: var(--ink-button); --btn-hfg: #FFFFFF;
  border: 0;
}
@media (hover: hover) { .btn--submit:hover { opacity: .88; } }
.form-reassure { font-size: 16px; line-height: 20px; text-align: center; max-width: 30em; }
.form-status { font-size: 16px; line-height: 20px; text-align: center; margin-top: 14px; }
.form-status[hidden] { display: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Client logo strip ---------- */
.clients { padding-bottom: calc(clamp(48px, 6vw, 88px) + var(--arc-h) * .6); }
.clients { padding-top: clamp(16px, 3vw, 40px); }
.clients__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.clients__track {
  display: flex; align-items: center; width: max-content;
  gap: clamp(56px, 7vw, 112px); padding-right: clamp(56px, 7vw, 112px);
  animation: marquee 36s linear infinite;
}
.clients__track li { flex: none; }
.clients__track img { height: var(--h, 40px); width: auto; opacity: .9; }
.clients__viewport:hover .clients__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about { background: var(--butter); color: var(--stance); padding-top: clamp(40px, 5vw, 72px); }
.about .arc { color: var(--butter); }
.about__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px); align-items: center;
}
.arch {
  position: relative; overflow: hidden;
  border-radius: 0;
  isolation: isolate;
}
.arch picture, .services__media picture { display: block; height: 100%; }
.arch img, .services__media img { width: 100%; height: 100%; object-fit: cover; }
.parallax-img { height: 112% !important; margin-top: -6%; will-change: transform; }
.about__media { aspect-ratio: 4 / 5; max-width: 500px; background: var(--ground-20); }
.about .h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.usps {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(64px, 8vw, 112px);
}
.usp__icon { display: block; width: 44px; height: 44px; margin-bottom: 22px; color: var(--stance); }
.usp .h3 { margin-bottom: 12px; }
.usp p:last-child { font-size: var(--fs-small); line-height: var(--lh-small); }
.industries {
  margin-top: clamp(48px, 6vw, 80px); text-align: center; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 18px;
}
.industries .ind + .ind::before { content: "·"; margin-right: 18px; }

/* ---------- Services ---------- */
.services { background: var(--breeze); }
.services__head {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px);
  align-items: center; margin-bottom: clamp(48px, 6vw, 88px);
}
.services__head .h2 { margin-bottom: clamp(20px, 2.5vw, 32px); max-width: 12em; }
.services__media { aspect-ratio: 4 / 5; overflow: hidden; max-width: 380px; justify-self: end; width: 100%; background: var(--breeze-20); }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.card {
  position: relative; background: var(--breeze-10); border-radius: var(--radius);
  padding: clamp(22px, 2.2vw, 30px); min-height: 240px;
  display: flex; flex-direction: column;
  transition: transform .6s var(--ease-out), background-color .4s, box-shadow .6s var(--ease-out);
}
.card .marker { margin-bottom: auto; transition: background-color .4s, color .4s, transform .6s var(--ease-out); }
.card .h3 { margin: 40px 0 10px; }
.card p { font-size: var(--fs-small); line-height: var(--lh-small); }
@media (hover: hover) {
  .card:hover { transform: translateY(-6px); background: #FFFFFF; box-shadow: 0 24px 48px -28px rgba(23, 24, 22, .35); }
  .card:hover .marker { background: var(--breeze); color: var(--stance); transform: rotate(-8deg) scale(1.06); }
}
/* Range carousel (matches the category carousel on the Armour sourcing page) */
.cat-carousel { position: relative; margin-top: 126px; --card-w: max(260px, 29.95vw); --gap: max(8px, 0.677vw); }
.cat-track {
  display: flex; gap: var(--gap);
  /* overflow-y must stay hidden: a 1px rounding overflow otherwise makes the track a
     vertical scroller that catches the mouse wheel and stops the page scrolling */
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 3.7vw;
  padding-left: 3.7vw;
  scrollbar-width: none;
}
.cat-track::-webkit-scrollbar { display: none; }
.cat-card { flex: none; width: var(--card-w); scroll-snap-align: start; }
.cat-card img { width: 100%; aspect-ratio: 575 / 432; object-fit: cover; background: var(--minimal-grey); }
.cat-card figcaption { font-size: 18px; line-height: 22px; margin-top: 34px; }
.arrow-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 50%;
  background: rgba(191, 157, 113, .8);
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color .25s var(--ease-out);
}
.arrow-btn svg { width: 20px; height: 10px; }
@media (hover: hover) { .arrow-btn:hover { background: var(--ground); } }
.cat-carousel .arrow-btn { position: absolute; top: calc(var(--card-w) * 432 / 575 / 2 - 20px); }
.cat-carousel .arrow-prev { left: calc(3.7vw + 19px); }
.cat-carousel .arrow-next { right: calc(3.7vw + 21px); }
/* Mouse/trackpad: the carousel moves by arrows, keys and sideways swipes (main.js) so vertical scrolling never gets caught. Touch keeps native swipe. */
@media (hover: hover) and (pointer: fine) { .cat-track { overflow-x: hidden; } }
@media (max-width: 1023px) { .cat-carousel { margin-top: 96px; --card-w: 46vw; } }
@media (max-width: 767px) {
  .cat-carousel { margin-top: 72px; --card-w: 80vw; }
  .cat-carousel .arrow-btn { display: none; }
  .cat-track { padding-left: 20px; scroll-padding-left: 20px; }
}
.services__cta { margin-top: clamp(48px, 6vw, 72px); display: flex; justify-content: center; }

/* ---------- How it works ---------- */
.process { background: var(--grey-10); padding-top: clamp(40px, 5vw, 72px); }
.process .arc { color: var(--grey-10); }
.process__head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.process__head .h2 { max-width: 13em; }
.roadmap { position: relative; margin-top: clamp(56px, 7vw, 96px); }
.roadmap__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 32px); position: relative; }
.roadmap__path { position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none; }
.roadmap__path svg { width: 100%; height: 100%; overflow: visible; }
.roadmap__path path { fill: none; stroke: var(--stance); stroke-width: 1px; }
.roadmap__path .track { stroke: var(--minimal-grey); }
.roadmap__vline { display: none; }
.step { position: relative; padding-top: 148px; }
.step .marker {
  position: absolute; left: 0; top: var(--my, 40px);
  transform: scale(.4); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .4s, background-color .4s;
  box-shadow: 0 0 0 6px var(--grey-10);
}
.step.is-active .marker, .no-motion .step .marker { transform: scale(1); opacity: 1; }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 24px; background: var(--grey-20); }
.step .h3 { margin-bottom: 10px; }
.step p { font-size: var(--fs-small); line-height: var(--lh-small); }
.callout {
  margin-top: clamp(56px, 7vw, 96px);
  background: var(--butter-20); border-radius: 24px;
  /* Padding and height match the "That’s where Armour comes in" card on the Armour sourcing page */
  min-height: 259px; padding: 0 112px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center;
}
@media (max-width: 1439px) { .callout { padding: 0 64px; } }
@media (max-width: 1023px) { .callout { padding: 48px 40px; min-height: 0; } }
@media (max-width: 767px)  { .callout { padding: 32px 20px; border-radius: 16px; } }
.callout .h3 { font-size: var(--fs-heading-m); line-height: 1; margin-bottom: 20px; }
.callout p { max-width: 44em; }

/* ---------- Case study ---------- */
.case { background: var(--ground-10); }
.case__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.case__logo { width: 140px; height: auto; margin-bottom: clamp(28px, 3vw, 40px); }
.case .h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.case__body p + p { margin-top: 1.1em; }
.case__body .label { display: block; margin-bottom: 4px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(28px, 3vw, 40px); }
.chip {
  font-size: 16px; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--stance); border-radius: 999px; padding: 8px 14px; line-height: 1.2;
  transition: background-color .3s, color .3s;
}
@media (hover: hover) { .chip:hover { background: var(--stance); color: var(--text-invert); } }
.case__media { margin-top: clamp(48px, 6vw, 96px); }
/* Concept vs final comparison slider */
@property --pos { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
.compare__stage {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1730 / 850; background: #FFFFFF; --knob: clamp(40px, 4vw, 60px);
  cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
}
/* Glide to a tapped or keyed position; follow the finger exactly while dragging */
.compare__stage:not(.is-dragging) { transition: --pos .45s var(--ease-out); }
.compare__layer { position: absolute; inset: 0; }
.compare__layer picture, .compare__layer img { display: block; width: 100%; height: 100%; }
.compare__layer img { object-fit: cover; pointer-events: none; }
.compare__layer--concept { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__tag {
  position: absolute; top: clamp(10px, 1.6vw, 18px);
  /* Same size as the scope pills (.chip) above, filled instead of outlined */
  padding: 8px 14px; border: 1px solid var(--stance); border-radius: 999px;
  background: var(--stance); color: #FFFFFF;
  font-size: 16px; line-height: 1.2; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
.compare__tag--concept { left: clamp(10px, 1.6vw, 18px); }
.compare__tag--final { right: clamp(10px, 1.6vw, 18px); }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); width: var(--knob); margin-left: calc(var(--knob) / -2);
  display: grid; place-items: center; touch-action: none; outline: none;
}
.compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--ground); }
.compare__knob {
  position: relative; display: grid; place-items: center;
  width: var(--knob); height: var(--knob); border-radius: 50%;
  background: var(--ground); color: #FFFFFF;
  transition: transform .25s var(--ease-out), background-color .25s var(--ease-out);
}
.compare__knob svg { width: 50%; height: auto; }
.compare__stage:hover .compare__knob, .compare__stage.is-dragging .compare__knob { transform: scale(1.08); }
.compare__handle:focus-visible .compare__knob { outline: 2px solid var(--stance); outline-offset: 3px; }
@media (max-width: 640px) {
  /* Scaled down on phones so the tags do not cover the small image */
  .compare__tag { font-size: 12px; padding: 6px 10px; }
}

/* ---------- Final CTA ---------- */
.final {
  --arc-h: clamp(64px, 11vw, 190px);
  background: var(--stance); color: var(--text-invert); padding-top: clamp(48px, 6vw, 88px);
}
.final .arc { color: var(--stance); }
.final .eyebrow { color: var(--breeze); }
.final__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
/* Wide screens: copy and form split 824 : 700, as on the Armour sourcing page */
/* Below 1280px the form stacks under the copy (as on the sourcing page), so it never gets squeezed */
@media (max-width: 1279px) {
  .hero__grid, .final__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .hero__copy, .final__copy { max-width: 760px; }
  .hero__grid > .form-card, .final__grid > .form-card { max-width: 700px; }
}
@media (min-width: 1280px) {
  .hero__grid, .final__grid { grid-template-columns: minmax(0, 824fr) minmax(0, 700fr); gap: 0; }
  .hero__copy, .final__copy { padding-right: 48px; }
  .hero .lede { max-width: 540px; }
}
.final .h2 { margin-bottom: clamp(24px, 3vw, 36px); }
.reassure { margin-top: clamp(32px, 4vw, 48px); display: grid; gap: 20px; }
.reassure li { display: flex; align-items: center; gap: 16px; }
.final__contact { margin-top: clamp(32px, 4vw, 48px); }
/* Underlined inline links, as on the Armour sourcing page */
.inline-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; transition: text-underline-offset .25s var(--ease-out); }
.inline-link:hover { text-underline-offset: .26em; }
a[href^="tel:"] { white-space: nowrap; }

/* ---------- Footer (matches the Armour sourcing page) ---------- */
.site-footer { background: var(--bg-page); color: var(--stance); padding: 64px 0; }
.site-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logo-btn--footer { padding: 25px 0; }
.logo-btn--footer img { width: 160px; }
.footer-text { text-align: right; }

/* ---------- Thank-you ---------- */
.thanks { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.thanks main { flex: 1; }
.thanks__top { padding-top: clamp(64px, 10vw, 160px); padding-bottom: clamp(64px, 8vw, 120px); }
.thanks__top .h1 { max-width: 12em; margin-bottom: 28px; }

/* ==========================================================================
   Motion
   ========================================================================== */
/* Split-word headline reveal */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w__i { display: inline-block; will-change: transform; }
.js .split .w__i { transform: translate3d(0, 110%, 0); }
.js .split.is-in .w__i { transform: none; transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms); }
/* Brackets open around the key word */
.js .split .br__o { transform: translateX(.45em); opacity: 0; }
.js .split .br__c { transform: translateX(-.45em); opacity: 0; }
.js .split.is-in .br__o, .js .split.is-in .br__c {
  transform: none; opacity: 1;
  transition: transform 1.1s var(--ease-out), opacity .6s;
  transition-delay: calc(var(--i, 0) * 55ms + 380ms);
}

/* Hero headline plays on first paint (pre-split in HTML, no JS dependency) */
.hero-h1 .w__i { animation: rise 1.05s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
.hero-h1 .br__o { animation: br-o 1.2s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 480ms); }
.hero-h1 .br__c { animation: br-c 1.2s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 480ms); }
@keyframes rise { from { transform: translate3d(0, 110%, 0); } }
@keyframes br-o { from { transform: translateX(.45em); opacity: 0; } }
@keyframes br-c { from { transform: translateX(-.45em); opacity: 0; } }
.hero-in { animation: fade-up 1s var(--ease-out) both; animation-delay: var(--d, 0ms); }
.hero-card { animation: card-in 1.1s var(--ease-out) both; animation-delay: 200ms; }
@keyframes fade-up { from { opacity: 0; transform: translate3d(0, 24px, 0); } }
@keyframes card-in { from { transform: translate3d(0, 40px, 0); } }

/* Generic reveals */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="clip"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="arch"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
.js [data-reveal="arch"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="clip"] img, .js [data-reveal="arch"] img { transform: scale(1.18); transition: transform 1.8s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="clip"].is-in img, .js [data-reveal="arch"].is-in img { transform: scale(1.04); }
.js [data-reveal="line"] { opacity: 1; transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease-io); }
.js [data-reveal="line"].is-in { transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero__grid, .about__grid, .services__head, .process__head, .case__grid, .final__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { max-width: 440px; width: 100%; margin-inline: auto; }
  .services__media { display: none; }
  .callout { grid-template-columns: minmax(0, 1fr); }
  .callout .btn { justify-self: start; }

  /* Roadmap becomes a vertical timeline */
  .roadmap__path { display: none; }
  .roadmap__steps { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-left: 60px; }
  .roadmap__vline { display: block; position: absolute; left: 17px; top: 18px; bottom: 0; width: 1px; background: var(--minimal-grey); }
  .roadmap__vline::after { content: ""; position: absolute; inset: 0; background: var(--stance); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
  .step { padding-top: 0; }
  .step .marker { left: -60px; top: 0 !important; }
  .step__media { max-width: 520px; }
}
@media (max-width: 767px) {
  .btn { font-size: 16px; }
  .form-card { padding: 28px 20px; border-radius: 16px; }
  .form-card__title { font-size: 24px; line-height: 30px; }
  .input { height: 48px; font-size: 16px; }
  textarea.input { height: 84px; }
  .btn--submit { width: 100%; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .proof li { display: flex; align-items: baseline; gap: 14px; padding-block: 12px; }
  .proof__num { margin-bottom: 0; font-size: 28px; min-width: 2.2em; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { min-height: 0; }
  .card .h3 { margin-top: 24px; }
  .usps { grid-template-columns: minmax(0, 1fr); }
  .industries { justify-content: flex-start; text-align: left; gap: 8px; }
  .industries > span:first-child { flex-basis: 100%; margin-bottom: 4px; }
  .industries .ind { border: 1px solid var(--stance); border-radius: 999px; padding: 6px 12px; font-size: 14px; }
  .industries .ind + .ind::before { content: none; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-text { text-align: left; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .clients__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .clients__clone { display: none !important; }
  .clients__viewport { -webkit-mask-image: none; mask-image: none; }
  .arc, .parallax-img { transform: none !important; }
}
