/* IntelPak V3: style.css */
:root {
  --ink: #17151c;
  --paper: #e4ddd1;
  --gold: #f9b233;
  --blue: #2c87c5;
  --muted: #6f6b72;
  --line: #dedad1;
  --dark-bg: #100f13;
  --dark-mid: #1c1a21;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.wrap { width: min(1180px, 100% - 48px); margin: auto; }

/* ─── HEADER / NAV ───────────────────────────────────────── */
header {
  position: sticky; top: 0; z-index: 50;
  background: #e4ddd1f5;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid #17151c17;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 64px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
}
.logo img {
  height: 52px; width: auto;
}
.menu {
  display: none; background: none; border: 0; font-size: 26px; cursor: pointer;
}
nav { display: flex; align-items: center; gap: 20px; font-size: 13px; font-weight: 700; }
nav a { transition: color .2s; }
nav a:hover { color: var(--blue); }
.nav-demo {
  background: var(--ink); padding: 12px 16px; color: #fff !important;
  transition: background .2s;
}
.nav-demo:hover { background: #333; }

/* ─── EYEBROW ────────────────────────────────────────────── */
.eyebrow {
  display: block;
  font-size: 12px; font-weight: 800; letter-spacing: .17em;
  color: var(--blue); margin-bottom: 22px;
}
.eyebrow.gold { color: var(--gold); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #f8f6f1 55%, #ece7dd);
  display: flex; align-items: center;
  min-height: 720px; position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  align-items: center; gap: 80px; position: relative;
}
.hero-copy { padding: 90px 0; }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(55px, 6vw, 88px);
  letter-spacing: -.055em; line-height: .98;
  margin-bottom: 30px; max-width: 800px;
}
.hero h1 em { color: var(--blue); font-style: italic; font-weight: 400; }
.hero-copy > p, .page-hero p {
  color: #55515a; font-size: 19px; line-height: 1.7; max-width: 680px;
}
.actions { display: flex; gap: 14px; margin-top: 38px; }
.orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.orb-a { background: #f9b23333; width: 420px; height: 420px; top: -170px; right: -150px; }
.orb-b { background: #2c87c524; width: 300px; height: 300px; bottom: -100px; left: -180px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.button {
  display: inline-flex; align-items: center;
  padding: 15px 21px; font-size: 13px; font-weight: 800;
  letter-spacing: .02em; border: 1px solid;
  transition: all .2s;
}
.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.primary:hover { background: #333; border-color: #333; }
.ghost { border-color: #a9a4a0; }
.ghost:hover { border-color: var(--ink); }
.light { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.light:hover { background: #e8a11e; border-color: #e8a11e; }
.text-link { color: var(--blue); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ─── PRACTICE CARD ──────────────────────────────────────── */
.practice-card {
  background: #fff; padding: 24px;
  transform: rotate(1.5deg);
  box-shadow: 0 35px 85px #17151c29; position: relative;
}
.practice-card::before {
  content: ''; position: absolute; inset: 8px;
  border: 1px solid #eee9e1; pointer-events: none;
}
.card-top {
  display: flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 800; letter-spacing: .12em;
  border-bottom: 1px solid #eee; padding-bottom: 20px;
}
.card-top > span:last-child {
  color: #8a858d; letter-spacing: 0; font-weight: 500; margin-left: auto;
}
.status-dot { background: var(--gold); border-radius: 50%; width: 8px; height: 8px; }
.card-label {
  font-size: 9px; font-weight: 800; letter-spacing: .15em;
  color: var(--blue); margin-bottom: 6px; display: block;
}
.message { margin-top: 20px; padding: 17px; font-size: 14px; line-height: 1.6; }
.message small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .15em; margin-bottom: 7px; }
.coach { border-left: 3px solid var(--blue); background: #f0f5f8; }
.coach small { color: var(--blue); }
.user { background: #f6f3ed; margin-left: 42px; }
.insight {
  display: flex; flex-direction: column;
  border: 1px solid #ead5a9; margin-top: 18px;
  padding: 13px 16px; font-size: 12px;
}
.insight b { color: #9a6811; margin-bottom: 4px; }

/* ─── SECTIONS ───────────────────────────────────────────── */
.section { padding: 110px 0; }
.section h2 {
  font-family: Georgia, serif;
  font-size: clamp(38px, 4.2vw, 58px);
  letter-spacing: -.04em; line-height: 1.08;
}
.section-head {
  display: grid; grid-template-columns: 1.4fr .6fr;
  align-items: end; gap: 80px; margin-bottom: 55px;
}
.section-head p, .lead { color: var(--muted); font-size: 17px; line-height: 1.7; }
.section-cta { text-align: center; margin-top: 48px; }

/* ─── DARK SECTION ───────────────────────────────────────── */
.dark { background: var(--ink); color: #fff; }
.dark .section-head p { color: #bcb8c1; }

/* ─── GRIDS ──────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.three { grid-template-columns: repeat(3, 1fr); }

/* ─── FEATURE CARDS ──────────────────────────────────────── */
.feature {
  background: #fff; padding: 34px;
  border-top: 2px solid var(--ink);
}
.feature .number { color: var(--gold); font-size: 12px; font-weight: 800; }
.feature h3 { margin: 36px 0 15px; font-family: Georgia, serif; font-size: 26px; }
.feature p { color: var(--muted); line-height: 1.65; }

/* ─── AUDIENCE CARDS ─────────────────────────────────────── */
.audience {
  border: 1px solid #39363e; min-height: 280px;
  padding: 34px; transition: all .25s;
}
.audience:hover { border-color: var(--gold); transform: translateY(-5px); }
.audience h3 { margin: 0 0 15px; font-family: Georgia, serif; font-size: 26px; }
.audience p { color: #bcb8c1; line-height: 1.65; }
.audience span {
  display: block; color: var(--gold);
  font-size: 13px; font-weight: 800; margin-top: 35px;
}

/* ─── SPLIT SECTION ──────────────────────────────────────── */
.split { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; }

/* ─── PIPELINE ───────────────────────────────────────────── */
.pipeline {
  display: flex; justify-content: center; align-items: center; gap: 12px;
  background: #fff; padding: 40px 28px; box-shadow: 0 20px 60px #ddd6ca;
}
.pipeline span {
  border: 1px solid var(--line); text-align: center;
  padding: 18px 12px; font-size: 12px; font-weight: 700;
}
.pipeline .active { border-color: var(--gold); background: #fff8e8; }
.pipeline i { color: #aaa; font-style: normal; }

/* ─── DEMO SECTION ───────────────────────────────────────── */
.demo-section { background: #eae6dd; }
.demo-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.demo-grid > div:first-child p { color: var(--muted); font-size: 17px; line-height: 1.7; }
.demo-grid > div:first-child > a { color: var(--blue); font-weight: 700; }
.form-shell { background: #fff; min-height: 390px; padding: 32px; box-shadow: 0 15px 50px #17151c14; }

/* ─── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #f8f6f1, #eae5da);
  padding: 120px 0 100px;
}
.page-hero .button { margin-top: 22px; }

/* ─── TILE GRID (org/pro sector cards) ───────────────────── */
.tile-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.sector { background: var(--paper); min-height: 275px; padding: 32px; }
.sector > .sector-label { color: var(--blue); font-size: 11px; font-weight: 700; }
.sector h3 { margin: 20px 0 14px; font-family: Georgia, serif; font-size: 24px; }
.sector p { color: var(--muted); line-height: 1.65; font-size: 14px; }

/* ─── DETAIL GRID ────────────────────────────────────────── */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.detail { background: #fff; padding: 32px; border-bottom: 3px solid transparent; transition: border .2s; }
.detail:hover { border-color: var(--gold); }
.detail-num { color: var(--gold); font-size: 11px; font-weight: 800; margin-bottom: 12px; }
.detail h3 { font-family: Georgia, serif; font-size: 22px; margin-bottom: 12px; }
.detail p { color: var(--muted); font-size: 14px; line-height: 1.65; }

/* ─── TECHNOLOGY FLOW ────────────────────────────────────── */
.flow { display: flex; align-items: stretch; margin-top: 48px; }
.flow > div { display: flex; flex-direction: column; flex: 1; padding: 27px 20px; border: 1px solid #dedad1; }
.flow i { color: var(--gold); padding: 40px 9px; font-style: normal; }
.flow b { color: var(--gold); font-size: 11px; }
.flow span { margin: 20px 0 8px; font-family: Georgia, serif; font-size: 20px; }
.flow small { color: var(--muted); font-size: 13px; }
.flow .qualified { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.flow .qualified b, .flow .qualified small { color: var(--ink); }

/* ─── BOUNDARY BOX ───────────────────────────────────────── */
.boundary-box {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 36px 40px; margin: 48px 0;
}
.boundary-box h3 { font-family: Georgia, serif; font-size: 24px; margin-bottom: 18px; }
.boundary-box ul { list-style: disc; padding-left: 24px; color: var(--muted); line-height: 1.9; }
.boundary-box p { color: var(--muted); font-size: 15px; line-height: 1.7; margin-top: 16px; }
.boundary-box .boundary-note {
  background: #fff8e8; border: 1px solid #ead5a9;
  padding: 20px 24px; margin-top: 24px; font-size: 14px; color: var(--ink); line-height: 1.7;
}

/* ─── GOVERNANCE ─────────────────────────────────────────── */
.governance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.gov-card {
  background: #fff; padding: 32px;
  border-top: 2px solid var(--gold);
}
.gov-card h3 { font-family: Georgia, serif; font-size: 22px; margin-bottom: 12px; }
.gov-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.gov-card a { color: var(--blue); font-size: 13px; font-weight: 700; }

/* ─── STUDIO FLOW ────────────────────────────────────────── */
.studio-flow { display: flex; align-items: stretch; gap: 0; margin-top: 48px; }
.studio-flow > .sf-box {
  display: flex; flex-direction: column; flex: 1;
  padding: 24px 20px; border: 1px solid #dedad1; background: #fff;
}
.studio-flow > .sf-arrow { display: flex; align-items: center; padding: 0 6px; color: var(--gold); font-size: 22px; }
.studio-flow .sf-box b { color: var(--gold); font-size: 11px; display: block; margin-bottom: 10px; }
.studio-flow .sf-box span { font-family: Georgia, serif; font-size: 18px; display: block; margin-bottom: 6px; }
.studio-flow .sf-box small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.studio-flow .sf-qualified { background: var(--gold); border-color: var(--gold); }
.studio-flow .sf-qualified b, .studio-flow .sf-qualified span, .studio-flow .sf-qualified small { color: var(--ink); }

/* ─── INFO BLOCKS ────────────────────────────────────────── */
.info-block { background: #fff; border: 1px solid var(--line); padding: 40px; margin-top: 48px; }
.info-block h3 { font-family: Georgia, serif; font-size: 26px; margin-bottom: 16px; }
.info-block p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 12px; }

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-email { color: var(--blue); font-weight: 700; font-size: 17px; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { background: var(--dark-bg); color: #fff; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; }
.footer-logo img { height: 105px; width: auto; }
.footer-grid p { color: #aaa; line-height: 1.6; margin-top: 12px; }
.division { font-size: 12px; }
.footer-grid h4 {
  color: var(--gold); text-transform: uppercase;
  letter-spacing: .12em; font-size: 12px; margin-bottom: 16px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; color: #bbb; font-size: 13px; }
.footer-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #2b2930; margin-top: 60px; padding-top: 25px;
  color: #888; font-size: 11px;
}
.foot-bottom a { color: #888; }
.foot-bottom a:hover { color: #fff; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .wrap { width: min(100% - 30px, 700px); }
  .nav { height: 68px; }
  .logo img { height: 44px; }
  .menu { display: block; }
  nav {
    display: none; flex-direction: column; align-items: flex-start;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 24px; position: absolute; top: 68px; left: 0; right: 0;
  }
  nav.open { display: flex; }
  .hero { min-height: auto; }
  .hero-grid, .section-head, .split, .demo-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 0; }
  .hero-copy { padding: 75px 0 40px; }
  .practice-card { margin-bottom: 70px; transform: none; }
  .section { padding: 75px 0; }
  .three, .tile-grid, .detail-grid { grid-template-columns: 1fr 1fr; }
  .section-head { gap: 20px; }
  .split { gap: 45px; display: grid; }
  .flow { flex-direction: column; }
  .flow i { text-align: center; padding: 8px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .governance-grid { grid-template-columns: 1fr; }
}
@media (max-width: 580px) {
  .nav { height: 64px; }
  .logo img { height: 40px; }
  nav { top: 64px; }
  .hero h1, .page-hero h1 { font-size: 48px; }
  .three, .tile-grid, .detail-grid, .footer-grid { grid-template-columns: 1fr; }
  .actions { flex-direction: column; }
  .button { justify-content: center; }
  .pipeline { flex-direction: column; }
  .pipeline i { text-align: center; }
  .page-hero { padding: 80px 0; }
  .foot-bottom { flex-direction: column; gap: 20px; }
  .demo-grid { gap: 45px; }
  .studio-flow { flex-direction: column; }
}
