/* ===========================================================
   Mine Code Craft — shared stylesheet (demo)
   Dark grey + blue theme, glassmorphism
   =========================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg: #1b1e24;            /* koyu gri zemin */
  --bg-2: #20242b;
  --card: #262b33;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-bd: rgba(255, 255, 255, 0.10);
  --blue: #5b9fd4;
  --blue-br: #7cb8ea;
  --blue-soft: rgba(91, 159, 212, 0.13);
  --text: #e8ebef;
  --muted: #98a0ab;
  --dim: #6b7280;
  --bd: rgba(255, 255, 255, 0.08);
  --r: 16px;
  --max: 1160px;
}
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
/* cursor sparkles canvas (a few glowing dots orbiting the pointer) */
#cursor-fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 9999; pointer-events: none; }
@media (hover: none) { #cursor-fx { display: none; } }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.blue { color: var(--blue-br); }
.eyebrow { display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--blue-br); margin-bottom: 14px; padding: 7px 15px; border-radius: 100px; background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(8px); }
h2.title { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.5px; }
.lead-muted { color: var(--muted); max-width: 620px; margin-top: 14px; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; border: 1px solid transparent; transition: transform .18s, box-shadow .18s, background .18s, border-color .2s, color .2s; }
.btn-primary { background: var(--blue); color: #10202c; box-shadow: 0 10px 26px -12px rgba(91,159,212,.7); }
.btn-primary:hover { background: var(--blue-br); box-shadow: 0 6px 26px -6px rgba(91,159,212,.65), 0 0 20px -4px rgba(124,184,234,.5); }
.btn-ghost { background: var(--glass); border-color: var(--glass-bd); color: var(--text); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-br); }
.btn-lg { padding: 15px 30px; font-size: 15.5px; }

/* ---- HEADER (shared) ---- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(27, 30, 36, 0.72);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--bd);
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; transition: height .3s ease; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--text); transition: font-size .3s; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), #3f7cb0); color: #fff; font-size: 12px; letter-spacing: -1px; transition: width .3s, height .3s; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s, font-size .3s; }
/* compressed (pressed) state on scroll — all pages */
.header.scrolled { box-shadow: 0 8px 26px -14px rgba(0,0,0,.6); }
.header.scrolled .wrap { height: 54px; }
.header.scrolled .brand { font-size: 15.5px; }
.header.scrolled .brand-mark { width: 27px; height: 27px; }
.header.scrolled .nav a { font-size: 14px; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--blue-br); }
.header-right { display: flex; align-items: center; gap: 22px; }
.nav-toggle { display: none; width: 40px; height: 40px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; background: var(--glass); border: 1px solid var(--glass-bd); border-radius: 10px; cursor: pointer; }
.nav-toggle span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(27, 30, 36, 0.97); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid var(--bd); padding: 4px 24px 16px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .25s, opacity .25s; }
  .header.nav-open .nav { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 2px; font-size: 16px; border-top: 1px solid var(--bd); }
  .nav a:first-child { border-top: none; }
}

/* home: fixed + transparent over hero, turns glass when scrolled */
.header.over-hero { position: fixed; top: 0; left: 0; right: 0; background: transparent; border-bottom: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.header.over-hero.scrolled { background: rgba(27, 30, 36, 0.82); border-bottom: 1px solid var(--bd); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }

/* ---- interior page header band ---- */
.page-head { position: relative; padding: clamp(56px, 9vh, 90px) 0 clamp(40px, 6vh, 60px); background: radial-gradient(120% 130% at 80% -10%, #243049 0%, var(--bg) 55%); border-bottom: 1px solid var(--bd); }
.page-head h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -1.2px; line-height: 1.08; }
.page-head .sub { color: var(--muted); margin-top: 16px; max-width: 560px; font-size: clamp(16px, 1.6vw, 19px); }
.crumb { font-size: 13.5px; color: var(--dim); margin-bottom: 30px; }
.crumb a:hover { color: var(--blue-br); }

/* ---- HERO (home, burst) ---- */
.hero { position: relative; height: calc(100vh - 150px); min-height: 560px; overflow: hidden; background: radial-gradient(125% 85% at 50% 102%, #243049 0%, #1d2330 42%, #1b1e24 70%); }
#burst { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 660px; padding-top: clamp(100px, 14vh, 150px); }
.hero h1 { font-size: clamp(38px, 5.6vw, 68px); font-weight: 700; line-height: 1.07; letter-spacing: -1.8px; }
.hero h1 .accent { color: var(--blue-br); }
.hero .lead { font-size: clamp(16px, 1.7vw, 20px); color: var(--muted); margin-top: 22px; max-width: 500px; line-height: 1.6; }
.hero .cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ---- sections ---- */
.sec { padding: clamp(60px, 9vh, 92px) 0; }
.sec.alt { background: var(--bg-2); border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.sec-head { margin-bottom: 42px; }
.sec-head.center { text-align: center; }

/* ---- TRUST band ---- */
.trust { padding: 34px 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); background: var(--bg-2); }
.trust .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.trust .num { font-size: clamp(26px, 3.4vw, 40px); font-weight: 700; color: var(--blue-br); line-height: 1; }
.trust .lbl { font-size: 13px; color: var(--muted); margin-top: 8px; letter-spacing: .3px; }
@media (max-width: 620px) { .trust .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; } }

/* ---- logo marquee (tech strip, Stripe-style; seamless + dim-others on hover) ---- */
.logo-marquee { position: relative; padding: 16px 0; }
/* constrained to content width (aligns with sections above) + edge fade hides the loop seam.
   vertical padding gives hover-scaled logos room to grow without being clipped by overflow:hidden */
.logo-viewport { max-width: var(--max); margin: 0 auto; overflow: hidden; padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
/* 4 copies in markup; shift by exactly one copy (-25%) → always fills the viewport, no seam */
.logo-track { display: flex; width: max-content; animation: logoscroll 50s linear infinite; }
/* horizontal padding (not gap/margin) = the gap is part of each item's hover hit-area, split 50/50 */
.logo-item { display: flex; flex-direction: column; align-items: center; gap: 9px; flex-shrink: 0; padding: 0 40px; opacity: .72; transition: opacity .3s, filter .3s, transform .3s; }
.logo-item img { height: 40px; width: auto; display: block; }
.logo-item span { font-size: 12.5px; font-weight: 600; color: var(--muted); letter-spacing: .3px; }
/* pause + dim others ONLY while a logo (incl. its hit-area) is hovered */
.logo-track:has(.logo-item:hover) { animation-play-state: paused; }
.logo-track:has(.logo-item:hover) .logo-item { opacity: .2; filter: grayscale(1); }
.logo-item:hover { opacity: 1 !important; filter: none !important; transform: translateY(-4px) scale(1.06); }
@keyframes logoscroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ---- project cards ---- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { position: relative; background: var(--glass); border: 1px solid rgba(255,255,255,.06); border-radius: var(--r); padding: 28px; backdrop-filter: blur(14px); transition: border-color .3s; display: block; color: inherit; }
/* spotlight border: a 1px gradient ring that only lights up (blue) near the cursor */
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(124,184,234,.95), rgba(124,184,234,.12) 55%, rgba(124,184,234,0) 78%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  opacity: 0; transition: opacity .3s; pointer-events: none; }
.card:hover { border-color: rgba(124,184,234,.14); }
.card:hover::after { opacity: 1; }
.card-head { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.card-head img { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; box-shadow: 0 6px 16px -6px rgba(0,0,0,.6); }
.card-ico { width: 52px; height: 52px; border-radius: 13px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue), #3f7cb0); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: -1px; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15px; min-height: 46px; }
.tags { display: flex; gap: 8px; margin: 16px 0 14px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; color: var(--blue-br); background: var(--blue-soft); padding: 4px 11px; border-radius: 100px; }
.tag.soon { color: var(--muted); background: rgba(255,255,255,.05); }
.card-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; font-weight: 600; }
.card-meta b { color: var(--blue-br); font-weight: 700; }
.lnk { font-weight: 600; font-size: 14.5px; color: var(--blue-br); }
.card:hover .lnk { color: var(--text); }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* ---- triple feature ---- */
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat { padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--bd); }
.feat-num { display: inline-flex; align-items: center; gap: 11px; font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--blue-br); margin-bottom: 18px; }
.feat-num::before { content: ""; width: 24px; height: 2px; background: var(--blue); border-radius: 2px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 860px) { .triple { grid-template-columns: 1fr; } }

/* ---- philosophy flow ---- */
.flow { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.step { padding: 14px 22px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-bd); font-weight: 600; backdrop-filter: blur(8px); }
.step.last { background: var(--blue-soft); border-color: var(--blue); color: var(--blue-br); }
.arrow { color: var(--blue); font-size: 18px; }
.flow-note { text-align: center; color: var(--muted); margin-top: 28px; max-width: 620px; margin-inline: auto; }

/* ---- tech grid ---- */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tech { padding: 20px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-bd); text-align: center; font-weight: 600; font-size: 15px; backdrop-filter: blur(8px); transition: border-color .2s, color .2s; }
.tech:hover { border-color: var(--blue); color: var(--blue-br); }
.tech small { display: block; color: var(--dim); font-weight: 500; font-size: 11.5px; margin-top: 3px; }
@media (max-width: 720px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---- updates ---- */
.updates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.upd { padding: 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(12px); transition: border-color .2s; }
.upd:hover { border-color: var(--blue); }
.upd .date { font-size: 12.5px; color: var(--blue-br); font-weight: 600; }
.upd h3 { font-size: 17px; margin-top: 8px; }
@media (max-width: 860px) { .updates { grid-template-columns: 1fr; } }

/* ---- contact CTA panel ---- */
.contact-cta { text-align: center; padding: clamp(64px, 10vh, 100px) 0; }
.glass-panel { max-width: 760px; margin: 0 auto; padding: 54px 32px; border-radius: 22px; background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(18px); }
.contact-cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -1px; }
.contact-cta p { color: var(--muted); margin: 16px auto 30px; max-width: 460px; }

/* ===== PROJECT DETAIL ===== */
.proj-head { display: flex; align-items: center; gap: 26px; }
.proj-head .icon-lg { width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 14px 34px -12px rgba(0,0,0,.7); flex-shrink: 0; }
.proj-head h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; letter-spacing: -1px; }
.proj-head .tagline { color: var(--muted); margin-top: 8px; font-size: 17px; }
.proj-stats { display: flex; flex-wrap: wrap; gap: 72px; margin-top: 26px; }
.proj-stats .stat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.proj-stats .v { font-size: 26px; font-weight: 700; color: var(--blue-br); line-height: 1.1; }
.proj-stats .l { font-size: 14.5px; color: var(--muted); letter-spacing: .3px; }
/* align hero stats + button with the app name (icon 96 + gap 26) */
.proj-hero > .proj-stats, .proj-hero > .store-row { padding-left: 122px; }
.proj-hero > .store-row { margin-top: 34px; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.store-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(8px); font-weight: 600; font-size: 14px; color: var(--text); transition: border-color .2s, transform .18s; }
.store-btn:hover { border-color: var(--blue); box-shadow: 0 0 20px -6px rgba(124,184,234,.4); }
.store-btn i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.store-btn.is-soon { opacity: .55; cursor: default; }
.store-btn.is-soon i { background: var(--dim); }
.store-btn.is-soon:hover { border-color: var(--glass-bd); transform: none; }
@media (max-width: 620px) { .proj-head { flex-direction: column; text-align: center; gap: 16px; } .store-row { justify-content: center; } .proj-hero > .proj-stats, .proj-hero > .store-row { padding-left: 0; justify-content: center; } .proj-stats { gap: 26px 34px; } }

/* screenshots: static responsive grid (all visible, no motion) */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.shots img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--glass-bd); box-shadow: 0 18px 40px -22px rgba(0,0,0,.7); }
@media (max-width: 900px) { .shots { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .shots { grid-template-columns: repeat(2, 1fr); } }

.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 28px; margin-top: 8px; }
.feature-list li { list-style: none; display: flex; gap: 12px; color: var(--muted); }
.feature-list .ck { color: var(--blue-br); font-weight: 700; flex-shrink: 0; }
.feature-list b { color: var(--text); font-weight: 600; }
@media (max-width: 620px) { .feature-list { grid-template-columns: 1fr; } }

.prose { max-width: 720px; }
.prose.wide { max-width: none; }
.store-soon { margin-top: 14px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose h2 { font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; margin: 40px 0 12px; letter-spacing: -.3px; color: var(--text); }
.prose h3 { font-size: 16px; font-weight: 700; margin: 26px 0 8px; color: var(--text); }
.prose ul, .prose ol { padding-left: 20px; margin-bottom: 16px; }
.prose li { color: var(--muted); margin-bottom: 8px; line-height: 1.6; }
.prose a { color: var(--blue-br); }
.prose a:hover { color: #fff; }
.legal-meta { color: var(--dim); font-size: 13px; margin-bottom: 36px; border-bottom: 1px solid var(--bd); padding-bottom: 20px; }

/* ---- category grid (hephesapla project page) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-item { padding: 22px 24px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(12px); }
.cat-item .cat-name { font-weight: 700; font-size: 15.5px; margin-bottom: 8px; }
.cat-item .cat-count { color: var(--blue-br); font-weight: 700; font-size: 26px; line-height: 1; }
.cat-item .cat-label { color: var(--dim); font-size: 12.5px; margin-top: 3px; }
@media (max-width: 860px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---- about page trust mini-band ---- */
.about-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.about-trust .num { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; color: var(--blue-br); line-height: 1; }
.about-trust .lbl { font-size: 13px; color: var(--muted); margin-top: 7px; }
@media (max-width: 620px) { .about-trust { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; } }

/* ---- reviews: 3 fixed slots that flip (board-change, bottom-to-top) ---- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review { background: var(--glass); border: 1px solid var(--glass-bd); border-radius: var(--r); height: 220px; overflow: hidden; backdrop-filter: blur(12px); }
.r-inner { padding: 22px; height: 100%; display: flex; flex-direction: column; will-change: transform, opacity; }
.r-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.r-avatar { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--blue-soft); color: var(--blue-br); font-weight: 700; font-size: 15px; }
.r-name { font-weight: 600; font-size: 14.5px; color: var(--text); }
.r-stars { color: #ffce6b; font-size: 12px; letter-spacing: 2px; margin-top: 2px; }
.r-text { color: var(--text); font-size: 14.5px; line-height: 1.55; margin: 0; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.r-date { color: var(--dim); font-size: 12.5px; margin-top: auto; padding-top: 12px; }
.reviews-more { margin-top: 24px; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } .review { height: auto; min-height: 180px; } }

/* ===== ABOUT ===== */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: start; }
.photo { aspect-ratio: 1; border-radius: 20px; background: linear-gradient(150deg, #2c323b, #1b1e24); border: 1px solid var(--glass-bd); display: flex; align-items: center; justify-content: center; color: var(--dim); font-size: 13px; text-align: center; }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.duns-link { color: var(--blue-br); font-weight: 600; transition: color .2s; }
.duns-link:hover { color: #fff; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } .photo { max-width: 260px; } }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.contact-card { padding: 28px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-bd); backdrop-filter: blur(12px); margin-bottom: 18px; }
.contact-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-card a { color: var(--blue-br); font-weight: 600; }
.contact-card p { color: var(--muted); font-size: 14.5px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: 11px; background: rgba(0,0,0,.18); border: 1px solid var(--glass-bd); color: var(--text); font-family: inherit; font-size: 15px; transition: border-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-about { display: flex; flex-direction: column; gap: 20px; }
.contact-blurb { color: var(--muted); font-size: 15px; line-height: 1.7; }
.recaptcha-wrap { margin-bottom: 20px; }
.form-alert { padding: 14px 18px; background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); border-radius: 10px; margin-bottom: 18px; color: #f87171; font-size: 14px; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---- FOOTER (shared) ---- */
.footer { position: relative; background: var(--bg-2); padding: 56px 0 28px; }
/* top divider: blue in the centre fading to grey at the edges (a light in the middle) */
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.06) 0%, rgba(124,184,234,.75) 50%, rgba(255,255,255,.06) 100%); }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--dim); margin-bottom: 16px; }
.footer a { color: var(--muted); font-size: 14.5px; display: block; margin-bottom: 10px; transition: color .2s; }
.footer a:hover { color: var(--blue-br); }
.footer .brand { display: inline-flex; } /* restore flex centring (overrides .footer a{display:block}) */
.footer .tagline { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 280px; }
.footer .tagline a { display: inline; margin: 0; }
.footer .bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bd); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: var(--dim); font-size: 13.5px; }
.footer .bottom .links { display: flex; gap: 18px; }
.footer .bottom a { display: inline; margin: 0; color: var(--dim); }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .cols { grid-template-columns: 1fr; } }
