/* ===== TechWorld Networking — brand stylesheet ===== */
:root {
  --navy:    #0f2c49;
  --navy-2:  #143a5e;
  --blue:    #1e73be;
  --cyan:    #29abe2;
  --sky:     #6fd0f2;
  --grad:    linear-gradient(115deg, #29abe2 0%, #1e73be 55%, #0f2c49 100%);
  --grad-soft: linear-gradient(115deg, #eaf6fd 0%, #f4f9fe 100%);

  --bg:      #ffffff;
  --bg-alt:  #f4f8fc;
  --surface: #ffffff;
  --border:  #e2eaf2;
  --text:    #10233a;
  --muted:   #5a6b7e;

  --radius:  16px;
  --maxw:    1120px;
  --ease:    cubic-bezier(.22,.61,.36,1);
  --shadow:  0 18px 40px -22px rgba(15,44,73,.28);
}

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

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

h1, h2, h3, .brand-name {
  font-family: "Sora", "Inter", system-ui, sans-serif;
  letter-spacing: -0.02em; line-height: 1.12; margin: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.accent { color: var(--cyan); }

.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: 600; }
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 27px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(41,171,226,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(41,171,226,.85); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(14px); border-bottom-color: var(--border); box-shadow: 0 6px 24px -18px rgba(15,44,73,.5); }
.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: 8px; }
.brand-name { font-size: 19px; font-weight: 700; color: var(--navy); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 15px; color: var(--muted); transition: color .2s var(--ease); }
.nav a:hover { color: var(--text); }
.nav .nav-cta { color: var(--navy); border: 1px solid var(--border); padding: 9px 20px; border-radius: 999px; }
.nav .nav-cta:hover { border-color: var(--cyan); color: var(--cyan); }

.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: light theme, text-left + member cluster ===== */
.hero { position: relative; padding: 150px 0 96px; overflow: hidden; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.hero-glow { position: absolute; z-index: 0; top: -140px; right: -120px; width: 620px; height: 620px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(41,171,226,.18), rgba(41,171,226,0) 62%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }

.hero-copy { max-width: 560px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin: 0 0 20px; font-weight: 700; }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.7rem); font-weight: 700; color: var(--navy); }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); margin: 24px 0 0; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Member cluster */
.hero-cluster { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1 / 1; margin-left: auto; }
.cluster-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cluster-lines line { stroke: rgba(30,115,190,.35); stroke-width: 1.4; }
.member-card {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 11px 15px 11px 12px; box-shadow: var(--shadow);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.member-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.mc-avatar { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center;
  font-family: "Sora", sans-serif; font-weight: 700; font-size: .95rem; color: #fff; background: var(--grad); flex: none; }
.mc-role { font-family: "Sora", sans-serif; font-size: .9rem; font-weight: 600; color: var(--navy); white-space: nowrap; }
.node { position: absolute; top: -5px; left: -5px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--surface); box-shadow: 0 0 0 3px rgba(41,171,226,.16); }
.node-cyan { background: var(--cyan); }
.node-blue { background: var(--blue); }
.node-sky  { background: var(--sky); }
.node-navy { background: var(--navy); }
/* positions (as % of the square) */
.mc-1 { top: 14%;  left: 8%;  }
.mc-2 { top: 8%;   right: 2%; }
.mc-3 { top: 50%;  right: 0;  }
.mc-4 { bottom: 8%; left: 30%; }
.mc-5 { top: 46%;  left: 0;   }

/* ===== Topics strip ===== */
.strip { border-bottom: 1px solid var(--border); background: var(--bg); overflow: hidden; padding: 18px 0; }
.strip-track { display: flex; align-items: center; gap: 26px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; font-family: "Sora", sans-serif; font-size: 15px; color: var(--navy); font-weight: 500; }
.strip-track .dot { color: var(--cyan); font-size: 10px; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } }

/* ===== Sections ===== */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.kicker { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 700; margin: 0 0 14px; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); color: var(--navy); }
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== Persona grid ===== */
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.persona { padding: 34px 30px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); position: relative; overflow: hidden; }
.persona::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .35s var(--ease); }
.persona:hover { transform: translateY(-5px); border-color: transparent; }
.persona:hover::before { transform: scaleY(1); }
.persona-num { font-family: "Sora", sans-serif; font-size: 1.7rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--cyan); display: block; margin-bottom: 14px; }
.persona h3 { font-size: 1.3rem; margin-bottom: 10px; color: var(--navy); }
.persona p { color: var(--muted); margin: 0; font-size: .97rem; }

/* ===== Tabs (What we share) ===== */
.tabs { max-width: 940px; margin: 0 auto; }
.tablist { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 30px; }
.tab {
  font-family: "Sora", sans-serif; font-size: .95rem; font-weight: 600; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 11px 22px; cursor: pointer;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.tab:hover { color: var(--navy); border-color: var(--cyan); }
.tab.is-active { color: #fff; background: var(--grad); border-color: transparent; box-shadow: 0 10px 24px -12px rgba(41,171,226,.75); }
.tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.tabpanel { display: none; }
.tabpanel.is-active { display: block; }
.js .tabpanel.is-active { animation: panelFade .45s var(--ease); }
@keyframes panelFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .tabpanel.is-active { animation: none; } }

.tabpanel-inner {
  display: flex; align-items: flex-start; gap: 24px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px; box-shadow: var(--shadow);
}
.tabpanel-icon { width: 60px; height: 60px; border-radius: 15px; flex: none; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--blue); }
.tabpanel-icon svg { width: 30px; height: 30px; }
.tabpanel-inner h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--navy); }
.tabpanel-inner p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* ===== Metrics band ===== */
.metrics-band { background: var(--navy); color: #fff; padding: 64px 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.metric { display: flex; flex-direction: column; gap: 6px; padding: 6px 20px 6px 0; }
.metric + .metric { border-left: 1px solid rgba(255,255,255,.14); padding-left: 26px; }
.metric-key { font-family: "Sora", sans-serif; font-size: 2.4rem; font-weight: 700; line-height: 1; color: var(--sky); }
.metric strong { font-family: "Sora", sans-serif; font-size: 1.08rem; color: #fff; }
.metric span:last-child { color: rgba(255,255,255,.72); font-size: .92rem; }

/* ===== Statement ===== */
.statement-section { text-align: center; }
.statement { margin: 0 auto; max-width: 860px; }
.statement blockquote { font-family: "Sora", sans-serif; font-weight: 600; font-size: clamp(1.5rem, 3.4vw, 2.4rem); line-height: 1.32; letter-spacing: -.02em; color: var(--navy); margin: 6px 0 22px; }
.statement figcaption { font-size: .95rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ===== Contact ===== */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-bottom: 16px; color: var(--navy); }
.contact-copy p { color: var(--muted); margin-bottom: 22px; }
.contact-email { display: inline-block; font-family: "Sora", sans-serif; font-size: 1.2rem; color: var(--blue); border-bottom: 1px solid transparent; transition: border-color .2s; }
.contact-email:hover { border-bottom-color: var(--cyan); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-size: 13px; color: var(--muted); font-weight: 500; }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; color: var(--text); padding: 12px 14px; font: inherit; font-size: 15px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(41,171,226,.15); }
.contact-form .btn { margin-top: 4px; }

/* ===== Footer (larger join style) ===== */
.site-footer { border-top: 1px solid var(--border); background: var(--navy); color: #fff; padding: 0 0 30px; }
.footer-cta { text-align: center; padding: 70px 24px 60px; display: flex; flex-direction: column; align-items: center; gap: 28px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); color: #fff; max-width: 720px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name .accent { color: var(--sky); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; flex-wrap: wrap; padding: 44px 0 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-tag { color: rgba(255,255,255,.7); margin: 14px 0 0; font-size: .95rem; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,.75); font-size: 15px; transition: color .2s; }
.footer-nav a:hover { color: var(--sky); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: rgba(255,255,255,.6); font-size: 14px; padding-top: 22px; }

/* ===== Reveal ===== */
.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; } }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 132px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-copy { max-width: 620px; }
  .hero-cluster { max-width: 400px; margin: 0 auto; }
  .persona-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .contact-inner { grid-template-columns: 1fr; gap: 38px; }
}
@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(255,255,255,.98); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); padding: 16px 24px 24px; transform: translateY(-120%); transition: transform .35s var(--ease); z-index: 90; box-shadow: 0 12px 30px -18px rgba(15,44,73,.5); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--border); }
  .nav .nav-cta { text-align: center; margin-top: 10px; border: 1px solid var(--cyan) !important; color: var(--cyan) !important; }
  .section { padding: 68px 0; }
  .metrics-band { padding: 52px 0; }
  /* Tabs scroll horizontally on small screens */
  .tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 6px; scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .tabpanel-inner { flex-direction: column; gap: 18px; padding: 30px 26px; }
}
@media (max-width: 480px) {
  .hero-cluster { max-width: 340px; }
  .mc-role { font-size: .82rem; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric, .metric + .metric { border-left: 0; padding-left: 0; }
  .footer-inner { flex-direction: column; }
}
