:root {
  --navy-950: #050f25;
  --navy-900: #081735;
  --navy-800: #0c2450;
  --navy-700: #17386c;
  --blue: #1559f5;
  --blue-bright: #0876ff;
  --cyan: #05bceb;
  --cyan-soft: #7ae6fa;
  --ink: #14233f;
  --muted: #52637c;
  --line: #dbe6f4;
  --surface: #f5f9ff;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(5, 29, 77, 0.14);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: white;
  background: var(--navy-950);
  border-radius: 8px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 78px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(10, 55, 118, 0.1);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(4, 24, 63, 0.08);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand img {
  width: 47px;
  height: 47px;
  border-radius: 50%;
}

.brand-wordmark {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.brand-wordmark strong {
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
}

.brand-wordmark span {
  font-size: 0.98rem;
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: #32445f;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  transition: color 150ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.site-nav .nav-cta {
  padding: 12px 20px;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-bright));
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(21, 89, 245, 0.28);
  font-size: 1rem;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: white;
  background: linear-gradient(135deg, #0f4fe5, #006fe8);
  box-shadow: 0 10px 26px rgba(21, 89, 245, 0.36);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--navy-900);
  border-radius: 2px;
}

.hero {
  position: relative;
  min-height: 100svh;
  padding: 78px 0 0;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 74% 38%, rgba(0, 190, 245, 0.25), transparent 27%),
    linear-gradient(118deg, var(--navy-950) 0%, var(--navy-900) 52%, #0a2f72 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(100, 190, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 190, 255, 0.16) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -9%;
  bottom: -24%;
  width: 550px;
  height: 550px;
  border: 1px solid rgba(90, 213, 255, 0.25);
  border-radius: 50%;
}

.hero-orbit {
  position: absolute;
  z-index: 0;
  border: 1px solid rgba(79, 203, 255, 0.25);
  border-radius: 50%;
}

.orbit-one {
  top: 132px;
  right: 8%;
  width: 470px;
  height: 470px;
}

.orbit-one::before,
.orbit-two::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 22px var(--cyan);
}

.orbit-one::before {
  top: 22%;
  left: 3%;
}

.orbit-two {
  top: 190px;
  right: 12%;
  width: 350px;
  height: 350px;
}

.orbit-two::before {
  right: 0;
  bottom: 27%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: calc(100svh - 78px);
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(24px, 3vw, 64px);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--cyan-soft);
  font-size: 0.82rem;
}

.eyebrow span {
  width: 26px;
  height: 2px;
  background: var(--cyan);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.15rem);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero h1 span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--cyan);
  font-style: normal;
}

.hero-lede {
  max-width: 690px;
  margin: 28px auto 0;
  color: #d7e5fb;
  font-size: 1.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .button {
  min-height: 54px;
  padding: 14px 24px;
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: linear-gradient(120deg, var(--blue), #0076bd);
  box-shadow: 0 10px 28px rgba(0, 137, 255, 0.28);
}

.button-secondary {
  color: white;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.28);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 700px;
  margin: 54px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-facts div {
  padding-right: 20px;
}

.hero-facts div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-facts dt {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: #9fb4d5;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 40px 20px;
}

.occam-stage {
  position: relative;
  width: min(100%, 680px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0, 5, 25, 0.36);
}

.occam-stage::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.occam-art {
  width: 100%;
  height: auto;
}

.occam-logo {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 49.5%;
  width: 21.5%;
  height: auto;
  background: white;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 14px 35px rgba(9, 69, 170, 0.22);
  transform: translate(-50%, -50%);
}

.occam-caption {
  position: absolute;
  z-index: 3;
  top: 22px;
  right: 22px;
  display: grid;
  width: min(46%, 300px);
  min-width: 230px;
  padding: 13px 16px;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(21, 89, 245, 0.15);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(20, 71, 150, 0.1);
  backdrop-filter: blur(8px);
}

.occam-caption span {
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.occam-caption strong {
  margin-top: 3px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.occam-key {
  position: absolute;
  z-index: 3;
  right: 22px;
  bottom: 18px;
  left: 22px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 11px;
  color: #415778;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 89, 245, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(7px);
}

.occam-key span {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.occam-key i {
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
}

.principle-strip {
  position: relative;
  z-index: 2;
  background: var(--blue);
}

.principle-inner {
  min-height: 124px;
  display: grid;
  grid-template-columns: 0.62fr 1.38fr 1.4fr;
  gap: 28px;
  align-items: center;
  color: white;
}

.principle-inner > p {
  margin: 0;
  color: #cbeeff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.principle-inner blockquote {
  margin: 0;
  padding-inline: 28px;
  border-inline: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.principle-mantra {
  padding: 10px 0 10px 18px;
  color: white;
  border-left: 4px solid var(--cyan-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  font-weight: 820;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.section {
  padding: 116px 0;
}

.about {
  min-height: 100svh;
  padding: 0;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(20, 81, 168, 0.06) 50%, transparent 50.1%),
    var(--white);
}

.about-grid {
  width: 100%;
  min-height: 100svh;
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
}

.portrait-wrap {
  position: relative;
  width: min(calc(100% - 80px), 430px);
  max-width: none;
  align-self: center;
  justify-self: center;
}

.portrait-frame {
  position: relative;
  aspect-ratio: 0.84;
  overflow: hidden;
  padding: 6px;
  background: linear-gradient(145deg, #e6fbff 0%, var(--cyan) 30%, var(--blue) 68%, var(--navy-800) 100%);
  border: 1px solid rgba(21, 89, 245, 0.3);
  border-radius: 30px;
  box-shadow:
    0 30px 75px rgba(5, 29, 77, 0.2),
    0 0 0 8px rgba(21, 89, 245, 0.06);
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 23px;
}

.portrait-caption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  display: grid;
  min-width: 0;
  padding: 16px 20px;
  color: white;
  text-align: center;
  background: rgba(8, 23, 53, 0.94);
  border: 1px solid rgba(122, 230, 250, 0.35);
  border-top: 4px solid var(--cyan);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(4, 24, 63, 0.22);
  backdrop-filter: blur(8px);
}

.portrait-caption span {
  color: #9fc5ee;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.portrait-caption strong {
  margin-top: 2px;
  font-size: 1.08rem;
}

.about-copy {
  width: min(calc(100% - 96px), 650px);
  align-self: center;
  justify-self: center;
}

.section h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.35rem, 4.4vw, 4rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.about-copy .lead,
.book-copy .lead {
  margin: 30px 0 0;
  color: var(--navy-700);
  font-size: 1.28rem;
  font-weight: 560;
  line-height: 1.62;
}

.about-copy > p:not(.section-kicker):not(.lead) {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 30px;
}

.credential-row span {
  padding: 7px 12px;
  color: var(--navy-700);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.capabilities {
  position: relative;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  color: white;
  background: var(--navy-900);
}

.capabilities::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -180px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(80, 210, 255, 0.19);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(10, 118, 255, 0.025), 0 0 0 140px rgba(10, 118, 255, 0.018);
}

.section-kicker.light {
  color: var(--cyan);
}

.capabilities h2,
.book-section h2 {
  color: white;
}

.portfolio-heading {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 70px;
  align-items: end;
}

.portfolio-heading > p {
  margin: 0;
  color: #aec0dc;
  font-size: 1.08rem;
  line-height: 1.7;
}

.capabilities-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100svh;
}

.capability-half {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 6vw, 100px) clamp(28px, 4vw, 72px);
}

.capability-left {
  border-right: 1px solid rgba(91, 197, 255, 0.17);
}

.capability-intro,
.workshop-card {
  width: min(100%, 620px);
}

.capability-intro {
  margin-bottom: 38px;
}

.capability-summary,
.process-list {
  width: min(100%, 570px);
}

.capability-summary {
  margin: 0 0 34px;
  color: #c8d7ec;
  font-size: 1.1rem;
  line-height: 1.72;
}

.workshop-card {
  padding: 34px;
  background:
    linear-gradient(145deg, rgba(17, 108, 245, 0.28), rgba(4, 25, 61, 0.9)),
    var(--navy-800);
  border: 1px solid rgba(91, 197, 255, 0.25);
  border-radius: var(--radius);
  box-shadow: 0 25px 70px rgba(0, 3, 18, 0.28);
}

.workshop-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #8ddff5;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.live-mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c6e7f5;
}

.live-mark i {
  width: 7px;
  height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(5, 188, 235, 0.8);
}

.workshop-card h3 {
  margin: 23px 0 10px;
  font-size: 1.72rem;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.workshop-card > p {
  margin: 0;
  color: #d0dced;
  font-size: 1.02rem;
  line-height: 1.7;
}

.workshop-card ul {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.workshop-card li {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  color: #e6eefb;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
  line-height: 1.5;
}

.workshop-card li span {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.machine-tag {
  display: grid;
  gap: 2px;
  margin-top: 25px;
  padding: 15px 17px;
  background: rgba(1, 14, 41, 0.55);
  border: 1px solid rgba(83, 194, 255, 0.16);
  border-radius: 12px;
}

.machine-tag strong {
  color: white;
  font-size: 0.95rem;
}

.machine-tag span {
  color: #b8c8df;
  font-size: 0.78rem;
  line-height: 1.5;
}

.process-list {
  display: grid;
}

.process-list article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.process-list article:first-child {
  padding-top: 0;
}

.process-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--cyan);
  border: 1px solid rgba(59, 199, 255, 0.36);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.process-list p {
  margin: 4px 0 0;
  color: #c5d3e8;
  font-size: 1rem;
  line-height: 1.65;
}

.portfolio {
  background: var(--surface);
}

.portfolio-heading > p {
  color: var(--muted);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 58px;
}

.project-card {
  position: relative;
  min-height: 355px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -48px;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(21, 89, 245, 0.11);
  border-radius: 50%;
}

.project-card:hover {
  z-index: 1;
  border-color: #a9c9f8;
  box-shadow: 0 20px 50px rgba(18, 65, 132, 0.11);
  transform: translateY(-5px);
}

.featured-card {
  color: white;
  background: linear-gradient(145deg, var(--blue), #083cbd);
  border-color: transparent;
}

.medical-card {
  background: linear-gradient(145deg, white, #ecfbff);
  border-color: #bfeaf4;
}

.project-index {
  color: #5e718c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.featured-card .project-index {
  color: #9fdafc;
}

.project-type {
  align-self: flex-start;
  margin-top: 20px;
  padding: 5px 9px;
  color: var(--blue);
  background: #edf4ff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-card .project-type {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.project-card :is(h3, h4, h5) {
  margin: 20px 0 0;
  color: var(--navy-900);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.featured-card h3 {
  color: white;
}

.project-subtitle {
  margin: 4px 0 0;
  color: var(--blue);
  font-size: 0.86rem;
  font-weight: 800;
}

.featured-card .project-subtitle {
  color: #b7e8ff;
}

.project-card > p:not(.project-subtitle) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}

.featured-card > p:not(.project-subtitle) {
  color: #edf5ff;
}

.project-footer {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 20px;
}

.project-footer span {
  padding: 5px 8px;
  color: #4f6380;
  background: #f5f8fc;
  border: 1px solid #e3ebf5;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 750;
}

.featured-card .project-footer span {
  color: #d7edff;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

.portfolio-note {
  max-width: 780px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: center;
}

.book-section {
  position: relative;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 20% 55%, rgba(0, 183, 244, 0.17), transparent 29%),
    var(--navy-950);
}

.book-section::after {
  content: "AI";
  position: absolute;
  right: -28px;
  bottom: -120px;
  color: rgba(255, 255, 255, 0.025);
  font-size: 27rem;
  font-weight: 900;
  letter-spacing: -0.12em;
  line-height: 1;
}

.book-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.83fr 1.17fr;
  gap: 100px;
  align-items: center;
}

.publication-panel {
  position: relative;
  width: min(100%, 390px);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  padding: 44px;
  overflow: hidden;
  color: var(--navy-950);
  background:
    radial-gradient(circle at 95% 5%, rgba(8, 105, 255, 0.2), transparent 22%),
    linear-gradient(145deg, #ffffff, #dff6ff);
  border: 1px solid rgba(120, 215, 255, 0.35);
  border-radius: 22px;
  box-shadow: 0 34px 70px rgba(0, 0, 0, 0.25);
}

.publication-panel::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -70px;
  width: 270px;
  height: 270px;
  border: 45px solid rgba(5, 188, 235, 0.16);
  border-radius: 50%;
}

.publication-panel::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: linear-gradient(var(--cyan), var(--blue));
}

.publication-mark {
  position: relative;
  z-index: 1;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.publication-panel > p {
  position: relative;
  z-index: 1;
  max-width: 260px;
  margin: 16px 0 0;
  color: #4f6078;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.6;
}

.publication-panel > strong {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.publication-panel > strong em {
  color: var(--blue);
  font-style: normal;
}

.publication-topics {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 28px;
}

.publication-topics span {
  padding: 5px 8px;
  color: var(--navy-700);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #cce7f5;
  border-radius: 7px;
  font-size: 0.69rem;
  font-weight: 750;
}

.publication-panel small {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: var(--navy-700);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.book-copy > p:not(.section-kicker):not(.lead) {
  color: #c3d0e4;
  font-size: 1.05rem;
  line-height: 1.72;
}

.book-copy .lead {
  color: #e1ebfa;
}

.edition-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  margin-top: 34px;
  padding: 22px;
  background: rgba(12, 52, 114, 0.52);
  border: 1px solid rgba(63, 187, 255, 0.28);
  border-radius: 16px;
}

.edition-callout > span {
  align-self: start;
  padding: 6px 9px;
  color: var(--navy-950);
  background: var(--cyan);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.edition-callout strong {
  display: block;
  color: white;
  font-size: 1.1rem;
}

.edition-callout p {
  margin: 5px 0 0;
  color: #c5d3e7;
  font-size: 0.98rem;
  line-height: 1.65;
}

.contact-section {
  padding-block: 90px;
  background: white;
}

.contact-panel {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 36px;
  align-items: center;
  padding: 38px 42px;
  background: linear-gradient(120deg, #f4fbff, #edf3ff);
  border: 1px solid #d9e7f6;
  border-radius: 24px;
}

.contact-panel img {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 22px;
}

.contact-panel h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.contact-panel p:not(.section-kicker) {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.domain-name {
  display: inline-block;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.contact-panel .button {
  white-space: nowrap;
}

.site-footer {
  padding: 34px 0;
  color: #cad6e8;
  background: var(--navy-950);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.footer-brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  color: white;
  font-size: 0.9rem;
}

.footer-brand span,
.footer-inner > p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-copy {
    max-width: 780px;
    margin-inline: auto;
    padding: 72px 20px 60px;
  }

  .hero-visual {
    min-height: auto;
    max-width: 760px;
    margin-inline: auto;
    justify-content: center;
    padding: 0 20px 80px;
    transform: none;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    gap: 0;
  }

  .book-grid {
    gap: 70px;
  }

  .contact-panel {
    grid-template-columns: 110px 1fr;
  }

  .contact-panel img {
    width: 105px;
    height: 105px;
  }

  .contact-panel .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 70px;
  }

  .brand-wordmark span {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    right: 0;
    bottom: 0;
    width: min(82vw, 340px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px;
    background: white;
    box-shadow: -22px 30px 50px rgba(4, 24, 63, 0.18);
    transform: translateX(105%);
    transition: transform 180ms ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 14px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }

  .site-nav .nav-cta {
    margin-top: 14px;
    padding: 12px 16px;
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 70px 0 0;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 8.2vw, 3.55rem);
  }

  .principle-inner {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-block: 24px;
  }

  .principle-inner blockquote {
    padding: 10px 0;
    border: 0;
    border-block: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 1.2rem;
  }

  .principle-mantra {
    font-size: 1.08rem;
  }

  .about-grid,
  .portfolio-heading,
  .book-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .book-grid {
    gap: 72px;
  }

  .about-grid {
    min-height: auto;
    padding: 82px 20px;
  }

  .portrait-wrap {
    width: min(100%, 430px);
    margin-inline: auto;
  }

  .about-copy {
    width: min(100%, 650px);
  }

  .portfolio-heading {
    gap: 24px;
  }

  .capabilities {
    min-height: auto;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .capability-half {
    padding: 82px 20px;
  }

  .capability-left {
    border-right: 0;
    border-bottom: 1px solid rgba(91, 197, 255, 0.17);
  }

  .publication-panel {
    order: 2;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-inner {
    width: 100%;
  }

  .hero-lede {
    font-size: 1.1rem;
  }

  .hero h1 {
    font-size: clamp(1.95rem, 8.7vw, 2.65rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-facts {
    grid-template-columns: 1fr;
  }

  .hero-facts div {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    align-items: baseline;
    padding: 11px 0;
  }

  .hero-facts div + div {
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
    border-left: 0;
  }

  .occam-stage {
    border-radius: 20px;
    transform: none;
  }

  .occam-caption {
    top: 12px;
    right: 12px;
    width: min(58%, 250px);
    min-width: 0;
    padding: 8px 10px;
  }

  .occam-caption span {
    font-size: 0.62rem;
  }

  .occam-caption strong {
    font-size: 0.78rem;
  }

  .occam-key {
    display: none;
  }

  .occam-logo {
    border-width: 3px;
  }

  .about-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 64px;
    padding: 72px 14px;
  }

  .about {
    padding: 0;
  }

  .capabilities {
    padding: 0;
  }

  .capability-half {
    padding: 72px 14px;
  }

  .portrait-caption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    min-width: 0;
    padding: 14px 12px;
  }

  .section h2 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  .about-copy .lead,
  .book-copy .lead {
    font-size: 1.15rem;
  }

  .workshop-card {
    padding: 25px;
  }

  .workshop-topline {
    align-items: flex-start;
    gap: 14px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 330px;
  }

  .publication-panel {
    min-height: 430px;
  }

  .edition-callout {
    grid-template-columns: 1fr;
  }

  .edition-callout > span {
    justify-self: start;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .contact-panel .button {
    grid-column: auto;
    justify-self: stretch;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.etsy-product-link {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  color: #0758c9;
  font-size: 18px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.featured-card .etsy-product-link { color: #fff; }
.etsy-product-link:hover { text-decoration-thickness: 2px; }
.etsy-product-link:focus-visible { outline: 3px solid #00b9df; outline-offset: 4px; border-radius: 4px; }

.portfolio-category { margin-top: 38px; }
.portfolio-category-title { margin: 0 0 22px; color: #10294a; font-size: clamp(25px, 3vw, 32px); line-height: 1.25; }
.portfolio-division { margin-top: 64px; padding-top: 36px; border-top: 2px solid #c9daed; }
.portfolio-division h3 { margin: 0; color: #0758c9; font-size: clamp(30px, 4vw, 42px); line-height: 1.2; }

/* Shop navigation entry: keep the existing desktop header within its container. */
@media(min-width:821px){.site-nav{gap:16px}.site-nav a{font-size:13px}}
