/* Local fonts (place files in assets/fonts) */
@font-face {
  font-family: "Bodoni Moda";
  src: url("/assets/fonts/BodoniModa-VariableFont_opsz,wght.ttf")
    format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #050608;
  --fg: #f5f7fa;
  --muted: #a7b0be;
  --stroke: rgba(245, 247, 250, 0.12);

  --blue: #4b6698;
  --purple: #3f6fa8;
  --orange: #bc734a;
  --pink: #d7dbe0;
  --accent: var(--orange);
  --accent-rgb: 188, 115, 74;
  --gold: #d4a23a;

  --radius: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      900px 600px at 18% 0%,
      rgba(75, 102, 152, 0.08),
      transparent 55%
    ),
    radial-gradient(
      900px 600px at 82% 20%,
      rgba(204, 146, 196, 0.06),
      transparent 60%
    ),
    var(--bg);
  color: var(--fg);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}
.section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}
.section.tight {
  padding: 18px 0;
}

.h1,
.h2,
.h3 {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
}
.h1 {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.15;
}
.h3 {
  font-size: 1.12rem;
  line-height: 1.2;
}

.kicker {
  color: var(--muted);
  margin: 0 0 12px 0;
}
.subhead {
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 18px 0;
}
.highlight {
  color: var(--accent);
  font-family: "Bodoni Moda", "Times New Roman", serif;
  font-weight: 400;
}
.h2 .highlight {
  text-shadow:
    0 0 12px rgba(var(--accent-rgb), 0.35),
    0 0 24px rgba(var(--accent-rgb), 0.2);
}
.bondai {
  font-family: "Bodoni Moda", Inter, system-ui, sans-serif;
  font-weight: 500;
}
.theme-blue {
  --accent: var(--blue);
  --accent-rgb: 75, 102, 152;
}
.theme-orange {
  --accent: var(--orange);
  --accent-rgb: 188, 115, 74;
}
.theme-pink {
  --accent: var(--pink);
  --accent-rgb: 215, 219, 224;
}
.accent-gold {
  color: var(--gold);
  font-weight: 600;
  text-shadow:
    0 0 10px rgba(212, 162, 58, 0.35),
    0 0 22px rgba(212, 162, 58, 0.2);
}
.accent-brown {
  color: #b26a3c;
  font-weight: 600;
  text-shadow:
    0 0 10px rgba(178, 106, 60, 0.35),
    0 0 22px rgba(178, 106, 60, 0.2);
}
.accent {
  color: var(--fg);
  font-weight: 600;
}
.accent-blue {
  color: var(--blue);
}
.accent-purple {
  color: var(--blue);
}
.accent-orange {
  color: var(--orange);
}
.muted {
  color: var(--muted);
  margin: 0;
}
.fine {
  color: var(--muted);
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.section-head {
  margin-bottom: 22px;
}

/* NAV */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 14px 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: min(1320px, calc(100% - 16px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;

  position: relative;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(5, 6, 8, 0.38);
  opacity: 1;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    opacity 220ms ease;
}
.nav.solid {
  background: rgba(5, 6, 8, 0.78);
  border-color: var(--stroke);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-center {
  display: none;
  justify-content: center;
  gap: 18px;
}
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-toggle {
  background: transparent;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 8px 2px;
}
.nav-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 190px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: rgba(8, 10, 12, 0.98);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(245, 247, 250, 0.02) inset;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 1001;
}
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: 100%;
  height: 16px;
}
.nav-menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}
.nav-menu a:hover {
  color: var(--fg);
  background: rgba(245, 247, 250, 0.04);
}
.nav-dropdown:hover .nav-menu,
.nav-dropdown:focus-within .nav-menu,
.nav-dropdown.is-open .nav-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.nav-right .btn-compact {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.04);
  color: var(--fg);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}
.nav-menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.35);
  background: rgba(245, 247, 250, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}
.nav-menu-toggle.is-open {
  background: rgba(245, 247, 250, 0.12);
  border-color: rgba(245, 247, 250, 0.45);
}
.nav-menu-text {
  font-size: 0.88rem;
}
.nav-menu-icon {
  width: 22px;
  height: 2px;
  background: var(--fg);
  border-radius: 999px;
  position: relative;
}
.nav-menu-icon::before,
.nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--fg);
}
.nav-menu-icon::before {
  top: -6px;
  width: 22px;
}
.nav-menu-icon::after {
  top: 6px;
  width: 16px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  display: none;
  align-items: stretch;
  justify-content: center;
  justify-items: center;
  padding: 72px 16px 16px;
  background: rgba(5, 6, 8, 0.58);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
  z-index: 1100;
}
.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease;
}
.mobile-nav-panel {
  width: min(680px, 100%);
  border-radius: 22px;
  border: 1px solid rgba(245, 247, 250, 0.22);
  background: linear-gradient(
    180deg,
    rgba(12, 14, 18, 0.92),
    rgba(7, 8, 10, 0.9)
  );
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 46px 16px 16px;
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(245, 247, 250, 0.06) inset,
    0 0 40px rgba(75, 102, 152, 0.18);
  transform: translateY(-10px);
  opacity: 0;
  transition:
    transform 220ms ease,
    opacity 220ms ease;
  height: 100%;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: translateY(0);
  opacity: 1;
}
.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.25);
  background: rgba(245, 247, 250, 0.06);
  color: var(--fg);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.mobile-nav-close:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.4);
  background: rgba(245, 247, 250, 0.12);
}

.mobile-nav-section {
  margin: 8px 0 10px;
  padding: 8px 6px;
  border-radius: 14px;
  background: rgba(245, 247, 250, 0.06);
}
.mobile-nav-title {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.mobile-nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(245, 247, 250, 0.92);
  font-size: 0.96rem;
  transition:
    background 180ms ease,
    color 180ms ease;
}
.mobile-nav-link:hover {
  color: var(--fg);
  background: rgba(245, 247, 250, 0.08);
}
.mobile-nav-cta {
  display: block;
  margin-top: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  color: #0c0f14;
  background: linear-gradient(135deg, #f2c35a, #d4a23a 55%, #bc734a);
  box-shadow: 0 14px 28px rgba(188, 115, 74, 0.32);
  transition:
    transform 180ms ease,
    filter 180ms ease;
}
.mobile-nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

html.nav-open,
body.nav-open {
  overflow: hidden;
}
body.nav-open {
  touch-action: none;
}

.nav-logo-link {
  display: flex;
  align-items: center;
}
/* BIGGER logo */
.nav-logo {
  height: 72px; /* ~1.6x */
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(245, 247, 250, 0.348));
  opacity: 0.98;
}

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 2px;
  transition: color 180ms ease;
}
.nav-link:hover {
  color: var(--fg);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  height: 1px;
  width: 0%;
  background: rgba(245, 247, 250, 0.7);
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.nav-link:hover::after {
  width: 100%;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  background: rgba(245, 247, 250, 0.02);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.icon-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.22);
  background: rgba(245, 247, 250, 0.04);
}
.icon-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--fg);
  opacity: 0.85;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}
.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 247, 250, 0.22);
}
.btn:active {
  transform: translateY(0px);
}

.btn-primary {
  border-color: transparent;
  background: var(--fg);
  color: #050608;
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
}
.btn-block {
  width: 100%;
}
.btn-compact {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.btn-shine {
  position: absolute;
  inset: -60% -40%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 65%
  );
  transform: translateX(-40%);
  opacity: 0;
  transition:
    transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 220ms ease;
}
.btn:hover .btn-shine {
  opacity: 0.55;
  transform: translateX(40%);
}

/* HERO */
.hero {
  padding-top: 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: start;
}
.city-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  display: block;
  object-fit: cover;
}
.cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.area-grid + .cta-row {
  margin-top: 16px;
}
.work-grid + .cta-row {
  margin-top: 22px;
}

.panel {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(10px);
  padding: 18px;
}
.hero-list {
  margin: 14px 0 16px;
  padding-left: 18px;
  color: var(--muted);
}
.hero-list li {
  margin: 6px 0;
}

/* Form */
.form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.field {
  display: grid;
  gap: 6px;
}
label span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  background: rgba(5, 6, 8, 0.78);
  color: var(--fg);
  border: 1px solid var(--stroke);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
  transition: border-color 180ms ease;
}
textarea {
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(245, 247, 250, 0.3);
}
input.invalid,
select.invalid,
textarea.invalid {
  border-color: rgba(188, 115, 74, 0.55);
}

.error {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(245, 247, 250, 0.78);
  opacity: 0.9;
}
.success {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(75, 102, 152, 0.35);
  background: rgba(75, 102, 152, 0.1);
  color: var(--fg);
  font-size: 0.95rem;
}

/* Marquee */
.marquee {
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 14px 0;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 14%,
    rgba(0, 0, 0, 1) 86%,
    rgba(0, 0, 0, 0)
  );
}
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.chip {
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(245, 247, 250, 0.02);
  color: var(--muted);
  font-size: 0.92rem;
  white-space: nowrap;
}
@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.04);
}
.card[data-accent="blue"] {
  border-color: rgba(75, 102, 152, 0.35);
}
.card[data-accent="purple"] {
  border-color: rgba(204, 146, 196, 0.35);
}
.card[data-accent="orange"] {
  border-color: rgba(188, 115, 74, 0.35);
}
.card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.card li {
  margin: 6px 0;
}

.project-card-grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card-grid .card .h3 {
  margin-bottom: 10px;
}

.project-card-grid .card .muted {
  margin: 0;
}

.project-card-grid .card a:last-child {
  margin-top: auto;
  padding-top: 14px;
  display: inline-flex;
  width: fit-content;
}

/* Reviews */
.review-quote {
  margin: 0 0 12px;
  font-size: 0.98rem;
  line-height: 1.6;
  color: rgba(245, 247, 250, 0.92);
}
.review-meta {
  display: grid;
  gap: 4px;
}
.review-stars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  color: #f2c35a;
  text-shadow: 0 0 10px rgba(242, 195, 90, 0.35);
}
.review-name {
  font-weight: 600;
  color: rgba(245, 247, 250, 0.92);
}
.review-role {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Work */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.work-tile {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: rgba(245, 247, 250, 0.02);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}
.work-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
}
.work-tile img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.05);
}
.work-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.1));
}
.work-overlay h3 {
  margin: 8px 0 6px;
}
.work-overlay p {
  margin: 0;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.85rem;
  color: var(--fg);
  background: rgba(5, 6, 8, 0.45);
}
.tag[data-accent="blue"] {
  border-color: rgba(75, 102, 152, 0.55);
}
.tag[data-accent="purple"] {
  border-color: rgba(204, 146, 196, 0.55);
}
.tag[data-accent="orange"] {
  border-color: rgba(188, 115, 74, 0.55);
}
.tag[data-accent="pink"] {
  border-color: rgba(215, 219, 224, 0.55);
}

/* Process pinned */
.process-pinned {
  padding-bottom: 0;
  overflow: visible;
} /* important for sticky */
.process-stage {
  height: 260vh;
  position: relative;
  overflow: visible;
}
.process-stage-inner {
  position: sticky;
  top: 110px;
  padding: 18px 0 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  overflow: visible;
}

.process-left {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
}
.process-kicker {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.process-title {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.process-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 14px;
}
.process-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}
.bar {
  width: 120px;
  height: 6px;
  border-radius: 999px;
  background: rgba(245, 247, 250, 0.08);
  overflow: hidden;
  border: 1px solid rgba(245, 247, 250, 0.1);
}
.bar-fill {
  height: 100%;
  width: 0%;
  background: var(--process-accent, rgba(245, 247, 250, 0.75));
  transition: width 220ms ease;
}
.bar-meta {
  min-width: 56px;
  text-align: right;
  opacity: 0.85;
}

.process-right {
  display: grid;
  gap: 12px;
}
.process-visual {
  border-radius: var(--radius);
  border: 0;
  background: none;
  min-height: 320px;
  background-size: cover;
  background-position: center;
  transition:
    background-image 320ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}
.process-visual.is-active {
  border-color: transparent;
  box-shadow: none;
}
.pstep {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: linear-gradient(
    135deg,
    rgba(245, 247, 250, 0.05),
    rgba(245, 247, 250, 0.015)
  );
  padding: 16px;
  opacity: 0.35;
  transform: translateY(8px);
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
  position: relative;
  overflow: hidden;
  --accent-color: var(--blue);
}
.pstep[data-accent="orange"] {
  --accent-color: var(--orange);
}
.pstep[data-accent="purple"] {
  --accent-color: var(--blue);
}
.pstep[data-accent="pink"] {
  --accent-color: var(--pink);
}
.pstep[data-accent="gold"] {
  --accent-color: var(--gold);
}
.pstep.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(245, 247, 250, 0.22);
  background: linear-gradient(
    145deg,
    rgba(245, 247, 250, 0.08),
    rgba(245, 247, 250, 0.02)
  );
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(245, 247, 250, 0.12) inset;
}
.pnum {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--muted);
}
.pstep.is-active[data-accent="blue"] .pnum {
  color: var(--blue);
}
.pstep.is-active[data-accent="purple"] .pnum {
  color: var(--blue);
}
.pstep.is-active[data-accent="orange"] .pnum {
  color: var(--orange);
}
.pstep.is-active[data-accent="pink"] .pnum {
  color: var(--pink);
}
.pstep.is-active[data-accent="gold"] .pnum {
  color: var(--gold);
}

/* Articles */
.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.article-card {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}
.article-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.2);
  background: rgba(245, 247, 250, 0.04);
}
.article-card h3 {
  margin: 10px 0 6px;
}

/* Services reasons */
.services-reasons {
  margin-top: 26px;
}
.reason-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.reason-col {
  padding: 8px 0;
}
.reason-col h3 {
  margin-bottom: 8px;
}
.reason-col p {
  color: var(--muted);
}

/* Service areas */
.area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.area-card {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(245, 247, 250, 0.02);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
  position: relative;
  overflow: hidden;
}
.area-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}
.area-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 247, 250, 0.24);
  background: rgba(245, 247, 250, 0.035);
}

.area-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    120deg,
    rgba(188, 115, 74, 0.12),
    rgba(188, 115, 74, 0.12) 1px,
    transparent 1px,
    transparent 6px
  );
  opacity: 0;
  transform: translateX(-35%);
  transition:
    opacity 220ms ease,
    transform 320ms ease;
  pointer-events: none;
}

.area-card:hover::after {
  opacity: 0.55;
  transform: translateX(0);
}

.area-card h3 {
  transition: transform 220ms ease, color 220ms ease;
}
.area-card:hover h3 {
  transform: translateX(4px);
  color: var(--orange);
}

.area-card::before {
  content: "";
  position: absolute;
  right: 14px;
  top: 16px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}
.area-card:hover::before {
  opacity: 0.85;
  transform: scale(1);
}

.services-cta {
  margin-top: 18px;
}

/* Consultation CTA */
.consult-cta {
  padding: 54px 0;
}
.consult-box {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(245, 247, 250, 0.03);
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
}
.consult-box .btn {
  white-space: nowrap;
}
.consult-box .btn-primary {
  background: var(--orange);
  border-color: rgba(188, 115, 74, 0.45);
  color: #050608;
}
.consult-box .btn-primary:hover {
  background: #c37d56;
  border-color: rgba(188, 115, 74, 0.65);
}
.calendly-wrap {
  max-width: 1280px;
  margin: 0 auto;
}
.calendly-wrap .calendly-inline-widget {
  width: 100%;
}

/* FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-weight: 600;
  cursor: pointer;
}
.faq-q:hover {
  background: rgba(245, 247, 250, 0.03);
}
.faq-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.2);
  display: grid;
  place-items: center;
  background: rgba(245, 247, 250, 0.04);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
  margin-left: 10px;
  position: relative;
}
.faq-icon::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(245, 247, 250, 0.7);
  border-bottom: 2px solid rgba(245, 247, 250, 0.7);
  transform: rotate(-45deg);
  transition: transform 220ms ease;
}
.faq-item.is-open .faq-icon {
  transform: rotate(0deg);
  border-color: rgba(245, 247, 250, 0.35);
  background: rgba(245, 247, 250, 0.08);
}
.faq-item.is-open .faq-icon::before {
  transform: rotate(135deg);
}
.faq-a {
  overflow: hidden;
  height: 0px;
  transition: height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.faq-inner {
  padding: 0 16px 16px;
  color: var(--muted);
}

/* Final CTA */
.final-cta {
  padding-bottom: 110px;
}
.final-box {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 26px;
  max-width: 760px;
}
.final-cta-btn {
  margin-top: 16px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--stroke);
  padding: 32px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}
.footer-logo {
  height: 98px; /* big by default */
  width: auto;
  opacity: 0.95;
  display: block;
  margin-bottom: 12px;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.55));
}

.footer-title {
  font-weight: 600;
  color: rgba(245, 247, 250, 0.92);
  margin-bottom: 8px;
}
.footer-area {
  max-width: 44ch;
}
.footer-social {
  margin-top: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-mini {
  display: inline-flex;
  width: fit-content;
  color: var(--muted);
}
.footer-mini:hover {
  color: var(--fg);
}
.footer-dot {
  opacity: 0.55;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-links a {
  display: inline-flex;
  width: fit-content; /* prevents “clickable from far away” */
  color: var(--muted);
}
.footer-links a:hover {
  color: var(--fg);
}
.priority-city-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(110px, max-content));
  justify-content: space-between;
  justify-items: start;
  gap: 6px 22px;
  align-items: start;
}
.priority-city-links a {
  width: auto;
  white-space: nowrap;
}

/* Art */
.art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  opacity: 0.55;
  filter: saturate(1.05) contrast(1.05);
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 18%,
    rgba(0, 0, 0, 1) 78%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 18%,
    rgba(0, 0, 0, 1) 78%,
    rgba(0, 0, 0, 0) 100%
  );
}
.art-hero {
  object-position: 80% 40%;
  opacity: 0.78;
  mask-image: radial-gradient(
    circle at 75% 40%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0) 72%
  );
  -webkit-mask-image: radial-gradient(
    circle at 75% 40%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.7) 40%,
    rgba(0, 0, 0, 0) 72%
  );
}
.art-work {
  object-position: 55% 40%;
  opacity: 0.22;
  mask-image: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0) 78%
  );
  -webkit-mask-image: radial-gradient(
    circle at 50% 50%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.55) 48%,
    rgba(0, 0, 0, 0) 78%
  );
}
.art-final {
  object-position: 85% 65%;
  opacity: 0.6;
  mask-image: radial-gradient(
    circle at 80% 70%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 48%,
    rgba(0, 0, 0, 0) 78%
  );
  -webkit-mask-image: radial-gradient(
    circle at 80% 70%,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.65) 48%,
    rgba(0, 0, 0, 0) 78%
  );
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.force-motion) {
    scroll-behavior: auto;
  }
  html:not(.force-motion) .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html:not(.force-motion) .marquee-track {
    animation: none;
  }
  html:not(.force-motion) .mobile-nav,
  html:not(.force-motion) .mobile-nav-panel,
  html:not(.force-motion) .nav-menu-toggle {
    transition: none;
  }
}

/* Responsive */
@media (min-width: 860px) {
  .nav-center {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1.2fr 0.9fr;
    gap: 30px;
  }
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .article-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .reason-columns {
    grid-template-columns: repeat(3, 1fr);
  }
  .area-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .consult-box {
    flex-direction: row;
    align-items: center;
  }
  .process-stage-inner {
    grid-template-columns: 0.75fr 0.9fr 1.05fr;
    align-items: start;
  }
  .footer-grid {
    grid-template-columns: 1.1fr 0.7fr 0.9fr;
  }
  .priority-city-links {
    grid-template-columns: repeat(4, minmax(120px, max-content));
    justify-content: space-between;
    gap: 8px 26px;
  }
}

/* ---------- Accent glow (cards / tiles / article cards) ---------- */
.card,
.work-tile,
.article-card,
.pstep {
  position: relative;
  isolation: isolate;
}

.card::after,
.work-tile::after,
.article-card::after,
.pstep::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  filter: blur(18px);
  transition: opacity 220ms ease;
}

/* blue */
.card[data-accent="blue"]::after,
.pstep[data-accent="blue"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}
.work-tile[data-accent="blue"]::after,
.article-card[data-accent="blue"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}

/* purple */
.card[data-accent="purple"]::after,
.pstep[data-accent="purple"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}
.work-tile[data-accent="purple"]::after,
.article-card[data-accent="purple"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(75, 102, 152, 0.55),
    transparent 70%
  );
}

/* orange */
.card[data-accent="orange"]::after,
.pstep[data-accent="orange"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(188, 115, 74, 0.55),
    transparent 70%
  );
}
.pstep[data-accent="pink"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(215, 219, 224, 0.55),
    transparent 70%
  );
}
.card[data-accent="pink"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(215, 219, 224, 0.55),
    transparent 70%
  );
}
.pstep[data-accent="gold"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(212, 162, 58, 0.55),
    transparent 70%
  );
}
.work-tile[data-accent="orange"]::after,
.article-card[data-accent="orange"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(188, 115, 74, 0.55),
    transparent 70%
  );
}
.work-tile[data-accent="pink"]::after,
.article-card[data-accent="pink"]::after {
  background: radial-gradient(
    60% 60% at 20% 15%,
    rgba(215, 219, 224, 0.55),
    transparent 70%
  );
}

.card:hover::after,
.work-tile:hover::after,
.article-card:hover::after,
.pstep.is-active::after {
  opacity: 0.9;
}

/* ---------- Custom cursor ---------- */
#cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  display: none;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.55);
  background: rgba(245, 247, 250, 0.06);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transition:
    width 140ms ease,
    height 140ms ease,
    border-color 140ms ease,
    opacity 140ms ease;
}
#cursor::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.18);
}

.cursor-active {
  width: 28px !important;
  height: 28px !important;
  border-color: rgba(245, 247, 250, 0.85) !important;
}

/* Prevent “selected text” highlight inside clickable cards */
.article-card,
.article-card *,
.work-tile,
.work-tile *,
.card,
.card * {
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body.cursor-enabled {
  cursor: none;
}
body.cursor-enabled .nav,
body.cursor-enabled .nav * {
  cursor: none;
}
body.cursor-enabled #cursor {
  display: block;
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .nav,
  .panel,
  .card {
    background: rgba(5, 6, 8, 0.88);
  }
}

/* ---------- Article pages ---------- */
.article-hero {
  padding-top: 120px;
  padding-bottom: 54px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--muted);
}
.breadcrumbs a:hover {
  color: var(--fg);
}

.prose {
  max-width: 78ch;
}

.prose p {
  color: rgba(245, 247, 250, 0.9);
  margin: 0 0 14px 0;
}

.prose .muted {
  color: var(--muted);
}

.prose h2 {
  margin: 28px 0 10px 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
}

.prose h3 {
  margin: 18px 0 8px 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: -0.02em;
  font-size: 1.1rem;
}

.prose ul,
.prose ol {
  margin: 10px 0 18px 0;
  padding-left: 18px;
  color: var(--muted);
}

.prose li {
  margin: 8px 0;
}

.toc {
  margin-top: 14px;
}

.toc a {
  color: var(--muted);
}
.toc a:hover {
  color: var(--accent);
}

.callout {
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  background: rgba(245, 247, 250, 0.03);
  padding: 18px;
  margin-top: 18px;
}
.theme-blue .callout,
.theme-orange .callout,
.theme-pink .callout {
  border-color: rgba(var(--accent-rgb), 0.35);
}

.hr {
  height: 1px;
  background: var(--stroke);
  margin: 26px 0;
  border: 0;
}

/* Mobile: disable pinned/sticky process (prevents clipped cards) */
@media (max-width: 859px) {
  .nav {
    grid-template-columns: auto auto;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 26px;
  }

  .hamburger-menu {
    display: inline-flex;
  }

  .nav-right .btn-compact {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .nav-left .icon-btn {
    display: none;
  }

  .nav--mobile .nav-right .btn-compact {
    display: none;
  }

  .nav--mobile .nav-menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    display: grid;
  }

  body.nav-open .nav {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
  }

  .nav-logo {
    height: 56px;
  }

  .process-left,
  .process-visual {
    display: none;
  }

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

  .process-stage {
    height: auto; /* remove 260vh scroll-jack space */
  }

  .process-stage-inner {
    position: relative; /* remove sticky */
    top: auto;
    padding: 0 0 24px;
  }

  .pstep {
    opacity: 1; /* don't dim inactive steps on mobile */
    transform: none;
  }
}
