:root {
  --black: #050505;
  --black-2: #0b0b0b;
  --ink: #111111;
  --graphite: #1b1b1b;
  --steel: #6f7378;
  --silver: #c8c9ca;
  --white: #ffffff;
  --soft-white: #f3f3f0;
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.34);
  --shadow: rgba(0, 0, 0, 0.44);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--soft-white);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(180deg, var(--black) 0%, #101010 48%, var(--black) 100%);
  background-size: 80px 80px, 80px 80px, auto;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 16px;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 7px
    );
}

body.is-loading {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  border: 0;
}

::selection {
  color: var(--black);
  background: var(--white);
}

#constellation {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  max-width: 100%;
  height: 100%;
  opacity: 0.62;
  pointer-events: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  gap: 22px;
  background: var(--black);
  animation: preloaderFallback 3.2s var(--ease) forwards;
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}

.preloader.is-done {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader-mark {
  width: 94px;
  height: 94px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 24px 80px var(--shadow);
}

.preloader-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preloader-line {
  width: 210px;
  height: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.13);
}

.preloader-line span {
  display: block;
  width: 42%;
  height: 100%;
  background: var(--white);
  animation: loadingLine 1.2s var(--ease) infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--white);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.9);
}

.cursor,
.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  pointer-events: none;
  border-radius: 50%;
  transform: translate3d(-50%, -50%, 0);
}

.cursor {
  width: 8px;
  height: 8px;
  background: var(--white);
}

.cursor-follower {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.62);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cursor-follower.is-active {
  width: 56px;
  height: 56px;
  border-color: var(--white);
  mix-blend-mode: difference;
}

.section-pad {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 120px 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 35;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: 72px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.72);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
}

.brand {
  display: inline-grid;
  grid-template-columns: 48px auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--black);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-copy {
  display: grid;
  line-height: 1.02;
  font-size: 0.92rem;
  font-weight: 800;
  max-width: 210px;
  overflow-wrap: anywhere;
}

.brand-copy span:last-child {
  color: var(--silver);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nav-links a,
.nav-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  overflow: hidden;
  white-space: nowrap;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle:focus {
  outline: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transform-origin: center;
  transition: transform 0.32s var(--ease), opacity 0.32s var(--ease);
}

.nav-cta {
  color: var(--black);
  background: var(--white);
  font-weight: 800;
}

.mobile-menu {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 52px;
  min-height: 100svh;
  padding-top: 154px;
  padding-bottom: 80px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.studio-copy h2,
.contact-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hero h1 {
  max-width: 840px;
  font-size: 5.6rem;
  overflow-wrap: normal;
  animation: titleRise 1s var(--ease) both;
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  font-size: 0.5em;
}

.hero-lede {
  max-width: 640px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease);
}

.button::after {
  position: absolute;
  inset: auto 10px 8px 10px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.button:hover::after {
  opacity: 0.68;
  transform: scaleX(1);
}

.button-light {
  color: var(--black);
  background: var(--white);
}

.button-dark {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.button:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 590px;
  isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.hero-visual::before {
  width: 86%;
  height: 86%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: slowSpin 22s linear infinite;
}

.hero-visual::after {
  width: 62%;
  height: 62%;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  animation: slowSpin 16s linear infinite reverse;
}

.hero-visual img {
  width: min(430px, 86%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow:
    0 38px 110px rgba(0, 0, 0, 0.62),
    inset 0 0 40px rgba(255, 255, 255, 0.08);
  animation: elephantFloat 6s var(--ease) infinite alternate;
}

.orbital-rings span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbital-rings span:nth-child(1) {
  width: 96%;
  height: 96%;
}

.orbital-rings span:nth-child(2) {
  width: 74%;
  height: 74%;
}

.orbital-rings span:nth-child(3) {
  width: 48%;
  height: 48%;
}

.code-float {
  position: absolute;
  display: grid;
  gap: 6px;
  width: 184px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.78);
  box-shadow: 0 22px 70px var(--shadow);
  backdrop-filter: blur(18px);
}

.code-float span {
  color: var(--silver);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
}

.code-float strong {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1;
}

.float-a {
  top: 72px;
  right: 6px;
  animation: floatA 5.8s var(--ease) infinite alternate;
}

.float-b {
  bottom: 72px;
  left: 4px;
  animation: floatB 6.2s var(--ease) infinite alternate;
}

.kinetic-strip {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  color: var(--black);
}

.marquee {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 78px;
  padding: 0 28px;
  font-size: 1.15rem;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::after {
  width: 7px;
  height: 7px;
  margin-left: 28px;
  border-radius: 50%;
  background: var(--black);
  content: "";
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 48px;
  max-width: none;
  align-items: end;
}

.section-heading h2,
.studio-copy h2,
.contact-copy h2 {
  font-size: 4rem;
}

.section-heading p,
.studio-copy p,
.contact-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.06rem;
  line-height: 1.76;
}

.service-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.offer-card,
.work-panel,
.timeline article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.service-card {
  min-height: 310px;
  padding: 22px;
  transform-style: preserve-3d;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.service-card::before,
.offer-card::before,
.work-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.14), transparent 38%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.service-card:hover,
.offer-card:hover,
.work-panel:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.09);
}

.service-card:hover::before,
.offer-card:hover::before,
.work-panel:hover::before {
  opacity: 1;
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--white);
  font-weight: 900;
}

.service-card h3,
.work-panel h3,
.offer-card h3,
.timeline h3 {
  margin: 86px 0 12px;
  color: var(--white);
  font-size: 1.35rem;
  line-height: 1.18;
}

.service-card p,
.work-panel p,
.offer-card p,
.timeline p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.68;
}

.work-showcase {
  display: grid;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: repeat(3, minmax(230px, auto));
  gap: 14px;
}

.work-panel {
  min-height: 280px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-large {
  grid-row: span 3;
  min-height: 720px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.055);
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.panel-top span,
.offer-card span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--silver);
  font-size: 0.78rem;
  font-weight: 800;
}

.work-panel h3 {
  margin-top: auto;
  font-size: 2rem;
}

.panel-large h3 {
  font-size: 3.2rem;
}

.device-panel {
  gap: 18px;
}

.device-panel .panel-copy {
  position: relative;
  z-index: 1;
}

.device-panel h3 {
  margin-top: 0;
}

.device-scene {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 168px;
  margin: 8px 0 2px;
}

.device-scene::before {
  position: absolute;
  inset: 10% 6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 62%);
  content: "";
  filter: blur(24px);
}

.device-scene-large {
  min-height: 390px;
  margin-top: 22px;
}

.device-scene.compact {
  min-height: 150px;
}

.device {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, #1d1d1d, #060606 58%, #2c2c2c);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.laptop {
  width: min(520px, 92%);
  padding: 12px;
  border-radius: 8px;
}

.mini-laptop {
  width: min(315px, 94%);
  padding: 9px;
}

.micro-laptop {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 156px;
  padding: 6px;
  transform: rotate(4deg);
}

.phone {
  position: absolute;
  right: 7%;
  bottom: 7%;
  width: 132px;
  padding: 8px;
  border-radius: 22px;
  transform: rotate(5deg);
}

.tall-phone {
  position: relative;
  right: auto;
  bottom: auto;
  width: 128px;
  min-height: 218px;
  transform: rotate(-4deg);
}

.device-screen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: #f4f4f0;
  aspect-ratio: 16 / 10;
}

.phone .device-screen,
.tall-phone .device-screen {
  border-radius: 16px;
  aspect-ratio: 9 / 16;
}

.laptop-base {
  position: absolute;
  left: 50%;
  bottom: -13px;
  width: 72%;
  height: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, #2a2a2a, #070707);
  transform: translateX(-50%);
}

.mock-site {
  height: 100%;
  padding: 14px;
  color: #101010;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    #f5f5f1;
  background-size: 24px 24px;
}

.mock-nav {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  height: 18px;
}

.mock-nav span,
.mock-columns span,
.mock-mobile-law span,
.mock-property span,
.mock-menu-row span {
  display: block;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.mock-nav span {
  width: 34px;
  height: 5px;
}

.mock-hero {
  display: grid;
  gap: 9px;
  margin-top: 28px;
  max-width: 76%;
}

.mock-hero strong,
.mock-mobile-law strong,
.mock-property strong {
  color: #060606;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.02;
}

.mock-hero em {
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.62rem;
  font-style: normal;
  line-height: 1.35;
}

.mock-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  margin-top: 26px;
}

.mock-columns span {
  height: 44px;
}

.mock-law {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.88) 0 42%, transparent 42%),
    linear-gradient(180deg, #f9f8f2, #dedcd3);
}

.mock-law .mock-hero strong,
.mock-law .mock-hero em {
  color: var(--white);
}

.mock-law .mock-columns span {
  background: rgba(0, 0, 0, 0.18);
}

.mock-mobile-law {
  display: grid;
  align-content: start;
  gap: 10px;
  background: linear-gradient(180deg, #ffffff, #e3e2dd);
}

.mock-mobile-law strong {
  font-size: 0.9rem;
}

.mock-mobile-law span {
  height: 34px;
}

.mock-clinic {
  background: linear-gradient(135deg, #f8f8f5 0 62%, #d8d8d2 62%);
}

.mock-clinic .mock-columns {
  grid-template-columns: repeat(2, 1fr);
}

.mock-property,
.mock-property-wide {
  display: grid;
  gap: 9px;
  background: linear-gradient(180deg, #f8f8f5, #d5d3cc);
}

.mock-property strong {
  font-size: 0.92rem;
}

.mock-property span {
  height: 30px;
}

.mock-property-wide {
  grid-template-columns: repeat(3, 1fr);
  padding: 10px;
}

.mock-property-wide div {
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
}

.mock-restaurant {
  background:
    linear-gradient(135deg, #111 0 44%, transparent 44%),
    linear-gradient(180deg, #faf9f4, #dedbd2);
}

.mock-restaurant .mock-hero strong {
  color: var(--white);
}

.mock-menu-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.mock-menu-row span {
  height: 34px;
}

.process {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.timeline article {
  min-height: 280px;
  padding: 24px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
}

.timeline article:last-child {
  border-right: 0;
}

.timeline span {
  color: var(--silver);
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
}

.timeline h3 {
  margin-top: 118px;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1fr);
  gap: 48px;
  align-items: center;
}

.studio-wall {
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 36px 36px;
}

.studio-wall p {
  width: min(560px, 88%);
  margin: 0;
  color: var(--white);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 4.6rem;
  font-weight: 700;
  line-height: 0.98;
  text-align: center;
  text-wrap: balance;
}

.offer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-card {
  min-height: 290px;
  padding: 22px;
  transition:
    transform 0.45s var(--ease),
    background 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.offer-card:hover {
  transform: translateY(-8px);
}

.offer-card.featured {
  color: var(--black);
  background: var(--white);
}

.offer-card.featured span {
  color: var(--black);
  border-color: rgba(0, 0, 0, 0.22);
}

.offer-card.featured h3,
.offer-card.featured p {
  color: var(--black);
}

.offer-card h3 {
  margin-top: 96px;
  font-size: 2rem;
}

.testimonials {
  padding-top: 10px;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

blockquote {
  margin: 0;
  min-height: 250px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--white);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.16;
}

cite {
  display: block;
  margin-top: 28px;
  color: var(--silver);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: start;
  padding-bottom: 84px;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-details a {
  color: var(--white);
  font-size: 1.08rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.contact-details span {
  color: var(--silver);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form label span {
  color: var(--silver);
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.34);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form select option {
  color: var(--black);
  background: var(--white);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form .button {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--silver);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 44px));
  min-height: 90px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer p {
  margin: 0;
  overflow-wrap: anywhere;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  transform: translateX(-50%);
}

.site-header.is-visible {
  transform: translateX(-50%);
}

.site-header[data-reveal] {
  transform: translate(-50%, 34px);
}

.site-header[data-reveal].is-visible {
  transform: translate(-50%, 0);
}

@keyframes loadingLine {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes preloaderFallback {
  0%,
  82% {
    visibility: visible;
    opacity: 1;
  }
  100% {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes titleRise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes slowSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes elephantFloat {
  from {
    transform: translateY(-8px) scale(0.995);
  }
  to {
    transform: translateY(12px) scale(1.015);
  }
}

@keyframes floatA {
  from {
    transform: translate3d(0, -6px, 0);
  }
  to {
    transform: translate3d(-18px, 12px, 0);
  }
}

@keyframes floatB {
  from {
    transform: translate3d(0, 10px, 0);
  }
  to {
    transform: translate3d(18px, -10px, 0);
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero h1 {
    font-size: 4.8rem;
  }

  .hero-visual {
    min-height: 500px;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .section-heading.split,
  .studio,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .section-pad {
    width: min(100% - 30px, 720px);
    padding: 84px 0;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .header-actions {
    justify-self: end;
    flex-shrink: 0;
    gap: 8px;
  }

  .brand-copy {
    max-width: 154px;
    font-size: 0.82rem;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 5, 5, 0.92);
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(20px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  }

  .site-header.menu-open .mobile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 8px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    font-weight: 800;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero {
    gap: 36px;
    padding-top: 154px;
    padding-bottom: 64px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero .eyebrow {
    margin-top: 12px;
  }

  .hero h1 {
    font-size: 3.35rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .offer-grid,
  .testimonial-track,
  .work-showcase {
    grid-template-columns: 1fr;
  }

  .work-showcase {
    grid-template-rows: auto;
  }

  .panel-large {
    grid-row: auto;
    min-height: auto;
  }

  .work-panel {
    min-height: auto;
  }

  .device-scene-large {
    min-height: 330px;
  }

  .device-scene.compact {
    min-height: 170px;
  }

  .device-panel h3 {
    margin-bottom: 10px;
  }

  .phone {
    width: 112px;
    right: 4%;
  }

  .panel-large h3,
  .section-heading h2,
  .studio-copy h2,
  .contact-copy h2 {
    font-size: 2.7rem;
  }

  .studio-wall p {
    font-size: 3.1rem;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .cursor,
  .cursor-follower {
    display: none;
  }

  .section-pad {
    width: calc(100% - 24px);
    padding: 72px 0;
  }

  .site-header {
    min-height: 64px;
    padding: 8px;
  }

  .brand {
    grid-template-columns: 38px auto;
    gap: 7px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-copy {
    max-width: 88px;
    font-size: 0.64rem;
  }

  .menu-toggle {
    width: 34px;
    height: 42px;
  }

  .menu-toggle span {
    width: 22px;
  }

  .nav-cta {
    min-width: 0;
    min-height: 42px;
    padding: 0 10px;
    gap: 6px;
    font-size: 0.76rem;
  }

  .nav-cta span[aria-hidden="true"] {
    display: none;
  }

  .hero h1 {
    font-size: 2.58rem;
    line-height: 1;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 148px;
    padding-bottom: 42px;
  }

  .hero .eyebrow {
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .hero-lede {
    margin-top: 24px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-visual {
    min-height: 318px;
    margin-top: 4px;
  }

  .hero-visual img {
    width: min(292px, 78%);
  }

  .code-float {
    width: 136px;
    min-height: 68px;
    padding: 10px;
  }

  .code-float strong {
    font-size: 1.12rem;
  }

  .code-float span {
    font-size: 0.68rem;
  }

  .float-a {
    top: 30px;
    right: 0;
  }

  .float-b {
    bottom: 26px;
    left: 0;
  }

  .section-heading h2,
  .studio-copy h2,
  .contact-copy h2,
  .work-panel h3,
  .offer-card h3 {
    font-size: 2.24rem;
  }

  .work-panel {
    padding: 18px;
  }

  .device-panel h3 {
    font-size: 1.86rem;
  }

  .device-scene {
    min-height: 136px;
    margin-top: 4px;
  }

  .device-scene-large {
    min-height: 276px;
  }

  .laptop {
    width: 92%;
    padding: 8px;
  }

  .phone {
    width: 92px;
    padding: 6px;
    border-radius: 18px;
  }

  .tall-phone {
    width: 104px;
    min-height: 188px;
  }

  .micro-laptop {
    width: 126px;
    right: 2%;
  }

  .mock-site {
    padding: 10px;
  }

  .mock-hero {
    margin-top: 18px;
  }

  .mock-hero strong {
    font-size: 0.94rem;
  }

  .mock-columns {
    margin-top: 18px;
  }

  .mock-columns span {
    height: 32px;
  }

  .service-card {
    min-height: 260px;
  }

  .timeline article {
    min-height: 230px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .timeline article:last-child {
    border-bottom: 0;
  }

  .timeline h3 {
    margin-top: 72px;
  }

  blockquote {
    min-height: 220px;
    font-size: 1.56rem;
  }

  .studio-wall {
    min-height: 330px;
  }

  .studio-wall p {
    font-size: 2.45rem;
  }

  .site-footer {
    width: calc(100% - 24px);
    display: grid;
    gap: 18px;
    padding: 26px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
