:root {
  color-scheme: dark;
  --bg: #090a10;
  --surface: rgba(18, 19, 29, 0.82);
  --surface-strong: #141620;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f2ee;
  --muted: #9998a5;
  --subtle: #676672;
  --violet: #8b7cff;
  --coral: #ff7968;
  --mint: #75e6c2;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    var(--bg);
  background-size: 52px 52px;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.13;
  pointer-events: none;
}

.ambient--one {
  top: -220px;
  right: -170px;
  background: var(--violet);
}

.ambient--two {
  bottom: -300px;
  left: -200px;
  background: var(--coral);
}

.site-header,
main,
footer {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand strong {
  color: var(--violet);
  font-weight: inherit;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #7f7e8a;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.035em;
}

.site-nav a:hover {
  background: rgba(139, 124, 255, 0.08);
  color: #d4d0e2;
}

.site-nav a:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.38);
  outline-offset: 2px;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(157, 145, 255, 0.66);
  border-radius: 10px 10px 10px 4px;
  background:
    linear-gradient(135deg, rgba(139, 124, 255, 0.34), transparent 52%),
    #0c0d15;
  box-shadow: 0 10px 28px rgba(79, 65, 180, 0.2), inset 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(-3deg);
}

.brand-mark::before {
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 5px;
  content: "";
}

.brand-mark::after {
  position: absolute;
  right: 3px;
  bottom: 3px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--coral);
  box-shadow: -22px -22px 0 rgba(117, 230, 194, 0.72);
  content: "";
}

.brand-mark span {
  position: relative;
  z-index: 1;
  color: #ece9ff;
  font-size: 16px;
  font-weight: 950;
  letter-spacing: -0.08em;
  transform: rotate(3deg) translateX(-0.03em);
}

.header-note {
  color: var(--subtle);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.header-actions,
.language-selector {
  display: flex;
  align-items: center;
}

.header-actions {
  gap: 18px;
}

.language-selector {
  gap: 8px;
}

.language-selector label {
  color: var(--subtle);
  font-size: 10px;
  font-weight: 650;
}

.language-selector select {
  min-width: 126px;
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #11121a;
  color: #cbc9d3;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.language-selector select:hover {
  border-color: rgba(139, 124, 255, 0.46);
}

.language-selector select:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.38);
  outline-offset: 2px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.8fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
  min-height: 690px;
  padding: 84px 0 96px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 19px;
  color: #aaa0ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.eyebrow > .eyebrow-line {
  width: 18px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(52px, 7vw, 86px);
  font-weight: 760;
  letter-spacing: -0.068em;
  line-height: 0.94;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: #aaa8b3;
  font-size: 16px;
  line-height: 1.75;
}

.status-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #777682;
  font-size: 11px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 12px rgba(117, 230, 194, 0.75);
}

.studio-object {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(11, 12, 18, 0.78);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.38);
  transform: rotate(1.2deg);
  backdrop-filter: blur(14px);
}

.object-header,
.object-footer {
  display: flex;
  align-items: center;
  min-height: 50px;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.object-header > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3e3f4c;
}

.object-header > span:first-child {
  background: var(--coral);
}

.object-header small {
  margin-left: auto;
  color: #545460;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.object-stage {
  position: relative;
  display: grid;
  min-height: 380px;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(139, 124, 255, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 50%);
}

.object-stage::before,
.object-stage::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: "";
}

.object-stage::before {
  width: 275px;
  height: 275px;
}

.object-stage::after {
  width: 190px;
  height: 190px;
}

.object-core {
  position: relative;
  z-index: 2;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border: 1px solid rgba(139, 124, 255, 0.48);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(139, 124, 255, 0.3), rgba(139, 124, 255, 0.08));
  box-shadow: 0 24px 70px rgba(74, 61, 174, 0.24), inset 0 1px rgba(255, 255, 255, 0.14);
  color: #dcd7ff;
  font-size: 38px;
  font-weight: 850;
  transform: rotate(-1.2deg);
}

.pixel-cluster {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 9px);
  gap: 3px;
}

.pixel-cluster i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: currentColor;
}

.pixel-cluster i:nth-child(2),
.pixel-cluster i:nth-child(3) {
  opacity: 0.35;
}

.pixel-cluster--one {
  top: 76px;
  left: 62px;
  color: var(--coral);
}

.pixel-cluster--two {
  right: 57px;
  bottom: 67px;
  color: var(--mint);
}

.orbit {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 18px currentColor;
}

.orbit--one {
  top: 97px;
  right: 106px;
  color: var(--violet);
}

.orbit--two {
  bottom: 110px;
  left: 91px;
  color: var(--coral);
}

.object-footer {
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  color: #565661;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purpose-section,
.project-section,
.principles,
.contact-section {
  padding: 90px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}

.purpose-section {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(360px, 1.28fr);
  align-items: start;
  gap: clamp(46px, 8vw, 110px);
}

.purpose-heading .eyebrow,
.contact-copy .eyebrow {
  margin-bottom: 12px;
}

.purpose-heading h2,
.contact-copy h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.052em;
  line-height: 1.02;
}

.purpose-copy {
  padding: 28px 30px;
  border: 1px solid rgba(255, 121, 104, 0.2);
  border-radius: 15px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 121, 104, 0.1), transparent 19rem),
    rgba(15, 16, 24, 0.72);
}

.purpose-copy p {
  margin-bottom: 24px;
  color: #b4b1bc;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.018em;
  line-height: 1.65;
}

.purpose-copy strong {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #ffad9f;
  font-size: 12px;
  line-height: 1.6;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  margin-bottom: 11px;
}

.section-heading h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(34px, 4vw, 50px);
  letter-spacing: -0.052em;
  line-height: 1;
}

.section-heading > p {
  max-width: 410px;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.project-grid {
  display: grid;
  gap: 12px;
}

.project-card {
  --project-accent: var(--violet);
  --project-accent-rgb: 139, 124, 255;
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr) auto;
  align-items: center;
  column-gap: clamp(28px, 5vw, 66px);
  row-gap: 24px;
  padding: 34px;
  border: 1px solid rgba(139, 124, 255, 0.25);
  border-radius: 16px;
  background:
    radial-gradient(circle at 5% 50%, rgba(139, 124, 255, 0.13), transparent 26rem),
    var(--surface);
}

.project-card--fwd {
  --project-accent: var(--mint);
  --project-accent-rgb: 117, 230, 194;
  border-color: rgba(117, 230, 194, 0.24);
  background:
    radial-gradient(circle at 5% 50%, rgba(117, 230, 194, 0.12), transparent 26rem),
    var(--surface);
}

.project-identity {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  align-items: center;
  gap: 17px;
}

.project-mark {
  flex: 0 0 auto;
  display: grid;
  width: 56px;
  height: 50px;
  align-content: center;
  justify-items: center;
  gap: 2px;
  overflow: hidden;
  border: 1px solid rgba(139, 124, 255, 0.48);
  border-radius: 12px;
  background: #0b1020;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.24);
}

.project-mark strong,
.project-mark small {
  position: relative;
  z-index: 1;
  line-height: 1;
}

.project-mark strong {
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.08em;
}

.project-mark small {
  font-size: 5px;
  font-weight: 850;
  letter-spacing: 0.16em;
}

.project-mark--gridmate {
  position: relative;
  color: #dfeaff;
  background:
    linear-gradient(rgba(120, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 168, 255, 0.08) 1px, transparent 1px),
    linear-gradient(145deg, #14264a, #080d18 72%);
  background-size: 12px 12px, 12px 12px, auto;
}

.project-mark--gridmate::after {
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #78a8ff;
  box-shadow: 0 0 12px rgba(120, 168, 255, 0.58);
  content: "";
}

.project-mark--gridmate small {
  color: #9bbcff;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.project-mark--fwd {
  border-color: rgba(126, 224, 179, 0.5);
  border-radius: 4px;
  background:
    linear-gradient(135deg, rgba(126, 224, 179, 0.08), transparent 58%),
    #020605;
  color: #edf7f2;
  box-shadow: inset 3px 0 var(--mint), 0 14px 34px rgba(0, 0, 0, 0.3);
}

.project-mark--fwd strong {
  font-size: 15px;
  letter-spacing: -0.1em;
}

.project-mark--fwd small {
  color: var(--mint);
  font-size: 4.8px;
  letter-spacing: 0.11em;
}

.project-card--fwd > a {
  border-color: rgba(117, 230, 194, 0.62);
  color: #a9efd9;
}

.project-card--fwd > a:hover {
  border-color: #d4fff1;
  color: #e7fff7;
}

.project-status {
  display: block;
  margin-bottom: 7px;
  color: var(--mint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-identity h3 {
  margin-bottom: 3px;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.project-identity p,
.project-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.project-copy {
  grid-column: 2;
  grid-row: 1;
}

.project-progress {
  grid-column: 1 / -1;
  grid-row: 2;
  padding: 20px 22px;
  border: 1px solid rgba(var(--project-accent-rgb), 0.16);
  border-radius: 12px;
  background: rgba(7, 8, 13, 0.42);
}

.project-progress--milestone {
  position: relative;
  overflow: hidden;
  border-color: rgba(239, 190, 79, 0.4);
  background:
    radial-gradient(circle at 4% 0%, rgba(225, 165, 44, 0.18), transparent 20rem),
    rgba(20, 16, 9, 0.7);
  box-shadow: inset 0 1px rgba(255, 226, 155, 0.08), 0 18px 45px rgba(0, 0, 0, 0.16);
}

.project-progress--milestone::before {
  position: absolute;
  top: 0;
  left: 22px;
  width: 66px;
  height: 2px;
  background: linear-gradient(90deg, #ffd978, #b97c13);
  box-shadow: 0 0 18px rgba(255, 205, 94, 0.58);
  content: "";
}

.project-progress--milestone .progress-heading strong,
.project-progress--milestone .progress-update strong {
  color: #ffe6a6;
}

.project-progress--milestone .stage-segment--complete {
  background: rgba(222, 168, 58, 0.58);
}

.project-progress--milestone .stage-segment--current {
  background: #f0c45f;
  box-shadow: 0 0 16px rgba(240, 196, 95, 0.52);
}

.project-progress--milestone .progress-update > span:first-child {
  color: #efc768;
}

.progress-heading,
.progress-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.progress-heading > span,
.progress-update > span:first-child,
.progress-footer b {
  color: var(--subtle);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.progress-heading strong {
  color: var(--project-accent);
  font-size: 11px;
  letter-spacing: 0.025em;
}

.stage-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 13px 0 17px;
}

.stage-segment {
  position: relative;
  height: 4px;
  overflow: visible;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.stage-segment--complete {
  background: rgba(var(--project-accent-rgb), 0.55);
}

.stage-segment--current {
  background: var(--project-accent);
  box-shadow: 0 0 14px rgba(var(--project-accent-rgb), 0.42);
}

.stage-segment--current::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border: 2px solid var(--surface-strong);
  border-radius: 50%;
  background: var(--project-accent);
  box-shadow: 0 0 12px rgba(var(--project-accent-rgb), 0.65);
  content: "";
  transform: translate(1px, -50%);
}

[dir="rtl"] .stage-segment--current::after {
  right: auto;
  left: 0;
  transform: translate(-1px, -50%);
}

.progress-update {
  display: grid;
  grid-template-columns: auto auto minmax(260px, 1fr);
  align-items: baseline;
  gap: 8px 12px;
  margin: 0 0 17px;
}

.progress-update > span:first-child {
  color: var(--project-accent);
}

.progress-update strong {
  font-size: 12px;
}

.progress-update > span:last-child {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.progress-footer {
  padding-top: 13px;
  border-top: 1px solid var(--line);
  color: #777682;
  font-size: 10px;
  line-height: 1.5;
}

.progress-footer b {
  color: #92909d;
}

.progress-footer .updated-at {
  color: #666571;
  white-space: nowrap;
}

.project-card > a {
  display: inline-flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(139, 124, 255, 0.7);
  color: #c3bcff;
  font-size: 12px;
  font-weight: 750;
  white-space: nowrap;
}

.project-card > a:hover {
  border-color: #dedaff;
  color: #ece9ff;
}

.project-card > a:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.48);
  outline-offset: 5px;
}

.section-heading--compact {
  margin-bottom: 30px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.principle-grid article {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: linear-gradient(150deg, rgba(21, 22, 32, 0.9), rgba(12, 13, 19, 0.72));
}

.principle-grid article > span {
  display: block;
  margin-bottom: 56px;
  color: #575762;
  font-size: 10px;
  font-weight: 800;
}

.principle-grid h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.principle-grid p {
  margin-bottom: 0;
  color: #7e7d89;
  font-size: 12px;
  line-height: 1.65;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(460px, 1.28fr);
  align-items: start;
  gap: clamp(46px, 8vw, 110px);
}

.contact-copy > p:last-child {
  max-width: 410px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-form {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(139, 124, 255, 0.22);
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 100%, rgba(139, 124, 255, 0.1), transparent 22rem),
    rgba(15, 16, 24, 0.76);
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field--wide,
.contact-form-footer,
.contact-success {
  grid-column: 1 / -1;
}

.form-field label {
  color: #9d9aa7;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(7, 8, 13, 0.7);
  color: var(--text);
  font: inherit;
  font-size: 14px;
}

.form-field input {
  height: 44px;
  padding: 0 13px;
}

.form-field textarea {
  min-height: 150px;
  padding: 12px 13px;
  line-height: 1.55;
  resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover {
  border-color: rgba(139, 124, 255, 0.38);
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  border-color: var(--violet);
  outline: 3px solid rgba(139, 124, 255, 0.26);
  outline-offset: 2px;
}

.contact-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 2px;
}

.contact-form-footer p {
  max-width: 340px;
  margin: 0;
  color: #686773;
  font-size: 10px;
  line-height: 1.5;
}

.contact-form button {
  min-height: 42px;
  padding: 0 19px;
  border: 1px solid rgba(139, 124, 255, 0.72);
  border-radius: 10px;
  background: rgba(139, 124, 255, 0.14);
  color: #d9d4ff;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.contact-form button:hover {
  border-color: #b8aeff;
  background: rgba(139, 124, 255, 0.22);
  color: #f1efff;
}

.contact-form button:focus-visible {
  outline: 3px solid rgba(139, 124, 255, 0.42);
  outline-offset: 3px;
}

.contact-success {
  margin: 2px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(117, 230, 194, 0.28);
  border-radius: 9px;
  background: rgba(117, 230, 194, 0.08);
  color: #a9efd9;
  font-size: 11px;
  line-height: 1.5;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 98px;
  border-top: 1px solid var(--line);
  color: #55545f;
  font-size: 10px;
}

.brand--footer {
  color: #9b99a5;
  font-size: 11px;
}

.brand--footer .brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 8px 8px 8px 3px;
}

.brand--footer .brand-mark span {
  font-size: 12px;
}

.brand--footer .brand-mark::before {
  inset: 4px;
}

.brand--footer .brand-mark::after {
  right: 2px;
  bottom: 2px;
  width: 4px;
  height: 4px;
  box-shadow: -15px -15px 0 rgba(117, 230, 194, 0.72);
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 56px;
    padding: 70px 0 88px;
  }

  .studio-object {
    width: min(100%, 560px);
    margin-inline: auto;
    transform: none;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .project-identity,
  .project-copy,
  .project-progress,
  .project-card > a {
    grid-column: 1;
    grid-row: auto;
  }

  .project-card > a {
    width: max-content;
  }

  .purpose-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  footer {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 0 10px;
  }

  .header-note,
  .language-selector label {
    display: none;
  }

  .language-selector select {
    min-width: 112px;
    max-width: 132px;
  }

  .site-nav {
    order: 3;
    flex: 1 0 100%;
    justify-content: space-between;
    padding-top: 9px;
    border-top: 1px solid var(--line);
  }

  .site-nav a {
    flex: 1;
    padding-inline: 6px;
    text-align: center;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(48px, 15.3vw, 68px);
  }

  .object-stage {
    min-height: 320px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .purpose-section,
  .project-section,
  .principles,
  .contact-section {
    padding: 70px 0;
  }

  .purpose-copy,
  .contact-form {
    padding: 22px 20px;
  }

  .project-card {
    padding: 24px 20px;
  }

  .project-progress {
    padding: 18px 16px;
  }

  .progress-update {
    grid-template-columns: 1fr;
  }

  .progress-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .principle-grid article {
    min-height: 176px;
  }

  .principle-grid article > span {
    margin-bottom: 38px;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field--wide,
  .contact-form-footer,
  .contact-success {
    grid-column: 1;
  }

  .contact-form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
  }
}

[dir="rtl"] .project-card > a span[aria-hidden="true"] {
  display: inline-block;
  transform: scaleX(-1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
