:root {
  --ink: #101111;
  --paper: #f4f4ef;
  --red: #ff3b30;
  --red-dark: #ba241c;
  --gray: #62645f;
  --line: #d4d5cd;
  --dark-line: #353737;
  --white: #fff;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  border: 0;
}
p,
h1,
h2,
h3 {
  margin: 0;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
pre:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 5px;
}
::selection {
  background: var(--red);
  color: #fff;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1344px, calc(100% - 112px));
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  background: var(--paper);
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px;
  border-bottom: 1px solid #ffffff20;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  z-index: 5;
  gap: 32px;
}
.wordmark {
  font-size: 1.625rem;
  font-weight: 750;
  letter-spacing: -1.2px;
  line-height: 1;
  white-space: nowrap;
}
.wordmark > span:first-child {
  color: var(--red);
}
.brand-period {
  color: var(--red);
  margin-left: 2px;
}
.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-left: 70px;
}
.desktop-nav a {
  font-size: 0.875rem;
  position: relative;
  padding: 10px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.desktop-nav a:hover::after {
  transform: scaleX(1);
}
.nav-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--red);
  vertical-align: super;
  margin-left: 2px;
}
.header-contact {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 25px;
  border: 1px solid #555754;
  padding: 9px 15px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.header-contact:hover {
  background: var(--red);
  border-color: var(--red);
}
.header-contact > span {
  font-size: 1.5rem;
  line-height: 1;
}
.menu-toggle {
  display: none;
}
.hero {
  color: var(--paper);
  position: relative;
  min-height: 720px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: #151818 url("./assets/studio-study.webp") center 54% / cover
    no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, #0b0c0cec 0%, #0c0d0dc9 30%, #0c0d0d20 72%),
    linear-gradient(0deg, #101111 0%, transparent 35%);
}
.hero-inner {
  padding-top: 75px;
  padding-bottom: 70px;
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
  gap: 54px;
}
.eyebrow,
.small-label,
.section-kicker,
.hero-note,
.hero-caption,
.hero-bottom,
.visual-topline,
.visual-footer,
.project-meta,
.lab-label,
.console-toolbar,
.console-footer,
.output-label,
.step-count,
.step-state,
.footer-bottom,
.footer-top > span {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
  line-height: 1.5;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #bfc2bc;
  margin-bottom: 32px;
}
.short-line {
  height: 2px;
  width: 25px;
  background: var(--red);
}
h1 {
  font-size: clamp(56px, 5.8vw, 88px);
  font-weight: 650;
  line-height: 1.035;
  letter-spacing: -5px;
  max-width: 860px;
}
h1 em {
  font-style: normal;
  color: var(--red);
}
.hero-description {
  margin-top: 32px;
  color: #c9ccc7;
  font-size: 1.1875rem;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 35px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: 52px;
  padding: 13px 22px;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    transform 0.2s;
  line-height: 1.5;
  border-radius: 1px;
}
.button:hover:not(:disabled) {
  transform: translateY(-2px);
}
.button-red {
  background: var(--red);
  color: #fff;
}
.button-red:hover {
  background: #df2a20;
}
.button-red:disabled {
  background: #414343;
  color: #bebfba;
}
.button-icon {
  font-size: 1.25rem;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  font-size: 0.875rem;
  background: transparent;
  color: inherit;
  line-height: 1.4;
}
.text-link:hover {
  color: var(--red);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #91968f;
  margin-top: 53px;
  font-size: 0.75rem;
}
.crosshair {
  color: var(--red);
  font-size: 1.625rem;
  line-height: 1;
}
.hero-caption {
  margin-top: 25px;
  color: #b1b6ad;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 0.75rem;
  line-height: 1.8;
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 69px;
  border-top: 1px solid #ffffff20;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #b5bab2;
}
.hero-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-bottom a {
  display: flex;
  align-items: center;
  gap: 18px;
}
.hero-bottom a span {
  font-size: 1.1875rem;
}
.status-square {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--red);
}
.principles-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 56px;
  background: var(--red);
  color: #fff;
  font-size: 1.1875rem;
  font-weight: 500;
  letter-spacing: -0.4px;
}
.strip-plus {
  font-size: 1.75rem;
  font-weight: 300;
  opacity: 0.65;
}
.section-light {
  background: var(--paper);
}
.work-section {
  padding: 99px 0 88px;
}
.section-kicker {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--gray);
  margin-bottom: 32px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
  margin-bottom: 49px;
}
h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -2.4px;
  font-weight: 600;
}
.muted {
  color: #85877f;
}
.section-intro {
  max-width: 368px;
  padding-bottom: 3px;
}
.section-intro > p {
  font-size: 1rem;
  color: #555852;
  line-height: 1.65;
}
.small-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.75px;
}
.section-intro .small-label {
  color: #666d5f;
  margin-top: 23px;
  font-size: 0.75rem;
}
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.project-visual {
  aspect-ratio: 1.45;
  position: relative;
  padding: 27px 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.battlefield-visual {
  background: #202622;
  color: #eceee7;
  border: 1px solid #303d34;
}
.visual-topline {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.8px;
}
.battlefield-visual .visual-topline {
  color: #a5b4a7;
}
.project-brand {
  font-size: clamp(26px, 3.7vw, 54px);
  font-weight: 750;
  letter-spacing: -1.9px;
  line-height: 1.1;
  margin-top: auto;
  margin-bottom: 17px;
}
.red-period {
  color: var(--red);
}
.visual-description {
  font-size: 1.375rem;
  line-height: 1.2;
  color: #c0c8be;
  letter-spacing: -0.4px;
}
.mini-workflow {
  display: flex;
  align-items: center;
  margin: 29px 0 auto;
  gap: 6px;
  max-width: 450px;
}
.mini-workflow > span {
  border: 1px solid #526154;
  border-radius: 3px;
  padding: 8px 11px;
  font-size: 0.75rem;
  color: #c1ccbe;
}
.mini-workflow i {
  height: 1px;
  background: #687e6b;
  flex: 1;
  min-width: 10px;
}
.visual-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 28px;
  color: #9dad9b;
}
.visual-footer > span:last-child {
  font-size: 1.5rem;
}
.cake-visual {
  background: #eddcd6;
  color: #493631;
  border: 1px solid #e1c8c0;
}
.cake-visual .visual-topline {
  color: #705047;
}
.cake-brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.2vw, 61px);
  letter-spacing: -2px;
  line-height: 0.94;
  margin: 32px 0 22px;
}
.cake-brand em {
  font-weight: 400;
}
.cake-brand > span {
  color: #ae5c47;
}
.cake-workflow {
  display: flex;
  gap: 8px;
  max-width: 460px;
}
.cake-workflow > span {
  padding: 9px 13px;
  border-top: 1px solid #c0a69c;
  flex: 1;
  font-size: 0.75rem;
}
.cake-workflow small {
  display: block;
  color: #705047;
  font-size: 0.75rem;
  font-family: var(--mono);
  margin-bottom: 4px;
}
.cake-visual .visual-footer {
  color: #705047;
  margin-top: auto;
}
.project-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}
.project-info h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.project-info p {
  color: #656960;
  font-size: 0.875rem;
  margin-top: 1px;
}
.round-button {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 1px solid #b8bcb1;
  background: transparent;
  color: var(--ink);
  font-size: 1.5625rem;
  line-height: 1;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}
.round-button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.project-meta {
  margin-top: 21px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  color: #696d63;
  font-size: 0.75rem;
}
.project-meta > span:last-child::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  border: 1px solid #868a7e;
  margin-right: 7px;
}
.services-section {
  padding: 50px 0 110px;
}
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
  border-top: 1px solid var(--line);
  padding-top: 70px;
}
.services-summary .section-kicker {
  margin-bottom: 27px;
}
.services-summary h2 {
  font-size: clamp(34px, 3.2vw, 47px);
  letter-spacing: -1.6px;
}
.services-summary > p {
  max-width: 380px;
  margin-top: 25px;
  font-size: 1rem;
  color: #61655b;
}
.services-summary > .small-label {
  margin-top: 26px;
  color: #626b57;
  font-size: 0.75rem;
}
.service {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.service:first-child {
  padding-top: 0;
}
.service summary {
  display: grid;
  grid-template-columns: 25px 1fr 22px;
  gap: 16px;
  list-style: none;
  align-items: center;
  cursor: pointer;
}
.service summary::-webkit-details-marker {
  display: none;
}
.service-number {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #626b57;
}
.service h3 {
  font-size: 1.3125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.5px;
}
.detail-plus {
  height: 18px;
  width: 18px;
  position: relative;
}
.detail-plus::before,
.detail-plus::after {
  content: "";
  height: 1px;
  width: 15px;
  position: absolute;
  top: 8px;
  left: 0;
  background: var(--ink);
}
.detail-plus::after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}
.service[open] .detail-plus::after {
  transform: rotate(0);
}
.service-body {
  padding: 18px 28px 0 41px;
}
.service-body p {
  font-size: 0.875rem;
  color: #62665c;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tags span {
  font-family: var(--mono);
  font-size: 0.75rem;
  padding: 4px 8px;
  border: 1px solid #d4d7ca;
  color: #626b57;
}
.lab-section {
  color: var(--paper);
  padding: 97px 0 108px;
  background: #141616;
}
.lab-section .section-kicker {
  color: #a4aba0;
}
.lab-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.75rem;
}
.muted-dark {
  color: #787f76;
}
.lab-section .section-intro p {
  color: #b2b9ae;
}
.lab-section .section-intro .small-label {
  color: #8f9889;
}
.lab-console {
  border: 1px solid #41473d;
  border-radius: 5px;
  overflow: hidden;
  background: #1b1e1b;
}
.console-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 67px;
  background: #242824;
  border-bottom: 1px solid #41473d;
  padding: 0 26px;
  gap: 20px;
  font-size: 0.75rem;
}
.console-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.terminal-symbol {
  color: var(--red);
  font-size: 1.25rem;
}
.version {
  color: #959e8f;
  font-size: 0.75rem;
  margin-left: 8px;
}
.scenario-tabs {
  display: flex;
  padding: 4px;
  background: #171a17;
  border: 1px solid #394034;
  border-radius: 3px;
  gap: 4px;
}
.scenario-tabs button {
  padding: 7px 12px;
  color: #a9b39f;
  background: transparent;
  font-family: var(--sans);
  font-size: 0.75rem;
  border-radius: 2px;
}
.scenario-tabs button[aria-selected="true"] {
  background: #e7eddf;
  color: #283221;
}
.console-body {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
}
.sample-panel {
  padding: 31px 30px;
  border-right: 1px solid #41473d;
}
.sample-panel > .small-label {
  color: #99a78e;
  font-size: 0.75rem;
}
.scenario-label {
  font-size: 0.8125rem;
  display: block;
  margin: 20px 0 7px;
  color: #c6cdbc;
}
.sample-panel select {
  width: 100%;
  font-size: 0.875rem;
  color: #e4eadb;
  background: #242b22;
  border: 1px solid #515d47;
  border-radius: 2px;
  padding: 9px 12px;
  min-height: 42px;
}
.sample-message {
  display: flex;
  gap: 13px;
  padding: 24px 0 30px;
  min-height: 188px;
}
.sample-avatar {
  width: 31px;
  height: 31px;
  background: #374231;
  color: #cad5be;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  flex-shrink: 0;
}
.sample-name {
  display: block;
  font-size: 0.8125rem;
  color: #e0e7d6;
}
.sample-name span {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #a1ae91;
  margin-left: 10px;
}
.sample-message p {
  color: #c0cbb4;
  font-size: 0.9375rem;
  margin-top: 10px;
  line-height: 1.6;
}
.sample-note {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: #9ba991;
  padding-top: 15px;
  border-top: 1px solid #36432e;
  display: flex;
  gap: 9px;
}
.sample-note > span {
  color: var(--red);
}
.console-controls {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
}
.console-controls .button {
  font-size: 0.8125rem;
  gap: 20px;
  min-height: 46px;
  padding: 10px 15px;
}
.console-controls .button > span {
  font-size: 1.375rem;
  line-height: 1;
}
.reset-button {
  background: transparent;
  font-size: 0.75rem;
  color: #b2c09f;
  border-bottom: 1px solid #758866;
  padding: 4px 0;
}
.reset-button:disabled {
  color: #77806f;
  border-bottom-color: #45523a;
}
.workflow-panel {
  padding: 31px 30px;
}
.workflow-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #a8b998;
}
.step-count {
  font-size: 0.75rem;
  color: #a0b18f;
}
.workflow-steps {
  margin: 23px 0 27px;
  padding: 0;
  list-style: none;
}
.workflow-steps li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 24px;
}
.workflow-steps li:last-child {
  padding-bottom: 0;
}
.workflow-steps li:not(:last-child)::after {
  content: "";
  width: 1px;
  position: absolute;
  background: #434f38;
  top: 32px;
  bottom: 0;
  left: 15px;
}
.step-node {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  flex-shrink: 0;
  border: 1px solid #586448;
  border-radius: 50%;
  color: #a0b38b;
  font: 0.75rem var(--mono);
  background: #212a1b;
}
.workflow-steps h3 {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  color: #d6e2c9;
}
.workflow-steps p {
  font-size: 0.75rem;
  color: #9caf89;
  margin-top: 2px;
}
.step-state {
  margin-left: auto;
  font-size: 0.75rem;
  line-height: 29px;
  color: #8f9c81;
  flex-shrink: 0;
  letter-spacing: 0.7px;
}
.workflow-steps li.complete .step-node {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.workflow-steps li.complete .step-state {
  color: #d0dbbf;
}
.demo-output {
  border: 1px solid #45523a;
  background: #222c1c;
  padding: 15px 18px;
  min-height: 107px;
}
.output-label {
  color: #b8caa3;
  font-size: 0.75rem;
}
.demo-output p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #c8d6b9;
  margin-top: 7px;
}
.demo-output.is-final {
  border-color: #ac493a;
  background: #2b241e;
}
.demo-output.is-final .output-label {
  color: #ff9c8d;
}
.console-footer {
  padding: 12px 26px;
  border-top: 1px solid #41473d;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #a7b39b;
  gap: 20px;
}
.console-footer > span:first-child {
  display: flex;
  gap: 8px;
  align-items: center;
}
.studio-section {
  padding: 105px 0 107px;
}
.studio-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 118px;
}
.studio-description {
  margin-top: 31px;
  max-width: 460px;
  font-size: 1.0625rem;
  color: #565b50;
}
.studio-secondary {
  margin-top: 17px;
  max-width: 440px;
  font-size: 0.875rem;
  color: #626b57;
}
.name-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
  gap: 24px;
}
.name-grid > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #626b57;
  font-size: 0.75rem;
}
.name-grid b {
  font-size: 5.625rem;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -6px;
}
.name-grid > span:nth-child(2) b {
  color: var(--red);
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}
.approach-list li {
  display: flex;
  gap: 21px;
  margin-top: 22px;
}
.approach-list li > span {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: #626b57;
  padding-top: 3px;
}
.approach-list h3 {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}
.approach-list p {
  font-size: 0.8125rem;
  color: #626b57;
  margin-top: 3px;
}
.contact-section {
  padding: 81px 0 91px;
  background: var(--red);
  color: #fff;
}
.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.contact-section .section-kicker {
  color: #fff9;
  margin-bottom: 29px;
}
.contact-section h2 {
  font-size: clamp(48px, 5.7vw, 85px);
  letter-spacing: -3.8px;
  line-height: 1;
}
.contact-section h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.contact-section h2 + p {
  margin-top: 24px;
  font-size: 1rem;
}
.contact-action {
  padding-top: 55px;
  max-width: 360px;
}
.button-cream {
  background: var(--paper);
  color: var(--ink);
  min-height: 60px;
  gap: 44px;
  padding-inline: 23px;
  font-size: 1rem;
}
.button-cream > span {
  font-size: 1.6875rem;
  font-weight: 300;
  line-height: 1;
}
.button-cream:hover {
  background: #fff;
}
.contact-action > p {
  margin-top: 19px;
  font-size: 0.75rem;
  color: #ffefe8;
  line-height: 1.7;
}
.site-footer {
  background: var(--paper);
  padding: 39px 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-top > span {
  color: #626b57;
  font-size: 0.75rem;
}
.footer-top .text-link {
  border: 0;
  font-size: 0.75rem;
  gap: 20px;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  letter-spacing: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  color: #626b57;
}
.footer-link {
  font-size: 0.75rem;
  padding: 0;
  background: transparent;
  color: #637057;
  border-bottom: 1px solid #a8b29e;
}
.modal {
  width: min(600px, calc(100vw - 40px));
  border: 0;
  padding: 30px 34px 34px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--ink);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  box-shadow: 0 24px 90px #0004;
}
.modal::backdrop {
  background: #090d0de0;
  backdrop-filter: blur(5px);
}
.modal-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
  gap: 20px;
}
.modal-topline > .small-label {
  color: #626b57;
}
.dialog-close {
  width: 34px;
  height: 34px;
  border: 1px solid #c9d0c0;
  background: transparent;
  color: var(--ink);
  font-size: 1.625rem;
  line-height: 1;
  border-radius: 50%;
  flex-shrink: 0;
}
.dialog-close:hover {
  background: var(--ink);
  color: #fff;
}
.modal h2 {
  font-size: 2.25rem;
  letter-spacing: -1.4px;
}
.modal-intro {
  font-size: 0.875rem;
  margin-top: 16px;
  color: #65715a;
}
.plan-block {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}
.plan-block h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 7px;
}
.plan-block p,
.plan-block li {
  font-size: 0.875rem;
  color: #64705a;
  line-height: 1.7;
}
.plan-block ul {
  padding-left: 20px;
  margin: 8px 0 0;
}
.modal-footer {
  margin-top: 29px;
}
.button-dark {
  background: var(--ink);
  color: var(--paper);
}
.button-dark:hover {
  background: #353c2d;
}
.brief-modal form {
  margin-top: 28px;
}
.brief-modal label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 17px;
  margin-bottom: 6px;
}
.brief-modal input,
.brief-modal select,
.brief-modal textarea {
  width: 100%;
  border: 1px solid #b9c4ac;
  background: #fbfcf8;
  border-radius: 2px;
  padding: 10px 12px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink);
}
.brief-modal textarea {
  resize: vertical;
  min-height: 100px;
  max-height: 220px;
}
.brief-modal input::placeholder,
.brief-modal textarea::placeholder {
  color: #7d8772;
}
.brief-submit {
  margin-top: 23px;
  width: 100%;
}
.brief-modal #brief-result {
  margin-top: 27px;
}
.brief-modal pre {
  font-family: var(--sans);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 0.875rem;
  line-height: 1.7;
  border: 1px solid #c7d1ba;
  padding: 18px;
  background: #fbfcf8;
  max-height: 300px;
  overflow: auto;
}
.brief-result-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}
.brief-result-note {
  font-size: 0.75rem;
  color: #626b57;
  margin-top: 20px;
}
@media (min-width: 1600px) {
  .hero {
    min-height: 780px;
  }
  .hero-inner {
    padding-top: 110px;
  }
  .hero-background {
    background-position: center 48%;
  }
}
@media (max-width: 1100px) {
  .container {
    width: calc(100% - 72px);
  }
  .site-header {
    padding-inline: 36px;
    gap: 20px;
  }
  .desktop-nav {
    margin-left: 0;
    gap: 22px;
  }
  .header-contact {
    gap: 15px;
  }
  h1 {
    letter-spacing: -3.4px;
    font-size: 4.625rem;
  }
  .hero-inner {
    padding-top: 75px;
  }
  .hero {
    min-height: 685px;
  }
  .hero-caption {
    right: 36px;
  }
  .principles-strip {
    padding-inline: 36px;
    font-size: 1.0625rem;
  }
  .section-heading {
    gap: 40px;
  }
  .section-intro {
    max-width: 320px;
  }
  h2 {
    font-size: 3rem;
  }
  .project-visual {
    padding: 23px;
  }
  .project-brand {
    font-size: 2.375rem;
  }
  .visual-description {
    font-size: 1.25rem;
  }
  .mini-workflow > span {
    padding: 7px 8px;
    font-size: 0.75rem;
  }
  .cake-brand {
    font-size: 3rem;
    margin-top: 27px;
  }
  .cake-workflow > span {
    font-size: 0.75rem;
    padding: 7px 8px;
  }
  .visual-topline {
    font-size: 0.75rem;
  }
  .services-layout {
    gap: 50px;
  }
  .service h3 {
    font-size: 1.125rem;
  }
  .console-toolbar {
    padding-inline: 22px;
  }
  .sample-panel,
  .workflow-panel {
    padding: 27px 23px;
  }
  .console-body {
    grid-template-columns: 1fr 1.07fr;
  }
  .workflow-steps li {
    gap: 12px;
  }
  .workflow-steps p {
    font-size: 0.75rem;
  }
  .studio-layout {
    gap: 65px;
  }
  .footer-bottom {
    font-size: 0.75rem;
  }
}
@media (max-width: 800px) {
  .site-header {
    height: 78px;
  }
  .wordmark {
    font-size: 1.5rem;
  }
  .desktop-nav {
    display: none;
  }
  .header-contact {
    margin-left: auto;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: transparent;
    width: 32px;
    height: 44px;
    padding: 5px;
    color: var(--paper);
  }
  .menu-toggle span {
    height: 1px;
    width: 22px;
    background: currentColor;
    transition: transform 0.2s;
  }
  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
  .mobile-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--ink);
    border-bottom: 1px solid #ffffff30;
    padding: 18px 36px;
    display: grid;
    gap: 8px;
  }
  .mobile-nav a {
    display: block;
    padding: 10px 0;
    font-size: 1.1875rem;
    border-bottom: 1px solid #ffffff10;
  }
  .hero {
    min-height: 650px;
  }
  .hero-background {
    background-position: 57% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0b0c0ce6, #0c0d0d90 65%, #0c0d0d40),
      linear-gradient(0deg, #101111, transparent 35%);
  }
  h1 {
    font-size: 4.1875rem;
    letter-spacing: -3px;
  }
  .hero-inner {
    padding-top: 72px;
  }
  .hero-note {
    margin-top: 46px;
  }
  .hero-caption {
    bottom: 105px;
    font-size: 0.75rem;
  }
  .hero-bottom-right {
    display: none;
  }
  .principles-strip {
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.9375rem;
  }
  .strip-plus {
    font-size: 1.25rem;
  }
  .principles-strip > span:last-child,
  .principles-strip > span:nth-last-child(2) {
    display: none;
  }
  .work-section {
    padding: 70px 0 50px;
  }
  .section-kicker > span:last-child:not(.lab-label) {
    display: none;
  }
  .section-heading {
    display: block;
    margin-bottom: 32px;
  }
  h2 {
    font-size: 2.875rem;
  }
  .section-intro {
    margin-top: 26px;
    max-width: 460px;
  }
  .section-intro .small-label {
    margin-top: 18px;
  }
  .project-visual {
    aspect-ratio: 1.1;
  }
  .project-brand {
    font-size: 1.875rem;
    letter-spacing: -1.3px;
  }
  .visual-description {
    font-size: 1.125rem;
  }
  .mini-workflow {
    margin-top: 23px;
    gap: 4px;
    flex-wrap: wrap;
  }
  .mini-workflow > span {
    padding: 6px 7px;
    font-size: 0.75rem;
  }
  .mini-workflow i {
    min-width: 3px;
  }
  .cake-brand {
    font-size: 2.5rem;
    margin-top: 30px;
  }
  .cake-workflow {
    gap: 5px;
    flex-wrap: wrap;
  }
  .cake-workflow > span {
    padding: 6px 3px;
    font-size: 0.75rem;
  }
  .project-info h3 {
    font-size: 1.125rem;
  }
  .project-info p {
    font-size: 0.75rem;
  }
  .round-button {
    width: 35px;
    height: 35px;
    font-size: 1.3125rem;
    flex-shrink: 0;
  }
  .project-meta {
    font-size: 0.75rem;
  }
  .services-section {
    padding-top: 25px;
    padding-bottom: 70px;
  }
  .services-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 45px;
  }
  .services-summary h2 {
    font-size: 2.5rem;
  }
  .services-summary > p {
    max-width: 520px;
  }
  .service h3 {
    font-size: 1.3125rem;
  }
  .lab-section {
    padding: 70px 0;
  }
  .console-toolbar {
    flex-wrap: wrap;
    padding-block: 17px;
    gap: 16px;
  }
  .console-body {
    grid-template-columns: 1fr;
  }
  .sample-panel {
    border-right: 0;
    border-bottom: 1px solid #41473d;
  }
  .sample-message {
    min-height: 0;
    padding-bottom: 25px;
  }
  .console-controls {
    margin-top: 22px;
  }
  .workflow-steps p {
    font-size: 0.75rem;
  }
  .workflow-panel {
    padding-top: 26px;
  }
  .workflow-steps li {
    gap: 15px;
  }
  .workflow-steps h3 {
    font-size: 0.9375rem;
  }
  .step-state {
    font-size: 0.75rem;
  }
  .console-footer {
    flex-direction: column;
    gap: 5px;
    padding-inline: 23px;
    font-size: 0.75rem;
  }
  .studio-section {
    padding: 72px 0;
  }
  .studio-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .studio-description {
    max-width: 560px;
  }
  .studio-secondary {
    max-width: 540px;
  }
  .studio-manifesto {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 40px;
    align-items: center;
  }
  .name-grid {
    border-bottom: 0;
    gap: 10px;
    padding: 0;
  }
  .name-grid b {
    font-size: 3.75rem;
  }
  .approach-list {
    margin: 0;
    border-left: 1px solid var(--line);
    padding-left: 25px;
  }
  .approach-list li:first-child {
    margin-top: 0;
  }
  .approach-list li {
    gap: 12px;
  }
  .approach-list h3 {
    font-size: 0.875rem;
  }
  .approach-list p {
    font-size: 0.75rem;
  }
  .contact-section {
    padding: 60px 0 65px;
  }
  .contact-layout {
    align-items: flex-start;
    gap: 20px;
  }
  .contact-section h2 {
    font-size: 3.6875rem;
    letter-spacing: -2.5px;
  }
  .contact-action {
    padding-top: 71px;
    max-width: 260px;
  }
  .button-cream {
    font-size: 0.8125rem;
    gap: 20px;
    padding-inline: 17px;
    min-height: 53px;
  }
  .contact-action > p {
    font-size: 0.75rem;
  }
  .footer-bottom {
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-bottom > span:nth-child(2) {
    order: 3;
    flex-basis: 100%;
  }
  .footer-top > span {
    display: none;
  }
}
@media (max-width: 560px) {
  html {
    scroll-padding-top: 20px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .site-header {
    padding-inline: 20px;
    height: 72px;
    gap: 15px;
  }
  .wordmark {
    font-size: 1.375rem;
  }
  .header-contact {
    display: none;
  }
  .menu-toggle {
    margin-left: auto;
  }
  .mobile-nav {
    top: 72px;
    padding-inline: 20px;
  }
  .hero {
    min-height: 640px;
  }
  .hero-inner {
    padding-top: 58px;
    padding-bottom: 88px;
  }
  .hero-background {
    background-position: 63% center;
  }
  .hero-shade {
    background:
      linear-gradient(90deg, #0b0c0ceb, #0b0c0cb0 65%, #0b0c0c60),
      linear-gradient(0deg, #101111, transparent 55%);
  }
  .eyebrow {
    font-size: 0.75rem;
    gap: 12px;
    margin-bottom: 27px;
  }
  h1 {
    font-size: clamp(40px, 10.2vw, 57px);
    letter-spacing: -2.5px;
    line-height: 1.075;
  }
  .hero-description {
    font-size: 1.0625rem;
    margin-top: 24px;
  }
  .hero-actions {
    gap: 20px;
    align-items: flex-start;
    flex-direction: column;
    margin-top: 29px;
  }
  .hero-actions .button {
    font-size: 0.8125rem;
    min-height: 48px;
    gap: 35px;
  }
  .hero-actions .text-link {
    font-size: 0.8125rem;
  }
  .hero-note {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    margin-top: 43px;
    gap: 10px;
  }
  .hero-caption {
    right: 20px;
    bottom: 93px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    opacity: 0.8;
  }
  .hero-bottom {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    min-height: 62px;
  }
  .hero-bottom a {
    gap: 9px;
  }
  .hero-bottom > span:first-child {
    gap: 7px;
  }
  .principles-strip {
    padding: 17px 20px;
    gap: 15px;
    font-size: 0.8125rem;
    letter-spacing: -0.3px;
  }
  .principles-strip > span:nth-child(5),
  .principles-strip > span:nth-child(4) {
    display: none;
  }
  .strip-plus {
    font-size: 1.3125rem;
  }
  .work-section {
    padding-top: 59px;
  }
  .section-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.8px;
    margin-bottom: 25px;
  }
  h2 {
    font-size: 2.4375rem;
    letter-spacing: -1.9px;
  }
  .section-intro {
    margin-top: 21px;
  }
  .section-intro > p {
    font-size: 0.9375rem;
  }
  .section-intro .small-label {
    font-size: 0.75rem;
    line-height: 1.7;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .project-visual {
    aspect-ratio: 1.32;
    padding: 23px;
  }
  .project-brand {
    font-size: 2.5rem;
  }
  .visual-description {
    font-size: 1.375rem;
  }
  .mini-workflow {
    margin: 26px 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
  }
  .mini-workflow > span {
    font-size: 0.75rem;
    padding: 7px 8px;
  }
  .mini-workflow i {
    min-width: 10px;
  }
  .visual-footer {
    margin-top: 23px;
    font-size: 0.75rem;
  }
  .visual-topline {
    font-size: 0.75rem;
  }
  .cake-brand {
    font-size: 3.125rem;
    margin-top: 29px;
    margin-bottom: 25px;
  }
  .cake-workflow > span {
    font-size: 0.75rem;
    padding: 8px;
  }
  .project-info {
    margin-top: 17px;
  }
  .project-info h3 {
    font-size: 1.3125rem;
  }
  .project-info p {
    font-size: 0.8125rem;
  }
  .round-button {
    width: 39px;
    height: 39px;
  }
  .project-meta {
    font-size: 0.75rem;
    margin-top: 17px;
  }
  .services-layout {
    padding-top: 40px;
  }
  .services-summary h2 {
    font-size: 2.25rem;
  }
  .services-summary > p {
    font-size: 0.9375rem;
    margin-top: 20px;
  }
  .services-summary > .small-label {
    font-size: 0.75rem;
  }
  .service {
    padding-block: 23px;
  }
  .service summary {
    gap: 12px;
    grid-template-columns: 21px 1fr 17px;
  }
  .service h3 {
    font-size: 1.0625rem;
    letter-spacing: -0.3px;
  }
  .service-body {
    padding-left: 33px;
    padding-right: 0;
  }
  .service-body p {
    font-size: 0.875rem;
  }
  .tags {
    gap: 6px;
  }
  .tags span {
    font-size: 0.75rem;
  }
  .lab-section {
    padding: 59px 0 65px;
  }
  .lab-label {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
    gap: 6px;
  }
  .lab-label .status-square {
    width: 5px;
    height: 5px;
  }
  .lab-section h2 {
    font-size: 2.25rem;
    letter-spacing: -1.7px;
  }
  .console-toolbar {
    padding-inline: 18px;
  }
  .console-title {
    font-size: 0.75rem;
    gap: 10px;
  }
  .scenario-tabs {
    width: 100%;
    justify-content: stretch;
  }
  .scenario-tabs button {
    flex: 1;
    font-size: 0.75rem;
    padding-inline: 7px;
  }
  .sample-panel,
  .workflow-panel {
    padding: 24px 18px;
  }
  .sample-message {
    gap: 11px;
  }
  .sample-message p {
    font-size: 0.875rem;
  }
  .sample-name {
    font-size: 0.75rem;
  }
  .sample-name span {
    font-size: 0.75rem;
    margin-left: 7px;
  }
  .sample-note {
    font-size: 0.75rem;
  }
  .console-controls {
    gap: 22px;
  }
  .console-controls .button {
    font-size: 0.75rem;
    min-height: 45px;
    gap: 16px;
  }
  .workflow-steps li {
    gap: 11px;
  }
  .workflow-steps h3 {
    font-size: 0.8125rem;
  }
  .workflow-steps p {
    font-size: 0.75rem;
  }
  .step-state {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
  }
  .workflow-topline > .small-label {
    font-size: 0.75rem;
  }
  .step-count {
    font-size: 0.75rem;
  }
  .demo-output {
    padding: 13px;
    min-height: 115px;
  }
  .console-footer {
    padding-inline: 18px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    line-height: 1.8;
  }
  .studio-section {
    padding: 59px 0 65px;
  }
  .studio-description {
    font-size: 1rem;
    margin-top: 23px;
  }
  .studio-secondary {
    font-size: 0.875rem;
  }
  .studio-manifesto {
    display: block;
  }
  .name-grid {
    border-bottom: 1px solid var(--line);
    padding-bottom: 24px;
  }
  .name-grid b {
    font-size: 5.3125rem;
  }
  .name-grid > span {
    font-size: 0.75rem;
  }
  .approach-list {
    border: 0;
    padding: 0;
    margin-top: 27px;
  }
  .approach-list li {
    gap: 19px;
    margin-top: 23px;
  }
  .approach-list h3 {
    font-size: 1rem;
  }
  .approach-list p {
    font-size: 0.8125rem;
  }
  .contact-layout {
    display: block;
  }
  .contact-section {
    padding: 53px 0 56px;
  }
  .contact-section h2 {
    font-size: 3.9375rem;
    letter-spacing: -3px;
  }
  .contact-section h2 + p {
    margin-top: 21px;
    font-size: 0.9375rem;
  }
  .contact-action {
    max-width: none;
    padding-top: 31px;
  }
  .button-cream {
    min-height: 54px;
    padding-inline: 20px;
    font-size: 0.875rem;
    gap: 40px;
  }
  .contact-action > p {
    font-size: 0.75rem;
    margin-top: 16px;
  }
  .site-footer {
    padding-top: 32px;
  }
  .footer-top .text-link {
    font-size: 0.75rem;
    gap: 10px;
  }
  .footer-top .wordmark {
    font-size: 1.375rem;
  }
  .footer-bottom {
    margin-top: 25px;
    padding-top: 17px;
    font-size: 0.75rem;
    gap: 14px;
    line-height: 1.5;
  }
  .footer-bottom > span:first-child {
    margin-right: auto;
  }
  .footer-link {
    font-size: 0.75rem;
  }
  .modal {
    width: calc(100vw - 28px);
    padding: 22px;
    max-height: calc(100dvh - 28px);
  }
  .modal h2 {
    font-size: 1.9375rem;
  }
  .modal-topline {
    gap: 12px;
    margin-bottom: 21px;
  }
  .modal-topline > .small-label {
    font-size: 0.75rem;
  }
  .modal-intro {
    font-size: 0.875rem;
  }
  .brief-result-actions {
    gap: 20px;
    flex-wrap: wrap;
  }
  .brief-result-actions .button {
    font-size: 0.75rem;
    gap: 15px;
  }
  .plan-block {
    margin-top: 18px;
    padding-top: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .button:hover:not(:disabled) {
    transform: none;
  }
}

@media (max-width: 560px) {
  .lab-section .section-kicker {
    flex-wrap: wrap;
    gap: 10px;
  }
  .console-title {
    flex-wrap: wrap;
    row-gap: 4px;
  }
  .console-footer {
    overflow-wrap: anywhere;
  }
  .sample-name span {
    display: block;
    margin-left: 0;
  }
  .sample-note {
    line-height: 1.7;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 15px;
  }
  .hero-caption {
    font-size: 0.75rem;
  }
  .project-meta {
    flex-wrap: wrap;
    gap: 8px;
  }
  .mini-workflow {
    gap: 5px;
  }
  .mini-workflow > span {
    font-size: 0.75rem;
    padding: 6px 7px;
  }
  .mini-workflow i {
    min-width: 2px;
  }
  .cake-workflow > span {
    font-size: 0.75rem;
    padding: 7px;
  }
  .workflow-steps p {
    font-size: 0.875rem;
  }
  .step-state {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .workflow-steps li {
    display: grid;
    grid-template-columns: 31px 1fr;
    gap: 11px;
  }
  .step-state {
    grid-column: 2;
    margin-left: 0;
    margin-top: -7px;
  }
  .workflow-steps li:not(:last-child)::after {
    top: 31px;
    left: 15px;
  }
  .workflow-steps h3 {
    font-size: 0.875rem;
  }
  .console-footer {
    font-size: 0.75rem;
  }
  .footer-bottom {
    font-size: 0.75rem;
  }
  .footer-link {
    font-size: 0.75rem;
  }
  .footer-top .text-link {
    font-size: 0.75rem;
  }
}

/* Preserve vivid accents while keeping regular text at readable contrast. */
.button-red {
  background: #d62b22;
}
.button-red:hover {
  background: #b91f17;
}
.principles-strip {
  color: var(--ink);
}
.contact-section .section-kicker {
  color: #391410;
}
.contact-section h2 + p {
  color: #24100d;
}
.contact-action > p {
  color: #391410;
}
.workflow-steps li.complete .step-node {
  background: #d62b22;
  border-color: #d62b22;
}
.project-visual {
  min-height: 22rem;
  aspect-ratio: auto;
}
.project-brand {
  overflow-wrap: anywhere;
}
.cake-brand {
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .project-visual {
    min-height: 24rem;
  }
  .console-title {
    flex-wrap: wrap;
  }
  .console-toolbar {
    flex-wrap: wrap;
  }
  .scenario-tabs {
    max-width: 100%;
  }
  .scenario-tabs button {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 560px) {
  .project-visual {
    min-height: 22rem;
  }
  .project-brand {
    font-size: clamp(1.8rem, 8.6vw, 2.5rem);
  }
  .mini-workflow {
    flex-wrap: wrap;
  }
  .mini-workflow > span {
    flex-shrink: 0;
  }
  .hero-actions .button,
  .contact-action .button {
    max-width: 100%;
    gap: 20px;
  }
  .hero-note {
    overflow-wrap: anywhere;
  }
  .hero-caption {
    max-width: 50%;
    overflow-wrap: anywhere;
  }
  .hero-bottom {
    font-size: 0.75rem;
  }
  .console-controls {
    flex-wrap: wrap;
  }
  .console-controls .button {
    max-width: 100%;
  }
  .project-info {
    gap: 15px;
  }
  .project-info > div {
    min-width: 0;
  }
  .project-info h3 {
    overflow-wrap: anywhere;
  }
  .project-info p {
    overflow-wrap: anywhere;
  }
  .button-cream {
    flex-wrap: wrap;
  }
  .modal h2 {
    overflow-wrap: anywhere;
  }
}
@media (min-width: 801px) {
  .project-visual {
    min-height: clamp(22rem, 30vw, 28rem);
  }
}
@media (max-width: 560px) {
  .contact-section h2 {
    font-size: clamp(2rem, 16vw, 3.9375rem);
    overflow-wrap: anywhere;
  }
}
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}
.service summary {
  grid-template-columns: max-content minmax(0, 1fr) 22px;
}
@media (max-width: 560px) {
  .site-header .wordmark {
    font-size: clamp(1rem, 5.65vw, 1.375rem);
  }
}
@media (max-width: 560px) {
  .name-grid b {
    font-size: clamp(3rem, 21.8vw, 5.3125rem);
  }
  .footer-top {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* Daniel's supplied picture is the visual target for these sections. */
.container { width: min(1500px, calc(100% - 7.2vw)); }
.site-header { position: absolute; top: 0; left: 0; width: 100%; height: clamp(68px, 6.5vw, 94px); padding-inline: 3.6vw; background: transparent; border: 0; }
.site-header .wordmark { font-size: clamp(20px, 2.2vw, 32px); font-weight: 750; letter-spacing: -0.3px; }
.site-header .brand-period { display: none; }
.desktop-nav { margin: 0; gap: 28px; }
.desktop-nav a { font: 0.75rem/1.5 var(--mono); letter-spacing: 1px; }
.header-contact { border: 0; padding: 0; color: #ff514a; font: 0.75rem/1.5 var(--mono); letter-spacing: 1px; gap: 8px; }
.header-contact:hover { background: transparent; color: #fff; }
.header-contact > span { font-size: 1.25rem; }
.hero { min-height: clamp(610px, 60.35vw, 1040px); }
.hero-background { background: #080c0c url("./assets/snl-workbench-v2.webp") center / cover no-repeat; }
.hero-shade { background: linear-gradient(90deg, #05090935, transparent 65%), linear-gradient(0deg, #04080890, transparent 22%); }
.hero-inner { display: block; padding-top: clamp(110px, 11.2vw, 178px); padding-bottom: 82px; }
.hero-copy { max-width: 68%; }
.hero .eyebrow { display: block; color: #c3c6c5; font-size: clamp(10px, 0.97vw, 14px); letter-spacing: 2px; margin: 0; }
.hero-rule { width: 27px; height: 3px; background: var(--red); margin: 26px 0 20px; }
.hero .hero-brand { font-family: Impact, "Arial Narrow", var(--sans); font-size: clamp(64px, 8.6vw, 136px); font-weight: 900; line-height: 1; letter-spacing: -0.8px; white-space: nowrap; }
.hero-brand > span { color: var(--red); }
.hero-headline { margin-top: 20px; font-size: clamp(34px, 4.4vw, 68px); font-weight: 400; line-height: 1.05; letter-spacing: -1px; }
.hero-description { margin-top: 24px; color: #f0f2ef; font-size: clamp(16px, 1.65vw, 24px); line-height: 1.4; }
.hero-actions { margin-top: 34px; gap: 36px; flex-wrap: wrap; }
.hero-link { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid #a0a6a0; min-height: 40px; padding-bottom: 4px; font-size: clamp(14px, 1.4vw, 20px); }
.hero-link:first-child { border-color: #ef4b42; }
.hero-link span { color: #ff514a; font-size: 1.6em; line-height: 1; }
.hero-link:hover { color: #ff746d; }
.hero-bottom { position: absolute; bottom: 32px; left: 3.6vw; width: calc(100% - 7.2vw); min-height: 20px; padding: 0; border: 0; color: #e1e5df; font-size: clamp(9px, 0.98vw, 13px); letter-spacing: 1.2px; }
.status-square { background: #08c9c5; box-shadow: 0 0 9px #08c9c545; }
.hero-art-note { position: absolute; right: 3.6vw; bottom: 12px; color: #bcc3be; font: 0.5625rem/1.5 var(--mono); letter-spacing: 1px; }
.work-section { padding: 43px 0 38px; background: #f4f3f0; }
.work-section .section-kicker, .lab-section .section-kicker { justify-content: flex-start; gap: 18px; font-size: 0.625rem; letter-spacing: 1.6px; margin-bottom: 18px; }
.work-section .section-kicker::before, .lab-section .section-kicker::before { content: ""; width: 27px; height: 3px; flex-shrink: 0; background: var(--red); }
.work-section .section-heading { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); align-items: center; gap: 36px; margin-bottom: 30px; }
.work-section .section-kicker { margin-bottom: 8px; }
.work-section .section-heading { margin-bottom: 25px; }
.work-section h2 { font-size: clamp(36px, 5.6vw, 84px); font-weight: 800; letter-spacing: -2.3px; }
.work-section .section-intro { margin: 0; padding: 0; }
.work-section .section-intro p { color: #363c37; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.5; }
.projects-grid { gap: 24px; }
.project-preview { position: relative; display: block; width: 100%; aspect-ratio: 464 / 312; padding: 0; overflow: hidden; border: 1px solid #c6c8c3; border-radius: 3px; background: #202521; }
.preview-art { display: block; position: absolute; inset: 0; background-image: url("./assets/homepage-reference.webp"); background-size: 220.69% 492.31%; background-repeat: no-repeat; transition: filter 0.2s; }
.battlefield-preview .preview-art { background-position: 6.607% 62.909%; }
.cake-preview .preview-art { background-position: 93.571% 62.909%; }
.project-preview:hover .preview-art { filter: brightness(1.08); }
.preview-caption { position: absolute; right: 8px; bottom: 8px; background: #101716ed; padding: 4px 7px; color: #f4f4ef; font: 0.5625rem/1.5 var(--mono); letter-spacing: 0.7px; }
.preview-caption > span { margin-left: 5px; }
.project-info { margin-top: 14px; align-items: center; gap: 12px; }
.project-info h3 { font: 700 0.6875rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: 1.7px; }
.pilot-status { display: flex; align-items: center; gap: 9px; font: 0.5625rem/1.5 var(--mono); letter-spacing: 0.8px; }
.lab-section { position: relative; background: #070d0c; padding: 42px 0 46px; }
.lab-section .section-heading { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-bottom: 20px; }
.lab-section h2 { font-size: clamp(32px, 4.65vw, 70px); font-weight: 800; letter-spacing: -1.6px; line-height: 1.08; }
.lab-section .section-intro { margin: 0; max-width: none; }
.lab-section .section-intro p { font-size: clamp(13px, 1.2vw, 17px); color: #e2e7e0; }
.lab-section .section-intro .small-label { font-size: 0.5625rem; margin-top: 9px; color: #b4c1b3; letter-spacing: 0.7px; }
.journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 35px; width: 84%; margin: 0 0 0 3.3%; }
.journey-stage { position: relative; text-align: center; }
.journey-icon { display: inline-grid; place-items: center; width: clamp(78px, 7.5vw, 112px); height: clamp(78px, 7.5vw, 112px); background: transparent; color: #fff; border: 1.5px solid #f2f5ef; border-radius: 50%; transition: background 0.2s, border-color 0.2s; }
.journey-icon:hover, .journey-icon[aria-pressed="true"] { background: #ff3b3018; border-color: #ff675f; }
.journey-icon svg { width: 35%; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.journey-stage:not(:last-child)::after { content: ""; position: absolute; width: calc(100% - 92px); height: 1px; left: calc(50% + 63px); top: clamp(39px, 3.75vw, 56px); background: #ff443b; }
.journey-stage:not(:last-child)::before { content: ""; position: absolute; width: 7px; height: 7px; border-top: 1px solid #ff443b; border-right: 1px solid #ff443b; transform: rotate(45deg); left: calc(150% - 34px); top: calc(clamp(39px, 3.75vw, 56px) - 3px); }
.journey-stage h3 { font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; letter-spacing: -0.4px; margin: 17px 0 10px; }
.journey-stage p { font-size: clamp(14px, 1.35vw, 19px); line-height: 1.45; color: #d6ded2; }
.lab-detail { margin-top: 34px; }
.lab-detail > summary { list-style: none; width: fit-content; cursor: pointer; padding: 8px 0; color: #c4cfc1; font: 0.6875rem/1.6 var(--mono); border-bottom: 1px solid #65725f; }
.lab-detail > summary::-webkit-details-marker { display: none; }
.lab-detail > summary span { margin-left: 10px; color: #ff675f; }
.lab-detail[open] > summary { margin-bottom: 22px; }
@media (min-width: 801px) {
  .lab-detail:not([open]) { margin-top: 0; }
  .lab-detail:not([open]) > summary { position: absolute; left: 3.6vw; bottom: 10px; }
}
.demo-output:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.services-section { padding-top: 65px; }
.services-layout { padding-top: 0; border: 0; }
@media (min-width: 1600px) {
  .hero-bottom { left: calc((100% - 1500px) / 2); width: 1500px; }
}
@media (max-width: 800px) {
  .site-header { height: 72px; padding-inline: 3.6vw; }
  .mobile-nav { top: 72px; background: #080c0c; }
  .hero { min-height: 680px; }
  .hero-inner { padding-top: 130px; padding-bottom: 100px; }
  .hero-copy { max-width: 90%; }
  .hero-shade { background: linear-gradient(90deg, #020606b3, #02060645), linear-gradient(0deg, #040808d9, transparent 35%); }
  .hero .hero-brand { font-size: clamp(56px, 10.5vw, 84px); }
  .hero-headline { font-size: clamp(34px, 5.5vw, 44px); }
  .hero-bottom { bottom: 35px; }
  .hero-bottom-right { display: none; }
  .work-section .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .work-section .section-intro br { display: none; }
  .work-section .section-intro p { max-width: 460px; }
  .project-info { align-items: flex-start; flex-wrap: wrap; }
  .lab-section .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .lab-section h2 { font-size: clamp(32px, 5.8vw, 46px); }
  .lab-section .section-intro { max-width: 520px; }
  .lab-section .section-intro p { font-size: 0.9375rem; }
  .journey-grid { width: 100%; margin: 0; gap: 20px; }
  .journey-stage:not(:last-child)::after { width: calc(100% - 96px); left: calc(50% + 52px); }
  .journey-stage:not(:last-child)::before { left: calc(150% - 45px); }
  .journey-stage h3 { font-size: 1.125rem; }
  .journey-stage p { font-size: 0.8125rem; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 40px); }
  .site-header { padding-inline: 20px; }
  .site-header .wordmark { font-size: 1.25rem; }
  .hero { min-height: 710px; }
  .hero-inner { padding-top: 130px; }
  .hero-copy { max-width: 100%; }
  .hero-background { background-position: 61% center; }
  .hero-shade { background: linear-gradient(90deg, #040808db, #04080860), linear-gradient(0deg, #040808df, transparent 60%); }
  .hero .hero-brand { font-size: clamp(40px, 11.4vw, 68px); letter-spacing: -0.3px; }
  .hero-headline { font-size: clamp(30px, 8.2vw, 42px); margin-top: 20px; letter-spacing: -0.6px; }
  .hero-description { max-width: 285px; font-size: 1rem; margin-top: 23px; }
  .hero .eyebrow { font-size: 0.5625rem; letter-spacing: 1.3px; }
  .hero-actions { flex-direction: row; align-items: center; gap: 18px 24px; margin-top: 32px; }
  .hero-link { font-size: 0.8125rem; }
  .hero-bottom { left: 20px; width: calc(100% - 40px); font-size: 0.5625rem; }
  .hero-art-note { right: 20px; }
  .work-section { padding: 35px 0; }
  .work-section h2 { font-size: clamp(32px, 8.9vw, 46px); letter-spacing: -1.5px; }
  .work-section .section-kicker, .lab-section .section-kicker { font-size: 0.5625rem; letter-spacing: 1px; gap: 12px; }
  .projects-grid { grid-template-columns: 1fr; gap: 26px; }
  .project-info { gap: 6px 12px; }
  .pilot-status { font-size: 0.5625rem; }
  .preview-caption { font-size: 0.5rem; }
  .lab-section { padding: 35px 0; }
  .lab-section h2 { font-size: clamp(32px, 8.5vw, 44px); }
  .lab-section .section-heading { margin-bottom: 30px; }
  .journey-grid { grid-template-columns: 1fr; gap: 30px; }
  .journey-stage { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 0 22px; text-align: left; }
  .journey-icon { grid-row: span 2; width: 78px; height: 78px; }
  .journey-stage h3 { margin: 8px 0 5px; font-size: 1.3125rem; }
  .journey-stage p { font-size: 0.875rem; }
  .journey-stage:not(:last-child)::before, .journey-stage:not(:last-child)::after { display: none; }
  .lab-detail { margin-top: 27px; }
}
