:root {
  color-scheme: dark;
  --bg: #08060d;
  --bg-soft: #0e0a16;
  --panel: #121019;
  --panel-2: #191523;
  --ink: #f8f6fc;
  --ink-soft: #ded8e9;
  --muted: #aaa2b5;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --violet: #8b5cf6;
  --violet-bright: #a985ff;
  --orange: #ff5b28;
  --green: #6ee7a8;
  --radius-sm: 18px;
  --radius-md: 28px;
  --radius-lg: 42px;
  --shadow: 0 35px 80px rgba(0, 0, 0, 0.42);
  --container: min(1220px, calc(100% - 48px));
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 7%, rgba(139, 92, 246, 0.11), transparent 27rem),
    radial-gradient(circle at 90% 30%, rgba(255, 91, 40, 0.055), transparent 24rem),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

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

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

.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;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-flow {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(139, 92, 246, 0.11), transparent 36%),
    radial-gradient(circle at 82% 68%, rgba(35, 128, 255, 0.1), transparent 42%);
  mix-blend-mode: screen;
}

.cursor-ring {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(174, 105, 255, 0.92);
  border-radius: 50%;
  background: rgba(146, 70, 255, 0.1);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 14px rgba(137, 82, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition: opacity 160ms ease;
  will-change: transform;
}

.cursor-ring::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #9b54f5;
  box-shadow: 0 0 7px rgba(168, 92, 255, 0.75);
  transform: translate(-50%, -50%);
}

.cursor-ring.is-visible {
  opacity: 1;
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.section-shell {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 0;
  width: 100%;
  transition: transform 300ms ease;
}

.nav-shell {
  width: min(1180px, calc(100% - 36px));
  min-height: 72px;
  margin-inline: auto;
  padding: 9px 11px 9px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: rgba(12, 9, 18, 0.74);
  box-shadow: 0 16px 55px rgba(0, 0, 0, 0.27);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--violet-bright), var(--violet));
  color: white;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 12px 30px rgba(139, 92, 246, 0.3);
}

.brand-name {
  font-size: 15px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a {
  padding: 13px 15px;
  border-radius: 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.site-nav > a:hover,
.site-nav > a:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  color: white;
}

.site-nav .nav-cta {
  margin-left: 4px;
  padding-inline: 19px;
  background: var(--ink);
  color: var(--bg);
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--violet-bright);
  color: #0a0611;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 19px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: white;
  transition: transform 180ms ease;
}

.hero {
  position: relative;
  isolation: isolate;
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  --note-x: 0px;
  --note-y: 0px;
  --note-x-alt: 0px;
  --note-y-alt: 0px;
  min-height: 920px;
  padding-top: 162px;
  padding-bottom: 105px;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(390px, 0.93fr);
  align-items: center;
  gap: clamp(46px, 6vw, 90px);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-orb-one {
  top: 130px;
  left: -240px;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(139, 92, 246, 0.18);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1), transparent 68%);
}

.hero-orb-two {
  right: -260px;
  bottom: 30px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 91, 40, 0.12);
}

.eyebrow {
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span:first-child {
  width: 25px;
  height: 1px;
  background: var(--violet-bright);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 770;
  letter-spacing: -0.074em;
  line-height: 0.94;
}

h1 em,
h2 em {
  color: var(--violet-bright);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.055em;
}

.hero-intro {
  max-width: 640px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.65;
}

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

.button {
  min-height: 56px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 200ms ease, background 200ms ease, border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: var(--violet);
  box-shadow: 0 16px 38px rgba(139, 92, 246, 0.22);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--violet-bright);
}

.button-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.035);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.hero-facts {
  margin: 52px 0 0;
  padding: 0;
  display: flex;
  list-style: none;
}

.hero-facts li {
  min-height: 48px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-left: 1px solid var(--line);
}

.hero-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-facts strong {
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-facts li > span:last-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.45;
  text-transform: uppercase;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(110, 231, 168, 0.1), 0 0 22px rgba(110, 231, 168, 0.65);
}

.hero-visual {
  isolation: isolate;
}

.hero-word {
  position: absolute;
  z-index: -2;
  top: 10%;
  right: -7%;
  color: transparent;
  font-size: clamp(100px, 12vw, 180px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.12);
  transform: rotate(90deg) translateX(25%);
  transform-origin: right top;
}

.portrait-frame {
  position: relative;
  width: min(100%, 510px);
  aspect-ratio: 1;
  margin-left: auto;
  padding: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 160px 42px 42px 42px;
  background: linear-gradient(150deg, rgba(139, 92, 246, 0.38), rgba(255, 91, 40, 0.12) 48%, rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  transform: perspective(1000px) translate3d(var(--shift-x), var(--shift-y), 0) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotateZ(1.5deg);
  transform-style: preserve-3d;
  transform-origin: center;
  transition: transform 160ms ease-out, box-shadow 260ms ease;
  will-change: transform;
}

.hero[data-parallax-active="true"] .portrait-frame {
  box-shadow: 0 42px 95px rgba(0, 0, 0, 0.5), 0 18px 50px rgba(139, 92, 246, 0.13);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 150px 32px 32px 32px;
  pointer-events: none;
}

.portrait-frame img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 150px 32px 32px 32px;
  object-fit: cover;
  object-position: center;
}

.portrait-halo {
  position: absolute;
  z-index: 0;
  top: -15%;
  right: -10%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(55px);
  opacity: 0.38;
}

.portrait-label {
  position: absolute;
  z-index: 3;
  right: 28px;
  bottom: 28px;
  left: 28px;
  padding: 13px 15px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 14px;
  background: rgba(8, 6, 13, 0.73);
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.floating-note {
  position: absolute;
  z-index: 4;
  padding: 16px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(13, 9, 20, 0.82);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.45;
  text-transform: uppercase;
  backdrop-filter: blur(16px);
}

.floating-note strong {
  color: var(--violet-bright);
}

.floating-note span {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 9px;
}

.note-one {
  top: 17%;
  left: -31px;
  transform: translate3d(var(--note-x), var(--note-y), 40px) rotate(-5deg);
  transition: transform 220ms ease-out;
  will-change: transform;
}

.note-two {
  right: -24px;
  bottom: 19%;
  transform: translate3d(var(--note-x-alt), var(--note-y-alt), 30px) rotate(4deg);
  transition: transform 250ms ease-out;
  will-change: transform;
}

@keyframes portrait-float {
  0%, 100% {
    transform: perspective(1000px) translate3d(0, 0, 0) rotateX(0) rotateY(0) rotateZ(1.5deg);
  }
  50% {
    transform: perspective(1000px) translate3d(0, -8px, 0) rotateX(1deg) rotateY(-1deg) rotateZ(0.8deg);
  }
}

.marquee-band {
  width: calc(100% + 80px);
  margin-left: -40px;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--violet);
  transform: rotate(-1.4deg);
}

.marquee-track {
  width: max-content;
  padding: 17px 0;
  display: flex;
  align-items: center;
  gap: 28px;
  color: white;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee-track i {
  color: #d8c8ff;
  font-style: normal;
}

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

.work,
.services {
  padding-top: 156px;
  padding-bottom: 80px;
}

.section-heading {
  margin-bottom: 62px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 60px;
}

.section-heading .eyebrow {
  margin-bottom: 22px;
}

.section-heading h2,
.about h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(48px, 5vw, 76px);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.section-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 22px;
  row-gap: 68px;
}

.project-card {
  width: 100%;
  min-width: 0;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-card-wide {
  grid-column: span 6;
}

.project-card-tall {
  grid-column: span 6;
}

.project-card:nth-child(3) {
  grid-column: 1 / span 6;
}

.project-card:nth-child(4) {
  grid-column: 7 / span 6;
}

.project-image-wrap {
  position: relative;
  width: 100%;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.22);
}

.project-card-wide .project-image-wrap {
  aspect-ratio: 1.08;
}

.project-card-tall .project-image-wrap {
  aspect-ratio: 1.08;
}

.project-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 3, 9, 0.52), transparent 42%);
  opacity: 0;
  transition: opacity 350ms ease;
}

.project-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), filter 350ms ease;
}

.project-card-tall .project-image-wrap img {
  object-position: center;
}

.project-open {
  position: absolute;
  z-index: 2;
  right: 20px;
  bottom: 20px;
  padding: 13px 16px;
  border-radius: 13px;
  background: white;
  color: #0b0712;
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 250ms ease, transform 250ms ease;
}

.project-card:hover .project-image-wrap img,
.project-card:focus-visible .project-image-wrap img {
  transform: scale(1.045);
  filter: saturate(1.07);
}

.project-card:hover .project-image-wrap::after,
.project-card:focus-visible .project-image-wrap::after,
.project-card:hover .project-open,
.project-card:focus-visible .project-open {
  opacity: 1;
}

.project-card:hover .project-open,
.project-card:focus-visible .project-open {
  transform: translateY(0);
}

.project-card:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 7px;
  border-radius: var(--radius-md);
}

.project-info {
  padding: 20px 2px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.project-info > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.project-info small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-info strong {
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 740;
  letter-spacing: -0.045em;
}

.project-type {
  max-width: 190px;
  padding-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.about {
  padding-top: 110px;
  padding-bottom: 120px;
}

.about-panel {
  position: relative;
  padding: clamp(34px, 6vw, 78px);
  display: grid;
  grid-template-columns: 1.12fr 0.68fr;
  gap: clamp(45px, 7vw, 100px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 0%, rgba(139, 92, 246, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.about-panel::after {
  content: "AR";
  position: absolute;
  right: -16px;
  bottom: -72px;
  color: transparent;
  font-size: 260px;
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 1;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.055);
  pointer-events: none;
}

.about-lead,
.about-copy {
  position: relative;
  z-index: 1;
}

.about h2 {
  font-size: clamp(45px, 5vw, 70px);
}

.about-copy {
  align-self: end;
}

.about-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.about-copy p + p {
  margin-top: 18px;
}

.text-link {
  margin-top: 17px;
  padding-bottom: 6px;
  display: inline-flex;
  gap: 18px;
  border-bottom: 1px solid var(--violet-bright);
  font-size: 14px;
  font-weight: 760;
}

.skill-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skill-row span {
  padding: 13px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 620;
}

.services {
  padding-bottom: 145px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.016));
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -110px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(75px);
  opacity: 0;
  transition: opacity 300ms ease;
}

.service-card:hover {
  border-color: rgba(169, 133, 255, 0.42);
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.12), rgba(255, 255, 255, 0.02));
  transform: translateY(-7px);
}

.service-card:hover::before {
  opacity: 0.35;
}

.service-number {
  color: var(--violet-bright);
  font-family: Georgia, serif;
  font-size: 14px;
  font-style: italic;
}

.service-card h3 {
  margin-bottom: 14px;
  font-size: 27px;
  font-weight: 710;
  letter-spacing: -0.045em;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-icon {
  position: absolute;
  top: 21px;
  right: 21px;
  display: grid;
  place-items: center;
  width: 41px;
  height: 41px;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--muted);
  transition: color 250ms ease, background 250ms ease, transform 250ms ease;
}

.service-card:hover .service-icon {
  background: var(--violet);
  color: white;
  transform: rotate(8deg);
}

.contact {
  padding-bottom: 100px;
}

.contact-panel {
  position: relative;
  isolation: isolate;
  min-height: 570px;
  padding: clamp(38px, 7vw, 90px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(11, 6, 23, 0.12), rgba(8, 5, 15, 0.6)),
    var(--violet);
  box-shadow: 0 35px 90px rgba(73, 33, 165, 0.28);
}

.contact-panel::before,
.contact-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.contact-panel::before {
  width: 520px;
  height: 520px;
  top: -240px;
  right: -80px;
}

.contact-panel::after {
  width: 380px;
  height: 380px;
  right: 80px;
  bottom: -250px;
}

.contact-glow {
  position: absolute;
  z-index: -1;
  top: 10%;
  right: 8%;
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  filter: blur(95px);
  opacity: 0.5;
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.69);
}

.eyebrow-light > span:first-child {
  background: white;
}

.contact h2 {
  max-width: 930px;
  margin-bottom: 54px;
  font-size: clamp(53px, 7vw, 96px);
}

.contact h2 em {
  color: white;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-actions a {
  min-height: 67px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 770;
  transition: transform 220ms ease, background 220ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  transform: translateY(-4px);
}

.contact-primary {
  min-width: 250px;
  background: white;
  color: #120a22;
}

.contact-primary:hover,
.contact-primary:focus-visible {
  background: #f2ebff;
}

.contact-secondary {
  min-width: 215px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
}

.contact-secondary:hover,
.contact-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.contact-details {
  position: absolute;
  right: clamp(38px, 7vw, 90px);
  bottom: clamp(38px, 6vw, 68px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: white;
}

.site-footer {
  padding-top: 10px;
  padding-bottom: 45px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 11px;
}

.footer-brand {
  color: white;
}

.footer-brand .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-size: 11px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 17px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: white;
}

.copyright {
  white-space: nowrap;
}

.project-dialog,
.lightbox {
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.project-dialog {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.project-dialog::backdrop,
.lightbox::backdrop {
  background: rgba(3, 2, 6, 0.83);
  backdrop-filter: blur(14px);
}

.dialog-shell {
  min-height: 100%;
  padding: 85px max(24px, calc((100vw - 1180px) / 2)) 60px;
  background:
    radial-gradient(circle at 85% 4%, rgba(139, 92, 246, 0.17), transparent 30rem),
    #09070e;
}

.dialog-close,
.lightbox-close {
  position: fixed;
  z-index: 10;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  padding: 0 0 4px;
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: rgba(19, 15, 27, 0.82);
  color: white;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.dialog-close:hover,
.dialog-close:focus-visible,
.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: white;
  color: #09060f;
}

.dialog-header {
  padding: 45px 0 70px;
}

.dialog-header h2 {
  margin-bottom: 34px;
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 780;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.dialog-meta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: start;
}

.dialog-meta p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.dialog-meta ul {
  max-width: 390px;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  list-style: none;
}

.dialog-meta li {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.dialog-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-button {
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  cursor: zoom-in;
}

.gallery-button:first-child {
  grid-column: 1 / -1;
}

.gallery-button img {
  width: 100%;
  height: auto;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-button:hover img,
.gallery-button:focus-visible img {
  transform: scale(1.025);
}

.gallery-button::after {
  content: "+";
  position: absolute;
  right: 17px;
  bottom: 17px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: #0c0812;
  font-size: 22px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 200ms ease, transform 200ms ease;
}

.gallery-button:hover::after,
.gallery-button:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.dialog-footer {
  margin-top: 22px;
  padding: 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.09);
}

.dialog-footer p {
  margin: 0;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.dialog-footer a {
  padding: 15px 18px;
  display: inline-flex;
  gap: 25px;
  border-radius: 14px;
  background: var(--violet);
  font-size: 13px;
  font-weight: 780;
}

.lightbox {
  width: 100%;
  height: 100%;
  padding: 80px 25px 34px;
  overflow: auto;
  background: rgba(5, 3, 8, 0.95);
}

.lightbox img {
  width: auto;
  max-width: min(1400px, 100%);
  max-height: calc(100vh - 135px);
  margin: 0 auto;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox p {
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 750ms cubic-bezier(0.22, 1, 0.36, 1), transform 750ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1040px) {
  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
    padding-top: 170px;
  }

  .hero h1 {
    font-size: clamp(53px, 7vw, 72px);
  }

  .hero-facts li {
    padding-inline: 15px;
  }

  .floating-note {
    display: none;
  }

  .project-grid {
    gap: 50px 18px;
  }

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

  .about-copy {
    max-width: 680px;
  }

  .service-card {
    min-height: 290px;
  }
}

@media (max-width: 820px) {
  :root {
    --container: min(100% - 32px, 680px);
  }

  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    top: 10px;
  }

  .nav-shell {
    position: relative;
    width: calc(100% - 20px);
    min-height: 64px;
    padding: 7px 8px 7px 14px;
    border-radius: 19px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 10px;
    display: grid;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(11, 8, 17, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav > a {
    padding: 14px;
  }

  .site-nav .nav-cta {
    margin: 3px 0 0;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 65px;
    padding-top: 135px;
    padding-bottom: 95px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero h1 {
    font-size: clamp(51px, 12vw, 78px);
  }

  .hero-visual {
    width: min(92%, 570px);
    margin-inline: auto;
  }

  .portrait-frame {
    margin-inline: auto;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading > p {
    max-width: 620px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-card,
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    grid-column: 1;
  }

  .project-card-wide .project-image-wrap,
  .project-card-tall .project-image-wrap {
    aspect-ratio: 1.1;
  }

  .project-open {
    opacity: 1;
    transform: none;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 235px;
  }

  .contact-panel {
    min-height: 620px;
  }

  .contact-details {
    right: auto;
    left: clamp(38px, 7vw, 90px);
    align-items: flex-start;
  }

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

  .site-footer > p:first-of-type {
    display: none;
  }

  .footer-links {
    justify-self: end;
  }

  .copyright {
    grid-column: 1 / -1;
  }

  .dialog-meta {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .dialog-meta ul {
    justify-content: flex-start;
  }
}

@media (max-width: 580px) {
  :root {
    --container: calc(100% - 24px);
    --radius-md: 22px;
    --radius-lg: 28px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    padding-top: 122px;
    padding-bottom: 75px;
  }

  .eyebrow {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .hero h1 {
    margin-bottom: 23px;
    font-size: clamp(45px, 14vw, 63px);
    line-height: 0.96;
  }

  .hero-intro {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 0;
  }

  .hero-facts li {
    padding-inline: 13px;
  }

  .hero-facts li:nth-child(3) {
    grid-column: 1 / -1;
    padding: 15px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-visual {
    width: 100%;
  }

  .portrait-frame {
    padding: 8px;
    border-radius: 105px 28px 28px 28px;
  }

  .portrait-frame::before {
    inset: 8px;
    border-radius: 98px 22px 22px 22px;
  }

  .portrait-frame img {
    border-radius: 98px 22px 22px 22px;
  }

  .portrait-label {
    right: 17px;
    bottom: 17px;
    left: 17px;
  }

  .marquee-track {
    padding-block: 14px;
    font-size: 11px;
  }

  .work,
  .services {
    padding-top: 110px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .section-heading h2,
  .about h2 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .project-card-wide .project-image-wrap,
  .project-card-tall .project-image-wrap {
    aspect-ratio: 1;
  }

  .project-info {
    align-items: start;
  }

  .project-type {
    display: none;
  }

  .project-open {
    right: 12px;
    bottom: 12px;
    padding: 11px 13px;
  }

  .about {
    padding-top: 75px;
    padding-bottom: 80px;
  }

  .about-panel {
    padding: 31px 24px;
    gap: 38px;
  }

  .about-copy p {
    font-size: 15px;
  }

  .services {
    padding-bottom: 105px;
  }

  .contact {
    width: 100%;
    padding-bottom: 70px;
  }

  .contact-panel {
    min-height: 650px;
    padding: 36px 24px;
    border-radius: 0;
  }

  .contact h2 {
    margin-bottom: 37px;
    font-size: clamp(48px, 14vw, 68px);
  }

  .contact-actions {
    display: grid;
  }

  .contact-actions a {
    width: 100%;
  }

  .contact-details {
    right: 24px;
    bottom: 34px;
    left: 24px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-links,
  .copyright {
    grid-column: 1;
    justify-self: start;
  }

  .dialog-shell {
    padding: 72px 12px 30px;
  }

  .dialog-close,
  .lightbox-close {
    top: 13px;
    right: 13px;
  }

  .dialog-header {
    padding: 35px 4px 48px;
  }

  .dialog-header h2 {
    font-size: clamp(59px, 22vw, 92px);
  }

  .dialog-meta p {
    font-size: 15px;
  }

  .dialog-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-button:first-child {
    grid-column: 1;
  }

  .gallery-button::after {
    opacity: 1;
    transform: none;
  }

  .dialog-footer {
    padding: 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-footer a {
    justify-content: space-between;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor-ring {
    display: none;
  }

  .portrait-frame {
    animation: portrait-float 5.5s ease-in-out infinite;
  }
}

.motion-paused {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .site-flow {
    opacity: 0.5;
  }
}
