:root {
  --paper: #f3f0e8;
  --paper-bright: #fbf9f3;
  --ink: #161616;
  --muted: #69675f;
  --line: rgba(22, 22, 22, 0.18);
  --coral: #ff6b4a;
  --coral-dark: #db4528;
  --lime: #d2f85a;
  --blue: #4e68ff;
  --blue-dark: #2739a8;
  --radius: 26px;
  --shell: min(1180px, calc(100vw - 48px));
  --shadow: 0 26px 70px rgba(27, 24, 14, 0.13);
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at var(--cursor-x, 78%) var(--cursor-y, 8%), rgba(255, 107, 74, 0.1), transparent 27rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 35rem);
  content: "";
  pointer-events: none;
}

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

svg {
  display: block;
}

.page-noise {
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: 0.23;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-80px);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-shell,
.nav-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 30;
  padding: 22px 0;
}

.nav-shell {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 10px;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  direction: ltr;
}

.brand-mark {
  width: 36px;
  height: 36px;
}

.brand-mark circle,
.brand-mark path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark circle {
  stroke-width: 1.4;
}

.brand-mark path {
  stroke-width: 1.9;
}

.brand-dot {
  color: var(--coral-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a,
.text-link {
  position: relative;
}

.nav-links a::after,
.text-link::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1.5px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.text-link:hover::after,
.text-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
  padding: 10px 16px 10px 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s var(--ease);
}

.nav-contact svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.nav-contact:hover,
.nav-contact:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  min-height: 680px;
  padding: 68px 0 92px;
  gap: clamp(42px, 7vw, 100px);
}

.eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 24px;
  gap: 10px;
  color: #514f48;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 27px;
  height: 2px;
  background: var(--coral-dark);
}

.hero h1,
.section-heading h2,
.about-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.96;
}

.hero h1 {
  max-width: 710px;
  font-size: clamp(4.3rem, 7.2vw, 7rem);
}

.scribble-wrap {
  position: relative;
  display: inline-block;
  color: var(--coral-dark);
  font-style: italic;
}

.scribble-wrap svg {
  position: absolute;
  right: -2%;
  bottom: -9px;
  width: 104%;
  height: 16px;
  overflow: visible;
  fill: none;
  stroke: var(--coral-dark);
  stroke-linecap: round;
  stroke-width: 3;
}

.hero-intro {
  max-width: 590px;
  margin: 34px 0 0;
  color: #4f4d47;
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.64;
}

.hero-actions {
  display: flex;
  align-items: center;
  margin-top: 38px;
  gap: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 15px 20px 15px 23px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transition: transform 0.25s var(--ease);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(26, 24, 18, 0.14);
}

.button:hover svg,
.button:focus-visible svg {
  transform: translateX(4px);
}

.button-primary {
  color: #fff;
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--ink);
  background: var(--lime);
}

.text-link {
  color: #55524c;
  font-size: 0.9rem;
  font-weight: 650;
}

.hero-art {
  perspective: 1000px;
}

.signal-stage {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 0.94;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(20, 20, 20, 0.8);
  border-radius: 48% 48% 34px 34px;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 255, 255, 0.1), transparent 28%),
    var(--blue);
  box-shadow: var(--shadow);
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
}

.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.23;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.42) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.42) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.stage-label {
  position: absolute;
  z-index: 4;
  top: 32px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transform: translateX(-50%);
  white-space: nowrap;
}

.stage-label span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 4px rgba(210, 248, 90, 0.16);
}

.orbit {
  position: absolute;
  z-index: 1;
  top: 46%;
  left: 50%;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-outer {
  width: 73%;
  aspect-ratio: 1;
  animation: spin 24s linear infinite;
}

.orbit-inner {
  width: 48%;
  aspect-ratio: 1;
  animation: spin-reverse 14s linear infinite;
}

.orbit::before,
.orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.orbit::before {
  inset: 11%;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.orbit::after {
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.8);
}

.orbit-dot {
  position: absolute;
  display: block;
  width: 11px;
  height: 11px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 2px var(--lime);
}

.dot-one { top: 10%; left: 19%; }
.dot-two { right: 0; bottom: 42%; background: var(--coral); box-shadow: 0 0 0 2px var(--coral); }
.dot-three { right: 12%; bottom: 8%; background: #fff; box-shadow: 0 0 0 2px #fff; }

.core-mark {
  position: absolute;
  z-index: 3;
  top: 46%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 142px;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 15px 38px rgba(13, 20, 73, 0.28);
  transform: translate(-50%, -50%) translateZ(28px);
}

.core-mark span {
  margin-top: 9px;
  font-family: Georgia, serif;
  font-size: 3rem;
  font-style: italic;
  letter-spacing: -0.12em;
}

.core-mark small {
  margin-top: -26px;
  font-size: 0.6rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-note {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  min-width: 130px;
  padding: 11px 14px;
  border: 1px solid var(--ink);
  border-radius: 13px;
  gap: 10px;
  color: var(--ink);
  background: var(--paper-bright);
  box-shadow: 7px 9px 0 rgba(18, 18, 18, 0.12);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  transform: translateZ(45px);
}

.float-note small {
  display: block;
  margin-bottom: 3px;
  color: #747068;
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.note-one {
  top: 24%;
  right: -8px;
  animation: float 4.8s ease-in-out infinite;
}

.note-two {
  bottom: 25%;
  left: -7px;
  animation: float 5.6s ease-in-out -1.2s infinite;
}

.note-three {
  right: 38px;
  bottom: 14%;
  animation: float 5.1s ease-in-out -2.4s infinite;
}

.note-icon,
.spark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 1rem;
}

.spark {
  color: var(--ink);
  background: var(--lime);
}

.pulse {
  position: relative;
  width: 12px;
  height: 12px;
  margin: 0 8px;
  border-radius: 50%;
  background: var(--blue);
}

.pulse::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--blue);
  border-radius: 50%;
  content: "";
  animation: pulse-ring 1.8s ease-out infinite;
}

.stage-caption {
  position: absolute;
  right: 29px;
  bottom: 27px;
  color: rgba(255, 255, 255, 0.66);
  font-family: Georgia, serif;
  font-size: 0.77rem;
  font-style: italic;
  line-height: 1.15;
  text-align: right;
}

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin-reverse { to { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes float { 50% { transform: translateY(-9px) translateZ(45px) rotate(1deg); } }
@keyframes pulse-ring { 80%, 100% { opacity: 0; transform: scale(1.55); } }

.principles {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principle {
  display: flex;
  align-items: center;
  min-height: 115px;
  padding: 25px 40px;
  border-right: 1px solid var(--line);
  gap: 22px;
}

.principle:first-child { padding-left: 0; }
.principle:last-child { border-right: 0; }
.principle-number { color: #8b887f; font-size: 0.68rem; font-weight: 800; }
.principle p { margin: 0; font-family: Georgia, serif; font-size: clamp(1rem, 1.5vw, 1.28rem); font-style: italic; }
.principle p span { margin: 0 4px; color: var(--coral-dark); }

.work {
  padding: 130px 0 150px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.5fr);
  align-items: end;
  margin-bottom: 57px;
  gap: 50px;
}

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

.section-heading h2,
.about-copy h2 {
  max-width: 760px;
  font-size: clamp(3.2rem, 5.5vw, 5.35rem);
  line-height: 1;
}

.section-heading > p {
  max-width: 340px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 465px;
  overflow: hidden;
  padding: 27px 29px 30px;
  border: 1px solid rgba(20, 20, 20, 0.82);
  border-radius: var(--radius);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 50%), rgba(255, 255, 255, 0.2), transparent 34%);
  content: "";
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.project-card:hover,
.project-card:focus-visible {
  z-index: 2;
  box-shadow: 0 20px 48px rgba(26, 24, 18, 0.15);
  transform: translateY(-8px) rotate(-0.35deg);
}

.project-card:hover::after { opacity: 1; }
.project-card-wide { grid-column: span 1; }

.project-coral { color: #1b1614; background: var(--coral); }
.project-ink { color: var(--paper-bright); background: var(--ink); }
.project-lime { color: var(--ink); background: var(--lime); }
.project-blue { color: #fff; background: var(--blue); }

.card-topline {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.card-arrow {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 0.35s var(--ease), color 0.25s ease, background 0.25s ease;
}

.project-card:hover .card-arrow,
.project-card:focus-visible .card-arrow {
  color: var(--paper-bright);
  background: var(--ink);
  transform: rotate(45deg);
}

.project-ink:hover .card-arrow,
.project-ink:focus-visible .card-arrow,
.project-blue:hover .card-arrow,
.project-blue:focus-visible .card-arrow {
  color: var(--ink);
  background: var(--paper-bright);
}

.project-copy {
  position: relative;
  z-index: 3;
  margin-top: auto;
}

.project-index {
  margin: 0 0 9px;
  opacity: 0.67;
  font-size: 0.7rem;
  font-weight: 800;
}

.project-copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.1rem, 5.6vw, 5.9rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.project-copy p:last-child {
  max-width: 360px;
  margin: 19px 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.mini-flow {
  position: absolute;
  z-index: 2;
  top: 105px;
  right: 48px;
  left: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-3deg);
}

.mini-flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(20, 20, 20, 0.7);
  border-radius: 11px;
  background: rgba(255, 251, 240, 0.82);
  box-shadow: 4px 5px 0 rgba(25, 20, 15, 0.1);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.64rem;
  font-weight: 700;
}

.mini-flow i {
  width: 34px;
  height: 1px;
  border-top: 1px dashed rgba(20, 20, 20, 0.7);
}

.octi-board {
  position: absolute;
  top: 91px;
  right: 50px;
  display: grid;
  grid-template-columns: repeat(4, 37px);
  grid-template-rows: repeat(4, 37px);
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.36);
  transform: rotate(7deg);
}

.octi-board > span {
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.octi-board .piece::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(0, 0, 0, 0.9);
  border-radius: 50%;
  content: "";
  box-shadow: 2px 2px 0 rgba(255, 255, 255, 0.2);
}

.piece-light::after { background: var(--lime); }
.piece-coral::after { background: var(--coral); }

.pixel-heart {
  position: absolute;
  top: 89px;
  right: 52px;
  display: grid;
  grid-template-columns: repeat(7, 16px);
  gap: 3px;
  padding: 15px;
  border: 1px solid rgba(20, 20, 20, 0.65);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.32);
  transform: rotate(4deg);
}

.pixel-heart i {
  width: 16px;
  height: 16px;
  border: 1px solid rgba(20, 20, 20, 0.18);
  background: rgba(255, 255, 255, 0.28);
}

.pixel-heart i.on { background: var(--ink); }

.complex-plane {
  position: absolute;
  top: 77px;
  right: 52px;
  width: 180px;
  height: 160px;
  opacity: 0.95;
}

.axis { position: absolute; display: block; background: rgba(255, 255, 255, 0.55); }
.axis-x { top: 84px; right: 0; left: 0; height: 1px; }
.axis-y { top: 0; bottom: 0; left: 85px; width: 1px; }
.axis-x::after, .axis-y::after { position: absolute; content: ""; width: 7px; height: 7px; border-top: 1px solid #fff; border-right: 1px solid #fff; }
.axis-x::after { top: -3px; right: 0; transform: rotate(45deg); }
.axis-y::after { top: 0; left: -3px; transform: rotate(-45deg); }
.vector { position: absolute; top: 47px; left: 86px; width: 73px; height: 2px; background: var(--lime); transform: rotate(-29deg); transform-origin: left; }
.vector::after { position: absolute; top: -4px; right: -1px; width: 8px; height: 8px; border-top: 2px solid var(--lime); border-right: 2px solid var(--lime); content: ""; transform: rotate(45deg); }
.complex-plane i, .complex-plane b { position: absolute; font-family: Georgia, serif; font-size: 1rem; font-weight: 400; }
.complex-plane i { top: 2px; left: 94px; }
.complex-plane b { top: 37px; right: 5px; color: var(--lime); font-style: italic; }

.about {
  position: relative;
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  padding: 120px 0 130px;
  gap: clamp(50px, 9vw, 130px);
  direction: ltr;
}

.about-copy,
.about-sticker {
  direction: rtl;
}

.about::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc((100vw - 100%) / -2);
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  background: var(--ink);
  content: "";
}

.about-sticker {
  align-self: center;
  position: relative;
  width: min(100%, 250px);
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--lime);
  border-radius: 50%;
  transform: rotate(-9deg);
}

.sticker-ring {
  position: absolute;
  inset: 15px;
  animation: sticker-spin 25s linear infinite;
}

.sticker-word {
  position: absolute;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.sticker-top,
.sticker-bottom {
  left: 50%;
  transform: translateX(-50%);
}

.sticker-top { top: 0; }
.sticker-bottom { bottom: 0; transform: translateX(-50%) rotate(180deg); }
.sticker-right { top: 50%; right: 0; transform: translateY(-50%) rotate(90deg); }
.sticker-left { top: 50%; left: 0; transform: translateY(-50%) rotate(-90deg); }

.sticker-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 3.6rem;
  transform: translate(-50%, -50%);
}

@keyframes sticker-spin { to { transform: rotate(360deg); } }

.about-copy { color: var(--paper-bright); }
.about-copy .eyebrow { color: rgba(255, 255, 255, 0.66); }
.about-copy h2 { max-width: 820px; }

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin: 42px 0 38px;
  gap: 40px;
}

.about-columns p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.96rem;
  line-height: 1.75;
}

.button-light {
  border-color: var(--paper-bright);
  color: var(--ink);
  background: var(--paper-bright);
}

.button-light:hover,
.button-light:focus-visible { background: var(--lime); border-color: var(--lime); }

.site-footer {
  padding: 45px 0 50px;
  color: var(--paper-bright);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand { margin-bottom: 20px; }
.footer-inner p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 0.78rem; }
.footer-meta { display: grid; justify-items: end; gap: 8px; text-align: right; }
.online-dot { display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(210, 248, 90, 0.1); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.22s; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--coral-dark);
  outline-offset: 5px;
}

[dir="rtl"] .hero h1,
[dir="rtl"] .section-heading h2,
[dir="rtl"] .about-copy h2 {
  letter-spacing: -0.035em;
}

[dir="rtl"] .project-copy h3 {
  letter-spacing: -0.035em;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0.055em;
}

[dir="rtl"] .button svg {
  transform: scaleX(-1);
}

[dir="rtl"] .button:hover svg,
[dir="rtl"] .button:focus-visible svg {
  transform: translateX(-4px) scaleX(-1);
}

[dir="rtl"] .principle {
  padding-right: 40px;
  padding-left: 40px;
  border-right: 0;
  border-left: 1px solid var(--line);
}

[dir="rtl"] .principle:first-child {
  padding-right: 0;
  padding-left: 40px;
}

[dir="rtl"] .principle:last-child {
  border-left: 0;
}

@media (max-width: 980px) {
  :root { --shell: min(100% - 38px, 760px); }
  .nav-shell { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 70px; }
  .hero-copy { max-width: 710px; }
  .hero-art { width: min(100%, 580px); margin: 10px auto 0; }
  .signal-stage { margin: 0 auto; }
  .principles-track { grid-template-columns: 1fr; }
  .principle, .principle:first-child { min-height: 90px; padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  [dir="rtl"] .principle,
  [dir="rtl"] .principle:first-child { padding: 20px 0; border-left: 0; }
  .principle:last-child { border-bottom: 0; }
  .section-heading { grid-template-columns: 1fr; align-items: start; gap: 25px; }
  .project-card { min-height: 430px; }
  .about { grid-template-columns: 1fr; }
  .about-sticker { width: 180px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100vw - 30px); --radius: 21px; }
  .site-header { padding-top: 16px; }
  .brand-mark { width: 32px; height: 32px; }
  .nav-contact { padding: 9px 13px 9px 15px; }
  .nav-contact svg { display: none; }
  .hero { padding: 64px 0 72px; gap: 65px; }
  .hero h1 { font-size: clamp(3.7rem, 18vw, 5rem); }
  .hero-intro { font-size: 1.02rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .signal-stage { border-radius: 46% 46% 25px 25px; }
  .float-note { min-width: 114px; padding: 9px 10px; }
  .note-one { right: -5px; }
  .note-two { left: -5px; }
  .note-three { right: 13px; }
  .core-mark { width: 116px; }
  .core-mark span { font-size: 2.5rem; }
  .work { padding: 95px 0 105px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 420px; padding: 23px; }
  .project-copy h3 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .mini-flow { right: 25px; left: 25px; }
  .mini-flow span { min-width: 63px; padding: 0 8px; }
  .mini-flow i { width: 18px; }
  .octi-board, .pixel-heart, .complex-plane { right: 29px; }
  .about { padding: 95px 0 105px; }
  .about-sticker { width: 145px; }
  .about-columns { grid-template-columns: 1fr; margin-top: 32px; gap: 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-meta { justify-items: start; text-align: left; }
}

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