/* ==========================================================================
   7Fabs public website — shared design system.
   Used by the homepage, /services/, /work/, /quote/, /contact/, /login,
   /dashboard, and both customer portals (portal.css layers on the custom
   properties below).
   Keep the :root variable names stable: site/portal/portal.css depends on
   --ink, --muted, --line, --soft-line, --panel, --surface, --surface-strong,
   --accent, --accent-dark, --accent-soft, --green, --gold, --shadow.
   ========================================================================== */

:root {
  color-scheme: light;
  --ink: #101a26;
  --muted: #4f5b68;
  --line: #d9dfe7;
  --soft-line: #e8ecf1;
  --panel: #ffffff;
  --surface: #f6f8fa;
  --surface-strong: #edf1f5;
  --accent: #1f5eae;
  --accent-dark: #16457f;
  --accent-soft: #e3edf9;
  --green: #1b6f52;
  --gold: #93660f;
  --shadow: 0 14px 40px rgba(16, 26, 38, 0.08);
  --shadow-sm: 0 4px 14px rgba(16, 26, 38, 0.06);
  --dark-band: #101a26;
  --dark-band-ink: #eef2f6;
  --dark-band-muted: #a9b6c3;
  --radius: 10px;
  --radius-lg: 14px;
  --header-h: 4.25rem;
}

/* ===========================================================================
   Reference-matched 7Fabs public experience (J159)
   ========================================================================== */

:root {
  --ink: #101418;
  --muted: #5d6368;
  --line: #dfe3df;
  --soft-line: #edf0ed;
  --panel: #fff;
  --surface: #f6f7f5;
  --surface-strong: #ecefea;
  --accent: #86c900;
  --accent-dark: #68a300;
  --accent-soft: #eff9d8;
  --dark-band: #11191d;
  --shadow: 0 18px 52px rgba(16, 20, 24, 0.1);
  --shadow-sm: 0 6px 20px rgba(16, 20, 24, 0.08);
}

.reference-home,
.reference-work-page {
  background: #f2f3f1;
}

.reference-home .page-main,
.reference-work-page .page-main {
  width: min(100% - 2rem, 104rem);
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 0 0 0.8rem 0.8rem;
  background: #fff;
  box-shadow: var(--shadow);
}

.site-header {
  width: min(100% - 2rem, 104rem);
  margin: 1rem auto 0;
  padding: 0.7rem clamp(1rem, 3.5vw, 3rem);
  border: 0;
  border-radius: 0.8rem 0.8rem 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 -4px 28px rgba(16, 20, 24, 0.08);
}

.brand {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 0.62rem 0.15rem 0.62rem 0.15rem;
  background: linear-gradient(135deg, var(--accent) 0 48%, #121a1e 49% 100%);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  transform: rotate(-8deg);
}

.brand-mark + span strong {
  color: #11181c;
  font-size: 1.55rem;
  letter-spacing: -0.06em;
}

.brand small {
  color: #687067;
  font-size: 0.62rem;
}

.primary-nav {
  gap: clamp(0.85rem, 2vw, 2.1rem);
}

.primary-nav a {
  padding: 0.6rem 0;
  color: #202522;
  font-size: 0.8rem;
  font-weight: 750;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--accent-dark);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #11170e;
  box-shadow: none;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.nav-toggle span {
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-hero {
  padding: clamp(2.5rem, 5vw, 5.6rem) 0 0;
  background: radial-gradient(circle at 67% 28%, rgba(134, 201, 0, 0.08), transparent 28%), #fff;
}

.reference-hero__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(28rem, 1.32fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 4rem);
}

.reference-hero__copy h1,
.portfolio-hero h1 {
  margin: 0;
  color: #0e1215;
  font-size: clamp(3.6rem, 7.3vw, 7.1rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
}

.reference-hero__copy h1 span,
.portfolio-hero h1 span,
.reference-close h2 span {
  color: var(--accent);
}

.reference-hero__copy > p:not(.eyebrow) {
  max-width: 32rem;
  margin: 1.6rem 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.24rem);
  line-height: 1.55;
}

.reference-hero__cta {
  min-width: 13rem;
  justify-content: center;
  padding-block: 1rem;
  font-size: 1rem;
}

.reference-hero__cta span {
  font-size: 1.25rem;
}

.reference-hero__media {
  margin: 0;
}

.reference-hero__media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 1rem;
}

.reference-home .capability-rail {
  margin-top: 2.2rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
}

.reference-home .capability-rail a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.65rem;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--line);
}

.reference-home .capability-rail a:last-child {
  border-right: 0;
}

.reference-home .capability-rail i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent-dark);
  font-size: 1rem;
  font-style: normal;
  font-weight: 900;
}

.reference-home .capability-rail span {
  color: var(--muted);
  font-size: 0.68rem;
}

.reference-process {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.reference-process__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.1rem;
}

.reference-process__grid article {
  position: relative;
  min-height: 14rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
  text-align: center;
}

.reference-process__grid article > span {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent);
  color: #18200f;
  font-weight: 900;
}

.reference-process__grid article > b {
  display: block;
  margin: 0.5rem 0 1rem;
  color: var(--accent-dark);
  font-size: 3.2rem;
  line-height: 1;
}

.reference-process__grid h3 {
  margin-bottom: 0.55rem;
  font-size: 1.25rem;
}

.reference-process__grid p {
  margin: 0 auto;
  max-width: 18rem;
  color: var(--muted);
  line-height: 1.55;
}

.reference-proof {
  padding-block: 1.1rem;
  border-block: 1px solid var(--line);
  background: #fbfcfa;
}

.reference-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.reference-proof article {
  display: grid;
  gap: 0.25rem;
  min-height: 5.5rem;
  padding: 0.8rem 1.8rem;
  border-right: 1px solid var(--line);
}

.reference-proof article:last-child {
  border-right: 0;
}

.reference-proof strong {
  font-size: 1rem;
}

.reference-proof span {
  color: var(--muted);
  font-size: 0.78rem;
}

.reference-work .section-heading {
  position: relative;
}

.reference-work .section-heading .text-link {
  position: absolute;
  right: 0;
  bottom: 0.4rem;
  color: var(--accent-dark);
  font-weight: 800;
}

.reference-work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.reference-work__grid figure,
.portfolio-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: #fff;
}

.reference-work__grid img,
.portfolio-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.reference-work__grid figcaption,
.portfolio-card figcaption {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.3rem 1.35rem;
}

.reference-work__grid figcaption strong,
.portfolio-card figcaption strong {
  font-size: 1.12rem;
}

.reference-work__grid figcaption span,
.portfolio-card figcaption p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.reference-close {
  padding: clamp(3rem, 5vw, 5.5rem) 0;
  color: #fff;
  text-align: center;
  background: #11191d;
}

.reference-close h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: -0.055em;
}

.reference-close p {
  margin: 0.7rem 0 1.5rem;
  color: #cbd2ce;
}

.reference-home .site-footer,
.reference-work-page .site-footer {
  width: min(100% - 2rem, 104rem);
  margin: 0 auto 1rem;
  border-radius: 0.8rem;
}

.portfolio-hero {
  padding: clamp(4rem, 8vw, 8rem) 0 clamp(3rem, 6vw, 6rem);
  background: radial-gradient(circle at 82% 30%, rgba(134, 201, 0, 0.15), transparent 26%), #fff;
}

.portfolio-hero p:last-child {
  max-width: 42rem;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  padding-block: clamp(3rem, 5vw, 5rem);
}

.portfolio-card--wide {
  grid-column: 1 / -1;
}

.portfolio-card--wide img {
  aspect-ratio: 2 / 1;
}

.portfolio-card figcaption > span {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .reference-hero__grid {
    grid-template-columns: 1fr;
  }

  .reference-hero__media {
    order: -1;
  }

  .reference-hero__copy h1,
  .portfolio-hero h1 {
    font-size: clamp(3.4rem, 13vw, 6rem);
  }

  .reference-home .capability-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-home .capability-rail a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reference-process__grid,
  .reference-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-proof article:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .reference-home .page-main,
  .reference-work-page .page-main,
  .site-header,
  .reference-home .site-footer,
  .reference-work-page .site-footer {
    width: 100%;
    margin-inline: 0;
    border-radius: 0;
  }

  .reference-hero {
    padding-top: 1.4rem;
  }

  .reference-hero__copy h1,
  .portfolio-hero h1 {
    font-size: clamp(3.05rem, 16vw, 4.6rem);
  }

  .reference-home .capability-rail,
  .reference-process__grid,
  .reference-proof__grid,
  .reference-work__grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .reference-home .capability-rail a,
  .reference-proof article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .reference-work .section-heading .text-link {
    position: static;
    display: inline-block;
    margin-top: 0.75rem;
  }

  .portfolio-card--wide {
    grid-column: 1;
  }

  .portfolio-card--wide img {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   Product sales resources
   A route-scoped extension of the accepted green, white, and black public
   manufacturing theme.
   ========================================================================== */

.resources-page {
  scroll-behavior: smooth;
}

.resources-page .site-header {
  max-width: none;
}

.resources-hero {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(13, 17, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 20, 0.03) 1px, transparent 1px),
    radial-gradient(44rem 26rem at 84% 18%, rgba(120, 201, 0, 0.18), transparent 68%),
    #fff;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.resources-hero__grid {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(26rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  min-height: min(73vh, 48rem);
  padding-block: clamp(3.8rem, 8vw, 7rem);
}

.resources-hero h1 {
  max-width: 9ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.resources-hero h1 span {
  color: var(--accent);
}

.resources-hero .lede {
  max-width: 39rem;
  color: #3f4649;
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  line-height: 1.6;
}

.resources-hero__visual {
  position: relative;
  margin: 0;
}

.resources-hero__visual::before {
  content: "THE PRACTICAL PATH";
  position: absolute;
  top: -1rem;
  right: -0.6rem;
  z-index: 2;
  padding: 0.52rem 0.78rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.resources-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #c8cdcf;
  border-radius: 16px;
  box-shadow: 0 25px 65px rgba(13, 17, 20, 0.15);
}

.resources-hero__visual figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: right;
}

.resource-rail {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1.35rem);
}

.resource-rail a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.08rem 0.7rem;
  min-width: 0;
  padding: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.resource-rail a + a {
  border-left: 1px solid var(--line);
}

.resource-rail a:hover,
.resource-rail a:focus-visible {
  background: var(--accent-soft);
}

.resource-rail span {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.resource-rail strong,
.resource-rail small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.resource-rail strong {
  font-size: 0.85rem;
}

.resource-rail small {
  color: var(--muted);
  font-size: 0.68rem;
}

.resources-section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.resources-section--tinted {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(120, 201, 0, 0.05), transparent 30rem),
    var(--surface);
}

.resources-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(17rem, 0.65fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
  margin-bottom: 2rem;
}

.resources-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.resources-heading > p {
  margin: 0;
  color: var(--muted);
}

.comparison-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 7px 7px 0 var(--accent-soft);
}

.comparison-wrap:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.channel-comparison {
  width: 100%;
  min-width: 58rem;
  border-collapse: collapse;
  text-align: left;
}

.channel-comparison th,
.channel-comparison td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.85rem;
  line-height: 1.5;
}

.channel-comparison thead th {
  background: var(--dark-band);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.channel-comparison tbody tr:last-child > * {
  border-bottom: 0;
}

.channel-comparison tbody tr:hover {
  background: var(--accent-soft);
}

.channel-comparison tbody th {
  width: 12rem;
}

.channel-comparison a {
  color: var(--ink);
  font-weight: 850;
}

.channel-comparison a:hover {
  color: var(--accent-dark);
}

.resources-note {
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  font-size: 0.84rem;
}

.channel-guide {
  margin-top: 2rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.channel-guide > header {
  display: grid;
  grid-template-columns: auto minmax(13rem, 0.7fr) minmax(17rem, 1fr);
  align-items: center;
  gap: 1.2rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(120, 201, 0, 0.11), transparent 45%),
    #fff;
}

.channel-guide h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
}

.channel-guide .eyebrow {
  margin-bottom: 0.28rem;
}

.channel-number {
  display: grid;
  width: 3.4rem;
  height: 3.4rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 10px 4px 10px 4px;
  background: var(--accent);
  color: #0b1400;
  font-weight: 900;
  box-shadow: 4px 4px 0 var(--ink);
}

.channel-fit {
  margin: 0;
  color: #41484b;
  font-size: 0.88rem;
  line-height: 1.55;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(15rem, 0.72fr);
}

.guide-grid > * {
  padding: 1.5rem;
}

.guide-grid > * + * {
  border-left: 1px solid var(--line);
}

.guide-grid h4 {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.guide-grid ul,
.guide-grid ol {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.guide-grid li::marker {
  color: var(--accent-dark);
  font-weight: 900;
}

.guide-grid aside {
  background: var(--accent-soft);
}

.guide-grid aside p {
  color: #3e4a36;
  font-size: 0.84rem;
  line-height: 1.6;
}

.guide-grid .text-link {
  display: inline-block;
  margin-top: 0.4rem;
  color: #345d00;
  font-size: 0.82rem;
  font-weight: 850;
}

.official-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1.5rem;
  border-top: 1px solid var(--line);
  background: var(--dark-band);
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.official-link:hover {
  background: #273034;
  color: var(--accent);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.path-grid article {
  grid-column: span 2;
  min-height: 16rem;
  padding: 1.45rem;
  background: #fff;
}

.path-grid article + article {
  border-left: 1px solid var(--line);
}

.path-grid article:nth-child(4),
.path-grid article:nth-child(5) {
  grid-column: span 3;
  border-top: 1px solid var(--line);
}

.path-grid article:nth-child(4) {
  border-left: 0;
}

.path-grid article > span {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 1.3rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 3px 3px 0 var(--accent);
}

.path-grid h3 {
  font-size: 1.25rem;
}

.path-grid p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.6;
}

.path-grid a {
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 850;
}

.production-section {
  padding-block: clamp(4rem, 9vw, 7rem);
  background:
    radial-gradient(36rem 24rem at 8% 100%, rgba(120, 201, 0, 0.17), transparent 68%),
    var(--dark-band);
}

.production-grid {
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(25rem, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}

.production-section h2,
.production-section h3 {
  color: #fff;
}

.production-section .eyebrow {
  color: var(--accent);
}

.production-section .lede {
  color: var(--dark-band-muted);
}

.production-section img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 2rem;
  border: 1px solid #3b4549;
  border-radius: 14px;
}

.readiness-card {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid #404b4f;
  border-radius: 15px;
  background: #1c2427;
  box-shadow: 8px 8px 0 rgba(120, 201, 0, 0.55);
}

.readiness-card h3 {
  margin-bottom: 1.3rem;
  font-size: 1.5rem;
}

.readiness-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.readiness-list li {
  position: relative;
  padding: 0.78rem 0 0.78rem 1.75rem;
  border-top: 1px solid #364044;
  color: #c4ccca;
  font-size: 0.84rem;
  line-height: 1.5;
}

.readiness-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 900;
}

.readiness-list strong {
  color: #fff;
}

.readiness-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem 1.2rem;
  margin-top: 1.2rem;
  padding-top: 1.3rem;
  border-top: 1px solid #435055;
}

.readiness-cta p {
  flex: 1 1 100%;
  margin: 0;
  color: #fff;
  font-weight: 750;
}

.readiness-cta .text-link {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
}

.resources-section--dark {
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #111619;
  background-size: 30px 30px;
}

.resources-section--dark h2,
.resources-section--dark h3 {
  color: #fff;
}

.resources-section--dark .section-heading > p:last-child {
  color: var(--dark-band-muted);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.video-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  min-height: 13rem;
  padding: 1.3rem;
  border: 1px solid #384347;
  border-radius: 12px;
  background: #1b2225;
  color: #fff;
  text-decoration: none;
}

.video-card:hover,
.video-card:focus-visible {
  border-color: var(--accent);
  background: #222b2e;
  transform: translateY(-2px);
}

.video-card__play {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #101800;
  font-size: 0.85rem;
}

.video-card small {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.video-card h3 {
  margin: 0.35rem 0 0.6rem;
  font-size: 1.2rem;
}

.video-card p {
  color: var(--dark-band-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.video-card strong {
  display: inline-block;
  margin-top: 0.4rem;
  color: #fff;
  font-size: 0.78rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.62fr) minmax(24rem, 1.38fr);
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
}

.faq-layout > div:first-child {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-layout > div:first-child p:last-child {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 820;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 1rem;
  right: 0;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--accent-soft);
}

.faq-list details[open] summary::after {
  content: "−";
  background: var(--accent);
}

.faq-list details p {
  max-width: 52rem;
  margin: -0.25rem 3rem 1.3rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.resources-disclaimer {
  border-block: 1px solid var(--line);
  background: var(--accent-soft);
}

.resources-disclaimer .container {
  display: grid;
  grid-template-columns: minmax(12rem, 0.35fr) minmax(20rem, 1.65fr);
  gap: 1.5rem;
  padding-block: 1.3rem;
}

.resources-disclaimer strong {
  color: #294b00;
  font-size: 0.86rem;
}

.resources-disclaimer p {
  margin: 0;
  color: #43503c;
  font-size: 0.78rem;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .resources-hero__grid,
  .production-grid {
    grid-template-columns: 1fr;
  }

  .resources-hero__grid {
    min-height: 0;
  }

  .resources-hero__visual {
    max-width: 44rem;
  }

  .resource-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .resource-rail a + a {
    border-left: 0;
  }

  .resource-rail a:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .resource-rail a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .resource-rail a:last-child {
    grid-column: 1 / -1;
  }

  .channel-guide > header {
    grid-template-columns: auto 1fr;
  }

  .channel-fit {
    grid-column: 2;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid aside {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .path-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-grid article,
  .path-grid article:nth-child(4),
  .path-grid article:nth-child(5) {
    grid-column: auto;
    border-top: 1px solid var(--line);
  }

  .path-grid article:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .path-grid article:nth-child(odd) {
    border-left: 0;
  }

  .path-grid article:nth-child(-n + 2) {
    border-top: 0;
  }

  .path-grid article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .resources-heading,
  .faq-layout,
  .resources-disclaimer .container {
    grid-template-columns: 1fr;
  }

  .resources-heading {
    align-items: start;
  }

  .guide-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .guide-grid > * + * {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .guide-grid aside {
    grid-column: auto;
  }

  .faq-layout > div:first-child {
    position: static;
  }
}

@media (max-width: 640px) {
  .resources-hero__grid {
    padding-block: 3rem 4rem;
  }

  .resources-hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }

  .resources-hero__visual::before {
    right: 0.6rem;
  }

  .resource-rail {
    grid-template-columns: 1fr;
    margin-inline: 1rem;
  }

  .resource-rail a,
  .resource-rail a:nth-child(even),
  .resource-rail a:last-child {
    grid-column: auto;
    border-left: 0;
  }

  .resource-rail a + a {
    border-top: 1px solid var(--line);
  }

  .channel-guide > header {
    grid-template-columns: 1fr;
  }

  .channel-number {
    width: 2.8rem;
    height: 2.8rem;
  }

  .channel-fit {
    grid-column: auto;
  }

  .path-grid {
    grid-template-columns: 1fr;
  }

  .path-grid article,
  .path-grid article:nth-child(even),
  .path-grid article:nth-child(odd),
  .path-grid article:last-child {
    grid-column: auto;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .path-grid article:first-child {
    border-top: 0;
  }

  .readiness-card {
    box-shadow: 5px 5px 0 rgba(120, 201, 0, 0.55);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

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

.skip-link {
  position: absolute;
  top: -3.5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0 0 8px 8px;
  background: var(--accent-dark);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.25;
}

.brand strong {
  font-size: 1.06rem;
}

.brand small {
  margin-top: 0.05rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 1.6vw, 1rem);
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 650;
}

.primary-nav a {
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  text-decoration: none;
}

.primary-nav a:hover {
  background: var(--surface-strong);
  color: var(--accent-dark);
}

.primary-nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.login-link {
  min-width: max-content;
  padding: 0.6rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.login-link:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-weight: 750;
  font-size: 0.96rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.button:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
  color: #fff;
}

.button.on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--dark-band-ink);
}

.button.on-dark:hover {
  border-color: #fff;
  color: #fff;
}

.button.wide {
  width: 100%;
}

.button:disabled {
  cursor: progress;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */

.page-main {
  display: block;
}

.container {
  width: min(100%, 1160px);
  margin: 0 auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.section {
  padding-block: clamp(2.75rem, 7vw, 5rem);
}

.section.tinted {
  background: var(--surface);
  border-block: 1px solid var(--soft-line);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.7rem;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.6rem, 3.6vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.08rem;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.lede {
  font-size: 1.08rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  border-bottom: 1px solid var(--soft-line);
  background:
    radial-gradient(56rem 30rem at 85% -18%, rgba(31, 94, 174, 0.1), transparent 62%),
    radial-gradient(40rem 24rem at -12% 8%, rgba(31, 94, 174, 0.06), transparent 55%),
    linear-gradient(180deg, #fbfcfd, #f3f6f9);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 5.75rem);
}

.hero h1 {
  max-width: 15ch;
}

.hero .lede {
  max-width: 44rem;
  margin-bottom: 1.6rem;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-points li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.hero-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-media figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  box-shadow: var(--shadow-sm);
}

.hero-media figure:nth-child(1) {
  grid-column: span 2;
}

.hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.hero-media figure:nth-child(1) img {
  aspect-ratio: 21 / 9;
}

/* --------------------------------------------------------------------------
   Cards and grids
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  display: grid;
  align-content: start;
  gap: 0.4rem;
  padding: 1.35rem;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

a.card {
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

a.card:hover {
  border-color: rgba(31, 94, 174, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card p {
  margin: 0;
  font-size: 0.94rem;
}

.card .card-link {
  margin-top: 0.5rem;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.55rem;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* --------------------------------------------------------------------------
   Work / portfolio
   -------------------------------------------------------------------------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-card {
  display: grid;
  align-content: start;
  overflow: hidden;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.work-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-strong);
}

.work-card figcaption,
.work-card .work-card-body {
  display: grid;
  gap: 0.3rem;
  padding: 0.95rem 1.05rem 1.1rem;
}

.work-card strong {
  font-size: 0.99rem;
}

.work-card span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.work-card figure {
  margin: 0;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.tag {
  padding: 0.22rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.process-grid article {
  padding: 1.25rem;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.process-grid article span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 850;
}

.process-grid article strong {
  display: block;
  margin-bottom: 0.35rem;
}

.process-grid article p {
  margin: 0;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Pills / fit list
   -------------------------------------------------------------------------- */

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

/* --------------------------------------------------------------------------
   Dark call-to-action band
   -------------------------------------------------------------------------- */

.cta-band {
  background: var(--dark-band);
  color: var(--dark-band-ink);
}

.cta-band .container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 3.75rem);
}

.cta-band h2 {
  margin-bottom: 0.4rem;
  color: #fff;
}

.cta-band p {
  margin: 0;
  color: var(--dark-band-muted);
}

.cta-band .hero-actions {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Quote page
   -------------------------------------------------------------------------- */

.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.85fr);
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
}

.quote-hero {
  background:
    linear-gradient(135deg, rgba(16, 26, 38, 0.92), rgba(25, 55, 88, 0.88)),
    url("/assets/work/cnc-aluminum-anodized-plate.jpg") center / cover;
  color: #fff;
}

.quote-hero .eyebrow,
.quote-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.quote-hero h1 {
  max-width: 13ch;
  color: #fff;
}

.quote-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.55fr);
  gap: clamp(1.5rem, 5vw, 3rem);
  align-items: end;
}

.quote-hero-card {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.quote-hero-card > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quote-hero-card ol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.quote-hero-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff;
  font-weight: 700;
}

.quote-hero-card strong {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  font-size: 0.82rem;
}

.quote-form fieldset {
  border-color: rgba(126, 144, 164, 0.35);
  box-shadow: var(--shadow-sm);
}

.quote-form legend {
  color: var(--accent-dark);
}

.quote-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
  display: grid;
  gap: 1rem;
}

.aside-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.25rem;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.aside-card h2,
.aside-card h3 {
  margin: 0;
  font-size: 1rem;
}

.aside-card p,
.aside-card li {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.aside-card ol,
.aside-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.15rem;
}

.aside-card a {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.aside-card a:hover {
  text-decoration: underline;
}

.quote-form {
  display: grid;
  gap: 1.1rem;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
}

legend {
  padding: 0 0.45rem;
  font-weight: 800;
  font-size: 0.98rem;
}

.field-hint {
  margin: -0.15rem 0 0.85rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.radio-grid,
.check-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.account-option {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--soft-line);
}

.account-option__toggle {
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  cursor: pointer;
}

.account-option__fields[hidden] {
  display: none;
}

.account-option__help {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

label {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 700;
}

label > input,
label > select,
label > textarea {
  margin-top: 0.4rem;
}

.label-row,
.option-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem;
}

.required-callout {
  display: none;
  color: #b42318;
  font-size: 0.76rem;
  font-weight: 850;
}

.required-callout.is-visible {
  display: inline-flex;
}

.optional-flag {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
}

.radio-grid label,
.check-grid label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--soft-line);
  border-radius: 9px;
  background: var(--surface);
  font-weight: 650;
  cursor: pointer;
}

.radio-grid label:hover,
.check-grid label:hover {
  border-color: var(--accent);
}

.check-grid {
  margin-top: 0.75rem;
}

.option-group {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.8rem;
}

.option-group:first-of-type {
  padding-top: 0;
}

.option-group + .option-group {
  margin-top: 0.75rem;
  border-top: 1px solid var(--soft-line);
}

.option-group-title {
  margin: 0;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0.65rem 0.8rem;
  font-weight: 500;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  min-height: 0;
  margin: 0;
  accent-color: var(--accent);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.1);
}

.radio-grid label > input,
.check-grid label > input {
  margin-top: 0;
}

textarea {
  resize: vertical;
}

.full-field {
  margin-top: 0.8rem;
}

.upload-box {
  display: grid;
  place-items: center;
  gap: 0.5rem;
  min-height: 9.5rem;
  padding: 1.35rem;
  border: 2px dashed #8aa2bf;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(227, 237, 249, 0.72), rgba(246, 248, 250, 0.95));
  text-align: center;
  cursor: pointer;
}

.upload-box:hover,
.upload-box.is-dragging {
  border-color: var(--accent);
  background: #eef5ff;
}

.upload-box input {
  max-width: 100%;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.upload-box__title {
  color: var(--ink);
  font-weight: 850;
  font-size: 1rem;
}

.upload-box__copy {
  color: var(--muted);
  font-weight: 650;
  font-size: 0.9rem;
}

.upload-intro {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.upload-intro p {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.secure-pill {
  flex: 0 0 auto;
  padding: 0.32rem 0.6rem;
  border: 1px solid rgba(27, 111, 82, 0.22);
  border-radius: 999px;
  background: rgba(27, 111, 82, 0.08);
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
}

.format-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

.format-chips span {
  padding: 0.28rem 0.55rem;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.upload-status-panel {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
}

.upload-status-panel[hidden] {
  display: none;
}

.upload-status-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--ink);
  font-size: 0.86rem;
}

.upload-status-top span {
  color: var(--muted);
  font-weight: 750;
}

.progress-track,
.file-row__bar {
  overflow: hidden;
  height: 0.44rem;
  border-radius: 999px;
  background: var(--surface-strong);
}

.progress-track span,
.file-row__bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), #2b8edc);
  transition: width 0.35s ease;
}

.file-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.file-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem 0.8rem;
  align-items: center;
  padding: 0.65rem;
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  background: var(--surface);
}

.file-row__name {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-row__meta {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
}

.file-row__bar {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.field-help {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.submit-status {
  display: block;
  min-height: 2.75rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(31, 94, 174, 0.28);
  border-radius: 9px;
  background: rgba(31, 94, 174, 0.07);
  color: var(--accent-dark);
  font-weight: 750;
}

.submit-status.ok {
  border-color: rgba(27, 111, 82, 0.32);
  background: rgba(27, 111, 82, 0.08);
  color: var(--green);
}

.submit-status.error {
  border-color: rgba(147, 102, 15, 0.38);
  background: rgba(147, 102, 15, 0.09);
  color: #6f4c06;
}

.submit-status:empty {
  display: none;
}

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

address {
  display: grid;
  gap: 0.5rem;
  padding: 1.35rem;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  font-style: normal;
  color: var(--muted);
}

address strong {
  color: var(--ink);
  font-size: 1.08rem;
}

address a {
  width: max-content;
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
}

address a:hover {
  text-decoration: underline;
}

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

.site-footer {
  border-top: 1px solid var(--soft-line);
  background: var(--dark-band);
  color: var(--dark-band-ink);
}

.site-footer .container {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-block: clamp(2.25rem, 5vw, 3.25rem) 1.25rem;
}

.footer-brand p {
  max-width: 26rem;
  color: var(--dark-band-muted);
  font-size: 0.92rem;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--ink);
}

.footer-brand .brand strong {
  color: #fff;
}

.footer-brand .brand small {
  color: var(--dark-band-muted);
}

.footer-col h3 {
  margin-bottom: 0.7rem;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: var(--dark-band-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-col li {
  color: var(--dark-band-muted);
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 1rem;
  color: var(--dark-band-muted);
  font-size: 0.84rem;
}

.footer-bottom a {
  color: var(--dark-band-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Services page
   -------------------------------------------------------------------------- */

.page-hero {
  border-bottom: 1px solid var(--soft-line);
  background:
    radial-gradient(46rem 22rem at 88% -30%, rgba(31, 94, 174, 0.1), transparent 60%),
    linear-gradient(180deg, #fbfcfd, #f3f6f9);
}

.page-hero .container {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.page-hero p {
  max-width: 46rem;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.anchor-nav a {
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
}

.anchor-nav a:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.service-section {
  padding-block: clamp(2rem, 5vw, 3.25rem);
  border-bottom: 1px solid var(--soft-line);
}

.service-section:last-of-type {
  border-bottom: 0;
}

.service-section .split {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.service-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-0.1rem);
}

.service-note {
  margin-top: 0.9rem;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--soft-line);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.service-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.75rem clamp(1rem, 4vw, 2.5rem) 1rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .primary-nav a {
    padding: 0.8rem 0.75rem;
  }

  .site-header.nav-open .primary-nav {
    display: flex;
  }

  .hero .container,
  .quote-hero__grid,
  .split,
  .service-section .split,
  .quote-layout,
  .cta-band .container {
    grid-template-columns: 1fr;
  }

  .quote-aside {
    position: static;
  }

  .quote-hero h1 {
    max-width: 16ch;
  }

  .card-grid,
  .work-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .header-actions .button {
    min-height: 2.6rem;
    padding: 0.55rem 0.85rem;
    font-size: 0.88rem;
  }

  .card-grid,
  .card-grid.cols-2,
  .work-grid,
  .process-grid,
  .radio-grid,
  .check-grid,
  .form-grid,
  .service-list,
  .hero-media {
    grid-template-columns: 1fr;
  }

  .hero-media figure:nth-child(1) {
    grid-column: span 1;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .upload-intro,
  .upload-status-top {
    display: grid;
  }

  .file-row {
    grid-template-columns: 1fr;
  }

  .site-footer .container {
    grid-template-columns: 1fr;
  }
}

/* ===========================================================================
   Reference-matched public marketing theme
   Scoped to the four marketing routes so portal and employee surfaces keep
   their established product styling.
   ========================================================================== */

.marketing-site {
  --ink: #0d1114;
  --muted: #545a60;
  --line: #cfd4d6;
  --soft-line: #e4e7e8;
  --panel: #ffffff;
  --surface: #f6f7f5;
  --surface-strong: #ecefeb;
  --accent: #78c900;
  --accent-dark: #4d8f00;
  --accent-soft: #eef9d9;
  --shadow: 0 20px 55px rgba(10, 16, 20, 0.09);
  --shadow-sm: 0 7px 20px rgba(10, 16, 20, 0.06);
  --dark-band: #151b1e;
  --dark-band-ink: #f7faf7;
  --dark-band-muted: #bbc4c0;
  --radius: 11px;
  --radius-lg: 15px;
  --header-h: 4rem;
  overflow-x: clip;
  background: #fff;
}

.marketing-site .site-header {
  min-height: var(--header-h);
  padding-block: 0.45rem;
  border-color: rgba(13, 17, 20, 0.1);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(13, 17, 20, 0.04);
}

.marketing-site .brand-mark {
  position: relative;
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 10px 4px 10px 4px;
  background: linear-gradient(145deg, var(--accent) 0 48%, #20282c 49% 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  font-size: 0.92rem;
  transform: skew(-4deg);
}

.marketing-site .brand strong {
  font-size: 1.16rem;
  letter-spacing: -0.035em;
}

.marketing-site .brand small {
  font-size: 0.65rem;
  letter-spacing: 0.035em;
}

.marketing-site .primary-nav {
  gap: clamp(0.1rem, 1vw, 0.65rem);
  font-size: 0.84rem;
  font-weight: 740;
}

.marketing-site .primary-nav a {
  padding: 0.5rem 0.58rem;
}

.marketing-site .primary-nav a:hover,
.marketing-site .primary-nav a[aria-current="page"] {
  background: var(--accent-soft);
  color: #294b00;
}

.marketing-site .button {
  min-height: 2.72rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 820;
  box-shadow: none;
}

.marketing-site .button.primary {
  border-color: #65ad00;
  background: linear-gradient(180deg, #8bdc0c, #72c000);
  color: #0c1600;
  box-shadow: 0 7px 18px rgba(102, 176, 0, 0.22);
}

.marketing-site .button.primary:hover {
  border-color: #528e00;
  background: #67b300;
  color: #071000;
  transform: translateY(-1px);
}

.marketing-site .eyebrow {
  color: var(--accent-dark);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.marketing-site h1,
.marketing-site h2,
.marketing-site h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
}

.marketing-site h1 {
  font-size: clamp(2.75rem, 6.2vw, 5.2rem);
  line-height: 0.95;
}

.marketing-site h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  line-height: 1.02;
}

.marketing-site .accent-text {
  display: block;
  color: var(--accent);
}

.marketing-site .hero {
  padding-bottom: clamp(1.2rem, 3vw, 2rem);
  border-bottom: 0;
  background:
    linear-gradient(rgba(13, 17, 20, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 20, 0.025) 1px, transparent 1px),
    radial-gradient(42rem 25rem at 86% 20%, rgba(120, 201, 0, 0.12), transparent 64%),
    #fff;
  background-size: 32px 32px, 32px 32px, auto, auto;
}

.marketing-site .hero .container:first-child {
  grid-template-columns: minmax(18rem, 0.82fr) minmax(26rem, 1.18fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: min(72vh, 48rem);
  padding-block: clamp(2.8rem, 7vw, 5.4rem);
}

.marketing-site .hero h1 {
  max-width: 9ch;
  margin-bottom: 1rem;
}

.marketing-site .hero .lede {
  max-width: 34rem;
  color: #454b50;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.55;
}

.marketing-site .hero-points {
  display: grid;
  gap: 0.45rem;
  color: #3f4549;
  font-size: 0.84rem;
}

.marketing-site .hero-points li::before {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 2px;
  background: var(--accent);
}

.marketing-site .hero-media {
  position: relative;
  grid-template-columns: minmax(0, 1.25fr) minmax(8rem, 0.75fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 26rem;
}

.marketing-site .hero-media::before {
  content: "BUILT IN CENTRAL FLORIDA";
  position: absolute;
  right: -0.5rem;
  top: -1.2rem;
  z-index: 3;
  padding: 0.48rem 0.7rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.marketing-site .hero-media figure,
.marketing-site .hero-media figure:nth-child(1) {
  grid-column: auto;
  margin: 0;
  border: 1px solid #c9cecf;
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(13, 17, 20, 0.13);
}

.marketing-site .hero-media figure:first-child {
  grid-row: 1 / 3;
}

.marketing-site .hero-media img,
.marketing-site .hero-media figure:nth-child(1) img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.marketing-site .capability-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.marketing-site .capability-rail a {
  position: relative;
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding: 1rem 1rem 1rem 2.6rem;
  text-decoration: none;
}

.marketing-site .capability-rail a + a {
  border-left: 1px solid var(--line);
}

.marketing-site .capability-rail a::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 4px 4px 0 var(--accent);
  transform: rotate(45deg);
}

.marketing-site .capability-rail a:hover {
  background: var(--accent-soft);
}

.marketing-site .capability-rail strong,
.marketing-site .capability-rail span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.marketing-site .capability-rail strong {
  font-size: 0.82rem;
}

.marketing-site .capability-rail span {
  color: var(--muted);
  font-size: 0.67rem;
}

.marketing-site .section {
  padding-block: clamp(3.4rem, 8vw, 6rem);
}

.marketing-site .section.tinted {
  border-color: var(--line);
  background:
    linear-gradient(135deg, rgba(120, 201, 0, 0.045), transparent 42%),
    var(--surface);
}

.marketing-site .section-heading {
  max-width: 50rem;
}

.marketing-site .card-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}

.marketing-site .card {
  min-height: 15rem;
  padding: 1.55rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.marketing-site .card:nth-child(3n + 2),
.marketing-site .card:nth-child(3n + 3) {
  border-left: 1px solid var(--line);
}

.marketing-site .card:nth-child(n + 4) {
  border-top: 1px solid var(--line);
}

.marketing-site a.card:hover {
  z-index: 1;
  border-color: transparent;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 2px var(--accent);
  transform: none;
}

.marketing-site .card-icon {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid #b8c0b8;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  box-shadow: 4px 4px 0 var(--accent);
}

.marketing-site .card .card-link {
  color: var(--accent-dark);
}

.marketing-site .work-grid {
  gap: 1.1rem;
}

.marketing-site .work-card {
  border-color: #cbd0d1;
  border-radius: 12px;
  box-shadow: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.marketing-site .work-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.marketing-site .work-card img {
  aspect-ratio: 5 / 3.6;
  filter: saturate(0.82) contrast(1.05);
}

.marketing-site .tag {
  border-color: #cdd3c8;
  background: var(--accent-soft);
  color: #345d00;
}

.marketing-site .process-grid {
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.marketing-site .process-grid article {
  min-height: 12.5rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.marketing-site .process-grid article + article {
  border-left: 1px dashed #aeb5b7;
}

.marketing-site .process-grid article span {
  background: var(--accent);
  color: #0b1400;
}

.marketing-site .pill-list li {
  border-color: #bcc3c4;
  border-radius: 7px;
  box-shadow: 3px 3px 0 var(--accent-soft);
}

.marketing-site .page-hero {
  border-color: var(--line);
  background:
    linear-gradient(rgba(13, 17, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 17, 20, 0.035) 1px, transparent 1px),
    radial-gradient(42rem 22rem at 90% 10%, rgba(120, 201, 0, 0.16), transparent 68%),
    #fbfcfa;
  background-size: 30px 30px, 30px 30px, auto, auto;
}

.marketing-site .page-hero .container {
  padding-block: clamp(3.5rem, 8vw, 6.2rem);
}

.marketing-site .page-hero h1 {
  max-width: 13ch;
  font-size: clamp(2.65rem, 5.5vw, 4.8rem);
}

.marketing-site .page-hero .lede {
  max-width: 42rem;
}

.marketing-site .anchor-nav {
  gap: 0;
  overflow: hidden;
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.marketing-site .anchor-nav a {
  border: 0;
  border-radius: 0;
}

.marketing-site .anchor-nav a + a {
  border-left: 1px solid var(--line);
}

.marketing-site .anchor-nav a:hover {
  background: var(--accent-soft);
}

.marketing-site .service-section {
  padding-block: clamp(3rem, 7vw, 5rem);
  border-color: var(--line);
}

.marketing-site .service-section:nth-of-type(odd) {
  background: var(--surface);
}

.marketing-site .service-section .split > div:last-child {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 6px 6px 0 var(--accent-soft);
}

.marketing-site .service-list li::before {
  background: var(--accent);
}

.marketing-site address,
.marketing-site .aside-card {
  border-color: var(--line);
  border-radius: 11px;
  box-shadow: 5px 5px 0 var(--accent-soft);
}

.marketing-site address a,
.marketing-site .aside-card a {
  color: var(--accent-dark);
}

.marketing-site .cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 125%, transparent 0 2rem, rgba(120, 201, 0, 0.12) 2.05rem 2.12rem, transparent 2.17rem),
    radial-gradient(circle at 88% -20%, rgba(120, 201, 0, 0.18), transparent 28rem),
    var(--dark-band);
  background-size: 6rem 6rem, auto, auto;
}

.marketing-site .cta-band h2 {
  color: #fff;
}

.marketing-site .site-footer {
  border-color: rgba(255, 255, 255, 0.1);
  background: #111619;
}

.marketing-site .footer-brand .brand-mark {
  background: linear-gradient(145deg, var(--accent) 0 48%, #fff 49% 100%);
  color: #101518;
}

@media (max-width: 960px) {
  .marketing-site .hero .container:first-child {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .marketing-site .hero h1 {
    max-width: 10ch;
  }

  .marketing-site .hero-media {
    min-height: 23rem;
  }

  .marketing-site .capability-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .marketing-site .capability-rail a + a {
    border-left: 0;
  }

  .marketing-site .capability-rail a:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .marketing-site .capability-rail a:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .marketing-site .capability-rail a:last-child {
    grid-column: 1 / -1;
  }

  .marketing-site .card:nth-child(3n + 2),
  .marketing-site .card:nth-child(3n + 3) {
    border-left: 0;
  }

  .marketing-site .card:nth-child(even) {
    border-left: 1px solid var(--line);
  }

  .marketing-site .card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .marketing-site .process-grid article + article {
    border-left: 0;
  }

  .marketing-site .process-grid article:nth-child(even) {
    border-left: 1px dashed #aeb5b7;
  }

  .marketing-site .process-grid article:nth-child(n + 3) {
    border-top: 1px dashed #aeb5b7;
  }
}

@media (max-width: 640px) {
  .marketing-site h1 {
    font-size: clamp(2.55rem, 15vw, 4rem);
  }

  .marketing-site .site-header {
    padding-inline: 0.85rem;
  }

  .marketing-site .hero .container:first-child {
    padding-block: 2.6rem 2rem;
  }

  .marketing-site .hero-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 13rem 9rem;
    min-height: 0;
  }

  .marketing-site .hero-media figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .marketing-site .capability-rail {
    grid-template-columns: 1fr;
    margin-inline: 1rem;
    width: auto;
  }

  .marketing-site .capability-rail a,
  .marketing-site .capability-rail a:nth-child(even),
  .marketing-site .capability-rail a:last-child {
    grid-column: auto;
    border-left: 0;
  }

  .marketing-site .capability-rail a + a {
    border-top: 1px solid var(--line);
  }

  .marketing-site .card:nth-child(even) {
    border-left: 0;
  }

  .marketing-site .card:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .marketing-site .process-grid article:nth-child(even) {
    border-left: 0;
  }

  .marketing-site .process-grid article:nth-child(n + 2) {
    border-top: 1px dashed #aeb5b7;
  }

  .marketing-site .anchor-nav {
    display: grid;
    width: 100%;
  }

  .marketing-site .anchor-nav a + a {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Final route-scoped cascade locks for the reference composition. */
.reference-home .reference-hero__copy h1,
.reference-work-page .portfolio-hero h1 {
  font-size: clamp(3.6rem, 7.3vw, 7.1rem);
  line-height: 0.87;
  letter-spacing: -0.075em;
}

.reference-home .capability-rail a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.1rem 0.65rem;
  padding: 1rem 1.15rem;
  border-right: 1px solid var(--line);
}

.reference-home .capability-rail a + a {
  border-left: 0;
}

.reference-home .capability-rail a:last-child {
  grid-column: auto;
  border-right: 0;
}

.reference-home .capability-rail a::before {
  display: none;
}

.reference-home .capability-rail i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--accent-dark);
  font-style: normal;
  font-weight: 900;
}

@media (max-width: 900px) {
  .reference-home .capability-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-home .capability-rail a,
  .reference-home .capability-rail a:nth-child(even) {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .reference-home .capability-rail a:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .reference-home .reference-hero__copy h1,
  .reference-work-page .portfolio-hero h1 {
    font-size: clamp(3.05rem, 16vw, 4.6rem);
  }

  .reference-home .capability-rail {
    grid-template-columns: 1fr;
    width: auto;
    margin-inline: 1rem;
  }

  .reference-home .capability-rail a,
  .reference-home .capability-rail a:nth-child(even),
  .reference-home .capability-rail a:last-child {
    grid-column: auto;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .reference-home .capability-rail a:first-child {
    border-top: 0;
  }
}

/* Final route-scoped cascade locks for the Resources composition. */
.resources-page .resources-hero h1 {
  font-size: clamp(3.7rem, 7vw, 6.8rem);
  line-height: 0.86;
  letter-spacing: -0.075em;
}

.resources-page .production-section h2,
.resources-page .production-section h3,
.resources-page .resources-section--dark h2,
.resources-page .resources-section--dark h3 {
  color: #fff;
}

.resources-page .production-section .eyebrow,
.resources-page .resources-section--dark .eyebrow {
  color: var(--accent);
}

@media (max-width: 640px) {
  .resources-page .resources-hero h1 {
    font-size: clamp(3.2rem, 17vw, 4.7rem);
  }
}
