:root {
  --ink: #0b0d11;
  --carbon: #11151d;
  --paper: #f5f3ee;
  --white: #ffffff;
  --red: #d71920;
  --red-dark: #a80f15;
  --blue: #6ba4ff;
  --green: #8bd3a7;
  --muted: #5f6570;
  --line: #d5d1c8;
  --soft: #e9e6df;
  --max: 1220px;
  --display: Georgia, Cambria, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffb0b3; outline-offset: 3px; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 86px;
  padding: 12px max(24px, calc((100vw - var(--max)) / 2));
  color: #fff;
  border-bottom: 3px solid var(--red);
  background: rgba(11, 13, 17, 0.97);
}
.brand { display: inline-flex; padding: 7px 10px; background: #fff; }
.brand img { width: clamp(170px, 20vw, 224px); height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: #d9dce3; font-size: .95rem; font-weight: 700; text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-toggle { display: none; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 0;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { color: #fff; background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.dark { color: #fff; background: var(--ink); }
.button.light { color: var(--ink); border-color: var(--ink); background: transparent; }
.button.ghost { color: #fff; border-color: rgba(255,255,255,.48); background: transparent; }
.button:disabled { cursor: not-allowed; opacity: .46; transform: none; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 3px; content: ""; background: currentColor; }
.hero {
  min-height: calc(100vh - 86px);
  padding: clamp(54px, 7vw, 104px) max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.hero h1, .page-hero h1 {
  margin: 0 0 26px;
  font-family: var(--display);
  line-height: .9;
  letter-spacing: -.055em;
}
.hero h1 {
  font-size: clamp(2.5rem, 3.4vw, 3.85rem);
  line-height: .96;
  letter-spacing: -.04em;
}
.hero h1 em { display: block; margin-top: .08em; }
.page-hero h1 { font-size: clamp(3.6rem, 6.4vw, 7rem); }
.hero h1 em, .page-hero h1 em { color: var(--red); font-style: normal; }
.hero-lede { max-width: 680px; margin: 0 0 30px; color: #3e444e; font-size: clamp(1.08rem, 1.6vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { max-width: 610px; margin: 22px 0 0; color: var(--muted); font-size: .94rem; }

.modeler {
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid #252b35;
  background: var(--carbon);
  box-shadow: 20px 20px 0 var(--red);
}
.modeler-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.modeler-title { margin: 0 0 4px; font-family: var(--display); font-size: 1.55rem; }
.scenario-label { color: #aeb5c1; font-size: .82rem; }
.demo-chip { padding: 5px 8px; color: #fff; border: 1px solid rgba(255,255,255,.28); font-size: .72rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.strategy-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 18px 26px 0; }
.strategy-tab {
  min-height: 45px;
  color: #c9ced7;
  border: 0;
  border-bottom: 2px solid #3b424e;
  background: transparent;
  font-weight: 850;
  cursor: pointer;
}
.strategy-tab[aria-selected="true"] { color: #fff; border-color: var(--red); }
.chart-wrap { padding: 14px 20px 4px; }
.chart-svg { width: 100%; height: auto; overflow: visible; }
.grid-line { stroke: #343b47; stroke-width: 1; }
.axis-label { fill: #929aa8; font: 11px var(--sans); }
.curve { fill: none; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; transition: d .45s ease, stroke .2s ease; }
.curve.status { stroke: var(--blue); }
.curve.saas { stroke: var(--green); }
.chart-dot { transition: cx .45s ease, cy .45s ease; }
.chart-dot.status { fill: var(--blue); }
.chart-dot.saas { fill: var(--green); }
.chart-legend { display: flex; gap: 18px; padding: 0 26px 18px; color: #cfd3dc; font-size: .82rem; }
.legend-key { display: inline-flex; align-items: center; gap: 7px; }
.legend-key::before { width: 18px; height: 3px; content: ""; background: var(--blue); }
.legend-key.saas::before { background: var(--green); }
.modeler-takeaway { min-height: 98px; margin: 0; padding: 18px 26px 24px; color: #dce0e6; border-top: 1px solid rgba(255,255,255,.15); }
.modeler-takeaway strong { color: #fff; }

.section { padding: clamp(74px, 9vw, 126px) max(24px, calc((100vw - var(--max)) / 2)); }
.section.dark { color: #fff; background: var(--ink); }
.section.red { color: #fff; background: var(--red); }
.section.white { background: #fff; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .52fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 44px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.dark .section-head { border-bottom-color: rgba(255,255,255,.22); }
.section-head h2, .statement h2, .case-copy h2, .product-story h2, .contact-pitch h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.section-head p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.dark .section-head p { color: #aeb5c1; }

.problem-nav { display: grid; grid-template-columns: 240px minmax(0, 1fr); border-top: 1px solid var(--line); }
.problem-intro { padding: 28px 28px 28px 0; }
.problem-intro p { margin: 0; color: var(--muted); }
.problem-list { border-left: 1px solid var(--line); }
.problem-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .65fr);
  gap: 30px;
  align-items: center;
  padding: 28px 0 28px 34px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.problem-link:hover { background: rgba(215,25,32,.04); }
.problem-link strong { font-family: var(--display); font-size: clamp(1.55rem, 2.5vw, 2.2rem); line-height: 1.04; }
.problem-link span { color: var(--muted); }
.problem-more { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.photo-band {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11,13,17,.92) 0 38%, rgba(11,13,17,.15) 72%),
    url("campus-students.webp") center/cover;
}
.photo-band-inner { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 92px 0; }
.statement { max-width: 630px; padding: 38px; border-left: 8px solid var(--red); background: rgba(11,13,17,.86); }
.statement p { max-width: 520px; margin: 22px 0 0; color: #d6dae1; font-size: 1.08rem; }

.case-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(380px, 1.2fr); gap: clamp(42px, 7vw, 88px); align-items: start; }
.case-copy p { color: #c4c9d1; font-size: 1.08rem; }
.case-facts { border-top: 1px solid rgba(255,255,255,.22); }
.case-row { display: grid; grid-template-columns: 125px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.case-row b { color: var(--red); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.case-row p { margin: 0; color: #d1d5dc; }
.evidence-line { margin: 30px 0 0; padding: 22px 0 0; border-top: 4px solid var(--red); font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.14; }

.products { display: grid; grid-template-columns: 1.25fr .75fr; }
.product-story { min-height: 540px; padding: clamp(38px, 6vw, 72px); }
.product-story.tco { color: var(--ink); background: #fff; }
.product-story.presence { color: #fff; background: var(--red); }
.product-story p { max-width: 650px; font-size: 1.07rem; }
.product-story.tco p { color: var(--muted); }
.product-story.presence p { color: #fff2f2; }
.mini-interface { margin: 34px 0; padding: 24px; border: 1px solid var(--line); background: var(--paper); }
.mini-bars { display: grid; gap: 12px; }
.mini-bar { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; color: var(--muted); font-size: .82rem; }
.mini-bar i { display: block; height: 9px; background: var(--ink); }
.mini-bar:nth-child(2) i { width: 76%; background: var(--red); }
.mini-bar:nth-child(3) i { width: 58%; background: #67768f; }
.presence-demo { margin: 34px 0; padding: 24px; color: var(--ink); background: #fff; }
.presence-step { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.presence-step:last-child { border-bottom: 0; }
.presence-step b { color: var(--red); }

.booking-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(430px, 1fr); gap: clamp(42px, 7vw, 86px); align-items: start; }
.contact-pitch { position: sticky; top: 116px; }
.contact-pitch p { color: var(--muted); font-size: 1.08rem; }
.contact-pitch a:not(.button) { font-weight: 800; text-underline-offset: 4px; }
.booking-panel { border: 1px solid var(--line); background: #fff; }
.booking-panel-header { display: flex; justify-content: space-between; gap: 20px; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.booking-panel-header h3 { margin: 0; font-family: var(--display); font-size: 1.55rem; }
.booking-controls { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-size: .9rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 12px; color: var(--ink); border: 1px solid #bbb8b0; border-radius: 0; background: #fff; }
.field textarea { min-height: 130px; resize: vertical; }
.required { color: var(--red); }
.calendar { padding: 0 22px 20px; }
.calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.calendar-head strong { font-family: var(--display); font-size: 1.2rem; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.weekday, .day { min-height: 42px; }
.weekday { display: grid; place-items: center; color: var(--muted); font-size: .75rem; font-weight: 850; }
.day { color: var(--ink); border: 1px solid var(--line); background: #fff; cursor: pointer; }
.day:disabled { color: #aaa; background: #f0eee9; cursor: not-allowed; }
.day[aria-pressed="true"] { color: #fff; border-color: var(--red); background: var(--red); }
.time-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 22px 22px; }
.time-slot { min-height: 42px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.time-slot[aria-pressed="true"] { color: #fff; border-color: var(--ink); background: var(--ink); }
.booking-summary { display: grid; gap: 12px; padding: 22px; border-top: 1px solid var(--line); background: var(--paper); }
.selected-time { padding: 14px; border-left: 4px solid var(--red); background: #fff; font-weight: 800; }
.booking-note { margin: 0; color: var(--muted); font-size: .9rem; }

.page-hero { padding: clamp(70px, 10vw, 140px) max(24px, calc((100vw - var(--max)) / 2)); }
.page-hero.dark { color: #fff; background: var(--ink); }
.page-hero-grid { display: grid; grid-template-columns: 180px minmax(0, 1.25fr) minmax(300px, .55fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.page-hero h1 { font-size: clamp(3.4rem, 6vw, 6.6rem); }
.page-hero p { margin: 0; color: #c7ccd4; font-size: 1.1rem; }
.page-hero:not(.dark) p { color: var(--muted); }
.service-detail { display: grid; grid-template-columns: 180px minmax(260px, .8fr) minmax(340px, 1fr); gap: 36px; padding: 38px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.service-detail:last-child { border-bottom: 1px solid var(--line); }
.service-tag { color: var(--red); font-size: .82rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.service-detail h2 { margin: 0; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.9rem); line-height: 1; }
.service-detail p { margin-top: 0; color: var(--muted); }
.service-detail ul { margin: 18px 0 0; padding-left: 20px; color: var(--muted); }
.service-detail li + li { margin-top: 8px; }

.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr); gap: clamp(48px, 8vw, 100px); align-items: start; }
.about-intro { font-family: var(--display); font-size: clamp(2rem, 4vw, 4rem); line-height: 1.05; letter-spacing: -.03em; }
.about-copy p { color: var(--muted); font-size: 1.08rem; }
.timeline { margin-top: 40px; border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 170px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.timeline-row strong { color: var(--red); }
.timeline-row p { margin: 0; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.25); }
.principle { min-height: 250px; padding: 30px; background: var(--ink); }
.principle h3 { margin: 0 0 14px; font-family: var(--display); font-size: 1.75rem; }
.principle p { color: #bfc5ce; }

.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-option { padding: clamp(32px, 5vw, 58px); background: #fff; }
.contact-option h2 { margin: 0 0 16px; font-family: var(--display); font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1; }
.contact-option p { color: var(--muted); }
.contact-form { display: grid; gap: 16px; margin-top: 26px; }

.footer { padding: 38px max(24px, calc((100vw - var(--max)) / 2)); color: #aeb5c0; background: #080a0e; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.footer-logo { width: 210px; padding: 8px 10px; background: #fff; }
.footer p { max-width: 680px; margin: 16px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-meta { display: flex; justify-content: space-between; gap: 20px; margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }

@media (max-width: 1020px) {
  .hero-grid, .section-head, .case-layout, .booking-layout, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .modeler { max-width: 760px; }
  .products { grid-template-columns: 1fr; }
  .product-story { min-height: auto; }
  .page-hero-grid { grid-template-columns: 140px 1fr; }
  .page-hero-grid > p { grid-column: 2; }
  .service-detail { grid-template-columns: 120px .75fr 1fr; }
  .contact-pitch { position: static; }
}

@media (max-width: 760px) {
  .site-nav { align-items: flex-start; min-height: 76px; padding: 11px 18px; }
  .brand img { width: 175px; }
  .nav-toggle { display: inline-flex; min-height: 46px; padding: 0 14px; color: #fff; border: 1px solid rgba(255,255,255,.4); background: transparent; font-weight: 800; }
  .nav-links { position: absolute; top: 76px; right: 0; left: 0; display: none; align-items: stretch; padding: 18px; border-bottom: 3px solid var(--red); background: var(--ink); flex-direction: column; }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  .hero { padding-top: 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { font-size: clamp(2.15rem, 8.8vw, 2.8rem); }
  .page-hero h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .hero-actions .button { width: 100%; }
  .modeler { box-shadow: 10px 10px 0 var(--red); }
  .modeler-head { padding: 20px 18px 16px; }
  .strategy-tabs { padding: 14px 18px 0; }
  .chart-wrap { padding: 12px 8px 2px; }
  .chart-legend, .modeler-takeaway { padding-right: 18px; padding-left: 18px; }
  .section-head h2, .statement h2, .case-copy h2, .product-story h2, .contact-pitch h2 { font-size: clamp(2.4rem, 12vw, 3.7rem); }
  .problem-nav, .problem-link { grid-template-columns: 1fr; }
  .problem-intro { padding-right: 0; }
  .problem-list { border-left: 0; }
  .problem-link { gap: 10px; padding-left: 0; }
  .photo-band { min-height: 560px; background-position: 64% center; }
  .photo-band-inner { width: calc(100% - 32px); padding: 60px 0; }
  .statement { padding: 28px 24px; }
  .case-row { grid-template-columns: 1fr; gap: 8px; }
  .booking-controls { grid-template-columns: 1fr; }
  .time-slots { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid, .service-detail, .timeline-row { grid-template-columns: 1fr; }
  .page-hero-grid > p { grid-column: auto; }
  .principles, .contact-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-meta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
