:root {
  --paper: #f3f1ec;
  --white: #ffffff;
  --ink: #171918;
  --muted: #646762;
  --line: #d8d5ce;
  --accent: #ef4b23;
  --dark: #111715;
  --dark-2: #1a211f;
  --warm: #e7e1d8;
  --green: #29463c;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243,241,236,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23,25,24,.12);
}
.nav {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; width: 196px; }
.brand img { width: 100%; height: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.nav-links a { padding: 28px 0 26px; border-bottom: 2px solid transparent; }
.nav-links a:hover, .nav-links a.active { border-color: var(--accent); }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.nav-contact { font-size: 14px; font-weight: 700; }
.nav-cta { background: var(--ink); color: #fff; padding: 13px 18px; font-size: 14px; font-weight: 700; border: 1px solid var(--ink); }
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.menu-toggle { display: none; border: 0; background: transparent; width: 40px; height: 40px; cursor: pointer; justify-self: end; }
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after { content: ""; display: block; height: 2px; background: var(--ink); width: 22px; margin: auto; position: relative; }
.menu-toggle span:before { position: absolute; top: -7px; }
.menu-toggle span:after { position: absolute; top: 7px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
}
.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--muted);
}

.hero { padding: 86px 0 30px; }
.hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, .62fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
}
.hero h1 {
  font-size: clamp(54px, 7.5vw, 108px);
  line-height: .93;
  letter-spacing: -.065em;
  max-width: 980px;
  margin: 18px 0 0;
  font-weight: 700;
}
.hero h1 span { color: var(--accent); }
.hero-side { padding-bottom: 8px; }
.hero-side p { font-size: 20px; line-height: 1.52; margin: 0 0 28px; max-width: 480px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 19px; font-size: 14px; font-weight: 800; border: 1px solid var(--ink); transition: .18s ease; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); }
.btn-ghost { background: transparent; }
.btn-ghost:hover { background: var(--white); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.hero-image {
  min-height: 610px;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}
.hero-image img { width: 100%; height: 610px; object-fit: cover; object-position: center 61%; filter: saturate(.92) contrast(1.03); }
.hero-image:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,13,.44) 0%, rgba(10,14,13,.06) 45%, rgba(10,14,13,0) 72%); }
.photo-caption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  background: rgba(17,23,21,.92);
  color: #fff;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .03em;
}
.photo-caption b { display: block; font-size: 13px; margin-bottom: 2px; }

.intro-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 32px; }
.intro-strip-inner { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); }
.intro-cell { min-height: 122px; padding: 26px 24px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; }
.intro-cell:last-child { border-right: 0; }
.intro-cell:first-child { padding-left: 0; }
.intro-cell h2 { margin: 0; font-size: 22px; letter-spacing: -.02em; }
.intro-cell strong { font-size: 15px; }
.intro-cell span { color: var(--muted); font-size: 13px; line-height: 1.5; }

.section { padding: 112px 0; }
.section-white { background: var(--white); }
.section-dark { background: var(--dark); color: #fff; }
.section-warm { background: var(--warm); }
.section-head { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; margin-bottom: 58px; }
.section-head h2 { margin: 0; font-size: clamp(38px, 4.8vw, 68px); line-height: 1; letter-spacing: -.05em; max-width: 880px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 760px; margin: 20px 0 0; }
.section-dark .section-head p { color: #aeb6b1; }

.capability-list { border-top: 1px solid var(--line); }
.capability-row { display: grid; grid-template-columns: 110px minmax(220px,.8fr) 1.5fr 30px; gap: 28px; align-items: center; min-height: 144px; border-bottom: 1px solid var(--line); }
.capability-row .num { font-size: 12px; color: var(--muted); font-weight: 700; }
.capability-row h3 { margin: 0; font-size: 27px; letter-spacing: -.035em; }
.capability-row p { color: var(--muted); line-height: 1.6; max-width: 650px; margin: 0; }
.capability-row .arrow { font-size: 24px; }

.product-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 18px; }
.product-panel { position: relative; min-height: 660px; padding: 42px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.product-panel.primary { background: var(--dark-2); color: #fff; }
.product-panel.secondary { background: #e7ebe8; color: var(--ink); border-color: #cfd5d1; }
.product-panel .eyebrow { margin-bottom: 26px; }
.product-panel h3 { font-size: clamp(38px, 4.4vw, 62px); line-height: 1; letter-spacing: -.05em; margin: 0 0 22px; max-width: 560px; }
.product-panel > p { color: #bac2bd; line-height: 1.65; max-width: 610px; font-size: 17px; }
.product-panel.secondary > p { color: #59615d; }
.product-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 42px; border-top: 1px solid rgba(255,255,255,.16); }
.secondary .product-points { border-color: #c3cbc6; }
.product-point { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: 14px; padding-right: 24px; }
.product-point:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.16); }
.product-point:nth-child(even) { padding-left: 24px; }
.secondary .product-point { border-color: #c3cbc6; }

.compliance-ui { margin-top: 38px; background: #0c1110; border: 1px solid #323a36; }
.compliance-ui-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #2b322f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #929b96; }
.compliance-ui-body { display: grid; grid-template-columns: .8fr 1.2fr; }
.ui-stat { padding: 24px 20px; border-right: 1px solid #2b322f; }
.ui-stat strong { display: block; font-size: 48px; letter-spacing: -.05em; }
.ui-stat span { font-size: 12px; color: #9ca49f; }
.ui-lines { padding: 18px; }
.ui-line { display: grid; grid-template-columns: 1fr auto; gap: 20px; border-bottom: 1px solid #28302c; padding: 13px 0; font-size: 13px; }
.ui-line:last-child { border-bottom: 0; }
.ui-line b { font-weight: 700; }
.ui-line span { color: #8ca899; }
.ui-line span.warn { color: #e8a46d; }

.form-demo { margin-top: 42px; background: #fff; border: 1px solid #bcc5bf; padding: 22px; box-shadow: 0 18px 48px rgba(22,30,26,.08); }
.form-demo-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid #dce1de; }
.form-demo-head b { font-size: 15px; }
.form-badge { font-size: 11px; background: #e4eee8; color: #2b624a; padding: 7px 9px; font-weight: 800; }
.check-row { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid #e4e7e5; font-size: 13px; }
.check-row:last-child { border-bottom: 0; }
.check { width: 20px; height: 20px; border: 1px solid #799080; display: grid; place-items: center; font-size: 12px; color: #2a6b4c; }
.check-row span:last-child { color: #67706b; font-size: 12px; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.work-card { background: #fff; border: 1px solid var(--line); min-height: 610px; display: flex; flex-direction: column; }
.work-card-media { height: 360px; overflow: hidden; background: #ddd; position: relative; }
.work-card-media img { width: 100%; height: 100%; object-fit: cover; }
.work-card-media.duo { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2px; background: #fff; }
.work-card-media.duo img { height: 360px; }
.work-card-copy { padding: 30px; display: grid; grid-template-columns: 1fr auto; gap: 22px; align-items: end; flex: 1; }
.work-card h3 { font-size: 32px; letter-spacing: -.04em; margin: 8px 0 10px; }
.work-card p { color: var(--muted); line-height: 1.55; margin: 0; max-width: 540px; }
.text-link { font-size: 13px; font-weight: 800; white-space: nowrap; }
.text-link:hover { color: var(--accent); }

.academy-showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; }
.academy-copy { background: var(--dark); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; min-height: 640px; }
.academy-copy img.logo { width: 220px; margin-bottom: 34px; }
.academy-copy h3 { font-size: clamp(42px,4.5vw,64px); letter-spacing: -.05em; line-height: .98; margin: 0 0 22px; }
.academy-copy p { color: #b7c0bb; line-height: 1.65; max-width: 560px; }
.academy-copy .meta { border-top: 1px solid #36403c; padding-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 12px; color: #9ba6a0; }
.academy-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; min-height: 640px; }
.academy-media img { width: 100%; height: 100%; object-fit: cover; }
.academy-media img:first-child { grid-row: 1 / span 2; }

.edunation { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.edunation-identity { background: #0d2e4a; color: #fff; min-height: 570px; padding: 46px; display: flex; flex-direction: column; justify-content: space-between; }
.edunation-word { font-size: clamp(52px, 7vw, 92px); letter-spacing: -.07em; font-weight: 800; }
.edunation-word small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin-top: 12px; color: #b9d4e6; }
.edunation-identity p { max-width: 480px; color: #c7d7e1; line-height: 1.6; }
.rebrand-panel { min-height: 570px; background: #fff; border: 1px solid var(--line); padding: 46px; display: flex; flex-direction: column; justify-content: space-between; }
.rebrand-panel h3 { font-size: clamp(38px,4.5vw,62px); line-height: 1; letter-spacing: -.05em; margin: 16px 0 20px; }
.rebrand-panel p { color: var(--muted); line-height: 1.65; max-width: 620px; }
.status-list { margin-top: 28px; border-top: 1px solid var(--line); }
.status-row { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.status-row b { color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: 11px; }

.featured-project { background: #101314; color: #fff; padding: 26px; }
.featured-browser { background: #f9f9f7; color: var(--ink); border: 1px solid #333b38; }
.browser-top { height: 44px; background: #e9eae8; border-bottom: 1px solid #cfd2d0; display: flex; align-items: center; gap: 12px; padding: 0 14px; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 8px; height: 8px; border-radius: 50%; background: #a8adaa; }
.browser-url { flex: 1; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid #d3d6d4; height: 26px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #69706c; }
.neals-preview { min-height: 540px; position: relative; overflow: hidden; background: #111; }
.neals-preview > img.hero { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .69; }
.neals-preview:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(10,12,12,.86),rgba(10,12,12,.36) 60%,rgba(10,12,12,.08)); }
.neals-site-head { position: relative; z-index: 2; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px; border-bottom: 1px solid rgba(255,255,255,.2); color: #fff; }
.neals-site-head img { width: 150px; height: 50px; object-fit: contain; background: #fff; padding: 4px 8px; }
.neals-site-nav { display: flex; gap: 22px; font-size: 11px; font-weight: 700; }
.neals-copy { position: relative; z-index: 2; color: #fff; padding: 72px 48px 58px; max-width: 720px; }
.neals-copy .location { color: #ff8b8b; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.neals-copy h3 { font-size: clamp(44px,5.5vw,76px); line-height: .98; letter-spacing: -.055em; margin: 12px 0 18px; }
.neals-copy p { font-size: 17px; line-height: 1.55; color: #e5e7e6; max-width: 630px; }
.neals-chip-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.neals-chip { border: 1px solid rgba(255,255,255,.4); padding: 9px 11px; font-size: 11px; font-weight: 700; }
.project-caption { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; padding: 30px 6px 8px; align-items: end; }
.project-caption h3 { font-size: 32px; margin: 5px 0 8px; letter-spacing: -.035em; }
.project-caption p { color: #b4bdb8; line-height: 1.55; margin: 0; }
.project-caption .right { justify-self: end; text-align: right; }

.principles { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.principle { min-height: 260px; padding: 26px 22px 0 0; border-right: 1px solid var(--line); }
.principle + .principle { padding-left: 22px; }
.principle:last-child { border-right: 0; }
.principle b { font-size: 12px; color: var(--accent); }
.principle h3 { font-size: 25px; letter-spacing: -.035em; margin: 54px 0 12px; }
.principle p { color: var(--muted); line-height: 1.55; font-size: 14px; }

.cta { background: var(--accent); color: #fff; padding: 74px 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 36px; align-items: end; }
.cta h2 { font-size: clamp(44px,6vw,82px); line-height: .96; letter-spacing: -.06em; margin: 0; max-width: 840px; }
.cta p { margin: 18px 0 0; max-width: 670px; line-height: 1.6; }

.footer { background: #0c100f; color: #fff; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.2fr repeat(3,.55fr); gap: 54px; padding-bottom: 58px; }
.footer-brand { width: 190px; margin-bottom: 22px; filter: brightness(0) invert(1); }
.footer-copy { color: #9ba49f; line-height: 1.6; max-width: 440px; font-size: 14px; }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .13em; color: #808b85; margin: 0 0 17px; }
.footer a { display: block; font-size: 14px; margin: 11px 0; color: #e9ecea; }
.footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid #29302d; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; color: #7d8882; font-size: 12px; }

.page-hero { padding: 94px 0 78px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 240px 1fr; gap: 40px; }
.page-hero h1 { font-size: clamp(58px,8vw,112px); line-height: .92; letter-spacing: -.07em; margin: 0; max-width: 1000px; }
.page-hero p { font-size: 19px; line-height: 1.6; max-width: 730px; color: var(--muted); margin: 30px 0 0; }
.page-section { padding: 84px 0; }
.page-grid { display: grid; grid-template-columns: 280px 1fr; gap: 62px; }
.page-grid h2 { margin: 0; font-size: 28px; letter-spacing: -.035em; }
.page-grid .body { max-width: 820px; }
.page-grid .body h3 { font-size: 42px; line-height: 1.05; letter-spacing: -.045em; margin: 0 0 18px; }
.page-grid .body p { color: var(--muted); line-height: 1.7; font-size: 16px; }
.detail-list { border-top: 1px solid var(--line); margin-top: 30px; }
.detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.detail-row b { font-weight: 800; }
.detail-row span { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.contact-meta { border-top: 1px solid var(--line); margin-top: 28px; }
.contact-meta div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-meta b { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 7px; }
.form { background: #fff; border: 1px solid var(--line); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; font-weight: 800; margin-bottom: 8px; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid #cfcfc9; background: #fff; padding: 13px 14px; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); }
.field textarea { min-height: 160px; resize: vertical; }
.form-note { color: var(--muted); font-size: 11px; line-height: 1.5; margin-top: 13px; }

@media (max-width: 1000px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  .site-header.open .nav { align-items: start; padding: 18px 0; }
  .site-header.open .nav-links { display: flex; grid-column: 1/-1; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  .site-header.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-header.open .nav-actions { display: flex; grid-column: 1/-1; justify-self: stretch; justify-content: space-between; padding-top: 8px; }
  .hero-top, .section-head, .academy-showcase, .edunation, .contact-grid { grid-template-columns: 1fr; }
  .hero-top { gap: 34px; }
  .hero-image, .hero-image img { min-height: 520px; height: 520px; }
  .intro-strip-inner { grid-template-columns: 1fr 1fr; }
  .intro-cell:first-child { padding-left: 24px; }
  .intro-cell:nth-child(2) { border-right: 0; }
  .intro-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .product-grid, .work-grid { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .page-hero-grid, .page-grid { grid-template-columns: 1fr; gap: 26px; }
  .footer-top { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .site-header { position: relative; }
  .nav { min-height: 68px; }
  .brand { width: 164px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: 55px; }
  .hero-side p { font-size: 17px; }
  .hero-image, .hero-image img { min-height: 430px; height: 430px; }
  .intro-strip-inner { grid-template-columns: 1fr; }
  .intro-cell, .intro-cell:first-child { min-height: 100px; padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .intro-cell:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-head { margin-bottom: 38px; }
  .capability-row { grid-template-columns: 50px 1fr 22px; gap: 12px; padding: 20px 0; }
  .capability-row p { grid-column: 2 / 4; }
  .product-panel { min-height: 0; padding: 28px 22px; }
  .product-points { grid-template-columns: 1fr; }
  .product-point:nth-child(odd) { border-right: 0; }
  .product-point:nth-child(even) { padding-left: 0; }
  .compliance-ui-body { grid-template-columns: 1fr; }
  .ui-stat { border-right: 0; border-bottom: 1px solid #2b322f; }
  .academy-copy, .edunation-identity, .rebrand-panel { min-height: 470px; padding: 30px 24px; }
  .academy-media { min-height: 500px; grid-template-columns: 1fr 1fr; }
  .academy-media img:first-child { grid-column: 1/-1; grid-row: auto; }
  .academy-media img { min-height: 240px; }
  .project-caption { grid-template-columns: 1fr; }
  .project-caption .right { justify-self: start; text-align: left; }
  .neals-site-nav { display: none; }
  .neals-site-head { padding: 0 18px; }
  .neals-copy { padding: 58px 22px 44px; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { min-height: 220px; padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle h3 { margin-top: 40px; }
  .cta-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1/-1; }
  .footer-bottom { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
}
