/* ==========================================================================
   Pramuth Engineers Private Limited — Core Stylesheet
   Editorial engineering aesthetic. Cream paper · navy ink · teal accent.
   Original implementation. Class names preserved across the site.
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Brand (from logo): navy #15273B, teal #25B39E */
  --ink: #16191d;          /* near-black headings/text */
  --ink-2: #14171c;        /* dark sections */
  --ink-soft: #5c5b54;     /* muted body */
  --ink-faint: #8a887f;
  --navy: #15273b;
  --accent: #1f9e8a;       /* teal-green, deepened for contrast on cream */
  --accent-2: #167a6b;
  --accent-3: #2bb6a1;

  /* Surfaces */
  --paper: #ffffff;        /* white */
  --paper-2: #f5f6f7;      /* light grey */
  --paper-3: #eceef0;      /* slightly deeper grey */
  --white: #ffffff;
  --line: rgba(20,23,28,.12);
  --line-soft: rgba(20,23,28,.07);
  /* Back-compat aliases (used by some inline styles) */
  --paper-cool: var(--paper-2);
  --paper-alt: var(--paper-2);
  --navy-800: var(--ink-2);
  --on-dark: #d9d6cd;
  --on-dark-soft: rgba(255,255,255,.62);

  /* Type */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1320px;
  --container-narrow: 920px;
  --gutter: 40px;
  --radius: 2px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 88px;
  --shadow: 0 24px 70px rgba(20,23,28,.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, canvas { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-2); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--ink); }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.04;
  margin: 0 0 .4em;
  font-weight: 700;
  letter-spacing: normal;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4.4vw, 3.9rem); font-weight: 800; }
h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.15em; }
strong { color: var(--ink); font-weight: 600; }

.display, .section-head h2, .hero h1, .cta-band h2 { text-transform: uppercase; letter-spacing: normal; }
.section-head h2 em, .hero h1 em, .cta-band h2 em { font-style: normal; color: var(--accent); }

.lead { font-size: 1.28rem; color: var(--ink-soft); line-height: 1.6; font-weight: 400; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--font-body); font-weight: 600;
  font-size: .684rem; letter-spacing: normal; text-transform: uppercase;
  color: #fff; background: var(--ink-2);
  padding: .55em 1.05em; border-radius: 0;          /* sharp tag */
  margin-bottom: 1.4rem;
}
.eyebrow.on-dark { color: var(--ink); background: #fff; }   /* invert on dark sections */
.eyebrow { align-self: flex-start; }                        /* tag hugs its text in flex columns */
.eyebrow.center { justify-content: center; align-self: center; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: clamp(64px, 9vw, 140px) 0; }
.section.tight { padding: clamp(44px, 5vw, 80px) 0; }
.section--alt { background: var(--paper-2); }
.section--cool { background: var(--paper-3); }
/* Parallax (fixed) background section */
.section--parallax { position: relative; background-color: var(--ink-2); color: var(--on-dark); isolation: isolate; }
.section--parallax .pl-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.section--parallax::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(16,19,23,.74); }
.section--parallax h1,.section--parallax h2,.section--parallax h3,.section--parallax h4 { color: #fff; }
@media (max-width: 980px) {
  .section--parallax .pl-bg { background-attachment: scroll; }
}
/* Photo section with light (white) overlay — keeps dark text readable */
.section--photo { position: relative; isolation: isolate; }
.section--photo .pl-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.section--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.86); }
@media (max-width: 980px) { .section--photo .pl-bg { background-attachment: scroll; } }
/* Parallax section: white cards keep black headings; icons borderless, navy, 10% larger */
.section--parallax .card h3 { color: var(--ink); }
.section--parallax .card__icon { background: transparent; color: var(--navy); width: auto; height: auto; margin-bottom: 18px; display: flex; justify-content: flex-start; }
.section--parallax .card__icon svg { width: 33px; height: 33px; }

/* Decorative building wireframe behind a column */
.wf-host { position: relative; }
.wf-bg { position: absolute; left: -30px; top: -40px; width: min(440px, 90%); height: auto; z-index: 0; opacity: .12; pointer-events: none; }
.wf-host > :not(.wf-bg) { position: relative; z-index: 1; }
.section--dark, .section--navy, .section--gradient { background: var(--ink-2); color: var(--on-dark); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4,
.section--navy h1,.section--navy h2,.section--navy h3,.section--navy h4,
.section--gradient h2,.section--gradient h3 { color: #fff; }
/* Stats band: medium grey instead of near-black */
.section.tight.section--dark { background: #6b7075; }
.section.tight.section--dark .stat-band .stat { border-color: rgba(255,255,255,.34); }
.section.tight.section--dark .stat-band .stat .lbl { color: rgba(255,255,255,.86); }

.grid { display: grid; gap: 34px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.section-head { max-width: 880px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .lead { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: 1.05em 2em; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-weight: 600; font-size: .82rem;
  letter-spacing: normal; text-transform: uppercase; line-height: 1;
  border: 1.5px solid transparent; transition: all .25s var(--ease); cursor: pointer;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 1.2em 2.4em; font-size: .86rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
  background: transparent;
}
.site-header.is-solid {
  background: rgba(244,241,234,.94); backdrop-filter: saturate(160%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; display: block; transition: opacity .25s var(--ease); }
.brand .logo-light { display: none; }
.site-header:not(.is-solid) .brand .logo-dark { display: none; }
.site-header:not(.is-solid) .brand .logo-light { display: block; }

.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a.nav-link {
  display: block; padding: .6rem .95rem; font-weight: 500; font-size: .92rem;
  letter-spacing: normal; color: var(--ink); border-radius: var(--radius);
}
.site-header:not(.is-solid) .nav-menu a.nav-link { color: #fff; }
.nav-menu a.nav-link:hover, .nav-menu a.nav-link[aria-current="page"] { color: var(--accent-2); }
.site-header:not(.is-solid) .nav-menu a.nav-link:hover,
.site-header:not(.is-solid) .nav-menu a.nav-link[aria-current="page"] { color: var(--accent-3); }

.has-dropdown > .nav-link::after { content: ""; display: inline-block; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 7px; opacity: .55; }
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 330px;
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 12px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .24s var(--ease);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: .75rem .9rem; border-radius: var(--radius); color: var(--ink); font-weight: 500; font-size: .94rem; }
.dropdown a small { display: block; color: var(--ink-faint); font-weight: 400; font-size: .78rem; margin-top: 2px; }
.dropdown a:hover { background: var(--paper-2); color: var(--accent-2); }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px; align-items: center; justify-content: center; background: transparent; border: 0; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); transition: all .25s var(--ease); }
.site-header:not(.is-solid) .nav-toggle span { background: #fff; }
.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); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: stretch;
  color: #fff; overflow: hidden; padding: var(--header-h) 0 56px;
  background: var(--ink-2);
}
.hero .container { display: flex; flex-direction: column; }
.hero-mark { background: linear-gradient(var(--accent-3), var(--accent-3)) left 100% / 100% .12em no-repeat; padding-bottom: .14em; cursor: default; }
.hero__bg { position: absolute; inset: 0; z-index: 1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,16,20,.55) 0%, rgba(13,16,20,.25) 38%, rgba(13,16,20,.82) 100%); }
.hero .container { position: relative; z-index: 3; width: 100%; }
.hero__top { flex: 1; display: flex; justify-content: flex-start; align-items: center; gap: 30px; margin-bottom: clamp(32px, 6vh, 80px); }
.hero h1 { color: #fff; max-width: 16ch; margin: 0; }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1rem; letter-spacing: normal; text-transform: uppercase; font-weight: 500; margin: 1.6rem 0 0; }
.hero__lead { color: rgba(255,255,255,.85); font-size: 1.2rem; max-width: 46ch; margin: 1.4rem 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.2rem; }
.hero__trio { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.2); }
.hero__trio h3 { color: #fff; font-size: 1.4rem; text-transform: uppercase; letter-spacing: normal; margin-bottom: .5rem; }
.hero__trio p { color: rgba(255,255,255,.74); font-size: .98rem; margin: 0; }
.hero__scroll { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: normal; text-transform: uppercase; }
.hero__scroll svg { width: 14px; animation: bob 1.8s infinite var(--ease); }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- Page banner (interior) ---------- */
.page-banner { position: relative; padding: calc(var(--header-h) + 80px) 0 80px; background: var(--ink-2); color: var(--on-dark); overflow: hidden; }
.page-banner.has-img .pb-img { position: absolute; inset: 0; z-index: 0; opacity: .28; }
.page-banner.has-img .pb-img img { width: 100%; height: 100%; object-fit: cover; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: #fff; max-width: 20ch; }
.page-banner p { color: rgba(255,255,255,.78); font-size: 1.18rem; max-width: 62ch; margin-bottom: 0; }

/* Breadcrumb */
.breadcrumb { font-size: .78rem; letter-spacing: normal; text-transform: uppercase; margin-bottom: 1.6rem; color: rgba(255,255,255,.55); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .5rem; opacity: .4; }
.breadcrumb [aria-current="page"] { color: var(--accent-3); }
.breadcrumb--light { color: var(--ink-faint); }
.breadcrumb--light a { color: var(--ink-soft); }
.breadcrumb--light [aria-current="page"] { color: var(--accent-2); }

/* ---------- Cards ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; transition: all .3s var(--ease); height: 100%; box-shadow: 0 1px 2px rgba(20,23,28,.04); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-soft); }
.section--alt .card { background: var(--white); }
.card__icon { width: 58px; height: 58px; border-radius: 50%; background: var(--paper-3); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 24px; }
.card__icon svg { width: 27px; height: 27px; }
.card h3 { font-size: 1.3rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: 1rem; margin-bottom: 1.1rem; }
.card .card__link { font-weight: 600; font-size: .78rem; letter-spacing: normal; text-transform: uppercase; display: inline-flex; align-items: center; gap: .5em; color: var(--ink); }
.card .card__link svg { width: 1em; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(5px); }
.card .card__link:hover { color: var(--accent-2); }
.service-card { display: flex; flex-direction: column; }
.service-card .num { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--accent); letter-spacing: normal; margin-bottom: 16px; }

/* Numbered services list (Pine "what we do" style) */
.num-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 0; border-top: 1px solid var(--line); }
.num-item { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 40px 30px 40px 0; border-bottom: 1px solid var(--line); align-items: start; transition: background .25s var(--ease); }
.num-item:nth-child(odd) { padding-left: 0; padding-right: 50px; border-right: 1px solid var(--line); }
.num-item:nth-child(even) { padding-left: 50px; }
.num-item .nl-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; opacity: .18; }
.num-item:hover .nl-num { color: var(--accent); opacity: 1; }
.num-item h3 { font-size: 1.45rem; text-transform: uppercase; margin-bottom: .5rem; }
.num-item p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.num-item .card__link { font-weight: 600; font-size: .74rem; letter-spacing: normal; text-transform: uppercase; display: inline-flex; gap: .4em; margin-top: 14px; color: var(--accent-2); }

/* Feature list */
.feature-list { list-style: none; display: grid; gap: 16px; }
.feature-list li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.feature-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 10px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.feature-list.on-dark li { color: rgba(255,255,255,.82); }
.feature-list.two-col { grid-template-columns: 1fr 1fr; }

/* Icon feature list */
.icon-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 30px; margin-top: 22px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 500; font-size: 1rem; line-height: 1.35; }
.icon-list li .ic { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: var(--paper-2); color: var(--accent-2); display: grid; place-items: center; }
.icon-list li .ic svg { width: 21px; height: 21px; }
.icon-list.on-dark li { color: #fff; }
/* On-dark: borderless icons, blue colour, larger glyph */
.icon-list.on-dark li .ic { background: transparent; border-radius: 0; width: auto; height: auto; color: #5aa6dd; }
.icon-list.on-dark li .ic svg { width: 27px; height: 27px; }
@media (max-width: 560px) { .icon-list { grid-template-columns: 1fr; } }

/* Stat band / counters */
.stat-band { display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; }
.stat-band .stat .num { font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4.2rem); font-weight: 800; color: var(--ink); line-height: 1; }
.section--dark .stat-band .stat .num, .section--navy .stat-band .stat .num { color: #fff; }
.stat-band .stat .lbl { color: var(--ink-soft); margin-top: 12px; font-size: .82rem; letter-spacing: normal; text-transform: uppercase; }
.section--dark .stat-band .stat .lbl, .section--navy .stat-band .stat .lbl { color: rgba(255,255,255,.66); }
.stat-band .stat { border-top: 2px solid var(--line); padding-top: 22px; }
.section--dark .stat-band .stat, .section--navy .stat-band .stat { border-color: rgba(255,255,255,.2); }

/* Split media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.media-frame { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); aspect-ratio: 4/5; box-shadow: var(--shadow); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame svg { width: 100%; height: 100%; }
.media-frame.wide { aspect-ratio: 16/10; }

/* Skill bars */
.skills { display: grid; gap: 26px; }
.skill .skill-top { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 10px; font-size: .95rem; }
.skill .bar { height: 6px; background: var(--line); border-radius: 100px; overflow: hidden; }
.skill .bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 100px; transition: width 1.3s var(--ease); }
.skill.in .bar span { width: var(--w, 80%); }

/* Sector mosaic — 4-col grid, flat grey tiles, white gaps, left-aligned text */
.masonry { display: grid; grid-template-columns: 1fr 1fr 1.45fr 1fr; gap: 14px; grid-auto-flow: row dense; }
.masonry .m-item { padding: 48px 42px; text-align: left; background: #f1f1f1; border: 0; display: flex; flex-direction: column; justify-content: center; transition: background .25s var(--ease); }
.masonry .m-item.span2 { grid-column: span 2; }
.m-item h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 16px; color: var(--ink); }
.m-item p { color: var(--ink-faint); margin: 0; font-size: .98rem; line-height: 1.75; }
.m-item.m-img { padding: 0; background-size: cover; background-position: center; min-height: 200px; }
.m-item.slogan { background: var(--accent); }
.m-item.dark { background: var(--ink-2); }
.m-item.slogan strong, .m-item.dark strong { display: block; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: #fff; font-size: clamp(1.5rem, 2.3vw, 2.2rem); line-height: 1.1; letter-spacing: -.01em; }
.m-item.intro h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); }
@media (max-width: 900px) {
  .masonry { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .masonry { grid-template-columns: 1fr; }
  .masonry .m-item.span2 { grid-column: auto; }
  .masonry .m-item { padding: 38px 28px; }
}

/* Image service boxes (sharp corners, photo bg + overlay, icon/title/desc/CTA) */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-box { position: relative; border-radius: 0; overflow: hidden; isolation: isolate; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: #fff; }
.svc-box .svc-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .55s var(--ease); }
.svc-box::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16,19,23,.35) 0%, rgba(16,19,23,.88) 100%); }
.svc-box:hover .svc-bg { transform: scale(1.06); }
.svc-box .svc-ic { color: var(--accent-3); margin-bottom: auto; }
.svc-box .svc-ic svg { width: 30px; height: 30px; }
.svc-box h4 { color: #fff; font-size: 1.12rem; margin: 16px 0 8px; line-height: 1.25; }
.svc-box p { color: rgba(255,255,255,.82); font-size: .9rem; line-height: 1.5; margin: 0 0 14px; }
.svc-box .svc-link { color: #fff; font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; gap: .5em; align-items: center; }
.svc-box .svc-link svg { width: 1em; transition: transform .2s var(--ease); }
.svc-box:hover .svc-link svg { transform: translateX(4px); }
@media (max-width: 900px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .svc-box { min-height: 240px; } }

/* Structure boxes (translucent, over photo/blueprint bg) */
.struct-box { background: rgba(255,255,255,.12); backdrop-filter: blur(3px); border: 1px solid rgba(255,255,255,.2); border-radius: 0; padding: 34px 30px; height: 100%; transition: background .25s var(--ease); }
.struct-box:hover { background: rgba(255,255,255,.18); }
.struct-box .st-sub { display: block; color: var(--accent-3); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.struct-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: .55rem; }
.struct-box p { color: rgba(255,255,255,.8); margin: 0; font-size: .98rem; }

/* Drive list (title left, stacked items right with separators) */
.drive-list { display: grid; }
.drive-item { padding: 26px 0; border-top: 1px solid rgba(255,255,255,.18); }
.drive-item:first-child { border-top: 0; padding-top: 0; }
.drive-item h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.section--parallax .drive-item p { color: rgba(255,255,255,.8); margin: 0; }

/* Capability grid (2-col, round icons, internal separators, no outer box) */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; }
.cap { display: flex; gap: 16px; align-items: center; padding: 26px 6px; border-top: 1px solid var(--line); }
.cap-grid .cap:nth-child(1), .cap-grid .cap:nth-child(2) { border-top: 0; }
.cap-grid .cap:nth-child(2n) { border-left: 1px solid var(--line); padding-left: 28px; }
.cap-ic { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--accent-2); flex-shrink: 0; }
.cap-ic svg { width: 24px; height: 24px; }
.cap h4 { margin: 0; font-size: 1.04rem; line-height: 1.3; color: var(--ink); }
@media (max-width: 560px) { .cap-grid { grid-template-columns: 1fr; } .cap-grid .cap:nth-child(2) { border-top: 1px solid var(--line); } .cap-grid .cap:nth-child(2n) { border-left: 0; padding-left: 6px; } }

/* Ruled grid (3-col, internal separators, no outer box) */
.rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.rule-grid > * { padding: 32px 28px; }
.rule-grid > :nth-child(3n+2), .rule-grid > :nth-child(3n) { border-left: 1px solid var(--line); }
.rule-grid > :nth-child(n+4) { border-top: 1px solid var(--line); }
.rule-grid h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.rule-grid p { margin: 0; color: var(--ink-soft); }
/* Mild alternating cell tints (professional, subtle) */
.rule-grid > :nth-child(odd), .cap-grid .cap:nth-child(odd) { background: rgba(31,158,138,.05); }
.rule-grid > :nth-child(even), .cap-grid .cap:nth-child(even) { background: rgba(20,23,28,.028); }
@media (max-width: 860px) {
  .rule-grid { grid-template-columns: 1fr 1fr; }
  .rule-grid > * { border-left: 0 !important; border-top: 0 !important; padding: 28px 22px; }
  .rule-grid > :nth-child(2n) { border-left: 1px solid var(--line) !important; }
  .rule-grid > :nth-child(n+3) { border-top: 1px solid var(--line) !important; }
}
@media (max-width: 560px) {
  .rule-grid { grid-template-columns: 1fr; }
  .rule-grid > :nth-child(2n) { border-left: 0 !important; }
  .rule-grid > :nth-child(n+2) { border-top: 1px solid var(--line) !important; }
}

/* Steps */
.steps { display: grid; gap: 0; }
.step { display: grid; grid-template-columns: 80px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid var(--line); }
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.step__num::before { content: "0" counter(step); }
.steps { counter-reset: step; }
.step__num { counter-increment: step; }
.step h3 { margin-bottom: .35rem; font-size: 1.2rem; text-transform: uppercase; }
.step p { color: var(--ink-soft); margin: 0; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: .76rem; font-weight: 600; letter-spacing: normal; text-transform: uppercase; padding: .55em 1.1em; border-radius: var(--radius-pill); background: transparent; color: var(--ink); border: 1px solid var(--line); }
.section--dark .tag, .section--navy .tag, .section--gradient .tag { color: var(--on-dark); border-color: rgba(255,255,255,.22); }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.marquee__track { display: flex; gap: 60px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--ink); display: inline-flex; align-items: center; gap: 60px; letter-spacing: normal; }
.marquee__track span svg { width: 30px; height: 30px; color: var(--accent); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; text-align: left; background: none; border: 0; padding: 30px 56px 30px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.35; text-transform: uppercase; letter-spacing: normal; }
.acc-trigger::after { content: ""; position: absolute; right: 6px; top: 34px; width: 16px; height: 16px; background: linear-gradient(var(--accent),var(--accent)) center/16px 2px no-repeat, linear-gradient(var(--accent),var(--accent)) center/2px 16px no-repeat; transition: transform .25s var(--ease); }
.acc-trigger[aria-expanded="true"]::after { transform: rotate(45deg); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .32s var(--ease); }
.acc-panel__inner { padding: 0 0 30px; color: var(--ink-soft); }

/* Forms */
.form-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .82rem; letter-spacing: normal; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--accent-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: .95em 1.1em; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,158,138,.16); }
.field .err-msg { color: #c1392b; font-size: .82rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c1392b; }
.field.invalid .err-msg { display: block; }
.form-note { font-size: .86rem; color: var(--ink-faint); }
.form-success { display: none; padding: 18px 22px; background: #e7f5f1; border: 1px solid #aedcd1; border-radius: var(--radius); color: var(--accent-2); font-weight: 500; }
.form-success.show { display: block; }

/* Founder — headshot + text */
.founder-grid { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 3.5vw, 48px); align-items: start; }
.founder-social { display: flex; width: 44px; height: 44px; margin: 0 0 1.2rem; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.founder-social img { width: 100%; height: 100%; display: block; }
.founder-social:hover { opacity: .82; transform: translateY(-1px); }
.founder-photo { width: 300px; max-width: 100%; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius-lg); background: var(--paper-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.founder-name { font-size: 1.1875rem; font-weight: 700; text-transform: none; letter-spacing: normal; margin-bottom: .25rem; }
.founder-role { color: var(--ink-faint); font-size: .95rem; margin-bottom: .6rem; }
.founder-wins { list-style: none; display: grid; gap: 10px; margin: 0 0 1.1rem; }
.founder-wins li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .96rem; }
.founder-wins li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
@media (max-width: 700px) { .founder-grid { grid-template-columns: 1fr; } }

/* Careers — 2-col text + form card overlapping the hero */
.careers-apply { position: relative; padding-top: clamp(40px, 5vw, 64px); }
.careers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.careers-text { padding-top: clamp(20px, 4vw, 60px); }
.careers-form { position: relative; z-index: 5; }
.form-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: clamp(28px, 3vw, 40px); margin-top: clamp(-180px, -13vw, -110px); }
.form-card h3 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 6px; }
.form-card .form-sub { color: var(--ink-faint); font-size: .94rem; margin-bottom: 22px; }
@media (max-width: 900px) {
  .careers-grid { grid-template-columns: 1fr; }
  .careers-text { padding-top: 0; }
  .form-card { margin-top: 0; }
}

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.tab-btn { background: none; border: 0; padding: 16px 22px; font-family: var(--font-display); font-weight: 700; font-size: .92rem; text-transform: uppercase; letter-spacing: normal; color: var(--ink-faint); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab-btn.active { color: var(--ink); border-color: var(--accent); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .4s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Contact strip */
.contact-strip { display: grid; gap: 30px; }
.contact-strip .ci { display: flex; gap: 18px; align-items: flex-start; }
.contact-strip .ci svg { width: 26px; height: 26px; color: var(--accent-3); flex-shrink: 0; margin-top: 4px; }
.contact-strip .ci h4 { color: #fff; margin-bottom: 5px; font-size: .82rem; letter-spacing: normal; text-transform: uppercase; }
.contact-strip .ci p, .contact-strip .ci a { color: rgba(255,255,255,.8); margin: 0; font-size: 1.02rem; }
.contact-strip .ci a:hover { color: #fff; }

/* CTA band */
.cta-band { text-align: center; max-width: 820px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem,3.6vw,3rem); }
.cta-band p { color: rgba(255,255,255,.82); font-size: 1.05rem; margin-bottom: 1.5rem; }
.cta-band .hero__cta { justify-content: center; }

/* Closing CTA section: light grey-green, reduced height, dark text */
.section--cta { background: #e5e9e7; color: var(--ink-soft); padding: clamp(44px,5vw,72px) 0; }
.section--cta .cta-band h2, .section--cta h1, .section--cta h3 { color: var(--ink); }
.section--cta .cta-band p { color: var(--ink-soft); }
.section--cta .eyebrow.on-dark { color: #fff; background: var(--ink); }
.section--cta .btn-ghost-light { border-color: var(--ink); color: var(--ink); }
.section--cta .btn-ghost-light:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark-soft); padding: 96px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-about img { height: 40px; width: auto; margin-bottom: 22px; }
.footer-about p { font-size: .98rem; margin: 0 0 22px; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: .76rem; letter-spacing: normal; text-transform: uppercase; margin-bottom: 22px; }
.footer-col ul { list-style: none; display: grid; gap: 13px; }
.footer-col a { color: var(--on-dark-soft); font-size: .98rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 30px 0; font-size: .84rem; color: rgba(255,255,255,.45); }
.footer-bottom .legal-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a { color: rgba(255,255,255,.45); }
.footer-bottom a:hover { color: #fff; }
.social { display: flex; gap: 12px; }
.social a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; color: var(--on-dark-soft); }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.social svg { width: 17px; height: 17px; }

/* ---------- a11y ---------- */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 2000; background: var(--ink); color: #fff; padding: 12px 22px; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); will-change: opacity, transform; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .09s; }
[data-reveal][data-delay="2"] { transition-delay: .18s; }
[data-reveal][data-delay="3"] { transition-delay: .27s; }
[data-reveal][data-delay="4"] { transition-delay: .36s; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-faint); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.prose > * + h2 { margin-top: 1.9em; }
.prose > * + h3 { margin-top: 1.5em; }
.prose h2 { font-size: clamp(1.7rem,3vw,2.3rem); text-transform: none; }
.prose h3 { font-size: 1.35rem; text-transform: none; }
.prose ul:not(.feature-list):not([class]) { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.callout { background: var(--paper-2); border-left: 3px solid var(--accent); padding: 26px 30px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.8em 0; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 980px) {
  :root { --gutter: 26px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(400px,88vw);
    background: var(--paper); flex-direction: column; align-items: stretch; gap: 0;
    padding: 20px; box-shadow: var(--shadow); overflow-y: auto;
    transform: translateX(100%); transition: transform .3s var(--ease);
  }
  .nav-menu.open { transform: none; }
  .nav-menu a.nav-link { color: var(--ink) !important; padding: 1rem .6rem; border-bottom: 1px solid var(--line-soft); }
  .has-dropdown > .nav-link::after { float: right; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 14px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .split, .split.reverse > :first-child { grid-template-columns: 1fr; order: 0; }
  .hero__top { flex-direction: column; }
  .hero__trio { grid-template-columns: 1fr; gap: 26px; }
  .num-list { grid-template-columns: 1fr; }
  .num-item, .num-item:nth-child(odd), .num-item:nth-child(even) { padding: 30px 0; border-right: 0; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .feature-list.two-col { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: 8px; }
  .card { padding: 28px; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta .btn, .cta-band .btn { width: auto; }
}
