/* IndustryPOC — site styles
   Brand palette (brief §2, do not change):
   teal #26AA91 · slate #2F3C49 · steel #6298AA (buttons) · mint #CAE7E1
   accent #D74000 (active state only) · backgrounds #FAFAFA / #F7F7F7 */

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #26AA91;
  --slate: #2F3C49;
  --steel: #6298AA;
  --steel-dark: #4F8496;
  --mint: #CAE7E1;
  --mint-soft: #E9F5F2;
  --accent: #D74000;
  --bg: #FAFAFA;
  --bg-alt: #F7F7F7;
  --white: #FFFFFF;
  --text: #1F2933;
  --muted: #5B6773;
  --line: #E3E8EC;
  --radius: 10px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(47, 60, 73, .06), 0 6px 20px rgba(47, 60, 73, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--steel-dark); }
a:hover { color: var(--slate); }

h1, h2, h3 { color: var(--slate); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }
.section--white { background: var(--white); }
.section--mint { background: var(--mint-soft); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--slate); color: #fff; padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--steel); color: #fff; text-decoration: none; font-weight: 600;
  font-size: 1rem; padding: 14px 26px; border-radius: 6px; border: 0; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--steel-dark); color: #fff; }
.btn:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }
.btn--sm { padding: 10px 18px; font-size: .92rem; }
.btn--block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
/* Logo: the official 500x500 PNG is served unmodified; this window shows its artwork area
   (alpha bounds x37-454, y170-327) at 58px tall without editing the file. */
.brand { display: block; flex: 0 0 auto; width: 154px; height: 58px; overflow: hidden; text-decoration: none; }
.brand img { width: 185px; height: 185px; max-width: none; margin: -63px 0 0 -14px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { color: var(--slate); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { border-bottom-color: var(--mint); }
.nav a.is-active { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--slate); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Logo placeholder (shown only until the official PNG is added at /assets/img/ipoc-logo.png) */
.logo-slot {
  display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 14px;
  border: 1.5px dashed var(--teal); border-radius: 6px; color: var(--teal); font-size: .72rem;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 24px 20px; gap: 4px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* Hero */
.hero { padding: 80px 0 72px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--teal); }
.hero .lead { max-width: 600px; margin-bottom: 30px; }
.hero-note { font-size: .9rem; color: var(--muted); margin-top: 14px; }
.snapshot-card {
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.snapshot-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.snapshot-card .muted { font-size: .92rem; margin-bottom: 18px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); font-size: .97rem; }
.checklist li:first-child { border-top: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2326AA91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat;
}

/* Proof bar */
.proof { background: var(--slate); color: #fff; padding: 36px 0; }
.proof-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.proof-stats strong { display: block; font-size: 2rem; font-weight: 700; color: var(--mint); line-height: 1.1; }
.proof-stats span { font-size: .92rem; color: #D5DDE3; }
.proof-industries { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.proof-industries .label { width: 100%; text-align: center; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #AFC0CB; }
.chip { display: inline-block; font-size: .88rem; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(202, 231, 225, .45); color: #fff; }

/* Gap section */
.gap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.impact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.impact-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.impact-list h3 { margin-bottom: 4px; font-size: 1.02rem; }
.impact-list p { margin: 0; color: var(--muted); font-size: .96rem; }
.review-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.review-box ol { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.review-box ol li { counter-increment: step; position: relative; padding: 14px 0 14px 48px; border-top: 1px solid var(--line); }
.review-box ol li:first-child { border-top: 0; }
.review-box ol li::before {
  content: counter(step); position: absolute; left: 0; top: 14px; width: 32px; height: 32px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: .9rem; display: grid; place-items: center;
}
.review-box ol strong { display: block; color: var(--slate); }
.review-box ol span { color: var(--muted); font-size: .95rem; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.offer {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; display: flex; flex-direction: column;
}
.offer--entry { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.offer .badge {
  position: absolute; top: -12px; left: 24px; background: var(--teal); color: #fff; font-size: .74rem;
  font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.offer .step { font-size: .8rem; font-weight: 600; color: var(--steel-dark); letter-spacing: .04em; text-transform: uppercase; }
.offer h3 { margin: 6px 0 4px; font-size: 1.12rem; }
.offer .duration { font-size: .9rem; color: var(--teal); font-weight: 600; margin-bottom: 14px; }
.offer p { font-size: .95rem; color: var(--muted); }
.offer ul { margin: 0 0 18px; padding-left: 18px; font-size: .93rem; }
.offer ul li { margin-bottom: 6px; }
.offer .outcome { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--slate); }
.offer .outcome b { font-weight: 600; }
.offers-foot { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.offers-foot p { margin: 0; color: var(--muted); }

/* Journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.stage { padding: 28px 24px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.stage:first-child { border-left: 0; }
.stage .num { width: 36px; height: 36px; border-radius: 50%; background: var(--mint); color: var(--slate); font-weight: 700; display: grid; place-items: center; margin-bottom: 14px; }
.stage h3 { margin-bottom: 6px; }
.stage q { display: block; font-style: italic; color: var(--muted); font-size: .95rem; margin-bottom: 16px; quotes: "\201C" "\201D"; }
.stage .next { margin-top: auto; font-size: .9rem; padding-top: 12px; border-top: 1px dashed var(--line); }
.stage .next span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.stage .next a { font-weight: 600; text-decoration: none; }

/* Cases */
.cases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.case .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 4px; background: var(--mint-soft); color: var(--slate); }
.case h3 { font-size: 1.1rem; font-weight: 600; line-height: 1.4; }
.case dl { margin: 18px 0 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 14px; font-size: .94rem; }
.case dt { color: var(--muted); }
.case dd { margin: 0; color: var(--text); }
.nda-note { margin-top: 22px; font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* Categories */
.categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; }
.categories li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; font-weight: 500; color: var(--slate); display: flex; align-items: center; gap: 12px; }
.categories li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* Founder */
.founder { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; }
.founder-pic img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.founder-photo {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--mint-soft); border: 1.5px dashed var(--teal);
  display: grid; place-items: center; text-align: center; color: var(--teal); font-size: .8rem; font-weight: 600; padding: 16px;
}
.founder h2 { margin-bottom: 2px; }
.founder .role { color: var(--teal); font-weight: 600; margin-bottom: 18px; }
.founder ul { padding-left: 18px; margin: 0 0 1em; }
.founder ul li { margin-bottom: 6px; }

/* Not / FAQ */
.not-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.not-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.not-item h3 { font-size: 1.02rem; display: flex; gap: 10px; align-items: baseline; }
.not-item h3::before { content: "\2715"; color: var(--accent); font-size: .85rem; }
.not-item p { margin: 0; font-size: .95rem; color: var(--muted); }
.faq { max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; font-weight: 600; color: var(--slate); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--teal); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 22px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* Booking */
.book-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: start; }
.calendar-slot { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); min-height: 640px; overflow: hidden; }
.calendar-slot iframe { width: 100%; height: 700px; border: 0; display: block; }
.calendar-pending { min-height: 640px; display: grid; place-items: center; text-align: center; padding: 32px; border: 1.5px dashed var(--teal); border-radius: var(--radius); color: var(--slate); background: #fff; }
.calendar-pending p { max-width: 380px; color: var(--muted); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.form-card h3 { margin-bottom: 4px; }
.form-card .muted { font-size: .92rem; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--slate); margin-bottom: 5px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; padding: 11px 12px; border: 1px solid #CCD5DB; border-radius: 6px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--mint); border-color: var(--teal); }
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.form-status { font-size: .92rem; margin-top: 12px; }
.form-status.ok { color: #18785F; }
.form-status.err { color: var(--accent); }
.form-legal { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.contact-lines { margin-top: 22px; display: grid; gap: 8px; font-size: .95rem; }
.contact-lines a { text-decoration: none; font-weight: 600; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--line); padding: 44px 0 30px; font-size: .92rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.footer-grid nav a { color: var(--slate); text-decoration: none; }
.footer-legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.footer-legal a { color: var(--muted); }

/* Simple page (privacy, 404) */
.page { padding: 72px 0 96px; }
.page .container { max-width: 820px; }

/* Responsive */
@media (max-width: 1040px) {
  .offers { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .journey { grid-template-columns: repeat(2, 1fr); }
  .stage:nth-child(3) { border-left: 0; }
  .stage:nth-child(n+3) { border-top: 1px solid var(--line); }
  .categories { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .hero-grid, .gap-grid, .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .cases { grid-template-columns: 1fr; }
  .not-grid { grid-template-columns: 1fr; }
  .founder { grid-template-columns: 1fr; gap: 28px; }
  .founder-pic { max-width: 240px; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  
}
@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .proof-stats { grid-template-columns: 1fr; gap: 16px; }
  .offers, .journey { grid-template-columns: 1fr; }
  .stage { border-left: 0; border-top: 1px solid var(--line); }
  .stage:first-child { border-top: 0; }
  .categories { grid-template-columns: 1fr; }
  .case dl { grid-template-columns: 1fr; gap: 2px; }
  .case dd { margin-bottom: 8px; }
  .btn { width: 100%; }
  .header-inner .btn { width: auto; }
  .brand { width: 117px; height: 44px; }
  .brand img { width: 140px; height: 140px; margin: -48px 0 0 -10px; }
  .logo-slot { height: 44px; }
}

/* Booking card (Microsoft Bookings opens in a new tab; it cannot be embedded) */
.booking-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.booking-card h3 { font-size: 1.3rem; margin-bottom: 4px; }
.booking-steps { list-style: none; margin: 20px 0 26px; padding: 0; counter-reset: b; }
.booking-steps li { counter-increment: b; position: relative; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); }
.booking-steps li:first-child { border-top: 0; }
.booking-steps li::before { content: counter(b); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); color: var(--slate); font-weight: 700; font-size: .88rem; display: grid; place-items: center; }
.booking-steps strong { display: block; color: var(--slate); }
.booking-steps span { color: var(--muted); font-size: .94rem; }

/* ---------- Milestone 2: sector pages, one-pager ---------- */
.nav a.is-current { border-bottom-color: var(--accent); }
.hero--sector { padding-top: 64px; }
.impact-list--row { grid-template-columns: repeat(3, 1fr); margin-top: 0; }
.sector-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sector-cat { background: var(--bg); border: 1px solid var(--line); border-left: 3px solid var(--teal); border-radius: 8px; padding: 18px 18px 16px; }
.sector-cat h3 { font-size: 1rem; margin-bottom: 6px; }
.sector-cat p { margin: 0; font-size: .92rem; color: var(--muted); }
.ladder-mini { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ladder-mini > div { padding: 20px 22px; border-left: 1px solid var(--line); }
.ladder-mini > div:first-child { border-left: 0; background: var(--mint-soft); }
.ladder-mini .step { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--teal); }
.ladder-mini strong { color: var(--slate); }
.ladder-link { margin-top: 18px; }
.ladder-link a { font-weight: 600; text-decoration: none; }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner > div:first-child { max-width: 640px; }
.cta-inner .lead { margin: 0; }
.cta-actions { display: grid; gap: 10px; justify-items: start; }
.cta-actions .muted { font-size: .9rem; margin: 0; }
.onepager-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.onepager .lead { margin: 0; }
.cases--single { grid-template-columns: 1fr; max-width: 760px; }
.industry-chip { text-decoration: none; }
a.chip:hover { background: rgba(202, 231, 225, .15); color: #fff; }
@media (max-width: 1040px) {
  .sector-cats { grid-template-columns: repeat(2, 1fr); }
  .ladder-mini { grid-template-columns: repeat(2, 1fr); }
  .ladder-mini > div:nth-child(3) { border-left: 0; }
  .ladder-mini > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .impact-list--row { grid-template-columns: 1fr; }
  .onepager-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .sector-cats, .ladder-mini { grid-template-columns: 1fr; }
  .ladder-mini > div { border-left: 0; border-top: 1px solid var(--line); }
  .ladder-mini > div:first-child { border-top: 0; }
}

/* ---------- Article (migrated blog post) ---------- */
.article .container { max-width: 760px; }
.article h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-top: 8px; }
.article h2 { font-size: 1.5rem; margin-top: 2em; }
.article h3 { margin-top: 1.4em; }
.article ul { padding-left: 20px; }
.article li { margin-bottom: 8px; }
.article-meta { font-size: .85rem; color: var(--muted); margin-bottom: 0; }
.article-meta a { color: var(--teal); text-decoration: none; font-weight: 600; }
.article-byline { font-size: .9rem; color: var(--muted); margin-bottom: 28px; }
.article-cta { margin-top: 48px; background: var(--mint-soft); border: 1px solid var(--mint); border-radius: var(--radius); padding: 28px; }
.article-cta h2 { margin-top: 0; font-size: 1.3rem; }
