/* The Index — an editorial system for Daniel Thompson. */
:root {
  --paper: #f8f8f4;
  --ink: #191b21;
  --muted: #575963;
  --rule: #d5d6d3;
  --accent: #2347f5;
  --accent-ink: #fff;
  --sidebar: 174px;
  --gutter: clamp(28px, 4.5vw, 88px);
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
  scrollbar-gutter: stable;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button,
input {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
img {
  display: block;
  max-width: 100%;
}
button {
  border-radius: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}
button:focus-visible {
  position: relative;
  z-index: 2;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--accent);
  color: var(--accent-ink);
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 2000;
  padding: 14px 20px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-shell {
  --rail: var(--sidebar);
}
.page {
  margin-left: var(--rail);
  min-width: 0;
  transition: margin-left 0.45s ease;
  overflow: clip;
}
.section {
  padding: 88px var(--gutter);
  border-bottom: 1px solid var(--rule);
  background-image: url("assets/grain.svg");
  background-size: 240px;
}
@media (min-width: 761px) {
  .section,
  .page > .footer {
    padding-left: calc(var(--gutter) + var(--sidebar) - var(--rail));
    transition: padding-left 0.45s ease;
  }
}
.section-label,
.eyebrow,
.hero-topline,
.hero-foot,
.art-caption,
.dialog-kicker {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 42px;
}
.section-label > span {
  color: var(--muted);
  text-align: right;
  letter-spacing: 0.04em;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}
.section-heading h2 {
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.055em;
}
.section-heading > p {
  max-width: 315px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
/* A vertical index, with room for controls at the foot. */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--rail);
  padding: 42px 24px 24px 28px;
  border-right: 1px solid var(--rule);
  background: var(--paper);
  z-index: 30;
  display: flex;
  flex-direction: column;
  transition:
    width 0.45s ease,
    padding 0.45s ease;
  overflow-x: hidden;
  overflow-y: auto;
}
.sidebar-top {
  position: relative;
  min-height: 44px;
}
.brand {
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  width: 84px;
  font-size: 15px;
  line-height: 1.08;
  letter-spacing: -0.045em;
  overflow-wrap: normal;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease 0.31s,
    transform 0.3s ease 0.28s,
    visibility 0s linear 0.31s;
}
.brand-wordmark > span {
  display: block;
  white-space: nowrap;
  min-height: 1.08em;
}
.brand-given::after,
.brand-family::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.88em;
  margin-left: 3px;
  background: var(--accent);
  vertical-align: baseline;
  animation: caret 1s steps(1) infinite;
}
.brand-given::after,
.brand-wordmark.typing-first .brand-family::after {
  display: none;
}
.brand-wordmark.typing-first .brand-given::after {
  display: inline-block;
}
.sidebar-collapse {
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  right: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule);
  background: transparent;
  transform: translateY(-50%);
}
.sidebar-collapse svg {
  width: 14px;
  height: 14px;
  transition: transform 0.35s ease;
}
.sidebar-collapse:focus-visible {
  position: absolute;
}
.menu-toggle {
  display: none;
}
.mobile-menu-panel {
  flex: 1;
  display: flex;
  min-height: 480px;
}
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.site-nav {
  display: grid;
  gap: 4px;
  border-left: 1px solid var(--rule);
  margin-top: 58px;
  padding: 24px 0;
}
.nav-link {
  display: block;
  min-height: 52px;
  font-size: 14px;
  position: relative;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 18px;
  width: 3px;
  height: 16px;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s;
}
.nav-link.active::before {
  transform: scaleY(1);
}
.nav-link.active {
  font-weight: 700;
}
.nav-link svg {
  position: absolute;
  top: 16px;
  left: 12px;
  width: 20px;
  height: 20px;
}
.nav-link > span {
  position: absolute;
  top: 50%;
  left: 42px;
  white-space: nowrap;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease 0.2s,
    transform 0.3s ease 0.2s,
    visibility 0s linear 0.2s;
}
.nav-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
  display: grid;
  gap: 10px;
}
.accent-toggle,
.motion-toggle {
  position: relative;
  width: 100%;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  font-size: 11px;
  line-height: 1.4;
}
.accent-toggle > svg {
  display: none;
}
.accent-preview {
  position: absolute;
  top: 16px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid #0003;
  transition: left 0.45s ease;
}
.accent-toggle > span:last-of-type,
.motion-toggle-label,
.social-link span {
  position: absolute;
  top: 50%;
  left: 24px;
  white-space: nowrap;
  transform: translateY(-50%);
  transition:
    opacity 0.2s ease 0.2s,
    transform 0.3s ease 0.2s,
    visibility 0s linear 0.2s;
}
.accent-options {
  padding: 12px 0;
  border-block: 1px solid var(--rule);
  margin-top: 4px;
}
.accent-options p {
  font-size: 11px;
  margin-bottom: 12px;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.swatch {
  width: 28px;
  height: 28px;
  border: 3px solid var(--paper);
  outline: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--swatch);
}
.swatch.selected {
  outline: 2px solid var(--ink);
}
[data-accent="blue"] {
  --swatch: #2347f5;
}
[data-accent="red"] {
  --swatch: #c63f32;
}
[data-accent="green"] {
  --swatch: #1f7652;
}
.motion-toggle-icon,
.motion-toggle-icon svg {
  width: 13px;
  height: 13px;
  display: block;
}
.motion-toggle-icon {
  position: absolute;
  top: 15px;
  left: 0;
  transition: left 0.45s ease;
}
.motion-toggle .icon-play,
.motion-toggle[aria-pressed="true"] .icon-pause {
  display: none;
}
.motion-toggle[aria-pressed="true"] .icon-play {
  display: block;
}
.social-link {
  position: relative;
  display: block;
  font-size: 12px;
  min-height: 44px;
}
.social-link img {
  position: absolute;
  top: 15px;
  left: 0;
  width: 14px;
  height: auto;
  filter: brightness(0);
  transition: left 0.45s ease;
}
.social-link svg {
  position: absolute;
  top: 15px;
  right: 0;
  width: 13px;
  height: 13px;
  transition: opacity 0.15s ease 0.2s, visibility 0s linear 0.2s;
}
.mobile-tabs {
  display: none;
}
@media (min-width: 761px) {
  .sidebar-compact {
    --rail: 82px;
  }
  .sidebar-compact .sidebar {
    padding-inline: 18px;
  }
  .sidebar-compact .brand {
    opacity: 0;
    visibility: hidden;
    transform: translate(-8px, -50%);
    transition:
      opacity 0.12s ease,
      transform 0.2s ease,
      visibility 0s linear 0.12s;
  }
  .sidebar-compact .sidebar-collapse svg {
    transform: rotate(180deg);
  }
  .sidebar-compact .nav-link > span,
  .sidebar-compact .accent-toggle > span:last-of-type,
  .sidebar-compact .motion-toggle-label,
  .sidebar-compact .social-link span {
    opacity: 0;
    visibility: hidden;
    transform: translate(7px, -50%);
    transition:
      opacity 0.1s ease,
      transform 0.2s ease,
      visibility 0s linear 0.1s;
  }
  .sidebar-compact .accent-preview,
  .sidebar-compact .motion-toggle-icon,
  .sidebar-compact .social-link img {
    left: calc(50% - 7px);
  }
  .sidebar-compact .social-link svg {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.1s ease, visibility 0s linear 0.1s;
  }
  .sidebar-compact .accent-options p {
    display: none;
  }
  .sidebar-compact .swatches {
    justify-content: center;
  }
}
/* The opening spreads typography and geometry across one ruled canvas. */
.hero {
  padding-top: 38px;
  padding-bottom: 25px;
}
.hero-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(220px, 1fr);
  align-items: center;
  gap: 0;
  min-height: 530px;
  padding-block: 70px;
}
.hero-copy {
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.075em;
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(48px, 5.5vw, 100px);
  line-height: 1.025;
  letter-spacing: -0.055em;
  white-space: normal;
  font-weight: 600;
}
.hero h1 span {
  color: var(--ink);
}
.hero-intro {
  font-size: clamp(18px, 1.65vw, 26px);
  line-height: 1.4;
  letter-spacing: -0.025em;
  margin-top: 28px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  padding-block: 12px;
  border-bottom: 1px solid var(--ink);
  margin-top: 30px;
}
.text-link svg {
  width: 19px;
  height: 19px;
}
.hero-art {
  position: relative;
  width: min(100%, 380px);
  margin-inline: auto -10px;
  perspective: 900px;
  pointer-events: none;
}
.architecture {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  stroke: none;
  transform: translateY(var(--art-y, 0px)) rotateY(var(--art-turn, 0deg));
  transform-style: preserve-3d;
}
.construction {
  color: #9195a4;
  stroke-linecap: butt;
}
/* A single interface reflows inside the same browser/device frame. */
.device-stage {
  position: absolute;
  inset: 0 0 24px;
  perspective: 1000px;
}
.device-morph {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 84%;
  height: 57%;
  transform: translate(-50%, -50%);
}
.device-frame {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 70%, #000);
  border-radius: 12px;
  box-shadow: 0 18px 32px -20px
    color-mix(in srgb, var(--accent) 60%, transparent);
}
.device-toolbar {
  position: absolute;
  inset: 0 0 auto;
  height: 15%;
  display: flex;
  align-items: center;
  padding: 0 6%;
  gap: 8%;
}
.browser-dots {
  display: flex;
  gap: 4px;
}
.browser-dots i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-ink);
  opacity: 0.85;
}
.browser-address {
  width: 49%;
  height: 6px;
  border: 1px solid var(--accent-ink);
  opacity: 0.65;
  border-radius: 4px;
}
.device-camera {
  position: absolute;
  top: 4%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-ink);
  transform: translateX(-50%);
  opacity: 0;
}
.device-screen {
  position: absolute;
  inset: 15% 3% 5%;
  border-radius: 3px;
  background: var(--paper);
  overflow: hidden;
}
.interface-story {
  position: absolute;
  left: 7%;
  top: 16%;
  width: 48%;
}
.interface-story > span {
  display: block;
  background: var(--accent);
  border-radius: 1px;
}
.interface-eyebrow {
  width: 30%;
  height: 3px;
  opacity: 0.6;
  margin-bottom: 12%;
}
.interface-title {
  width: 100%;
  height: 8px;
  margin-bottom: 6%;
}
.interface-title.short {
  width: 70%;
}
.interface-copy {
  width: 93%;
  height: 3px;
  opacity: 0.35;
  margin-top: 9%;
}
.interface-copy.short {
  width: 73%;
  margin-top: 5%;
}
.interface-button {
  width: 32%;
  height: 10px;
  margin-top: 13%;
}
.interface-preview {
  position: absolute;
  left: 64%;
  top: 12%;
  width: 29%;
  height: 76%;
  background: color-mix(in srgb, var(--accent) 10%, var(--paper));
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
}
.interface-orbit {
  position: absolute;
  width: 70px;
  height: 70px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.5;
}
.interface-tile {
  position: absolute;
  width: 40px;
  height: 46px;
  background: var(--accent);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-20deg);
}
.device-base {
  position: absolute;
  width: 20%;
  height: 3px;
  bottom: 2%;
  left: 40%;
  background: var(--accent-ink);
  border-radius: 4px;
  opacity: 0;
}
.art-caption {
  display: block;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.055em;
  color: var(--muted);
  margin-top: 8px;
}
.hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
  font-size: 10px;
  color: var(--muted);
}
.hero-foot a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 30px;
}
.hero-foot svg {
  width: 16px;
  height: 16px;
}
/* Real work, large enough to see the decisions. */
.projects {
  padding-top: 52px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 30px;
}
.project-card {
  position: relative;
  min-width: 0;
  border-bottom: 1px solid var(--rule);
}
.project-card-featured {
  grid-column: 1/-1;
}
.project-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.65;
  background: #e8e8e2;
  border: 1px solid #0000000d;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
.project-card-featured .project-media {
  aspect-ratio: 2.15;
}
.image-tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 11px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-monospace, monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.project-info {
  border-top: 1px solid var(--rule);
  padding: 24px 0 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 190px;
}
.project-info h3 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.05em;
  margin-bottom: 12px;
}
.project-info p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  max-width: 40em;
}
.project-card-featured .project-info {
  min-height: 145px;
}
.project-card-featured .project-info > div {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: start;
  gap: 50px;
  width: 100%;
}
.project-card-featured .project-info h3 {
  font-size: 42px;
}
.project-icon {
  flex-shrink: 0;
  border: 1px solid var(--rule);
  background: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
}
.project-icon span {
  display: block;
  height: 24px;
}
.project-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.project-icon:focus-visible {
  position: static;
  outline: none;
}
.project-card:has(.project-icon:focus-visible) {
  outline: 3px solid var(--ink);
  outline-offset: 7px;
}
.project-card:hover .project-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}
.about {
  background-color: #1b1e26;
  color: #f8f8f4;
  background-image: url("assets/grain-dark.svg");
  --rule: #43464c;
  --muted: #b8bcc6;
  padding-block: 100px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.about h2 {
  font-size: clamp(40px, 4.3vw, 68px);
  line-height: 1.09;
  letter-spacing: -0.05em;
}
.about-line {
  display: block;
  color: #b8bcc6;
}
.about-copy {
  max-width: 570px;
}
.about-copy p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 23px;
}
.about-copy .about-lead {
  font-size: 25px;
  line-height: 1.45;
  color: #fff;
  letter-spacing: -0.025em;
}
.capabilities {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  padding-top: 16px;
}
.capabilities span {
  border-top: 1px solid var(--rule);
  padding: 15px 0;
  font-size: 12px;
}
.approach {
  padding-block: 88px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 25px;
  position: relative;
}
.step::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--accent);
  position: absolute;
  top: -5px;
  right: 0;
}
.step h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.step p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
}
.contact {
  background-color: var(--accent);
  color: var(--accent-ink);
  border: 0;
  padding-block: 75px 85px;
}
.contact .section-label {
  margin-bottom: 50px;
}
.contact-content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
}
.contact h2 {
  font-size: clamp(66px, 8vw, 126px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.contact p {
  max-width: 400px;
  font-size: 17px;
  line-height: 1.6;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 17px 23px;
  min-height: 50px;
  margin-top: 30px;
  font-size: 14px;
  border: 1px solid currentColor;
}
.button-primary {
  background: var(--accent-ink);
  color: var(--accent);
}
.button span {
  height: 20px;
}
.button svg {
  width: 20px;
  height: 20px;
}
.contact a:focus-visible {
  outline-color: var(--accent-ink);
}
.contact-aside {
  display: grid;
  gap: 0;
  max-width: 100%;
}
.contact-aside > span {
  font-family: ui-monospace, monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.contact-aside a {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  padding-block: 15px;
  border-bottom: 1px solid currentColor;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-aside svg {
  width: 18px;
  height: 18px;
}
.contact-aside a span {
  height: 18px;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 24px var(--gutter);
  font-size: 11px;
  color: var(--muted);
  min-height: 90px;
}
.footer a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
}
.footer svg {
  width: 14px;
  height: 14px;
}
.dialog-open {
  overflow: hidden;
}
.project-dialog {
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  width: min(1040px, calc(100% - 48px));
  max-height: 90dvh;
  overscroll-behavior: contain;
}
.project-dialog::before {
  content: "";
  display: block;
  position: sticky;
  top: 0;
  height: 3px;
  background: var(--accent);
  z-index: 3;
}
.project-dialog::backdrop {
  background: #11151dcc;
  backdrop-filter: blur(8px);
}
.dialog-close {
  position: sticky;
  float: right;
  top: 18px;
  right: 18px;
  margin: 18px 18px 0 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: white;
  border: 0;
  z-index: 2;
}
.dialog-body {
  padding: 65px 50px 50px;
}
.dialog-body h2 {
  font-size: 64px;
  letter-spacing: -0.055em;
  margin: 16px 0 22px;
  line-height: 1;
}
.dialog-body > p {
  font-size: 19px;
  line-height: 1.7;
  max-width: 720px;
}
.dialog-image {
  display: grid;
  gap: 22px;
  margin: 36px 0;
}
.dialog-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
}
.dialog-outcome {
  border-top: 1px solid var(--rule);
  padding-top: 25px;
}
@keyframes caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
@media (min-width: 1700px) {
  .hero-stage {
    min-height: 650px;
  }
  .hero h1 {
    font-size: 100px;
  }
  .hero-art {
    max-width: 520px;
    margin-inline: auto;
  }
  .project-card-featured .project-media {
    aspect-ratio: 2.6;
  }
}
@media (max-width: 1150px) {
  .brand {
    font-size: 14px;
  }
  .sidebar-collapse {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
  :root {
    --sidebar: 142px;
    --gutter: 32px;
  }
  .sidebar {
    padding-inline: 22px 16px;
  }
  .hero-stage {
    display: block;
    min-height: 620px;
    padding-block: 55px;
  }
  .hero h1 {
    font-size: clamp(55px, 7vw, 86px);
  }
  .hero-art {
    position: absolute;
    width: 260px;
    right: 0;
    bottom: 30px;
    margin: 0;
  }
  .hero-intro {
    max-width: calc(100% - 290px);
    font-size: 21px;
  }
  .section-heading > p {
    max-width: 265px;
  }
  .about-grid {
    gap: 35px;
  }
  .contact-content {
    align-items: start;
    flex-direction: column;
  }
  .contact-aside {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }
  .contact-aside > span {
    grid-column: 1/-1;
  }
  .project-info {
    min-height: 214px;
  }
}
@media (max-width: 760px) {
  :root {
    --gutter: 24px;
    scroll-padding-top: 90px;
  }
  .site-shell,
  .sidebar-compact {
    --rail: 0px;
  }
  .page {
    margin: 0;
    padding-top: 76px;
  }
  .sidebar,
  .sidebar-compact .sidebar {
    width: 100%;
    height: auto;
    inset: 0 0 auto;
    padding: 0 24px;
    background: var(--paper);
    border-right: 0;
    border-bottom: 1px solid var(--rule);
    overflow: visible;
  }
  .sidebar-top {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .brand,
  .sidebar-compact .brand {
    position: static;
    width: auto;
    flex: 1;
    font-size: 18px;
    max-width: none;
    min-height: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .sidebar-compact .brand::before {
    display: none;
  }
  .brand-wordmark > span {
    display: inline;
    min-height: 0;
  }
  .sidebar-collapse {
    display: none;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--rule);
    background: transparent;
  }
  .menu-toggle span {
    height: 1px;
    width: 19px;
    background: var(--ink);
  }
  .mobile-menu-panel {
    flex: none;
    min-height: 0;
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    overflow: hidden;
    transition:
      grid-template-rows 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.5s;
  }
  .mobile-menu-panel.open {
    grid-template-rows: 1fr;
    visibility: visible;
  }
  .mobile-menu-content {
    min-height: 0;
    overflow: hidden;
  }
  .site-nav {
    display: none;
  }
  .sidebar-bottom,
  .sidebar-compact .sidebar-bottom {
    margin: 0;
    padding: 12px 0 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: calc(100dvh - 100px);
    overflow: auto;
  }
  .accent-control {
    width: 100%;
  }
  .accent-toggle,
  .motion-toggle,
  .social-link {
    width: 100%;
    min-height: 52px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 0;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
  }
  .accent-preview,
  .motion-toggle-icon,
  .social-link img {
    position: static;
    transition: none;
  }
  .accent-toggle > span:last-of-type,
  .motion-toggle-label,
  .social-link span {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .social-link svg {
    position: static;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .mobile-menu-panel .motion-toggle {
    min-height: 52px;
  }
  .accent-toggle > svg {
    display: block;
    width: 16px;
    height: 16px;
    margin-left: auto;
    transition: transform 0.25s ease;
  }
  .accent-toggle[aria-expanded="true"] > svg {
    transform: rotate(90deg);
  }
  .accent-options {
    margin: 0;
    padding: 14px 8px 18px;
    border: 0;
    border-bottom: 1px solid var(--rule);
  }
  .accent-options p {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .sidebar-compact .accent-toggle > span:last-of-type,
  .sidebar-compact .motion-toggle-label,
  .sidebar-compact .social-link span {
    display: inline;
  }
  .sidebar-compact .accent-toggle,
  .sidebar-compact .motion-toggle {
    justify-content: start;
  }
  .accent-preview {
    width: 15px;
    height: 15px;
  }
  .swatches {
    gap: 18px;
    padding: 4px 4px 6px;
  }
  .swatch {
    width: 42px;
    height: 42px;
  }
  .social-link {
    justify-content: start;
  }
  .social-link svg {
    margin-left: auto;
  }
  .mobile-tabs {
    position: fixed;
    z-index: 40;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 3px;
    padding: 6px;
    width: min(360px, calc(100% - 32px));
    background: #191b21;
    color: white;
    border: 1px solid #ffffff26;
    border-radius: 40px;
    box-shadow: 0 5px 24px #0003;
  }
  .tab-link {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 50px;
    border-radius: 30px;
    font-size: 10px;
    transition:
      background 0.3s,
      color 0.3s;
  }
  .tab-link svg {
    width: 18px;
    height: 18px;
  }
  .tab-link.active {
    background: var(--accent);
    color: var(--accent-ink);
  }
  .tab-link:focus-visible {
    outline-color: #fff;
    outline-offset: -3px;
  }
  .section {
    padding-block: 55px;
  }
  .hero {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .hero-topline {
    font-size: 9px;
  }
  .hero-topline > span:last-child {
    display: none;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 48px 0 26px;
  }
  .hero h1 {
    font-size: clamp(36px, 7.8vw, 59px);
    white-space: normal;
    letter-spacing: -0.06em;
  }
  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.055em;
    max-width: 290px;
    margin-bottom: 20px;
  }
  .hero-intro {
    font-size: 20px;
    max-width: 100%;
    margin-top: 23px;
  }
  .desktop-break {
    display: none;
  }
  .hero-art {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(82%, 350px);
    margin: 12px auto 0;
    opacity: 1;
  }
  .hero {
    padding-bottom: 110px;
  }
  .art-caption {
    font-size: 9px;
    margin-top: 0;
  }
  .text-link {
    margin-top: 16px;
    min-height: 44px;
  }
  .hero-foot {
    font-size: 9px;
    gap: 8px;
  }
  .hero-foot a {
    gap: 5px;
  }
  .section-label {
    font-size: 10px;
    margin-bottom: 30px;
  }
  .section-label > span {
    max-width: 150px;
    font-size: 9px;
  }
  .section-heading {
    display: block;
    margin-bottom: 30px;
  }
  .section-heading h2 {
    font-size: 43px;
  }
  .section-heading > p {
    max-width: 100%;
    margin-top: 20px;
    font-size: 15px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .project-card-featured {
    grid-column: auto;
  }
  .project-card-featured .project-media,
  .project-media {
    aspect-ratio: 1.5;
  }
  .project-info,
  .project-card-featured .project-info {
    min-height: 170px;
    padding-top: 20px;
    gap: 16px;
  }
  .project-info h3,
  .project-card-featured .project-info h3 {
    font-size: 29px;
  }
  .project-info p {
    font-size: 14px;
  }
  .project-card-featured .project-info > div {
    display: block;
  }
  .project-icon {
    width: 44px;
    height: 44px;
  }
  .image-tag {
    font-size: 9px;
    left: 12px;
    bottom: 12px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about h2 {
    font-size: 43px;
  }
  .about-copy .about-lead {
    font-size: 23px;
  }
  .about-copy p {
    font-size: 16px;
  }
  .capabilities {
    gap: 0 16px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 35px 24px;
  }
  .step h3 {
    font-size: 20px;
  }
  .step p {
    font-size: 14px;
  }
  .contact .section-label {
    margin-bottom: 35px;
  }
  .contact-content {
    gap: 45px;
  }
  .contact h2 {
    font-size: 76px;
  }
  .contact-aside {
    grid-template-columns: 1fr;
  }
  .contact-aside a {
    font-size: 14px;
  }
  .footer {
    padding-top: 24px;
    padding-bottom: 110px;
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .project-dialog {
    width: calc(100% - 24px);
    max-height: 92dvh;
  }
  .dialog-body {
    padding: 70px 24px 30px;
  }
  .dialog-body h2 {
    font-size: 44px;
  }
  .dialog-body > p {
    font-size: 16px;
  }
  .dialog-kicker {
    font-size: 10px;
  }
}
@media (min-width: 480px) and (max-width: 760px) {
  .hero-stage {
    display: block;
    position: relative;
    min-height: 530px;
  }
  .hero-intro {
    max-width: 46%;
  }
  .hero-art {
    position: absolute;
    top: 210px;
    right: 0;
    width: min(45%, 260px);
    margin: 0;
  }
}
@media (max-width: 479px) and (max-height: 740px) {
  .hero-stage {
    padding-top: 16px;
  }
  .hero .eyebrow {
    margin-bottom: 16px;
  }
  .hero-intro {
    margin-top: 18px;
  }
  .text-link {
    margin-top: 10px;
  }
  .hero-art {
    width: min(52vw, 220px);
    margin-top: 4px;
  }
}
@media (max-width: 360px) and (max-height: 740px) {
  .hero-stage {
    padding-top: 18px;
  }
  .hero .eyebrow {
    margin-bottom: 12px;
  }
  .hero-intro {
    margin-top: 14px;
    font-size: 18px;
  }
  .text-link {
    margin-top: 8px;
  }
  .hero-art {
    width: 48vw;
  }
}
@media (max-width: 479px) and (max-height: 700px) {
  .hero-art {
    width: 45vw;
  }
}
@media (max-width: 360px) and (max-height: 600px) {
  .hero-stage {
    padding-top: 8px;
  }
  .hero .eyebrow {
    margin-bottom: 8px;
  }
  .hero-intro {
    font-size: 17px;
  }
  .text-link {
    margin-top: 4px;
  }
  .hero-art {
    width: 36vw;
  }
  .mobile-tabs {
    padding: 4px;
  }
  .tab-link {
    min-height: 44px;
  }
}
@media (max-width: 360px) {
  :root {
    --gutter: 20px;
  }
  .sidebar {
    padding-inline: 20px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-foot {
    flex-wrap: wrap;
  }
  .contact h2 {
    font-size: 64px;
  }
  .section-heading h2,
  .about h2 {
    font-size: 38px;
  }
  .sidebar-bottom {
    gap: 12px;
  }
  .project-info {
    min-height: 185px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .brand-given::after,
  .brand-family::after {
    opacity: 1;
  }
}

.tab-link.active:focus-visible {
  outline-color: var(--accent-ink);
}
html.motion-paused {
  scroll-behavior: auto;
}
