/* =======================================================================
   Austin Anderson Solutions — Editorial Industrial Design System
   Water treatment chemicals B2B · Pakistan · Part of BNC Chemical Division
   ======================================================================= */

/* -----------------------------
   Design tokens
   ----------------------------- */
:root {
  /* Type scale (major third 1.25) */
  --type-xs:   clamp(0.75rem,  0.73rem + 0.10vw, 0.80rem);
  --type-sm:   clamp(0.875rem, 0.85rem + 0.15vw, 0.95rem);
  --type-base: clamp(1rem,     0.97rem + 0.18vw, 1.0625rem);
  --type-md:   clamp(1.125rem, 1.08rem + 0.28vw, 1.25rem);
  --type-lg:   clamp(1.375rem, 1.30rem + 0.45vw, 1.625rem);
  --type-xl:   clamp(1.75rem,  1.58rem + 0.85vw, 2.25rem);
  --type-2xl:  clamp(2.25rem,  1.90rem + 1.75vw, 3.25rem);
  --type-3xl:  clamp(3rem,     2.30rem + 3.5vw,  5rem);
  --type-display: clamp(3.5rem, 2.4rem + 5.5vw, 7.5rem);

  /* Color — ink-on-bone editorial palette */
  --ink:          #0A1F2E;   /* Primary text / dark surface */
  --ink-2:        #16293A;   /* Secondary dark surface */
  --ink-3:        #253849;   /* Tertiary dark surface (cards on dark) */
  --bone:         #F2EDE3;   /* Primary light bg */
  --vellum:       #EAE3D4;   /* Card bg on bone */
  --cream:        #FAF8F3;   /* Highlight bg */
  --mineral:      #2F5D62;   /* Secondary accent — deep teal */
  --mineral-2:    #1E4046;   /* Darker teal */
  --reagent:      #D97706;   /* Primary accent — warm amber */
  --reagent-2:    #B45309;   /* Hover reagent */
  --molecular:    #3E7D5F;   /* Tertiary accent — green */
  --charcoal:     #1A2632;
  --slate:        #4A5862;   /* Secondary text */
  --slate-2:      #6B7984;   /* Tertiary text */
  --rule:         #D4CDBE;   /* Hairlines on bone */
  --rule-2:       #BFB6A3;   /* Darker hairline */
  --rule-dark:    #2A3F4E;   /* Hairlines on ink */

  /* Spacing (8pt scale) */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-8:  48px;
  --s-10: 64px;
  --s-12: 96px;
  --s-14: 128px;
  --s-16: 160px;

  /* Layout */
  --max-w:    1360px;
  --gutter:   clamp(20px, 4vw, 56px);
  --nav-h:    72px;

  /* Typography */
  --font-display: 'Fraunces', 'Noto Serif', ui-serif, Georgia, serif;
  --font-body:    'General Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* Motion */
  --ease: cubic-bezier(0.65, 0, 0.15, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@supports (font-variation-settings: normal) {
  :root { --font-display: 'Fraunces', ui-serif, Georgia, serif; }
}

/* -----------------------------
   Reset & base
   ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }
img { font-style: italic; color: var(--slate); } /* alt text when broken */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 144, 'SOFT' 30, 'WONK' 0;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: var(--type-3xl); font-variation-settings: 'opsz' 144, 'SOFT' 20, 'WONK' 0; }
h2 { font-size: var(--type-2xl); font-variation-settings: 'opsz' 96,  'SOFT' 30, 'WONK' 0; }
h3 { font-size: var(--type-xl);  font-variation-settings: 'opsz' 48,  'SOFT' 30, 'WONK' 0; }
h4 { font-size: var(--type-lg);  font-variation-settings: 'opsz' 24,  'SOFT' 50, 'WONK' 0; }

p  { margin: 0 0 1em 0; color: var(--charcoal); max-width: 68ch; }
a  { color: inherit; text-decoration: none; }

/* Editorial link underline */
.link, .prose a {
  position: relative;
  color: inherit;
  background-image: linear-gradient(var(--ink), var(--ink));
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease-out);
}
.link:hover, .prose a:hover { background-size: 0% 1px; background-position: 100% 100%; }

strong { font-weight: 600; }
small { font-size: var(--type-sm); }

/* Utility */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.container--narrow { max-width: 880px; }
.container--wide   { max-width: 1500px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mineral);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--no-rule::before { display: none; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--reagent { color: var(--reagent); }
.eyebrow--bone { color: var(--rule); }

.lede {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: var(--type-lg);
  line-height: 1.45;
  letter-spacing: -0.012em;
  color: var(--charcoal);
  max-width: 48ch;
}

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

/* -----------------------------
   Hairline rules
   ----------------------------- */
.rule     { border: none; height: 1px; background: var(--rule);    margin: var(--s-10) 0; }
.rule-dark{ border: none; height: 1px; background: var(--rule-dark); margin: var(--s-10) 0; }

/* -----------------------------
   Navigation
   ----------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242, 237, 227, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6);
}
.nav__brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.nav__brand-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 48, 'SOFT' 20;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.nav__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--slate);
  display: none;
}
@media (min-width: 768px) { .nav__brand-sub { display: inline; } }

.nav__menu {
  display: none;
  gap: var(--s-6);
  align-items: center;
}
@media (min-width: 900px) { .nav__menu { display: flex; } }

.nav__link {
  font-size: var(--type-sm);
  font-weight: 500;
  color: var(--ink);
  opacity: 0.72;
  transition: opacity 0.25s var(--ease);
  position: relative;
  padding: 6px 0;
}
.nav__link:hover { opacity: 1; }
.nav__link--active { opacity: 1; }
.nav__link--active::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--reagent);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bone);
  font-size: var(--type-sm);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.25s var(--ease);
  min-height: 44px;
}
.nav__cta:hover { background: var(--mineral); }

.nav__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  align-items: center;
}
.nav__burger span {
  display: block; width: 22px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
@media (min-width: 900px) { .nav__burger { display: none; } }

.nav[data-open="true"] .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav[data-open="true"] .nav__burger span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__drawer {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--bone);
  padding: var(--s-8) var(--gutter);
  overflow-y: auto;
  z-index: 49;
}
.nav[data-open="true"] .nav__drawer { display: block; }
.nav__drawer a {
  display: block;
  font-family: var(--font-display);
  font-size: var(--type-xl);
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  min-height: 48px;
}

/* -----------------------------
   Hero — Full-Bleed Editorial
   ----------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  isolation: isolate;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: var(--s-14) 0 var(--s-12);
}
@media (min-width: 960px) {
  .hero { min-height: 88vh; padding: calc(var(--s-14) + var(--s-6)) 0 var(--s-14); }
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.98) contrast(1.05);
}
/* Scrim behind the TEXT column (right side on desktop, bottom on mobile) so the droplet stays visible */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(10, 31, 46, 0.88) 0%, rgba(10, 31, 46, 0.72) 35%, rgba(10, 31, 46, 0.18) 70%, rgba(10, 31, 46, 0) 100%);
  z-index: 1;
}
@media (max-width: 959px) {
  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(10, 31, 46, 0.15) 0%, rgba(10, 31, 46, 0.55) 45%, rgba(10, 31, 46, 0.92) 90%);
  }
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}
@media (max-width: 959px) {
  .hero__inner { justify-content: flex-start; align-items: flex-end; min-height: inherit; }
}
.hero__copy {
  max-width: 640px;
  width: 100%;
  text-align: left;
}
@media (min-width: 960px) { .hero__copy { max-width: 560px; } }
.hero__headline {
  font-size: var(--type-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 10, 'WONK' 0;
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--bone);
  margin: 0;
}
.hero__headline em {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  color: var(--reagent);
}
.hero__eyebrow {
  margin-bottom: var(--s-5);
  color: var(--reagent);
}
.hero__eyebrow::before { background: var(--reagent); }
.hero__lede {
  margin-top: var(--s-6);
  max-width: 52ch;
  font-size: var(--type-md);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(242, 237, 227, 0.86);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-8);
}
.hero__badges {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--s-6);
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 0 var(--gutter);
  max-width: var(--max-w);
  margin: 0 auto;
  pointer-events: none;
}
.hero__badge {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.55);
}
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: var(--s-6);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242, 237, 227, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  pointer-events: none;
}

/* Dark CTA variants for the ink hero background */
.hero .btn--primary { background: var(--reagent); color: var(--ink); }
.hero .btn--primary:hover { background: var(--bone); color: var(--ink); }
.hero .btn--secondary { color: var(--bone); border-color: rgba(242, 237, 227, 0.35); }
.hero .btn--secondary:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }

/* -----------------------------
   Buttons
   ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  min-height: 50px;
  font-size: var(--type-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.15s var(--ease);
  background: transparent;
  font-family: var(--font-body);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--bone); }
.btn--primary:hover { background: var(--reagent); color: var(--ink); }
.btn--secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--bone); }
.btn--whatsapp { background: #128C7E; color: #fff; }
.btn--whatsapp:hover { background: #0f6e62; }
.btn--inverse { background: var(--bone); color: var(--ink); }
.btn--inverse:hover { background: var(--reagent); color: var(--ink); }

.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

/* -----------------------------
   Capabilities strip (positioning)
   ----------------------------- */
.capabilities {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: var(--s-6) 0;
  background: var(--cream);
}
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4) var(--s-6);
}
@media (min-width: 720px)  { .capabilities__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .capabilities__grid { grid-template-columns: repeat(6, 1fr); } }
.capability {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.capability__num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--slate);
  text-transform: uppercase;
}
.capability__label {
  font-size: var(--type-sm);
  font-weight: 500;
  color: var(--ink);
}

/* -----------------------------
   Section scaffold
   ----------------------------- */
.section {
  padding: var(--s-12) 0;
}
@media (min-width: 960px) { .section { padding: var(--s-14) 0; } }
.section--dark { background: var(--ink); color: var(--bone); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--bone); }
.section--dark p { color: rgba(242, 237, 227, 0.75); }
.section--dark .eyebrow { color: var(--reagent); }

.section__head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-10);
  align-items: end;
}
@media (min-width: 960px) {
  .section__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--s-10);
  }
}
.section__title {
  font-size: var(--type-2xl);
  max-width: 18ch;
}
.section__sub {
  font-size: var(--type-md);
  color: var(--charcoal);
  max-width: 54ch;
}
.section--dark .section__sub { color: rgba(242, 237, 227, 0.7); }

/* -----------------------------
   Products — periodic-table card
   ----------------------------- */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
  border-left: 1px solid var(--rule-dark);
}
@media (min-width: 720px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1360px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 320px;
  padding: var(--s-6);
  border-right: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
  background: var(--ink);
  color: var(--bone);
  text-decoration: none;
  transition: background 0.4s var(--ease-out);
  overflow: hidden;
  isolation: isolate;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 100%, rgba(217,119,6,0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  z-index: -1;
}
.product-card:hover::before { opacity: 1; }
.product-card:hover { background: var(--ink-2); }

.product-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-4);
}
.product-card__code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--reagent);
  text-transform: uppercase;
}
.product-card__category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(242,237,227,0.55);
  text-transform: uppercase;
  text-align: right;
  max-width: 18ch;
}
.product-card__short {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 10;
  font-size: clamp(3rem, 5vw + 2rem, 5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--bone);
  margin: var(--s-5) 0 var(--s-3) 0;
}
.product-card__name {
  font-size: var(--type-sm);
  line-height: 1.4;
  color: rgba(242, 237, 227, 0.7);
  max-width: 22ch;
  margin-bottom: var(--s-4);
}
.product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  border-top: 1px solid rgba(242,237,227,0.1);
  padding-top: var(--s-4);
  font-size: var(--type-xs);
}
.product-card__read {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bone);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.product-card__read span { opacity: 0.6; }
.product-card:hover .btn__arrow { transform: translateX(4px); }

/* -----------------------------
   Two-col editorial block
   ----------------------------- */
.editorial {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  align-items: start;
}
@media (min-width: 960px) {
  .editorial {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--s-12);
  }
}
.editorial__meta .eyebrow { margin-bottom: var(--s-5); }
.editorial__meta h2 { margin-bottom: var(--s-4); }
.editorial__body p { font-size: var(--type-md); line-height: 1.7; max-width: 60ch; }
.editorial__body p + p { margin-top: 1em; }
.editorial__body blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 40;
  font-size: var(--type-xl);
  line-height: 1.3;
  color: var(--ink);
  max-width: 22ch;
  margin: var(--s-8) 0;
  padding-left: var(--s-5);
  border-left: 2px solid var(--reagent);
}

/* -----------------------------
   Industries pills
   ----------------------------- */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--cream);
}
.industry-pill::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--molecular);
}

/* -----------------------------
   Credibility / partners
   ----------------------------- */
.partners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width: 760px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner {
  padding: var(--s-8) var(--s-6);
  border: 1px solid var(--rule-dark);
  margin: -1px 0 0 -1px;
  background: var(--ink-2);
}
.partner__eyebrow {
  color: var(--reagent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  display: block;
}
.partner__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 72, 'SOFT' 30;
  font-size: var(--type-xl);
  color: var(--bone);
  line-height: 1.15;
  margin-bottom: var(--s-3);
}
.partner__region {
  font-size: var(--type-sm);
  color: rgba(242,237,227,0.7);
}

/* -----------------------------
   Contact band
   ----------------------------- */
.contact-band {
  background: var(--bone);
  padding: var(--s-14) 0;
  border-top: 1px solid var(--rule);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: var(--s-12); }
}
.contact-grid h2 { max-width: 14ch; }
.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
.contact-info__item {
  display: flex; flex-direction: column; gap: 4px;
  border-top: 1px solid var(--rule);
  padding-top: var(--s-4);
}
.contact-info__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-info__value {
  font-size: var(--type-md);
  color: var(--ink);
  line-height: 1.3;
}
.contact-info__value a {
  color: var(--ink);
  padding: 2px 0;
  min-height: 30px;
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.contact-info__value a:hover { border-color: var(--reagent); }

/* -----------------------------
   Footer
   ----------------------------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: var(--s-12) 0 var(--s-6) 0;
  font-size: var(--type-sm);
}
.footer a { color: var(--bone); opacity: 0.75; transition: opacity 0.25s var(--ease); min-height: 30px; display: inline-block; }
.footer a:hover { opacity: 1; }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-8);
  padding-bottom: var(--s-10);
  border-bottom: 1px solid var(--rule-dark);
}
@media (min-width: 720px) { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand-mark {
  font-family: var(--font-display);
  font-weight: 400;
  font-variation-settings: 'opsz' 48, 'SOFT' 20;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.footer__brand-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--reagent);
  margin-top: 4px;
  display: block;
}
.footer__col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer__bottom {
  padding-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(242,237,227,0.55);
}

/* -----------------------------
   Product detail pages
   ----------------------------- */
.product-hero {
  padding: var(--s-12) 0 var(--s-10);
  background: var(--ink);
  color: var(--bone);
}
.product-hero .eyebrow { color: var(--reagent); margin-bottom: var(--s-5); }
.product-hero__code {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--reagent);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: var(--s-5);
}
.product-hero__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 20;
  font-size: var(--type-3xl);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--bone);
  max-width: 18ch;
  margin-bottom: var(--s-6);
}
.product-hero__short {
  font-size: var(--type-md);
  color: rgba(242,237,227,0.82);
  max-width: 54ch;
  line-height: 1.55;
}

.product-body {
  padding: var(--s-12) 0;
}
.product-body__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10);
}
@media (min-width: 960px) {
  .product-body__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--s-12); }
}
.product-description p { font-size: var(--type-md); line-height: 1.7; max-width: 62ch; }
.product-description p + p { margin-top: 1em; }

.specs {
  background: var(--ink);
  color: var(--bone);
  padding: var(--s-6);
}
.specs__title {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--reagent);
  margin-bottom: var(--s-5);
}
.specs__table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--type-sm);
}
.specs__table tr { border-bottom: 1px solid rgba(242,237,227,0.1); }
.specs__table tr:last-child { border-bottom: none; }
.specs__table td { padding: 12px 0; vertical-align: top; color: rgba(242,237,227,0.9); }
.specs__table td:first-child { padding-right: var(--s-4); color: rgba(242,237,227,0.6); }
.specs__table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.use-cases {
  margin-top: var(--s-8);
}
.use-cases ul {
  list-style: none;
  padding: 0;
  margin: var(--s-4) 0 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 640px) { .use-cases ul { grid-template-columns: repeat(2, 1fr); } }
.use-cases li {
  padding: var(--s-4) 0;
  padding-right: var(--s-5);
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: var(--s-3);
  align-items: baseline;
  font-size: var(--type-base);
}
.use-cases li::before {
  content: counter(u, decimal-leading-zero);
  counter-increment: u;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--reagent);
  min-width: 2ch;
}
.use-cases ul { counter-reset: u; }

/* -----------------------------
   Inner page hero (simpler)
   ----------------------------- */
.inner-hero {
  padding: calc(var(--s-12) + var(--s-4)) 0 var(--s-10);
  border-bottom: 1px solid var(--rule);
}
.inner-hero__eyebrow { margin-bottom: var(--s-5); }
.inner-hero__title {
  font-size: var(--type-3xl);
  max-width: 20ch;
  margin-bottom: var(--s-5);
}
.inner-hero__lede {
  font-size: var(--type-md);
  max-width: 52ch;
  color: var(--charcoal);
  line-height: 1.55;
}

/* -----------------------------
   Prose (long-form pages: about, MD message, blog)
   ----------------------------- */
.prose {
  font-size: var(--type-md);
  line-height: 1.7;
  max-width: 68ch;
}
.prose p { max-width: 68ch; margin-bottom: 1.2em; color: var(--charcoal); }
.prose h2 { margin-top: 2em; margin-bottom: 0.8em; font-size: var(--type-xl); }
.prose h3 { margin-top: 1.8em; margin-bottom: 0.5em; font-size: var(--type-lg); }
.prose ul, .prose ol { padding-left: 1.25em; margin-bottom: 1.2em; }
.prose ul li, .prose ol li { margin-bottom: 0.4em; }
.prose blockquote {
  margin: 2em 0;
  padding-left: var(--s-5);
  border-left: 2px solid var(--reagent);
  font-family: var(--font-display);
  font-size: var(--type-lg);
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 40;
  font-style: italic;
  line-height: 1.4;
}
.prose hr { border: none; height: 1px; background: var(--rule); margin: 3em 0; }
.prose code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--vellum);
  padding: 2px 6px;
}
.prose-signature {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 72, 'SOFT' 40;
  font-size: var(--type-lg);
  color: var(--ink);
}

/* -----------------------------
   Blog
   ----------------------------- */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 720px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
.post-card {
  padding: var(--s-8) 0 var(--s-8) 0;
  border-bottom: 1px solid var(--rule);
  transition: padding 0.4s var(--ease-out);
  display: block;
}
.post-card + .post-card { padding-left: 0; }
@media (min-width: 720px) {
  .post-card:nth-child(2n) { padding-left: var(--s-8); border-left: 1px solid var(--rule); }
}
.post-card__meta {
  display: flex;
  gap: var(--s-4);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: var(--s-4);
}
.post-card__meta span:first-child { color: var(--reagent); }
.post-card__title {
  font-size: var(--type-xl);
  max-width: 22ch;
  margin-bottom: var(--s-4);
  transition: color 0.3s var(--ease);
}
.post-card:hover .post-card__title { color: var(--mineral); }
.post-card__excerpt { max-width: 50ch; color: var(--charcoal); font-size: var(--type-base); margin-bottom: var(--s-4); }
.post-card__read {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--type-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
}

/* -----------------------------
   Form (inquiry page)
   ----------------------------- */
.form {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 720px) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}
.form__input, .form__select, .form__textarea {
  font-family: var(--font-body);
  font-size: var(--type-base);
  padding: 14px 16px;
  min-height: 50px;
  background: var(--cream);
  border: 1px solid var(--rule);
  color: var(--ink);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  width: 100%;
}
.form__textarea { min-height: 140px; resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.form__submit {
  justify-self: start;
  margin-top: var(--s-4);
}

/* -----------------------------
   Breadcrumb
   ----------------------------- */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-2);
  margin-bottom: var(--s-5);
}
.breadcrumb a { color: inherit; border-bottom: 1px solid transparent; padding-bottom: 1px; }
.breadcrumb a:hover { border-color: var(--reagent); }
.breadcrumb__sep { margin: 0 10px; opacity: 0.5; }

/* -----------------------------
   Accessibility / motion
   ----------------------------- */
:focus-visible {
  outline: 2px solid var(--reagent);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------
   Entrance animations
   ----------------------------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise 0.8s var(--ease-out) both; }
.rise-delay-1 { animation-delay: 0.08s; }
.rise-delay-2 { animation-delay: 0.16s; }
.rise-delay-3 { animation-delay: 0.24s; }
.rise-delay-4 { animation-delay: 0.32s; }

/* -----------------------------
   Ticker / marquee (partner strip)
   ----------------------------- */
.ticker {
  background: var(--ink);
  color: var(--bone);
  padding: var(--s-5) 0;
  overflow: hidden;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.ticker__track {
  display: flex;
  gap: var(--s-8);
  animation: ticker 60s linear infinite;
  width: max-content;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 96, 'SOFT' 30;
  font-style: italic;
  font-size: var(--type-xl);
  color: rgba(242,237,227,0.3);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: var(--s-8);
}
.ticker__dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--reagent);
  border-radius: 50%;
}
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* -----------------------------
   "Dark pull-quote" band
   ----------------------------- */
.pullquote {
  background: var(--ink);
  color: var(--bone);
  padding: var(--s-14) 0;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.pullquote__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-variation-settings: 'opsz' 144, 'SOFT' 40;
  font-size: var(--type-2xl);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--bone);
}
.pullquote__text em {
  color: var(--reagent);
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
}
.pullquote__attr {
  margin-top: var(--s-5);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242,237,227,0.5);
}
