:root {
  --bg: #f6f4ef;
  --surface: #fffdf8;
  --surface-2: #e9f3ee;
  --ink: #10201c;
  --muted: #5f6f69;
  --line: #d8e1dc;
  --brand: #0c7c64;
  --brand-2: #ef9e56;
  --dark: #102a25;
  --radius: 22px;
  --shadow: 0 22px 60px rgba(16, 42, 37, .1);
  --max: 1180px;
  --header-bg: rgba(246, 244, 239, .9);
  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0b1613;
  --surface: #11201c;
  --surface-2: #163129;
  --ink: #edf5f1;
  --muted: #a8bbb4;
  --line: #294039;
  --brand: #52d0ad;
  --brand-2: #d78644;
  --dark: #07120f;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --header-bg: rgba(11, 22, 19, .9);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
  transition: background-color .3s ease, color .3s ease, opacity .18s ease, transform .18s ease;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.wrap {
  margin: 0 auto;
  max-width: var(--max);
  padding-left: 24px;
  padding-right: 24px;
}

.skip-link {
  background: var(--ink);
  color: #fff;
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  z-index: 1000;
}
.skip-link:focus { top: 12px; }

.site-header {
  backdrop-filter: blur(18px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(16, 32, 28, .08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}
.wordmark {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  font-weight: 850;
  gap: 10px;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
}
.wordmark__mark {
  align-items: center;
  background: var(--ink);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  height: 36px;
  justify-content: center;
  letter-spacing: 0;
  width: 36px;
}
.site-nav { align-items: center; display: flex; gap: 26px; }
.site-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a:focus, .site-nav a[aria-current="page"] { color: var(--brand); }
.nav-cta {
  background: var(--ink);
  border-radius: 999px;
  color: #fff !important;
  padding: 10px 17px;
}
.nav-cta:hover, .nav-cta:focus { background: var(--brand); }
.menu-button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  display: none;
  font: inherit;
  font-weight: 800;
  padding: 9px 12px;
}
.page-back {
  backdrop-filter: blur(16px);
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 76px;
  z-index: 90;
}
.page-back__inner { align-items: center; display: flex; min-height: 48px; }
.page-back__link {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 820;
  gap: 9px;
  letter-spacing: .02em;
  max-width: 100%;
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.page-back__link span:first-child {
  color: var(--brand);
  font-size: 18px;
  transition: transform .2s ease;
}
.page-back__link:hover, .page-back__link:focus-visible { color: var(--brand); }
.page-back__link:hover span:first-child, .page-back__link:focus-visible span:first-child { transform: translateX(-4px); }
.theme-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  gap: 6px;
  padding: 8px 11px;
}
.theme-button:hover, .theme-button:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}
html[data-theme="dark"] .skip-link,
html[data-theme="dark"] .wordmark__mark,
html[data-theme="dark"] .nav-cta,
html[data-theme="dark"] .button--primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #07120f !important;
}
html[data-theme="dark"] .panel--dark {
  background: #07120f;
  border-color: #294039;
}
html[data-theme="dark"] .button--light:hover,
html[data-theme="dark"] .button--light:focus {
  color: #07120f;
}

.hero {
  min-height: 720px;
  overflow: hidden;
  padding: 94px 0 72px;
  position: relative;
}
.hero:before {
  background: radial-gradient(circle at center, rgba(12, 124, 100, .18), transparent 68%);
  content: "";
  height: 740px;
  pointer-events: none;
  position: absolute;
  right: -260px;
  top: -160px;
  width: 740px;
}
.hero-grid {
  align-items: center;
  display: grid;
  gap: 72px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
  position: relative;
}
.eyebrow {
  align-items: center;
  color: var(--brand);
  display: flex;
  font-size: 12px;
  font-weight: 850;
  gap: 10px;
  letter-spacing: .18em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.eyebrow:before { background: currentColor; content: ""; height: 2px; width: 28px; }
.display {
  font-size: clamp(54px, 8vw, 104px);
  font-weight: 880;
  letter-spacing: -.075em;
  line-height: .88;
  margin: 0;
  max-width: 800px;
}
.display em { color: var(--brand); font-style: normal; }
.hero-copy {
  color: var(--muted);
  font-size: 20px;
  margin: 30px 0 0;
  max-width: 720px;
}
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button {
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  display: inline-flex;
  font-size: 14px;
  font-weight: 820;
  gap: 8px;
  justify-content: center;
  padding: 13px 21px;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover, .button:focus { transform: translateY(-2px); }
.button--primary { background: var(--ink); color: #fff; }
.button--primary:hover, .button--primary:focus { background: var(--brand); border-color: var(--brand); }
.button--light { border-color: rgba(255,255,255,.42); color: #fff; }
.button--light:hover, .button--light:focus { background: #fff; color: var(--ink); }
.button--text { border-color: transparent; color: var(--brand); padding-left: 0; }

.portrait-card {
  background: var(--dark);
  border-radius: 170px 170px var(--radius) var(--radius);
  box-shadow: var(--shadow);
  min-height: 530px;
  overflow: hidden;
  position: relative;
}
.portrait-card img {
  filter: saturate(.82) contrast(1.05);
  height: 530px;
  object-fit: cover;
  object-position: 56% center;
  width: 100%;
}
.portrait-card:after {
  background: linear-gradient(transparent, rgba(10, 31, 27, .86));
  bottom: 0;
  content: "";
  height: 46%;
  left: 0;
  position: absolute;
  right: 0;
}
.portrait-note {
  bottom: 24px;
  color: #fff;
  left: 26px;
  position: absolute;
  right: 26px;
  z-index: 2;
}
.portrait-note strong { display: block; font-size: 18px; }
.portrait-note span { color: #c9ddd7; font-size: 14px; }
.availability {
  align-items: center;
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  left: 20px;
  padding: 12px 16px;
  position: absolute;
  top: 42px;
  z-index: 3;
}
.availability:before {
  background: #37c778;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(55,199,120,.16);
  content: "";
  height: 8px;
  width: 8px;
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
}
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof {
  border-right: 1px solid var(--line);
  padding: 28px 24px;
}
.proof:first-child { border-left: 1px solid var(--line); }
.proof strong { display: block; font-size: 27px; letter-spacing: -.04em; }
.proof span { color: var(--muted); font-size: 13px; }

.section { padding: 106px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--surface); }
.section--green { background: var(--surface-2); }
.section--dark { background: var(--dark); color: #fff; }
.section-heading {
  align-items: end;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin-bottom: 48px;
}
.section-heading__copy { max-width: 720px; }
.section-heading h2, .page-title {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 860;
  letter-spacing: -.06em;
  line-height: .98;
  margin: 10px 0 0;
}
.section-heading p { color: var(--muted); font-size: 17px; margin: 14px 0 0; }
.section--dark .section-heading p, .section--dark .muted { color: #b9ccc6; }
.kicker {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.bento { display: grid; gap: 20px; grid-template-columns: repeat(12, 1fr); }
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 270px;
  overflow: hidden;
  padding: 32px;
  position: relative;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.panel:hover { border-color: rgba(12, 124, 100, .35); box-shadow: var(--shadow); transform: translateY(-4px); }
.panel--6 { grid-column: span 6; }
.panel--4 { grid-column: span 4; }
.panel--8 { grid-column: span 8; }
.panel--dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.panel--accent { background: var(--brand-2); border-color: var(--brand-2); }
.panel--green { background: var(--surface-2); }
.panel__number {
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .15em;
}
.panel h3 { font-size: 27px; letter-spacing: -.035em; margin: 48px 0 10px; }
.panel p { color: var(--muted); margin: 0; }
.panel--dark p { color: #bed0ca; }
.panel__link {
  bottom: 28px;
  font-size: 14px;
  font-weight: 850;
  position: absolute;
  right: 30px;
  text-decoration: none;
}
.panel__link:hover { color: var(--brand); }

.project-list { border-top: 1px solid var(--line); }
.project-row {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 110px 1.15fr 1.7fr 110px;
  padding: 34px 0;
  text-decoration: none;
  transition: padding-left .25s ease;
}
.project-row:hover { padding-left: 12px; }
.project-row:hover .project-row__title { color: var(--brand); }
.project-row__index, .project-row__meta { color: var(--muted); font-size: 13px; font-weight: 700; }
.project-row__title { font-size: 24px; font-weight: 830; letter-spacing: -.03em; transition: color .2s; }
.project-row__copy { color: var(--muted); }
.project-row__arrow { font-size: 22px; text-align: right; transition: transform .25s ease; }
.project-row:hover .project-row__arrow { transform: translate(4px, -4px); }

.tag-list { display: flex; flex-wrap: wrap; gap: 9px; }
.tag {
  background: rgba(12, 124, 100, .09);
  border: 1px solid rgba(12, 124, 100, .15);
  border-radius: 999px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 12px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tag:hover { border-color: var(--brand); transform: translateY(-3px) rotate(-1deg); }
.section--dark .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #d7eee7; }

.live-preview-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.live-preview-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 44px rgba(16, 42, 37, .07);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.live-preview-card:hover {
  border-color: rgba(12, 124, 100, .35);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}
.live-preview-card__image {
  background: var(--dark);
  display: block;
  overflow: hidden;
}
.live-preview-card__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .5s ease;
  width: 100%;
}
.live-preview-card:hover .live-preview-card__image img { transform: scale(1.025); }
.live-preview-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}
.live-preview-card h3 {
  font-size: 25px;
  letter-spacing: -.035em;
  margin: 14px 0 8px;
}
.live-preview-card p { color: var(--muted); margin: 0 0 18px; }
.live-preview-card .tag-list { margin: auto 0 8px; }
.live-preview-card .button--text { align-self: flex-start; margin-top: auto; padding-left: 0; }

.page-hero--live {
  background:
    radial-gradient(circle at 82% 18%, rgba(239, 158, 86, .2), transparent 25%),
    radial-gradient(circle at 16% 92%, rgba(12, 124, 100, .15), transparent 30%);
}
.live-product {
  align-items: center;
  display: grid;
  gap: clamp(40px, 6vw, 84px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
}
.live-product--reverse .live-product__media { order: 2; }
.live-product--reverse .live-product__body { order: 1; }
.live-product__media {
  background: #07120f;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(16, 42, 37, .18);
  display: block;
  overflow: hidden;
  position: relative;
}
.section--dark .live-product__media { border-color: rgba(255, 255, 255, .16); box-shadow: 0 32px 90px rgba(0, 0, 0, .32); }
.live-product__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2, .8, .2, 1);
  width: 100%;
}
.live-product__media:hover img, .live-product__media:focus-visible img { transform: scale(1.025); }
.live-product__open {
  backdrop-filter: blur(16px);
  background: rgba(7, 18, 15, .88);
  border-radius: 999px;
  bottom: 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  padding: 10px 14px;
  position: absolute;
  right: 18px;
}
.live-product__status {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  gap: 8px;
  margin-bottom: 20px;
  text-transform: uppercase;
}
.section--dark .live-product__status { color: #b9ccc6; }
.live-product__status span {
  background: #24b47e;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(36, 180, 126, .13);
  height: 8px;
  width: 8px;
}
.live-product__body h2 {
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.055em;
  line-height: 1;
  margin: 12px 0 18px;
}
.live-product__lead {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}
.section--dark .live-product__lead, .section--dark .live-product__features { color: #b9ccc6; }
.live-product__facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
  margin: 28px 0;
  padding: 20px 0;
}
.section--dark .live-product__facts { border-color: rgba(255, 255, 255, .14); }
.live-product__facts strong { display: block; font-size: 21px; letter-spacing: -.035em; }
.live-product__facts span { color: var(--muted); display: block; font-size: 11px; line-height: 1.35; margin-top: 3px; }
.section--dark .live-product__facts span { color: #9fb5ae; }
.live-product__features { color: var(--muted); margin: 0 0 24px; padding-left: 19px; }
.live-product__features li + li { margin-top: 8px; }

.quote-band {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: .75fr 1.25fr;
}
.quote-band img { border-radius: var(--radius); height: 430px; object-fit: cover; width: 100%; }
.quote-band blockquote { font-size: clamp(30px, 4vw, 52px); font-weight: 790; letter-spacing: -.045em; line-height: 1.15; margin: 0; }

.page-hero { padding: 92px 0 66px; }
.page-hero__grid { align-items: end; display: grid; gap: 60px; grid-template-columns: 1.2fr .8fr; }
.page-lead { color: var(--muted); font-size: 20px; margin: 0 0 8px; max-width: 620px; }
.breadcrumb { color: var(--muted); font-size: 13px; margin-bottom: 28px; }
.breadcrumb a { color: var(--brand); font-weight: 750; text-decoration: none; }

.cards { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.card:hover { border-color: rgba(12, 124, 100, .35); box-shadow: var(--shadow); transform: translateY(-4px); }
.card h3 { font-size: 23px; letter-spacing: -.03em; margin: 14px 0 8px; }
.card p, .card li { color: var(--muted); }
.card ul { margin-bottom: 0; padding-left: 18px; }
.card__icon {
  align-items: center;
  background: var(--surface-2);
  border-radius: 13px;
  color: var(--brand);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.section--dark .card {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .13);
}
.section--dark .card h3 { color: #fff; }
.section--dark .card p, .section--dark .card li { color: #b9ccc6; }
.section--dark .card__icon { background: rgba(255, 255, 255, .1); color: #d7eee7; }

.timeline { border-left: 1px solid var(--line); margin-left: 9px; padding-left: 42px; }
.timeline-item { margin: 0 0 52px; position: relative; }
.timeline-item:before {
  background: var(--brand);
  border: 5px solid var(--bg);
  border-radius: 50%;
  content: "";
  height: 20px;
  left: -52px;
  position: absolute;
  top: 2px;
  width: 20px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-item time { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.timeline-item h3 { font-size: 27px; letter-spacing: -.035em; margin: 5px 0 2px; }
.timeline-item h4 { color: var(--muted); font-size: 15px; margin: 0 0 12px; }
.timeline-item p { color: var(--muted); max-width: 780px; }

.skill-group { border-top: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: .7fr 1.3fr; padding: 32px 0; }
.skill-group h3 { font-size: 23px; margin: 0; }

.brand-showcase {
  background: #07120f;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
  margin: 0;
  overflow: hidden;
  position: relative;
}
.brand-showcase img {
  aspect-ratio: 1200 / 630;
  height: auto;
  object-fit: cover;
  width: 100%;
}
.brand-showcase figcaption {
  align-items: center;
  background: rgba(7, 18, 15, .94);
  color: #c7d9d3;
  display: flex;
  font-size: 13px;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 24px;
}
.brand-showcase figcaption a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.impact-note {
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 16px;
  display: grid;
  gap: 8px 24px;
  grid-template-columns: 130px 1fr;
  margin-top: 24px;
  padding: 22px 24px;
}
.impact-note strong {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.impact-note p { color: var(--muted); margin: 0; }

.feed-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.feed-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 235px;
  padding: 28px;
}
.feed-card__meta {
  color: var(--brand);
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feed-card h3 { font-size: 22px; letter-spacing: -.025em; line-height: 1.2; margin: 28px 0 10px; }
.feed-card h3 a { text-decoration: none; }
.feed-card h3 a:hover { color: var(--brand); }
.feed-card p { color: var(--muted); margin: 0; }
.feed-caption { color: var(--muted); font-size: 12px; margin: 14px 0 0; }
[data-feed-status="live"] + .feed-caption .feed-caption__fallback,
[data-feed-status="fallback"] + .feed-caption .feed-caption__live { display: none; }

.now-status {
  align-items: center;
  display: inline-flex;
  gap: 9px;
}
.now-status:before {
  animation: pulse 2.2s ease-out infinite;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(82, 208, 173, .45);
  content: "";
  height: 9px;
  width: 9px;
}

.evidence-line {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2px;
  margin-top: 24px;
  padding-top: 16px;
}
.evidence-line span {
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.evidence-line strong { font-size: 14px; }
.section--dark .evidence-line { border-color: rgba(255, 255, 255, .14); }
.section--dark .evidence-line strong { color: #fff; }

.architecture-card {
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 30px;
  box-shadow: var(--shadow);
  color: #fff;
  overflow: hidden;
  padding: 38px;
}
.architecture-card__header {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 34px;
}
.architecture-card__header h3 { font-size: 30px; letter-spacing: -.035em; margin: 8px 0 0; }
.architecture-card__legend { color: #a8c0b8; font-size: 12px; max-width: 260px; text-align: right; }
.architecture-flow {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
}
.architecture-node {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  min-height: 170px;
  padding: 20px;
}
.architecture-node--accent { background: var(--brand); border-color: var(--brand); }
.architecture-node > span { color: #77d9bd; display: block; font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.architecture-node--accent > span { color: #d9fff4; }
.architecture-node strong { display: block; font-size: 16px; line-height: 1.15; margin: 34px 0 8px; }
.architecture-node small { color: #a8c0b8; display: block; font-size: 11px; line-height: 1.45; }
.architecture-node--accent small { color: #e0fff6; }
.architecture-arrow { align-self: center; color: #6c8d83; font-size: 20px; }
.architecture-rails {
  border-top: 1px solid rgba(255, 255, 255, .12);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 24px;
  padding-top: 18px;
}
.architecture-rails span {
  color: #bdd0ca;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.decision-grid { display: grid; gap: 1px; grid-template-columns: repeat(2, 1fr); }
.decision {
  background: var(--surface);
  border: 1px solid var(--line);
  min-height: 250px;
  padding: 34px;
}
.decision:first-child { border-radius: var(--radius) 0 0 0; }
.decision:nth-child(2) { border-radius: 0 var(--radius) 0 0; }
.decision:nth-child(3) { border-radius: 0 0 0 var(--radius); }
.decision:last-child { border-radius: 0 0 var(--radius) 0; }
.decision__label {
  color: var(--brand);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.decision h3 { font-size: 26px; letter-spacing: -.035em; line-height: 1.14; margin: 36px 0 10px; max-width: 380px; }
.decision p { color: var(--muted); margin: 0; }

.evaluation-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); }
.evaluation-grid article {
  border-left: 2px solid var(--brand);
  min-height: 120px;
  padding: 8px 18px;
}
.evaluation-grid strong { display: block; font-size: 18px; margin-bottom: 10px; }
.evaluation-grid span { color: #b9ccc6; font-size: 13px; }

.lab-layout { align-items: stretch; display: grid; gap: 20px; grid-template-columns: 1.55fr .65fr; }
.lab-console, .lab-explainer {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
}
.lab-console__header, .lab-result-heading {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
}
.lab-console__header h2, .lab-result-heading h2 { font-size: 30px; letter-spacing: -.04em; margin: 7px 0 0; }
.lab-local-badge {
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  padding: 8px 11px;
  text-transform: uppercase;
}
.lab-label {
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin: 30px 0 8px;
}
.lab-query-row { display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.lab-query-row input {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  padding: 13px 18px;
}
.lab-query-row input:focus { border-color: var(--brand); outline: 3px solid rgba(12, 124, 100, .14); }
.lab-samples { align-items: center; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.lab-samples > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.lab-samples button {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  font-weight: 750;
  padding: 6px 9px;
}
.lab-samples button:hover, .lab-samples button:focus-visible { border-color: var(--brand); color: var(--brand); }
.lab-controls {
  border: 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: .65fr 1.35fr;
  margin: 28px 0 0;
  padding: 22px 0 0;
}
.lab-controls legend {
  color: var(--brand);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .12em;
  padding: 0 8px 0 0;
  text-transform: uppercase;
}
.lab-controls label { color: var(--muted); display: grid; font-size: 11px; font-weight: 750; gap: 6px; }
.lab-controls select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  padding: 9px 11px;
}
.lab-range-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 1fr 38px; }
.lab-range-row input { accent-color: var(--brand); width: 100%; }
.lab-range-row output { color: var(--ink); font-size: 12px; font-weight: 850; }
.lab-pipeline {
  display: grid;
  gap: 7px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 26px;
}
.lab-pipeline span {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  display: flex;
  font-size: 9px;
  font-weight: 800;
  gap: 6px;
  justify-content: center;
  padding: 8px 6px;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.lab-pipeline i {
  align-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  font-size: 8px;
  font-style: normal;
  height: 16px;
  justify-content: center;
  width: 16px;
}
.lab-pipeline span.is-active { border-color: var(--brand); color: var(--brand); }
.lab-pipeline span.is-complete { background: var(--surface-2); border-color: transparent; color: var(--brand); }
.lab-explainer { background: var(--dark); color: #fff; }
.lab-explainer h3 { font-size: 28px; letter-spacing: -.035em; line-height: 1.1; margin: 18px 0 14px; }
.lab-explainer > p { color: #b9ccc6; }
.lab-explainer dl { border-top: 1px solid rgba(255, 255, 255, .12); margin: 28px 0 0; }
.lab-explainer dl div { border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 15px 0; }
.lab-explainer dt { color: #fff; font-size: 12px; font-weight: 850; }
.lab-explainer dd { color: #9fb5ae; font-size: 11px; margin: 3px 0 0; }

.lab-results { display: grid; gap: 20px; grid-template-columns: 1.35fr .65fr; margin-top: 20px; }
.lab-answer, .lab-evaluation, .lab-evidence {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.lab-answer > p { font-size: 18px; line-height: 1.7; margin: 24px 0 0; }
.lab-timing { color: var(--muted); font-size: 10px; }
.lab-citations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.lab-citations a {
  background: var(--surface-2);
  border-radius: 999px;
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  padding: 7px 10px;
  text-decoration: none;
}
.lab-evaluation { background: var(--surface-2); }
.lab-evaluation strong { display: block; font-size: 21px; letter-spacing: -.025em; line-height: 1.2; margin-top: 24px; }
.lab-evaluation p { color: var(--muted); font-size: 13px; }
.lab-evidence { grid-column: 1 / -1; }
.lab-result-heading > span { color: var(--muted); font-size: 11px; }
.lab-evidence-list { display: grid; gap: 12px; margin-top: 24px; }
.evidence-card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.evidence-card__header { align-items: center; display: grid; gap: 16px; grid-template-columns: 38px 1fr auto; }
.evidence-card__rank { color: var(--brand); font-size: 12px; font-weight: 900; }
.evidence-card__header h3 { font-size: 18px; margin: 0; }
.evidence-card__header div > span { color: var(--muted); font-size: 10px; }
.evidence-card__header > strong { color: var(--brand); font-size: 15px; }
.evidence-card__bar { background: var(--line); border-radius: 999px; height: 4px; margin: 16px 0; overflow: hidden; }
.evidence-card__bar span { background: var(--brand); display: block; height: 100%; transition: width .45s ease; }
.evidence-card p { color: var(--muted); font-size: 13px; margin: 0; }
.evidence-card__terms { color: var(--brand); font-size: 10px; font-weight: 750; margin-top: 13px; }
.lab-empty { padding: 24px 0; text-align: center; }
.lab-empty p { color: var(--muted); }

.dataset-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
.dataset-card {
  border-left: 3px solid var(--brand);
  border-top: 1px solid var(--line);
  padding: 24px 24px 24px 28px;
}
.dataset-card > span { color: var(--brand); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.dataset-card h3 { font-size: 19px; margin: 12px 0 8px; }
.dataset-card p { color: var(--muted); font-size: 13px; margin: 0; }
.dataset-card small { color: var(--muted); display: block; font-size: 10px; margin-top: 14px; }

.artifact-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.artifact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  min-height: 340px;
  padding: 30px;
}
.artifact-card__type {
  color: var(--brand);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.artifact-card h3 { font-size: 26px; letter-spacing: -.035em; line-height: 1.1; margin: 44px 0 10px; }
.artifact-card p { color: var(--muted); margin: 0; }
.artifact-card__actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 24px; }
.artifact-card__actions .button { font-size: 12px; padding: 10px 14px; }
.artifact-code {
  background: #07120f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: #d7eee7;
  overflow: hidden;
}
.artifact-code__bar {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  display: flex;
  gap: 6px;
  padding: 13px 16px;
}
.artifact-code__bar span { background: #ef9e56; border-radius: 50%; height: 8px; width: 8px; }
.artifact-code__bar span:nth-child(2) { background: #e6c84f; }
.artifact-code__bar span:nth-child(3) { background: #52d0ad; }
.artifact-code__bar small { color: #7f9991; margin-left: auto; }
.artifact-code pre { font-size: 12px; line-height: 1.7; margin: 0; overflow: auto; padding: 26px; }

.resume-shell { margin: 0 auto; max-width: 1040px; padding: 70px 24px 110px; }
.resume-library-hero { max-width: 830px; padding: 34px 0 74px; }
.resume-library-hero h1 {
  font-size: clamp(48px, 7vw, 78px);
  letter-spacing: -.065em;
  line-height: .94;
  margin: 14px 0 22px;
}
.resume-library-hero p { color: var(--muted); font-size: 19px; margin: 0; max-width: 760px; }
.resume-library { margin-bottom: 86px; }
.resume-options { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.resume-option {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.resume-option:hover { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-5px); }
.resume-option--featured { border-color: rgba(12, 124, 100, .5); }
.resume-option__preview {
  aspect-ratio: 8.5 / 10;
  background: #eef2f0;
  border-bottom: 1px solid var(--line);
  display: block;
  overflow: hidden;
  position: relative;
}
.resume-option__preview img {
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  width: 100%;
}
.resume-option:hover .resume-option__preview img { transform: scale(1.025); }
.resume-option__badge {
  background: var(--dark);
  border-radius: 999px;
  color: #fff;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  padding: 7px 10px;
  position: absolute;
  right: 13px;
  text-transform: uppercase;
  top: 13px;
}
.resume-option--featured .resume-option__badge { background: var(--brand); }
.resume-option__body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.resume-option__body h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.1; margin: 12px 0 10px; }
.resume-option__fit {
  color: var(--brand);
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 10px;
}
.resume-option__body p { color: var(--muted); font-size: 14px; margin: 0; }
.resume-option__actions { display: flex; flex-wrap: wrap; gap: 4px; margin-top: auto; padding-top: 24px; }
.resume-option__actions .button { font-size: 12px; padding: 9px 13px; }
.resume-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 30px;
}
.resume-toolbar__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.resume-document {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 58px;
}
.resume-header {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 1.35fr .65fr;
  padding-bottom: 34px;
}
.resume-header h1 {
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -.065em;
  line-height: .92;
  margin: 10px 0 18px;
}
.resume-header p { color: var(--muted); font-size: 17px; margin: 0; max-width: 640px; }
.resume-contact { align-self: end; display: grid; font-style: normal; gap: 7px; }
.resume-contact a { color: var(--muted); font-size: 13px; text-decoration: none; }
.resume-contact a:hover { color: var(--brand); }
.resume-grid { display: grid; gap: 50px; grid-template-columns: 1.55fr .75fr; padding-top: 40px; }
.resume-section { border-top: 1px solid var(--line); margin-top: 34px; padding-top: 28px; }
.resume-grid .resume-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.resume-section h2 {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: .16em;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.resume-role { margin-bottom: 28px; }
.resume-role:last-child { margin-bottom: 0; }
.resume-role__heading { align-items: baseline; display: flex; gap: 14px; justify-content: space-between; }
.resume-role h3 { font-size: 19px; letter-spacing: -.02em; margin: 0; }
.resume-role time { color: var(--muted); font-size: 12px; white-space: nowrap; }
.resume-role h4 { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.resume-role p, .resume-role li, .resume-list li { color: var(--muted); font-size: 14px; }
.resume-role ul, .resume-list { margin: 8px 0 0; padding-left: 18px; }
.resume-list { display: grid; gap: 9px; }
.resume-skills { display: flex; flex-wrap: wrap; gap: 7px; }
.resume-skills .tag { font-size: 11px; padding: 6px 9px; }

.js body { opacity: 0; transform: translateY(5px); }
.js body.page-ready { opacity: 1; transform: none; }
.js body.page-leaving { opacity: 0; transform: translateY(-5px); }
.hero-animate { opacity: 0; transform: translateY(18px); }
.page-ready .hero-animate {
  opacity: 1;
  transform: none;
  transition: opacity .65s ease var(--hero-delay), transform .65s cubic-bezier(.22, 1, .36, 1) var(--hero-delay);
}
.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .62s ease var(--reveal-delay), transform .62s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay);
}
.reveal.tag-list .tag { opacity: 0; transform: translateY(10px) scale(.97); }
.reveal.tag-list.is-visible .tag {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease var(--tag-delay), transform .4s cubic-bezier(.22, 1, .36, 1) var(--tag-delay);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(82, 208, 173, .4); }
  70% { box-shadow: 0 0 0 10px rgba(82, 208, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(82, 208, 173, 0); }
}

.cinema-hero {
  background:
    radial-gradient(circle at 85% 18%, rgba(82, 208, 173, .24), transparent 30%),
    linear-gradient(145deg, #07130f 0%, #0d2b23 58%, #10201c 100%);
  color: #f4faf7;
  overflow: hidden;
  padding: 86px 0 52px;
  position: relative;
}
.cinema-hero:before {
  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: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
  pointer-events: none;
  position: absolute;
}
.cinema-hero__grid {
  align-items: center;
  display: grid;
  gap: 58px;
  grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
  position: relative;
}
.cinema-hero .breadcrumb,
.cinema-hero .page-lead { color: #b8ccc5; }
.cinema-hero .breadcrumb a { color: #e8f6f1; }
.cinema-hero .page-title {
  color: #fff;
  font-size: clamp(58px, 7vw, 94px);
  margin-bottom: 24px;
}
.cinema-feature,
.cinema-card__poster,
.cinema-projects-callout__poster,
.cinema-home__posters {
  background: #06100d;
  display: block;
  overflow: hidden;
  position: relative;
}
.cinema-feature {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(0,0,0,.35);
  color: #fff;
  transform: rotate(1.2deg);
  transition: border-color .25s ease, transform .3s ease;
}
.cinema-feature:hover,
.cinema-feature:focus-visible { border-color: #52d0ad; transform: rotate(0) translateY(-5px); }
.cinema-feature img,
.cinema-card__poster img,
.cinema-projects-callout__poster img,
.cinema-home__posters img {
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  transition: opacity .25s ease, transform .55s ease;
  width: 100%;
}
.cinema-feature:hover img,
.cinema-card:hover .cinema-card__poster img,
.cinema-projects-callout__poster:hover img { opacity: .74; transform: scale(1.025); }
.cinema-play {
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(246, 244, 239, .94);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 50%;
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
  color: #0d2b23;
  display: flex;
  font-size: 17px;
  height: 62px;
  justify-content: center;
  left: 50%;
  padding-left: 4px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: background .2s ease, transform .25s ease;
  width: 62px;
}
a:hover > .cinema-play,
a:focus-visible > .cinema-play { background: #52d0ad; transform: translate(-50%, -50%) scale(1.08); }
.cinema-feature__caption {
  align-items: end;
  background: linear-gradient(transparent, rgba(3, 12, 9, .92));
  bottom: 0;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 54px 26px 22px;
  position: absolute;
  right: 0;
}
.cinema-feature__caption strong { font-size: 18px; }
.cinema-feature__caption span { color: #bad0c8; font-size: 12px; font-weight: 800; }
.cinema-stats {
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 64px;
  padding-top: 28px;
  position: relative;
}
.cinema-stats div { align-items: baseline; display: flex; gap: 12px; }
.cinema-stats strong { color: #52d0ad; font-size: 30px; letter-spacing: -.04em; }
.cinema-stats span { color: #a9beb7; font-size: 13px; font-weight: 750; }
.cinema-badge {
  align-items: center;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  color: #d2e4de;
  display: inline-flex;
  font-size: 12px;
  font-weight: 850;
  gap: 8px;
  padding: 9px 14px;
}
.cinema-badge span {
  background: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 59, 48, .13);
  height: 7px;
  width: 7px;
}
.cinema-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.cinema-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 24px;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.cinema-card:hover { border-color: rgba(82,208,173,.58); transform: translateY(-5px); }
.cinema-card__poster { border-bottom: 1px solid rgba(255,255,255,.11); }
.cinema-card__poster .cinema-play { height: 52px; width: 52px; }
.cinema-runtime {
  background: rgba(3, 12, 9, .84);
  border-radius: 7px;
  bottom: 12px;
  color: #fff;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 8px;
  position: absolute;
  right: 12px;
}
.cinema-card__body { padding: 26px; }
.cinema-card__meta {
  color: #77d7bd;
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cinema-card h3 { color: #fff; font-size: 29px; letter-spacing: -.035em; margin: 10px 0 7px; }
.cinema-card p { color: #b6c9c2; margin: 0 0 20px; }
.cinema-card .button--text { color: #fff; margin-top: 20px; }
.cinema-method { display: grid; gap: 50px; grid-template-columns: .75fr 1.25fr; }
.cinema-method h2 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: .98; margin: 14px 0 0; }
.cinema-method__steps { display: grid; gap: 14px; }
.cinema-method__steps article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 16px;
  grid-template-columns: 48px 1fr;
  padding: 24px;
}
.cinema-method__steps article > span { color: var(--brand); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.cinema-method__steps h3 { font-size: 21px; grid-column: 2; margin: 0; }
.cinema-method__steps p { color: var(--muted); grid-column: 2; margin: -10px 0 0; }
.cinema-home { overflow: hidden; }
.cinema-home__grid,
.cinema-projects-callout {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: .85fr 1.15fr;
}
.cinema-home__copy h2,
.cinema-projects-callout h2 { font-size: clamp(42px, 5vw, 66px); letter-spacing: -.055em; line-height: .98; margin: 14px 0 18px; }
.cinema-home__copy > p,
.cinema-projects-callout p { color: var(--muted); font-size: 18px; }
.cinema-home__facts { display: flex; flex-wrap: wrap; gap: 18px; margin: 28px 0; }
.cinema-home__facts span { color: var(--muted); font-size: 13px; }
.cinema-home__facts strong { color: var(--ink); display: block; font-size: 24px; }
.cinema-home__posters {
  aspect-ratio: 16 / 10;
  background: transparent;
  overflow: visible;
}
.cinema-home__posters img {
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  position: absolute;
  width: 78%;
}
.cinema-home__posters img:first-child { left: 0; top: 9%; transform: rotate(-4deg); }
.cinema-home__posters img:nth-child(2) { right: 0; top: 0; transform: rotate(4deg); }
.cinema-home__posters img:nth-child(3) { bottom: 0; left: 11%; transform: rotate(-1deg); }
.cinema-home__posters:hover img:first-child { transform: rotate(-6deg) translate(-8px, -3px); }
.cinema-home__posters:hover img:nth-child(2) { transform: rotate(6deg) translate(8px, -4px); }
.cinema-home__posters:hover img:nth-child(3) { transform: rotate(0deg) translateY(-7px); }
.cinema-home__posters .cinema-play { z-index: 3; }
.cinema-projects-callout { grid-template-columns: 1fr .9fr; }
.cinema-projects-callout p { color: #b9cdc6; }
.cinema-projects-callout__poster { border: 1px solid rgba(255,255,255,.16); border-radius: 24px; }

.cta {
  background: var(--brand);
  border-radius: 34px;
  color: #fff;
  overflow: hidden;
  padding: 64px;
  position: relative;
}
.cta:after {
  border: 70px solid rgba(255,255,255,.09);
  border-radius: 50%;
  content: "";
  height: 340px;
  position: absolute;
  right: -90px;
  top: -100px;
  width: 340px;
}
.cta h2 { font-size: clamp(38px, 5vw, 62px); letter-spacing: -.055em; line-height: 1; margin: 0; max-width: 760px; }
.cta p { color: #daf8ef; font-size: 18px; max-width: 680px; }
.cta .button-row { position: relative; z-index: 2; }

.site-footer { background: #091512; color: #c2d1cc; padding: 70px 0 30px; }
.footer-grid { display: grid; gap: 50px; grid-template-columns: 1.3fr repeat(3, .7fr); }
.footer-intro { max-width: 420px; }
.footer-intro p { color: #90a69f; }
.footer-col strong { color: #fff; display: block; font-size: 13px; margin-bottom: 14px; text-transform: uppercase; }
.footer-col a { color: #a9bbb5; display: block; font-size: 14px; margin: 8px 0; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  color: #71867f;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 54px;
  padding-top: 24px;
}

.analytics-footer-links {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}
.analytics-footer-links a,
.analytics-footer-links button {
  background: none;
  border: 0;
  color: #91a79f;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
}
.analytics-footer-links a:hover,
.analytics-footer-links button:hover {
  color: #fff;
  text-decoration-color: currentColor;
}
.analytics-consent {
  align-items: flex-end;
  background: var(--surface);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border: 1px solid var(--line);
  border-radius: 24px;
  bottom: 20px;
  box-shadow: 0 24px 70px rgba(4, 20, 15, .24);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 50%;
  max-width: 920px;
  padding: 24px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 1200;
}
.analytics-consent__copy h2 {
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.035em;
  margin: 5px 0 8px;
}
.analytics-consent__copy p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 8px;
  max-width: 680px;
}
.analytics-consent__copy a {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}
.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.analytics-consent__actions .button { white-space: nowrap; }
.privacy-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.privacy-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
}
.privacy-card h2 {
  font-size: 25px;
  letter-spacing: -.035em;
  margin: 24px 0 10px;
}
.privacy-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 920px) {
  .menu-button { display: block; }
  .site-nav {
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 0;
    left: 0;
    padding: 14px 24px 24px;
    position: absolute;
    right: 0;
    top: 76px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; }
  .theme-button { justify-content: center; margin-top: 8px; padding: 11px 15px; width: 100%; }
  .nav-cta { margin-top: 8px; text-align: center; }
  .hero { min-height: auto; padding-top: 70px; }
  .hero-grid, .page-hero__grid, .quote-band { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .portrait-card { margin: 0 auto; max-width: 520px; width: 100%; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof:nth-child(3) { border-left: 1px solid var(--line); }
  .bento { grid-template-columns: 1fr; }
  .panel--4, .panel--6, .panel--8 { grid-column: auto; }
  .cards, .feed-grid, .live-preview-grid { grid-template-columns: 1fr 1fr; }
  .live-product { grid-template-columns: 1fr; }
  .live-product--reverse .live-product__media, .live-product--reverse .live-product__body { order: initial; }
  .project-row { grid-template-columns: 70px 1fr 90px; }
  .project-row__copy { grid-column: 2 / 4; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .resume-header, .resume-grid { grid-template-columns: 1fr; }
  .resume-options { grid-template-columns: 1fr 1fr; }
  .architecture-flow { grid-template-columns: 1fr; }
  .architecture-node { min-height: auto; }
  .architecture-node strong { margin-top: 20px; }
  .architecture-arrow { justify-self: center; transform: rotate(90deg); }
  .architecture-rails, .evaluation-grid { grid-template-columns: repeat(2, 1fr); }
  .lab-layout { grid-template-columns: 1fr; }
  .artifact-grid { grid-template-columns: 1fr 1fr; }
  .cinema-hero__grid, .cinema-home__grid, .cinema-projects-callout, .cinema-method { grid-template-columns: 1fr; }
  .cinema-feature { margin-top: 12px; }
  .cinema-home__posters { min-height: 470px; }
  .analytics-consent {
    align-items: stretch;
    grid-template-columns: 1fr;
  }
  .analytics-consent__actions { justify-content: flex-start; }
}

@media (max-width: 620px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  .hero { padding: 54px 0; }
  .display { font-size: clamp(48px, 16vw, 72px); }
  .hero-copy, .page-lead { font-size: 17px; }
  .portrait-card, .portrait-card img { min-height: 430px; height: 430px; }
  .proof-grid, .cards, .feed-grid, .footer-grid, .live-preview-grid { grid-template-columns: 1fr; }
  .live-preview-card__body { padding: 22px; }
  .live-product__media { border-radius: 20px; }
  .live-product__facts { gap: 10px; }
  .live-product__facts strong { font-size: 18px; }
  .proof { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .section { padding: 76px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 16px; }
  .panel { min-height: 300px; padding: 26px; }
  .project-row { gap: 14px; grid-template-columns: 42px 1fr 28px; }
  .project-row__copy { grid-column: 1 / 4; }
  .quote-band img { height: 320px; }
  .skill-group { grid-template-columns: 1fr; }
  .impact-note { grid-template-columns: 1fr; }
  .brand-showcase { border-radius: 20px; }
  .brand-showcase figcaption { align-items: flex-start; flex-direction: column; gap: 8px; }
  .cta { border-radius: 24px; padding: 38px 26px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .analytics-footer-links { align-items: flex-start; flex-direction: column; gap: 6px; }
  .analytics-consent {
    border-radius: 20px;
    bottom: 10px;
    padding: 20px;
    width: calc(100% - 20px);
  }
  .analytics-consent__actions { flex-direction: column; }
  .analytics-consent__actions .button { width: 100%; }
  .privacy-grid { grid-template-columns: 1fr; }
  .privacy-card { padding: 26px 22px; }
  .cinema-hero { padding: 58px 0 42px; }
  .cinema-hero .page-title { font-size: clamp(52px, 15vw, 72px); }
  .cinema-stats { gap: 14px; grid-template-columns: 1fr; }
  .cinema-stats div { justify-content: space-between; }
  .cinema-feature__caption { align-items: flex-start; flex-direction: column; gap: 2px; padding: 45px 18px 16px; }
  .cinema-grid { grid-template-columns: 1fr; }
  .cinema-card__body { padding: 22px; }
  .cinema-home__posters { min-height: 330px; }
  .cinema-method__steps article { grid-template-columns: 38px 1fr; padding: 21px 18px; }
  .resume-shell { padding: 36px 18px 76px; }
  .resume-library-hero { padding: 24px 0 56px; }
  .resume-library-hero p { font-size: 17px; }
  .resume-library { margin-bottom: 64px; }
  .resume-options { grid-template-columns: 1fr; }
  .resume-option__preview { aspect-ratio: 8.5 / 9.5; }
  .resume-toolbar { align-items: flex-start; flex-direction: column; }
  .resume-document { border-radius: 20px; padding: 30px 22px; }
  .resume-role__heading { align-items: flex-start; flex-direction: column; gap: 2px; }
  .architecture-card { border-radius: 22px; padding: 26px 20px; }
  .architecture-card__header { align-items: flex-start; flex-direction: column; }
  .architecture-card__legend { text-align: left; }
  .architecture-rails, .decision-grid, .evaluation-grid, .dataset-grid, .artifact-grid { grid-template-columns: 1fr; }
  .decision, .decision:first-child, .decision:nth-child(2), .decision:nth-child(3), .decision:last-child { border-radius: 16px; }
  .lab-console, .lab-explainer, .lab-answer, .lab-evaluation, .lab-evidence { padding: 24px 20px; }
  .lab-query-row { grid-template-columns: 1fr; }
  .lab-query-row .button { width: 100%; }
  .lab-controls { grid-template-columns: 1fr; }
  .lab-pipeline { grid-template-columns: repeat(2, 1fr); }
  .lab-results { grid-template-columns: 1fr; }
  .lab-evidence { grid-column: auto; }
  .lab-result-heading { align-items: flex-start; flex-direction: column; }
  .evidence-card__header { grid-template-columns: 30px 1fr; }
  .evidence-card__header > strong { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .js body, .hero-animate, .reveal, .reveal.tag-list .tag { opacity: 1 !important; transform: none !important; }
}

@media print {
  @page { margin: 12mm; size: A4; }
  body { background: #fff !important; color: #111 !important; }
  .site-header, .site-footer, .page-back, .resume-library-hero, .resume-library, .resume-toolbar, .skip-link { display: none !important; }
  .resume-shell { max-width: none; padding: 0; }
  .resume-document { border: 0; border-radius: 0; box-shadow: none; padding: 0; }
  .resume-header h1 { font-size: 38px; }
  .resume-grid { gap: 30px; grid-template-columns: 1.5fr .75fr; }
  .resume-section, .resume-role { break-inside: avoid; }
  .resume-role p, .resume-role li, .resume-list li { color: #333 !important; }
  .tag { border-color: #aaa; color: #222; }
}
