:root {
  --ink: #13201b;
  --ink-2: #2d3f37;
  --muted: #68776e;
  --paper: #f9f7f1;
  --paper-2: #efe9da;
  --white: #ffffff;
  --coal: #0c1512;
  --coal-2: #16241e;
  --gold: #d99f35;
  --gold-2: #ffd36b;
  --green: #5ea277;
  --line: rgba(19, 32, 27, 0.14);
  --shadow: 0 24px 70px rgba(12, 21, 18, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--gold);
  color: var(--coal);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; }
.screen-reader-text { position: absolute; left: -9999px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(249, 247, 241, 0.92);
  border-bottom: 1px solid rgba(19, 32, 27, 0.08);
  backdrop-filter: blur(18px);
}
.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--coal);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(12,21,18,.18);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; }
.brand-text strong { display: block; font-size: 1rem; letter-spacing: .01em; }
.brand-text small { display: block; color: var(--muted); font-size: .78rem; margin-top: -2px; }
.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 700;
  font-size: .92rem;
}
.primary-nav a {
  text-decoration: none;
  color: var(--ink-2);
  transition: color .2s ease;
}
.primary-nav a:hover { color: var(--gold); }
.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--coal) !important;
  background: var(--gold);
  box-shadow: 0 8px 20px rgba(217, 159, 53, .25);
}
.menu-toggle {
  display: none;
  border: 0;
  background: var(--coal);
  border-radius: 14px;
  width: 48px;
  height: 44px;
  padding: 12px;
  cursor: pointer;
}
.menu-toggle span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
}

.section { padding: 92px 0; }
.section-muted { background: var(--paper-2); }
.section-dark {
  background: radial-gradient(circle at 18% 12%, rgba(94,162,119,.22), transparent 24%), linear-gradient(135deg, #0c1512 0%, #17291f 62%, #0e1714 100%);
  color: var(--white);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--gold-2);
  margin-bottom: 16px;
}
.eyebrow.dark { color: #9b6f18; }
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
}
h1, h2, h3 { line-height: 1.08; margin: 0 0 18px; letter-spacing: -0.035em; }
h1 { font-size: clamp(2.7rem, 6vw, 5.9rem); max-width: 880px; }
h2 { font-size: clamp(2.1rem, 3.8vw, 4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 18px; color: var(--muted); }
.section-dark p, .hero p, .funding p { color: rgba(255,255,255,.76); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.38rem); max-width: 790px; }
.lead-small { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-2); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 850;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
  background: var(--gold);
  color: var(--coal);
  box-shadow: 0 16px 32px rgba(217,159,53,.26);
}
.button-secondary {
  border-color: rgba(255,255,255,.22);
  color: var(--white);
  background: rgba(255,255,255,.08);
}
.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}
.text-link { color: var(--gold); font-weight: 850; text-decoration: none; }

.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .45;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  gap: 54px;
  align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.06);
  font-size: .84rem;
  font-weight: 750;
}
.hero-panel {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 34px;
  padding: 24px;
  box-shadow: 0 28px 90px rgba(0,0,0,.22);
  backdrop-filter: blur(12px);
}
.hero-illustration { border-radius: 24px; background: rgba(255,255,255,.04); }
.hero-card-list { display: grid; gap: 12px; margin-top: 16px; }
.hero-card {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-card strong, .hero-card span { display: block; }
.hero-card span { color: rgba(255,255,255,.70); font-size: .92rem; margin-top: 4px; }

.market-signal { padding: 34px 0; background: var(--coal); color: var(--white); border-top: 1px solid rgba(255,255,255,.08); }
.signal-grid { display: grid; grid-template-columns: 1.3fr repeat(3, .7fr); gap: 18px; align-items: stretch; }
.market-signal h2 { font-size: clamp(1.4rem, 2.2vw, 2.1rem); margin-bottom: 0; }
.signal-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 18px;
}
.signal-card strong { display: block; color: var(--gold-2); font-size: 1.3rem; line-height: 1.1; margin-bottom: 8px; }
.signal-card span { color: rgba(255,255,255,.74); font-size: .92rem; }

.section-heading { max-width: 760px; margin-bottom: 38px; }
.section-heading.wide { max-width: 930px; }
.section-heading p { font-size: 1.06rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card,
.client-card,
.tech-grid article,
.package-grid article,
.patent-card-large,
.patent-steps,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 40px rgba(12,21,18,.06);
}
.service-card { min-height: 330px; display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.service-card ul { margin: 0; padding-left: 20px; color: var(--ink-2); font-weight: 650; }
.service-card li { margin: 6px 0; }
.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(217,159,53,.18);
  color: #8b5d00;
  font-weight: 900;
  margin-bottom: 20px;
}
.service-card-accent { background: var(--coal-2); color: var(--white); }
.service-card-accent p, .service-card-accent ul { color: rgba(255,255,255,.76); }

.client-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.client-card p { min-height: 86px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.pill-list span, .profile-tags span {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(94,162,119,.13);
  color: #285e3f;
  font-size: .84rem;
  font-weight: 800;
}

.tech-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 42px; align-items: start; }
.sticky-heading { position: sticky; top: 110px; margin-bottom: 0; }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.tech-grid article { padding: 24px; }
.tech-grid h3 { font-size: 1.2rem; }
.tech-grid p { font-size: .96rem; }

.funding { padding: 86px 0; }
.funding-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: item;
  display: grid;
  gap: 14px;
}
.timeline li {
  position: relative;
  padding: 20px 22px 20px 72px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}
.timeline li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--gold);
  color: var(--coal);
  font-weight: 900;
}
.timeline strong, .timeline span { display: block; }
.timeline span { color: rgba(255,255,255,.70); }

.split-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: stretch; }
.patent-card-large { background: var(--coal); color: var(--white); padding: 38px; }
.patent-card-large p { color: rgba(255,255,255,.72); }
.price-note {
  margin-top: 26px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(217,159,53,.14);
  border: 1px solid rgba(217,159,53,.26);
}
.price-note strong, .price-note span { display: block; }
.price-note strong { color: var(--gold-2); font-size: 1.1rem; margin-bottom: 8px; }
.price-note span { color: rgba(255,255,255,.72); }
.patent-steps ol { margin: 0; padding-left: 22px; }
.patent-steps li { margin: 18px 0; padding-left: 4px; }
.patent-steps span { display: block; color: var(--muted); margin-top: 4px; }

.profile-grid { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: center; }
.profile-image { display: grid; place-items: center; }
.avatar-shell {
  width: 240px;
  height: 240px;
  border-radius: 42px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 20%, var(--gold-2), var(--gold) 38%, #3e6e4f 39%, var(--coal) 74%);
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
}
.avatar-shell span {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border-radius: 34px;
  background: rgba(255,255,255,.94);
  color: var(--coal);
  font-size: 4.2rem;
  font-weight: 950;
  letter-spacing: -.08em;
}
.profile-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.package-grid article { padding: 24px; min-height: 180px; }
.package-grid p { font-size: .96rem; }

.research-basis { padding-top: 50px; border-top: 1px solid var(--line); }
.research-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 32px; align-items: start; }
.research-list { display: grid; gap: 12px; }
.research-list a {
  display: block;
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 750;
  color: var(--ink-2);
}
.research-list a:hover { color: #8b5d00; border-color: rgba(217,159,53,.42); }

.contact-section { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 42px; align-items: start; }
.contact-detail {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-detail strong, .contact-detail span, .contact-detail a { display: block; }
.contact-detail strong { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.contact-detail a { color: var(--ink); font-weight: 850; text-decoration: none; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 7px; font-weight: 800; color: var(--ink-2); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fcfbf7;
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}
.contact-form textarea { resize: vertical; }
.form-note { font-size: .84rem; margin: 0; }
.form-message {
  border-radius: 14px;
  padding: 13px 14px;
  font-weight: 800;
}
.form-message.success { background: rgba(94,162,119,.16); color: #2f704a; }
.form-message.error { background: rgba(190,75,55,.13); color: #9b2f21; }

.site-footer { background: var(--coal); color: var(--white); padding-top: 58px; }
.footer-grid { display: grid; grid-template-columns: 1fr .65fr 1fr; gap: 36px; }
.footer-brand { color: var(--white); text-decoration: none; font-size: 1.3rem; font-weight: 950; letter-spacing: -.03em; }
.site-footer p, .site-footer a { color: rgba(255,255,255,.72); }
.site-footer h3 { font-size: 1rem; letter-spacing: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 38px; padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 18px; font-size: .9rem; color: rgba(255,255,255,.66); }
.footer-bottom a { text-decoration: none; }

.content-area { max-width: 860px; }
.standard-post { background: var(--white); padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); }
.reveal { animation: fadeLift .7s ease both; }
.delay-1 { animation-delay: .12s; }
.delay-2 { animation-delay: .22s; }
@keyframes fadeLift {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .hero-grid, .signal-grid, .service-grid, .client-grid, .tech-layout, .funding-grid, .split-grid, .profile-grid, .package-grid, .research-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .sticky-heading { position: static; }
  .hero-panel { max-width: 680px; }
  .signal-grid { gap: 12px; }
  .client-card p { min-height: unset; }
}

@media (max-width: 760px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .site-header { position: sticky; }
  .header-inner { min-height: 68px; }
  .brand-text strong { font-size: .92rem; }
  .brand-text small { font-size: .72rem; }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 12px; }
  .nav-cta { text-align: center; }
  .section { padding: 64px 0; }
  .hero { padding: 62px 0 56px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-panel { padding: 16px; border-radius: 24px; }
  .service-grid, .client-grid, .tech-grid, .package-grid { grid-template-columns: 1fr; }
  .service-card, .client-card, .tech-grid article, .package-grid article, .patent-card-large, .patent-steps, .contact-form { padding: 22px; }
  .profile-grid { gap: 24px; }
  .avatar-shell { width: 190px; height: 190px; border-radius: 32px; }
  .avatar-shell span { width: 122px; height: 122px; font-size: 3.4rem; border-radius: 26px; }
  .footer-bottom .container { flex-direction: column; }
}
