:root {
  color-scheme: light;
  --paper: #edf2ff;
  --surface: #eef3ff;
  --field: #f8fbff;
  --ink: #141a37;
  --sub: #42506b;
  --line: #c7d4ed;
  --accent: #2854d9;
  --accent-ink: #254dbb;
  --on-accent: #ffffff;
  --sans: "Space Grotesk", "Segoe UI", sans-serif;
  --mono: "Consolas", "Liberation Mono", monospace;
  --gutter: clamp(1.15rem, 5vw, 5.5rem);
  --radius: 14px;
  --nav-height: 62px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #10172c;
  --surface: #19233d;
  --field: #1e2a46;
  --ink: #f2f5ff;
  --sub: #c3cde5;
  --line: #425578;
  --accent: #99bcff;
  --accent-ink: #b7cfff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --paper: #10172c;
    --surface: #19233d;
    --field: #1e2a46;
    --ink: #f2f5ff;
    --sub: #c3cde5;
    --line: #425578;
    --accent: #99bcff;
    --accent-ink: #b7cfff;
  }
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-height) + 12px);
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
ol,
ul,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.08;
}
h1,
h2 {
  font-weight: 700;
  letter-spacing: -0.065em;
}
h2 {
  font-size: clamp(2.45rem, 4.1vw, 4.15rem);
}
h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.045em;
}
p {
  color: var(--sub);
}
strong {
  color: var(--ink);
}
::selection {
  color: var(--on-accent);
  background: var(--accent);
}
:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(calc(100% - var(--gutter) * 2), 1312px);
  margin-inline: auto;
}
.period {
  color: var(--accent-ink);
}
h1 .period,
h2 .period {
  color: var(--accent);
}
.skip-link {
  position: fixed;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  z-index: 3;
}
.skip-link:focus {
  transform: translateY(0);
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  display: inline-block;
  background-color: currentColor;
  mask: var(--icon) center / contain no-repeat;
}

/* The sticky header sits above content. The native dialog uses the top layer. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.27rem;
  font-weight: 700;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.monogram {
  width: 2.08rem;
  height: 2.08rem;
  display: grid;
  place-items: center;
  padding-right: 0.12em;
  font: 700 1.24rem/1 var(--sans);
  letter-spacing: -0.13em;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius);
}
#site-nav,
.nav-actions,
.inline-links,
.footer-links,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
}
#site-nav {
  gap: clamp(0.9rem, 2.2vw, 2.5rem);
}
#site-nav a {
  font-size: 0.89rem;
  font-weight: 500;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  position: relative;
}
#site-nav a[aria-current]::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
}
.nav-actions {
  gap: 0.8rem;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 1.08rem;
  border: none;
  border-radius: var(--radius);
}
.icon-button:hover {
  background: var(--surface);
}
.menu-toggle,
.nav-mobile,
.menu-toggle .i-x,
.theme-toggle .i-sun {
  display: none;
}
html[data-theme="dark"] .theme-toggle .i-moon {
  display: none;
}
html[data-theme="dark"] .theme-toggle .i-sun {
  display: block;
}
.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.62rem;
  font-size: 0.95rem;
  font-weight: 650;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
.button {
  padding: 0.8rem 1.2rem;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  line-height: 1.2;
}
.button-ink {
  background: var(--ink);
  color: var(--paper);
}
.button-accent {
  background: var(--accent);
  color: var(--on-accent);
}
.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: var(--field);
}
.nav-actions .button {
  font-size: 0.88rem;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
}
.text-link {
  min-height: 44px;
}
.text-link:hover,
#site-nav a:hover,
.footer-links a:hover {
  color: var(--accent-ink);
}
.footer-inner {
  display: flex;
  padding-block: 1.3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--sub);
  font-size: 0.83rem;
}
.footer-links {
  gap: 1.3rem;
  flex-wrap: wrap;
}
.footer-links a {
  min-height: 44px;
  display: inline-flex;
  gap: 0.2rem;
  align-items: center;
}
dialog {
  width: min(92vw, 490px);
  max-height: 90dvh;
  overflow: auto;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0;
  border-radius: var(--radius);
}
dialog::backdrop {
  background: rgb(20 21 19 / 0.62);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-inner {
  position: relative;
  padding: clamp(1.4rem, 4vw, 2.4rem);
}
.dialog-close {
  position: absolute;
  right: 0.6rem;
  top: 0.6rem;
}
.dialog-inner > p {
  margin-top: 0.6rem;
  padding-right: 1rem;
}
form {
  display: grid;
  gap: 1rem;
}
.dialog-inner form {
  margin-top: 1.25rem;
}
.field {
  display: grid;
  gap: 0.35rem;
}
label,
legend {
  font-weight: 650;
  font-size: 0.9rem;
}
input,
textarea,
select {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--sub);
  background: var(--field);
  color: var(--ink);
  padding: 0.68rem 0.8rem;
  border-radius: var(--radius);
}
textarea {
  resize: vertical;
}
::placeholder {
  color: var(--sub);
}
.form-actions {
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  .hero-copy {
    animation: enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
  .button,
  .ico,
  .project-photo img {
    transition: transform 0.22s ease-out;
  }
  .button:hover {
    transform: translateY(-2px);
  }
  .button:active {
    transform: scale(0.98);
  }
  .featured-project a:hover img {
    transform: scale(1.035);
  }
  .text-link:hover .ico,
  .service-row:hover > .ico,
  .featured-project a:hover .project-caption .ico {
    transform: translate(2px, -2px);
  }
  @keyframes enter {
    from {
      transform: translateY(9px);
    }
    to {
      transform: translateY(0);
    }
  }
}

@media (max-width: 900px) {
  .header-inner {
    gap: 0.5rem;
  }
  #site-nav {
    gap: 0.95rem;
  }
  .nav-actions {
    gap: 0.25rem;
  }
}
@media (max-width: 767px) {
  :root {
    --nav-height: 62px;
  }
  .wordmark {
    font-size: 1.09rem;
    gap: 0.55rem;
  }
  .monogram {
    width: 1.9rem;
    height: 1.9rem;
    font-size: 1.13rem;
  }
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    min-height: var(--nav-height);
  }
  .js .header-inner {
    height: var(--nav-height);
  }
  #site-nav {
    width: 100%;
    order: 3;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.35rem;
  }
  .js #site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--paper);
    border-block: 1px solid var(--line);
    padding: 0.65rem var(--gutter) 1rem;
  }
  .js #site-nav.is-open {
    display: grid;
  }
  #site-nav a {
    width: fit-content;
  }
  .nav-desktop {
    display: none;
  }
  .nav-mobile,
  .js .menu-toggle {
    display: inline-grid;
  }
  .menu-toggle[aria-expanded="true"] .i-x {
    display: block;
  }
  .menu-toggle[aria-expanded="true"] .i-menu-2 {
    display: none;
  }
  .footer-inner {
    align-items: start;
    flex-direction: column;
    gap: 0.2rem;
  }
}
@media (max-width: 380px) {
  .nav-actions .button {
    display: none;
  }
  .nav-actions {
    gap: 0;
  }
  .nav-actions .button {
    padding-inline: 0.55rem;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body:has(.inner-page) .nav-actions .button {
    display: none;
  }
}

/* Interior portfolio pages share the homepage type scale and palette. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.inner-page {
  padding-block: clamp(2.5rem, 5vw, 5rem) clamp(4rem, 7vw, 7rem);
}
.inner-page + .footer {
  border-top: 1px solid var(--line);
}
.page-intro {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.inner-page h1 {
  font-size: clamp(3rem, 6.3vw, 6.6rem);
  line-height: 1;
}
.page-intro > p {
  margin-top: 1.1rem;
  max-width: 56ch;
  font-size: clamp(1.03rem, 1.5vw, 1.22rem);
}
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 0 1.5rem;
}
.filter-bar button {
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  min-height: 42px;
  border-radius: var(--radius);
  font-size: 0.88rem;
}
.filter-bar button[aria-pressed="true"] {
  color: var(--on-accent);
  background: var(--accent);
  border-color: var(--accent);
}
.archive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(2rem, 5vw, 5rem);
}
.archive-entry {
  border-top: 1px solid var(--line);
  padding-block: 1.7rem;
  display: flex;
  gap: 1.2rem;
}
.archive-photo {
  flex: 0 0 23%;
}
.archive-photo img {
  width: 100%;
  height: 11rem;
  border-radius: var(--radius);
  object-fit: cover;
}
.archive-text {
  min-width: 0;
}
.archive-text h2,
.timeline h2,
.planner h2,
.planner-grid aside h2,
.prose h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.6rem);
}
.archive-text h2 {
  margin: 0.35rem 0 0.6rem;
}
.archive-text > p:not(.work-kind) {
  max-width: 52ch;
}
.archive-text .inline-links {
  margin-top: 0.35rem;
}
.skills {
  display: flex;
  gap: 0.4rem 0.8rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin-top: 0.8rem;
}
.skills li {
  color: var(--sub);
  font: 500 0.75rem/1.5 var(--mono);
}
.skills li + li {
  border-left: 1px solid var(--line);
  padding-left: 0.8rem;
}
.interior-section {
  padding-top: clamp(2.8rem, 5.5vw, 5.5rem);
}
.interior-section > h2 {
  margin-bottom: 1.5rem;
}
.about-lead h1 {
  margin: 0.5rem 0 1rem;
}
.detail-list article {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding: 1.6rem 0;
}
.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.4rem;
}
.principles p {
  margin-top: 0.6rem;
}
.timeline {
  list-style: none;
  padding: 0;
}
.timeline li {
  display: grid;
  grid-template-columns: minmax(8rem, 0.4fr) 1.6fr;
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.timeline strong {
  display: block;
  margin: 0.4rem 0 0.7rem;
}
.timeline p {
  max-width: 64ch;
}
.planner-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 7%;
  align-items: start;
}
.direct-links {
  margin-top: 1rem;
}
.direct-links > div {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
}
.direct-links a {
  white-space: normal;
  overflow-wrap: anywhere;
}
.planner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.15rem, 3vw, 2.5rem);
}
.planner form {
  margin-top: 1.4rem;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
legend {
  margin-bottom: 0.5rem;
  padding: 0;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}
.choice {
  position: relative;
  cursor: pointer;
}
.choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.choice > span {
  display: grid;
  align-content: start;
  height: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0.65rem;
  background: var(--field);
}
.choice input:checked + span {
  border-color: var(--accent-ink);
  box-shadow: inset 0 0 0 1px var(--accent-ink);
}
.choice input:focus-visible + span {
  outline: 3px solid var(--accent-ink);
  outline-offset: 2px;
}
.choice small,
.form-help {
  color: var(--sub);
  font-weight: 400;
  font-size: 0.85rem;
  line-height: 1.45;
}
.faqs details {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}
.faqs summary {
  width: fit-content;
  font-size: 1.1rem;
  font-weight: 600;
}
.faqs p {
  max-width: 64ch;
  margin-top: 0.65rem;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 0 3rem;
  padding-block: 1.4rem;
  border-block: 1px solid var(--line);
}
.metrics dt {
  font: 0.82rem var(--mono);
  color: var(--sub);
}
.metrics dd {
  font-size: clamp(1.6rem, 3vw, 3rem);
  letter-spacing: -0.055em;
  margin: 0.45rem 0 0;
  font-weight: 600;
}
.prose {
  max-width: 66ch;
}
.prose h2 {
  margin-top: 1.8rem;
}
.prose p {
  margin-top: 0.8rem;
  line-height: 1.65;
}
.prose .inline-links {
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .archive-grid,
  .detail-list article,
  .principles,
  .planner-grid,
  .timeline li {
    grid-template-columns: 1fr;
  }
  .timeline li,
  .detail-list article {
    gap: 0.65rem;
  }
  .principles {
    gap: 1.45rem;
  }
  .planner-grid {
    gap: 2rem;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .archive-photo {
    flex-basis: 22%;
  }
}
@media (max-width: 450px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
  .choice > span {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
  }
}
.theme-toggle[data-mode="dark"] .i-sun {
  display: block;
}
.theme-toggle[data-mode="dark"] .i-moon {
  display: none;
}
html:not(.js) .theme-toggle,
html:not(.js) .filter-bar,
html:not(.js) #dedicatedPlannerForm {
  display: none;
}

/* Refracted surfaces share the page's color scheme, including the system fallback. */
:root {
  --glass: light-dark(rgb(249 252 255 / 0.68), rgb(27 38 69 / 0.88));
  --rim: light-dark(rgb(255 255 255 / 0.94), rgb(165 197 255 / 0.25));
  --lift: 0 6px 18px light-dark(rgb(53 76 164 / 0.11), rgb(0 3 20 / 0.22)), inset 0 1px 2px var(--rim);
  --blue-button: linear-gradient(115deg, #0963ce, #424ace);
}
body {
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(
      light-dark(rgb(240 246 255 / 0.08), rgb(12 19 42 / 0.91)),
      light-dark(rgb(229 238 255 / 0.18), rgb(19 27 54 / 0.94))
    ),
    url("assets/glass-ribbons.webp") center / cover;
}
.container {
  max-width: 1180px;
}
.site-header {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom-color: color-mix(in srgb, var(--line) 45%, transparent);
}
.monogram {
  color: white;
  background: linear-gradient(135deg, #1abdf2, #3062e9 65%, #8667df);
  border-radius: 10px;
  box-shadow: var(--lift);
  letter-spacing: -0.08em;
}
#site-nav {
  gap: 0.3rem;
}
#site-nav a {
  padding: 0.32rem clamp(0.65rem, 1.1vw, 1.1rem);
  min-height: 35px;
  border-radius: 2rem;
}
#site-nav a[aria-current] {
  background: color-mix(in srgb, var(--accent) 14%, transparent);
  color: var(--accent-ink);
}
#site-nav a[aria-current]::after {
  display: none;
}
.button {
  border-radius: 13px;
}
.button-ink,
.button-accent,
.filter-bar button[aria-pressed="true"] {
  background: var(--blue-button);
  color: white;
  box-shadow:
    0 4px 15px #334ddd36,
    inset 0 1px 1px #ffffff66;
}
.button-outline,
.theme-toggle {
  background: var(--glass);
  border: 1px solid var(--rim);
  box-shadow: var(--lift);
}
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
}
.nav-actions .theme-toggle {
  order: 1;
}
.menu-toggle {
  order: 2;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 2rem;
  padding-block: 1.75rem 1.3rem;
}
.hero-copy {
  min-width: 0;
}
.availability,
.trust span,
.chips span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--glass);
  border: 1px solid var(--rim);
  border-radius: 999px;
}
.availability {
  color: var(--sub);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
}
.availability > span {
  width: 7px;
  height: 7px;
  background: #10975c;
  border-radius: 50%;
}
.hero h1 {
  font-size: clamp(2.15rem, 3.65vw, 3.65rem);
  line-height: 1.06;
  letter-spacing: -0.057em;
  margin: 0.65rem 0;
}
.hero h1 small {
  font-size: 0.67em;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(105deg, light-dark(#176cc7, #88ceff), light-dark(#3346cc, #b0a8ff));
  background-clip: text;
  color: transparent;
}
.hero-intro {
  max-width: 43ch;
  line-height: 1.5;
  font-size: 1rem;
}
.hero-actions,
.trust,
.chips,
.inline-links {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.hero-actions {
  margin-top: 1rem;
}
.trust {
  margin-top: 0.95rem;
  gap: 0.4rem;
}
.trust span {
  padding: 0.32rem 0.55rem;
  font-size: 0.71rem;
  color: var(--sub);
}
.trust .ico {
  color: var(--accent-ink);
}
.hero-scene {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  aspect-ratio: 1.87;
  perspective: 950px;
}
.scene-tilt {
  width: 75%;
  transform: rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}
.window-art {
  width: 100%;
  height: auto;
  filter: drop-shadow(4px 16px 16px #6469ba38);
}
.orbit {
  position: absolute;
  width: 100%;
  height: 49%;
  border: 2px solid #fff9;
  border-top-color: #acbaff9c;
  border-radius: 50%;
  transform: rotate(-15deg);
  box-shadow: 0 0 8px #a6a5f54a;
}
.scene-token {
  width: clamp(34px, 3.6vw, 55px);
  aspect-ratio: 1;
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid #ffffffe6;
  color: #365ad3;
  background: linear-gradient(140deg, #fff, #dbe9ffbd 65%, #b5bcffbd);
  box-shadow:
    inset 1px 2px 4px white,
    inset -3px -3px 6px #8589d64d,
    4px 7px 14px #5e66b32c;
  border-radius: 26%;
  font-size: 1.5rem;
  font-weight: 700;
  transform: rotate(var(--angle));
}
.token-code {
  top: -1%;
  right: 26%;
  --angle: 9deg;
  color: white;
  background: linear-gradient(140deg, #70e1ff, #2588e6, #747df1);
}
.token-ai {
  right: 2%;
  top: 27%;
  --angle: 11deg;
  color: #5446bb;
}
.token-web {
  left: 1%;
  top: 43%;
  --angle: -10deg;
}
.token-auto {
  bottom: 14%;
  right: 6%;
  --angle: 9deg;
  color: #957015;
}
#main h2 {
  font-size: clamp(1.45rem, 2.1vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.05em;
}
.inner-page#main .page-intro h1,
.inner-page#main .about-lead h1 {
  font-size: clamp(2.4rem, 4.8vw, 4.6rem);
}
.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.25rem;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.5rem;
}
.services-section,
.project-section,
.studio-row {
  padding-block: 0.85rem;
}
.service-intro,
.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.service-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0 1rem;
}
.service-intro .section-label {
  grid-column: 1/-1;
}
.service-intro > p:last-child {
  font-size: 0.85rem;
}
.service-list,
.featured-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.8rem;
}
.service-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.service-row,
.featured-project,
.planner,
.archive-entry,
.timeline li,
.contact-band,
.metrics,
.dialog-inner {
  background: var(--glass);
  border: 1px solid var(--rim);
  border-radius: var(--radius);
  box-shadow: var(--lift);
}
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 0.75rem;
}
.service-icon {
  color: var(--hue);
  background: linear-gradient(140deg, #fff, color-mix(in srgb, var(--hue) 23%, white));
  box-shadow: var(--lift);
  border-radius: 11px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.service-row {
  --hue: #3c67ce;
  background: linear-gradient(115deg, color-mix(in srgb, var(--hue) 9%, var(--glass)), var(--glass));
}
.service-row:nth-child(2) {
  --hue: #7655c4;
}
.service-row:nth-child(3) {
  --hue: #197dae;
}
.service-row:nth-child(4) {
  --hue: #21836a;
}
.service-row h3,
.project-caption h3 {
  font-size: 1.04rem;
  letter-spacing: -0.035em;
}
.service-row p,
.featured-project p,
.bio p:not(.section-label),
.process-list p {
  font-size: 0.83rem;
  line-height: 1.45;
  margin-top: 0.25rem;
}
.service-row > .ico,
.project-caption > .ico {
  height: 23px;
  width: 23px;
  color: var(--accent-ink);
}
.section-bar .text-link {
  font-size: 0.86rem;
}
.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.featured-project {
  min-width: 0;
  padding: 0.5rem 0.5rem 0.75rem;
}
.featured-project a {
  display: block;
}
.project-photo {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.project-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 2.9;
  object-fit: cover;
}
.project-photo strong {
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 39%;
  color: white;
  line-height: 1.12;
  font-size: clamp(1rem, 1.55vw, 1.45rem);
  letter-spacing: -0.045em;
}
.featured-project:nth-child(2) .project-photo strong {
  color: #20275c;
}
.project-caption {
  padding: 0.55rem 0.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.featured-project > p,
.chips {
  padding-inline: 0.4rem;
}
.chips {
  margin-top: 0.45rem;
  gap: 0.35rem;
}
.chips span {
  font-size: 0.66rem;
  padding: 0.1rem 0.5rem;
  color: var(--sub);
}
.studio-row {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}
.bio {
  display: grid;
  grid-template-columns: minmax(85px, 25%) 1fr;
  align-items: center;
  gap: 1rem;
}
.bio img {
  width: 100%;
  height: auto;
  border: 2px solid var(--rim);
  border-radius: 24%;
  box-shadow: var(--lift);
}
.inline-links {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}
.inline-links a {
  display: inline-flex;
  align-items: center;
}
.process-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-top: 0.7rem;
}
.process-list li {
  text-align: center;
}
.process-list li > .ico {
  font-size: 1.3rem;
  color: var(--accent-ink);
}
.process-list h3 {
  font-size: 0.91rem;
  margin-top: 0.25rem;
}
.process-list p {
  font-size: 0.76rem;
}
.contact-band {
  margin-block: 1rem;
  padding: 1.3rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(
    110deg,
    color-mix(in srgb, #879cf0 20%, var(--glass)),
    var(--glass),
    color-mix(in srgb, #87d6f0 18%, var(--glass))
  );
}
.contact-band > div {
  margin-right: auto;
}
.contact-band p {
  font-size: 0.88rem;
  margin-top: 0.3rem;
}
.archive-grid,
.timeline {
  gap: 1rem;
}
.archive-entry,
.timeline li,
.metrics {
  padding: 1.3rem;
}
.timeline {
  display: grid;
}
.about-lead {
  display: grid;
  grid-template-columns: minmax(180px, 0.55fr) 1.45fr;
  gap: 2rem;
  align-items: center;
}
.about-lead img {
  border-radius: 22px;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: 50% 32%;
}
@media (prefers-reduced-motion: no-preference) {
  .window-art {
    animation: levitate 6s ease-in-out infinite;
  }
  .scene-token {
    animation: orbit-bob 5s ease-in-out infinite;
  }
  .token-ai,
  .token-auto {
    animation-delay: -2.5s;
  }
  .scene-tilt {
    transition: transform 0.25s ease-out;
  }
  .service-row,
  .featured-project {
    transition: transform 0.22s ease;
  }
  .reveal {
    animation: glass-enter 0.5s ease-out both;
  }
  @keyframes levitate {
    50% {
      transform: translateY(-7px) rotate(-1.3deg);
    }
  }
  @keyframes orbit-bob {
    50% {
      transform: translateY(6px) rotate(calc(var(--angle) + 4deg));
    }
  }
  @keyframes glass-enter {
    from {
      opacity: 0.35;
      transform: translateY(10px);
    }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .service-row:hover,
  .featured-project:hover {
    transform: translateY(-4px);
  }
}
@media (max-width: 1023px) {
  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .studio-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 767px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding-block: 1.5rem 0.65rem;
  }
  .hero h1 {
    font-size: clamp(1.95rem, 7.5vw, 3.3rem);
  }
  .hero-scene {
    width: min(100%, 470px);
    margin: auto;
  }
  .service-intro {
    display: block;
  }
  .service-intro > p:last-child {
    margin-top: 0.45rem;
  }
  .featured-grid,
  .about-lead {
    grid-template-columns: 1fr;
  }
  .project-photo img {
    aspect-ratio: 2.7;
  }
  .project-photo strong {
    font-size: 1.4rem;
  }
  .studio-row {
    gap: 1.5rem;
  }
  .contact-band {
    flex-wrap: wrap;
    padding: 1.15rem;
  }
  .contact-band > div {
    width: 100%;
  }
  .js #site-nav.is-open {
    background: var(--field);
  }
}
@media (max-width: 520px) {
  .service-list {
    grid-template-columns: 1fr;
  }
  .service-row {
    padding: 0.65rem 0.8rem;
  }
  .process-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .trust {
    gap: 0.3rem;
  }
  .trust span {
    font-size: 0.66rem;
  }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header {
    backdrop-filter: none;
    background: var(--paper);
  }
  :root {
    --glass: var(--surface);
  }
}
@media (min-width: 768px) and (max-width: 960px) {
  #site-nav {
    gap: 0;
  }
  #site-nav a {
    padding-inline: 0.46rem;
    font-size: 0.84rem;
  }
  .header-inner .wordmark {
    font-size: 1.03rem;
    gap: 0.4rem;
  }
  .nav-actions .button {
    padding-inline: 0.7rem;
  }
}

.cta-laptop {
  width: clamp(80px, 10vw, 140px);
  height: auto;
  margin-block: -0.65rem;
}
@media (max-width: 767px) {
  .cta-laptop {
    display: none;
  }
}
