/* Ontic Solutions — onticsolutions.com
   Design system v3: Midnight Teal + Burnt Copper + Warm Stone */

:root {
  --teal-900: #0A2E38;
  --teal-950: #071E28;
  --teal-700: #115E75;
  --copper-500: #C45520;
  --copper-600: #A84418;
  --ink-950: #0D0D0F;
  --ink-700: #3A3A3C;
  --stone-100: #EDE8E1;
  --stone-200: #D9D4CC;
  --stone-300: #D3CCC1;
  --logo-orange: #F1661B;

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter Tight', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-md: 12px;
  --radius-plate: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-1: 0 1px 2px rgba(13,13,15,0.05);
  --shadow-image: 0 24px 56px rgba(13,13,15,0.16);
  --shadow-2: 0 8px 24px rgba(20,20,20,0.10), 0 2px 6px rgba(20,20,20,0.06);
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --wrap: 1280px;
  --pad-x: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-950);
  background: var(--stone-100);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; }
.icon { width: 16px; height: 16px; stroke-width: 1.75; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: var(--ink-950); padding: 10px 14px; z-index: 100; border-radius: 0 0 8px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--logo-orange); outline-offset: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; line-height: 1.2;
  padding: 10px 16px; border-radius: var(--radius-md); border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: background .15s var(--ease), transform .15s var(--ease), color .15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-primary { background: var(--copper-500); color: #fff; }
.btn-primary:hover { background: var(--copper-600); }
.btn-ghost { background: transparent; color: var(--ink-950); border: 1px solid rgba(13,13,15,0.18); }
.btn-ghost:hover { background: var(--stone-200); }
.btn-glass { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.16); }
.btn-glass:hover { background: rgba(255,255,255,0.14); }
.btn-link { color: var(--copper-600); padding-left: 0; padding-right: 0; }
.btn-link:hover { color: var(--ink-950); }

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3;
  color: var(--copper-600);
}
.on-dark .eyebrow { color: rgba(255,255,255,0.72); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--teal-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .row {
  max-width: var(--wrap); margin: 0 auto;
  padding: 16px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a:not(.btn) {
  font-weight: 500; font-size: 14px;
  color: rgba(255,255,255,0.72); text-decoration: none;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: #fff; }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--copper-500); }
.menu-btn {
  display: none; background: transparent; border: 1px solid rgba(255,255,255,0.16);
  color: #fff; width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn .icon { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  background-color: var(--teal-900);
  background-image:
    linear-gradient(180deg, rgba(10,46,56,0.55) 0%, rgba(7,30,40,0.92) 100%),
    url('photos/hero.jpg');
  background-size: cover; background-position: center;
  color: #fff;
  padding: 120px var(--pad-x) 96px;
}
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 72px; letter-spacing: -0.02em; line-height: 1.02;
  margin: 18px 0 20px;
}
.hero h1 em, .page-hero h1 em { font-style: normal; color: var(--copper-500); }
.hero p.lede {
  font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.72);
  max-width: 560px; margin: 0 0 32px;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cards { display: grid; gap: 12px; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
  color: #fff; text-decoration: none;
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.hero-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.hero-card .plate {
  width: 48px; height: 48px; border-radius: var(--radius-plate);
  background: rgba(255,255,255,0.06); color: var(--logo-orange);
  display: grid; place-items: center; flex: none;
}
.hero-card .plate .icon { width: 22px; height: 22px; }
.hero-card .h { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.hero-card .d { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 2px; }
.hero-card .chev { color: rgba(255,255,255,0.5); margin-left: auto; width: 18px; height: 18px; }

/* Inner page hero */
.page-hero {
  background-color: var(--teal-900);
  background-image:
    linear-gradient(180deg, rgba(10,46,56,0.70) 0%, rgba(7,30,40,0.95) 100%);
  background-size: cover; background-position: center;
  color: #fff;
  padding: 96px var(--pad-x) 80px;
}
.page-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 60px; letter-spacing: -0.02em; line-height: 1.04;
  margin: 16px 0 18px; max-width: 900px;
}
.page-hero p.lede { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,0.72); max-width: 640px; margin: 0 0 28px; }

/* ---------- Partners ---------- */
.partners {
  background: var(--stone-200);
  padding: 56px var(--pad-x);
  border-top: 1px solid rgba(13,13,15,0.06);
  border-bottom: 1px solid rgba(13,13,15,0.06);
}
.partners .wrap { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.partners .eyebrow { color: var(--ink-700); }
.partners .lead { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; color: var(--ink-950); margin-top: 10px; }
.partners .logos { display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.partners .glyph { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; color: var(--ink-700); }
.partners .glyph.sm { font-weight: 700; font-size: 22px; }
.partners .div { width: 1px; height: 32px; background: rgba(13,13,15,0.18); }

/* ---------- Question (split) sections ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 96px var(--pad-x); max-width: var(--wrap); margin: 0 auto;
}
.split.flip > :first-child { order: 2; }
.split h2, .section-head h2, .band h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 44px; letter-spacing: -0.02em; line-height: 1.08;
  color: var(--ink-950); margin: 16px 0 20px;
}
.split p { font-size: 18px; line-height: 1.55; color: var(--ink-700); margin: 0 0 28px; }
.split ul.ticks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.split ul.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; color: var(--ink-700); }
.split ul.ticks .icon { color: var(--copper-500); width: 18px; height: 18px; margin-top: 3px; }
.photo {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background-color: var(--stone-300); background-size: cover; background-position: center;
  box-shadow: var(--shadow-image);
}

/* ---------- Feature grid band ---------- */
.band { background: var(--stone-200); padding: 96px var(--pad-x); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head h2 { margin-bottom: 0; max-width: 640px; }
.section-head p { font-size: 18px; color: var(--ink-700); max-width: 460px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.item {
  background: var(--stone-100);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-1);
}
.item .plate {
  width: 48px; height: 48px; border-radius: var(--radius-plate);
  background: rgba(196,85,32,0.10); color: var(--copper-500);
  display: grid; place-items: center; margin-bottom: 20px;
}
.item .plate .icon { width: 22px; height: 22px; }
.item .h { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-950); margin-bottom: 8px; }
.item .d { font-size: 15px; line-height: 1.55; color: var(--ink-700); }
.item .step { font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: .14em; color: var(--copper-600); margin-bottom: 14px; }
.band.light { background: var(--stone-100); }
.band.light .item { background: var(--stone-200); box-shadow: none; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-900); color: #fff; padding: 96px var(--pad-x); text-align: center; }
.cta-band .wrap { max-width: 960px; }
.cta-band h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 52px; letter-spacing: -0.02em; line-height: 1.05;
  margin: 16px 0 18px; color: #fff;
}
.cta-band p { font-size: 18px; line-height: 1.55; color: rgba(255,255,255,0.72); max-width: 620px; margin: 0 auto 32px; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Contact ---------- */
.contact-wrap {
  max-width: var(--wrap); margin: 0 auto; padding: 80px var(--pad-x) 96px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start;
}
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-1); }
.form-card h2 { font-family: var(--font-display); font-weight: 700; font-size: 28px; letter-spacing: -0.01em; margin: 0 0 6px; }
.form-card .sub { color: var(--ink-700); margin: 0 0 24px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 14px; font-weight: 600; color: var(--ink-950); }
label .opt { font-weight: 400; color: var(--ink-700); }
input, select, textarea {
  font: inherit; font-size: 16px; color: var(--ink-950);
  background: var(--stone-100); border: 1px solid rgba(13,13,15,0.18);
  border-radius: var(--radius-md); padding: 12px 14px; width: 100%;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--copper-500); outline-offset: 1px; background: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span {
  display: inline-block; padding: 8px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(13,13,15,0.18); font-size: 14px; font-weight: 500; cursor: pointer;
  background: var(--stone-100); color: var(--ink-950);
}
.chip input:checked + span { background: var(--teal-900); color: #fff; border-color: var(--teal-900); }
.chip input:focus-visible + span { outline: 2px solid var(--logo-orange); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--ink-700); margin: 14px 0 0; }
.info-card { background: var(--teal-900); color: #fff; border-radius: var(--radius-lg); padding: 32px; }
.info-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 12px 0 20px; }
.info-line { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.info-line .icon { width: 20px; height: 20px; color: var(--logo-orange); margin-top: 2px; }
.info-line .k { font-size: 13px; color: rgba(255,255,255,0.64); }
.info-line .v { font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; }
.info-line a.v:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-950); color: rgba(255,255,255,0.64); padding: 56px var(--pad-x) 32px; }
.site-footer .cols { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .brand img { height: 32px; }
.site-footer .h { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.site-footer a, .site-footer .li { font-size: 14px; margin: 8px 0; color: rgba(255,255,255,0.64); display: block; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .blurb { font-size: 14px; line-height: 1.6; margin-top: 16px; max-width: 300px; }
.site-footer .bottom {
  max-width: var(--wrap); margin: 48px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,0.56);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero h1 { font-size: 56px; }
  .page-hero h1 { font-size: 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --pad-x: 20px; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--teal-900); padding: 8px 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav a[aria-current="page"] { border-bottom-color: rgba(255,255,255,0.08); color: #fff; box-shadow: inset 3px 0 0 var(--copper-500); padding-left: 12px; }
  .nav .btn { margin-top: 16px; justify-content: center; padding: 14px; font-size: 15px; }
  .brand img { height: 28px; }
  .hero { padding: 72px var(--pad-x) 64px; }
  .hero h1 { font-size: 42px; }
  .page-hero { padding: 64px var(--pad-x) 56px; }
  .page-hero h1 { font-size: 38px; }
  .hero p.lede, .page-hero p.lede { font-size: 17px; }
  .split { grid-template-columns: 1fr; gap: 32px; padding: 64px var(--pad-x); }
  .split.flip > :first-child { order: 0; }
  .split h2, .section-head h2, .band h2 { font-size: 32px; }
  .band, .cta-band { padding: 64px var(--pad-x); }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  .grid, .grid.two, .grid.four { grid-template-columns: 1fr; }
  .partners .wrap { flex-direction: column; align-items: flex-start; gap: 24px; }
  .cta-band h2 { font-size: 34px; }
  .contact-wrap { grid-template-columns: 1fr; padding: 48px var(--pad-x) 64px; }
  .form-card { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
