/* ============================================================
   IT Partners LLC — Site stylesheet
   Editorial system: porcelain ground, evergreen accent, Archivo
   display headings over Inter body. Mobile-first.
   ============================================================ */

:root {
  --bg: #fdfdfc;
  --bg-soft: #f3f3ef;
  --surface: #ffffff;
  --ink: #1b2420;
  --ink-soft: #525c56;
  --ink-faint: #8b938e;
  --line: #e5e5de;
  --line-dark: rgba(250, 248, 243, 0.16);
  --green: #0e5c40;
  --green-deep: #0a4531;
  --green-bright: #1a8560;
  --amber: #d9962e;
  --dark: #0f1b16;
  --dark-soft: #16241e;
  --font-display: "Archivo", -apple-system, "Helvetica Neue", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1140px;
  --radius: 14px;
  --shadow-card: 0 1px 2px rgba(26, 38, 32, 0.05), 0 12px 32px -12px rgba(26, 38, 32, 0.14);
  --header-bg: rgba(253, 253, 252, 0.86);
  /* Strong custom curves — built-in CSS easings are too weak */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 640;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1.1em; }

.em-i { font-style: italic; color: var(--green); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.99rem;
  line-height: 1;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease), background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn svg { width: 1em; height: 1em; transition: transform 160ms var(--ease); }
.btn:active { transform: scale(0.97); }

.btn-solid { background: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-deep); color: #fff; }

.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--green-deep); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:hover:active { transform: translateY(-2px) scale(0.97); }
  .btn:hover svg { transform: translateX(3px); }
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 200ms ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(26, 38, 32, 0.28); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand .brand-mark { height: 34px; width: auto; flex: none; }
.brand .brand-llc {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
  align-self: flex-end;
  margin-bottom: 0.28rem;
}

.site-nav { display: flex; align-items: center; gap: 1.9rem; }

.site-nav > a, .nav-drop > button {
  font-size: 0.97rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.site-nav > a:hover, .nav-drop > button:hover { color: var(--green); }
.site-nav > a[aria-current="page"] { color: var(--green); font-weight: 600; }

.nav-drop { position: relative; }
.nav-drop > button svg { width: 0.65em; height: 0.65em; transition: transform 0.2s; }
.nav-drop:hover > button svg, .nav-drop:focus-within > button svg { transform: rotate(180deg); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  translate: -50% 0;
  min-width: 268px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 0.5rem;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px) scale(0.97);
  transform-origin: top center;
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
}
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.nav-drop-menu a {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}
.nav-drop-menu a span {
  display: block;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-faint);
  margin-top: 0.1rem;
}
.nav-drop-menu a:hover { background: var(--bg-soft); color: var(--green-deep); }
.nav-drop-menu a[aria-current="page"] { color: var(--green); }

.nav-cta { margin-left: 0.4rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.4rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: 0;
    top: 61px;
    z-index: 55;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
    background: var(--bg);
    overflow-y: auto;
    display: none;
  }
  body.nav-open .site-nav { display: flex; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle .icon-open { display: none; }
  body.nav-open .nav-toggle .icon-close { display: block; }

  .site-nav > a, .nav-drop > button {
    font-size: 1.15rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    width: 100%;
    justify-content: space-between;
  }
  .nav-drop { width: 100%; }
  .nav-drop-menu {
    position: static;
    translate: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0 0 0.5rem 0.75rem;
  }
  .nav-cta { margin: 1.4rem 0 0; justify-content: center; }
}

/* ---------- Hero (home) ---------- */

.hero { padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }

/* Dark tech hero: graphite-green ground, faint engineering grid, soft glow.
   The grid fades out toward the bottom via the layered radial mask. */
.hero-dark {
  background-color: #101815;
  background-image:
    radial-gradient(ellipse 70% 90% at 20% 110%, rgba(16, 24, 21, 0.9), transparent 60%),
    radial-gradient(ellipse 55% 60% at 72% 8%, rgba(26, 133, 96, 0.24), transparent 65%),
    radial-gradient(ellipse 40% 45% at 90% 85%, rgba(217, 150, 46, 0.07), transparent 70%),
    linear-gradient(rgba(253, 253, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 253, 252, 0.035) 1px, transparent 1px);
  background-size: auto, auto, auto, 44px 44px, 44px 44px;
  color: rgba(253, 253, 252, 0.82);
}
.hero-dark h1 { color: #fff; }
.hero-dark .em-i { color: var(--amber); }
.hero-dark .eyebrow { color: var(--amber); }
.hero-dark .hero-lede { color: rgba(253, 253, 252, 0.78); }
.hero-dark .btn-ghost { border-color: rgba(253, 253, 252, 0.35); color: #fff; }
.hero-dark .btn-ghost:hover { border-color: #fff; color: #fff; }

/* "We work across" technology strip inside the dark hero */
.hero-trust {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.6rem;
  border-top: 1px solid rgba(253, 253, 252, 0.12);
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.hero-trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(253, 253, 252, 0.5);
  white-space: nowrap;
}
.hero-trust ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hero-trust li {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(253, 253, 252, 0.78);
  border: 1px solid rgba(253, 253, 252, 0.18);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  white-space: nowrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 1.5px; background: var(--amber); }

.hero-lede {
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 34em;
  margin-top: 1.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }

.hero-aside { display: grid; gap: 1rem; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem 1.6rem;
}
.hero-card.is-dark { background: var(--dark); border-color: var(--dark); color: var(--bg); }
.hero-card .hero-card-num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 500;
  line-height: 1;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.hero-card.is-dark .hero-card-num { color: var(--amber); }
.hero-card p { margin: 0.45rem 0 0; font-size: 0.94rem; color: var(--ink-soft); }
.hero-card.is-dark p { color: rgba(250, 248, 243, 0.75); }

.hero-figure { position: relative; margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}
.hero-figure .hero-card {
  position: absolute;
  left: -3.2rem;
  bottom: 1.8rem;
  max-width: 300px;
  box-shadow: 0 18px 44px -18px rgba(15, 27, 22, 0.55);
}
@media (max-width: 880px) {
  .hero-figure { max-width: 560px; }
  .hero-figure img { aspect-ratio: 16 / 10; }
  .hero-figure .hero-card { position: static; margin: -2.6rem 1rem 0; }
}

/* ---------- Photo frames (content sections) ---------- */

.photo-frame {
  margin: 1.9rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.photo-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 600ms var(--ease); }

/* Unified photo treatment: gentle color cohesion + inner ring + base shadow */
.photo-frame, .page-hero-figure, .hero-figure { position: relative; }
.photo-frame img, .page-hero-figure img, .hero-figure img { filter: saturate(0.94) contrast(1.03); }
.photo-frame::after, .page-hero-figure::after, .hero-figure::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(26, 38, 32, 0.1);
  background: linear-gradient(180deg, transparent 68%, rgba(15, 27, 22, 0.16));
}
.page-hero-figure { border-radius: var(--radius); }
.page-hero-figure img, .hero-figure img { box-shadow: 0 22px 44px -22px rgba(26, 38, 32, 0.35); }
.hero-figure::after { z-index: 1; }
.hero-figure .hero-card { z-index: 2; }

/* Photos render immediately and unconditionally — no scroll reveal.
   (The clip-path reveal repeatedly read as "broken images"; removed.) */
@media (hover: hover) and (pointer: fine) {
  .photo-frame:hover img { transform: scale(1.04); }
}

/* ---------- Industry ticker ---------- */

.ticker {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
  overflow: hidden;
  background: var(--bg-soft);
}
.ticker-track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: ticker 36s linear infinite;
}
.ticker-track span {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
}
.ticker-track span::after { content: "✦"; color: var(--amber); font-size: 0.7rem; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; }
  html { scroll-behavior: auto; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section.is-soft { background: var(--bg-soft); }

.section-head { max-width: 46em; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head .section-lede { color: var(--ink-soft); font-size: 1.1rem; margin: 0.4rem 0 0; }

/* ---------- Service index rows (home) ---------- */

.service-index { border-top: 1px solid var(--line); }

.service-row {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1.05fr) minmax(0, 1.3fr) 3rem;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3.5vw, 2.4rem) 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 200ms ease, transform 200ms var(--ease);
}

.service-row .row-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 12px;
  background: rgba(14, 92, 64, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease, color 200ms ease;
}
.service-row .row-icon svg { width: 1.5rem; height: 1.5rem; }
.service-row h3 { margin: 0; transition: color 200ms ease; }
.service-row .row-desc { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }
.service-row .row-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  transition: background 200ms ease, color 200ms ease, transform 200ms var(--ease), border-color 200ms ease;
  justify-self: end;
}
.service-row .row-arrow svg { width: 1rem; height: 1rem; }

@media (hover: hover) and (pointer: fine) {
  .service-row:hover { background: linear-gradient(90deg, rgba(14, 92, 64, 0.05), transparent 70%); transform: translateX(10px); color: var(--ink); }
  .service-row:hover h3 { color: var(--green); }
  .service-row:hover .row-icon { background: var(--green); color: #fff; }
  .service-row:hover .row-arrow { background: var(--green); border-color: var(--green); color: #fff; transform: rotate(-45deg); }
}

@media (max-width: 720px) {
  .service-row { grid-template-columns: 3.2rem minmax(0, 1fr) 2.6rem; }
  .service-row .row-desc { grid-column: 2; }
  .service-row .row-arrow { grid-column: 3; grid-row: 1; }
}

/* ---------- Method / process steps ---------- */

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.1rem;
  counter-reset: step;
}
@media (max-width: 980px) { .method-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method-steps { grid-template-columns: 1fr; } }

.method-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem 1.6rem;
  position: relative;
  counter-increment: step;
  transition: transform 200ms var(--ease), box-shadow 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .method-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
}
.method-step::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--amber);
  display: block;
  margin-bottom: 0.9rem;
}
.method-step h3 { font-size: 1.22rem; margin-bottom: 0.35rem; }
.method-step p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Feature split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }
.split.is-sticky > .split-lead { position: sticky; top: 6rem; }
@media (max-width: 880px) { .split.is-sticky > .split-lead { position: static; } }

/* ---------- Checklist / coverage list ---------- */

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.check-list li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 0.98rem;
}
.check-list li::before {
  content: "";
  flex: none;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  background: var(--green) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none"><path d="M4 8.5l2.6 2.6L12 5.5" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/0.8rem no-repeat;
}
.check-list li strong { display: block; }
.check-list li span { color: var(--ink-soft); font-size: 0.92rem; }

.check-list.is-two-col { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .check-list.is-two-col { grid-template-columns: 1fr; } }

/* ---------- Dark band (why us / stats) ---------- */

.band-dark {
  background-color: var(--dark);
  background-image:
    linear-gradient(rgba(253, 253, 252, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 253, 252, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--bg);
  border-radius: clamp(0px, 2vw, 28px);
  margin-left: clamp(0rem, 1.5vw, 1.25rem);
  margin-right: clamp(0rem, 1.5vw, 1.25rem);
  overflow: hidden;
  position: relative;
}
.band-dark::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -180px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 133, 96, 0.35), transparent 65%);
  pointer-events: none;
}
.band-dark .section-head { position: relative; z-index: 1; }
.band-dark h2 { color: var(--bg); }
.band-dark .section-lede { color: rgba(250, 248, 243, 0.72); }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stat-grid { grid-template-columns: 1fr; } }

.stat-cell { padding: 1.9rem 1.6rem 1.7rem; border-bottom: 1px solid var(--line-dark); }
.stat-cell + .stat-cell { border-left: 1px solid var(--line-dark); }
@media (max-width: 880px) { .stat-cell:nth-child(odd) { border-left: 0; } }
@media (max-width: 480px) { .stat-cell + .stat-cell { border-left: 0; } }

.stat-cell .stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 500;
  line-height: 1;
  color: var(--bg);
  font-variant-numeric: tabular-nums;
}
.stat-cell .stat-value em { font-style: italic; color: var(--amber); }
.stat-cell p { margin: 0.55rem 0 0; font-size: 0.93rem; color: rgba(250, 248, 243, 0.68); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 880px) { .value-grid { grid-template-columns: 1fr; } }

.value-card {
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.value-card h3 { color: var(--bg); font-size: 1.28rem; }
.value-card p { color: rgba(250, 248, 243, 0.7); font-size: 0.95rem; margin: 0; }
.value-card .value-icon {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 10px;
  background: rgba(26, 133, 96, 0.25);
  color: var(--green-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.value-card .value-icon svg { width: 1.35rem; height: 1.35rem; }

/* ---------- Industry grid ---------- */

.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
@media (max-width: 880px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .industry-grid { grid-template-columns: 1fr; } }

.industry-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  transition: transform 200ms var(--ease), box-shadow 200ms ease, border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); border-color: var(--green); }
}
.industry-card h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.industry-card p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }
.industry-card .industry-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--amber);
  font-size: 0.98rem;
  display: block;
  margin-bottom: 0.85rem;
}

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 15em; }
.page-hero .hero-lede { margin-top: 1.1rem; }
.page-hero .hero-actions { margin-top: 1.9rem; }

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.page-hero-figure { margin: 0; }
.page-hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
@media (max-width: 880px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-figure { max-width: 560px; }
}

/* ---------- Numbered process (subpages) ---------- */

.step-list { list-style: none; margin: 0; padding: 0; counter-reset: proc; }
.step-list > li {
  counter-increment: proc;
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}
.step-list > li::before {
  content: "0" counter(proc);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.9rem;
  color: var(--amber);
  line-height: 1;
}
.step-list h3 { margin-bottom: 0.35rem; }
.step-list p { margin: 0; color: var(--ink-soft); font-size: 0.99rem; }
.step-list .step-tag {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(14, 92, 64, 0.08);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
}
@media (max-width: 560px) {
  .step-list > li { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* ---------- Prose ---------- */

.prose { max-width: 44em; }
.prose p { color: var(--ink-soft); }
.prose p strong { color: var(--ink); }

/* ---------- CTA band (photo background + overlay) ---------- */

.cta-band { padding: clamp(4.5rem, 10vw, 8rem) 0; text-align: center; }
.section.cta-band, .cta-band.is-soft {
  background:
    linear-gradient(160deg, rgba(10, 17, 13, 0.93) 20%, rgba(14, 92, 64, 0.62) 130%),
    url("../assets/img/cta.jpg?v=2") center / cover no-repeat;
}
.cta-band h2 { max-width: 17em; margin-left: auto; margin-right: auto; color: #fff; }
.cta-band .em-i { color: var(--amber); }
.cta-band p { color: rgba(250, 248, 243, 0.85); max-width: 36em; margin: 0.9rem auto 0; }
.cta-band .eyebrow { color: var(--amber); }
.cta-band .hero-actions { justify-content: center; margin-top: 2.2rem; }
.cta-band .btn-solid { background: #fff; color: var(--green-deep); }
.cta-band .btn-solid:hover { background: var(--bg); color: var(--green-deep); }
.cta-band .btn-ghost { border-color: rgba(250, 248, 243, 0.45); color: #fff; }
.cta-band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-info-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
}
.contact-info-list .ci-icon {
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9px;
  background: rgba(14, 92, 64, 0.08);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.contact-info-list .ci-icon svg { width: 1.2rem; height: 1.2rem; }
.contact-info-list strong { display: block; font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-faint); font-weight: 600; }
.contact-info-list a, .contact-info-list span.ci-value { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.contact-info-list a:hover { color: var(--green); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
  display: grid;
  gap: 1.15rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.form-field { display: grid; gap: 0.4rem; }
.form-field label { font-size: 0.9rem; font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field textarea { resize: vertical; min-height: 8.5rem; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 92, 64, 0.14);
}

.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.6rem; font-size: 0.97rem; }
.hours-table td { padding: 0.55rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; color: var(--ink); font-weight: 500; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(250, 248, 243, 0.72); margin-top: clamp(3rem, 7vw, 5rem); }

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand .brand { color: var(--bg); font-size: 1.25rem; }
.footer-brand .brand .brand-llc { color: rgba(250, 248, 243, 0.45); }
/* Full-color logo would vanish on the dark footer — render it as a white silhouette */
.site-footer .brand-mark { filter: brightness(0) invert(1); opacity: 0.92; }
.footer-brand p { font-size: 0.94rem; margin-top: 1rem; max-width: 26em; }

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.45);
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.footer-col a { color: rgba(250, 248, 243, 0.78); font-size: 0.96rem; }
.footer-col a:hover { color: var(--bg); }

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: space-between;
  font-size: 0.86rem;
  color: rgba(250, 248, 243, 0.45);
}
.footer-bottom a { color: rgba(250, 248, 243, 0.6); }
.footer-bottom a:hover { color: var(--bg); }

/* ---------- Reveal on scroll (hidden state only when JS is present) ---------- */

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* Reduced motion: keep gentle opacity fades, remove movement */
@media (prefers-reduced-motion: reduce) {
  .js .reveal { transform: none; transition: opacity 200ms ease; }
  .photo-frame:hover img { transform: none; }
}

/* ---------- Pull-quote band ---------- */

.quote-band { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.quote-band blockquote {
  margin: 0 auto;
  max-width: 21em;
  text-align: center;
  position: relative;
}
.quote-band blockquote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 640;
  line-height: 0.6;
  color: var(--amber);
  margin-bottom: 1.4rem;
}
.quote-band blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 560;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.quote-band figcaption {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
}

/* ---------- A11y & finish ---------- */

:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.hero-dark :focus-visible, .band-dark :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
::selection { background: var(--green); color: #fff; }

/* ---------- Utility ---------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--green);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }
