:root {
  --bg: #141414;
  --bg-2: #1A1A1A;
  --bg-3: #1E1E1E;
  --text: #FFFFFF;
  --text-muted: rgba(255,255,255,0.65);
  --text-dim: rgba(255,255,255,0.3);
  --accent: #FEC916;
  --accent-hover: #FFD84D;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.16);
  --max-w: 1200px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.25s;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Bricolage Grotesque', -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

h1, h2, h3, h4 { line-height: 1.15; font-weight: 700; letter-spacing: -0.025em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(254,201,22,0.78);
  outline-offset: 4px;
}

/* ── Layout ─────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--lg { padding: 128px 0; }

/* ── Buttons ─────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.3s ease,
              color 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease;
  isolation: isolate;
}

/* Accent button — gold shimmer sweep */
.btn--accent {
  background: var(--accent);
  color: #0A0A0A;
  font-weight: 600;
}
.btn--accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.38) 50%, transparent 80%);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn--accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 32px rgba(254,201,22,0.3), 0 2px 8px rgba(254,201,22,0.15);
}
.btn--accent:hover::after { left: 140%; }
.btn--accent:active { transform: translateY(0) scale(0.99); }

/* Outline button — white fill slide from left */
.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
  z-index: 1;
}
.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}
.btn--outline:hover {
  color: #0A0A0A;
  border-color: #fff;
}
.btn--outline:hover::before { transform: translateX(0); }
.btn--outline:active { transform: scale(0.99); }

.btn--lg { padding: 15px 32px; font-size: 1.0625rem; border-radius: 10px; }

/* ── Tags ─────────────────────────────────────────── */

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: rgba(254,201,22,0.1);
  color: var(--accent);
  border: 1px solid rgba(254,201,22,0.2);
}

/* ── Section labels ──────────────────────────────── */

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Animations ─────────────────────────────────── */

@keyframes heroIn {
  from { opacity: 1; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up--d1 { transition-delay: 0.1s; }
.fade-up--d2 { transition-delay: 0.2s; }
.fade-up--d3 { transition-delay: 0.3s; }
.fade-up--d4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── Navbar ─────────────────────────────────────── */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(20,20,20,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.nav__logo {
  min-width: 0;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  flex-shrink: 0;
  transition: transform var(--dur) var(--ease), filter var(--dur) var(--ease);
}
.nav__logo-mark {
  width: 48px;
  height: 48px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(254,201,22,0.12));
}
.nav__logo-wordmark {
  color: rgba(255,255,255,0.94);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: lowercase;
  transition: color var(--dur) var(--ease);
}
.nav__logo:hover,
.nav__logo:focus-visible {
  transform: translateY(-1px);
  filter: drop-shadow(0 12px 24px rgba(254,201,22,0.18));
}
.nav__logo:hover .nav__logo-wordmark,
.nav__logo:focus-visible .nav__logo-wordmark {
  color: #fff;
}
.nav__logo:focus-visible {
  outline: 2px solid rgba(254,201,22,0.55);
  outline-offset: 6px;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
}
.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--dur) var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--text); }

.nav__talk {
  min-height: 50px;
  gap: 0;
  padding: 6px 6px 6px 7px;
  border-radius: 999px;
}

.nav__talk.btn--accent {
  border: 1px solid rgba(254,201,22,0.42);
  background:
    linear-gradient(135deg, rgba(254,201,22,0.13), rgba(254,201,22,0.02) 42%, rgba(255,255,255,0.035)),
    rgba(12,12,12,0.82);
  color: rgba(255,255,255,0.94);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 34px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.035);
}

.nav__talk.btn--accent::after {
  content: none;
}

.nav__talk.btn--accent:hover,
.nav__talk.btn--accent:focus-visible {
  background:
    linear-gradient(135deg, rgba(254,201,22,0.2), rgba(254,201,22,0.04) 42%, rgba(255,255,255,0.05)),
    rgba(14,14,14,0.94);
  color: #fff;
  border-color: rgba(254,201,22,0.74);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 16px 42px rgba(0,0,0,0.32),
    0 0 22px rgba(254,201,22,0.12);
}

.nav__talk-avatar {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  border: 1px solid rgba(254,201,22,0.45);
  background: #111;
  box-shadow:
    0 0 0 3px rgba(254,201,22,0.08),
    0 6px 14px rgba(0,0,0,0.22);
}

.nav__talk-text {
  padding: 0 13px 0 10px;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0;
}

.nav__talk-arrow {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(254,201,22,0.28);
  background: rgba(254,201,22,0.1);
  color: var(--accent);
  font-size: 1.05rem;
  line-height: 1;
  transform: translateX(-1px);
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    color var(--dur) var(--ease);
}

.nav__talk:hover .nav__talk-arrow,
.nav__talk:focus-visible .nav__talk-arrow,
.nav__mobile-cta:hover .nav__talk-arrow {
  transform: translateX(2px);
  border-color: rgba(254,201,22,0.95);
  background: var(--accent);
  color: #0A0A0A;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--dur) var(--ease);
  transform-origin: center;
}
.nav__toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 24px;
  gap: 4px;
}
.nav__mobile[hidden] { display: none; }
.nav__mobile.active { display: flex; }
.nav__mobile a {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--dur) var(--ease);
}
.nav__mobile a:last-child { border: none; color: var(--accent); font-weight: 600; }
.nav__mobile a:hover { color: var(--text); }

.nav__mobile a.nav__mobile-cta {
  width: min(230px, 100%);
  max-width: 100%;
  margin-top: 10px;
  padding: 7px 8px 7px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  border: 1px solid rgba(254,201,22,0.48);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(254,201,22,0.14), rgba(254,201,22,0.035)),
    rgba(12,12,12,0.9);
  color: rgba(255,255,255,0.94);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 12px 28px rgba(0,0,0,0.22);
}

.nav__mobile a.nav__mobile-cta,
.nav__mobile a.nav__mobile-cta .nav__talk-text {
  color: rgba(255,255,255,0.94);
}

.nav__mobile a.nav__mobile-cta:hover {
  color: #fff;
  border-color: rgba(254,201,22,0.76);
  background:
    linear-gradient(135deg, rgba(254,201,22,0.22), rgba(254,201,22,0.06)),
    rgba(14,14,14,0.96);
}

/* ── Hero ────────────────────────────────────────── */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}

.hero > .container {
  display: flex;
  min-height: calc(100svh - var(--nav-h));
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 65% 45%, rgba(254,201,22,0.045) 0%, transparent 60%);
  pointer-events: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: stretch;
  width: 100%;
}

.hero__content {
  position: relative;
  z-index: 4;
  align-self: center;
  max-width: 560px;
}

/* Hero visual — project wall */
.hero__visual {
  position: relative;
  z-index: 1;
  animation: heroIn 0.8s var(--ease) 0.5s both;
  align-self: stretch;
  min-width: 0;
}

.hero__trust {
  position: absolute;
  top: 54px;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  width: min(100%, 470px);
  pointer-events: auto;
  animation: heroIn 0.8s var(--ease) 0.72s both;
}

.hero__trust-item {
  --trust-y: 0px;
  position: relative;
  overflow: hidden;
  min-width: 138px;
  padding: 12px 14px 11px;
  border: 1px solid rgba(254,201,22,0.2);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(254,201,22,0.12), rgba(254,201,22,0.035)),
    rgba(13,13,13,0.76);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 18px 42px rgba(0,0,0,0.28);
  backdrop-filter: blur(14px);
  transform: translateY(var(--trust-y));
  transition:
    transform 220ms var(--ease),
    border-color 220ms var(--ease),
    background 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.hero__trust-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 0%, rgba(255,255,255,0.16), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%);
  opacity: 0.58;
  pointer-events: none;
}

.hero__trust-item:hover {
  border-color: rgba(254,201,22,0.36);
  background:
    linear-gradient(145deg, rgba(254,201,22,0.16), rgba(254,201,22,0.05)),
    rgba(13,13,13,0.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 22px 52px rgba(0,0,0,0.34),
    0 0 26px rgba(254,201,22,0.12);
  transform: translateY(calc(var(--trust-y) - 4px));
}

.hero__trust-item--experience { --trust-y: 8px; }
.hero__trust-item--projects { --trust-y: -2px; }
.hero__trust-item--clients { --trust-y: 12px; }

.hero__trust-icon-shell {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 9px;
  border: 1px solid rgba(254,201,22,0.34);
  border-radius: 13px;
  color: var(--accent);
  background:
    linear-gradient(145deg, rgba(254,201,22,0.28), rgba(254,201,22,0.08) 48%, rgba(255,255,255,0.04)),
    rgba(255,255,255,0.035);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -10px 18px rgba(0,0,0,0.24),
    0 10px 24px rgba(254,201,22,0.14);
}

.hero__trust-icon-shell::after {
  content: "";
  position: absolute;
  inset: 5px auto auto 7px;
  width: 12px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  filter: blur(3px);
  pointer-events: none;
}

.hero__trust-icon {
  display: block;
  opacity: 0.94;
  filter: drop-shadow(0 0 7px rgba(254,201,22,0.24));
}

.hero__trust-value {
  position: relative;
  z-index: 1;
  display: block;
  color: var(--text);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.hero__trust-label {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}


.hero__project-wall {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 620px;
  margin: 40px 0 48px;
  isolation: isolate;
  perspective: 1200px;
}

.hero__project-wall::before,
.hero__project-wall::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 3;
}

.hero__project-wall::before {
  inset: -6% -4% -4%;
  background:
    radial-gradient(circle at 52% 46%, rgba(254,201,22,0.11), transparent 43%),
    linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.08) 58%, rgba(20,20,20,0.18) 100%);
}

.hero__project-wall::after {
  inset: auto -4% 0;
  height: 18%;
  background: linear-gradient(0deg, rgba(20,20,20,0.78) 0%, rgba(20,20,20,0) 100%);
}

.hero__project-card {
  --float-x: 0px;
  --float-y: 0px;
  --float-distance: 7px;
  --float-duration: 8s;
  --float-delay: 0s;
  --hover-y: 0px;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 24px 80px rgba(0,0,0,0.42);
  transform: translate3d(var(--float-x), calc(var(--float-y) + var(--hover-y)), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transform-style: preserve-3d;
  will-change: transform;
  transition:
    --hover-y 0.45s var(--ease),
    --tilt-x 0.2s ease-out,
    --tilt-y 0.2s ease-out,
    border-color 0.45s var(--ease),
    filter 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.hero__project-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 48%, rgba(0,0,0,0.58) 100%);
}

.hero__project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.82);
  transition: transform 0.55s var(--ease), filter 0.45s var(--ease);
}

.hero__project-card span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 11px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  background: rgba(20,20,20,0.72);
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  backdrop-filter: blur(10px);
}

.hero__project-card:hover,
.hero__project-card:focus-visible {
  --hover-y: -6px;
  border-color: rgba(254,201,22,0.52);
  filter: brightness(1.05);
}

.hero__project-card:hover img,
.hero__project-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1) brightness(0.96);
}

.hero__project-card--main {
  z-index: 2;
  width: min(76%, 520px);
  aspect-ratio: 16 / 10;
  left: 8%;
  top: 33%;
  --float-distance: 4px;
  --float-duration: 9.5s;
  --float-delay: -1.2s;
}

.hero__project-card--top {
  z-index: 1;
  width: min(46%, 320px);
  aspect-ratio: 16 / 10;
  left: 6%;
  top: 16%;
  --float-distance: 8px;
  --float-duration: 8.2s;
  --float-delay: -3.4s;
}

.hero__project-card--right {
  z-index: 1;
  width: min(44%, 310px);
  aspect-ratio: 10 / 12;
  right: 0;
  top: 26%;
  --float-distance: 10px;
  --float-duration: 10.4s;
  --float-delay: -2s;
}

.hero__project-card--bottom {
  z-index: 1;
  width: min(42%, 300px);
  aspect-ratio: 16 / 11;
  right: 12%;
  bottom: 26%;
  --float-distance: 7px;
  --float-duration: 9s;
  --float-delay: -4.8s;
}

.hero__photo-fade { display: none; }

@property --float-x {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@property --float-y {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@property --hover-y {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

@property --tilt-x {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@property --tilt-y {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.hero__project-wall.is-floating .hero__project-card {
  animation: heroProjectFloat var(--float-duration) ease-in-out var(--float-delay) infinite alternate;
}

@keyframes heroProjectFloat {
  from { --float-y: calc(var(--float-distance) * -0.5); }
  to { --float-y: var(--float-distance); }
}

@media (max-width: 1100px) {
  .hero__project-card {
    --float-distance: 4px;
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
  }
  .hero__project-card--main { --float-distance: 3px; }
  .hero__project-card--top,
  .hero__project-card--right,
  .hero__project-card--bottom { --float-distance: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__project-wall.is-floating .hero__project-card {
    animation: none;
  }
  .hero__project-card {
    --float-x: 0px;
    --float-y: 0px;
    --tilt-x: 0deg !important;
    --tilt-y: 0deg !important;
  }
}



@media (max-width: 1100px) {
  .hero > .container { min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__content { max-width: 100%; }
  .hero__trust { display: none; }
  .hero__visual { min-height: 210px; }
  .hero__project-wall {
    min-height: 210px;
    height: 210px;
    margin: 0 0 8px;
  }
  .hero__project-wall::before {
    inset: -18% -6% -12%;
    background:
      linear-gradient(180deg, rgba(20,20,20,0) 0%, rgba(20,20,20,0.16) 56%, var(--bg) 100%),
      radial-gradient(circle at 50% 44%, rgba(254,201,22,0.12), transparent 56%);
  }
  .hero__project-card span { font-size: 0.6875rem; min-height: 24px; padding: 5px 9px; }
  .hero__project-card--main {
    width: 62%;
    left: 19%;
    top: 40px;
  }
  .hero__project-card--top {
    width: 42%;
    left: 0;
    top: 0;
  }
  .hero__project-card--right {
    width: 38%;
    right: 0;
    top: 10px;
  }
  .hero__project-card--bottom {
    width: 40%;
    right: 6%;
    bottom: 0;
  }
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  animation: heroIn 0.8s var(--ease) 0.05s both;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--accent);
}

.hero__h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  animation: heroIn 0.8s var(--ease) 0.15s both;
}
.hero__h1 em { font-style: normal; color: var(--accent); }

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.1875rem);
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 620px;
  margin-bottom: 48px;
  animation: heroIn 0.8s var(--ease) 0.25s both;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: heroIn 0.8s var(--ease) 0.35s both;
  padding-bottom: 48px;
}

.hero__scroll {
  position: absolute;
  bottom: 40px; left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--text-dim);
  z-index: 1;
  animation: heroIn 0.8s var(--ease) 0.7s both;
}
.hero__scroll-line {
  width: 36px; height: 1px;
  background: var(--border-hover);
}

/* ── Tools carousel ─────────────────────────────── */

.tools-carousel {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tools-carousel__defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.tools-carousel__inner {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 18px 24px;
}

.tools-carousel__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.tools-carousel__viewport {
  display: flex;
  min-width: 0;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.tools-carousel__track {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  padding-right: 12px;
  animation: toolsMarquee 24s linear infinite;
}

.tools-carousel__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.018));
  color: rgba(255,255,255,0.78);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.035);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.tool-logo {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: block;
  padding: 3px;
  fill: currentColor;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.tools-carousel__item:hover {
  border-color: rgba(254,201,22,0.35);
  background: rgba(254,201,22,0.08);
  color: #fff;
  transform: translateY(-1px);
}

.tools-carousel__item[data-tool="webflow"] .tool-logo { color: #4353ff; background: rgba(67,83,255,0.14); }
.tools-carousel__item[data-tool="figma"] .tool-logo { background: rgba(255,255,255,0.1); }
.tools-carousel__item[data-tool="next"] .tool-logo { color: #fff; background: rgba(255,255,255,0.14); }
.tools-carousel__item[data-tool="codex"] .tool-logo { color: var(--accent); background: rgba(254,201,22,0.12); }
.tools-carousel__item[data-tool="cursor"] .tool-logo { color: #fff; background: rgba(255,255,255,0.12); }
.tools-carousel__item[data-tool="claude"] .tool-logo { color: #d97757; background: rgba(217,119,87,0.15); }
.tools-carousel__item[data-tool="supabase"] .tool-logo { color: #3ecf8e; background: rgba(62,207,142,0.12); }

.tools-carousel__item[data-tool="supabase"] .tool-logo path {
  fill: currentColor;
}

@keyframes toolsMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .tools-carousel__viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .tools-carousel__track {
    animation: none !important;
  }
  .tools-carousel__track[aria-hidden="true"] {
    display: none;
  }
}

/* ── Problem ─────────────────────────────────────── */

.problem {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem__header { margin-bottom: 48px; }

.problem__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.problem__card {
  padding: 28px 28px 28px 26px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-left: 2px solid rgba(254,201,22,0.25);
  border-radius: 0 12px 12px 0;
  transition: border-left-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.problem__card:hover { border-left-color: var(--accent); transform: translateY(-2px); }

.problem__icon {
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent);
}
.problem__icon svg { width: 20px; height: 20px; }

.problem__card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.problem__card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── Work list ───────────────────────────────────── */

#work { padding-bottom: 48px; }

.work__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}
.work__header .section-heading { margin-bottom: 0; }

.work__list { border-top: 1px solid var(--border); }
.work__list .work__item:last-child { padding-bottom: 0; border-bottom: none; }

.work__item {
  display: grid;
  grid-template-columns: 56px 1fr 160px 40px;
  gap: 24px;
  align-items: center;
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: border-color var(--dur) var(--ease);
}
.work__item:hover { border-color: var(--border-hover); }
.work__item:hover .work__num { color: var(--accent); }
.work__item:hover .work__arrow { transform: translate(4px, -4px); color: var(--accent); }

.work__num {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  transition: color var(--dur) var(--ease);
}

.work__tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.work__type {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.work__item h2,
.work__item h3 {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.work__item p { font-size: 0.875rem; color: var(--text-muted); max-width: 500px; line-height: 1.65; }

.work__content {
  display: block;
  min-width: 0;
  color: inherit;
}

.work__case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.work__thumb {
  width: 160px;
  height: 96px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  flex-shrink: 0;
  transition: border-color var(--dur) var(--ease);
}
.work__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
  filter: brightness(0.85);
}
.work__item:hover .work__thumb { border-color: var(--border-hover); }
.work__item:hover .work__thumb img { transform: scale(1.05); filter: brightness(1); }

.work__arrow {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: all var(--dur) var(--ease);
  flex-shrink: 0;
}

.work-page__list-section { padding: 0 0 32px; }
.work-page__cta { padding-top: 64px; }

/* ── Testimonials ────────────────────────────────── */

.testimonials {
  --testimonials-visible: 3;
  --testimonials-gap: 20px;
  padding-top: 48px;
}

.testimonials__carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 16px;
  align-items: center;
}

.testimonials__viewport {
  overflow: hidden;
  min-width: 0;
}

.testimonials__track {
  display: flex;
  gap: var(--testimonials-gap);
  align-items: stretch;
  transition: transform 0.45s var(--ease);
  will-change: transform;
}

.testimonials__control {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.testimonials__control:hover:not(:disabled),
.testimonials__control:focus-visible {
  border-color: var(--border-hover);
  color: var(--accent);
}
.testimonials__control:disabled {
  cursor: default;
  opacity: 0.38;
}

.testimonial {
  flex: 0 0 calc((100% - (var(--testimonials-visible) - 1) * var(--testimonials-gap)) / var(--testimonials-visible));
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color var(--dur) var(--ease);
}
.testimonial:hover { border-color: var(--border-hover); }

.testimonial__quote {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  position: relative;
}
.testimonial__quote::before {
  content: '\201C';
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  display: block;
  margin-bottom: 8px;
  font-family: Georgia, serif;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(254,201,22,0.12);
  border: 1px solid rgba(254,201,22,0.25);
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.testimonial__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .testimonials { --testimonials-visible: 2; }
  .testimonials__carousel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }
  .testimonials__control {
    width: 40px;
    height: 40px;
  }
  .testimonial { padding: 28px; }
}

@media (max-width: 640px) {
  .testimonials {
    --testimonials-visible: 1;
    --testimonials-gap: 16px;
  }
  .testimonials__carousel {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }
  .testimonials__control {
    width: 36px;
    height: 36px;
  }
  .testimonial { padding: 24px; }
}

/* ── Services ────────────────────────────────────── */

.services {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.services > .container > .section-label,
.services > .container > .section-heading {
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 64px;
  align-items: center;
}

@media (min-width: 1080px) {
  .services__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 360px;
  }
}

.service-card {
  position: relative;
  min-height: 320px;
  padding: 28px 18px 24px;
  overflow: hidden;
  border: 1px solid rgba(254,201,22,0.12);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% -10%, rgba(254,201,22,0.13), transparent 42%),
    linear-gradient(145deg, rgba(38,38,34,0.96), rgba(24,24,24,0.98) 62%, rgba(52,49,35,0.94));
  box-shadow: 0 22px 70px rgba(0,0,0,0.24);
  text-align: center;
  transition:
    background var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(254,201,22,0.09), transparent 36%);
  opacity: 0.7;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  border-color: rgba(254,201,22,0.42);
  background:
    radial-gradient(circle at 50% -20%, rgba(255,255,255,0.18), transparent 34%),
    linear-gradient(145deg, #fec916 0%, #cfa10d 52%, #5b470f 100%);
  color: #141414;
}

@media (min-width: 1080px) {
  .service-card {
    height: 320px;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(3),
  .service-card:nth-child(5) {
    margin-top: -24px;
  }

  .service-card:nth-child(2),
  .service-card:nth-child(4) {
    margin-top: 26px;
  }
}

.service-card__num {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 1px solid rgba(254,201,22,0.24);
  border-radius: 999px;
  background: rgba(20,20,20,0.36);
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.service-card:hover .service-card__num,
.service-card:focus-within .service-card__num {
  border-color: rgba(20,20,20,0.24);
  background: rgba(20,20,20,0.12);
  color: #141414;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 180px;
  margin: 0 auto 28px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.25;
}

.service-card p {
  position: relative;
  z-index: 1;
  max-width: 210px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.68;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:focus-within h3,
.service-card:focus-within p {
  color: #141414;
}

/* ── Redesign Thinking ───────────────────────────── */

.redesign__intro { margin-bottom: 48px; }

.redesign__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.redesign__side { padding: 44px 40px; }
.redesign__side--before { background: #111; }
.redesign__side--after { background: var(--bg-2); }

.redesign__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.redesign__side--before .redesign__label { color: var(--text-dim); }
.redesign__side--after .redesign__label { color: var(--accent); }

.redesign__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.redesign__item-icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 2px; }
.redesign__side--before .redesign__item { color: var(--text-muted); opacity: 0.7; }
.redesign__side--before .redesign__item-icon { color: rgba(255,255,255,0.25); }
.redesign__side--after .redesign__item { color: var(--text); }
.redesign__side--after .redesign__item-icon { color: var(--accent); }

/* ── Process ─────────────────────────────────────── */

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.process__step {
  padding: 40px 28px;
  background: var(--bg);
}

.process__step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(254,201,22,0.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -0.04em;
}
.process__step h3 { font-size: 1.0625rem; margin-bottom: 10px; }
.process__step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ── About ───────────────────────────────────────── */

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.about__photo {
  aspect-ratio: 3/4;
  background:
    radial-gradient(circle at 50% 68%, rgba(254,201,22,0.13), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.01));
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.about__photo::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  border: 1px solid rgba(254,201,22,0.12);
  opacity: 0.65;
  pointer-events: none;
  z-index: -1;
}
.about__photo img {
  width: 112%;
  height: 104%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 28px 42px rgba(0,0,0,0.42));
}
.about__photo-placeholder {
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(255,255,255,0.07);
  letter-spacing: -0.04em;
}

.about__content {
  max-width: 720px;
}

.about__title {
  margin-bottom: 28px;
  font-size: clamp(2.7rem, 5.2vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.about__quote {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.about__body {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.78;
  text-wrap: pretty;
}

/* ── Final CTA ───────────────────────────────────── */

.cta-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.cta-section__inner {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-section h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.cta-section h2 em { font-style: normal; color: var(--accent); }
.cta-section__inner > p:not(.section-label):not(.cta-note) {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 44px;
  line-height: 1.7;
}
.cta-note { margin-top: 16px; font-size: 0.8125rem; color: var(--text-dim); }

/* ── Footer ──────────────────────────────────────── */

.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 64px 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
}
.footer__brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer__brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 280px;
}
.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.footer__col ul a:hover { color: var(--text); }
.footer__bottom {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__copyright { font-size: 0.8125rem; color: var(--text-muted); }

/* ── Work Page ───────────────────────────────────── */

.page-hero {
  padding-top: calc(var(--nav-h) + 96px);
  padding-bottom: 64px;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.1875rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ── Case Study ──────────────────────────────────── */

.case-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}
.case-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color var(--dur) var(--ease);
}
.case-hero__back:hover { color: var(--text); }
.case-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}
.case-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.7;
}
.case-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.case-meta__label { font-size: 0.75rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.case-meta__value { font-size: 0.9375rem; font-weight: 500; }

.case-visual {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: var(--text-dim);
  margin: 64px 0;
}

.case-visual__mockup {
  width: min(920px, calc(100% - 48px));
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  background: #f6f4ee;
  box-shadow: 0 28px 70px rgba(0,0,0,0.32);
}

.case-visual__topbar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  background: #e8e4da;
  border-bottom: 1px solid rgba(20,20,20,0.08);
}

.case-visual__topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(20,20,20,0.22);
}

.case-visual__content {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  height: calc(100% - 34px);
  padding: 42px;
}

.case-visual__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.case-visual__pill,
.case-visual__button {
  width: 116px;
  height: 26px;
  border-radius: 999px;
  background: #82a88f;
}

.case-visual__line,
.case-visual__text,
.case-visual__card {
  border-radius: 8px;
  background: rgba(30,50,42,0.16);
}

.case-visual__line--lg { width: 88%; height: 34px; background: #24382f; }
.case-visual__line--md { width: 68%; height: 34px; background: #24382f; }
.case-visual__text { width: 78%; height: 74px; }
.case-visual__button { margin-top: 4px; }

.case-visual__panel {
  display: grid;
  gap: 14px;
  align-content: center;
}

.case-visual__card {
  height: 86px;
  border: 1px solid rgba(30,50,42,0.12);
  background: rgba(255,255,255,0.72);
}

.case-body {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 96px;
}
.case-body h2 {
  font-size: 1.5rem;
  margin: 56px 0 20px;
}
.case-body p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 20px;
}
.case-cta {
  margin-top: 64px;
  padding: 44px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: center;
}
.case-cta h3 { font-size: 1.375rem; margin-bottom: 10px; }
.case-cta p { font-size: 1rem; color: var(--text-muted); margin-bottom: 28px; }

/* ── Contact ─────────────────────────────────────── */

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  padding-bottom: 96px;
}
.contact__info h2 { font-size: 1.25rem; margin-bottom: 12px; }
.contact__info > p { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; }

.contact__links { display: flex; flex-direction: column; gap: 14px; }
.contact__link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  transition: color var(--dur) var(--ease);
}
.contact__link:hover { color: var(--text); }
.contact__link-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  color: var(--text-muted);
}

/* ── Form ────────────────────────────────────────── */

.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 7px; }
.form__label { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); }

.form__input,
.form__select,
.form__textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
  padding: 11px 15px;
  transition: border-color var(--dur) var(--ease);
  width: 100%;
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus { border-color: rgba(254,201,22,0.5); }
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-dim); }
.form__select { appearance: none; cursor: pointer; }
.form__textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.form__select option { background: var(--bg-3); }
.form__status {
  font-size: 0.8125rem;
  color: var(--text-dim);
  text-align: center;
}

/* ── Error Page ──────────────────────────────────── */

.error-page {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 96px 0;
}
.error-page h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}
.error-page p:not(.section-label) {
  max-width: 560px;
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 36px;
}
.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 1024px) {
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { gap: 20px; }
  .nav__logo { height: 48px; gap: 0; }
  .nav__logo-mark { width: 48px; height: 48px; }
  .nav__logo-wordmark { display: none; }
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: calc(var(--nav-h) + 40px) 0 56px;
  }
  .hero__inner { gap: 0; }
  .hero__h1 {
    font-size: clamp(2.25rem, 11vw, 3.4rem);
    letter-spacing: -0.035em;
  }
  .hero__sub { margin-bottom: 32px; }
  .hero__ctas { padding-bottom: 24px; }
  .tools-carousel__inner { grid-template-columns: 1fr; gap: 12px; padding: 16px 24px; }
  .tools-carousel__label { font-size: 0.6875rem; }
  .tools-carousel__item { min-height: 32px; padding: 6px 13px 6px 8px; font-size: 0.8125rem; }
  .tool-logo { width: 18px; height: 18px; flex-basis: 18px; padding: 2.5px; }
  .work__item { grid-template-columns: 44px 1fr; }
  .work__thumb { display: none; }
  .work__arrow { display: none; }
  .redesign__comparison { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__photo { aspect-ratio: 4/3; max-width: 320px; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand { grid-column: auto; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; padding-bottom: 80px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .work-page__list-section { padding-bottom: 24px; }
  .work-page__cta { padding-top: 48px; }
  main { padding-bottom: 72px; }
}

.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 12px 16px;
    background: rgba(20,20,20,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    z-index: 90;
    justify-content: center;
  }
  .mobile-cta-bar .btn {
    width: 100%;
    max-width: 400px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .section--lg { padding: 96px 0; }
  .problem__grid, .services__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
}
