/* ============================================
   CTCOM DRAFT — Direction 3 (Approachable)
   Shared stylesheet for all draft pages
   ============================================ */

:root {
  --navy: #0c4a6e;
  --navy-dark: #082f49;
  --sky: #0ea5e9;
  --sky-light: #e0f2fe;
  --cream: #fef3c7;
  --cream-dark: #fde68a;
  --amber: #f59e0b;
  --amber-dark: #b45309;
  --text: #1f2937;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #f1f5f9;
  --bg: #fff;
  --bg-soft: #f0f9ff;
  --bg-warm: #fef3c7;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* TOPBAR */
.topbar { background: var(--cream); padding: 10px 0; font-size: 13px; color: var(--amber-dark); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.topbar strong { font-weight: 700; }
.topbar a { font-weight: 600; }

/* NAV */
.nav { padding: 20px 0; background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--navy); }
.logo span { color: var(--sky); }
.nav-links { display: flex; gap: 30px; align-items: center; font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--sky); }
.nav-links a.active { color: var(--sky); font-weight: 600; }
.btn-primary { background: var(--sky); color: #fff; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; }
.btn-primary:hover { background: var(--navy); }

/* BUTTONS */
.btn-cta { background: var(--navy); color: #fff; padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.btn-cta:hover { background: var(--sky); }
.btn-ghost { padding: 16px 28px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--navy); border: 2px solid var(--navy); display: inline-flex; align-items: center; gap: 8px; }
.btn-white { background: #fff; color: var(--navy); padding: 16px 28px; border-radius: 999px; font-weight: 700; }
.btn-outline { color: #fff; border: 2px solid rgba(255,255,255,0.5); padding: 16px 28px; border-radius: 999px; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }

/* HEROES */
.hero { padding: 80px 0 100px; background: linear-gradient(135deg, var(--bg-soft) 0%, var(--cream) 100%); position: relative; overflow: hidden; }
.hero.hero-narrow { padding: 70px 0 70px; }
.hero .container { position: relative; }
.hero.hero-split .container { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.eyebrow { display: inline-block; background: #fff; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--sky); margin-bottom: 24px; }
.hero h1 { font-size: 56px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 22px; color: var(--navy); }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--sky), var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .sub { font-size: 19px; line-height: 1.6; color: var(--text-muted); margin: 0 0 32px; max-width: 580px; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* HERO VISUAL — quick-list card */
.hero-visual { background: #fff; border-radius: 24px; padding: 32px; box-shadow: 0 20px 60px rgba(12, 74, 110, 0.12); }
.hero-visual h4 { font-size: 13px; font-weight: 700; color: var(--text-light); letter-spacing: 0.05em; text-transform: uppercase; margin: 0 0 16px; }
.quick-list { display: grid; gap: 10px; }
.quick-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 12px; background: #f8fafc; transition: all 0.15s; }
.quick-item:hover { background: var(--bg-soft); transform: translateX(4px); }
.qicon { width: 36px; height: 36px; background: var(--sky); color: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700; }
.quick-item h5 { font-size: 15px; font-weight: 600; margin: 0 0 2px; color: var(--navy); }
.quick-item p { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.4; }

/* TRUST STRIP */
.trust-strip { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-strip .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 30px; }
.trust-strip .item { text-align: center; }
.trust-strip .num { font-size: 32px; font-weight: 700; color: var(--navy); letter-spacing: -0.02em; }
.trust-strip .label { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* SECTIONS */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-soft); }
.section.warm { background: var(--cream); }
.section.dark { background: var(--navy); color: #fff; }
.section.dark .section-head h2,
.section.dark p { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin: 0 0 56px; }
.section-head h2 { font-size: 42px; line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 14px; color: var(--navy); }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* SERVICE GRID */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-grid.two-col { grid-template-columns: repeat(2, 1fr); }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; transition: all 0.2s; cursor: pointer; display: block; }
.service-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(14, 165, 233, 0.12); }
.service-card .icon { width: 56px; height: 56px; background: var(--sky-light); color: var(--sky); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-card.featured { background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%); color: #fff; border-color: transparent; }
.service-card.featured .icon { background: rgba(255,255,255,0.2); color: #fff; }
.service-card.featured p { color: rgba(255,255,255,0.85); }
.service-card h3 { font-size: 21px; font-weight: 700; margin: 0 0 10px; letter-spacing: -0.01em; color: inherit; }
.service-card p { font-size: 15px; line-height: 1.55; color: var(--text-light); margin: 0 0 16px; }
.service-card .arrow { font-size: 14px; font-weight: 600; color: var(--sky); }
.service-card.featured .arrow { color: var(--cream); }
.pill-new { background: var(--cream); color: var(--amber-dark); padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; vertical-align: middle; margin-left: 8px; }
.service-card.featured .pill-new { background: rgba(255,255,255,0.2); color: #fff; }

/* INDUSTRIES */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ind-card { padding: 28px; border-radius: 16px; background: var(--bg-soft); }
.ind-card h4 { font-size: 18px; font-weight: 700; margin: 0 0 8px; color: var(--navy); }
.ind-card p { font-size: 14px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* PARTNERS */
.partners { padding: 60px 0; background: #f8fafc; }
.partners .label { text-align: center; font-size: 12px; font-weight: 700; color: var(--text-light); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 28px; }
.partner-row { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; align-items: center; }
.partner-row span { font-weight: 700; font-size: 17px; color: var(--text-muted); }

/* POTS BAND */
.pots-band { background: var(--cream); padding: 90px 0; }
.pots-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.pots-band .eyebrow { background: #fff; color: var(--amber-dark); }
.pots-band h2 { font-size: 44px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; margin: 0 0 18px; color: var(--amber-dark); }
.pots-band p { font-size: 18px; line-height: 1.6; color: var(--amber-dark); margin: 0 0 28px; }
.pots-band .btn-cta { background: var(--amber-dark); }
.pots-band .btn-cta:hover { background: var(--navy); }
.uses-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.use-card { background: #fff; padding: 18px; border-radius: 14px; }
.use-card strong { display: block; font-weight: 700; margin-bottom: 4px; color: var(--amber-dark); }
.use-card span { color: var(--amber-dark); font-size: 13px; opacity: 0.8; }

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; margin: 0 auto; }
.faq-item { background: var(--bg-soft); border-radius: 16px; overflow: hidden; }
.faq-item summary { padding: 22px 28px; cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 28px; font-weight: 300; line-height: 1; flex-shrink: 0; color: var(--sky); }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 28px 26px; font-size: 15px; line-height: 1.65; color: var(--text-muted); }
.faq-answer a { color: var(--sky); font-weight: 600; }
.faq-foot { text-align: center; margin-top: 40px; }
.faq-foot a { color: var(--sky); font-weight: 700; font-size: 15px; }
.faq-group-label { font-size: 13px; font-weight: 700; color: var(--text-light); letter-spacing: 0.12em; text-transform: uppercase; margin: 60px 0 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.faq-group-label:first-of-type { margin-top: 0; }

/* CTA BAND */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--sky) 100%); color: #fff; padding: 70px 0; }
.cta-band .container { text-align: center; }
.cta-band h2 { font-size: 40px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; color: #fff; }
.cta-band p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; color: #fff; }
.cta-band .ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 60px 0 32px; }
.footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; font-size: 14px; }
.footer a:hover { color: var(--sky); }
.footer .logo-foot { color: #fff; font-weight: 700; font-size: 22px; margin-bottom: 12px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* PAGE-SPECIFIC */
.page-hero { padding: 80px 0 60px; background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%); }
.page-hero h1 { font-size: 56px; line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; color: var(--navy); margin: 0 0 18px; max-width: 800px; }
.page-hero .lead { font-size: 20px; line-height: 1.6; color: var(--text-muted); max-width: 720px; margin: 0; }
.breadcrumb { font-size: 14px; color: var(--text-light); margin-bottom: 24px; }
.breadcrumb a { color: var(--sky); font-weight: 500; }

/* PROSE CONTENT */
.prose { max-width: 780px; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--text); }
.prose.wide { max-width: 1100px; }
.prose h2 { font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--navy); margin: 56px 0 18px; letter-spacing: -0.02em; }
.prose h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--navy); margin: 40px 0 12px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose a { color: var(--sky); font-weight: 600; }
.prose .callout { background: var(--bg-soft); border-left: 4px solid var(--sky); padding: 24px 28px; border-radius: 8px; margin: 28px 0; }
.prose .callout.warm { background: var(--cream); border-color: var(--amber); }
.prose .callout p:last-child { margin-bottom: 0; }

/* CONTACT GRID */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.contact-info h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin: 0 0 12px; }
.contact-info p { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0 0 24px; }
.contact-block { padding: 24px 28px; background: var(--bg-soft); border-radius: 16px; margin-bottom: 16px; }
.contact-block strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 4px; font-weight: 700; }
.contact-block a { color: var(--sky); font-weight: 600; font-size: 17px; }
.contact-block span { color: var(--text-muted); }
.contact-form { background: #fff; padding: 36px; border-radius: 20px; border: 1px solid var(--border); }
.contact-form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 15px; font-family: inherit; margin-bottom: 16px; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { outline: none; border-color: var(--sky); }
.contact-form button { width: 100%; padding: 14px; background: var(--navy); color: #fff; border: none; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; }
.contact-form button:hover { background: var(--sky); }

/* TEAM */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); }
.team-card .avatar { aspect-ratio: 1; background: linear-gradient(135deg, var(--bg-soft), var(--cream)); display: flex; align-items: center; justify-content: center; font-size: 56px; color: var(--navy); font-weight: 700; }
.team-card .info { padding: 20px 24px; }
.team-card h4 { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--navy); }
.team-card .role { font-size: 14px; color: var(--text-light); margin: 0; }

/* MOBILE NAV TOGGLE — hamburger button */
.nav-toggle { display: none; background: transparent; border: 0; padding: 10px; cursor: pointer; width: 44px; height: 44px; flex-direction: column; justify-content: space-between; align-items: center; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* DISMISSIBLE BANNER */
.site-banner { background: var(--cream); color: var(--amber-dark); padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--cream-dark); }
.site-banner .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-banner a { font-weight: 600; color: var(--amber-dark); border-bottom: 1px solid currentColor; }
.site-banner .banner-close { background: transparent; border: 0; padding: 6px 10px; cursor: pointer; color: var(--amber-dark); font-size: 18px; line-height: 1; opacity: 0.6; }
.site-banner .banner-close:hover { opacity: 1; }

/* SKIP LINK (accessibility) */
.skip-link { position: absolute; top: -40px; left: 0; background: var(--navy); color: #fff; padding: 8px 16px; z-index: 999; }
.skip-link:focus { top: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .topbar { font-size: 12px; padding: 8px 0; }
  .topbar .container { justify-content: center; gap: 6px; }
  .topbar .container > span:first-child { display: none; }
  .nav { padding: 12px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex; flex-direction: column;
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px); background: #fff;
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    padding: 80px 24px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
    align-items: stretch;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 8px; border-bottom: 1px solid var(--border); font-size: 17px; }
  .nav-links a.btn-primary { margin-top: 16px; text-align: center; border-bottom: 0; }
  .hero h1, .page-hero h1 { font-size: 36px; }
  .hero .sub, .page-hero .lead { font-size: 17px; }
  .section-head h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .service-grid, .ind-grid, .team-grid { grid-template-columns: 1fr; }
  .service-grid.two-col { grid-template-columns: 1fr; }
  .hero.hero-split .container, .pots-band .container, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .uses-grid { grid-template-columns: 1fr; }
  .footer .grid { grid-template-columns: 1fr 1fr; }
  .footer .grid > div:first-child { grid-column: 1 / -1; }
  .container { padding: 0 20px; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 48px 0 32px; }
  .pots-band { padding: 56px 0; }
  .pots-band h2 { font-size: 32px; }
  .cta-band { padding: 56px 0; }
  .cta-band h2 { font-size: 28px; }
  .hero-ctas, .ctas { width: 100%; }
  .hero-ctas .btn-cta, .hero-ctas .btn-ghost, .ctas .btn-white, .ctas .btn-outline { width: 100%; justify-content: center; }
  .prose { font-size: 16px; }
  .prose h2 { font-size: 24px; margin: 36px 0 12px; }
  .prose h3 { font-size: 19px; margin: 28px 0 10px; }
}

@media (max-width: 600px) {
  .footer .grid { grid-template-columns: 1fr; }
  .footer .grid > div:first-child { grid-column: auto; }
  .topbar .container { font-size: 11px; }
  .hero h1, .page-hero h1 { font-size: 30px; line-height: 1.15; }
  .section-head h2 { font-size: 24px; }
  .breadcrumb { font-size: 13px; }
}
