/* =============================================================
   Aliaise Capital Ltd — style.css
   Palette recovered from the original site (Wayback 2024 capture):
   red → orange → gold brand gradient, charcoal feature band, amber-gold footer.
   All brand colours & fonts live in :root. Rebrand = edit here.
   ============================================================= */

:root {
  /* ---- Brand palette (recovered) ---- */
  --red:         #c1272d;   /* primary — logo / buttons / active nav */
  --red-700:     #a01f24;
  --red-bright:  #ef3a2c;   /* vivid red for accents on dark backgrounds */
  --orange:      #f15a24;   /* mid gradient */
  --gold:        #f6a623;   /* warm accent */
  --gold-600:    #d98a12;
  --amber:       #f6b73c;   /* footer background */
  --amber-200:   #fbd589;
  --charcoal:    #2c3138;   /* dark feature band (pillars) */
  --charcoal-2:  #353b43;
  --ink:         #2b2f33;   /* body text */
  --slate:       #6b727a;   /* muted text */
  --line:        #e6e3df;   /* borders */
  --mist:        #faf7f3;   /* section tint (warm) */
  --mist-2:      #f4efe8;
  --white:       #ffffff;
  --success:     #1f8a55;
  --error:       #c0392b;

  /* Signature brand gradient (header rule, bands, CTAs) */
  --brand-grad:  linear-gradient(90deg, #e1251b 0%, #f15a24 50%, #f9b233 100%);

  /* ---- Typography ---- */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;

  /* ---- Scale / layout ---- */
  --maxw: 1180px;
  --gap: clamp(1.35rem, 3vw, 2rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 3px rgba(44,49,56,.10), 0 1px 2px rgba(44,49,56,.06);
  --shadow:    0 10px 30px rgba(44,49,56,.12);
  --shadow-lg: 0 24px 60px rgba(44,49,56,.18);
  --header-h: 86px;
  --ease: cubic-bezier(.4,.16,.2,1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: clamp(1rem, .96rem + .2vw, 1.06rem);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--gold-600); }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); letter-spacing: -.01em; }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }

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

/* ---------- Layout helpers ---------- */
section[id], [id]#apply { scroll-margin-top: calc(var(--header-h) + 12px); }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6rem); }
.section--tint { background: var(--mist); }
.section--charcoal { background: var(--charcoal); color: #d7dbe0; }
.section--charcoal h2, .section--charcoal h3 { color: #fff; }
.center { text-align: center; }
.measure { max-width: 64ch; }
.mx-auto { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin: 0 0 .6rem;
}
.section--charcoal .eyebrow { color: var(--gold); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 1rem + 3vw, 3rem); }
.section-head.center { margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--slate); }
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 8px; color: #fff; }

/* ---------- Brand gradient band (e.g. "Who we are") ---------- */
.band {
  background: linear-gradient(90deg, var(--red-700), var(--red) 50%, var(--red-bright)); color: #fff; text-align: center;
  padding-block: clamp(1.4rem, 1rem + 2vw, 2.4rem);
}
.band h2 { color: #fff; margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--red);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  padding: .85rem 1.7rem; border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: #fff; cursor: pointer;
  transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.btn:active { transform: translateY(0); }
.btn--primary { --b: var(--red); }
.btn--primary:hover { background: var(--red-700); border-color: var(--red-700); }
.btn--gold { --b: var(--gold); color: var(--charcoal); }
.btn--gold:hover { background: var(--gold-600); border-color: var(--gold-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--red); border-color: var(--red); }
.btn--ghost:hover { background: var(--red); color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost-light:hover { background: rgba(255,255,255,.16); color: #fff; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header / nav ---------- */
/* Sticky on every device. The bar itself carries the sticky so it stays
   pinned for the whole page (a sticky child of a header only as tall as
   itself has zero travel and never actually sticks). */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* keeps the bar above the mobile browser's home indicator area */
  padding-top: env(safe-area-inset-top, 0px);
  background: #14181d;
}
.navbar {
  background: linear-gradient(180deg, #191e25 0%, #14181d 100%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.navbar.scrolled { background: #12161b; box-shadow: 0 10px 30px rgba(0,0,0,.34); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand img { height: 56px; width: auto; transition: transform .25s var(--ease); }
.brand:hover img { transform: translateY(-1px); }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px;
  align-items: center; justify-content: center; background: none; border: 0; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2px; background: #e8ebef; border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  position: relative; font-family: var(--font-head); font-weight: 600;
  color: #cfd5dd; padding: .5rem .2rem; font-size: .95rem; letter-spacing: .02em;
  transition: color .22s var(--ease);
}
.nav-menu li:not(.nav-cta) { margin-inline: .75rem; }
.nav-menu a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--red-bright); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .26s var(--ease);
}
.nav-menu a:not(.btn):hover { color: #fff; }
.nav-menu a:not(.btn):hover::after { transform: scaleX(1); }
.nav-menu a[aria-current="page"]:not(.btn) { color: var(--red-bright); }
.nav-menu a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
/* Apply button — refined red pill on the dark bar */
.nav-cta { margin-left: 1.2rem; }
.nav-cta .btn {
  color: #fff; background: linear-gradient(135deg, #e23226 0%, #c1272d 100%); border-color: transparent;
  font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  padding: .62rem 1.45rem; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(193,39,45,.35);
}
.nav-cta .btn::after { content: "\2192"; font-size: 1.05em; transition: transform .2s var(--ease); }
.nav-cta .btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(193,39,45,.50); }
.nav-cta .btn:hover::after { transform: translateX(3px); }

@media (max-width: 940px) {
  /* slimmer bar so more of the page shows on a phone */
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .nav-toggle { display: flex; margin-right: -.6rem; }
  .brand img { height: 48px; }
  .nav { gap: 1rem; }
  .nav-menu a::after { display: none; }
  .nav-cta { border-left: 0; padding-left: 0; }
  .nav-menu {
    position: fixed; left: 0; right: 0; bottom: auto;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    flex-direction: column; align-items: stretch; gap: 0;
    background: #14181d; border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .35rem var(--gap) 1.5rem; box-shadow: 0 22px 44px rgba(0,0,0,.45);
    transform: translateY(-130%); transition: transform .32s var(--ease);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li:not(.nav-cta) { margin-inline: 0; }
  /* hairline on the row, not the link, so it spans the full panel width */
  .nav-menu li:not(.nav-cta) { border-bottom: 1px solid rgba(255,255,255,.06); }
  .nav-menu li:not(.nav-cta):last-of-type,
  .nav-menu li:nth-last-child(2) { border-bottom: 0; }
  .nav-menu a {
    display: block; padding: .9rem .1rem; border-radius: 0; color: #cfd5dd;
    font-size: 1rem; letter-spacing: .01em;
  }
  /* current page marked with a brand tick rather than an underline */
  .nav-menu a[aria-current="page"]:not(.btn) { padding-left: .85rem; }
  .nav-menu a[aria-current="page"]:not(.btn)::after {
    display: block; content: ""; left: 0; right: auto; top: 50%; bottom: auto;
    width: 3px; height: 1.05em; margin-top: -.52em; border-radius: 2px;
    background: var(--brand-grad); transform: none;
  }
  .nav-cta { margin: 1.15rem 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; padding-block: .82rem; }
}

/* ---------- Hero / slider ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(28,16,8,.82) 0%, rgba(28,16,8,.55) 45%, rgba(28,16,8,.25) 100%);
}
.hero-inner { padding-block: clamp(4rem, 3rem + 9vw, 8.5rem); max-width: 760px; }
.hero h1 { color: #fff; margin-bottom: .4em; text-shadow: 0 2px 16px rgba(0,0,0,.3); }
.hero p { font-size: 1.2rem; color: #f3ede7; max-width: 54ch; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.hero-dots { display: flex; gap: .5rem; margin-top: 2.4rem; }
.hero-dots button {
  width: 30px; height: 5px; border-radius: 3px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.4); transition: background .2s, width .2s;
}
.hero-dots button[aria-pressed="true"] { background: var(--gold); width: 46px; }

/* ---------- Trust bar ---------- */
.trustbar { background: var(--charcoal-2); color: #d2d6db; }
.trustbar .container { display: flex; flex-wrap: wrap; gap: 1rem 2.4rem; justify-content: center; padding-block: 1rem; }
.trustbar span { font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .5rem; }
.trustbar svg { color: var(--gold); flex: none; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: clamp(1.1rem, 1rem + 1vw, 1.8rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d8cd; }
.card .num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: #fff;
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  background: var(--brand-grad); border-radius: 12px; margin-bottom: 1rem;
}
.card h3 { margin-bottom: .4rem; }
.card p:last-child { margin-bottom: 0; }

/* Pillar cards on charcoal band */
.section--charcoal .card {
  background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); color: #cfd4da;
  box-shadow: none;
}
.section--charcoal .card:hover { background: rgba(255,255,255,.07); border-color: rgba(246,166,35,.5); transform: translateY(-4px); }

/* Service card with image */
.svc-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.svc-card .media { aspect-ratio: 16/11; overflow: hidden; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.svc-card:hover .media img { transform: scale(1.05); }
.svc-card .body { padding: 1.6rem 1.8rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.svc-card .tag { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: .5rem; }
.svc-card .body p { color: var(--slate); }
.svc-card .more { margin-top: auto; font-family: var(--font-head); font-weight: 600; color: var(--red); display: inline-flex; align-items: center; gap: .4rem; }
.svc-card .more::after { content: "→"; transition: transform .2s var(--ease); }
.svc-card:hover .more::after { transform: translateX(4px); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 4vw, 4rem); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* ---------- Tick list ---------- */
.ticks { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem; display: grid; place-items: center;
  background: var(--mist-2); color: var(--red); border-radius: 50%; font-size: .8rem; font-weight: 700;
}
.section--charcoal .ticks li::before { background: rgba(255,255,255,.1); color: var(--gold); }

/* ---------- Testimonials ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem; box-shadow: var(--shadow-sm); position: relative;
}
.quote::before {
  content: "\201C"; font-family: Georgia, serif; font-size: 4rem; line-height: 1;
  color: var(--gold); opacity: .4; position: absolute; top: .4rem; left: 1rem;
}
.quote p { font-size: 1.08rem; position: relative; }
.quote .who { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; }
.quote .avatar {
  width: 50px; height: 50px; border-radius: 50%; flex: none; object-fit: cover;
  background: var(--brand-grad); color: #fff;
  font-family: var(--font-head); font-weight: 700; display: grid; place-items: center;
}
.quote .who b { font-family: var(--font-head); color: var(--charcoal); display: block; }
.quote .who small { color: var(--slate); }

/* ---------- Testimonials — editorial (featured + hairline list) ---------- */
.tm { background: var(--mist); overflow: hidden; }
.tm .tm-head { max-width: 46ch; margin: 0 0 clamp(2.2rem, 1.4rem + 2.5vw, 3.6rem); }
.tm .tm-head h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); letter-spacing: -.025em; margin: 0; text-wrap: balance; }

.tm-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2.2rem, 1rem + 5vw, 5.5rem); align-items: start; }
@media (max-width: 900px) { .tm-grid { grid-template-columns: 1fr; gap: 2.75rem; } }

/* featured pull-quote */
.tm-feature { position: relative; margin: 0; padding-left: clamp(1.4rem, 1rem + 1vw, 2.2rem); }
.tm-feature::before { content: ""; position: absolute; left: 0; top: .5rem; bottom: .5rem; width: 3px; border-radius: 3px; background: var(--brand-grad); }
.tm-mark { position: absolute; left: clamp(1.1rem, 1rem + 1vw, 1.9rem); top: -1.7rem; font-family: Georgia, 'Times New Roman', serif; font-size: 6rem; line-height: 1; color: var(--red); opacity: .12; pointer-events: none; -webkit-user-select: none; user-select: none; }
.tm-feature blockquote { margin: 0; position: relative; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.05rem); line-height: 1.38; letter-spacing: -.015em; color: var(--charcoal); text-wrap: pretty; }
.tm-feature blockquote em { font-style: normal; color: var(--red); font-weight: 600; }
.tm-feature figcaption { display: flex; align-items: center; gap: 1rem; margin-top: clamp(1.6rem, 1rem + 1.5vw, 2.2rem); }

/* attribution + avatars (soft passe-partout ring, no cards) */
.tm-ava { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px var(--line), 0 0 0 5px var(--mist); }
.tm-ava--sm { width: 46px; height: 46px; box-shadow: 0 0 0 1px var(--line), 0 0 0 4px var(--mist); }
.tm-ava--verify { display: grid; place-items: center; background: #fff; color: var(--red); }
.tm-name { display: block; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); font-size: 1.02rem; line-height: 1.25; }
.tm-role { display: block; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-top: .3rem; }

/* secondary list */
.tm-list { display: flex; flex-direction: column; }
.tm-item { margin: 0; padding: clamp(1.4rem, 1rem + 1vw, 1.9rem) 0; border-top: 1px solid var(--line); }
.tm-item:first-child { padding-top: 0; border-top: 0; }
.tm-item:last-child { padding-bottom: 0; }
.tm-item blockquote { margin: 0; font-family: var(--font-body); font-size: 1.08rem; line-height: 1.62; color: var(--ink); }
.tm-item figcaption { display: flex; align-items: center; gap: .85rem; margin-top: 1.1rem; }

/* ---------- CTA band (refined dark, warm glow) ---------- */
.cta-band {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(130% 180% at 100% 0%, rgba(226,50,38,.32), transparent 55%),
    radial-gradient(120% 160% at 0% 100%, rgba(193,39,45,.18), transparent 50%),
    linear-gradient(180deg, #2b313a 0%, #20262d 100%);
}
.cta-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.cta-band .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; padding-block: clamp(3rem, 2rem + 4vw, 4.6rem); }
.cta-band h2 { color: #fff; margin: 0; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.cta-band p { color: #aeb6c0; margin: .6rem 0 0; max-width: 48ch; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1.5rem, 1rem + 2vw, 2.6rem); }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; color: var(--charcoal); margin-bottom: .4rem; font-size: .96rem; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fdfcfa; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(241,90,36,.14);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.field .hint { font-size: .85rem; color: var(--slate); margin-top: .35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 620px){ .form-row { grid-template-columns: 1fr; gap: 0; } }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-weight: 600; }
.form-status.show { display: block; }
.form-status.ok { background: #e7f6ee; color: var(--success); border: 1px solid #bce6cf; }
.form-status.err { background: #fdecea; color: var(--error); border: 1px solid #f5c6c0; }
.form-note { font-size: .85rem; color: var(--slate); }
.recaptcha-note { font-size: .78rem; color: var(--slate); margin-top: 1rem; }
.recaptcha-note a { color: var(--slate); text-decoration: underline; }

.notice {
  background: #fff6e6; border: 1px solid #f3d79a; color: #8a5a10;
  border-radius: var(--radius-sm); padding: .8rem 1rem; font-size: .9rem; margin-bottom: 1.4rem;
}
.notice strong { color: #6e4708; }

/* ---------- Contact info ---------- */
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--mist-2); color: var(--red); display: grid; place-items: center; }
.info-list b { font-family: var(--font-head); color: var(--charcoal); display: block; font-size: .95rem; }
.info-list a, .info-list span { color: var(--slate); }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: var(--radius); box-shadow: var(--shadow-sm); margin-top: 1.5rem; }

/* ---------- Footer (elegant, deep charcoal) ---------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #1c2127 0%, #14181d 100%);
  color: #aab2bd;
  padding-block: clamp(3.6rem, 2.4rem + 3vw, 5.2rem) 0;
}
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: rgba(255,255,255,.09); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.25fr; gap: clamp(1.8rem, 1rem + 3vw, 3.2rem); }
@media (max-width: 860px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.2rem; } }
.site-footer h4 {
  color: #fff; font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
  margin: 0 0 1.3rem; padding-bottom: .75rem; position: relative;
}
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 26px; height: 2px; background: var(--brand-grad); border-radius: 2px; }
.site-footer p { color: #97a0ab; font-size: .95rem; }
.footer-brand img { height: 76px; width: auto; margin-bottom: 1.4rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.footer-links a { position: relative; color: #aab2bd; font-weight: 500; font-size: .96rem; display: inline-block; padding: 1px 0; transition: color .2s var(--ease); }
.footer-links a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 1px; background: var(--red-bright); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover::after { transform: scaleX(1); }
.footer-contact { list-style: none; padding: 0; margin: 0; line-height: 1.5; }
.footer-contact li { display: flex; gap: .85rem; margin-bottom: 1.15rem; color: #aab2bd; font-size: .95rem; align-items: flex-start; }
.footer-contact .ico { color: var(--gold); flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.03); display: grid; place-items: center; }
.footer-contact a { color: #aab2bd; transition: color .2s var(--ease); }
.footer-contact a:hover { color: #fff; }
/* elegant map treatment (works alongside the inline radius/height) */
.site-footer iframe { box-shadow: 0 10px 26px rgba(0,0,0,.32); filter: grayscale(.18) contrast(.96); border: 1px solid rgba(255,255,255,.08); }
.socials { display: flex; gap: .7rem; margin-top: 1.5rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.13);
  display: grid; place-items: center; color: #ccd2da;
  transition: background .25s var(--ease), border-color .2s, color .2s, transform .2s var(--ease), box-shadow .25s var(--ease);
}
.socials a:hover { background: var(--brand-grad); border-color: transparent; color: #fff; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(225,37,27,.32); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 3rem; padding-block: 1.6rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; align-items: center; font-size: .85rem; color: #79818c; }
.footer-bottom a { color: #aab2bd; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom .footer-tag { display: inline-flex; align-items: center; gap: .5rem; letter-spacing: .04em; }
.footer-bottom .footer-tag::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--brand-grad); }

/* --- Footer on phones: two tight nav columns instead of one long ribbon --- */
@media (max-width: 620px){
  .site-footer { padding-block: 2.6rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; align-items: start; }
  .footer-brand, .footer-grid > .footer-col:last-child { grid-column: 1 / -1; }
  .footer-brand img { height: 58px; margin-bottom: 1rem; }
  .footer-brand p { font-size: .92rem; line-height: 1.6; margin-bottom: 0; max-width: 42ch; }
  .socials { margin-top: 1.2rem; gap: .6rem; }
  .socials a { width: 38px; height: 38px; }
  .site-footer h4 { margin-bottom: 1rem; padding-bottom: .6rem; font-size: .72rem; }
  .footer-links { gap: .7rem; }
  .footer-links a { font-size: .92rem; }
  /* hairline lead-in above the contact block so it reads as its own group */
  .footer-grid > .footer-col:last-child { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.9rem; }
  .footer-contact li { margin-bottom: .95rem; font-size: .92rem; gap: .75rem; }
  .footer-contact .ico { width: 30px; height: 30px; border-radius: 9px; }
  .footer-contact .ico svg { width: 15px; height: 15px; }
  .footer-bottom { margin-top: 2.2rem; padding-block: 1.15rem; }
  .footer-bottom .container { flex-direction: column; align-items: flex-start; gap: .55rem; font-size: .78rem; }
}

/* CTA band — arrow micro-interaction + refined rhythm */
.cta-band .inner .btn { position: relative; }
.cta-band .inner .btn::after { content: "\2192"; margin-left: .6rem; font-weight: 600; display: inline-block; transition: transform .2s var(--ease); }
.cta-band .inner .btn:hover::after { transform: translateX(4px); }
.cta-band .inner p { letter-spacing: .005em; }

/* ============================================================
   About page — elegant, modern, varied (no repeated card grids)
   ============================================================ */
.about-hero { overflow: hidden; }
.about-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .14; z-index: 0; }
.about-hero .container { position: relative; z-index: 2; padding-block: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.about-hero h1 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); }

/* Editorial intro (image + text) */
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; gap: 2.5rem; } }
.editorial__media { position: relative; }
.editorial__media img { position: relative; z-index: 1; width: 100%; border-radius: 18px; box-shadow: var(--shadow-lg); }
.editorial__media::before { content: ""; position: absolute; right: -18px; bottom: -18px; width: 58%; height: 58%; border-radius: 18px; background: var(--red); z-index: 0; }
.editorial__media::after { content: ""; position: absolute; left: -16px; top: -16px; width: 78px; height: 78px; border: 3px solid var(--red); border-radius: 14px; z-index: 0; opacity: .5; }
.equote { margin: 1.9rem 0 0; padding: .4rem 0 .4rem 1.6rem; border-left: 3px solid var(--red); }
.equote p { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.2rem; line-height: 1.5; color: var(--charcoal); margin: 0; }
.equote cite { display: block; margin-top: .6rem; font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

/* Vision & Mission — dark split with big numerals */
.vm { display: grid; grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .vm { grid-template-columns: 1fr; } }
.vm__col { padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); }
.vm__col:first-child { border-right: 1px solid rgba(255,255,255,.13); }
@media (max-width: 820px) { .vm__col:first-child { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); } }
.vm__no { font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--red-bright); display: block; margin-bottom: .7rem; }
.vm__col h3 { color: #fff; font-size: 1.45rem; margin-bottom: .6rem; }
.vm__col p { color: #aab2bd; font-size: 1.08rem; margin: 0; }

/* Slogan statement band */
.slogan { text-align: center; max-width: 60ch; margin-inline: auto; }
.slogan blockquote { margin: 0; font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; font-size: clamp(1.7rem, 1.1rem + 2.6vw, 3rem); color: var(--charcoal); line-height: 1.18; }
.slogan blockquote .hl { color: var(--red); }
.slogan .src { margin: 1rem 0 0; color: var(--slate); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-family: var(--font-head); font-weight: 700; }

/* TRIAD values — borderless row with dividers */
.values { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: .5rem; }
@media (max-width: 820px) {
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .values__item:last-child { grid-column: 1 / -1; }
}
.values__item { text-align: center; padding: 1rem 1.2rem; position: relative; transition: transform .25s var(--ease); }
.values__item:hover { transform: translateY(-6px); }
.values__item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 14%; height: 72%; width: 1px; background: var(--line); }
@media (max-width: 820px) { .values__item::after { display: none; } }
.values__letter { font-family: var(--font-head); font-weight: 800; font-size: clamp(3.4rem, 2.2rem + 2.6vw, 5rem); color: var(--red); line-height: .95; transition: color .25s var(--ease); }
.values__item:hover .values__letter { color: var(--red-bright); }
.values__item h3 { font-size: 1.05rem; margin: .5rem 0 .25rem; letter-spacing: .01em; }
.values__item p { font-size: .85rem; color: var(--slate); margin: 0; }

/* Who we serve — clean dark band, balanced two columns (no image) */
.serve-band { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 150% at 100% 0%, rgba(193,39,45,.16), transparent 55%),
              linear-gradient(180deg, #20262d 0%, #14181d 100%); }
.serve-band::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; z-index: 1;
  background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.serve-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(2.2rem, 1rem + 5vw, 5rem); align-items: center; padding-block: clamp(3.5rem, 2.5rem + 5vw, 6rem); }
@media (max-width: 820px) { .serve-band__inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.serve-band h2 { color: #fff; font-size: clamp(1.9rem, 1.4rem + 2vw, 2.9rem); }
.serve-band p { color: #b6bec8; margin: 0; }
.serve-tags { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.serve-tags li { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .5rem 1.15rem;
  font-family: var(--font-head); font-weight: 600; font-size: .88rem; color: #e3e8ee; transition: border-color .2s, color .2s, background .2s; }
.serve-tags li:hover { border-color: var(--red-bright); color: #fff; background: rgba(239,58,44,.12); }
/* figure — clean type with red rule (own column) */
.serve-stat { position: relative; padding-left: 1.7rem; }
.serve-stat::before { content: ""; position: absolute; left: 0; top: .15rem; bottom: .15rem; width: 4px; border-radius: 3px;
  background: linear-gradient(180deg, var(--red), var(--red-bright)); }
.serve-stat__num { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 1.7rem + 2.6vw, 3.6rem); color: #fff; line-height: 1.02; }
.serve-stat__lbl { display: block; color: var(--red-bright); font-weight: 700; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; margin-top: .8rem; }
.serve-stat__sub { display: block; color: #9aa3ae; font-size: .92rem; margin-top: .45rem; }

/* ============================================================
   Home page — elegant, varied sections
   ============================================================ */
/* Hero polish */
.hero::after { background: linear-gradient(100deg, rgba(11,14,19,.90) 0%, rgba(11,14,19,.60) 52%, rgba(11,14,19,.34) 100%); }
.hero-inner { max-width: 720px; }
.hero .eyebrow { color: var(--red-bright); }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.2rem); }

/* Pillars — process row (light) */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 1rem + 2.5vw, 3rem); }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; gap: 2rem; } }
.pillar { position: relative; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.pillar::before { content: ""; position: absolute; top: -1px; left: 0; width: 54px; height: 2px; background: var(--red); }
.pillar__no { font-family: var(--font-head); font-weight: 800; font-size: .92rem; letter-spacing: .14em; color: var(--red); }
.pillar h3 { margin: .7rem 0 .5rem; font-size: 1.32rem; }
.pillar p { color: var(--slate); margin: 0; }

/* Statement band */
.statement { text-align: center; max-width: 66ch; margin-inline: auto; }
.statement blockquote { margin: 0; font-family: var(--font-head); font-weight: 800; letter-spacing: -.01em; line-height: 1.22; font-size: clamp(1.6rem, 1.1rem + 2.4vw, 2.7rem); color: var(--charcoal); }
.statement blockquote .hl { color: var(--red); }
.statement .src { margin: 1rem 0 0; color: var(--slate); letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; font-family: var(--font-head); font-weight: 700; }

/* Products — dark showcase (thumbnail cards) */
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.1rem, 1rem + 1vw, 1.6rem); }
@media (max-width: 760px) { .showcase-grid { grid-template-columns: 1fr; } }
.pcard { display: grid; grid-template-columns: 112px 1fr; gap: 1.4rem; align-items: center;
  padding: 1.3rem; border: 1px solid rgba(255,255,255,.10); border-radius: 16px; background: rgba(255,255,255,.03);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.pcard:hover { border-color: rgba(239,58,44,.5); background: rgba(255,255,255,.055); transform: translateY(-4px); }
.pcard__thumb { width: 112px; height: 112px; border-radius: 12px; object-fit: cover; }
@media (max-width: 460px) { .pcard { grid-template-columns: 1fr; } .pcard__thumb { width: 100%; height: 160px; } }
.pcard .tag { color: var(--red-bright); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pcard h3 { color: #fff; margin: .35rem 0 .35rem; font-size: 1.18rem; }
.pcard p { color: #9aa3ae; margin: 0 0 .7rem; font-size: .92rem; }
.pcard .more { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.pcard .more::after { content: "\2192"; transition: transform .2s var(--ease); }
.pcard:hover .more::after { transform: translateX(4px); }

/* ---------- Reveal-on-scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ---------- Interior page hero ---------- */
.page-hero { background: var(--charcoal); color: #fff; position: relative; overflow: hidden; }
.page-hero::after { content:""; position:absolute; inset:0; height:4px; top:auto; background: linear-gradient(90deg, var(--red), var(--red-bright)); }
.page-hero .container { position: relative; padding-block: clamp(1.9rem, 1.4rem + 1.8vw, 3rem); }
.page-hero h1 { color: #fff; margin-bottom:.5rem; }
.page-hero p { color: #c9cdd3; max-width: 62ch; margin: 0; }
.breadcrumb { font-size: .9rem; color: #9aa0a8; margin-bottom: .8rem; }
.breadcrumb a { color: #cfd4da; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Product detail blocks ---------- */
.prod { padding-block: clamp(2.6rem, 1.6rem + 4vw, 4.5rem); border-bottom: 1px solid var(--line); }
.prod:last-child { border-bottom: 0; }
.prod__head { display:flex; align-items:center; gap:1rem; margin-bottom:1.4rem; }
.prod__no { font-family:var(--font-head); font-weight:800; color:#fff; background:var(--brand-grad); width:52px; height:52px; border-radius:14px; display:grid; place-items:center; flex:none; font-size:1.1rem; }
.subhead { font-family:var(--font-head); font-weight:700; color:var(--charcoal); margin:1.6rem 0 .6rem; font-size:1.08rem; }
.chip-list { list-style:none; padding:0; margin:.4rem 0 1.2rem; display:flex; flex-wrap:wrap; gap:.6rem; }
.chip-list li { background:var(--mist-2); color:var(--charcoal); font-family:var(--font-head); font-weight:600; font-size:.9rem; padding:.45rem 1rem; border-radius:999px; border:1px solid var(--line); }
.cols-2 { columns: 2; column-gap: 2.5rem; }
.cols-2 li { break-inside: avoid; }
@media (max-width:640px){ .cols-2 { columns: 1; } }
.pullquote { border-left:4px solid var(--gold); padding:.4rem 0 .4rem 1.2rem; margin:1.4rem 0; font-style:italic; color:var(--slate); font-size:1.1rem; }

/* ---------- Team / board ---------- */
.team-card { background:#fff; border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow-sm); overflow:hidden; }
.team-card__top { display:flex; gap:1.1rem; align-items:center; padding:1.6rem 1.6rem 0; }
.team-avatar { width:78px; height:78px; border-radius:50%; flex:none; object-fit:cover; background:var(--brand-grad); color:#fff; font-family:var(--font-head); font-weight:800; font-size:1.6rem; display:grid; place-items:center; }
.team-card h3 { margin:0; }
.team-card .role { font-family:var(--font-head); font-weight:600; color:var(--red); font-size:.92rem; }
.team-card__body { padding:1.2rem 1.6rem 1.7rem; }
.team-card__body p { color:var(--slate); }
.bars { display:grid; gap:.7rem; margin:1rem 0; }
.bar__label { display:flex; justify-content:space-between; font-family:var(--font-head); font-weight:600; font-size:.85rem; color:var(--charcoal); margin-bottom:.25rem; }
.bar__track { height:8px; background:var(--mist-2); border-radius:999px; overflow:hidden; }
.bar__fill { height:100%; background:var(--brand-grad); border-radius:999px; }
.mini-head { font-family:var(--font-head); font-weight:700; font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color:var(--slate); margin:1.2rem 0 .5rem; }
.team-card ul { margin:.3rem 0 0; padding-left:1.1rem; }
.team-card ul li { margin-bottom:.3rem; color:var(--slate); }

/* ---------- Big application form ---------- */
.fieldset { border:1px solid var(--line); border-radius:var(--radius); padding:1.6rem; margin-bottom:1.6rem; }
.fieldset > legend { font-family:var(--font-head); font-weight:700; color:var(--charcoal); padding:0 .5rem; font-size:1.05rem; }
.form-grid-3 { display:grid; grid-template-columns:repeat(3,1fr); gap:1.1rem; }
@media (max-width:760px){ .form-grid-3 { grid-template-columns:1fr; gap:0; } }
.radio-row { display:flex; gap:1.2rem; flex-wrap:wrap; padding-top:.3rem; }
.radio-row label { font-weight:500; display:inline-flex; align-items:center; gap:.4rem; }
.radio-row input { width:auto; }
.full { grid-column:1 / -1; }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.flex{display:flex}.wrap{flex-wrap:wrap}.gap{gap:1rem}.items-center{align-items:center}
.tint-pill{display:inline-block;background:var(--mist-2);color:var(--red);font-family:var(--font-head);font-weight:600;font-size:.85rem;padding:.35rem .9rem;border-radius:999px}

/* =========================================================
   Products page — editorial "prospectus" layout
   ========================================================= */
.page-products .prod-hero .eyebrow { color: var(--gold); }
.prod-hero .container { padding-block: clamp(2.2rem, 1.6rem + 2vw, 3.6rem); }
.prod-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); }
.prod-hero__lead { max-width: 60ch; }

/* Contents index — part of the dark masthead */
.prod-index {
  list-style: none; margin: clamp(1.8rem, 1.2rem + 2vw, 2.8rem) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; overflow: hidden;
}
@media (max-width: 860px){ .prod-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .prod-index { grid-template-columns: 1fr; } }
.prod-index li a { display: block; height: 100%; padding: 1.15rem 1.25rem; background: var(--charcoal); transition: background .2s var(--ease); }
.prod-index li a:hover { background: #363c44; }
.pi-no { font-family: var(--font-head); font-weight: 800; font-size: .78rem; color: var(--gold); letter-spacing: .06em; }
.pi-name { display: block; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.02rem; margin: .35rem 0 .45rem; }
.pi-desc { display: block; color: #aab2bd; font-size: .85rem; line-height: 1.45; }

/* Product articles */
.product { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); scroll-margin-top: calc(var(--header-h) + 16px); }
.product--tint { background: var(--mist); }
.product__head { display: flex; align-items: flex-start; gap: clamp(1rem, .6rem + 2vw, 2.2rem); padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.product--tint .product__head { border-bottom-color: rgba(44,49,56,.1); }
.product__num {
  flex: none; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.8rem, 2rem + 3.5vw, 5rem); line-height: .82; letter-spacing: -.03em;
  color: rgba(193,39,45,.14); -webkit-text-stroke: 1.5px rgba(193,39,45,.5);
}
.product__headmain { padding-top: .35rem; }
.product__kicker { font-family: var(--font-head); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 .5rem; }
.product__head h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing: -.025em; margin: 0 0 .7rem; }
.product__lead { color: var(--slate); font-size: 1.08rem; line-height: 1.5; margin: 0; max-width: 48ch; }
.product__body { max-width: 76ch; }
.page-products .product__body p { margin: 0 0 1.15rem; }

/* Framed image */
.product__figure { margin: 1.8rem 0; }
.product__figure img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); display: block; }

/* Subheads with a brand tick */
.page-products .subhead { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--charcoal); margin: 1.9rem 0 .8rem; font-size: 1.05rem; }
.page-products .subhead::before { content: ""; flex: none; width: 18px; height: 2px; border-radius: 2px; background: var(--brand-grad); }

/* Ledger-style lists — red dash markers */
.page-products .ticks { margin: 1rem 0 1.5rem; }
.page-products .ticks li { padding-left: 1.7rem; }
.page-products .ticks li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 12px; height: 2px; border-radius: 2px; background: var(--red); color: transparent;
}
.page-products .ticks ul { margin: .5rem 0 .3rem; }
.page-products .ticks ul li::before { width: 8px; background: var(--gold); }

/* Tags */
.page-products .chip-list { margin: .6rem 0 1.2rem; }
.page-products .chip-list li {
  background: color-mix(in srgb, var(--charcoal) 3%, #fff); border: 1px solid var(--line);
  border-radius: 8px; color: var(--charcoal); font-family: var(--font-head); font-weight: 600;
  font-size: .88rem; padding: .5rem 1rem;
}
.page-products .product--tint .chip-list li { background: #fff; }

.product__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2.5rem; margin-top: 1.6rem; }
@media (max-width: 600px){ .product__cols { grid-template-columns: 1fr; } }

/* Editorial pull-quote */
.page-products .pullquote {
  border-left: 3px solid var(--red); background: none; margin: 0 0 1.6rem;
  padding: .2rem 0 .2rem 1.5rem; font-family: var(--font-head); font-weight: 500; font-style: normal;
  color: var(--charcoal); font-size: clamp(1.2rem, 1rem + .8vw, 1.6rem); line-height: 1.4;
}
.page-products .pullquote cite { display: block; margin-top: .7rem; font-style: normal; font-family: var(--font-body); font-weight: 600; font-size: .9rem; color: var(--slate); }

/* Per-product apply link */
.product__apply { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.7rem; font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: 1rem; }
.product__apply span { transition: transform .2s var(--ease); }
.product__apply:hover { color: var(--red-700); }
.product__apply:hover span { transform: translateX(4px); }

/* =========================================================
   Team page — editorial leadership (serif-led, restrained)
   ========================================================= */
.page-team .team-hero .eyebrow { color: var(--gold); }
.team-hero .container { padding-block: clamp(2.4rem, 1.8rem + 2vw, 3.6rem); }
.team-hero h1 { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2.5vw, 3.4rem); letter-spacing: -.02em; }
.team-hero__lead { max-width: 58ch; }

.dir { padding-block: clamp(2.8rem, 2rem + 3.5vw, 5rem); border-top: 1px solid var(--line); }
.dir:first-child { border-top: 0; padding-top: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); }
.dir__grid { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: clamp(1.4rem, 1rem + 3vw, 4.5rem); align-items: start; }
@media (max-width: 760px){ .dir__grid { grid-template-columns: 1fr; gap: 1.2rem; } }

/* Quiet left meta rail */
.dir__mono {
  display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--mist); color: var(--charcoal);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; margin-bottom: 1.15rem;
}
.dir__role { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .92rem; margin: 0 0 .35rem; }
.dir__domain { font-family: var(--font-head); font-size: .71rem; letter-spacing: .13em; text-transform: uppercase; color: var(--slate); line-height: 1.5; margin: 0; }
@media (max-width: 760px){
  .dir__mono { margin-bottom: .8rem; }
  .dir__domain { display: inline; }
}

/* Main column */
.dir__name { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 1.3rem + 1.5vw, 2.3rem); letter-spacing: -.02em; line-height: 1.12; color: var(--charcoal); margin: 0 0 1.1rem; }
.page-team .dir__bio p { margin: 0 0 1.15rem; max-width: 70ch; font-size: 1.03rem; line-height: 1.7; }

/* Credentials — filed registry */
.dir__cred { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 3.5rem; margin-top: 2rem; padding-top: 1.7rem; border-top: 1px solid var(--line); }
.dir__cred--single { grid-template-columns: 1fr; max-width: 62ch; }
@media (max-width: 560px){ .dir__cred { grid-template-columns: 1fr; } }
.dir__cred h3 { font-family: var(--font-head); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin: 0 0 .7rem; }
.dir__cred ul { list-style: none; margin: 0; padding: 0; }
.dir__cred li { position: relative; padding: .42rem 0 .42rem 1.15rem; color: var(--ink); font-size: .95rem; line-height: 1.5; }
.dir__cred li::before { content: ""; position: absolute; left: 0; top: .95em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* =========================================================
   Contact page — invitation-led (letterhead coordinates, centred form, full-bleed map)
   ========================================================= */
.page-contact .contact-hero .eyebrow { color: var(--gold); }
.page-contact .contact { background: var(--mist); padding-bottom: 0; }

/* Invitation */
.contact__intro { max-width: 46ch; }
.contact__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem); letter-spacing: -.035em; line-height: 1.06; color: var(--charcoal); margin: .2rem 0 1.1rem; }
.contact__lead { color: var(--slate); font-size: 1.12rem; line-height: 1.7; margin: 0; max-width: 52ch; }

/* Coordinates — engraved letterhead row */
.contact__coords { display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 760px){ .contact__coords { grid-template-columns: 1fr 1fr; } }
.contact__coords > div { padding: 1.7rem clamp(1.1rem, 2vw, 2rem); border-left: 1px solid var(--line); }
.contact__coords > div:first-child { border-left: 0; padding-left: 0; }
@media (max-width: 760px){
  .contact__coords > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .contact__coords > div:nth-child(-n+2) { border-top: 0; }
}
/* Phone: a ruled letterhead register — label left, value right — instead of
   four tall stacked blocks separated by empty space. */
@media (max-width: 560px){
  .page-contact .contact { padding-top: 2.1rem; }
  .contact__coords { grid-template-columns: 1fr; border-top: 0; }
  .contact__coords > div {
    display: grid; grid-template-columns: 4.9rem 1fr; align-items: first baseline;
    column-gap: 1.1rem; padding: 1.05rem 0; border-top: 1px solid var(--line);
  }
  .contact__coords > div:first-child { border-top: 0; padding-top: .2rem; }
  .coord__label { margin-bottom: 0; font-size: .62rem; letter-spacing: .13em; line-height: 1.9; }
  .coord__value { font-size: 1rem; line-height: 1.45; }
  .coord__follow { gap: .9rem; }
}
.coord__label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600); margin-bottom: .7rem; }
.coord__value { font-family: var(--font-head); font-weight: 600; font-size: 1.06rem; color: var(--charcoal); line-height: 1.5; }
.coord__value a { color: var(--charcoal); transition: color .2s var(--ease); }
.coord__value a:hover { color: var(--red); }
.coord__follow { display: flex; gap: 1.1rem; }

/* Centred, refined form */
.contact__panel { max-width: 660px; margin: clamp(3rem, 2rem + 3vw, 5rem) auto clamp(3.5rem, 2rem + 5vw, 6rem); }
.contact__panel .eyebrow { color: var(--red); }
.contact__panel h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem); letter-spacing: -.02em; color: var(--charcoal); margin: 0 0 .5rem; }
.contact__panel .form-note { margin-bottom: 2rem; }
.contact__submit { width: 100%; justify-content: center; margin-top: 1rem; }

/* Underline fields */
.page-contact .field { margin-bottom: 2rem; }
.page-contact .field label { font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: .55rem; }
.page-contact .field input,
.page-contact .field select,
.page-contact .field textarea {
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: .55rem 0; color: var(--ink); font-size: 1rem; transition: border-color .2s var(--ease);
}
.page-contact .field input:focus,
.page-contact .field select:focus,
.page-contact .field textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: none; }
.page-contact .field input:user-invalid,
.page-contact .field textarea:user-invalid { border-bottom-color: var(--error); }
.page-contact .field textarea { min-height: 120px; resize: vertical; }
.page-contact .field input::placeholder, .page-contact .field textarea::placeholder { color: #a7abb0; }
.page-contact .form-row { gap: 1.8rem; }

/* Full-bleed map */
.contact-map { position: relative; }
.contact-map iframe { border: 0; width: 100%; height: clamp(320px, 38vw, 440px); display: block; filter: grayscale(.3) contrast(.95); border-top: 1px solid var(--line); }
.contact-map__tag { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; pointer-events: none;
  padding-inline: clamp(1rem, 3vw, 2rem); }
.contact-map__tag span { display: inline-block; max-width: 100%; margin: 0 0 1.6rem; pointer-events: auto;
  background: var(--charcoal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .03em; padding: .7rem 1.1rem; border-radius: 10px; border-left: 3px solid var(--red);
  box-shadow: 0 14px 34px -16px rgba(0,0,0,.5); }

/* =========================================================
   Apply page — elegant numbered sections + underline fields
   ========================================================= */
.page-apply .apply-hero .eyebrow { color: var(--gold); }
.page-apply .apply-hero .req-gold { color: var(--gold); }

/* Numbered form sections (auto 01/02/03), no boxed fieldsets */
.page-apply form { counter-reset: fs; }
.page-apply .fieldset { border: 0; border-radius: 0; padding: 0; margin: 0 0 clamp(2.6rem, 1.8rem + 3vw, 4.2rem); counter-increment: fs; }
.page-apply .fieldset > legend {
  display: block; width: 100%; float: left; padding: 0 0 .9rem; margin-bottom: 1.9rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 1rem + .7vw, 1.55rem);
  letter-spacing: -.01em; color: var(--charcoal);
}
.page-apply .fieldset > legend::before {
  content: counter(fs, decimal-leading-zero); margin-right: .85rem;
  font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .08em;
  color: var(--red); vertical-align: 2px;
}
.page-apply .fieldset > legend + * { clear: both; }

/* Underline fields — consistent with the contact page */
.page-apply .field { margin-bottom: 1.6rem; }
.page-apply .field > label { font-family: var(--font-head); font-weight: 700; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); margin-bottom: .5rem; }
.page-apply .field input,
.page-apply .field select,
.page-apply .field textarea {
  background: transparent; border: 0; border-bottom: 1.5px solid var(--line); border-radius: 0;
  padding: .5rem 0; color: var(--ink); font-size: 1rem; transition: border-color .2s var(--ease);
}
.page-apply .field input:focus,
.page-apply .field select:focus,
.page-apply .field textarea:focus { outline: none; border-bottom-color: var(--red); box-shadow: none; }
.page-apply .field input:user-invalid,
.page-apply .field textarea:user-invalid { border-bottom-color: var(--error); }
.page-apply .field textarea { min-height: 130px; resize: vertical; }
.page-apply .field input::placeholder, .page-apply .field textarea::placeholder { color: #a7abb0; }

.page-apply .form-grid-3 { gap: 1.5rem 2rem; }
@media (max-width: 760px){ .page-apply .form-grid-3 { gap: 0; } }

/* Radio rows */
.page-apply .radio-row { padding-top: .5rem; gap: 1.6rem; }
.page-apply .radio-row label { text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-weight: 500; font-size: .96rem; color: var(--ink); margin: 0; }
.page-apply .radio-row input { accent-color: var(--red); }

/* Declaration + submit */
.page-apply .fieldset .form-note { margin-top: 1rem; }
.page-apply button[type="submit"] { width: 100%; justify-content: center; margin-top: 1rem; }

/* Custom-styled select controls (match underline fields) — contact + apply */
.page-contact .field select,
.page-apply .field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  padding-right: 1.9rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b727a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .1rem center; background-size: 15px;
  transition: border-color .2s var(--ease), background-image .2s;
}
.page-contact .field select:focus,
.page-apply .field select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c1272d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.page-contact .field select::-ms-expand,
.page-apply .field select::-ms-expand { display: none; }
/* Option list — best-effort (respected by some browsers) */
.page-contact .field select option,
.page-apply .field select option { color: var(--ink); background: #fff; }

/* ============================================================
   Mobile pass — even gutters, balanced rhythm, nothing clipped
   ============================================================ */

/* Decorative offsets and full-bleed art can never push a scrollbar. */
html { overflow-x: clip; }

/* Long, unbreakable strings (emails, URLs) wrap instead of overflowing. */
.footer-contact a, .coord__value a, .info-list a { overflow-wrap: anywhere; }

@media (max-width: 720px) {
  /* Calmer vertical rhythm — the tall desktop spacing reads as dead air here. */
  .section { padding-block: clamp(2.9rem, 2.2rem + 3vw, 4rem); }
  .section-head { margin-bottom: 1.9rem; }

  /* Primary calls to action fill the column instead of hugging their labels,
     so stacked buttons line up instead of stepping in and out. */
  .hero-actions { display: grid; gap: .7rem; }
  .hero-actions .btn,
  .cta-band .inner .btn,
  .contact__submit,
  .page-apply button[type="submit"] { width: 100%; justify-content: center; }

  .hero-inner { padding-block: clamp(3rem, 2rem + 6vw, 5rem); }
  .hero-inner p { max-width: none; }

  /* Product cards: the photo spans the card edge-to-edge, no inner ledge. */
  .pcard__thumb { height: 168px; }

  /* Testimonials */
  .tm-grid { gap: 2.25rem; }
  .tm-feature blockquote { font-size: 1.22rem; }

  /* Map: shorter on a phone so it doesn't eat the whole screen. */
  .contact-map iframe { height: 300px; }
}

/* --- About: keep the decorative frames inside the gutter --- */
@media (max-width: 620px) {
  .editorial__media::before { right: -10px; bottom: -10px; width: 52%; height: 52%; }
  .editorial__media::after { left: -9px; top: -9px; width: 56px; height: 56px; border-width: 2px; }
}

/* --- About: TRIAD stays a balanced two-up rather than one tall ribbon --- */
@media (max-width: 460px) {
  .values { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
  .values__item { padding: .6rem .4rem; }
  /* the fifth value centres across both columns instead of sitting alone */
  .values__item:last-child { grid-column: 1 / -1; }
  .values__letter { font-size: 3rem; }
  .values__item h3 { font-size: .98rem; }
}

/* --- Products: align the gradient tick with the first line of the subhead --- */
.page-products .subhead { align-items: flex-start; }
.page-products .subhead::before { margin-top: .62em; }

/* --- Consistent typography: the pull-quote uses the brand face, not Georgia --- */
.equote p { font-family: var(--font-body); font-style: italic; }
