/* BuildAI — buildai.nz | v3: NZBC-inspired styling (dark heroes, light body, teal accent) */
:root {
  --bg: #fafbfd;
  --bg-alt: #f1f5f9;
  --card: #ffffff;
  --border: #e2e8f0;
  --heading: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --accent: #14b8a6;
  --accent-dark: #0d9488;
  --accent-glow: rgba(20, 184, 166, 0.18);
  --navy: #0a1628;
  --navy2: #0d1f3c;
  --teal-deep: #0a2a2a;
  --white: #f8fafc;
  --max: 1120px;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15,23,42,.07), 0 1px 2px rgba(15,23,42,.05);
  --shadow-lg: 0 12px 32px rgba(15,23,42,.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 76px 0; }
section.tight { padding: 52px 0; }

h1, h2, h3, h4 { color: var(--heading); line-height: 1.18; font-weight: 800; letter-spacing: -0.015em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 8px; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 660px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.muted { color: var(--muted); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent-dark); margin-bottom: 12px;
}

/* ---------- Header (dark, matches logo) ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 22, 40, 0.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148,163,184,0.15);
}
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 800; text-decoration: none; }
.logo img { height: 52px; width: auto; max-width: 210px; object-fit: contain; border-radius: 6px; }
.logo img:not([src=""]) ~ span { display: none; }
.logo .logo-text {
  background: linear-gradient(180deg, #f1f5f9 20%, #94a3b8 80%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo span.ai { color: var(--accent); }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a,
.dropdown-toggle { color: #cbd5e1; font-size: 0.95rem; font-weight: 600; }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-dropdown { position: relative; }
.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 4px;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}
.dropdown-toggle span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #0a1628;
  background: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
  transition: transform .16s ease, background .16s ease;
}
.nav-dropdown:hover .dropdown-toggle,
.nav-dropdown:focus-within .dropdown-toggle,
.nav-dropdown.is-open .dropdown-toggle { color: #fff; }
.nav-dropdown:hover .dropdown-toggle span,
.nav-dropdown:focus-within .dropdown-toggle span,
.nav-dropdown.is-open .dropdown-toggle span { transform: rotate(180deg); background: #2dd4bf; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 274px;
  margin-top: 0;
  padding: 10px;
  list-style: none;
  background: rgba(10,22,40,0.98);
  border: 1px solid rgba(148,163,184,0.24);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 22px 55px rgba(2,6,23,0.34);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu,
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #e2e8f0;
  white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(20,184,166,0.14); color: #fff; }
.nav-phone { color: #fff !important; font-weight: 800; }
#nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 27px; border-radius: 10px; font-weight: 800;
  font-size: 0.97rem; text-decoration: none; transition: all 0.16s ease; border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 38%),
    linear-gradient(135deg, #0f766e 0%, #14b8a6 48%, #2dd4bf 100%);
  color: #fff;
  border: 1px solid rgba(153,246,228,0.42);
  box-shadow:
    0 14px 30px rgba(20,184,166,0.30),
    0 5px 14px rgba(2,6,23,0.18),
    inset 0 1px 0 rgba(255,255,255,0.32),
    inset 0 -10px 20px rgba(15,118,110,0.22);
  text-shadow: 0 1px 1px rgba(2,6,23,0.22);
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: -30% auto -30% -55%;
  width: 48%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.38), transparent);
  transition: left .45s ease;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 42px rgba(20,184,166,0.42),
    0 8px 20px rgba(2,6,23,0.24),
    inset 0 1px 0 rgba(255,255,255,0.38),
    inset 0 -10px 20px rgba(15,118,110,0.18);
}
.btn-primary:hover::after { left: 110%; }
.btn-outline { border: 1.5px solid rgba(148,163,184,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
section:not(.hero):not(.cta-band):not(.about-strip) .btn-outline,
.price-card .btn-outline { color: var(--heading); border-color: #cbd5e1; }
section:not(.hero):not(.cta-band):not(.about-strip) .btn-outline:hover,
.price-card .btn-outline:hover { color: var(--accent-dark); border-color: var(--accent-dark); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* ---------- Hero (NZBC style: navy gradient + grid + image + glow) ---------- */
.hero {
  position: relative; overflow: hidden; padding: 96px 0 84px;
  background: linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a2a2a 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(20,184,166,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,0.05) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; top: 15%; right: 12%; width: 340px; height: 340px;
  border-radius: 50%; filter: blur(70px); opacity: 0.35; pointer-events: none;
  background: radial-gradient(circle, #14b8a6 0%, transparent 70%);
}
.hero.hero-img {
  background:
    linear-gradient(to right, rgba(10,22,40,0.97) 0%, rgba(10,22,40,0.9) 40%, rgba(10,22,40,0.5) 75%, rgba(10,22,40,0.25) 100%),
    var(--hero-img) center right / cover no-repeat,
    linear-gradient(135deg, #0a1628 0%, #0d1f3c 50%, #0a2a2a 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { margin: 20px 0 32px; color: rgba(226,232,240,0.85); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: rgba(148,163,184,0.9); }
.hero .article-meta { color: rgba(148,163,184,0.9); }

/* ---------- Trust bar ---------- */
.trust-bar {
  display: flex; gap: 12px 40px; flex-wrap: wrap; justify-content: center;
  padding: 22px 28px; margin-top: -34px; position: relative; z-index: 5;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.trust-bar div { font-size: 0.93rem; color: var(--muted); }
.trust-bar strong { color: var(--heading); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; margin-top: 38px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #cbd5e1; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .icon { font-size: 1.7rem; margin-bottom: 12px; }

/* ---------- Pricing ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card .from { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.price-card .price { font-size: 2.05rem; font-weight: 800; color: var(--heading); }
.price-card .price small { font-size: 0.9rem; color: var(--muted); font-weight: 600; }
.price-card ul { list-style: none; margin: 18px 0 24px; flex: 1; }
.price-card li { padding: 7px 0 7px 27px; position: relative; color: var(--text); font-size: 0.94rem; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }
.badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-dark), var(--accent)); color: #fff;
  font-size: 0.75rem; font-weight: 800; padding: 5px 16px; border-radius: 99px; letter-spacing: 0.05em; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(20,184,166,0.4);
}
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 8px 40px rgba(20,184,166,0.18); }

/* ---------- Steps ---------- */
.step-num { font-size: 0.85rem; font-weight: 800; color: var(--accent-dark); margin-bottom: 8px; letter-spacing: 0.08em; }

/* ---------- Projects ---------- */
.project-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.project-thumb { aspect-ratio: 16/9; background: linear-gradient(135deg, #e2e8f0, #ccfbf1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.project-card:hover .project-thumb img { transform: scale(1.04); }
.project-thumb .fallback { font-size: 2.2rem; }
.project-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.project-body p { flex: 1; margin: 6px 0 12px; }
.tag { display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--accent-dark); }

/* ---------- Testimonials ---------- */
.quote-card blockquote { font-size: 1.03rem; color: var(--text); font-style: italic; }
.quote-card figcaption { margin-top: 16px; font-size: 0.9rem; color: var(--muted); }
.quote-card figcaption strong { color: var(--heading); }
.stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }

/* ---------- About strip (dark banding) ---------- */
.about-strip { background: linear-gradient(135deg, #0a1628, #0d1f3c); }
.about-strip .container { display: grid; grid-template-columns: 1fr 1.6fr; gap: 44px; align-items: center; }
.about-strip h2 { color: #fff; }
.about-strip .eyebrow { color: var(--accent); }
.about-strip p { color: rgba(203,213,225,0.85) !important; }
.about-photo {
  aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #16223f, #0d2b28);
  display: flex; align-items: center; justify-content: center; font-size: 3rem;
  border: 1px solid rgba(148,163,184,0.25);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }

/* ---------- FAQ ---------- */
details { border: 1px solid var(--border); border-radius: 12px; margin-top: 12px; background: var(--card); box-shadow: var(--shadow); }
summary { cursor: pointer; padding: 18px 22px; font-weight: 800; color: var(--heading); list-style: none; position: relative; padding-right: 46px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent-dark); font-size: 1.35rem; font-weight: 400; }
details[open] summary::after { content: "–"; }
details .answer { padding: 0 22px 18px; color: var(--muted); font-size: 0.96rem; }

/* ---------- Contact / forms ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; margin-top: 38px; }
form label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--heading); margin: 16px 0 6px; }
form input, form textarea, form select {
  width: 100%; padding: 12px 14px; border-radius: 9px; border: 1.5px solid var(--border);
  background: #fff; color: var(--heading); font-size: 0.96rem; font-family: inherit;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,184,166,0.15); }
form button { margin-top: 22px; width: 100%; }
.contact-info p { margin-bottom: 14px; color: var(--muted); }
.contact-info a { font-weight: 800; }
#contact form { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 28px 28px; box-shadow: var(--shadow-lg); }

/* ---------- CTA band (dark) ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, #0a2a2a, #0d1f3c); text-align: center; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(20,184,166,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(20,184,166,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; }
.cta-band .lead { margin: 12px auto 28px; color: rgba(203,213,225,0.85); }

/* ---------- Chips ---------- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }
.chip {
  border: 1px solid var(--border); background: var(--card); border-radius: 99px;
  padding: 10px 20px; font-size: 0.92rem; color: var(--heading); font-weight: 700; box-shadow: var(--shadow);
}
.chip span { margin-right: 6px; }

/* ---------- Footer (dark) ---------- */
footer { padding: 52px 0 38px; background: #0a1628; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: #64748b; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: #94a3b8; font-size: 0.94rem; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: #94a3b8 !important; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(148,163,184,0.15); font-size: 0.85rem; color: #64748b; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #94a3b8; }

/* ---------- Articles ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin-top: 42px; }
.article h3 { margin-top: 28px; }
.article p { margin: 16px 0; color: var(--text); }
.article ul { margin: 16px 0 16px 22px; color: var(--text); }
.article li { margin-bottom: 8px; }
.article strong { color: var(--heading); }
.article-meta { font-size: 0.88rem; color: var(--muted); margin: 14px 0 0; }

/* ---------- Landing ---------- */
.landing header { position: static; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-grid, .about-strip .container, .footer-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 280px; }
  section { padding: 56px 0; }
  .hero { padding: 72px 0 64px; }
  .trust-bar { margin-top: -24px; }
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #0a1628; flex-direction: column; padding: 22px; gap: 16px;
    border-bottom: 1px solid rgba(148,163,184,0.2);
  }
  .nav-dropdown { width: 100%; }
  .dropdown-menu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 10px;
    padding: 8px;
    background: rgba(15,23,42,0.55);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    border-radius: 14px;
  }
  .dropdown-menu a { white-space: normal; }
  #nav-toggle:checked ~ .nav-links { display: flex; }
  .hamburger { display: block; }
}

/* ---------- v4: colour system ---------- */
.icon-badge {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center;
  justify-content: center; font-size: 1.6rem; margin-bottom: 16px;
}
.c-teal   { background: #ccfbf1; }
.c-blue   { background: #dbeafe; }
.c-orange { background: #ffedd5; }
.c-purple { background: #f3e8ff; }
.card .tagline { font-weight: 700; color: var(--accent-dark); font-size: 0.92rem; margin-bottom: 8px; }
.card.service-card {
  position: relative;
  overflow: hidden;
  padding: 0 0 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}
.service-card-media {
  margin: -1px -1px 18px;
  height: 92px;
  overflow: hidden;
  background: #0f172a;
  border-bottom: 1px solid rgba(15,23,42,.08);
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card h3,
.service-card .tagline,
.service-card p,
.service-card ul,
.service-card a { margin-left: 26px; margin-right: 26px; }
.service-card .tagline { font-weight: 800; }
.service-card a { display: inline-block; }
.card.svc-teal   { border-top: 0; }
.card.svc-blue   { border-top: 0; }
.card.svc-orange { border-top: 0; }
.card.svc-purple { border-top: 0; }
.card ul.benefits { list-style: none; margin: 14px 0 18px 26px; }
.card ul.benefits li { padding: 4px 0 4px 24px; position: relative; color: var(--text); font-size: 0.92rem; }
.card ul.benefits li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-dark); font-weight: 800; }
section.alt { background: var(--bg-alt); }
section.tinted { background: linear-gradient(180deg, #f0fdfa 0%, #fafbfd 100%); }

/* ---------- v5 polish: richer modern visuals ---------- */
header { box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18); }
.hero {
  isolation: isolate;
  padding: clamp(86px, 10vw, 132px) 0 clamp(76px, 9vw, 116px);
}
.hero::before {
  background-image:
    radial-gradient(circle at 18% 22%, rgba(20,184,166,0.22), transparent 24%),
    linear-gradient(rgba(20,184,166,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,0.055) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.75) 70%, transparent 100%);
}
.hero::after {
  width: 520px; height: 520px; top: 8%; right: 6%;
  filter: blur(86px); opacity: .42;
  background: radial-gradient(circle, rgba(20,184,166,.72) 0%, rgba(59,130,246,.22) 42%, transparent 72%);
}
.hero.hero-img {
  background:
    /* 35% brighter top/right image lift */
    radial-gradient(circle at 86% 12%, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.10) 28%, transparent 52%),
    /* keep the darkening fade anchored toward the bottom-left */
    linear-gradient(135deg, rgba(8,16,31,0.98) 0%, rgba(8,16,31,0.84) 38%, rgba(8,16,31,0.42) 72%, rgba(8,16,31,0.18) 100%),
    linear-gradient(180deg, rgba(20,184,166,0.04), rgba(10,22,40,0.08)),
    var(--hero-img) center right / cover no-repeat,
    linear-gradient(135deg, #071226 0%, #0b1d38 50%, #082625 100%);
}
.blog-hero.hero-img {
  background:
    /* blog-only test: about 30% brighter and shifted upward/right */
    radial-gradient(circle at 90% 8%, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.15) 30%, transparent 56%),
    linear-gradient(135deg, rgba(8,16,31,0.98) 0%, rgba(8,16,31,0.82) 36%, rgba(8,16,31,0.36) 70%, rgba(8,16,31,0.10) 100%),
    linear-gradient(180deg, rgba(20,184,166,0.03), rgba(10,22,40,0.06)),
    var(--hero-img) 78% 26% / 118% auto no-repeat,
    linear-gradient(135deg, #071226 0%, #0b1d38 50%, #082625 100%);
}
.hero .container { max-width: 1180px; }
.hero h1 {
  max-width: 780px;
  font-size: clamp(2.6rem, 7vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-shadow: 0 16px 50px rgba(0,0,0,.32);
}
.hero .lead { max-width: 720px; font-size: clamp(1.08rem, 1.7vw, 1.28rem); }
.trust-bar {
  border: 1px solid rgba(20,184,166,.18);
  box-shadow: 0 22px 55px rgba(15,23,42,.14);
}
.card {
  border-color: rgba(148,163,184,.28);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}
.card:hover { transform: translateY(-5px); border-color: rgba(20,184,166,.35); }
.project-card {
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.project-thumb { position: relative; }
.project-thumb::after {
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 50%, rgba(2,6,23,.28));
  opacity:.72; pointer-events:none;
}
.project-card .tag { color: #0f766e; }
footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 0%, rgba(20,184,166,.20), transparent 32%),
    linear-gradient(135deg, #071226 0%, #0a1628 55%, #061d1f 100%);
}
footer::before {
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(20,184,166,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(20,184,166,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  pointer-events:none;
}
footer .container { position: relative; z-index: 1; }
.footer-logo img { height: 58px; max-width: 230px; }
.footer-logo { margin-bottom: 8px; display: inline-flex; }
@media (max-width: 700px) {
  .hero h1 { font-size: clamp(2.35rem, 14vw, 3.6rem); }
  .logo img { height: 46px; max-width: 178px; }
  .footer-logo img { height: 52px; }
}
.headshot { border-radius: 50%; border: 3px solid rgba(45,212,191,0.5); }
