:root {
  color-scheme: dark;
  --bg: #07090f;
  --bg-2: #0b111d;
  --surface: rgba(15, 22, 35, 0.74);
  --surface-strong: rgba(20, 30, 47, 0.92);
  --surface-soft: rgba(255, 255, 255, 0.06);
  --text: #f7f8fb;
  --text-strong: #ffffff;
  --muted: #a7b2c5;
  --muted-2: #78849b;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.24);
  --cyan: #37c7ff;
  --lime: #7bb9ff;
  --coral: #1f4f8f;
  --gold: #d6b36a;
  --ink: #05070b;
  --radius: 8px;
  --max: 1180px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(55, 199, 255, 0.12) 0 12%, transparent 12% 36%, rgba(214, 179, 106, 0.08) 36% 36.3%, transparent 36.3%),
    linear-gradient(155deg, #07090f 0%, #0c1220 48%, #080a11 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, #000, rgba(0, 0, 0, 0.16) 80%, transparent);
}

body::after {
  content: "";
  position: fixed;
  inset: -24vh -18vw auto auto;
  width: 58vw;
  height: 130vh;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 22%, rgba(55, 199, 255, 0.12) 22% 22.4%, transparent 22.4% 56%, rgba(214, 179, 106, 0.1) 56% 56.35%, transparent 56.35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent);
  transform: skewX(-14deg);
}

a {
  color: var(--text-strong);
  text-decoration-color: rgba(36, 215, 242, 0.72);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

a:hover {
  color: var(--lime);
}

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

p {
  overflow-wrap: break-word;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -6rem;
  z-index: 50;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--lime);
  font-weight: 900;
}

.skip-link:focus {
  top: 1rem;
}

.site-shell {
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
}

.site-header {
  min-height: 70px;
  margin-top: 18px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 9, 15, 0.74);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  opacity: 0.7;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f6fbff, var(--cyan) 58%, #1c3d73);
  color: #06101d;
  font-weight: 1000;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 12px 32px rgba(36, 215, 242, 0.18);
}

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

.brand strong {
  line-height: 1.1;
  letter-spacing: 0;
}

.brand small {
  max-width: 26ch;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.25;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a,
.btn,
.contact-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  text-decoration: none;
  font-weight: 900;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav a {
  padding: 0.5rem 0.76rem;
}

.btn {
  padding: 0.8rem 1.02rem;
}

.nav a:hover,
.btn:hover,
.contact-link:hover {
  color: var(--text-strong);
  transform: perspective(900px) translateY(-2px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(36, 215, 242, 0.7);
  background: rgba(36, 215, 242, 0.12);
  box-shadow: 0 12px 30px rgba(36, 215, 242, 0.12);
}

.btn.primary,
.primary-link {
  color: var(--ink);
  border-color: transparent;
  background: linear-gradient(135deg, #f6fbff, var(--cyan));
  box-shadow: 0 18px 44px rgba(36, 215, 242, 0.18);
}

.btn.primary:hover,
.primary-link:hover {
  color: var(--ink);
}

.btn.secondary {
  border-color: rgba(247, 201, 92, 0.48);
  background: rgba(247, 201, 92, 0.12);
}

main {
  display: block;
}

.hero {
  min-height: min(660px, calc(100svh - 112px));
  padding: clamp(26px, 3.6vh, 38px) 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.62fr);
  gap: clamp(34px, 4vw, 72px);
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 48px -8px auto auto;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(18deg);
  pointer-events: none;
}

.hero-copy,
.profile-panel {
  position: relative;
  z-index: 1;
}

.eyebrow,
.card-label,
.profile-kicker {
  margin: 0;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.25rem 0.72rem;
  border: 1px solid rgba(36, 215, 242, 0.28);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(36, 215, 242, 0.08);
  font-size: 0.76rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin-top: 16px;
  font-size: clamp(4.85rem, 6.2vw, 7.55rem);
  font-weight: 1000;
  line-height: 0.9;
  color: var(--text-strong);
  text-shadow: 0 0 34px rgba(55, 199, 255, 0.18);
}

h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

h3 {
  font-size: 1.26rem;
}

.hero-lede {
  max-width: 54ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-stats {
  width: min(100%, 640px);
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--text-strong);
  font-size: 1.18rem;
}

.hero-stats span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 0.9rem;
}

.profile-panel {
  padding: 12px;
  height: clamp(500px, calc(100svh - 230px), 570px);
  min-height: 500px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(8, 13, 23, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.profile-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.18) 46%, transparent 58% 100%);
  transform: translateX(-120%);
  animation: panel-sheen 7s ease-in-out infinite;
}

@keyframes panel-sheen {
  0%,
  62% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

.panel-topline {
  position: absolute;
  z-index: 3;
  top: 24px;
  left: 26px;
  right: 26px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0;
  color: var(--muted-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.panel-topline span:last-child {
  color: var(--lime);
}

.portrait {
  margin: 0;
  min-height: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(55, 199, 255, 0.2), rgba(214, 179, 106, 0.16)),
    var(--surface-strong);
}

.portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 7, 11, 0.76));
  pointer-events: none;
}

.portrait img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: 50% 22%;
  filter: saturate(1.08) contrast(1.04);
}

.profile-copy {
  position: absolute;
  z-index: 3;
  left: 22px;
  right: 22px;
  bottom: 18px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.68);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}

.profile-copy h2 {
  max-width: 16ch;
  margin-top: 10px;
  font-size: clamp(1.28rem, 1.55vw, 1.5rem);
  line-height: 1.05;
}

.profile-copy p:last-child {
  margin-top: 12px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.profile-tags span {
  padding: 0.32rem 0.56rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.84rem;
  font-weight: 900;
}

.signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip span {
  min-height: 38px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  font-weight: 1000;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.signal-strip span:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 247, 106, 0.62);
  background: rgba(55, 199, 255, 0.09);
}

.section {
  padding: 72px 0;
}

.intro {
  max-width: 1040px;
  padding-top: 62px;
  padding-bottom: 62px;
}

.intro p {
  margin: 0;
  color: var(--text-strong);
  max-width: 38ch;
  font-size: clamp(1.65rem, 2.1vw, 2.5rem);
  font-weight: 1000;
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  margin-top: 14px;
}

.work .section-head h2 {
  max-width: 18ch;
}

.expertise-grid,
.work-grid,
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.expertise-grid article,
.work-card,
.process-steps article,
.proof,
.contact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.035)),
    rgba(12, 18, 31, 0.74);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.expertise-grid article,
.process-steps article {
  min-height: 268px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.expertise-grid article::before,
.process-steps article::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  opacity: 0.8;
}

.expertise-grid article:hover,
.process-steps article:hover,
.work-card:hover {
  border-color: rgba(36, 215, 242, 0.38);
  transform: perspective(900px) translateY(-4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
}

.expertise-grid span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--ink);
  background: linear-gradient(135deg, #f6fbff, var(--cyan));
  font-size: 1rem;
  font-weight: 1000;
}

.expertise-grid h3,
.process-steps h3 {
  margin-top: 18px;
}

.expertise-grid p,
.work-card p,
.proof p,
.process-steps p,
.contact p,
.profile-copy p {
  color: var(--muted);
}

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

.work-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.work-card:hover > img,
.work-card:hover .type-visual {
  transform: scale(1.035);
}

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

.bella-card {
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(247, 201, 92, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(13, 17, 25, 0.78);
}

.bella-card > div:last-child {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.bella-card a {
  margin-top: 18px;
}

.work-card > img,
.type-visual {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  transition: transform 520ms ease;
}

.feature-card > img {
  object-position: 68% 56%;
}

.work-card > div:last-child {
  padding: 22px;
}

.work-card h3 {
  margin-top: 8px;
}

.client-logo {
  display: block;
  width: 280px;
  max-width: 78%;
  height: auto;
  max-height: 96px;
  margin: 0 0 20px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(5, 7, 11, 0.72);
  object-fit: contain;
}

.work-card a {
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  color: var(--lime);
  font-weight: 1000;
}

.type-visual {
  min-height: 250px;
  display: grid;
  place-content: center;
  gap: 4px;
  background:
    linear-gradient(135deg, rgba(55, 199, 255, 0.82) 0 48%, rgba(255, 255, 255, 0.12) 48% 50%, rgba(28, 61, 115, 0.88) 50% 100%),
    var(--surface-strong);
  color: var(--ink);
  text-align: center;
}

.type-visual span,
.type-visual strong {
  display: block;
  font-size: clamp(2.35rem, 4.4vw, 3.1rem);
  line-height: 0.92;
}

.type-visual.dark {
  color: var(--text-strong);
  background:
    linear-gradient(135deg, rgba(5, 7, 11, 0.76), rgba(5, 7, 11, 0.88)),
    linear-gradient(90deg, rgba(55, 199, 255, 0.52), rgba(214, 179, 106, 0.28));
}

.proof {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 26px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.proof::after {
  content: "";
  position: absolute;
  inset: auto 24px 24px auto;
  width: 190px;
  height: 96px;
  border-right: 1px solid rgba(36, 215, 242, 0.4);
  border-bottom: 1px solid rgba(185, 247, 106, 0.35);
  opacity: 0.8;
}

.proof-copy h2 {
  max-width: 15ch;
  margin-top: 14px;
}

.proof-copy p:last-child {
  max-width: 68ch;
}

.proof-list {
  display: grid;
  gap: 12px;
}

.proof-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.proof-list span,
.proof-list strong {
  display: block;
}

.proof-list span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.proof-list strong {
  margin-top: 4px;
}

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

.contact {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: 28px;
  align-items: center;
}

.contact h2 {
  max-width: 16ch;
  margin-top: 14px;
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-link {
  padding: 0.8rem 1rem;
}

.footer {
  margin: 0 0 24px;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
}

.footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(36, 215, 242, 0.34);
  outline-offset: 4px;
}

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms ease, transform 640ms ease;
}

body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero,
  .proof,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .site-shell {
    width: calc(100% - 22px);
  }

  .site-header {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    align-items: center;
  }

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

  .hero {
    padding-top: 58px;
  }

  .hero::before {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    height: 620px;
    min-height: 560px;
  }

  .profile-copy {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .profile-copy h2 {
    font-size: 1.65rem;
  }

  .expertise-grid,
  .process-steps,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 0;
  }

  .work-card {
    min-height: 0;
  }

  .proof,
  .contact {
    padding: 24px;
  }

  .client-logo {
    width: 210px;
    max-width: 82%;
    max-height: 70px;
    padding: 10px 12px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(390px, calc(100% - 22px));
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lede,
  .profile-copy p,
  .contact p {
    max-width: 34ch;
  }

  .profile-panel,
  .contact,
  .proof {
    max-width: 100%;
  }
}

@media (max-width: 430px) {
  .brand-mark {
    width: 46px;
    height: 46px;
  }

  .brand small {
    font-size: 0.82rem;
  }

  .nav a {
    padding-inline: 0.55rem;
  }

  .profile-panel {
    height: 580px;
    min-height: 540px;
  }

  .expertise-grid article,
  .process-steps article,
  .work-card > div:last-child {
    padding: 20px;
  }
}

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