/* ═══════════════════════════════════════════════════════
   Trustworthy Solutions — trustworthysolutions.com.au
   Design tokens inherited from trustworthyit.com.au so the
   brands read as one family. Mono is pushed harder here —
   this is the one that builds the software.
   ═══════════════════════════════════════════════════════ */

:root {
  --green:      #339656;
  --green-hi:   #42b86c;
  --green-dim:  rgba(51, 150, 86, .1);
  --green-gl:   rgba(51, 150, 86, .22);

  --bg:         #080909;
  --bg2:        #0c0d0f;
  --bg3:        #0e0f11;
  --surface:    #141618;
  --surface2:   #1a1c1f;

  --border:     rgba(255, 255, 255, 0.07);
  --border-hi:  rgba(255, 255, 255, 0.14);
  --border-g:   rgba(51, 150, 86, 0.2);

  --white:      #edf2f6;
  --muted:      #4a5260;
  --muted2:     #7d8c9a;

  /* code-block syntax accents */
  --c-key:      #7fd1a0;
  --c-str:      #c9a24a;
  --c-com:      #4a5260;

  --mono:       'DM Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans:       'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max:        1180px;
  --gutter:     40px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

::selection { background: var(--green); color: #fff; }

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

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green); color: #fff;
  padding: 12px 20px; border-radius: 0 0 8px 0;
  font-weight: 700; font-size: 14px; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ── SHARED TYPE ── */
.label-tag {
  display: inline-block;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-hi);
  margin-bottom: 14px;
}
.h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 900; letter-spacing: -.035em;
  line-height: 1.1; text-wrap: balance;
}
.body-txt { color: var(--muted2); line-height: 1.78; }

.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg2); border-block: 1px solid var(--border); }

/* ── BUTTONS ── */
.btn-solid {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: var(--green);
  color: #fff; font-weight: 700; font-size: 15px;
  border-radius: 8px; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-solid:hover {
  background: var(--green-hi); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(51, 150, 86, .35);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; background: transparent;
  color: var(--muted2); font-weight: 500; font-size: 15px;
  border-radius: 8px; border: 1px solid var(--border);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.btn-outline:hover { border-color: var(--border-hi); color: var(--white); }

/* ── NAV ── */
header {
  position: sticky; top: 0; z-index: 200;
  transition: background .4s, box-shadow .4s;
}
header.solid {
  background: rgba(8, 9, 9, .94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 72px; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.nav-logo .mark { width: 34px; height: 34px; flex-shrink: 0; transition: transform .3s; }
.nav-logo:hover .mark { transform: rotate(-6deg); }
.wordmark {
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  color: var(--white); white-space: nowrap; line-height: 1.15;
}
.wordmark em { font-style: normal; color: var(--green-hi); }
.wordmark small {
  display: block; font-family: var(--mono);
  font-size: 9.5px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
}

nav.nav-links { display: flex; gap: 30px; margin-left: auto; }
nav.nav-links a {
  font-size: 14px; font-weight: 500;
  color: var(--muted2); text-decoration: none;
  transition: color .2s; white-space: nowrap;
}
nav.nav-links a:hover { color: var(--white); }

.nav-pill {
  font-size: 13.5px; font-weight: 700;
  color: #fff; background: var(--green);
  padding: 9px 20px; border-radius: 100px;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s;
}
.nav-pill:hover {
  background: var(--green-hi);
  box-shadow: 0 4px 20px rgba(51, 150, 86, .4);
  transform: translateY(-1px);
}

.nav-mobile-btn {
  display: none; background: none; border: none;
  padding: 8px; cursor: pointer; color: var(--muted2);
}

#mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 190;
  background: rgba(8, 9, 9, .97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  flex-direction: column; align-items: center; justify-content: center; gap: 34px;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-size: 1.7rem; font-weight: 800;
  color: var(--white); text-decoration: none; letter-spacing: -.025em;
}
#mobile-nav a:hover { color: var(--green-hi); }
.mnav-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--muted2); cursor: pointer;
}

/* ── HERO ── */
.hero { padding: 84px 0 76px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(51, 150, 86, .16) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 62% 45%, black 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 62% 45%, black 10%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute;
  width: 700px; height: 700px;
  right: -200px; top: 50%; transform: translateY(-50%);
  background: radial-gradient(ellipse, rgba(51, 150, 86, .12) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr;
  align-items: center; gap: 56px;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green-dim); border: 1px solid var(--border-g);
  border-radius: 100px; padding: 5px 15px 5px 9px;
  margin-bottom: 24px; text-decoration: none;
  transition: border-color .2s, background .2s;
}
a.hero-badge:hover { border-color: rgba(51, 150, 86, .45); background: rgba(51, 150, 86, .14); }
.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
  box-shadow: 0 0 0 0 var(--green-gl);
  animation: ping 2s ease-in-out infinite;
}
@keyframes ping {
  0%   { box-shadow: 0 0 0 0 var(--green-gl); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.hero-badge span {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .08em; color: var(--green-hi);
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.05rem);
  font-weight: 900; letter-spacing: -.038em;
  line-height: 1.06; margin-bottom: 20px; text-wrap: balance;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--green), var(--green-hi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.06rem; color: var(--muted2);
  line-height: 1.78; margin-bottom: 34px; max-width: 490px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note {
  margin-top: 24px; font-family: var(--mono);
  font-size: 11.5px; color: var(--muted2); letter-spacing: .02em;
  line-height: 1.8;
}

/* hero terminal */
.term {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.term-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.term-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2c3136; }
.term-bar i:first-child { background: #3a4046; }
.term-bar .term-file {
  margin-left: 10px; font-family: var(--mono);
  font-size: 11px; color: var(--muted);
}
.term-body {
  padding: 20px 22px 24px;
  font-family: var(--mono); font-size: 12.5px;
  line-height: 2; color: var(--muted2);
  overflow-x: auto;
}
.term-body .ln { display: block; white-space: pre; }
.term-body .c { color: var(--c-com); }
.term-body .k { color: var(--c-key); }
.term-body .s { color: var(--c-str); }
.term-body .p { color: var(--green-hi); }
.term-cursor {
  display: inline-block; width: 7px; height: 14px;
  background: var(--green-hi); vertical-align: -2px;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── MARQUEE ── */
.marquee-wrap {
  border-block: 1px solid var(--border);
  background: var(--bg2); overflow: hidden;
  padding: 15px 0; position: relative;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: scroll 68s linear infinite;
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.m-item {
  display: flex; align-items: center; gap: 22px;
  padding-right: 22px; white-space: nowrap;
  font-family: var(--mono); font-size: 12px;
  color: var(--muted2); letter-spacing: .01em;
}
.m-sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* ── OUTCOMES BAND (save time, save money) ── */
.outcomes { padding: 76px 0; }
.out-head { max-width: 620px; margin-bottom: 40px; }
.out-head p { margin-top: 16px; }
.out-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
/* Grid children default to min-width:auto, which lets long words push a track
   wider than its share and overflow the page. Let them actually shrink. */
.out-grid > *, .svc-grid > *, .stack-grid > *, .signs-grid > *,
.fam-grid > *, .foot-grid > *, .hero-grid > * { min-width: 0; }
.out-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px 26px 30px;
  position: relative; overflow: hidden;
  transition: border-color .25s, transform .25s;
}
.out-card:hover { border-color: var(--border-g); transform: translateY(-4px); }
.out-card::after {
  content: ''; position: absolute; left: 0; top: 0;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
}
.out-num {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  font-weight: 900; letter-spacing: -.045em; line-height: 1;
  background: linear-gradient(100deg, var(--green), var(--green-hi));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.out-card h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.out-card p { font-size: .9rem; color: var(--muted2); line-height: 1.72; }
.out-foot {
  margin-top: 22px; font-family: var(--mono);
  font-size: 11.5px; color: var(--muted2); letter-spacing: .02em;
  line-height: 1.8; max-width: 940px;
}

/* ── BUILD GRID (what we build) ── */
.svc-intro {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 52px;
}
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.svc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px 26px 28px;
  transition: border-color .25s, transform .25s, background .25s;
}
.svc-card:hover {
  border-color: var(--border-g); transform: translateY(-4px);
  background: var(--surface2);
}
.svc-card-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.svc-card-icon {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--green-dim); border: 1px solid var(--border-g);
  display: grid; place-items: center;
}
.svc-card-icon svg {
  width: 20px; height: 20px; fill: none;
  stroke: var(--green-hi); stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.svc-card-num {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: .1em; color: var(--muted);
}
.svc-card h3 {
  font-size: 1.12rem; font-weight: 700;
  letter-spacing: -.02em; margin-bottom: 9px;
}
.svc-card p { font-size: .92rem; color: var(--muted2); line-height: 1.72; }

/* ── SIGNS / CHECKLIST ── */
.signs-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.signs-head .label-tag { margin-inline: auto; display: block; }
.signs-head p { margin-top: 16px; }
.signs-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
  max-width: 940px; margin: 0 auto;
}
.sign {
  display: flex; gap: 15px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px 22px;
  transition: border-color .25s, background .25s;
}
.sign:hover { border-color: var(--border-g); background: var(--surface2); }
.sign-check {
  width: 22px; height: 22px; border-radius: 6px; flex-shrink: 0;
  background: var(--green-dim); border: 1px solid var(--border-g);
  display: grid; place-items: center; margin-top: 2px;
}
.sign-check svg { width: 12px; height: 12px; fill: none; stroke: var(--green-hi); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sign p { font-size: .95rem; color: var(--white); line-height: 1.65; }
.sign p em { font-style: normal; color: var(--muted2); display: block; font-size: .875rem; margin-top: 4px; }
.signs-foot {
  text-align: center; margin-top: 40px;
  font-family: var(--mono); font-size: 12.5px; color: var(--muted2);
}
.signs-foot strong { color: var(--green-hi); font-weight: 500; }

/* ── HOW WE WORK ── */
.hw-inner { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; }
.hw-left { position: sticky; top: 104px; align-self: start; }
.hw-left p { color: var(--muted2); line-height: 1.78; margin-top: 18px; }
.hw-steps { display: flex; flex-direction: column; }
.hw-step { display: grid; grid-template-columns: 46px 1fr; gap: 22px; }
.hw-track { display: flex; flex-direction: column; align-items: center; }
.hw-circle {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border-g); background: var(--green-dim);
  display: grid; place-items: center;
  font-family: var(--mono); font-size: 12px; color: var(--green-hi);
}
.hw-line {
  width: 1px; flex: 1; min-height: 26px;
  background: linear-gradient(to bottom, var(--border-g) 0%, var(--border) 100%);
}
.hw-step:last-child .hw-line { display: none; }
.hw-body { padding-bottom: 38px; }
.hw-step:last-child .hw-body { padding-bottom: 0; }
.hw-body h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 8px; }
.hw-body p { color: var(--muted2); font-size: .95rem; line-height: 1.74; }

/* ── STACK ── */
.stack-head { max-width: 680px; margin-bottom: 44px; }
.stack-head p { margin-top: 16px; }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stack-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 22px 22px 24px;
  transition: border-color .25s, transform .25s;
}
.stack-card:hover { border-color: var(--border-g); transform: translateY(-3px); }
.stack-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.stack-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 8px; }
.stack-card p { font-size: .875rem; color: var(--muted2); line-height: 1.7; }

.promise {
  margin-top: 22px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  background: rgba(51, 150, 86, .05);
  border: 1px solid var(--border-g); border-radius: 14px;
  padding: 26px 30px;
}
.promise-icon {
  width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0;
  background: var(--green-dim); border: 1px solid var(--border-g);
  display: grid; place-items: center;
}
.promise-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--green-hi); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.promise-text { flex: 1; min-width: 260px; }
.promise-text h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.02em; margin-bottom: 6px; }
.promise-text p { font-size: .92rem; color: var(--muted2); line-height: 1.7; }

/* ── ABOUT / PILLARS ── */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.pillars { display: flex; flex-direction: column; gap: 10px; }
.pillar {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 19px 21px;
  transition: border-color .25s, background .25s, transform .25s;
}
.pillar:hover { border-color: var(--border-g); background: var(--surface2); transform: translateX(4px); }
.picon {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: var(--green-dim); border: 1px solid var(--border-g);
  display: grid; place-items: center;
}
.picon svg { width: 16px; height: 16px; fill: none; stroke: var(--green-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.pillar h4 { font-size: .98rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 4px; }
.pillar p { font-size: .875rem; color: var(--muted2); line-height: 1.68; }
.about-right p { color: var(--muted2); line-height: 1.78; margin-top: 16px; }

/* ── FAMILY ── */
.fam-head { max-width: 660px; margin: 0 auto 48px; text-align: center; }
.fam-head .label-tag { margin-inline: auto; display: block; }
.fam-head p { margin-top: 16px; }
.fam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fam-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 26px; text-decoration: none;
  transition: border-color .25s, transform .25s, background .25s;
}
.fam-card:hover { border-color: var(--border-g); transform: translateY(-4px); background: var(--surface2); }
.fam-card.is-current { background: rgba(51, 150, 86, .05); border-color: var(--border-g); }
.fam-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.fam-card.is-current .fam-tag { color: var(--green-hi); }
.fam-card h3 { font-size: 1.12rem; font-weight: 800; letter-spacing: -.025em; color: var(--white); margin-bottom: 9px; }
.fam-card p { font-size: .9rem; color: var(--muted2); line-height: 1.72; flex: 1; }
.fam-link {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 18px; font-family: var(--mono);
  font-size: 11.5px; color: var(--green-hi); letter-spacing: .02em;
}
.fam-card.is-current .fam-link { color: var(--muted); }
.fam-link svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ── CONTACT ── */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center;
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: 20px; padding: 56px;
  position: relative; overflow: hidden;
}
.contact-split::before {
  content: ''; position: absolute;
  width: 520px; height: 520px; left: -160px; bottom: -240px;
  background: radial-gradient(ellipse, rgba(51, 150, 86, .11) 0%, transparent 65%);
  pointer-events: none;
}
.contact-left { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; }
.contact-left h2 {
  font-size: clamp(1.7rem, 2.9vw, 2.4rem);
  font-weight: 900; letter-spacing: -.035em; line-height: 1.12;
  margin-bottom: 16px; text-wrap: balance;
}
.contact-left p { color: var(--muted2); line-height: 1.78; margin-bottom: 28px; }
.contact-right { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.ccard {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 13px; padding: 22px 24px;
}
.ccard-top { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.ccard-icon {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  background: var(--green-dim); border: 1px solid var(--border-g);
  display: grid; place-items: center;
}
.ccard-icon svg { width: 18px; height: 18px; fill: none; stroke: var(--green-hi); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ccard-tag {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 3px;
}
.ccard h4 { font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.ccard-links { display: flex; flex-direction: column; gap: 9px; }
.ccard-links a {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--muted2);
  text-decoration: none; transition: color .2s;
  word-break: break-word;
}
.ccard-links a:hover { color: var(--green-hi); }
/* Same row treatment, but it's a statement of fact rather than a link. */
.ccard-plain {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--muted2); line-height: 1.55;
}
.clink-icon {
  width: 24px; height: 24px; border-radius: 7px; flex-shrink: 0;
  background: var(--surface2); border: 1px solid var(--border);
  display: grid; place-items: center;
}
.clink-icon svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); margin-top: 104px; padding: 56px 0 34px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 44px; }
.foot-brand .nav-logo { margin-bottom: 16px; }
.foot-brand p { font-size: .88rem; color: var(--muted2); line-height: 1.74; max-width: 330px; }
.foot-col h5 {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 15px; font-weight: 400;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: .89rem; color: var(--muted2);
  text-decoration: none; transition: color .2s;
}
.foot-col a:hover { color: var(--white); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
  padding-top: 26px; border-top: 1px solid var(--border);
  font-family: var(--mono); font-size: 11px; color: var(--muted2);
}
.foot-bottom a { color: var(--muted2); text-decoration: none; }
.foot-bottom a:hover { color: var(--green-hi); }

/* ── REVEAL ──
   Scoped to .js so the page is fully readable when JavaScript is
   unavailable or errors out. Never hide content the browser can't get back. */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  :root { --gutter: 28px; }
  .section { padding: 80px 0; }
  nav.nav-links, .nav-pill { display: none; }
  .nav-mobile-btn { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-sub { max-width: none; }
  .svc-intro { grid-template-columns: 1fr; gap: 22px; align-items: start; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
  .out-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .out-card { padding: 24px 20px 26px; }
  .hw-inner { grid-template-columns: 1fr; gap: 44px; }
  .hw-left { position: static; }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-right { order: -1; }
  .fam-grid { grid-template-columns: 1fr; }
  .contact-split { grid-template-columns: 1fr; gap: 36px; padding: 40px 30px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding: 66px 0; }
  .hero { padding: 56px 0 60px; }
  .svc-grid { grid-template-columns: 1fr; }
  .signs-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .out-grid { grid-template-columns: 1fr; }
  .out-card { padding: 26px 24px 28px; }
  .contact-split { padding: 34px 24px; border-radius: 16px; }
  .term-body { font-size: 11.5px; padding: 16px 18px 20px; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  footer { margin-top: 66px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
