:root {
  --bg: #f7f9fc;
  --panel: #ffffff;
  --panel-2: #eef5ff;
  --text: #111827;
  --muted: #667085;
  --line: rgba(17, 24, 39, 0.12);
  --accent: #2563eb;
  --accent-2: #14b8a6;
  --soft: #e8f1ff;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 80% 10%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 40% 70%, #fff 0 1px, transparent 1px);
  background-size: 90px 90px, 130px 130px, 70px 70px;
  mix-blend-mode: multiply;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 48px);
  background: rgba(247, 249, 252, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 900;
  letter-spacing: 0.34em;
  font-size: 0.9rem;
  min-width: 0;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

.desktop-nav a,
.mobile-menu a {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.desktop-nav a span,
.mobile-menu a span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
  font-size: 0.68rem;
}

.desktop-nav a:hover,
.mobile-menu a:hover {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.phone {
  color: var(--text);
  font-weight: 800;
  font-size: 0.82rem;
}

.menu-button {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  cursor: pointer;
}

.menu-button span:not(.sr-only) {
  width: 18px;
  height: 2px;
  background: currentColor;
  display: block;
  transition: transform 0.25s ease;
}

.menu-button span:first-child {
  transform: translateY(4px);
}

.menu-button span:nth-child(2) {
  transform: translateY(-4px);
}

.menu-open .menu-button span:first-child {
  transform: rotate(45deg) translate(1px, 1px);
}

.menu-open .menu-button span:nth-child(2) {
  transform: rotate(-45deg) translate(0, 0);
}

.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 35;
  display: grid;
  gap: 0;
  padding: 18px clamp(18px, 4vw, 48px) 30px;
  background: rgba(247, 249, 252, 0.98);
  border-bottom: 1px solid var(--line);
  transform: translateY(-120%);
  transition: transform 0.35s ease;
}

.mobile-menu a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.1rem;
}

.menu-open .mobile-menu {
  transform: translateY(0);
}

.section {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: clamp(84px, 12vw, 150px) 0;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 130px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18% -18% auto auto;
  width: 52vw;
  max-width: 720px;
  aspect-ratio: 1;
  border: 1px solid rgba(37, 99, 235, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 42%),
    radial-gradient(circle, rgba(20,184,166,0.12), transparent 62%);
  filter: blur(0);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto auto 12% -14%;
  width: 38vw;
  max-width: 520px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.12);
  filter: blur(18px);
  transform: translateY(calc(var(--scroll-progress, 0) * 45px));
}

.hero-meta {
  position: absolute;
  top: 104px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-meta a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.hero-content {
  position: relative;
  max-width: 940px;
  min-width: 0;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 980px;
  margin-bottom: 24px;
  font-size: clamp(4.4rem, 11vw, 9.4rem);
  line-height: 1.04;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

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

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.22);
}

.btn.ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.scroll-cue {
  position: absolute;
  right: 0;
  bottom: 38px;
  display: grid;
  gap: 9px;
  justify-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--accent), transparent);
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--accent);
  color: #ffffff;
}

.marquee div {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 18px 0;
  white-space: nowrap;
  font-weight: 900;
  text-transform: uppercase;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.section-kicker,
.section-head,
.portfolio-head,
.process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.section-kicker span,
.section-kicker strong,
.section-head p,
.section-head span,
.portfolio-head p,
.portfolio-head span,
.process-head p,
.process-head span,
.location {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) 1fr;
  gap: clamp(36px, 7vw, 90px);
  align-items: center;
  padding-top: 42px;
}

.portrait {
  position: relative;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 26px -22px -22px 22px;
  border: 1px solid var(--line);
  background: var(--soft);
  z-index: -1;
}

.portrait-inner {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #ffffff, #eaf2ff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.04);
}

.portrait-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(37,99,235,0.1);
  font-size: 10rem;
  font-weight: 900;
  z-index: -1;
}

.about-copy h2,
.numbers-grid h2,
.portfolio-head h2,
.process-head h2,
.section-head h2,
.contact h2 {
  margin-bottom: 22px;
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  line-height: 1.04;
  font-weight: 900;
  text-transform: uppercase;
  text-wrap: balance;
}

.about-copy p:not(.location),
.numbers-grid p,
.step p,
.testimonial blockquote,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tags span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-card,
.step,
.testimonial,
.project-card {
  background: var(--panel);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card {
  min-height: 270px;
  padding: 28px;
}

.service-card:hover,
.step:hover,
.testimonial:hover,
.project-card:hover {
  background: var(--panel-2);
  transform: translateY(-4px);
}

.service-card span,
.step span {
  color: var(--accent);
  font-weight: 900;
}

.service-card h3,
.step h3,
.project-card h3 {
  margin: 70px 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.1;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  hyphens: auto;
}

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

.continue-note {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.numbers-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: end;
  padding: 70px clamp(18px, 4vw, 46px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 85% 10%, rgba(20,184,166,0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #edf5ff);
  box-shadow: var(--shadow);
}

.portfolio {
  width: 100%;
  max-width: none;
  overflow: hidden;
}

.portfolio-head {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.project-shell {
  position: relative;
  width: min(100% - 36px, 1320px);
  margin: 42px auto 0;
}

.project-shell::before,
.project-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 74px;
  z-index: 2;
  width: clamp(34px, 8vw, 120px);
  pointer-events: none;
}

.project-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.project-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.project-track {
  display: flex;
  gap: clamp(16px, 2vw, 24px);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 4px;
  padding: 6px 4px 26px;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.project-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.project-track::-webkit-scrollbar {
  height: 0;
}

.project-track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}

.project-card {
  position: relative;
  flex: 0 0 clamp(320px, 42vw, 540px);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 28px;
  scroll-snap-align: start;
  background:
    radial-gradient(circle at 86% 14%, rgba(37, 99, 235, 0.16), transparent 28%),
    linear-gradient(to top, rgba(255,255,255,0.96), rgba(255,255,255,0.64)),
    linear-gradient(135deg, #dbeafe, #ffffff);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
}

.project-card:nth-child(2n) {
  background:
    radial-gradient(circle at 80% 18%, rgba(20, 184, 166, 0.2), transparent 30%),
    linear-gradient(to top, rgba(255,255,255,0.96), rgba(255,255,255,0.62)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.22), #ffffff 55%);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto 24px 84px auto;
  width: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(37, 99, 235, 0.18);
  background: rgba(255, 255, 255, 0.5);
  z-index: -1;
  transition: transform 0.35s ease;
}

.project-card:hover::before {
  transform: scale(1.25) translate(-6px, -8px);
}

.project-media {
  position: relative;
  height: 235px;
  margin: -10px -10px 0;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.11);
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.055);
}

.project-card-featured:nth-child(1) .project-media img {
  object-position: left top;
}

.project-card-featured:nth-child(2) .project-media img {
  object-position: left top;
}

.project-card-featured:nth-child(3) .project-media img {
  object-position: center top;
}

.project-card-featured:nth-child(4) .project-media img {
  object-position: center top;
}

.project-card-build {
  background:
    radial-gradient(circle at 86% 14%, rgba(20, 184, 166, 0.2), transparent 28%),
    linear-gradient(135deg, #ffffff, #eff8ff);
}

.project-card span,
.project-card p,
.project-card em {
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.4vw, 3.35rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.project-card p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.45;
  text-transform: none;
  font-weight: 600;
}

.project-card em {
  color: var(--accent);
}

.project-controls {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.project-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, background 0.2s ease;
}

.project-controls button:hover {
  background: var(--panel-2);
  transform: translateY(-2px);
}

.project-progress {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.1);
}

.project-progress span {
  display: block;
  width: 18%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: translateX(var(--project-progress, 0%));
  transition: transform 0.25s ease;
}

.process-head {
  align-items: flex-start;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-left: 0;
  margin-top: 42px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.step {
  min-height: 360px;
  padding: 28px;
  border-left: 1px solid var(--line);
  overflow: hidden;
}

.step h3 {
  margin-top: 96px;
  font-size: clamp(1.2rem, 1.7vw, 1.62rem);
  line-height: 1.12;
  max-width: 100%;
}

.step p {
  max-width: 32ch;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.testimonial {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.07);
}

.stars {
  color: var(--accent-2);
  letter-spacing: 0.12em;
}

.testimonial blockquote {
  margin: 22px 0;
  color: var(--text);
  font-size: 1rem;
}

.testimonial div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 14px;
  align-items: center;
}

.testimonial div span {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 900;
}

.testimonial strong,
.testimonial small {
  display: block;
}

.testimonial small {
  color: var(--muted);
}

.contact {
  width: min(100% - 36px, 1320px);
}

.contact-inner {
  min-height: 620px;
  display: grid;
  align-content: center;
  padding: clamp(32px, 7vw, 80px);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 78% 26%, rgba(37, 99, 235, 0.18), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(20, 184, 166, 0.16), transparent 26%),
    linear-gradient(135deg, #ffffff, #edf5ff);
  box-shadow: var(--shadow);
}

.contact h2 {
  max-width: 1000px;
  margin-bottom: 24px;
}

.contact h2 span {
  color: var(--accent);
}

.contact p {
  max-width: 670px;
}

.site-footer {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.site-footer strong {
  color: var(--text);
  letter-spacing: 0.22em;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

.floating-quote {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 45;
  min-height: 62px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: min(360px, calc(100vw - 28px));
  padding: 0 18px 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.96), rgba(20, 184, 166, 0.96));
  color: #ffffff;
  box-shadow: 0 18px 46px rgba(37, 99, 235, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  font-size: 0.86rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.floating-quote::before {
  content: "";
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d9ff63;
  box-shadow: 0 0 0 7px rgba(217, 255, 99, 0.22);
}

.floating-quote::after {
  content: "→";
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  margin-left: 2px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 1rem;
}

.floating-quote:hover {
  transform: translateY(-4px);
  filter: saturate(1.06);
  box-shadow: 0 24px 60px rgba(37, 99, 235, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.menu-open .floating-quote {
  opacity: 0;
  pointer-events: none;
}

.reveal {
  opacity: 0;
  transform: translateY(42px) scale(0.985);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-fade {
  will-change: transform;
  transform: translateY(calc(var(--scroll-progress, 0) * -18px));
}

@media (max-width: 980px) {
  .desktop-nav,
  .phone {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .about-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .service-stack,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .project-card {
    flex-basis: min(58vw, 460px);
  }

  .testimonial {
    min-height: 320px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
    padding-top: 150px;
    padding-bottom: 84px;
  }

  h1 {
    font-size: clamp(3.4rem, 13vw, 6.6rem);
  }

  .about-copy h2,
  .numbers-grid h2,
  .portfolio-head h2,
  .process-head h2,
  .section-head h2,
  .contact h2 {
    font-size: clamp(2.25rem, 9vw, 4.4rem);
  }

  .project-card {
    flex-basis: min(72vw, 430px);
    min-height: 510px;
  }

  .project-media {
    height: 210px;
  }

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

  .testimonial {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .section {
    width: min(100% - 24px, var(--max));
    padding: 68px 0;
  }

  .site-header {
    min-height: 68px;
    padding-inline: 12px;
    gap: 12px;
  }

  .mobile-menu {
    inset-block-start: 68px;
    max-height: calc(100svh - 68px);
    overflow-y: auto;
  }

  .brand {
    max-width: calc(100vw - 86px);
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .hero {
    min-height: auto;
    padding-top: 176px;
    padding-bottom: 72px;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-meta {
    top: 88px;
    flex-direction: column;
    gap: 8px;
    font-size: 0.78rem;
  }

  h1 {
    font-size: clamp(2.65rem, 14vw, 4.45rem);
    line-height: 1.07;
  }

  .availability {
    margin-bottom: 18px;
    font-size: 0.76rem;
  }

  .hero-copy,
  .about-copy p:not(.location),
  .numbers-grid p,
  .step p,
  .testimonial blockquote,
  .contact p {
    font-size: 1rem;
  }

  .hero-cta,
  .site-footer,
  .section-head,
  .portfolio-head,
  .process-head {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px;
    font-size: 0.8rem;
  }

  .scroll-cue {
    display: none;
  }

  .portrait-inner {
    min-height: 320px;
  }

  .service-stack,
  .testimonial-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .service-card,
  .step,
  .testimonial {
    min-height: auto;
  }

  .service-card h3,
  .step h3 {
    margin-top: 52px;
  }

  .numbers-grid,
  .contact-inner {
    padding: 24px;
  }

  .project-track {
    gap: 14px;
    padding-bottom: 18px;
  }

  .project-card {
    flex-basis: calc(100vw - 48px);
    min-height: auto;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card:hover .project-media img {
    transform: none;
  }

  .project-media {
    height: 190px;
    margin: -4px -4px 0;
    border-radius: 18px;
  }

  .project-media img {
    object-fit: cover;
  }

  .project-card h3 {
    font-size: clamp(1.8rem, 10vw, 2.55rem);
  }

  .project-card p {
    font-size: 0.94rem;
  }

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

  .project-controls {
    grid-template-columns: 44px 1fr 44px;
    gap: 12px;
  }

  .project-controls button {
    width: 44px;
    height: 44px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 112px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .floating-quote {
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    min-height: 60px;
    justify-content: center;
    padding: 0 14px 0 16px;
    border-radius: 18px;
    font-size: 0.8rem;
    box-shadow: 0 14px 34px rgba(37, 99, 235, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  .floating-quote::after {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

@media (max-width: 420px) {
  .section {
    width: min(100% - 20px, var(--max));
  }

  .brand {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
  }

  .menu-button {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 164px;
  }

  h1 {
    font-size: clamp(2.25rem, 13.4vw, 3.55rem);
  }

  .about-copy h2,
  .numbers-grid h2,
  .portfolio-head h2,
  .process-head h2,
  .section-head h2,
  .contact h2 {
    font-size: clamp(2rem, 11vw, 3.1rem);
  }

  .service-card,
  .step,
  .testimonial {
    padding: 22px;
  }

  .project-shell {
    width: min(100% - 20px, 1320px);
  }

  .project-card {
    flex-basis: calc(100vw - 40px);
    padding: 18px;
  }

  .project-media {
    height: 168px;
  }

  .project-controls {
    grid-template-columns: 40px 1fr 40px;
  }

  .project-controls button {
    width: 40px;
    height: 40px;
  }

  .floating-quote {
    left: 10px;
    right: 10px;
    min-height: 58px;
    font-size: 0.73rem;
    letter-spacing: 0;
  }
}

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