:root {
  --ink: #0b1220;
  --ink-soft: #141e31;
  --paper: #f2f1eb;
  --paper-deep: #e7e5dc;
  --white: #fffef9;
  --text: #182033;
  --muted: #626978;
  --line: rgba(11, 18, 32, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --orange: #ff6337;
  --orange-dark: #db3e18;
  --blue: #7f9cff;
  --green: #80e6b1;
  --container: 1200px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(4, 10, 21, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open,
body.dialog-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

::selection { background: var(--orange); color: var(--white); }

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: #fff;
  background: rgba(11, 18, 32, .84);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(calc(100% - 48px), var(--container));
  height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-family: "DM Mono", monospace;
  font-weight: 500;
  letter-spacing: -.08em;
}

.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 14px; letter-spacing: .01em; }
.brand-copy small { color: rgba(255, 255, 255, .55); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }

.desktop-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
.desktop-nav a {
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}
.desktop-nav a:hover { color: #fff; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.language-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
}
.language-switch button {
  min-width: 35px;
  padding: 6px 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, .48);
  font-family: "DM Mono", monospace;
  font-size: 10px;
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] { background: #fff; color: var(--ink); }

.nav-mail {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--orange);
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease;
}
.nav-mail:hover { background: #ff7b57; transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-toggle > span:not(.sr-only) { display: block; width: 16px; height: 1px; margin: 5px auto; background: #fff; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] > span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 75% 28%, rgba(64, 91, 171, .26), transparent 32%),
    radial-gradient(circle at 16% 86%, rgba(255, 99, 55, .12), transparent 28%),
    var(--ink);
  color: #fff;
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 80px 0 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.16) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
  padding-block: 92px 78px;
}

.eyebrow,
.section-index {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-family: "DM Mono", monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.eyebrow > span:first-child { width: 28px; height: 1px; background: var(--orange); }

.hero h1 {
  max-width: 760px;
  margin: 24px 0 28px;
  font-size: clamp(45px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .65);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 52px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--orange); color: #fff; }
.button-primary:hover { background: #ff7954; }
.button-ghost { border-color: rgba(255, 255, 255, .18); color: #fff; background: rgba(255,255,255,.03); }
.button-ghost:hover { border-color: rgba(255, 255, 255, .4); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  margin-top: 56px;
  gap: 30px;
}
.hero-meta > div { display: grid; gap: 4px; padding-right: 30px; border-right: 1px solid rgba(255, 255, 255, .15); }
.hero-meta > div:last-child { border-right: 0; padding-right: 0; }
.hero-meta strong { font-family: "DM Mono", monospace; font-size: 15px; font-weight: 500; color: #fff; }
.hero-meta span { color: rgba(255, 255, 255, .46); font-size: 11px; }

.hero-visual { position: relative; }
.system-card {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  background: rgba(17, 27, 45, .9);
  box-shadow: 0 45px 120px rgba(0, 0, 0, .38);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
}
.system-card-head {
  min-height: 52px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .48);
  font-family: "DM Mono", monospace;
  font-size: 10px;
}
.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #394358; }
.window-dots i:first-child { background: var(--orange); }
.system-state { justify-self: end; display: flex; align-items: center; gap: 7px; }
.system-state i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 14px var(--green); }
.system-card-body { padding: 30px; }
.code-comment { margin: 0 0 22px; color: #64748d; font-family: "DM Mono", monospace; font-size: 11px; }
.system-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 4px 14px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.system-line > span { grid-row: 1 / 3; padding-top: 3px; color: rgba(127, 156, 255, .65); font-family: "DM Mono", monospace; font-size: 10px; }
.system-line strong { color: rgba(255,255,255,.92); font-size: 14px; font-weight: 600; }
.system-line em { color: rgba(255,255,255,.42); font-family: "DM Mono", monospace; font-size: 10px; font-style: normal; }
.signal-row { display: flex; gap: 18px; margin-top: 28px; }
.signal { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.42); font-family: "DM Mono", monospace; font-size: 9px; }
.signal i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.orbit { position: absolute; border: 1px solid rgba(127, 156, 255, .2); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 360px; height: 360px; right: -150px; top: -90px; }
.orbit-two { width: 170px; height: 170px; left: -85px; bottom: -70px; border-color: rgba(255, 99, 55, .2); }

.stack-strip { position: relative; z-index: 1; overflow: hidden; border-top: 1px solid rgba(255,255,255,.09); background: rgba(3, 8, 17, .44); }
.stack-track { width: min(calc(100% - 48px), var(--container)); min-height: 66px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 22px; white-space: nowrap; }
.stack-track span { color: rgba(255,255,255,.37); font-family: "DM Mono", monospace; font-size: 10px; letter-spacing: .08em; }
.stack-track i { width: 3px; height: 3px; border-radius: 50%; background: var(--orange); }

.section { padding-block: 124px; }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); align-items: end; gap: 70px; margin-bottom: 66px; }
.section-heading h2 { margin: 18px 0 0; color: var(--ink); font-size: clamp(38px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.expertise { background: var(--paper); }
.expertise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.expertise-card {
  position: relative;
  min-height: 430px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.4);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.expertise-card:hover { transform: translateY(-6px); background: var(--white); box-shadow: var(--shadow); }
.expertise-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-number { color: #9298a4; font-family: "DM Mono", monospace; font-size: 11px; }
.card-icon { width: 48px; height: 48px; margin: 70px 0 26px; fill: none; stroke: var(--orange); stroke-width: 1.5; }
.expertise-card h3 { min-height: 58px; margin: 0 0 16px; color: var(--ink); font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.expertise-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.expertise-card ul { margin: auto 0 0; padding: 25px 0 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.expertise-card li { padding: 7px 9px; border: 1px solid var(--line); border-radius: 999px; font-family: "DM Mono", monospace; font-size: 9px; color: var(--muted); }
.expertise-card.featured h3 { color: #fff; }
.expertise-card.featured p { color: rgba(255,255,255,.58); }
.expertise-card.featured li { color: rgba(255,255,255,.55); border-color: var(--line-dark); }

.projects { background: var(--ink); color: #fff; }
.section-heading.light h2 { color: #fff; }
.section-heading.light > p { color: rgba(255,255,255,.5); }
.project-list { display: grid; gap: 22px; }
.project {
  overflow: hidden;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--ink-soft);
}
.project-wide { display: grid; grid-template-columns: 1.35fr .65fr; min-height: 560px; }
.project-reverse { grid-template-columns: .8fr 1.2fr; }
.project-reverse .project-media { order: 2; }
.project-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card { display: flex; flex-direction: column; }
.project-media { position: relative; min-height: 300px; overflow: hidden; background: #202b40; }
.project-wide > .project-media { min-height: 100%; }
.project-media > img:first-child { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project:hover .project-media > img:first-child { transform: scale(1.035); }
.project-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,11,21,.18)); pointer-events: none; }
.project-media-ryspos { padding: 38px 34px; display: grid; place-items: center; background: linear-gradient(135deg, #e4e7eb, #b9c1cc); }
.project-media-ryspos > img:first-child { height: auto; border-radius: 9px; box-shadow: 0 30px 60px rgba(12,21,34,.28); }
.project-media-ryspos .phone-shot { position: absolute; z-index: 2; right: 6%; bottom: 4%; width: 23%; max-height: 78%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(9,16,27,.32)); }
.project-copy { padding: 38px; display: flex; flex-direction: column; }
.project-topline { display: flex; justify-content: space-between; color: rgba(255,255,255,.37); font-family: "DM Mono", monospace; font-size: 9px; letter-spacing: .07em; text-transform: uppercase; }
.project-copy h3 { margin: 46px 0 18px; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.045em; }
.project-card .project-copy h3 { margin-top: 32px; font-size: 38px; }
.project-copy > p { margin: 0; color: rgba(255,255,255,.57); font-size: 13px; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 26px 0; }
.tags span { padding: 7px 10px; border: 1px solid var(--line-dark); border-radius: 999px; color: rgba(255,255,255,.55); font-family: "DM Mono", monospace; font-size: 9px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.project-actions button,
.project-actions a { padding: 0; border: 0; background: none; color: rgba(255,255,255,.6); font-size: 11px; font-weight: 700; cursor: pointer; transition: color .2s ease; }
.project-actions button { color: var(--orange); }
.project-actions button:hover,
.project-actions a:hover { color: #fff; }

.approach { background: var(--white); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-step { position: relative; min-height: 290px; padding: 32px 24px 10px 0; border-right: 1px solid var(--line); }
.process-step + .process-step { padding-left: 24px; }
.process-step:last-child { border-right: 0; }
.process-step > span { color: var(--orange); font-family: "DM Mono", monospace; font-size: 10px; }
.process-step h3 { margin: 78px 0 14px; color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.process-step p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.contact { padding-block: 120px; background: var(--orange); color: #fff; }
.contact .section-index { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1.22fr .78fr; align-items: center; gap: 80px; }
.contact h2 { margin: 22px 0 0; font-size: clamp(42px, 5.6vw, 74px); line-height: 1.04; letter-spacing: -.055em; }
.contact-panel { padding: 34px; border-radius: var(--radius); background: rgba(11,18,32,.94); box-shadow: var(--shadow); }
.contact-panel p { margin: 0 0 32px; color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.8; }
.contact-email { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-dark); font-size: clamp(17px, 2vw, 23px); font-weight: 700; letter-spacing: -.025em; overflow-wrap: anywhere; }
.contact-email span { color: var(--orange); }
.copy-button { margin-top: 18px; padding: 0; border: 0; background: transparent; color: var(--orange); font-family: "DM Mono", monospace; font-size: 10px; cursor: pointer; }
.contact-panel small { margin-top: 36px; display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.43); font-size: 10px; }
.contact-panel small i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.site-footer { padding-block: 32px; background: #070c15; color: #fff; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 12px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.38); font-size: 10px; }
.site-footer > .container > a:last-child { justify-self: end; color: rgba(255,255,255,.55); font-size: 11px; }

.project-dialog {
  width: min(1080px, calc(100% - 36px));
  max-height: min(760px, calc(100vh - 36px));
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 30px 120px rgba(0,0,0,.48);
}
.project-dialog::backdrop { background: rgba(4,8,15,.8); backdrop-filter: blur(10px); }
.dialog-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; }
.dialog-close { position: absolute; z-index: 3; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(11,18,32,.84); color: #fff; font-size: 23px; line-height: 1; cursor: pointer; }
.dialog-gallery { min-height: 100%; padding: 20px; display: flex; flex-direction: column; background: #dfe3e8; }
.dialog-gallery > img { width: 100%; min-height: 470px; flex: 1; border-radius: 14px; object-fit: cover; background: #cfd4dc; }
.dialog-thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; }
.dialog-thumbs button { width: 68px; height: 50px; flex: none; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: none; cursor: pointer; }
.dialog-thumbs button.active { border-color: var(--orange); }
.dialog-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: 58px 48px 42px; overflow-y: auto; }
.dialog-index { color: var(--orange); font-family: "DM Mono", monospace; font-size: 10px; }
.dialog-content h2 { margin: 18px 0 10px; color: var(--ink); font-size: 42px; line-height: 1.05; letter-spacing: -.045em; }
.dialog-tagline { margin: 0 0 28px; color: var(--orange-dark); font-weight: 700; }
.dialog-content > p:not(.dialog-tagline) { color: var(--muted); font-size: 13px; line-height: 1.75; }
.dialog-content h3 { margin: 30px 0 12px; color: var(--ink); font-size: 14px; }
.dialog-content ul { margin: 0 0 34px; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.dialog-content .button { width: fit-content; }

.toast {
  position: fixed;
  z-index: 300;
  right: 24px;
  bottom: 24px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }

.reveal { opacity: 1; transform: none; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 1040px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    display: grid;
    max-height: 0;
    padding: 0 24px;
    overflow: hidden;
    visibility: hidden;
    background: var(--ink);
    transition: max-height .25s ease, padding .25s ease, visibility .25s ease;
  }
  .mobile-menu.open { max-height: 240px; visibility: visible; padding-block: 12px 24px; }
  .mobile-menu a { min-height: 0; overflow: hidden; display: flex; align-items: center; color: rgba(255,255,255,.7); border-bottom: 1px solid transparent; font-size: 15px; }
  .mobile-menu.open a { border-color: var(--line-dark); }
  .mobile-menu.open a { min-height: 48px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 800px; }
  .hero-visual { width: min(700px, 100%); }
  .expertise-grid { grid-template-columns: 1fr 1fr; }
  .expertise-card:last-child { grid-column: 1 / -1; min-height: 340px; }
  .expertise-card:last-child .card-icon { margin-top: 40px; }
  .project-wide, .project-reverse { grid-template-columns: 1fr; }
  .project-reverse .project-media { order: 0; }
  .project-wide > .project-media { min-height: 430px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .container, .nav-shell { width: min(calc(100% - 32px), var(--container)); }
  .nav-shell { height: 70px; }
  .brand-copy { display: none; }
  .nav-mail { display: none; }
  .hero { padding-top: 70px; }
  .hero::before { inset-block-start: 70px; background-size: 42px 42px; }
  .hero-grid { min-height: auto; padding-block: 74px 62px; gap: 64px; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 48px); }
  .hero-lead { font-size: 15px; }
  .hero-cta { display: grid; }
  .button { width: 100%; }
  .hero-meta { gap: 16px; }
  .hero-meta > div { width: calc(50% - 8px); padding: 0; border: 0; }
  .system-card { transform: none; }
  .system-card-head { grid-template-columns: 1fr 1fr; }
  .system-card-head > span:nth-child(2) { display: none; }
  .system-card-body { padding: 22px; }
  .system-line { grid-template-columns: 24px 1fr; }
  .signal-row { flex-wrap: wrap; }
  .stack-track { width: max-content; padding-inline: 16px; animation: ticker 24s linear infinite; }
  .section { padding-block: 88px; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 42px; }
  .section-heading h2 { font-size: 39px; }
  .expertise-grid, .project-pair { grid-template-columns: 1fr; }
  .expertise-card, .expertise-card:last-child { min-height: 390px; grid-column: auto; }
  .project-wide > .project-media, .project-media { min-height: 290px; }
  .project-media-ryspos { padding: 25px 20px; }
  .project-copy { padding: 28px; }
  .project-copy h3, .project-card .project-copy h3 { margin-top: 32px; font-size: 38px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step, .process-step + .process-step { min-height: auto; padding: 26px 0 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .process-step h3 { margin-top: 34px; }
  .contact { padding-block: 88px; }
  .contact h2 { font-size: 44px; }
  .contact-panel { padding: 26px; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .dialog-shell { grid-template-columns: 1fr; }
  .dialog-gallery { min-height: 350px; }
  .dialog-gallery > img { min-height: 280px; max-height: 430px; }
  .dialog-content { padding: 38px 26px 32px; }
  .dialog-content h2 { font-size: 36px; }
  .dialog-content .button { width: 100%; }
}

@keyframes ticker { to { transform: translateX(-40%); } }

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