:root {
  --bg: #0f0f12;
  --bg-2: #16161a;
  --surface: #1f1e24;
  --surface-2: #29272f;
  --line: #3f362f;
  --line-strong: #5f4f42;
  --text: #f5f1ea;
  --muted: #bdae9f;
  --primary: #f4b35a;
  --primary-2: #e97a34;
  --success: #8ccf9f;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--text);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(circle at 10% 0%, rgba(244, 179, 90, 0.13) 0, rgba(244, 179, 90, 0) 34%),
    radial-gradient(circle at 92% 10%, rgba(233, 122, 52, 0.13) 0, rgba(233, 122, 52, 0) 32%),
    linear-gradient(180deg, #0b0b0e 0%, #121114 46%, #0f0f12 100%);
  overflow-x: hidden;
}

.bg-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.2;
}

.orb-a {
  width: 420px;
  height: 420px;
  left: -140px;
  top: 8%;
  background: radial-gradient(circle, rgba(244, 179, 90, 0.44) 0, rgba(244, 179, 90, 0) 72%);
  animation: orbFloatA 20s ease-in-out infinite;
}

.orb-b {
  width: 500px;
  height: 500px;
  right: -200px;
  top: 40%;
  background: radial-gradient(circle, rgba(233, 122, 52, 0.4) 0, rgba(233, 122, 52, 0) 72%);
  animation: orbFloatB 24s ease-in-out infinite;
}

.orb-c {
  width: 300px;
  height: 300px;
  left: 44%;
  bottom: -120px;
  background: radial-gradient(circle, rgba(205, 141, 82, 0.34) 0, rgba(205, 141, 82, 0) 72%);
  animation: orbFloatC 18s ease-in-out infinite;
}

main,
.site-header,
.site-footer,
.modal {
  position: relative;
  z-index: 2;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.section {
  padding: clamp(1.9rem, 4vw, 3.2rem) 0;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.02em;
  font-family: "Space Grotesk", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
}

p {
  line-height: 1.72;
  text-wrap: pretty;
}

h1 {
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.034em;
  text-wrap: balance;
}

h2 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h3 {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.018em;
}

.kicker {
  margin: 0 0 0.62rem;
  color: #c8b296;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-head {
  margin-bottom: 0.8rem;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  max-width: 24ch;
}

.site-header {
  margin: 1rem auto 0;
  width: min(var(--max), 92vw);
  border: 1px solid rgba(121, 112, 103, 0.28);
  border-radius: 999px;
  background: rgba(13, 13, 16, 0.78);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(12px) saturate(115%);
  position: sticky;
  top: 0.8rem;
  z-index: 40;
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.72rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.52rem;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 180ms ease;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex-shrink: 0;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 260ms ease;
}

.logo-wordmark {
  display: grid;
  gap: 0.04rem;
  line-height: 1;
}

.logo-main {
  color: #f9f4ee;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.logo-sub {
  color: #d4a16a;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo:hover .logo-mark {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 5px 10px rgba(244, 179, 90, 0.16));
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.site-nav a {
  color: #b7aea3;
  text-decoration: none;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.33rem 0.58rem;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: #f4ece1;
  background: rgba(200, 150, 92, 0.12);
}

.menu-toggle {
  display: none;
  border: 1px solid rgba(120, 112, 102, 0.45);
  border-radius: 999px;
  background: rgba(22, 20, 24, 0.88);
  color: var(--text);
  padding: 0.35rem 0.72rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.header-cta.btn-primary {
  border-color: rgba(180, 138, 88, 0.34);
  background: linear-gradient(120deg, rgba(199, 153, 99, 0.24) 0%, rgba(178, 114, 70, 0.22) 100%);
  color: #f2e7d8;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

.header-cta.btn-primary:hover {
  border-color: rgba(199, 153, 99, 0.5);
  background: linear-gradient(120deg, rgba(199, 153, 99, 0.32) 0%, rgba(178, 114, 70, 0.28) 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.74rem 1.16rem;
  text-decoration: none;
  font-family: "Space Grotesk", "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-2) 100%);
  color: #1f1208;
  box-shadow: 0 12px 28px rgba(233, 122, 52, 0.34);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(26, 23, 20, 0.78);
  color: #e5d8ca;
}

.flow-main {
  position: relative;
}

.flow-main::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 2.5rem;
  bottom: 2.5rem;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(244, 179, 90, 0.24), rgba(233, 122, 52, 0.18), rgba(244, 179, 90, 0.24));
  pointer-events: none;
  z-index: 0;
}

.flow-section {
  position: relative;
}

.flow-section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 5px rgba(244, 179, 90, 0.15);
  z-index: 1;
}

.flow-start::before {
  width: 18px;
  height: 18px;
}

.flow-end::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -12px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
  box-shadow: 0 0 0 5px rgba(244, 179, 90, 0.15);
}

.flow-shell {
  border: 1px solid rgba(132, 113, 96, 0.36);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(29, 27, 31, 0.95) 0%, rgba(20, 18, 22, 0.96) 100%),
    linear-gradient(120deg, rgba(244, 179, 90, 0.05) 0%, rgba(233, 122, 52, 0.05) 100%);
  box-shadow: var(--shadow);
  padding: clamp(0.78rem, 2.1vw, 1rem);
}

.hero-center,
.page-hero-card,
.stat-card,
.service-card,
.service-summary,
.project-card,
.quick-card,
.info-card,
.team-member-card,
.process-card,
.result-card,
.cta-panel,
.contact-page-form {
  border: 1px solid rgba(132, 113, 96, 0.36);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(29, 27, 31, 0.95) 0%, rgba(20, 18, 22, 0.96) 100%),
    linear-gradient(120deg, rgba(244, 179, 90, 0.05) 0%, rgba(233, 122, 52, 0.05) 100%);
  box-shadow: var(--shadow);
}

.hero-center,
.page-hero-card,
.service-summary,
.quick-card,
.info-card,
.team-member-card,
.process-card,
.result-card,
.cta-panel,
.contact-page-form {
  padding: clamp(1rem, 3vw, 1.3rem);
}

.tilt-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  transform-style: preserve-3d;
}

.tilt-card:hover {
  border-color: rgba(244, 179, 90, 0.62);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.48);
}

.hero-center {
  position: relative;
  overflow: hidden;
  min-height: min(470px, 64vh);
  isolation: isolate;
}

.hero-center video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.06) brightness(0.44);
}

.hero-center-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 8%, rgba(244, 179, 90, 0.26) 0, rgba(244, 179, 90, 0) 36%),
    linear-gradient(180deg, rgba(10, 9, 11, 0.2) 0%, rgba(10, 9, 11, 0.84) 72%, rgba(10, 9, 11, 0.94) 100%);
}

.hero-center-copy {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(0.85rem, 3.2vw, 1.7rem);
}

.hero-center-copy h1 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.75rem, 4.9vw, 3.5rem);
  line-height: 1.02;
  max-width: 14ch;
  color: #fbf3e8;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-center-copy h1 {
    color: transparent;
    background-image:
      linear-gradient(134deg, #fff7eb 0%, #f7ddba 34%, #eabd88 64%, #fff4e5 100%),
      radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.2) 0 14%, rgba(255, 255, 255, 0) 46%),
      radial-gradient(circle at 78% 70%, rgba(255, 227, 193, 0.2) 0 12%, rgba(255, 227, 193, 0) 42%),
      repeating-linear-gradient(
        -22deg,
        rgba(255, 255, 255, 0.12) 0 1px,
        rgba(255, 255, 255, 0) 1px 6px
      );
    background-size: 100% 100%, 220px 220px, 220px 220px, 140px 140px;
    background-position: 0 0, 0 0, 80px 30px, 0 0;
    background-blend-mode: normal, screen, screen, soft-light;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0.4px rgba(255, 225, 188, 0.28);
    animation: heroTextSheen 12s ease-in-out infinite alternate;
  }
}

.hero-center-copy p {
  color: #d3c4b5;
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
  max-width: 66ch;
}

.hero-actions {
  margin-top: 0.72rem;
  display: flex;
  gap: 0.68rem;
  flex-wrap: wrap;
}

.hero-proof {
  margin-top: 0.62rem;
  color: #c6b4a0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

.page-hero {
  padding-top: 1.25rem;
}

.page-hero-card h1 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.9rem, 4.8vw, 3.1rem);
  line-height: 1.1;
  max-width: 16ch;
}

.page-hero-card p {
  color: var(--muted);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.stat-card {
  padding: 0.95rem;
}

.stat-value {
  margin: 0;
  line-height: 1;
  font-size: clamp(1.72rem, 4vw, 2.4rem);
  color: #f4d7ae;
}

.stat-label {
  margin: 0.44rem 0 0;
  color: #c3ab8e;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.service-card {
  padding: 0.95rem;
}

.service-card h3 {
  margin-bottom: 0.34rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.service-code {
  margin: 0 0 0.48rem;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(214, 161, 102, 0.72);
  background: rgba(38, 30, 23, 0.95);
  color: #f8dfbf;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
}

.service-summary h3,
.service-summary p {
  margin-bottom: 0.5rem;
}

.service-summary p {
  color: var(--muted);
}

.services-mobile-list {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
}

.services-mobile-list li {
  border: 1px solid rgba(141, 121, 101, 0.5);
  background: linear-gradient(180deg, rgba(30, 26, 22, 0.86), rgba(23, 20, 17, 0.9));
  border-radius: 12px;
  padding: 0.66rem 0.82rem;
  color: #eadfce;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
}

.bullet-list {
  margin: 0.2rem 0 0.75rem;
  padding-left: 1rem;
  color: #d2c3b3;
  font-size: 0.88rem;
}

.services-page .section {
  position: relative;
}

.srv-hero-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1rem, 2.7vw, 1.4rem);
  border: 1px solid rgba(157, 127, 102, 0.4);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 10% 18%, rgba(244, 179, 90, 0.13), rgba(244, 179, 90, 0) 34%),
    linear-gradient(180deg, rgba(29, 26, 23, 0.94), rgba(20, 18, 16, 0.95));
  box-shadow: var(--shadow);
}

.srv-hero-card::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -120px;
  bottom: -150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 122, 52, 0.2), rgba(233, 122, 52, 0) 72%);
  pointer-events: none;
}

.srv-hero-card h1 {
  margin-bottom: 0.58rem;
  font-size: clamp(1.9rem, 3.9vw, 2.8rem);
  max-width: 19ch;
}

.srv-hero-copy {
  max-width: 60ch;
  color: var(--muted);
}

.srv-intro-grid {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}

.srv-metric {
  border: 1px solid rgba(145, 120, 98, 0.44);
  border-radius: 11px;
  padding: 0.56rem 0.62rem;
  background: rgba(35, 30, 26, 0.82);
}

.srv-metric-value {
  margin: 0;
  color: #f3d7b1;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1.24rem;
  font-weight: 700;
}

.srv-metric-label {
  margin: 0.2rem 0 0;
  color: #c8b5a0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.srv-track-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.srv-track-card {
  border: 1px solid rgba(151, 124, 100, 0.4);
  border-radius: 14px;
  padding: 0.85rem;
  background: linear-gradient(180deg, rgba(32, 28, 24, 0.95), rgba(24, 21, 18, 0.96));
  box-shadow: var(--shadow);
}

.srv-track-header {
  display: flex;
  align-items: center;
  gap: 0.52rem;
  margin-bottom: 0.42rem;
}

.srv-track-header h3 {
  margin: 0;
  font-size: 1.08rem;
}

.srv-track-code {
  margin: 0;
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(210, 161, 109, 0.7);
  background: rgba(39, 33, 29, 0.9);
  color: #f7dfbf;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.srv-track-desc {
  margin: 0 0 0.52rem;
  color: var(--muted);
}

.srv-track-sub {
  margin: 0.34rem 0 0.24rem;
  color: #d8bea0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.srv-list {
  margin: 0;
  padding-left: 1rem;
  color: #d6c5b2;
  font-size: 0.85rem;
  line-height: 1.58;
}

.srv-track-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.87rem;
}

.srv-track-kpi {
  margin-top: 0.56rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.srv-track-kpi span {
  border: 1px solid rgba(145, 120, 97, 0.5);
  border-radius: 999px;
  background: rgba(38, 33, 29, 0.84);
  padding: 0.18rem 0.5rem;
  color: #d8c7b3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.67rem;
}

.srv-flow-wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.srv-flow-line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  border-top: 1px dashed rgba(173, 145, 117, 0.45);
  pointer-events: none;
}

.srv-flow-step {
  position: relative;
  border: 1px solid rgba(151, 124, 100, 0.4);
  border-radius: 14px;
  padding: 0.82rem;
  background: linear-gradient(180deg, rgba(32, 28, 24, 0.95), rgba(24, 21, 18, 0.96));
  box-shadow: var(--shadow);
}

.srv-flow-step::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #e7b780;
  box-shadow: 0 0 0 4px rgba(231, 183, 128, 0.18);
}

.srv-flow-step h3 {
  margin: 0 0 0.4rem;
}

.srv-flow-step p {
  margin: 0;
  color: var(--muted);
}

.srv-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.srv-model-card {
  border: 1px solid rgba(151, 124, 100, 0.4);
  border-radius: 14px;
  padding: 0.86rem;
  background: linear-gradient(180deg, rgba(32, 28, 24, 0.95), rgba(24, 21, 18, 0.96));
  box-shadow: var(--shadow);
}

.srv-model-card h3 {
  margin-bottom: 0.42rem;
}

.srv-model-card p {
  margin: 0;
  color: var(--muted);
}

.srv-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.srv-faq-item {
  border: 1px solid rgba(151, 124, 100, 0.4);
  border-radius: 14px;
  padding: 0.72rem 0.8rem;
  background: linear-gradient(180deg, rgba(32, 28, 24, 0.95), rgba(24, 21, 18, 0.96));
  box-shadow: var(--shadow);
}

.srv-faq-item summary {
  cursor: pointer;
  color: #f2e6d8;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  list-style: none;
}

.srv-faq-item summary::-webkit-details-marker {
  display: none;
}

.srv-faq-item p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.srv-faq-item[open] {
  border-color: rgba(214, 164, 111, 0.56);
}

@media (max-width: 1100px) {
  .srv-intro-grid,
  .srv-track-grid,
  .srv-model-grid,
  .srv-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .srv-flow-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .srv-flow-line {
    display: none;
  }
}

@media (max-width: 920px) {
  .srv-intro-grid,
  .srv-track-grid,
  .srv-flow-wrap,
  .srv-model-grid,
  .srv-faq-grid {
    grid-template-columns: 1fr;
  }

  .srv-flow-line {
    display: none;
  }
}

.project-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.projects {
  position: relative;
}

.projects-shell {
  position: relative;
  width: min(1280px, 96vw);
  margin-inline: auto;
  padding: 0.6rem 0 0.8rem;
}

.projects-shell::before,
.projects-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.projects-shell::before {
  width: min(52vw, 620px);
  aspect-ratio: 1 / 1;
  left: -11%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 122, 52, 0.2), rgba(233, 122, 52, 0) 68%);
  filter: blur(16px);
}

.projects-shell::after {
  width: min(42vw, 520px);
  aspect-ratio: 1 / 1;
  right: -8%;
  top: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 179, 90, 0.18), rgba(244, 179, 90, 0) 70%);
  filter: blur(14px);
}

.projects-redesign {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 1.24rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.projects-copy h2 {
  margin-bottom: 0.55rem;
  max-width: 18ch;
}

.projects-copy p {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

.projects-stat-row {
  margin: 0.75rem 0 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.projects-stat-row span {
  border: 1px solid rgba(145, 119, 98, 0.52);
  border-radius: 999px;
  background: rgba(30, 26, 22, 0.84);
  padding: 0.24rem 0.58rem;
  color: #d9c6af;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.projects-stage {
  position: relative;
  min-height: 790px;
  border: 1px solid rgba(146, 122, 100, 0.34);
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 14%, rgba(244, 179, 90, 0.16) 0, rgba(244, 179, 90, 0) 44%),
    radial-gradient(circle at 82% 86%, rgba(233, 122, 52, 0.16) 0, rgba(233, 122, 52, 0) 48%),
    linear-gradient(180deg, rgba(25, 22, 20, 0.95) 0%, rgba(17, 15, 13, 0.96) 100%);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.46);
}

.projects-stage::before,
.projects-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.projects-stage::before {
  width: min(78vw, 640px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(192, 154, 116, 0.2);
}

.projects-stage::after {
  width: min(70vw, 560px);
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(192, 154, 116, 0.22);
}

.projects-feature {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(360px, 72%);
  padding: 0.84rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(171, 137, 103, 0.52);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 179, 90, 0.18), rgba(244, 179, 90, 0) 44%),
    linear-gradient(180deg, rgba(34, 30, 27, 0.96), rgba(23, 20, 17, 0.97));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  z-index: 3;
}

.projects-feature-media {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(171, 137, 103, 0.42);
  aspect-ratio: 16 / 9;
  margin-bottom: 0.6rem;
}

.projects-feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects-feature h3 {
  margin: 0 0 0.35rem;
  font-size: 1.16rem;
}

.projects-feature p {
  margin: 0;
  color: var(--muted);
}

.projects-orbit-track {
  position: absolute;
  inset: 0;
  z-index: 2;
  animation: spinOrbit 34s linear infinite;
  will-change: transform;
  pointer-events: none;
}

.orbit-node {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  transform: rotate(calc(var(--i) * 72deg)) translateY(-314px);
}

.orbit-card {
  position: relative;
  left: 0;
  top: 0;
  width: 188px;
  padding: 0.36rem;
  border: 1px solid rgba(171, 137, 103, 0.48);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(31, 27, 24, 0.97), rgba(22, 19, 17, 0.97));
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.44);
  transform: translate(-50%, -50%);
  animation: orbitCardCounter 34s linear infinite;
  transition: border-color 180ms ease, box-shadow 180ms ease;
  will-change: transform;
  pointer-events: none;
}

.orbit-card:hover {
  border-color: rgba(244, 179, 90, 0.72);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.52);
}

.orbit-card img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid rgba(171, 137, 103, 0.35);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.orbit-card p {
  margin: 0.32rem 0 0;
  color: #d7c5b0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.orbit-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, rgba(207, 169, 131, 0.6), rgba(207, 169, 131, 0));
  transform: translateX(-50%);
  pointer-events: none;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 0.78rem;
}

.project-card::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  right: 0.7rem;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(244, 179, 90, 0), rgba(244, 179, 90, 0.86), rgba(233, 122, 52, 0));
  transform: scaleX(0.38);
  transform-origin: center;
  opacity: 0;
  transition: transform 280ms ease, opacity 280ms ease;
}

.project-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.project-card-feature {
  grid-column: 1 / span 2;
}

.project-grid-home > .project-card-feature {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.project-grid-home > .project-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.project-grid-home > .project-card:nth-child(3) {
  grid-column: 1 / span 2;
  grid-row: 2;
}

.project-grid-home > .project-card:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}

.portfolio-grid > .project-card-feature {
  grid-column: 1 / span 2;
  grid-row: 1;
}

.portfolio-grid > .project-card:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.portfolio-grid > .project-card:nth-child(3) {
  grid-column: 1;
  grid-row: 2;
}

.portfolio-grid > .project-card:nth-child(4) {
  grid-column: 2;
  grid-row: 2;
}

.portfolio-grid > .project-card:nth-child(5) {
  grid-column: 3;
  grid-row: 2;
}

.project-media {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(145, 121, 99, 0.45);
  aspect-ratio: 16 / 9;
  background: #1a1510;
  margin-bottom: 0.64rem;
}

.project-card-feature .project-media {
  aspect-ratio: 16 / 10;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 11, 8, 0) 56%, rgba(15, 11, 8, 0.42) 100%);
  pointer-events: none;
}

.project-media img,
.project-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 440ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
  transform: scale(1.06);
}

.project-card-showcase h3 {
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
}

.project-meta {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.project-meta span {
  border: 1px solid rgba(139, 120, 100, 0.48);
  background: rgba(37, 32, 28, 0.76);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
  color: #dbc9b5;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.69rem;
}

.project-card p,
.quick-card p,
.info-card p,
.team-member-card p,
.process-card p,
.result-card p,
.cta-panel p {
  color: var(--muted);
}

.quick-grid,
.feature-grid-3,
.result-grid {
  display: grid;
  gap: 0.85rem;
}

.quick-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-grid-3,
.result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  position: relative;
}

.testimonial-card::before {
  content: "\"";
  position: absolute;
  top: 0.6rem;
  right: 0.9rem;
  color: rgba(244, 179, 90, 0.26);
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
  pointer-events: none;
}

.testimonial-quote {
  margin: 0;
  font-size: 0.97rem;
  line-height: 1.66;
}

.testimonial-meta {
  margin: 0.72rem 0 0;
  color: #d0b08a !important;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  color: #f6d5a8;
  text-decoration: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
}

.text-link:hover {
  color: #fff3df;
}

.split-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.team-member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.team-head-copy {
  margin: 0.2rem 0 0;
  color: var(--muted);
  max-width: 58ch;
}

.team-member-card h3 {
  margin-bottom: 0.25rem;
}

.team-photo {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(170, 136, 102, 0.4);
  aspect-ratio: 4 / 3;
  margin-bottom: 0.65rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-role {
  margin: 0 0 0.5rem;
  color: #d0b08a;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0.85rem;
  align-items: stretch;
}

.map-card {
  border: 1px solid rgba(132, 113, 96, 0.36);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(29, 27, 31, 0.95) 0%, rgba(20, 18, 22, 0.96) 100%),
    linear-gradient(120deg, rgba(244, 179, 90, 0.05) 0%, rgba(233, 122, 52, 0.05) 100%);
  box-shadow: var(--shadow);
  min-height: 320px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.72) contrast(1.04) brightness(0.82);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.step-no {
  margin: 0 0 0.32rem;
  color: #d4b58f;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cta-panel {
  overflow: hidden;
  margin-top: 0.55rem;
}

.cta-panel::after {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  right: -130px;
  bottom: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 122, 52, 0.24) 0, rgba(233, 122, 52, 0) 72%);
  pointer-events: none;
}

.cta-panel h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.4rem, 3.1vw, 2.08rem);
  max-width: 21ch;
}

.contact-points {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.contact-points li {
  color: #d2c3b3;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.77rem;
}

.contact-points strong {
  color: #fbf3e9;
}

.contact-page-form,
.discovery-form {
  display: grid;
  gap: 0.64rem;
}

.contact-page-form label,
.discovery-form label {
  display: grid;
  gap: 0.22rem;
  color: #ccb79f;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.82rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #1a1714;
  color: var(--text);
  padding: 0.64rem 0.72rem;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f4b35a;
  box-shadow: 0 0 0 3px rgba(244, 179, 90, 0.2);
}

.form-success {
  margin: 0;
  color: var(--success);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.submit-notice {
  position: fixed;
  left: 50%;
  top: 1rem;
  transform: translate(-50%, -12px);
  z-index: 90;
  width: min(92vw, 680px);
  border: 1px solid rgba(137, 118, 98, 0.48);
  border-radius: 12px;
  padding: 0.72rem 0.9rem;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  line-height: 1.4;
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(8px);
}

.submit-notice.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.submit-notice.is-success {
  color: #e9f7eb;
  background: linear-gradient(180deg, rgba(31, 69, 44, 0.95), rgba(20, 48, 29, 0.95));
  border-color: rgba(103, 181, 124, 0.58);
}

.submit-notice.is-error {
  color: #ffe8e2;
  background: linear-gradient(180deg, rgba(95, 36, 27, 0.95), rgba(68, 24, 18, 0.95));
  border-color: rgba(217, 118, 100, 0.58);
}

.submit-notice.is-warning {
  color: #fff4e2;
  background: linear-gradient(180deg, rgba(88, 57, 19, 0.95), rgba(63, 40, 15, 0.95));
  border-color: rgba(226, 172, 94, 0.6);
}

.site-footer {
  padding: 1.2rem 0 1.45rem;
  border-top: 1px solid rgba(141, 121, 101, 0.24);
  margin-top: 1.15rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  margin-bottom: 0.95rem;
}

.footer-title {
  margin: 0 0 0.3rem;
  color: #f7efe4;
  font-family: "Space Grotesk", "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.footer-copy {
  margin: 0;
  color: #bcae9f;
  font-size: 0.84rem;
  line-height: 1.62;
  max-width: 36ch;
}

.footer-heading {
  margin: 0 0 0.42rem;
  color: #dbc0a1;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.24rem;
  color: #baaa99;
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.81rem;
  line-height: 1.5;
}

.footer-links a {
  color: #ccbcaa;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f2e5d4;
}

.footer-bottom {
  border-top: 1px solid rgba(129, 111, 93, 0.26);
  padding-top: 0.72rem;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  color: #9f917f;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
}

.footer-bottom p {
  margin: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 6, 0.72);
}

.modal-card {
  position: relative;
  margin: 7vh auto 0;
  width: min(560px, 92vw);
  border: 1px solid rgba(157, 132, 105, 0.5);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 179, 90, 0.14) 0, rgba(244, 179, 90, 0) 42%),
    linear-gradient(180deg, rgba(28, 24, 20, 0.98) 0%, rgba(18, 15, 12, 0.98) 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.54);
  padding: 1.08rem;
}

.modal-close {
  border: 0;
  background: transparent;
  color: #cfb69a;
  font-size: 1.5rem;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 0.62rem;
  cursor: pointer;
}

.modal-card h2 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
}

.modal-copy {
  margin: 0 0 0.7rem;
  color: var(--muted);
}

body.modal-open {
  overflow: hidden;
}

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

.js-enabled .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.js-enabled .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .service-layout,
  .stat-grid,
  .service-grid,
  .team-member-grid,
  .contact-map-grid,
  .project-grid,
  .portfolio-grid,
  .split-grid,
  .contact-layout,
  .process-grid,
  .feature-grid-3,
  .result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-feature {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .projects-redesign {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .projects-copy {
    max-width: none;
    text-align: left;
  }

  .projects-copy h2 {
    max-width: 24ch;
  }

  .projects-copy p {
    margin-inline: 0;
    max-width: 60ch;
  }

  .projects-stat-row {
    justify-content: flex-start;
  }

  .projects-stage {
    min-height: 650px;
  }

  .orbit-node {
    transform: rotate(calc(var(--i) * 72deg)) translateY(-282px);
  }

  .orbit-card {
    width: 170px;
  }

  .project-grid-home > .project-card,
  .project-grid-home > .project-card:nth-child(2),
  .project-grid-home > .project-card:nth-child(3),
  .project-grid-home > .project-card:nth-child(4),
  .project-grid-home > .project-card-feature,
  .portfolio-grid > .project-card,
  .portfolio-grid > .project-card:nth-child(2),
  .portfolio-grid > .project-card:nth-child(3),
  .portfolio-grid > .project-card:nth-child(4),
  .portfolio-grid > .project-card:nth-child(5),
  .portfolio-grid > .project-card-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .header-row {
    grid-template-columns: auto auto;
    position: relative;
  }

  .logo-main {
    font-size: 0.84rem;
  }

  .logo-sub {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.open {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 60;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.52rem;
    border: 1px solid rgba(125, 114, 102, 0.45);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(18, 17, 21, 0.96), rgba(14, 13, 17, 0.97));
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(8px) saturate(112%);
    animation: mobileMenuIn 170ms ease;
  }

  .site-nav.open a {
    width: 100%;
    padding: 0.58rem 0.72rem;
    border: 1px solid rgba(130, 118, 105, 0.3);
    background: rgba(41, 35, 30, 0.36);
    border-radius: 10px;
    color: #dfd0bf;
  }

  .site-nav.open a:hover,
  .site-nav.open a.active {
    background: linear-gradient(120deg, rgba(244, 179, 90, 0.16) 0%, rgba(233, 122, 52, 0.14) 100%);
    border-color: rgba(196, 151, 99, 0.52);
    color: #f7ecdf;
  }

  .header-cta.open {
    display: none;
  }

  .service-layout,
  .stat-grid,
  .service-grid,
  .team-member-grid,
  .contact-map-grid,
  .project-grid,
  .portfolio-grid,
  .quick-grid,
  .split-grid,
  .contact-layout,
  .process-grid,
  .feature-grid-3,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .flow-main::before,
  .flow-section::before,
  .flow-end::after {
    display: none;
  }

  #services .section-head {
    margin-bottom: 0.42rem;
  }

  #services .section-head h2 {
    display: none;
  }

  .services-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  #services .service-layout {
    display: none;
  }

  .hero-center {
    min-height: 410px;
  }

  .bg-ambient {
    display: none;
  }

  .projects-shell::before,
  .projects-shell::after {
    display: none;
  }

  .projects-stage {
    min-height: auto;
    padding: 0;
    border-radius: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .projects-stage::before,
  .projects-stage::after {
    display: none;
  }

  .projects-feature {
    display: none;
  }

  .projects-orbit-track {
    position: relative;
    inset: auto;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 82%);
    gap: 0.8rem;
    padding: 0.2rem 0.1rem 0.45rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    animation: none;
    pointer-events: auto;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .projects-orbit-track::-webkit-scrollbar {
    height: 6px;
  }

  .projects-orbit-track::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(211, 163, 112, 0.6);
  }

  .orbit-node {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    height: auto;
    transform: none;
  }

  .orbit-card {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    padding: 0.42rem;
    border-radius: 16px;
    transform: none;
    animation: none;
    scroll-snap-align: start;
    pointer-events: auto;
  }

  .orbit-card img {
    aspect-ratio: 16 / 11;
  }

  .orbit-card p {
    font-size: 0.72rem;
  }

  .orbit-card::after {
    display: none;
  }

  .portfolio-grid {
    gap: 0.8rem;
  }

  .portfolio-grid > .project-card,
  .portfolio-grid > .project-card:nth-child(2),
  .portfolio-grid > .project-card:nth-child(3),
  .portfolio-grid > .project-card:nth-child(4),
  .portfolio-grid > .project-card:nth-child(5),
  .portfolio-grid > .project-card-feature {
    grid-column: auto;
    grid-row: auto;
    padding: 0.72rem;
  }

  .portfolio-grid .project-media {
    aspect-ratio: 16 / 10;
    margin-bottom: 0.56rem;
  }

}

@media (max-width: 640px) {
  .section {
    padding: 1.75rem 0;
  }

  .logo-mark {
    width: 30px;
    height: 30px;
  }

  .logo-main {
    font-size: 0.8rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .projects-orbit-track {
    grid-auto-columns: minmax(220px, 88%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.32rem;
  }

  .site-header {
    top: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orb,
  .reveal,
  .tilt-card,
  .projects-orbit-track,
  .orbit-card,
  .hero-center-copy h1 {
    animation: none !important;
    transition: none !important;
  }
}

@keyframes spinOrbit {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes heroTextSheen {
  from {
    background-position: 0 0, 0 0, 80px 30px, 0 0;
  }
  to {
    background-position: 0 0, 46px 20px, 118px 72px, 42px 24px;
  }
}

@keyframes mobileMenuIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes orbitCardCounter {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}

@keyframes orbFloatA {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(72px, -34px, 0) scale(1.12);
  }
}

@keyframes orbFloatB {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-66px, 56px, 0) scale(1.1);
  }
}

@keyframes orbFloatC {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(24px, -72px, 0) scale(1.16);
  }
}
