/* ============================================================
   TheCoreApps — design system
   Apple-grade minimalism · light & airy · electric blue
   ============================================================ */

:root {
  /* surfaces */
  --bg:        #ffffff;
  --bg-alt:    #fbfbfd;
  --bg-deep:   #f5f5f7;
  --ink:       #1d1d1f;
  --ink-2:     #515154;
  --ink-3:     #6e6e73;
  --line:      rgba(0,0,0,0.08);
  --line-2:    rgba(0,0,0,0.12);

  /* electric blue */
  --blue:      #0071e3;
  --blue-bri:  #0a84ff;
  --blue-deep: #0040a0;
  --blue-soft: #e8f1fe;

  /* type */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SF Mono", ui-monospace, "JetBrains Mono", "Menlo", monospace;

  /* rhythm */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 22px;
  --radius-lg: 32px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

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

.skip { position: absolute; left: -9999px; top: 0; z-index: 300; background: #fff; color: var(--ink); padding: 12px 18px; border-radius: 0 0 12px 0; font-size: 14px; font-weight: 500; box-shadow: 0 6px 20px rgba(0,0,0,0.16); }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- cursor glow (desktop showpiece) ---------- */
#cursor-glow {
  position: fixed;
  width: 520px; height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle, rgba(10,132,255,0.10), rgba(10,132,255,0) 60%);
  transform: translate(-50%, -50%);
  left: 50%; top: 50%;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  mix-blend-mode: multiply;
}

/* ---------- scroll progress ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--blue-bri));
  z-index: 200;
}

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  height: 56px;
  display: flex; align-items: center;
  padding: 0 var(--pad);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
header.nav.scrolled { border-bottom-color: var(--line); }

.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand .logo-img { height: 30px; width: auto; flex: none; display: block; }
.brand b { font-weight: 600; }
.brand span { color: var(--ink-3); font-weight: 500; }

.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a { font-size: 13.5px; color: var(--ink-2); font-weight: 450; transition: color 0.25s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 13.5px; font-weight: 500;
  background: var(--blue); color: #fff !important;
  padding: 7px 16px; border-radius: 980px;
  transition: transform 0.3s var(--ease), background 0.3s;
}
.nav-cta:hover { background: var(--blue-bri); }

/* mobile nav */
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 5px; }
.nav-toggle span { display: block; height: 1.5px; width: 20px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ transform: translateY(-3.25px) rotate(-45deg); }
.nav-panel { display: none; }
@media (max-width: 760px){
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  header.nav { display: block; height: auto; padding-top: 0; }
  .nav-inner { height: 56px; }
  .nav-panel { display: block; border-top: 1px solid var(--line); padding: 8px var(--pad) 16px; }
  .nav-panel[hidden] { display: none; }
  .nav-panel a { display: block; padding: 14px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
  .nav-panel a:last-child { border-bottom: 0; color: var(--blue); }
}

/* ============================================================
   GENERIC LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }
section { position: relative; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.section-head { max-width: 720px; margin: 0 auto; text-align: center; }
h2.big {
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 600; letter-spacing: -0.03em; line-height: 1.05;
  text-wrap: balance;
}
.lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); line-height: 1.5; text-wrap: pretty; }

/* ---------- reveal animation (guarded: only hides when JS is active) ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--pad) 80px;
  position: relative; overflow: hidden;
}
/* animated mesh gradient */
.mesh { position: absolute; inset: -20% -10%; z-index: 0; filter: blur(60px); opacity: 0.9; }
.mesh i {
  position: absolute; border-radius: 50%; display: block;
  mix-blend-mode: multiply;
  animation: float 18s ease-in-out infinite alternate;
}
.mesh i:nth-child(1){ width: 46vw; height: 46vw; left: -8%; top: -6%;
  background: radial-gradient(circle at 30% 30%, rgba(10,132,255,0.42), transparent 62%); animation-duration: 22s; }
.mesh i:nth-child(2){ width: 40vw; height: 40vw; right: -6%; top: 4%;
  background: radial-gradient(circle at 60% 40%, rgba(86,178,255,0.40), transparent 62%); animation-duration: 26s; animation-delay: -6s; }
.mesh i:nth-child(3){ width: 42vw; height: 42vw; left: 28%; bottom: -18%;
  background: radial-gradient(circle at 50% 50%, rgba(0,64,160,0.26), transparent 60%); animation-duration: 30s; animation-delay: -12s; }
@keyframes float {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(4%, 3%) scale(1.12); }
  100% { transform: translate(-3%, -4%) scale(0.96); }
}
.hero::after { /* fade to white at bottom */
  content:""; position:absolute; left:0; right:0; bottom:0; height: 36%;
  background: linear-gradient(to bottom, transparent, var(--bg)); z-index: 3;
}

/* constellation canvas */
#net { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0.85; pointer-events: none; }

/* floating glass capability tiles */
.floaters { position: absolute; inset: 0; z-index: 2; pointer-events: none; transition: transform 0.4s var(--ease-out); will-change: transform; }
.ftile {
  position: absolute; display: flex; align-items: center; gap: 9px;
  padding: 11px 16px 11px 12px; border-radius: 16px;
  background: rgba(255,255,255,0.62); border: 1px solid rgba(255,255,255,0.9);
  box-shadow: 0 18px 40px -18px rgba(0,40,120,0.4), inset 0 1px 0 rgba(255,255,255,0.8);
  backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%);
  color: var(--blue); font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  animation: bob 7s ease-in-out infinite;
  will-change: transform;
}
.ftile b { color: var(--ink); font-weight: 600; }
.ftile svg { width: 20px; height: 20px; }
.ftile:nth-child(2){ animation-duration: 8.5s; animation-delay: -2s; }
.ftile:nth-child(3){ animation-duration: 9.5s; animation-delay: -4s; }
.ftile:nth-child(4){ animation-duration: 7.8s; animation-delay: -1s; }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-0.5deg);} 50%{ transform: translateY(-14px) rotate(0.5deg);} }
@media (max-width: 820px){ .floaters { display: none; } }

.hero-content { position: relative; z-index: 4; max-width: 940px; }
.hero .pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  padding: 7px 14px 7px 8px; border-radius: 980px; margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,0.18); }

.hero h1 {
  font-size: clamp(36px, 6.2vw, 78px);
  font-weight: 600; letter-spacing: -0.045em; line-height: 0.98;
  text-wrap: balance;
}
.hero h1 .grad {
  background: linear-gradient(110deg, var(--blue-deep) 0%, var(--blue-bri) 35%, #8fd0ff 50%, var(--blue-bri) 65%, var(--blue-deep) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 6s ease-in-out infinite;
}
@keyframes sheen { 0%,100%{ background-position: 0% 0; } 50%{ background-position: 100% 0; } }
.hero p.sub {
  font-size: clamp(18px, 2.4vw, 24px); color: var(--ink-2);
  max-width: 640px; margin: 28px auto 0; line-height: 1.45; text-wrap: pretty;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  padding: 14px 28px; border-radius: 980px; cursor: pointer; border: none;
  transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s;
  will-change: transform;
}
.btn.primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px rgba(0,113,227,0.28); }
.btn.primary:hover { background: var(--blue-bri); box-shadow: 0 12px 32px rgba(0,113,227,0.36); }
.btn.ghost { background: rgba(255,255,255,0.5); color: var(--ink); border: 1px solid var(--line-2); }
.btn.ghost:hover { border-color: var(--ink-3); }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 4; display: flex; gap: clamp(30px,6vw,80px);
  margin-top: 72px; flex-wrap: wrap; justify-content: center;
}
.hero-stats .stat { text-align: center; }
.hero-stats .num { font-size: clamp(30px,4vw,46px); font-weight: 600; letter-spacing: -0.03em; }
.hero-stats .num.txt { font-size: clamp(22px,2.6vw,32px); background: linear-gradient(120deg, var(--blue-bri), var(--blue-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .lab { font-size: 13px; color: var(--ink-3); margin-top: 4px; letter-spacing: 0.02em; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: clamp(90px,12vw,160px) 0; background: var(--bg); }
.offer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 64px; }
@media (max-width: 940px){ .offer-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; } }

.offer {
  position: relative; padding: 34px 30px 30px; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s;
  transform-style: preserve-3d; will-change: transform;
}
.offer:hover { box-shadow: 0 30px 60px -28px rgba(0,40,120,0.28); border-color: transparent; }
.offer .glow { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(10,132,255,0.10), transparent 60%); }
.offer:hover .glow { opacity: 1; }
.offer > * { position: relative; z-index: 2; }
.offer .idx { position: absolute; top: 26px; right: 26px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.offer .term { display: inline-block; max-width: calc(100% - 48px); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.offer h3 { font-size: 23px; font-weight: 600; letter-spacing: -0.025em; margin-top: 14px; line-height: 1.15; }
.offer .who { font-size: 15px; color: var(--ink-2); margin-top: 10px; line-height: 1.5; }
.offer ul { list-style: none; margin: 22px 0 0; display: grid; gap: 9px; }
.offer li { font-size: 14.5px; color: var(--ink-2); padding-left: 20px; position: relative; }
.offer li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); opacity: 0.55; }
.offer .deliver { font-size: 14px; color: var(--ink); font-weight: 500; margin-top: auto; padding-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.offer .olink { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: 15px; font-weight: 500; color: var(--blue); }
.offer .olink .arr { transition: transform 0.3s var(--ease); }
.offer .olink:hover .arr { transform: translateX(4px); }

.who-for { text-align: center; margin-top: 44px; font-size: 15px; color: var(--ink-3); }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: clamp(90px,12vw,150px) 0; background: var(--bg-deep); }
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,80px);
  align-items: center; margin-top: 90px;
}
.product:first-of-type { margin-top: 64px; }
.product.flip .pcopy { order: 2; }
@media (max-width: 860px){ .product, .product.flip { grid-template-columns: 1fr; }
  .product .pcopy, .product.flip .pcopy { order: 0; } .product .pvisual { order: -1; } }

.pcopy .tag {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  letter-spacing: 0.02em; padding: 6px 13px; border-radius: 980px; margin-bottom: 22px;
}
.pcopy h3 { font-size: clamp(32px,4.4vw,52px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; }
.pcopy .quip { font-size: clamp(18px,2.2vw,23px); color: var(--ink); font-weight: 500; margin-top: 12px; letter-spacing: -0.02em; }
.pcopy p.desc { font-size: 17px; color: var(--ink-2); margin-top: 18px; line-height: 1.55; max-width: 520px; }
.pfeat { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pfeat span { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 7px 13px; border-radius: 980px; }
.plink { display: inline-flex; align-items: center; gap: 9px; margin-top: 30px; font-weight: 500; font-size: 16px; }
.plink .chip { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; transition: transform 0.3s var(--ease); }
.plink:hover .chip { transform: translateX(4px) rotate(-2deg); }

/* phone frame */
.pvisual { display: flex; justify-content: center; perspective: 1400px; }
.phone {
  width: 290px; aspect-ratio: 9 / 19.3; border-radius: 46px;
  background: #0b0b0d; padding: 11px;
  box-shadow: 0 50px 90px -40px rgba(0,40,120,0.5), 0 12px 30px rgba(0,0,0,0.18);
  position: relative; transform-style: preserve-3d; will-change: transform;
  transition: transform 0.4s var(--ease);
}
.phone::before { /* notch */
  content:""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 26px; background: #0b0b0d; border-radius: 16px; z-index: 5;
}
.phone .screen {
  width: 100%; height: 100%; border-radius: 36px; overflow: hidden;
  background: #fff; position: relative;
}
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.phone .halo { position: absolute; inset: -40px; z-index: -1; border-radius: 60px; filter: blur(50px); opacity: 0.55; }

/* laptop frame (for web / e-commerce products) */
.pvisual.wide { width: 100%; perspective: 1600px; }
.laptop { width: 100%; max-width: 560px; position: relative; transform-style: preserve-3d; will-change: transform; transition: transform 0.4s var(--ease); }
.laptop .halo { position: absolute; inset: 0 0 -30px; z-index: -1; border-radius: 40px; filter: blur(55px); opacity: 0.5; }
.laptop .lid {
  background: #111317; border-radius: 16px; padding: 11px 11px 0;
  box-shadow: 0 40px 80px -38px rgba(0,40,120,0.5), 0 10px 26px rgba(0,0,0,0.16);
}
.laptop .browser { background: #fff; border-radius: 8px 8px 0 0; overflow: hidden; }
.laptop .bar {
  height: 34px; background: #f1f1f3; border-bottom: 1px solid rgba(0,0,0,0.07);
  display: flex; align-items: center; gap: 14px; padding: 0 14px;
}
.laptop .dots { display: flex; gap: 6px; flex: none; }
.laptop .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.laptop .dots i:nth-child(1){ background: #ff5f57; }
.laptop .dots i:nth-child(2){ background: #febc2e; }
.laptop .dots i:nth-child(3){ background: #28c840; }
.laptop .url {
  flex: 1; height: 20px; background: #fff; border-radius: 6px; border: 1px solid rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: var(--ink-3); font-weight: 500;
}
.laptop .url svg { width: 11px; height: 11px; }
.laptop .viewport { aspect-ratio: 16 / 10.4; overflow: hidden; background: #fff; }
.laptop .viewport img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.laptop .base {
  height: 14px; margin: 0 -22px; border-radius: 0 0 14px 14px;
  background: linear-gradient(#cfd2d8, #a7acb6);
  position: relative;
}
.laptop .base::after { content:""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 84px; height: 7px; background: #8c919c; border-radius: 0 0 8px 8px; }
@media (max-width: 860px){ .laptop { max-width: 100%; } }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech { padding: clamp(90px,12vw,150px) 0; background: var(--bg); overflow: hidden; }
.marquee { margin-top: 56px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-row { display: flex; gap: 16px; width: max-content; animation: scroll-x 40s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 48s; margin-top: 16px; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
.tchip {
  flex: none; display: flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 14px 22px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line);
}
.tchip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); flex: none; }

/* ============================================================
   CONTACT / CTA
   ============================================================ */
.contact { padding: clamp(90px,12vw,150px) 0 0; background: var(--bg); }
.cta-card {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0a1830, #061226 60%, #04122c);
  border-radius: var(--radius-lg); padding: clamp(48px,7vw,96px) var(--pad); text-align: center; color: #fff;
}
.cta-card .glowb { position: absolute; width: 60%; height: 120%; left: -10%; top: -40%;
  background: radial-gradient(circle, rgba(10,132,255,0.55), transparent 60%); filter: blur(40px); }
.cta-card .glowb.two { left: auto; right: -15%; top: 10%; background: radial-gradient(circle, rgba(86,178,255,0.4), transparent 60%); }
.cta-card h2 { position: relative; font-size: clamp(32px,5vw,58px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
.cta-card p { position: relative; font-size: clamp(17px,2vw,20px); color: rgba(255,255,255,0.72); margin: 20px auto 0; max-width: 560px; }
.cta-card .btn.primary { background: #fff; color: #0a1830; box-shadow: 0 10px 30px rgba(0,0,0,0.3); margin-top: 36px; }
.cta-card .btn.primary:hover { background: #f0f6ff; }

/* contact form on the dark card */
.cform { position: relative; z-index: 2; max-width: 560px; margin: 40px auto 0; text-align: left; display: grid; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px){ .frow { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.72); letter-spacing: 0.01em; }
.cform input, .cform select, .cform textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: #fff;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: 14px; padding: 13px 15px; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.cform textarea { resize: vertical; min-height: 108px; line-height: 1.5; }
.cform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.6) 50%), linear-gradient(135deg, rgba(255,255,255,0.6) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.cform select option { color: #1d1d1f; }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  outline: none; border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.12);
}
.cform input.bad, .cform textarea.bad { border-color: #ff8f7a; }
.err { font-size: 12.5px; color: #ff9d8a; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn.wide { width: 100%; justify-content: center; margin-top: 6px; }
.fnote { font-size: 12.5px; color: rgba(255,255,255,0.5); text-align: center; margin-top: 4px; }
.fdone { position: relative; z-index: 2; font-size: 18px; color: #fff; margin-top: 40px; font-weight: 500; }
.cta-card .cta-logo {
  position: absolute; right: -60px; bottom: -70px; width: 380px; max-width: 55%;
  opacity: 0.16; pointer-events: none; filter: brightness(1.6) saturate(1.2);
  transform: rotate(-8deg);
}
@media (max-width: 680px){ .cta-card .cta-logo { opacity: 0.1; right: -40px; bottom: -40px; width: 240px; } }

.contactinfo { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(24px,5vw,64px); margin-top: 64px; padding-bottom: 90px; }
.ci { text-align: center; }
.ci .k { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.ci .v { font-size: 16px; color: var(--ink); font-weight: 450; line-height: 1.45; }
.ci a.v:hover { color: var(--blue); }

/* ---------- footer ---------- */
footer.foot { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 44px var(--pad) 32px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot-legal { max-width: var(--maxw); margin: 28px auto 0; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.foot-legal p { font-size: 12.5px; color: var(--ink-3); line-height: 1.55; max-width: 720px; }
.foot-legal small { font-size: 12.5px; color: var(--ink-3); }
.foot-links { display: flex; gap: 24px; }
.foot-links a { font-size: 13px; color: var(--ink-3); transition: color 0.25s; }
.foot-links a:hover { color: var(--ink); }

@media (prefers-reduced-motion: reduce){
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .mesh i, .marquee-row, .ftile { animation: none !important; }
  .hero h1 .grad { animation: none !important; background-position: 0 0; }
  .floaters { transition: none !important; }
}
