/* ═══════════════════════════════════════════════════════════════
   RSynergy v2 — style.css
   Dark Techy · WCAG 2.1 AA · Fully Responsive
   Fonts: Syne (headings) · DM Sans (body)
   Brand teal: #2a9db5
═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Colours */
  --bg:        #0c1118;
  --bg2:       #101620;
  --bg3:       #131d28;
  --bgcard:    #141e2b;
  --bgcard2:   #192438;
  --teal:      #2a9db5;
  --teallt:    #39b8d4;
  --tealdark:  #1c7d92;
  --tealglow:  rgba(42,157,181,.14);
  --border:    rgba(42,157,181,.18);
  --borderft:  rgba(255,255,255,.07);
  --text:      #dce8f2;
  --textmid:   #8fa8be;
  --textdim:   #516070;
  --white:     #ffffff;
  --err:       #f05060;
  --warn:      #f0a030;
  /* Radii */
  --r:  12px;
  --rl: 18px;
  /* Shadows */
  --sh:  0 4px 28px rgba(0,0,0,.45);
  --sht: 0 0 40px rgba(42,157,181,.18);
  /* Type */
  --fh: 'Syne', sans-serif;
  --fb: 'DM Sans', sans-serif;
  /* Nav height */
  --navh: 66px;
  /* Transitions */
  --t: .22s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--navh); }

body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }
a   { color: var(--teal); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--teallt); }
strong { color: var(--white); font-weight: 600; }
p  { margin-bottom: .9rem; }
p:last-child { margin-bottom: 0; }
h1,h2,h3,h4 { font-family: var(--fh); line-height: 1.15; letter-spacing: -.02em; }

/* ── Accessibility ──────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--teal); color: var(--bg);
  font-family: var(--fh); font-weight: 700; font-size: .9rem;
  padding: .5rem 1.25rem; border-radius: 0 0 8px 8px;
  z-index: 9999; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 6rem 0; }

/* ── Section labels ─────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--fh);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .9rem;
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--white);
  margin-bottom: 1.1rem;
}
.section-lead {
  font-size: 1.05rem; color: var(--textmid);
  max-width: 620px; line-height: 1.75;
  margin-bottom: 3rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--fh); font-weight: 700;
  font-size: .91rem; letter-spacing: .03em;
  padding: .78rem 1.65rem;
  border-radius: 8px; border: none;
  cursor: pointer; text-decoration: none;
  white-space: nowrap; transition: all var(--t);
}
.btn-primary {
  background: var(--teal); color: var(--bg);
  box-shadow: 0 0 22px rgba(42,157,181,.32);
}
.btn-primary:hover {
  background: var(--teallt); color: var(--bg);
  box-shadow: 0 0 36px rgba(42,157,181,.5);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1.5px solid var(--borderft);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); background: var(--tealglow); }
.btn-outline {
  background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal);
  font-size: .87rem; padding: .65rem 1.35rem;
}
.btn-outline:hover { background: var(--teal); color: var(--bg); }
.btn-full { width: 100%; justify-content: center; font-size: .97rem; padding: .88rem; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; }

/* ════════════════ NAV ════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--navh);
  background: rgba(12,17,24,.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--borderft);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 100%; max-width: 1160px;
  margin: 0 auto; padding: 0 1.5rem;
}
.nav-logo img { height: 38px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center;
  gap: 1.75rem; list-style: none;
}
.nav-links a {
  font-family: var(--fh); font-weight: 600;
  font-size: .86rem; letter-spacing: .04em;
  color: var(--textmid);
}
.nav-links a:hover,
.nav-links a.is-active { color: var(--white); }
.nav-cta {
  background: var(--teal) !important;
  color: var(--bg) !important;
  padding: .48rem 1.15rem;
  border-radius: 7px; font-weight: 700 !important;
  transition: background var(--t), box-shadow var(--t) !important;
}
.nav-cta:hover { background: var(--teallt) !important; box-shadow: 0 0 16px rgba(42,157,181,.4); }
.nav-toggle {
  display: none;
  background: none; border: 1.5px solid var(--borderft);
  border-radius: 6px; padding: .42rem .55rem; cursor: pointer;
}
.ham, .ham::before, .ham::after {
  display: block; width: 20px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all .24s;
}
.ham { position: relative; }
.ham::before, .ham::after { content: ''; position: absolute; left: 0; }
.ham::before { top: -6px; }
.ham::after  { top: 6px; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute;
    top: var(--navh); left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--borderft);
    flex-direction: column; gap: 0; padding: .75rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; padding: .8rem 1.5rem;
    font-size: .97rem; border-bottom: 1px solid var(--borderft);
  }
  .nav-cta { margin: .5rem 1.5rem; text-align: center; border-radius: 7px !important; }
}

/* ════════════════ HERO ════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - var(--navh));
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(42,157,181,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,157,181,.035) 1px, transparent 1px);
  background-size: 52px 52px;
}
.glow {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(100px);
}
.g1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(42,157,181,.11) 0%, transparent 70%);
  top: -200px; right: -150px;
}
.g2 {
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(42,157,181,.07) 0%, transparent 70%);
  bottom: 0; left: -100px;
}
#particle-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; opacity: .5;
}

.hero-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
  width: 100%;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(42,157,181,.09);
  border: 1px solid rgba(42,157,181,.22);
  color: var(--teallt);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .38rem .95rem; border-radius: 100px;
  margin-bottom: 1.4rem;
  animation: fadeUp .5s ease both;
}
.pulse-dot {
  width: 7px; height: 7px;
  background: var(--teal); border-radius: 50%;
  animation: pulse 2s infinite;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800; color: var(--white);
  line-height: 1.08; margin-bottom: 1.2rem;
  animation: fadeUp .55s .1s ease both;
}
.accent { color: var(--teal); display: block; }

.hero-sub {
  font-size: 1.08rem; color: var(--textmid);
  line-height: 1.77; margin-bottom: 2rem;
  max-width: 490px;
  animation: fadeUp .55s .2s ease both;
}

.hero-ctas {
  display: flex; gap: .9rem; flex-wrap: wrap;
  margin-bottom: 2rem;
  animation: fadeUp .55s .3s ease both;
}

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.1rem;
  animation: fadeUp .55s .4s ease both;
}
.trust-item {
  display: flex; align-items: center; gap: .4rem;
  font-size: .83rem; color: var(--textmid);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  height: 460px;
  display: flex; align-items: center; justify-content: center;
  animation: fadeIn .7s .3s ease both;
}
.hv-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(42,157,181,.18);
}
.hv-ring.r1 { width: 340px; height: 340px; animation: spin 22s linear infinite; }
.hv-ring.r2 { width: 255px; height: 255px; border-style: dashed; animation: spin 14s linear infinite reverse; }
.hv-ring.r3 { width: 170px; height: 170px; animation: spin 9s linear infinite; }

.hv-core {
  position: relative; z-index: 2;
  width: 86px; height: 86px;
}
.hv-core svg { width: 100%; height: 100%; filter: drop-shadow(0 0 18px rgba(42,157,181,.55)); }

.hv-card {
  position: absolute;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .55rem 1rem;
  font-size: .82rem; font-weight: 600;
  display: flex; align-items: center; gap: .5rem;
  box-shadow: var(--sh);
  white-space: nowrap;
}
.hv-card.c1 { top: 14%; left: -5%;  animation: float 4.2s ease-in-out infinite; }
.hv-card.c2 { top: 62%; right: -8%; animation: float 4.2s 1.4s ease-in-out infinite; }
.hv-card.c3 { bottom: 12%; left: 2%;animation: float 4.2s 2.8s ease-in-out infinite; }

.hv-stats {
  position: absolute; bottom: 0;
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.25rem;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: .9rem 1.5rem;
  white-space: nowrap;
  box-shadow: var(--sh);
}
.hv-stat { text-align: center; }
.hv-stat strong { display: block; font-family: var(--fh); font-size: 1.35rem; font-weight: 800; color: var(--teal); }
.hv-stat span { font-size: .72rem; color: var(--textdim); text-transform: uppercase; letter-spacing: .06em; }
.hv-stat-div { width: 1px; height: 30px; background: var(--borderft); }

@media (max-width: 960px) {
  .hero-layout { grid-template-columns: 1fr; gap: 0; min-height: unset; text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-badge, .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { display: none; }
  .hero { min-height: unset; }
  .hero-layout { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}

/* ════════════════ SERVICES ════════════════ */
.services { background: var(--bg2); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.svc-card {
  background: var(--bgcard);
  border: 1px solid var(--borderft);
  border-radius: var(--rl);
  padding: 1.75rem;
  position: relative;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.svc-card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--teal), transparent);
  border-radius: var(--rl) var(--rl) 0 0;
  opacity: 0; transition: opacity var(--t);
}
.svc-card:hover { border-color: var(--border); box-shadow: var(--sht); transform: translateY(-3px); }
.svc-card:hover::after { opacity: 1; }

.svc-card--hero { border-color: rgba(42,157,181,.3); background: var(--bgcard2); }
.svc-card--hero::after { opacity: 1; }

.svc-card--npo {
  background: linear-gradient(145deg, var(--bgcard) 55%, rgba(42,157,181,.07));
  border-color: rgba(42,157,181,.2);
}

.svc-popular, .svc-npo-flag {
  position: absolute; top: 1.1rem; right: 1.1rem;
  font-size: .67rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--teal); color: var(--bg);
  padding: .22rem .65rem; border-radius: 100px;
}

.svc-icon {
  width: 44px; height: 44px;
  color: var(--teal);
  margin-bottom: 1.1rem;
}
.svc-icon svg { width: 100%; height: 100%; }

.svc-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: .65rem;
}
.svc-card p {
  font-size: .88rem; color: var(--textmid);
  line-height: 1.7; margin-bottom: 1.1rem;
}
.svc-features {
  display: flex; flex-direction: column; gap: .4rem;
  margin-bottom: 1.25rem;
}
.svc-features li {
  font-size: .83rem; color: var(--textdim);
  padding-left: 1rem; position: relative;
}
.svc-features li::before {
  content: '→'; position: absolute; left: 0;
  color: var(--teal); font-size: .78rem;
}
.svc-tag {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal);
  background: rgba(42,157,181,.08);
  border: 1px solid rgba(42,157,181,.18);
  padding: .22rem .75rem; border-radius: 100px;
  width: fit-content;
}

@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .svc-grid { grid-template-columns: 1fr; } }

/* ════════════════ ABOUT ════════════════ */
.about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5rem;
  align-items: center;
}

.about-text .section-title { margin-bottom: 1.25rem; }
.about-text p { color: var(--textmid); font-size: .97rem; line-height: 1.8; }

.about-vals {
  display: flex; flex-direction: column; gap: 1rem;
  margin: 1.75rem 0 2rem;
}
.val {
  display: flex; align-items: flex-start; gap: .9rem;
  background: var(--bgcard);
  border: 1px solid var(--borderft);
  border-radius: var(--r);
  padding: 1rem 1.25rem;
}
.val-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  color: var(--teal); margin-top: .1rem;
}
.val-icon svg { width: 100%; height: 100%; }
.val strong { display: block; font-size: .93rem; color: var(--white); margin-bottom: .2rem; }
.val span   { font-size: .84rem; color: var(--textmid); line-height: 1.55; }

/* About cards panel */
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
}
.acard {
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.25rem;
  transition: box-shadow var(--t), transform var(--t);
}
.acard:hover { box-shadow: var(--sht); transform: translateY(-2px); }

.acard--main {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 1rem;
  background: var(--bgcard2);
  border-color: rgba(42,157,181,.28);
}
.acard-avatar svg { width: 68px; height: 68px; flex-shrink: 0; }
.acard-info strong { display: block; font-size: 1rem; color: var(--white); margin-bottom: .2rem; }
.acard-info span   { display: block; font-size: .83rem; color: var(--textmid); }
.acard-loc { margin-top: .3rem; font-size: .78rem !important; color: var(--textdim) !important; }

.acard--stat { text-align: center; padding: 1.4rem 1rem; }
.astat-n { display: block; font-family: var(--fh); font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.astat-l { font-size: .78rem; color: var(--textmid); margin-top: .25rem; }

.acard--wide { grid-column: 1 / -1; }

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-cards { max-width: 480px; margin: 0 auto; }
}

/* ════════════════ CASE STUDIES ════════════════ */
.cases { background: var(--bg2); }

.cs-list { display: flex; flex-direction: column; gap: 2.5rem; }

.cs-card {
  background: var(--bgcard);
  border: 1px solid var(--borderft);
  border-radius: var(--rl);
  padding: 2.25rem;
  transition: border-color var(--t), box-shadow var(--t);
}
.cs-card:hover { border-color: var(--border); box-shadow: var(--sht); }

.cs-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: 1rem;
}
.cs-badge {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .24rem .75rem; border-radius: 100px;
  border: 1px solid;
}
.cs-badge--npo { background: rgba(42,157,181,.1); color: var(--teallt); border-color: rgba(42,157,181,.28); }
.cs-badge--sme { background: rgba(240,160,48,.08); color: #f0b030; border-color: rgba(240,160,48,.25); }
.cs-badge--ent { background: rgba(130,120,240,.08); color: #b0aaf8; border-color: rgba(130,120,240,.25); }

.cs-industry { font-size: .82rem; color: var(--textdim); }

.cs-card > h3 {
  font-size: 1.3rem; font-weight: 700;
  color: var(--white); margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cs-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: start;
}

.cs-section { margin-bottom: 1.25rem; }
.cs-section h4 {
  font-family: var(--fh); font-size: .82rem;
  font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .6rem;
}
.cs-section p {
  font-size: .9rem; color: var(--textmid); line-height: 1.75;
}

.cs-results-panel {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  position: sticky; top: calc(var(--navh) + 1.5rem);
}
.cs-result-header {
  font-family: var(--fh); font-size: .75rem;
  font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--borderft);
}
.cs-metrics { display: flex; flex-direction: column; gap: .9rem; margin-bottom: 1.25rem; }
.cs-metric {}
.cs-metric-n {
  display: block; font-family: var(--fh);
  font-size: 1.35rem; font-weight: 800;
  color: var(--teal); line-height: 1.1;
}
.cs-metric-l {
  font-size: .78rem; color: var(--textdim);
  line-height: 1.4; margin-top: .15rem;
}
.cs-quote {
  font-size: .86rem; font-style: italic;
  color: var(--textmid); line-height: 1.65;
  border-left: 3px solid var(--teal);
  padding-left: .9rem;
  margin-top: 1rem;
}
.cs-quote cite {
  display: block; font-style: normal;
  font-size: .76rem; color: var(--textdim);
  margin-top: .4rem; font-weight: 600;
}

.cs-cta {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--borderft);
}
.cs-cta p {
  font-size: 1.05rem; color: var(--textmid);
  margin-bottom: 1.25rem;
}

@media (max-width: 860px) {
  .cs-body { grid-template-columns: 1fr; }
  .cs-results-panel { position: static; }
}
@media (max-width: 580px) {
  .cs-card { padding: 1.5rem; }
  .cs-card > h3 { font-size: 1.1rem; }
}

/* ════════════════ CONTACT ════════════════ */
.contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.contact-intro {
  font-size: .98rem; color: var(--textmid);
  line-height: 1.8; margin-bottom: 2rem;
}

.cinfo-list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 1.5rem; }
.cinfo {
  display: flex; align-items: flex-start;
  gap: .85rem;
}
.cinfo-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
}
.cinfo-icon svg { width: 18px; height: 18px; }
.cinfo-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--textdim); font-weight: 600; margin-bottom: .15rem; }
.cinfo-val { font-size: .93rem; color: var(--text); font-weight: 500; }
.cinfo-val:hover { color: var(--teal); }

.ext {
  font-size: .75rem;
  background: rgba(42,157,181,.1);
  color: var(--teal); padding: .08rem .42rem;
  border-radius: 4px; font-weight: 600;
}

.response-note {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; color: var(--textdim);
}

/* Form */
.contact-right {
  background: var(--bgcard);
  border: 1px solid var(--borderft);
  border-radius: var(--rl);
  padding: 2.25rem;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg { display: flex; flex-direction: column; gap: .35rem; margin-bottom: .9rem; }
.fg-consent { flex-direction: row; flex-wrap: wrap; gap: .5rem; margin-top: .25rem; }

.fl {
  font-size: .81rem; font-weight: 600;
  color: var(--text); letter-spacing: .02em;
}
.req { color: var(--teal); margin-left: .1em; }
.fopt { color: var(--textdim); font-weight: 400; }

.fi {
  background: var(--bg);
  border: 1.5px solid var(--borderft);
  border-radius: 8px; color: var(--text);
  font-family: var(--fb); font-size: .91rem;
  padding: .68rem .95rem;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.fi:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,157,181,.14); }
.fi::placeholder { color: var(--textdim); }
.fi.err { border-color: var(--err); }

.fi-sel {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%238fa8be' d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}
.fi-sel option { background: var(--bgcard); }
.fi-ta { resize: vertical; min-height: 96px; }

.fchar { font-size: .74rem; color: var(--textdim); text-align: right; }
.fe { font-size: .77rem; color: var(--err); min-height: 1em; }

/* Consent */
.consent-wrap { display: flex; align-items: flex-start; gap: .7rem; cursor: pointer; }
.consent-input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent-box {
  width: 19px; height: 19px; flex-shrink: 0;
  border: 1.5px solid var(--borderft);
  border-radius: 5px; background: var(--bg);
  position: relative; margin-top: .05rem;
  transition: border-color var(--t), background var(--t);
}
.consent-input:checked + .consent-box { background: var(--teal); border-color: var(--teal); }
.consent-input:checked + .consent-box::after {
  content: ''; position: absolute;
  top: 2px; left: 5px;
  width: 5px; height: 9px;
  border: 2px solid var(--bg);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.consent-input:focus-visible + .consent-box { outline: 2.5px solid var(--teal); outline-offset: 2px; }
.consent-text { font-size: .82rem; color: var(--textmid); line-height: 1.55; }

.f-success {
  display: flex; align-items: center; gap: .75rem;
  background: rgba(42,157,181,.08);
  border: 1px solid rgba(42,157,181,.28);
  border-radius: var(--r);
  padding: 1rem 1.2rem;
  color: var(--teallt); font-size: .91rem;
  margin-top: 1rem;
}
.f-error {
  background: rgba(240,80,96,.07);
  border: 1px solid rgba(240,80,96,.3);
  border-radius: var(--r);
  padding: .85rem 1.2rem;
  color: #f99; font-size: .88rem;
  margin-top: 1rem;
}

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .frow { grid-template-columns: 1fr; }
  .contact-right { padding: 1.75rem; }
}

/* ════════════════ FOOTER ════════════════ */
.site-footer {
  background: var(--bg2);
  border-top: 1px solid var(--borderft);
}
.footer-top {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; padding-top: 3.5rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--borderft);
}
.footer-brand img { height: 44px; width: auto; margin-bottom: .6rem; }
.footer-brand p   { font-size: .86rem; color: var(--textdim); font-style: italic; }
.f-loc { font-size: .78rem !important; margin-top: .2rem; }

.footer-cols {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem;
}
.fcol-title {
  font-family: var(--fh); font-size: .7rem;
  font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: .9rem;
}
.footer-cols ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-cols ul a { font-size: .86rem; color: var(--textdim); }
.footer-cols ul a:hover { color: var(--text); }
.footer-cols ul li { font-size: .86rem; color: var(--textdim); }
.ftag {
  font-size: .7rem;
  background: rgba(42,157,181,.1); color: var(--teal);
  padding: .08rem .38rem; border-radius: 4px;
  font-weight: 600; margin-left: .3rem;
}

.footer-bottom { padding: 1.1rem 0; }
.footer-bottom-row {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: .6rem;
  font-size: .78rem; color: var(--textdim);
}

@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom-row { flex-direction: column; text-align: center; }
}

/* ════════════════ ANIMATIONS ════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(.8); }
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vis { opacity: 1; transform: none; }

/* ════════════════ PRINT ════════════════ */
@media print {
  .site-header, .hero-bg, .hero-visual, .hv-card, .hv-ring, #particle-canvas { display: none !important; }
  body { background: white; color: black; }
  .section { padding: 1.5rem 0; }
  a { color: black; }
}

/* ════════════════ REDUCED MOTION ════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ════ FIXES & ADDITIONS v3 ════ */

/* Honeypot — completely hidden from all users and screen readers */
.hp-trap {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Nav logo — SVG, transparent, crisp at all resolutions */
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  overflow: visible;
}

/* Footer logo */
.footer-brand img {
  height: 34px;
  width: auto;
  filter: none;
  margin-bottom: .6rem;
  display: block;
}
.footer-loc { font-size: .8rem; color: var(--textdim); margin-top: .2rem; }

/* About photo card */
.about-panel { display: flex; flex-direction: column; gap: 1rem; }

.about-photo-card {
  background: var(--bgcard2);
  border: 1px solid rgba(42,157,181,.3);
  border-radius: var(--rl);
  overflow: hidden;
  max-width: 320px;
}
.photo-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transition: transform .4s ease;
}
.about-photo-card:hover .photo-wrap img { transform: scale(1.03); }

.photo-info {
  padding: 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border-top: 1px solid var(--borderft);
}
.photo-info strong { font-size: 1rem; color: var(--white); }
.photo-info span   { font-size: .84rem; color: var(--textmid); }
.photo-loc {
  display: flex; align-items: center; gap: .35rem;
  font-size: .78rem !important;
  color: var(--textdim) !important;
  margin-top: .2rem;
  white-space: nowrap;
}

/* About stats grid under photo */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.astat-card {
  background: var(--bgcard);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.1rem 1rem;
  text-align: center;
  transition: box-shadow var(--t), transform var(--t);
}
.astat-card:hover { box-shadow: var(--sht); transform: translateY(-2px); }
.astat-card--wide { grid-column: 1 / -1; }
.astat-n { display: block; font-family: var(--fh); font-size: 1.4rem; font-weight: 800; color: var(--teal); }
.astat-l { font-size: .77rem; color: var(--textmid); margin-top: .2rem; display: block; }

/* About LinkedIn buttons row */
.about-links { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.75rem; }

/* Button spinner */
.spin-icon { animation: spin360 .8s linear infinite; vertical-align: middle; margin-right: .35rem; }
@keyframes spin360 { to { transform: rotate(360deg); } }

/* Submit button — ensure text and spinner never show simultaneously (handled by JS hidden attr) */
#fbtn-spin { display: inline-flex; align-items: center; gap: .4rem; }

/* Responsive about panel */
@media (max-width: 960px) {
  .about-panel { max-width: 460px; margin: 0 auto; }
  .photo-wrap { max-height: 260px; }
}
@media (max-width: 580px) {
  .about-stats-grid { grid-template-columns: 1fr; }
  .astat-card--wide { grid-column: 1; }
}
