/* FutureTech Insights — palette from LinkedIn logo (navy #143c71, cyan #15a2df, ice #f4fbfd) */
:root {
  --navy:        #143c71;
  --navy-mid:    #1a4984;
  --navy-deep:   #102f5c;
  --cyan:        #15a2df;
  --cyan-bright: #6ccdf4;
  --cyan-soft:   #a5e4f8;
  --ice:         #f4fbfd;
  --ice-2:       #e8f4fa;
  --paper:       #ffffff;
  --text:        #143c71;
  --muted:       #4a6e8f;
  --line:        #cfe3f0;
  --on-dark:     #f4fbfd;
  --on-dark-dim: #d5ebf6;
  --shadow:      0 22px 48px -24px rgba(20, 60, 113, .42);
  --radius:      20px;
  --maxw:        1120px;
  --ease:        cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ice);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand-name, blockquote {
  font-family: "Newsreader", "Manrope", Georgia, serif;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
  font-weight: 600;
  overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--cyan); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; font-weight: 700;
}
.skip-link:focus { left: 0; }

.kicker {
  margin: 0 0 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}
.lead { color: var(--muted); font-size: 1.08rem; max-width: 58ch; margin: 14px 0 0; }
.section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head h2, .about-lead h2, .contact-copy h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn-primary {
  background: var(--cyan); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(21, 162, 223, .7);
}
.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--line);
}

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(244, 251, 253, .88);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { border-radius: 9px; background: #fff; }
.brand-name { font-size: 1.15rem; font-weight: 650; color: var(--navy); }
.brand-name em { font-style: italic; font-weight: 500; color: var(--cyan); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s var(--ease); }
.nav .nav-cta {
  color: var(--navy); border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px;
}

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero: ice field + animated dual-fiber mark from the logo */
.hero {
  position: relative;
  min-height: 92vh;
  padding: 132px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(21, 162, 223, .14), transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(20, 60, 113, .10), transparent 55%),
    var(--ice);
}
.hero-wash {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(20, 60, 113, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 60, 113, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 72%);
}
.fiber-svg {
  position: absolute;
  top: 50%;
  right: -6%;
  left: auto;
  width: min(520px, 42vw);
  height: auto;
  transform: translateY(-50%);
  opacity: .95;
  pointer-events: none;
  z-index: 1;
}
.fiber {
  fill: none; stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 420;
  animation: drawFiber 4.8s var(--ease) forwards, dashDrift 12s linear 4.8s infinite;
}
.fiber-navy .fiber { stroke: url(#fiberDark); }
.fiber-cyan .fiber { stroke: url(#fiberCyan); }
.f1 { animation-delay: 0s, 4.8s; }
.f2 { animation-delay: .18s, 5s; }
.f3 { animation-delay: .36s, 5.2s; }
.f4 { animation-delay: .54s, 5.4s; }
.f5 { animation-delay: .12s, 4.9s; }
.f6 { animation-delay: .3s, 5.1s; }
.f7 { animation-delay: .48s, 5.3s; }
.f8 { animation-delay: .66s, 5.5s; }
.node {
  fill: var(--paper);
  stroke-width: 5;
  transform-origin: center;
  animation: nodePulse 2.8s ease-in-out infinite;
}
.fiber-navy .node { stroke: var(--navy); }
.fiber-cyan .node { stroke: var(--cyan); }
.n1 { animation-delay: 0s; } .n2 { animation-delay: .2s; } .n3 { animation-delay: .4s; } .n4 { animation-delay: .6s; }
.n5 { animation-delay: .1s; } .n6 { animation-delay: .3s; } .n7 { animation-delay: .5s; } .n8 { animation-delay: .7s; }

@keyframes drawFiber {
  from { stroke-dashoffset: 420; }
  to { stroke-dashoffset: 0; }
}
@keyframes dashDrift {
  to { stroke-dashoffset: -420; }
}
@keyframes nodePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

.hero-inner { position: relative; z-index: 2; width: 100%; max-width: 620px; }
.eyebrow {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan);
}
.hero h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.4rem);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero h1 em { font-style: italic; color: var(--cyan); font-weight: 500; }
.hero-sub { color: var(--muted); font-size: 1.12rem; margin: 0 0 32px; max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* About */
.about { background: var(--paper); }
.about-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start;
}
.about-copy p { margin: 0 0 16px; color: var(--muted); font-size: 1.05rem; }
.about-copy p:last-child { margin-bottom: 0; }

/* Card fan: overlapping briefs at unique angles */
.fan-section { padding-bottom: 40px; overflow: hidden; }
.fan-stage {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 80px;
}
.fan-hint {
  display: none;
  text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); margin: 0 0 18px;
}
.fan {
  position: relative;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fan-card {
  position: absolute;
  width: min(280px, 78vw);
  min-height: 340px;
  padding: 26px 24px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform-origin: 50% 110%;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s var(--ease);
  cursor: pointer;
}
.fan-card .card-num {
  font-family: "Manrope", sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  color: var(--cyan);
}
.fan-card h3 { font-size: 1.55rem; margin: 4px 0 2px; }
.fan-card p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.card-chip {
  align-self: flex-start;
  margin-top: 8px;
  font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--navy);
  background: var(--ice-2);
  border-radius: 999px;
  padding: 6px 12px;
}
.fan-card.c1 { --rot: -26deg; --x: -210px; --y: 36px; --hrot: -12deg; --hx: -230px; --hy: -18px; z-index: 1; }
.fan-card.c2 { --rot: -12deg; --x: -104px; --y: 10px; --hrot: -4deg; --hx: -118px; --hy: -36px; z-index: 2; }
.fan-card.c3 { --rot: 2deg; --x: 0; --y: -8px; --hrot: 0deg; --hx: 0; --hy: -48px; z-index: 3; }
.fan-card.c4 { --rot: 14deg; --x: 104px; --y: 12px; --hrot: 6deg; --hx: 122px; --hy: -32px; z-index: 2; }
.fan-card.c5 { --rot: 26deg; --x: 210px; --y: 38px; --hrot: 12deg; --hx: 234px; --hy: -14px; z-index: 1; }
.fan-card {
  transform: translate(var(--x), var(--y)) rotate(var(--rot));
}

/* Method: dark navy band, near-white text */
.method {
  background: var(--navy);
  color: var(--on-dark);
}
.method .kicker { color: var(--cyan-bright); }
.method h2, .method .method-card h3 { color: var(--on-dark); }
.method .lead, .method .method-card p { color: var(--on-dark-dim); }
.method-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.method-card {
  background: rgba(244, 251, 253, .06);
  border: 1px solid rgba(165, 228, 248, .22);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.method-tag {
  display: inline-block;
  font-family: "Manrope", sans-serif;
  font-size: 12px; font-weight: 800; letter-spacing: .16em;
  color: var(--cyan-bright);
  margin-bottom: 12px;
}
.method-card h3 { font-size: 1.45rem; margin-bottom: 10px; }
.method-card p { margin: 0; }

/* Quote */
.quote { background: var(--ice-2); text-align: center; }
.quote-inner { max-width: 820px; margin: 0 auto; }
.quote-mark {
  display: block; font-family: "Newsreader", serif;
  font-size: 5.5rem; line-height: .6; color: var(--cyan); opacity: .7; margin-bottom: 8px;
}
.quote-inner blockquote {
  font-size: clamp(1.55rem, 3.4vw, 2.5rem);
  font-style: italic; font-weight: 500; line-height: 1.28;
  color: var(--navy);
}
.quote-attr {
  margin: 22px 0 0;
  font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cyan);
}

/* FAQ */
.faq-section { background: var(--paper); }
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq-head { margin: 0; position: sticky; top: 100px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: var(--ice); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.open { border-color: var(--cyan); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; cursor: pointer; text-align: left; color: var(--navy);
  font-size: 1.08rem; font-weight: 700; padding: 20px 22px;
}
.faq-ico { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq-ico::before, .faq-ico::after {
  content: ""; position: absolute; background: var(--cyan); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.faq-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-ico::after { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item.open .faq-ico::after { transform: scaleY(0); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 280px; }
.faq-a p { color: var(--muted); margin: 0; padding: 0 22px 22px; font-size: .98rem; }

/* Contact */
.contact { background: var(--ice); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy p { color: var(--muted); margin: 14px 0 22px; }
.contact-email {
  display: inline-block;
  font-family: "Newsreader", serif;
  font-size: 1.4rem; color: var(--cyan);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.contact-addr { margin: 16px 0 0; color: var(--muted); font-size: .98rem; }
.contact-form {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 16px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 600; }
.field input, .field textarea {
  background: var(--ice); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 12px 14px; font: inherit; font-size: 15px; width: 100%; resize: vertical;
  transition: border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); }

/* Footer: dark navy, near-white */
.site-footer {
  background: var(--navy-deep);
  color: var(--on-dark);
  padding: 54px 0 28px;
}
.site-footer .brand-name { color: var(--on-dark); }
.site-footer .brand-name em { color: var(--cyan-bright); }
.site-footer .brand img { background: #fff; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; flex-wrap: wrap;
  padding-bottom: 32px; border-bottom: 1px solid rgba(165, 228, 248, .18);
}
.footer-tag { color: var(--on-dark-dim); margin: 12px 0 0; font-size: .95rem; max-width: 36ch; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { color: var(--on-dark-dim); font-size: 15px; font-weight: 600; transition: color .2s; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  color: var(--on-dark-dim); font-size: 14px; padding-top: 20px;
}

/* Reveal first, then hover transforms */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .fiber, .node, .pulse { animation: none !important; }
  .fiber { stroke-dashoffset: 0; stroke-dasharray: none; }
}

/* Lift on tap (mobile hover) lives outside the hover media query */
.fan-card.is-up {
  transform: translate(var(--hx), var(--hy)) rotate(var(--hrot)) scale(1.05);
  z-index: 12;
  border-color: var(--cyan);
  box-shadow: 0 28px 56px -18px rgba(20, 60, 113, .45);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    transform: translateY(-2px);
    background: var(--navy);
    box-shadow: 0 16px 32px -12px rgba(20, 60, 113, .5);
  }
  .btn-ghost:hover {
    transform: translateY(-2px);
    border-color: var(--cyan);
    color: var(--cyan);
  }
  .nav a:hover { color: var(--navy); }
  .nav .nav-cta:hover { border-color: var(--cyan); color: var(--cyan); }
  .fan-card:hover {
    transform: translate(var(--hx), var(--hy)) rotate(var(--hrot)) scale(1.05);
    z-index: 12;
    border-color: var(--cyan);
    box-shadow: 0 28px 56px -18px rgba(20, 60, 113, .45);
  }
  .method-card.reveal.in:hover,
  .method-card:hover {
    transform: translateY(-6px);
    background: rgba(244, 251, 253, .12);
    border-color: var(--cyan-bright);
  }
  .faq-q:hover { color: var(--cyan); }
  .faq-item:hover { box-shadow: 0 16px 32px -22px rgba(20, 60, 113, .35); }
  .contact-email:hover { border-bottom-color: var(--cyan); }
  .contact-form.reveal.in:hover,
  .contact-form:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
  .footer-nav a:hover { color: #fff; }
}

/* Responsive */
@media (max-width: 980px) {
  .about-grid, .faq-wrap, .contact-inner, .method-grid { grid-template-columns: 1fr; gap: 28px; }
  .faq-head { position: static; }
  .fiber-svg { width: min(380px, 46vw); right: -8%; top: 50%; opacity: .55; }
  .fan { height: 420px; }
  .fan-card.c1 { --x: -150px; --hx: -160px; }
  .fan-card.c2 { --x: -74px; --hx: -84px; }
  .fan-card.c4 { --x: 74px; --hx: 86px; }
  .fan-card.c5 { --x: 150px; --hx: 164px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(244, 251, 253, .98); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--navy); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--cyan); }
  .hero { min-height: 0; padding: 118px 0 64px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .section { padding: 68px 0; }
  .fiber-svg {
    width: 220px;
    right: -72px;
    left: auto;
    top: 84px;
    transform: none;
    opacity: .2;
  }

  /* Mobile: stacked overlapping fan, unique small angles, tap-to-lift */
  .fan-hint { display: block; }
  .fan {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 24px;
  }
  .fan-card {
    position: relative;
    width: 100%;
    min-height: 0;
    margin: -18px 0 0;
    left: auto; top: auto;
    transform-origin: 50% 50%;
  }
  .fan-card:first-child { margin-top: 0; }
  .fan-card.c1 { --rot: -3.2deg; --x: 0; --y: 0; --hrot: 0deg; --hx: 0; --hy: -14px; z-index: 1; }
  .fan-card.c2 { --rot: 2.4deg; --x: 0; --y: 0; --hrot: 0deg; --hx: 0; --hy: -14px; z-index: 2; }
  .fan-card.c3 { --rot: -1.6deg; --x: 0; --y: 0; --hrot: 0deg; --hx: 0; --hy: -14px; z-index: 3; }
  .fan-card.c4 { --rot: 3deg; --x: 0; --y: 0; --hrot: 0deg; --hx: 0; --hy: -14px; z-index: 4; }
  .fan-card.c5 { --rot: -2.2deg; --x: 0; --y: 0; --hrot: 0deg; --hx: 0; --hy: -14px; z-index: 5; }
  .fan-card.is-up { z-index: 10; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .fan-stage { padding: 8px 20px 48px; }
  .fan-card { padding: 22px 20px 24px; }
  .hero h1 { font-size: 2.05rem; }
  .hero-sub { font-size: 1.02rem; max-width: none; }
  .quote-mark { font-size: 4.2rem; }
  .footer-inner { flex-direction: column; }
}
