/* ============ Tokens ============ */
:root {
  --navy: #0e1b33;
  --navy-deep: #0a1426;
  --ink: #16213a;
  --slate: #3c4658;
  --muted: #69748a;
  --border: #e6eaf1;
  --border-soft: #eef1f6;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #f0f6f6;
  --accent: #0fb5a6;
  --accent-deep: #0c8d82;
  --accent-soft: #d7f1ee;
  --white: #ffffff;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(14,27,51,.04), 0 4px 14px rgba(14,27,51,.04);
  --shadow-md: 0 8px 30px rgba(14,27,51,.07);
  --shadow-lg: 0 22px 60px rgba(14,27,51,.12);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
::selection { background: var(--accent-soft); color: var(--accent-deep); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { display: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 500; font-size: 15.5px;
  padding: 13px 22px; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all .18s ease; white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: #03201d; box-shadow: 0 6px 18px rgba(15,181,166,.28); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15,181,166,.34); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #14264a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--bg-tint); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.2); }
.btn-light:hover { background: rgba(255,255,255,.18); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px rgba(14,27,51,.05); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 28px; padding-block: 20px; transition: padding-block .25s ease;
}
.site-header.scrolled .nav { padding-block: 12px; }

.wordmark { display: inline-flex; align-items: center; line-height: 1; transition: opacity .15s ease; }
.wordmark:hover { opacity: .82; }
.wordmark img { height: 30px; width: auto; display: block; }
.wordmark .lw-labs { color: var(--accent-deep); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-family: var(--font-head); font-size: 15px; font-weight: 500; color: var(--slate);
  padding: 9px 14px; border-radius: 9px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 9px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Section scaffolding ============ */
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 116px); }
h2.section-title { font-size: clamp(30px, 4.4vw, 46px); margin-top: 16px; max-width: 18ch; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); }

/* ============ Hero ============ */
.hero { padding-block: clamp(56px, 8vw, 104px) clamp(56px, 8vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 70% 60% at 85% -10%, rgba(15,181,166,.10), transparent 60%),
    radial-gradient(ellipse 60% 50% at 5% 0%, rgba(27,51,88,.06), transparent 55%);
}
.hero::after {
  content:""; position:absolute; inset:0; z-index:-1; opacity:.5;
  background-image: radial-gradient(rgba(14,27,51,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero-grid { max-width: 900px; margin-inline: auto; text-align: center; }
.hero-copy .eyebrow { justify-content: center; }
.hero h1 { font-size: clamp(40px, 6.6vw, 74px); letter-spacing: -.03em; color: var(--ink); margin: 22px auto 0; max-width: 16ch; }
.hero h1 .grad { background: linear-gradient(120deg, var(--accent-deep), #1b3358); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 26px auto 0; max-width: 60ch; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 46px; justify-content: center; }
.hero-meta div { display: flex; flex-direction: column; gap: 2px; align-items: center; text-align: center; }
.hero-meta .k { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 15px; }
.hero-meta .v { font-size: 13.5px; color: var(--muted); }
.hero-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display:inline-block; margin-right: 8px; vertical-align: middle; }

/* ============ Trust strip ============ */
.strip { border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.strip-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; padding-block: 26px; }
.strip-inner .label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.strip-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--slate); background: #fff; border: 1px solid var(--border); padding: 8px 15px; border-radius: 100px; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.about-copy p { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.6; }
.about-copy p strong { color: var(--ink); font-weight: 600; }
.pillars { display: grid; gap: 18px; margin-top: 0; }
.pillar { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color .18s, box-shadow .18s, transform .18s; }
.pillar:hover { border-color: var(--accent-soft); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pillar .pic { flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bg-tint); display: grid; place-items: center; color: var(--accent-deep); }
.pillar .pic svg { width: 23px; height: 23px; }
.pillar h4 { font-size: 17px; color: var(--ink); }
.pillar p { font-size: 15px; color: var(--muted); margin-top: 4px; }

/* ============ Services / Focus areas ============ */
.services { background: var(--bg-soft); }
.svc-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.svc-head p { color: var(--muted); max-width: 42ch; margin-top: 14px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 26px 32px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dfe4ec; }
.card .ico { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px;
  background: var(--bg-tint); color: var(--accent-deep); }
.card .ico svg { width: 26px; height: 26px; }
.card .num { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.card h3 { font-size: 19px; margin: 6px 0 10px; letter-spacing: -.01em; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ============ BriefTime (dark feature) ============ */
.feature { background: var(--navy); color: #fff; overflow: hidden; }
.feature::before { content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 50% 60% at 92% 18%, rgba(15,181,166,.20), transparent 60%),
    radial-gradient(ellipse 40% 50% at 4% 90%, rgba(15,181,166,.10), transparent 60%);
}
.feature .container { position: relative; }
.feature-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.feature h2 { color: #fff; font-size: clamp(30px, 4.2vw, 44px); margin-top: 16px; }
.feature .eyebrow { color: #5fe6d8; }
.feature .eyebrow::before { background: #5fe6d8; }
.feature p { color: rgba(255,255,255,.74); margin-top: 22px; font-size: clamp(16.5px, 1.6vw, 19px); max-width: 46ch; line-height: 1.55; }
.feature-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.feature-link { font-family: var(--font-head); font-size: 14px; color: rgba(255,255,255,.6); }

/* BriefTime visual */
.brief-svg { width: 100%; height: auto; display: block; border-radius: 24px; box-shadow: var(--shadow-lg); }

/* ============ Team ============ */
.team-head { text-align: center; max-width: 620px; margin-inline: auto; }
.team-head p { color: var(--muted); margin-top: 16px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; max-width: 920px; margin-inline: auto; }
.member { text-align: center; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 38px 26px 32px; transition: transform .2s, box-shadow .2s, border-color .2s; box-shadow: var(--shadow-sm); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #dfe4ec; }
.avatar { width: 82px; height: 82px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 27px; color: #fff; letter-spacing: .005em;
  background: linear-gradient(150deg, #284a78, #0e1b33);
  box-shadow: 0 0 0 4px var(--bg-tint), 0 10px 24px rgba(14,27,51,.18); }
.member h4 { font-size: 19px; color: var(--ink); letter-spacing: -.01em; }
.member .role { font-family: var(--font-head); font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--accent-deep); margin-top: 15px; padding-top: 15px; position: relative; display: inline-block; }
.member .role::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 26px; height: 2px; border-radius: 2px; background: var(--accent); }
.team-note { text-align: center; margin-top: 32px; font-size: 14px; color: var(--muted); display:flex; align-items:center; justify-content:center; gap:9px; }
.team-note svg { width: 15px; height: 15px; color: var(--accent-deep); flex:none; }

/* ============ Contact ============ */
.contact-card {
  background: linear-gradient(160deg, #fff, var(--bg-tint));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 68px); text-align: center; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.contact-card::before { content:""; position:absolute; width: 320px; height: 320px; border-radius:50%; right:-90px; top:-120px;
  background: radial-gradient(circle, rgba(15,181,166,.12), transparent 65%); }
.contact-card .container-inner { position: relative; }
.contact-card h2 { font-size: clamp(28px, 3.8vw, 42px); }
.contact-card p { color: var(--muted); margin: 16px auto 30px; max-width: 48ch; font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.email-pill { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 15.5px; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.62); padding-block: clamp(48px, 6vw, 72px) 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .wordmark { color: #fff; margin-bottom: 16px; display: inline-flex; }
.footer-brand .wordmark img { height: 24px; }
.footer-brand .wordmark .lw-labs { color: #5fe6d8; }
.footer-brand p { font-size: 14.5px; max-width: 34ch; line-height: 1.6; }
.footer-col h5 { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 15px; padding: 6px 0; color: rgba(255,255,255,.7); transition: color .15s; }
.footer-col a:hover { color: #5fe6d8; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer-bottom .loc { display:flex; align-items:center; gap:8px; }
.footer-bottom .loc i { width:6px; height:6px; border-radius:50%; background: var(--accent); display:inline-block; }

/* ============ Reveal (disabled — content always visible) ============ */
.reveal, .reveal.in { opacity: 1; transform: none; }

/* ============ Tweak variants ============ */
body.hero-left .hero-grid { text-align: left; margin-inline: 0; max-width: 820px; }
body.hero-left .hero-copy .eyebrow { justify-content: flex-start; }
body.hero-left .hero h1 { margin-inline: 0; }
body.hero-left .hero p.lead { margin-inline: 0; }
body.hero-left .hero-cta { justify-content: flex-start; }
body.hero-left .hero-meta { justify-content: flex-start; }
body.hero-left .hero-meta div { align-items: flex-start; text-align: left; }

body.brief-light .feature { background: var(--bg-soft); }
body.brief-light .feature::before { opacity: .45; }
body.brief-light .feature h2 { color: var(--ink); }
body.brief-light .feature .eyebrow { color: var(--accent-deep); }
body.brief-light .feature .eyebrow::before { background: var(--accent); }
body.brief-light .feature p { color: var(--muted); }
body.brief-light .feature-link { color: var(--muted); }

/* ============ Responsive ============ */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .focus-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero h1 { max-width: 100%; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .cards, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; z-index: 98; background: rgba(8,15,30,.5);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }

.mobile-menu { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; z-index: 99;
  width: min(340px, 84vw); background: #fff; padding: 20px var(--gutter) 28px;
  transform: translateX(100%); transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg); overflow-y: auto; overscroll-behavior: contain; }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mobile-menu-head img { height: 26px; width: auto; display: block; }
.drawer-close { background: none; border: 0; cursor: pointer; padding: 8px; border-radius: 9px;
  color: var(--ink); display: grid; place-items: center; transition: background .15s ease; }
.drawer-close:hover { background: var(--bg-soft); }
.drawer-close svg { width: 22px; height: 22px; }
.mobile-menu-links { display: flex; flex-direction: column; }
.mobile-menu a { display: block; font-family: var(--font-head); font-size: 19px; font-weight: 500; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
.mobile-menu a:hover { color: var(--accent-deep); }
.mobile-menu .btn { display: inline-flex; justify-content: center; text-align: center; width: 100%; margin-top: auto; }
.mobile-menu .btn-primary { box-shadow: none; }

/* Drawer is mobile-only — hidden on desktop (rule placed after base so it wins) */
@media (min-width: 761px) {
  .mobile-menu, .drawer-backdrop { display: none; }
}
