@font-face {
  font-family: Kalameh;
  src: url("../fonts/Kalameh-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Kalameh;
  src: url("../fonts/Kalameh-Bold.ttf") format("truetype");
  font-weight: 700 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0a0a0d;
  --muted: #686872;
  --paper: #f1f1f3;
  --surface: #fff;
  --line: #d8d8de;
  --blue: #4f68ff;
  --shadow: 0 24px 70px rgba(15, 15, 25, .1);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 40px;
  --container: 1180px;
  --gutter: clamp(16px, 3vw, 32px);
  --space-section: clamp(72px, 10vw, 144px);
  --text-xs: .75rem;
  --text-sm: .875rem;
  --text-base: clamp(.95rem, .9rem + .2vw, 1.05rem);
  --text-lead: clamp(1.1rem, 1rem + .45vw, 1.35rem);
  --text-h3: clamp(1.45rem, 1.2rem + 1vw, 2rem);
  --text-h2: clamp(2.25rem, 1.6rem + 3vw, 4.25rem);
  --text-display: clamp(3rem, 2rem + 5vw, 6.6rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 10% 5%, #fff 0, transparent 30%), var(--paper);
  color: var(--ink);
  font-family: Kalameh, Tahoma, Arial, sans-serif;
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.75;
  direction: rtl;
  text-align: right;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  font-size: 28px !important;
}

p {
  margin-bottom: 1em;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button,
.button {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 99;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 3px;
  background: linear-gradient(90deg, #8da2ff, #4f6bff, #ad70ff);
  transform: scaleX(0);
  transform-origin: right;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-content: center;
  gap: 14px;
  background: #09090c;
  color: #fff;
  text-align: center;
  transition: opacity .5s, visibility .5s;
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
}

.preloader-mark {
  position: relative;
  width: 74px;
  height: 74px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  border: 1px solid #ffffff25;
  border-radius: 24px;
  font-size: 2rem;
  font-weight: 800;
}

.preloader-mark i {
  position: absolute;
  inset: -1px;
  border: 2px solid transparent;
  border-top-color: #91a4ff;
  border-radius: 24px;
  animation: loaderSpin 1s linear infinite;
}

.preloader p {
  margin: 0;
  color: #ffffff70;
  font-size: var(--text-xs);
}

.eyebrow,
.kicker {
  margin-bottom: 12px;
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.5;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, background .25s;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.ghost {
  border: 1px solid var(--line);
  background: #fff;
}

.button.light {
  background: #fff;
  color: var(--ink);
}

.button:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, .14);
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  padding-top: 14px;
}

.nav {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 10px;
  border: 1px solid #fff;
  border-radius: 999px;
  background: rgba(248, 248, 249, .9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .07);
  backdrop-filter: blur(22px);
  transition: .35s;
}

.site-header.scrolled .nav {
  border-color: #fff;
  background: rgba(248, 248, 249, .88);
  box-shadow: 0 12px 45px rgba(0, 0, 0, .06);
  backdrop-filter: blur(22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.brand span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #18181c, #555563);
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 30px);
  font-size: var(--text-sm);
  font-weight: 700;
}

.nav-links > a {
  transition: opacity .2s;
}

.nav-links > a:hover {
  opacity: .55;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: none;
  border: 0;
  background: transparent;
}

.menu-toggle i {
  display: block;
  width: 21px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

/* Home hero */
.hero {
  position: relative;
  isolation: isolate;
  width: min(1460px, calc(100% - 28px));
  min-height: calc(100svh - 112px);
  margin: 96px auto 0;
  padding: clamp(150px, 20vh, 210px) var(--gutter) 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #09090c;
  color: #fff;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: -2;
  background: conic-gradient(from 210deg at 50% 50%, #09090c 0 25%, #192866 33%, #09090c 42% 68%, #401d55 78%, #09090c 88%);
  animation: aurora 18s linear infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, transparent 0 20%, #09090cdd 70%), linear-gradient(#09090c00 60%, #09090c 90%);
}

.hero-status {
  position: absolute;
  top: 104px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid #ffffff20;
  border-radius: 99px;
  background: #ffffff0b;
  color: #ffffffa8;
  font-size: var(--text-xs);
  line-height: 1.4;
  backdrop-filter: blur(15px);
}

.hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82ec9a;
  box-shadow: 0 0 14px #82ec9a;
}

.hero .eyebrow {
  color: #9daeff;
}

.hero-title {
  max-width: 940px;
  margin: 12px auto 24px;
  font-size: var(--text-display);
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}

.hero-title .outline {
  color: transparent;
  -webkit-text-stroke: 1px #ffffff75;
}

.hero-copy {
  max-width: 600px;
  margin: 0 auto 28px;
  color: #ffffffa0;
  font-size: var(--text-lead);
  line-height: 1.7;
}

.orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: .3;
  mix-blend-mode: screen;
  animation: float 8s ease-in-out infinite;
}

.orb-one {
  top: 18%;
  right: -80px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle at 30% 30%, #fff, #a8c7ff);
}

.orb-two {
  bottom: 17%;
  left: 2%;
  width: 160px;
  height: 160px;
  background: linear-gradient(135deg, #ffd9c8, #fff);
}

/* Shared sections */
.statement {
  border: 0;
}

.statement .kicker {
  display: inline-flex;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: #fff;
}

.big-text {
  max-width: 1080px;
  margin-bottom: 0;
  font-size: clamp(2.6rem, 2rem + 4vw, 5.6rem);
  line-height: 1.22;
  letter-spacing: -.055em;
  text-wrap: balance;
}

.big-text em {
  background: linear-gradient(100deg, #435cf0, #9965f5);
  color: transparent;
  font-style: normal;
  background-clip: text;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: var(--text-h2);
}

.section-head > a {
  flex: none;
  font-size: var(--text-sm);
  font-weight: 700;
}

/* Project cards */
.project-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 16px;
}

.project-card {
  --mx: -200px;
  --my: -200px;
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(540px, 55vw, 690px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: #fff;
  box-shadow: inset 0 1px #fff4;
  transition: transform .4s;
}

.project-card:nth-child(2) {
  height: clamp(500px, 48vw, 600px);
  margin-top: 72px;
}

.project-card::before,
.wide-art::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(450px circle at var(--mx) var(--my), #ffffff28, transparent 50%);
  opacity: 0;
  transition: opacity .3s;
}

.project-card:hover::before,
.wide-art:hover::before,
.cta:hover::before {
  opacity: 1;
}

.project-visual {
  position: relative;
  height: 74%;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.project-visual::after {
  content: "";
  position: absolute;
  bottom: 8%;
  width: 60%;
  height: 30%;
  border-radius: 50%;
  background: #0005;
  filter: blur(40px);
}

.project-visual img {
  z-index: 1;
  width: 86%;
  height: 76%;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: rotate(-4deg);
  transition: transform .5s;
}

.project-card:hover .project-visual img {
  transform: rotate(0) scale(1.02);
}

.phone-ui {
  z-index: 1;
  width: min(230px, 46%);
  aspect-ratio: .54;
  border: 8px solid #27272a;
  border-radius: 38px;
  background: linear-gradient(#fafafa 20%, #d7e5ff);
  box-shadow: var(--shadow);
  transform: rotate(-8deg);
  animation: float 7s infinite;
}

.dash-ui {
  z-index: 1;
  width: 88%;
  aspect-ratio: 1.65;
  border: 5px solid #ffffff80;
  border-radius: 22px;
  background: linear-gradient(135deg, #f8fbff, #b9d0ff);
  box-shadow: var(--shadow);
  transform: rotate(5deg);
}

.project-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  min-height: 28%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(transparent, #0006);
}

.project-meta small {
  color: #ffffffa8;
  font-size: var(--text-xs);
}

.project-meta h3 {
  margin: 5px 0 0;
  font-size: var(--text-h3);
  color: #fff;
}

.project-meta span {
  width: 48px;
  height: 48px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid #fff4;
  border-radius: 50%;
  font-size: 1.25rem;
  backdrop-filter: blur(10px);
}

/* Services and CTA */
.services {
  padding-inline: clamp(20px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: #e8e8eb;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.2fr) minmax(240px, .8fr);
  gap: 16px;
  align-items: center;
  padding-block: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.service span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #c9c9ce;
  border-radius: 50%;
  font-size: var(--text-xs);
}

.service h3 {
  margin: 0;
  font-size: var(--text-h3);
}

.service p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
}

.cta {
  --mx: -200px;
  --my: -200px;
  position: relative;
  isolation: isolate;
  min-height: clamp(380px, 48vw, 500px);
  margin-bottom: clamp(32px, 6vw, 80px);
  padding: 48px 24px;
  display: grid;
  place-content: center;
  overflow: hidden;
  border: 1px solid #ffffff12;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #101014, #20202a);
  color: #fff;
  text-align: center;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: -1;
  border: 1px solid #ffffff13;
  border-radius: 30px;
}

.cta p {
  margin-bottom: 6px;
  color: #ffffff99;
}

.cta h2 {
  margin: 0 0 24px;
  font-size: var(--text-h2);
}

.cta .button {
  justify-self: center;
}

.orb-three {
  top: -150px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: #246dff;
  filter: blur(50px);
}

.footer {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--text-sm);
}

.footer p {
  margin: 0;
}

.footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

/* Inner pages */
.page-hero {
  min-height: min(70vh, 720px);
  padding-top: clamp(160px, 20vw, 220px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-hero.compact {
  min-height: min(56vh, 600px);
}

.page-hero h1,
.contact-intro h1 {
  max-width: 1050px;
  margin: 10px 0 0;
  font-size: clamp(2.8rem, 2rem + 4vw, 5.8rem);
  line-height: 1.08;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.page-hero h1 span,
.contact-intro h1 span {
  color: #9999a3;
}

.page-hero::after {
  content: "";
  width: 100%;
  height: 1px;
  margin-top: clamp(40px, 7vw, 80px);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 80px);
  align-items: center;
}

.portrait {
  aspect-ratio: .78;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 50% 18%, rgba(243, 201, 105, .18), transparent 30%),
    linear-gradient(145deg, #101820, #eef0f4 68%);
}

.portrait-shape {
  width: 75%;
  height: 75%;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 35% 35%;
  background: linear-gradient(145deg, #1d1d22, #555);
  color: #fff;
  font-size: var(--text-h2);
  transform: rotate(-5deg);
}

.portrait-shape.avatar {
  width: 92%;
  height: 92%;
  border-radius: 0;
  background: transparent;
  transform: none;
}

.portrait-shape.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 26px 34px rgba(16, 24, 32, .22));
}

.about-copy .lead {
  margin-bottom: 24px;
  font-size: clamp(1.5rem, 1.15rem + 1.4vw, 2.25rem);
  line-height: 1.55;
}

.about-copy > p:not(.lead) {
  color: var(--muted);
  font-size: var(--text-lead);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 44px;
}

.stats div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.stats b {
  display: block;
  font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
  line-height: 1.25;
}

.stats span,
.timeline-row p,
.timeline-row span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.timeline-row {
  display: grid;
  grid-template-columns: .8fr 1fr 1fr;
  gap: 20px;
  align-items: center;
  padding-block: 24px;
  border-top: 1px solid var(--line);
}

.timeline-row:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline-row h3,
.timeline-row p {
  margin: 0;
}

.timeline-row h3 {
  font-size: var(--text-h3);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.credential-grid article {
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #fff;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .05);
}

.credential-grid span {
  color: var(--blue);
  font-size: var(--text-xs);
  font-weight: 700;
}

.credential-grid h3 {
  margin: 24px 0 8px;
  font-size: var(--text-h3);
}

.credential-grid p {
  margin: 0;
  color: var(--muted);
}

/* Projects page */
.project-list {
  display: grid;
  gap: clamp(72px, 10vw, 120px);
}

.wide-project {
  min-width: 0;
  background: transparent !important;
}

.wide-art {
  --mx: -200px;
  --my: -200px;
  position: relative;
  isolation: isolate;
  height: min(64vw, 700px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--accent);
  box-shadow: inset 0 1px #fff5;
}

.wide-art > span {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #fff5;
  border-radius: 50%;
  color: #fff;
  font-size: var(--text-sm);
  backdrop-filter: blur(12px);
}

.wide-art > img {
  width: 82%;
  height: 78%;
  border-radius: clamp(20px, 3vw, 32px);
  object-fit: cover;
  box-shadow: var(--shadow);
  transform: rotate(-3deg);
  transition: transform .6s;
}

.wide-project:hover .wide-art > img {
  transform: rotate(0) scale(1.02);
}

.glass-card {
  position: relative;
  width: min(55%, 600px);
  height: 70%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #fff8;
  border-radius: clamp(22px, 3vw, 32px);
  background: #ffffff99;
  box-shadow: var(--shadow);
  backdrop-filter: blur(15px);
  transform: rotate(-7deg);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid #fff9;
  border-radius: 22px;
}

.glass-card i {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(45px);
}

.glass-card b {
  z-index: 1;
  color: #fff;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  text-shadow: 0 20px 45px #0002;
}

.wide-info {
  display: grid;
  grid-template-columns: .7fr 1.6fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 6px;
  border-bottom: 1px solid var(--line);
}

.wide-info small {
  color: var(--muted);
  font-size: var(--text-sm);
}

.wide-info h2 {
  margin: 0;
  font-size: var(--text-h2);
}

.wide-info p {
  max-width: 620px;
  margin: 5px 0 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.wide-info a {
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: var(--text-sm);
  font-weight: 700;
  white-space: nowrap;
}

/* Project single */
.project-single-hero {
  min-height: min(76svh, 760px);
  padding-top: clamp(150px, 18vw, 210px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-single-hero > a {
  align-self: start;
  margin-bottom: clamp(32px, 5vw, 60px);
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
}

.project-single-hero h1 {
  max-width: 980px;
  margin: 8px 0 24px;
  font-size: clamp(3rem, 2rem + 5vw, 6.5rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.project-single-summary {
  max-width: 680px;
  color: var(--muted);
  font-size: var(--text-lead);
}

.project-single-cover {
  min-height: min(66vw, 720px);
  padding: clamp(24px, 5vw, 70px);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--accent);
}

.project-single-cover > img {
  width: min(100%, 1040px);
  max-height: 620px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.project-detail {
  padding-block: var(--space-section);
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.5fr);
  gap: clamp(48px, 9vw, 120px);
}

.project-detail aside {
  align-self: start;
  display: grid;
  border-top: 1px solid var(--line);
}

.project-detail aside div {
  padding-block: 18px;
  display: grid;
  gap: 4px;
  border-bottom: 1px solid var(--line);
}

.project-detail aside span {
  color: var(--muted);
  font-size: var(--text-xs);
}

.project-detail aside b {
  font-size: var(--text-base);
}

.project-story h2 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: var(--text-h2);
}

.project-story > div {
  max-width: 760px;
  margin-bottom: 32px;
  color: #3e3e46;
  font-size: var(--text-lead);
  line-height: 2;
}

/* Blog and contact */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 7vw, 80px) 24px;
}

.post-card {
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius-lg);
  transition: transform .35s, background .35s, box-shadow .35s;
}

.post-card:hover {
  background: #fff;
  box-shadow: 0 25px 70px #0000000d;
  transform: translateY(-7px);
}

.post-image {
  aspect-ratio: 1.45;
  margin-bottom: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #101014, #3c3c45);
  color: #fff;
  font-size: clamp(4rem, 9vw, 7rem);
}

.post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.post-card:hover img {
  transform: scale(1.04);
}

.post-card small,
.post-card p {
  color: var(--muted);
}

.post-card h2 {
  margin: 8px 0;
  font-size: var(--text-h3);
}

.post-card b {
  color: var(--blue);
  font-size: var(--text-sm);
}

.single-post {
  padding-top: clamp(140px, 18vw, 190px);
  padding-bottom: var(--space-section);
}

.post-header {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.post-header > a,
.post-header small {
  display: block;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: var(--text-sm);
}

.post-header h1 {
  margin: 18px 0;
  font-size: clamp(2.8rem, 2rem + 4vw, 6rem);
  line-height: 1.15;
}

.post-header p {
  color: var(--muted);
  font-size: var(--text-lead);
}

.post-cover {
  width: 100%;
  max-height: 650px;
  margin-block: clamp(42px, 7vw, 72px);
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.post-content {
  max-width: 760px;
  margin-inline: auto;
  font-size: var(--text-lead);
  line-height: 2.05;
}

.contact-page {
  min-height: 100svh;
  padding-top: clamp(140px, 16vw, 190px);
  padding-bottom: clamp(70px, 9vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: var(--text-lead);
}

.contact-intro > a {
  display: inline-block;
  border-bottom: 1px solid;
  font-size: var(--text-lead);
  font-weight: 700;
}

.contact-topics {
  max-width: 560px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.contact-topics span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: var(--text-sm);
}

.contact-form,
.admin-form {
  display: grid;
  gap: 20px;
}

.contact-form {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #fff;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 30px 90px #0000000b;
}

.contact-form label,
.admin-form label,
.login-box label {
  color: #5d5d65;
  font-size: var(--text-sm);
  font-weight: 700;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea,
.login-box input {
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: none;
  background: transparent;
  color: var(--ink);
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--ink);
}

.contact-form .button {
  justify-self: start;
}

.empty {
  min-height: 80svh;
  display: grid;
  place-content: center;
  padding: 100px 20px;
  text-align: center;
}

.empty h1 {
  margin: 0;
  font-size: var(--text-display);
}

.flash {
  position: relative;
  z-index: 10;
  max-width: 600px;
  margin: 100px auto -70px;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
}

.flash.success {
  background: #d9fbe4;
  color: #176331;
}

.flash.error {
  background: #ffe2e2;
  color: #8b2020;
}

/* Admin */
.admin-body {
  background: #e9e9ed;
}

.login-box {
  width: min(430px, calc(100% - 30px));
  margin: 10vh auto;
  padding: clamp(24px, 5vw, 40px);
  display: grid;
  gap: 18px;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow);
}

.login-box h1 {
  margin-bottom: 0;
  font-size: var(--text-h2);
}

.login-box .flash {
  margin: 0;
}

.login-box small {
  color: var(--muted);
}

.admin-side {
  position: fixed;
  inset: 12px 12px 12px auto;
  width: 238px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #111116, #292933);
  color: #fff;
}

.admin-side nav {
  display: grid;
  gap: 16px;
  margin-top: 50px;
  font-size: var(--text-sm);
}

.admin-side > a:last-child {
  margin-top: auto;
  color: #aaa;
  font-size: var(--text-sm);
}

.admin-main {
  width: min(1400px, calc(100% - 262px));
  margin-right: 262px;
  padding: clamp(18px, 3vw, 36px);
}

.admin-main > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-main h1 {
  margin: 0;
  font-size: var(--text-h2);
}

.admin-main h2 {
  font-size: var(--text-h3);
}

.admin-main .flash {
  margin: 20px 0;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-block: 32px;
}

.admin-stats div,
.admin-card {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #fff;
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 15px 50px #00000008;
}

.admin-stats span {
  color: var(--muted);
  font-size: var(--text-sm);
}

.admin-stats b {
  display: block;
  font-size: clamp(2.1rem, 1.8rem + 1.3vw, 3.1rem);
  line-height: 1.25;
}

.admin-card {
  margin-bottom: 24px;
}

.featured-admin-card {
  background: linear-gradient(135deg, #fff, #f2f4ff);
}

.admin-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.admin-card-head h2 {
  margin: 0;
}

.admin-card-head span,
.admin-card-head small {
  color: var(--muted);
  font-size: var(--text-sm);
}

.admin-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form .full {
  grid-column: 1 / -1;
}

.admin-form input,
.admin-form textarea {
  margin-top: 5px;
  padding: 10px;
  border: 1px solid #dddde3;
  border-radius: 12px;
  background: #fff;
}

.admin-form .check {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-form .check input {
  width: auto;
}

.admin-form .color-input {
  height: 48px;
  padding: 5px;
}

.admin-project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-project-grid article {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fafafa;
}

.admin-project-grid article > div:last-child {
  padding: 18px;
}

.admin-project-grid h3 {
  margin: 3px 0;
  font-size: 1.35rem;
}

.admin-project-grid p {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-view-link {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: var(--text-sm);
  font-weight: 700;
}

.admin-project-cover {
  height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--accent);
}

.admin-project-cover img {
  width: 85%;
  height: 82%;
  border-radius: 16px;
  object-fit: cover;
}

.admin-project-cover b {
  color: #fff;
  font-size: 4rem;
}

.admin-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.admin-list span {
  display: grid;
}

.admin-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.admin-list p {
  margin-bottom: 0;
}

.admin-list .unread {
  padding-right: 14px;
  border-right: 3px solid var(--blue);
}

.admin-list button {
  border: 0;
  border-radius: 9px;
  padding: 7px 12px;
  cursor: pointer;
}

.admin-list .danger,
.danger {
  border: 0;
  border-radius: 9px;
  padding: 7px 12px;
  background: #fee;
  color: #a11;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s, transform .7s;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@keyframes aurora {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  to { transform: translateX(50%); }
}

@keyframes float {
  50% { transform: translateY(-16px) rotate(3deg); }
}

@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* Laptop */
@media (max-width: 1100px) {
  :root {
    --container: 940px;
  }

  .project-card:nth-child(2) {
    margin-top: 48px;
  }

  .about-grid {
    gap: 36px;
  }

  .wide-info {
    grid-template-columns: .65fr 1.35fr;
  }

  .project-detail {
    grid-template-columns: 1fr;
  }

  .wide-info a {
    grid-column: 2;
    justify-self: start;
  }

  .admin-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 820px) {
  :root {
    --space-section: clamp(64px, 12vw, 96px);
    --text-display: clamp(3.1rem, 12vw, 5.3rem);
  }

  h1,
  h2,
  h3 {
    font-size: 18px !important;
    line-height: 1.5;
    letter-spacing: -.015em;
  }

  .site-header {
    padding-top: 8px;
  }

  .nav {
    height: 56px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #fff;
    border-radius: 20px;
    background: #f8f8f9ee;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    backdrop-filter: blur(18px);
    transition: .25s;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-cta {
    text-align: center;
  }

  .hero {
    width: calc(100% - 12px);
    min-height: calc(100svh - 82px);
    margin-top: 76px;
    padding-top: 140px;
    border-radius: 27px;
  }

  .hero-status {
    top: 82px;
  }

  .hero-title {
    letter-spacing: -.05em;
  }

  .project-grid,
  .about-grid,
  .blog-grid,
  .contact-page,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card:nth-child(2) {
    height: clamp(470px, 95vw, 610px);
    margin-top: 0;
    border-radius: 28px;
  }

  .services {
    border-radius: 28px;
  }

  .service {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .service p {
    grid-column: 2;
  }

  .footer {
    display: grid;
  }

  .page-hero {
    min-height: 54svh;
    padding-top: 130px;
  }

  .project-single-hero {
    min-height: 62svh;
    padding-top: 120px;
  }

  .project-single-cover {
    min-height: min(100vw, 580px);
    border-radius: 28px;
  }

  .portrait {
    width: min(100%, 560px);
    margin-inline: auto;
  }

  .wide-art {
    height: min(100vw, 580px);
    border-radius: 28px;
  }

  .project-single-hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.5rem);
  }

  .project-detail {
    gap: 42px;
  }

  .wide-info {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .wide-info a {
    grid-column: auto;
    margin-top: 10px;
  }

  .contact-page {
    align-items: start;
  }

  .contact-form {
    width: 100%;
  }

  .admin-side {
    position: static;
    width: auto;
    margin: 0;
    border-radius: 0;
  }

  .admin-side nav {
    margin-top: 24px;
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-side > a:last-child {
    margin-top: 20px;
  }

  .admin-main {
    width: 100%;
    margin: 0;
  }

  .admin-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --gutter: 14px;
    --text-display: clamp(2.75rem, 13vw, 4.2rem);
    --text-h2: clamp(2rem, 9vw, 3rem);
    --text-h3: clamp(1.35rem, 6vw, 1.75rem);
  }

  body {
    line-height: 1.7;
  }

  .hero {
    padding-inline: 18px;
  }

  .hero-status {
    font-size: .68rem;
  }

  .hero .eyebrow {
    font-size: .75rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .orb-one {
    width: 140px;
    height: 140px;
  }

  .orb-two {
    width: 90px;
    height: 90px;
  }

  .section-head {
    display: grid;
    gap: 12px;
  }

  .section-head > a {
    justify-self: start;
  }

  .project-card,
  .project-card:nth-child(2) {
    height: 440px;
  }

  .project-meta {
    padding: 20px;
  }

  .project-meta span {
    width: 42px;
    height: 42px;
  }

  .phone-ui {
    border-width: 6px;
    border-radius: 28px;
  }

  .service {
    padding-block: 26px;
  }

  .service p {
    font-size: var(--text-sm);
  }

  .cta {
    min-height: 380px;
    border-radius: 26px;
  }

  .cta::after {
    inset: 10px;
    border-radius: 19px;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .timeline-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .wide-art {
    height: 105vw;
    min-height: 350px;
  }

  .wide-art > span {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }

  .wide-art > img {
    width: 88%;
    height: 76%;
  }

  .glass-card {
    width: 76%;
    height: 68%;
  }

  .post-card {
    padding: 0 0 20px;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
  }

  .post-card:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
  }

  .post-image {
    border-radius: 20px;
  }

  .post-cover {
    border-radius: 22px;
  }

  .contact-form {
    padding: 20px;
    border-radius: 24px;
  }

  .flash {
    width: calc(100% - 28px);
    margin-top: 82px;
  }

  .admin-side nav {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-main {
    padding: 12px;
  }

  .admin-main > header,
  .admin-card-head {
    display: grid;
  }

  .admin-stats,
  .admin-form {
    grid-template-columns: 1fr;
  }

  .admin-form .full {
    grid-column: auto;
  }

  .admin-list > div {
    display: grid;
  }

  .admin-project-cover {
    height: 180px;
  }
}

/* Brand logo */
.brand img {
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
}

.site-header .brand img,
.admin-side .brand img {
  filter: invert(1);
}

.footer .brand img,
.login-box .brand img {
  filter: none;
}

.preloader-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: invert(1);
}

@media (max-width: 600px) {
  .brand img {
    width: 34px;
    height: 34px;
  }
}

/* Small mobile */
@media (max-width: 380px) {
  :root {
    --gutter: 11px;
    --text-display: 2.55rem;
  }

  .brand {
    font-size: 1.05rem;
  }

  .hero {
    padding-inline: 12px;
  }

  .hero-status {
    padding-inline: 9px;
  }

  .project-card,
  .project-card:nth-child(2) {
    height: 405px;
  }

  .project-meta h3 {
    font-size: 1.25rem;
  }

  .footer div {
    gap: 12px;
  }
}

@media (hover: none) {
  .project-card,
  .wide-project {
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Liquid glass header and buttons */
.glass-filters {
  position: fixed;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.nav,
.button,
.nav-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nav {
  border-color: rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .78),
    inset 0 0 3px 1px rgba(255, 255, 255, .42),
    0 18px 55px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(16px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.35) !important;
}

.nav::before,
.button::before,
.nav-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .34), transparent 28%),
    radial-gradient(circle at 82% 86%, rgba(255, 255, 255, .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 48%, rgba(255, 255, 255, .14));
}

.nav::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  filter: url("#container-glass");
  -webkit-filter: url("#container-glass");
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .8),
    inset 0 0 3px 1px rgba(255, 255, 255, .48);
}

.button,
.nav-cta,
.hero .button,
.contact-form .button,
.cta .button {
  border: 1px solid rgba(255, 255, 255, .45) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .78),
    inset 0 0 3px 1px rgba(255, 255, 255, .44),
    0 12px 30px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(14px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.35) !important;
}

.button::after,
.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  filter: url("#btn-glass");
  -webkit-filter: url("#btn-glass");
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .8),
    inset 0 0 3px 1px rgba(255, 255, 255, .48);
}

.button:hover,
.nav-cta:hover,
.hero .button:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .9),
    inset 0 0 4px 1px rgba(255, 255, 255, .58),
    0 16px 38px rgba(0, 0, 0, .24) !important;
}

/* Launch polish */
:root {
  --paper: #f5f3ee;
  --surface: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: #dedbd4;
  --blue: #3157d5;
  --container: 1200px;
  --gutter: clamp(18px, 3vw, 36px);
  --space-section: 104px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
}

body {
  background: var(--paper);
  font-size: 16px;
  line-height: 1.9;
}

main {
  display: block;
}

p {
  margin-bottom: 20px;
}

.eyebrow,
.kicker {
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: .02em;
}

.section {
  padding-block: var(--space-section);
}

.section + .section {
  padding-top: 0;
}

.button {
  min-height: 46px;
  padding: 11px 20px;
}

/* Launch header */
.site-header {
  top: 16px;
  padding: 0;
}

.nav {
  height: 68px;
  padding-inline: 18px 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(15, 27, 46, .94);
  color: #fff;
  box-shadow: 0 16px 45px rgba(14, 24, 40, .18);
}

.site-header.scrolled .nav {
  border-color: rgba(255, 255, 255, .12);
  background: rgba(15, 27, 46, .94);
  box-shadow: 0 16px 45px rgba(14, 24, 40, .18);
}

.brand {
  gap: 11px;
  font-size: 16px;
}

.brand span {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #fff;
  color: #14213a;
}

.nav-links {
  gap: 8px;
  font-size: 13px;
}

.nav-links > a {
  padding: 9px 13px;
  border-radius: 10px;
}

.nav-links > a:hover {
  background: rgba(255, 255, 255, .08);
  opacity: 1;
}

.nav-cta {
  background: #f3c969;
  color: #162036 !important;
}

.menu-toggle i {
  background: #fff;
}

/* Launch hero */
.hero {
  position: relative;
  isolation: isolate;
  width: min(1460px, calc(100% - 28px));
  min-height: calc(100svh - 70px);
  margin-top: 108px;
  padding: 0;
  display: block;
  overflow: hidden;
  border-radius: 30px;
  background: #000;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: .22;
  background-image:
    linear-gradient(rgba(255, 255, 255, .11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .11) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .78) 62%, rgba(0, 0, 0, .92)),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .56) 26%, transparent 64%),
    radial-gradient(circle at 22% 45%, transparent 0 24%, rgba(0, 0, 0, .38) 52%, rgba(0, 0, 0, .76) 82%);
  pointer-events: none;
}

.hero-unicorn,
.hero-stars {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-unicorn {
  display: block;
}

.hero-unicorn::before,
.hero-unicorn::after {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
}

.hero-unicorn::before {
  opacity: .34;
  background:
    radial-gradient(circle at 30% 52%, rgba(255, 255, 255, .22), transparent 0.8px) 0 0 / 13px 13px,
    radial-gradient(circle at 30% 52%, rgba(96, 165, 250, .42), transparent 38%),
    conic-gradient(from 120deg at 32% 52%, transparent 0 12%, rgba(255, 255, 255, .1) 14%, transparent 18% 33%, rgba(255, 255, 255, .08) 35%, transparent 39%);
  filter: contrast(1.5);
  animation: asciiDrift 18s linear infinite;
}

.hero-unicorn::after {
  opacity: .18;
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .45) 4px 5px),
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255, 255, 255, .28) 16px 17px);
  mask-image: radial-gradient(circle at 30% 52%, #000 0 34%, transparent 64%);
  animation: scanShift 9s linear infinite;
}

.hero-unicorn canvas {
  width: 100% !important;
  height: 100% !important;
  clip-path: inset(0 0 10% 0);
}

.hero-stars {
  display: none;
  opacity: .32;
  background-image:
    radial-gradient(1px 1px at 20% 30%, #fff, transparent),
    radial-gradient(1px 1px at 60% 70%, #fff, transparent),
    radial-gradient(1px 1px at 50% 50%, #fff, transparent),
    radial-gradient(1px 1px at 80% 10%, #fff, transparent),
    radial-gradient(1px 1px at 90% 60%, #fff, transparent),
    radial-gradient(1px 1px at 33% 80%, #fff, transparent),
    radial-gradient(1px 1px at 15% 60%, #fff, transparent),
    radial-gradient(1px 1px at 70% 40%, #fff, transparent);
  background-position: 0 0, 40% 40%, 60% 60%, 20% 20%, 80% 80%, 30% 30%, 70% 70%, 50% 50%;
  background-size: 200% 200%, 180% 180%, 250% 250%, 220% 220%, 190% 190%, 240% 240%, 210% 210%, 230% 230%;
}

.hero-dither {
  position: absolute;
  left: clamp(18px, 5vw, 82px);
  top: 50%;
  z-index: 3;
  width: min(48vw, 680px);
  height: min(78vh, 680px);
  transform: translateY(-48%);
  opacity: .96;
  pointer-events: auto;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 46px rgba(96, 165, 250, .14));
}

.hero-inner-head,
.hero-inner-foot {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, .58);
  font-family: Consolas, "Courier New", monospace;
  font-size: 10px;
  line-height: 1.4;
  direction: ltr;
}

.hero-inner-head {
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.hero-inner-foot {
  bottom: 5vh;
  border-top: 1px solid rgba(255, 255, 255, .2);
  background: rgba(0, 0, 0, .42);
  backdrop-filter: blur(14px);
}

.hero-brandline,
.hero-coordinates,
.hero-inner-foot > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-brandline strong {
  color: #fff;
  font-family: Kalameh, Tahoma, Arial, sans-serif;
  font-size: 19px;
  font-weight: 900;
}

.hero-brandline i,
.hero-coordinates i {
  width: 1px;
  height: 15px;
  background: rgba(255, 255, 255, .42);
}

.hero-inner-foot i {
  width: 46px;
  height: 12px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .34) 0 3px, transparent 3px 7px);
}

.hero-inner-foot b {
  width: 5px;
  height: 5px;
  display: inline-block;
  border-radius: 999px;
  background: rgba(255, 255, 255, .56);
  animation: pulseDot 1.4s ease-in-out infinite;
}

.hero-inner-foot b:nth-of-type(2) {
  opacity: .7;
  animation-delay: .2s;
}

.hero-inner-foot b:nth-of-type(3) {
  opacity: .45;
  animation-delay: .4s;
}

.hero-corner {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  opacity: .52;
  pointer-events: none;
}

.hero-corner.top-left {
  top: 0;
  left: 0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
}

.hero-corner.top-right {
  top: 0;
  right: 0;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.hero-corner.bottom-left {
  bottom: 5vh;
  left: 0;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
}

.hero-corner.bottom-right {
  right: 0;
  bottom: 5vh;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.hero-stage {
  position: relative;
  z-index: 4;
  width: 100%;
  min-height: calc(100svh - 70px);
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: flex-end;
  padding: 96px clamp(24px, 8vw, 130px) 132px clamp(24px, 4vw, 60px);
  margin-top: 5vh;
}

.hero-content {
  width: 100%;
  max-width: 620px;
  direction: rtl;
  text-align: right;
}

.hero-rule,
.hero-protocol {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, .62);
  font-family: Consolas, "Courier New", monospace;
}

.hero-rule {
  margin-bottom: 14px;
}

.hero-rule span,
.hero-protocol i {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, .62);
}

.hero-rule b,
.hero-protocol span,
.hero-protocol b {
  font-size: 10px;
  font-weight: 700;
}

.hero-status {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, .48);
  background: rgba(0, 0, 0, .22);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  backdrop-filter: blur(12px);
}

.hero-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #82ec9a;
  box-shadow: 0 0 16px rgba(130, 236, 154, .8);
}

.hero .eyebrow {
  margin-bottom: 13px;
  color: #f3c969;
  font-size: 13px;
}

.hero-title {
  position: relative;
  margin: 0 0 16px;
  color: #fff;
  font-family: Kalameh, Tahoma, Arial, sans-serif;
  font-size: clamp(38px, 5.3vw, 72px) !important;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-title::before {
  content: "";
  position: absolute;
  top: 2px;
  right: -16px;
  bottom: 2px;
  width: 4px;
  opacity: .35;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 1px, #fff 1px 2px),
    repeating-linear-gradient(90deg, transparent 0 1px, #fff 1px 2px);
  background-size: 3px 3px;
}

.hero-title span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .72);
}

.hero-dotline {
  display: flex;
  gap: 5px;
  margin-bottom: 16px;
  opacity: .38;
  direction: ltr;
}

.hero-dotline i {
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #fff;
}

.hero-copy {
  max-width: 600px;
  margin: 0;
  color: rgba(229, 231, 235, .82);
  font-size: 15px;
  line-height: 2.05;
}

.hero-copy + .hero-copy {
  margin-top: 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.hero .button {
  min-width: 156px;
  min-height: 44px;
  border: 1px solid #fff;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: background .2s, color .2s, transform .25s;
}

.hero .button:hover {
  background: #fff;
  color: #000;
}

.hero .button.primary {
  border-color: #f3c969;
}

.hero .button.primary:hover {
  background: #f3c969;
  color: #000;
}

.hero .button.ghost {
  border-color: rgba(255, 255, 255, .68);
}

.hero-protocol {
  margin-top: 26px;
  opacity: .42;
  direction: ltr;
}

.hero-protocol i {
  max-width: 180px;
}

.hero-protocol b {
  letter-spacing: .08em;
}

[data-us-project] {
  position: absolute !important;
  overflow: hidden !important;
}

[data-us-project] * {
  pointer-events: none !important;
}

[data-us-project] a[href*="unicorn"],
[data-us-project] button[title*="unicorn"],
[data-us-project] div[title*="Made with"],
[data-us-project] .unicorn-brand,
[data-us-project] [class*="brand"],
[data-us-project] [class*="credit"],
[data-us-project] [class*="watermark"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

@keyframes pulseDot {
  50% { opacity: .18; }
}

@keyframes asciiDrift {
  to { transform: rotate(360deg); }
}

@keyframes scanShift {
  to { transform: translate3d(4%, -4%, 0); }
}

/* Section rhythm */
.statement {
  padding-top: 110px;
  padding-bottom: 110px;
}

.big-text {
  max-width: 900px;
  margin: 0;
  line-height: 1.75;
  letter-spacing: -.025em;
}

.section-head {
  align-items: center;
  margin-bottom: 40px;
  padding-top: 28px;
}

.section-head .kicker {
  margin-bottom: 10px;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card,
.project-card:nth-child(2) {
  height: 560px;
  margin-top: 0;
  border-radius: 26px;
  box-shadow: 0 18px 55px rgba(14, 24, 40, .12);
}

.project-visual {
  height: 76%;
  padding: 28px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  transform: none;
}

.project-card:hover .project-visual img {
  transform: scale(1.015);
}

.project-meta {
  min-height: 27%;
  padding: 26px;
}

.project-meta h3 {
  margin-top: 8px;
}

.services {
  padding: 44px;
  border: 1px solid #e2dfd8;
  border-radius: 28px;
  background: #eeece6;
}

.services > .kicker {
  margin-bottom: 28px;
}

.service {
  grid-template-columns: 56px minmax(0, 1fr) minmax(260px, .8fr);
  gap: 24px;
  padding-block: 32px;
}

.cta {
  min-height: 360px;
  padding: 64px 30px;
}

.cta p {
  margin-bottom: 16px;
}

.cta h2 {
  margin-bottom: 28px;
}

.footer {
  min-height: auto;
  margin-top: 32px;
  padding-block: 38px;
}

/* Inner pages rhythm */
.page-hero {
  min-height: auto;
  padding-top: 190px;
  padding-bottom: 84px;
  gap: 4px;
}

.page-hero.compact {
  min-height: auto;
}

.page-hero h1,
.contact-intro h1 {
  max-width: 760px;
  margin-top: 0;
  line-height: 1.55;
  letter-spacing: -.025em;
}

.page-hero::after {
  margin-top: 52px;
}

.about-grid {
  gap: 72px;
}

.about-copy .lead {
  margin-bottom: 28px;
  font-size: 19px;
  line-height: 2;
}

.about-copy > p:not(.lead) {
  margin-bottom: 34px;
  font-size: 16px;
  line-height: 2;
}

.stats {
  gap: 24px;
  margin-top: 42px;
}

.stats div {
  padding-top: 20px;
}

.stats b {
  margin-bottom: 5px;
  font-size: 28px;
}

.timeline > .kicker {
  margin-bottom: 30px;
}

.timeline-row {
  gap: 28px;
  padding-block: 30px;
}

.credential-grid {
  gap: 24px;
}

.credential-grid article {
  padding: 30px;
}

.credential-grid h3 {
  margin: 24px 0 12px;
}

.project-list {
  gap: 96px;
}

.wide-art {
  height: min(56vw, 650px);
  border-radius: 28px;
}

.wide-art > img {
  width: calc(100% - 72px);
  height: calc(100% - 72px);
  border-radius: 20px;
  transform: none;
}

.wide-info {
  gap: 32px;
  padding: 28px 6px 38px;
}

.wide-info h2 {
  margin-bottom: 10px;
}

.blog-grid {
  gap: 56px 28px;
}

.post-card {
  padding: 14px 14px 26px;
}

.post-image {
  margin-bottom: 24px;
}

.post-card h2 {
  margin: 14px 0 10px;
}

.post-card p {
  margin-bottom: 18px;
}

.single-post {
  padding-top: 180px;
}

.post-header h1 {
  margin: 22px 0;
}

.post-content {
  padding-block: 30px;
  line-height: 2.2;
}

.contact-page {
  min-height: auto;
  padding-top: 190px;
  padding-bottom: 110px;
  gap: 72px;
  align-items: start;
}

.contact-intro {
  padding-top: 26px;
}

.contact-intro > p:not(.eyebrow) {
  margin-top: 24px;
  line-height: 2;
}

.contact-topics {
  gap: 10px;
  margin-top: 30px;
}

.contact-form {
  gap: 26px;
  padding: 34px;
  border-radius: 24px;
}

.contact-form input,
.contact-form textarea {
  margin-top: 7px;
  padding: 14px 0;
}

.project-single-hero {
  min-height: auto;
  padding-top: 190px;
  padding-bottom: 80px;
}

.project-single-summary {
  margin-top: 22px;
  line-height: 2;
}

.project-single-cover {
  min-height: auto;
  padding: 40px;
  border-radius: 28px;
}

.project-single-cover > img {
  width: 100%;
  max-height: 620px;
}

.project-detail {
  gap: 90px;
}

.project-story h2 {
  margin-bottom: 28px;
}

@media (max-width: 820px) {
  :root {
    --space-section: 72px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    top: 10px;
  }

  .nav {
    height: 60px;
    padding-inline: 14px 8px;
    border-radius: 16px;
  }

  .brand {
    font-size: 14px;
  }

  .brand span {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    top: 80px;
    gap: 8px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(15, 27, 46, .98);
    color: #fff;
  }

  .hero {
    min-height: calc(100svh - 28px);
    margin-top: 84px;
    padding: 0;
    border-radius: 24px;
  }

  .hero-unicorn {
    display: none;
  }

  .hero-stars {
    display: block;
  }

  .hero-dither {
    left: 50%;
    top: auto;
    bottom: 52px;
    width: min(72vw, 280px);
    height: min(72vw, 280px);
    transform: translateX(-50%);
    opacity: .22;
  }

  .hero-inner-head {
    padding: 12px 16px;
  }

  .hero-coordinates {
    display: none;
  }

  .hero-corner {
    width: 32px;
    height: 32px;
  }

  .hero-stage {
    min-height: calc(100svh - 28px);
    justify-content: center;
    padding: 88px 22px 116px;
    margin-top: 0;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    text-align: center;
  }

  .hero-rule,
  .hero-protocol,
  .hero-dotline {
    display: none;
  }

  .hero-status {
    margin-inline: auto;
    margin-bottom: 18px;
  }

  .hero-title {
    font-size: clamp(34px, 12vw, 54px) !important;
  }

  .hero-title::before {
    display: none;
  }

  .hero-copy {
    max-width: none;
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-inner-foot {
    bottom: 0;
    padding: 10px 14px;
    font-size: 8px;
  }

  .statement {
    padding-block: 74px;
  }

  .section-head {
    margin-bottom: 28px;
    padding-top: 22px;
  }

  .project-grid {
    gap: 20px;
  }

  .project-card,
  .project-card:nth-child(2) {
    height: 460px;
  }

  .services {
    padding: 26px 20px;
  }

  .service {
    gap: 14px;
    padding-block: 25px;
  }

  .page-hero,
  .project-single-hero {
    padding-top: 140px;
    padding-bottom: 58px;
  }

  .about-grid,
  .contact-page {
    gap: 48px;
  }

  .project-list {
    gap: 68px;
  }

  .wide-info {
    gap: 12px;
    padding-bottom: 28px;
  }

  .contact-page {
    padding-top: 140px;
    padding-bottom: 72px;
  }

  .contact-intro {
    padding-top: 0;
  }

  .project-detail {
    gap: 48px;
  }
}

@media (max-width: 600px) {
  :root {
    --space-section: 58px;
  }

  .hero {
    margin-top: 78px;
  }

  .hero-inner-head {
    justify-content: center;
  }

  .hero-brandline span,
  .hero-brandline i,
  .hero-inner-foot span:first-child,
  .hero-inner-foot span:last-child {
    display: none;
  }

  .hero-title {
    font-size: clamp(36px, 12vw, 52px) !important;
  }

  .hero-status {
    font-size: 11px;
  }

  .hero-inner-foot i {
    width: 32px;
  }

  .project-card,
  .project-card:nth-child(2) {
    height: 400px;
  }

  .project-visual {
    padding: 18px;
  }

  .project-meta {
    padding: 18px;
  }

  .service {
    grid-template-columns: 46px minmax(0, 1fr);
  }

  .credential-grid {
    gap: 14px;
  }

  .credential-grid article {
    padding: 22px;
  }

  .wide-art {
    min-height: 320px;
  }

  .wide-art > img {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
  }

  .contact-form {
    gap: 22px;
    padding: 22px;
  }

  .footer {
    gap: 20px;
    padding-block: 30px;
  }
}

/* Final liquid glass override */
.nav,
.site-header.scrolled .nav {
  border-color: rgba(255, 255, 255, .28) !important;
  background: rgba(255, 255, 255, .08) !important;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .78),
    inset 0 0 3px 1px rgba(255, 255, 255, .42),
    0 18px 55px rgba(0, 0, 0, .18) !important;
  backdrop-filter: blur(16px) saturate(1.35) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.35) !important;
}

.button,
.nav-cta,
.hero .button,
.contact-form .button,
.cta .button {
  border: 1px solid rgba(255, 255, 255, .45) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
}

.nav::before,
.button::before,
.nav-cta::before {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .34), transparent 28%),
    radial-gradient(circle at 82% 86%, rgba(255, 255, 255, .11), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 48%, rgba(255, 255, 255, .14)) !important;
  animation: none !important;
}

/* Full-site liquid glass theme */
html {
  background: #eef3ff;
}

body {
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 105, 180, .42), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(72, 184, 255, .5), transparent 28%),
    radial-gradient(circle at 70% 72%, rgba(243, 201, 105, .48), transparent 30%),
    radial-gradient(circle at 20% 84%, rgba(79, 104, 255, .36), transparent 34%),
    linear-gradient(135deg, #fbfdff, #edf3ff 42%, #fff6e6);
  background-size: 130% 130%, 120% 120%, 140% 140%, 130% 130%, 100% 100%;
  animation: siteColorFlow 28s ease-in-out infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 120deg at 50% 50%, rgba(255, 255, 255, .3), rgba(96, 165, 250, .22), rgba(243, 201, 105, .25), rgba(236, 72, 153, .2), rgba(255, 255, 255, .3));
  filter: blur(70px);
  opacity: .9;
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.statement,
.services,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.project-list,
.blog-grid,
.contact-page,
.project-detail,
.single-post {
  position: relative;
}

.hero {
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .44), rgba(255, 255, 255, .16)),
    radial-gradient(circle at 22% 48%, rgba(96, 165, 250, .24), transparent 36%),
    radial-gradient(circle at 80% 20%, rgba(243, 201, 105, .2), transparent 32%) !important;
  color: #101820;
  border: 1px solid rgba(255, 255, 255, .58);
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .95),
    inset 0 0 4px 1px rgba(255, 255, 255, .45),
    0 30px 90px rgba(31, 41, 55, .14);
  backdrop-filter: blur(24px) saturate(1.45);
  -webkit-backdrop-filter: blur(24px) saturate(1.45);
}

.hero::before {
  opacity: .18;
  background-image:
    linear-gradient(rgba(17, 24, 39, .16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, .16) 1px, transparent 1px);
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .5) 58%, rgba(255, 255, 255, .78)),
    linear-gradient(0deg, rgba(255, 255, 255, .78), transparent 34%),
    radial-gradient(circle at 22% 45%, transparent 0 22%, rgba(255, 255, 255, .34) 58%, rgba(255, 255, 255, .66) 88%);
}

.hero-unicorn::before {
  opacity: .24;
}

.hero-title,
.hero .eyebrow,
.hero-copy,
.hero-inner-head,
.hero-inner-foot,
.hero-protocol,
.hero-rule {
  text-shadow: 0 1px 14px rgba(255, 255, 255, .42);
}

.hero-title {
  color: #101820;
}

.hero-title span {
  -webkit-text-stroke-color: rgba(16, 24, 32, .5);
}

.hero-copy {
  color: rgba(16, 24, 32, .76);
}

.hero .eyebrow {
  color: #8a610f;
}

.hero-status {
  border-color: rgba(16, 24, 32, .18);
  background: rgba(255, 255, 255, .28);
  color: rgba(16, 24, 32, .74);
}

.hero-inner-head,
.hero-inner-foot {
  color: rgba(16, 24, 32, .62);
  border-color: rgba(16, 24, 32, .14);
}

.hero-brandline strong {
  color: #101820;
}

.hero-inner-foot {
  background: rgba(255, 255, 255, .24);
}

.hero-dither {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 50px rgba(49, 87, 213, .18));
}

.statement,
.services,
.cta,
.page-hero,
.contact-page,
.project-single-cover,
.contact-form,
.credential-grid article,
.post-card,
.project-card,
.wide-project,
.stats div,
.admin-card,
.featured-admin-card {
  border: 1px solid rgba(255, 255, 255, .54) !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .48), rgba(255, 255, 255, .18)) !important;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .9),
    inset 0 0 3px 1px rgba(255, 255, 255, .35),
    0 24px 70px rgba(31, 41, 55, .12) !important;
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.statement,
.services,
.page-hero,
.contact-page {
  border-radius: 30px;
  padding-inline: clamp(20px, 4vw, 46px);
}

.project-card,
.wide-project,
.post-card,
.credential-grid article,
.contact-form,
.project-single-cover {
  overflow: hidden;
}

.service {
  border-color: rgba(17, 24, 39, .08);
}

.cta {
  color: #101820;
}

.cta::before,
.cta::after {
  opacity: .32;
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .22);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.nav,
.site-header.scrolled .nav,
.button,
.nav-cta,
.hero .button,
.contact-form .button,
.cta .button {
  background: rgba(255, 255, 255, .24) !important;
  color: #101820 !important;
}

.button:hover,
.nav-cta:hover,
.hero .button:hover {
  background: rgba(255, 255, 255, .38) !important;
  color: #101820 !important;
}

@keyframes siteColorFlow {
  0% { background-position: 0% 0%, 100% 0%, 50% 100%, 0% 100%, center; }
  100% { background-position: 100% 30%, 0% 20%, 0% 0%, 90% 20%, center; }
}

/* Unified spacing, radius, and typography */
:root {
  --radius-sm: 22px;
  --radius-md: 22px;
  --radius-lg: 22px;
  --space-section: 15px;
}

body,
button,
input,
textarea,
.button,
.nav,
.nav-links,
.hero-inner-head,
.hero-inner-foot,
.hero-rule,
.hero-protocol,
.hero-status {
  font-family: Kalameh, Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

main {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

main > section,
.section,
.statement,
.featured,
.services,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.project-list,
.blog-grid,
.contact-page,
.single-post,
.project-single-hero,
.project-detail {
  margin-block: 0 !important;
}

.section,
.statement,
.featured,
.services,
.cta,
.project-list,
.blog-grid,
.timeline,
.credentials,
.project-detail {
  padding-block: 15px !important;
}

.page-hero,
.contact-page,
.single-post,
.project-single-hero {
  padding-top: 120px !important;
  padding-bottom: 15px !important;
}

.hero {
  margin-bottom: 0 !important;
  border-radius: 22px !important;
}

.nav,
.button,
.nav-cta,
.hero-status,
.hero,
.statement,
.services,
.cta,
.page-hero,
.about-grid,
.timeline-row,
.credential-grid article,
.project-card,
.wide-project,
.wide-art,
.post-card,
.post-image,
.contact-form,
.contact-form input,
.contact-form textarea,
.project-single-cover,
.portrait,
.stats div,
.footer,
.flash {
  border-radius: 22px !important;
}

.hero-dither {
  opacity: 1;
  mix-blend-mode: normal;
  filter:
    drop-shadow(0 0 40px rgba(49, 87, 213, .32))
    drop-shadow(0 0 18px rgba(243, 201, 105, .26));
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .36) 58%, rgba(255, 255, 255, .62)),
    linear-gradient(0deg, rgba(255, 255, 255, .58), transparent 42%),
    radial-gradient(circle at 22% 45%, transparent 0 30%, rgba(255, 255, 255, .18) 62%, rgba(255, 255, 255, .5) 90%);
}

@media (max-width: 820px) {
  main {
    gap: 15px;
  }

  .section,
  .statement,
  .featured,
  .services,
  .cta,
  .project-list,
  .blog-grid,
  .timeline,
  .credentials,
  .project-detail {
    padding-block: 15px !important;
  }
}

/* Final color blend and black logo pass */
body {
  background:
    linear-gradient(135deg, #fbfdff 0%, #eef7ff 38%, #fff4ec 72%, #f7efff 100%) !important;
  animation: none !important;
}

body::before {
  inset: -18%;
  z-index: -3;
  background:
    radial-gradient(circle at 14% 18%, rgba(236, 72, 153, .42), transparent 46%),
    radial-gradient(circle at 82% 14%, rgba(56, 189, 248, .5), transparent 48%),
    radial-gradient(circle at 76% 82%, rgba(243, 201, 105, .42), transparent 48%),
    radial-gradient(circle at 18% 78%, rgba(99, 102, 241, .36), transparent 50%);
  filter: blur(96px);
  opacity: .95;
  transform: scale(1.08);
  animation: glassColorDrift 34s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: -12%;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(255, 255, 255, .22), rgba(96, 165, 250, .18), rgba(236, 72, 153, .13), rgba(243, 201, 105, .16), rgba(255, 255, 255, .22));
  filter: blur(120px);
  opacity: .78;
}

.brand img,
.site-header .brand img,
.site-header.scrolled .brand img,
.footer .brand img,
.login-box .brand img {
  filter: brightness(0) saturate(100%) !important;
  opacity: .92;
}

.preloader-mark img {
  filter: invert(1) !important;
}

@keyframes glassColorDrift {
  0% {
    transform: scale(1.08) translate3d(-2%, -1%, 0);
  }
  100% {
    transform: scale(1.16) translate3d(2%, 1.5%, 0);
  }
}

/* Final dark liquid pass */
html {
  background: #05070d !important;
}

body {
  background:
    linear-gradient(135deg, #05070d 0%, #090f1d 42%, #120b18 72%, #070a12 100%) !important;
  color: #eef4ff;
}

body::before {
  background:
    radial-gradient(circle at 14% 16%, rgba(79, 70, 229, .34), transparent 48%),
    radial-gradient(circle at 86% 12%, rgba(14, 165, 233, .28), transparent 48%),
    radial-gradient(circle at 78% 82%, rgba(217, 119, 6, .22), transparent 50%),
    radial-gradient(circle at 18% 78%, rgba(190, 24, 93, .24), transparent 50%) !important;
  filter: blur(118px);
  opacity: .82;
}

body::after {
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(15, 23, 42, .1), rgba(14, 165, 233, .13), rgba(190, 24, 93, .1), rgba(217, 119, 6, .1), rgba(15, 23, 42, .1)) !important;
  opacity: .58;
}

.hero {
  width: 100% !important;
  margin-top: 95px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero::before {
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px) !important;
}

.hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 13, .04), rgba(5, 7, 13, .5) 58%, rgba(5, 7, 13, .82)),
    linear-gradient(0deg, rgba(5, 7, 13, .78), transparent 48%),
    radial-gradient(circle at 22% 45%, transparent 0 32%, rgba(5, 7, 13, .24) 64%, rgba(5, 7, 13, .72) 92%) !important;
}

.hero-title,
.hero-brandline strong {
  color: #f8fbff !important;
}

.hero-title span {
  -webkit-text-stroke-color: rgba(255, 255, 255, .62) !important;
}

.hero-copy,
.hero-inner-head,
.hero-inner-foot,
.hero-protocol,
.hero-rule {
  color: rgba(238, 244, 255, .72) !important;
}

.hero .eyebrow {
  color: #f3c969 !important;
}

.hero-status {
  border-color: rgba(255, 255, 255, .24) !important;
  background: rgba(8, 13, 26, .42) !important;
  color: rgba(238, 244, 255, .82) !important;
}

.hero-inner-head,
.hero-inner-foot {
  border-color: rgba(255, 255, 255, .14) !important;
}

.hero-inner-foot {
  background: rgba(8, 13, 26, .34) !important;
}

.nav,
.site-header.scrolled .nav,
.button,
.nav-cta,
.hero .button,
.contact-form .button,
.cta .button {
  border-color: rgba(255, 255, 255, .2) !important;
  background: rgba(10, 16, 31, .34) !important;
  color: #f8fbff !important;
}

.button:hover,
.nav-cta:hover,
.hero .button:hover {
  background: rgba(20, 31, 56, .5) !important;
  color: #fff !important;
}

.nav::before,
.button::before,
.nav-cta::before {
  background:
    radial-gradient(circle at 22% 16%, rgba(255, 255, 255, .18), transparent 30%),
    radial-gradient(circle at 82% 86%, rgba(96, 165, 250, .12), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03) 48%, rgba(255, 255, 255, .08)) !important;
}

.statement,
.services,
.cta,
.page-hero,
.contact-page,
.project-single-cover,
.contact-form,
.credential-grid article,
.post-card,
.project-card,
.wide-project,
.stats div,
.admin-card,
.featured-admin-card {
  border-color: rgba(255, 255, 255, .16) !important;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .46), rgba(15, 23, 42, .18)) !important;
  color: #eef4ff;
  box-shadow:
    inset 2px 2px 0 -2px rgba(255, 255, 255, .4),
    inset 0 0 3px 1px rgba(255, 255, 255, .12),
    0 24px 70px rgba(0, 0, 0, .18) !important;
}

.page-hero h1 span,
.contact-intro h1 span,
.about-copy > p:not(.lead),
.credential-grid p,
.post-card p,
.wide-info p,
.project-single-summary {
  color: rgba(238, 244, 255, .68) !important;
}

.kicker,
.eyebrow {
  color: #8dc7ff !important;
}

.footer {
  background: rgba(10, 16, 31, .34) !important;
  color: rgba(238, 244, 255, .72);
}

.brand img,
.site-header .brand img,
.site-header.scrolled .brand img,
.footer .brand img,
.login-box .brand img {
  filter: invert(1) brightness(1.35) saturate(0) !important;
  opacity: .9;
}

.hero-dither {
  filter:
    drop-shadow(0 0 44px rgba(96, 165, 250, .28))
    drop-shadow(0 0 22px rgba(243, 201, 105, .18));
}

.hero .reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* Blog layout */
.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 15px !important;
}

@media (max-width: 900px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Full-width bands with controlled inner rhythm */
:root {
  --content-max: 1200px;
  --section-pad: 22px;
}

main > section:not(.hero),
main > article,
.footer.shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  box-sizing: border-box;
  padding-block: var(--section-pad) !important;
  padding-inline: max(var(--section-pad), calc((100vw - var(--content-max)) / 2)) !important;
}

.featured,
.services,
.statement,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.project-list,
.blog-grid,
.contact-page,
.single-post,
.project-single-hero,
.project-detail {
  border-radius: 0 !important;
}

.featured,
.services,
.statement,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.project-list,
.blog-grid,
.contact-page {
  border-inline: 0 !important;
}

.section-head,
.big-text,
.service-list,
.project-grid,
.credential-grid,
.timeline-row,
.contact-intro,
.contact-form,
.post-header,
.post-content,
.project-story,
.project-detail > aside {
  min-width: 0;
}

.statement .big-text {
  max-width: min(900px, 100%);
}

.featured .section-head,
.services > .kicker,
.project-grid,
.service-list,
.credential-grid,
.timeline > .kicker,
.blog-grid,
.project-list,
.contact-page {
  margin-inline: auto;
}

@media (max-width: 820px) {
  main > section:not(.hero),
  main > article,
  .footer.shell {
    padding-inline: var(--section-pad) !important;
  }
}

/* Move the hero animated atmosphere to the whole page */
body {
  background: #05070d !important;
}

body::before {
  inset: -20%;
  z-index: -3;
  background:
    radial-gradient(circle at 18% 22%, rgba(14, 165, 233, .22), transparent 36%),
    radial-gradient(circle at 78% 16%, rgba(79, 70, 229, .22), transparent 38%),
    radial-gradient(circle at 68% 78%, rgba(217, 119, 6, .16), transparent 42%),
    conic-gradient(from 120deg at 50% 50%, rgba(15, 23, 42, .08), rgba(14, 165, 233, .13), rgba(190, 24, 93, .08), rgba(217, 119, 6, .09), rgba(15, 23, 42, .08)) !important;
  filter: blur(90px);
  opacity: .86;
  animation: glassColorDrift 34s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .34;
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .08) 4px 5px);
  background-size: 56px 56px, 56px 56px, 100% 9px;
  animation: bodyHeroScan 14s linear infinite;
}

.hero-unicorn,
.hero-stars {
  display: none !important;
}

.hero::before {
  background: none !important;
}

@keyframes bodyHeroScan {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 0 56px, 56px 0, 0 180px; }
}

/* Final section width alignment */
main > .shell,
.footer.shell,
.project-single-cover.shell {
  width: min(1200px, calc(100% - 30px)) !important;
  margin-inline: auto !important;
}

.hero.shell {
  width: min(1200px, calc(100% - 30px)) !important;
}

/* Final cleanup: full header, shared section width, calmer hero */
.site-header {
  left: 0 !important;
  right: 0 !important;
  top: 15px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
}

.site-header .nav {
  width: 100% !important;
  max-width: none !important;
  margin-inline: auto !important;
}

main > .shell:not(.hero),
.footer.shell {
  width: min(1200px, calc(100% - 30px)) !important;
}

.hero {
  width: 100% !important;
  min-height: calc(100svh - 95px) !important;
  margin-top: 95px !important;
}

.hero-inner-head,
.hero-inner-foot {
  border-color: transparent !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-corner {
  display: none !important;
}

.hero-title,
.hero .eyebrow,
.hero-copy,
.hero-inner-head,
.hero-inner-foot,
.hero-protocol,
.hero-rule {
  text-shadow: none !important;
}

.hero-title {
  color: rgba(248, 251, 255, .92) !important;
}

.hero-title span {
  -webkit-text-stroke-color: rgba(248, 251, 255, .38) !important;
}

.hero-copy {
  color: rgba(238, 244, 255, .66) !important;
}

.nav,
.site-header.scrolled .nav {
  border: 1px solid rgba(255, 255, 255, .14) !important;
  background: rgba(8, 13, 26, .38) !important;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .16),
    0 14px 36px rgba(0, 0, 0, .2) !important;
  backdrop-filter: blur(20px) saturate(1.2) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
}

.nav::after,
.button::after,
.nav-cta::after {
  filter: none !important;
  -webkit-filter: none !important;
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, .16) !important;
}

.nav::before,
.button::before,
.nav-cta::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)),
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .08), transparent 34%) !important;
}

.button,
.nav-cta,
.hero .button,
.contact-form .button,
.cta .button {
  background: rgba(8, 13, 26, .34) !important;
  border-color: rgba(255, 255, 255, .16) !important;
  box-shadow:
    inset 1px 1px 0 rgba(255, 255, 255, .14),
    0 10px 24px rgba(0, 0, 0, .14) !important;
}

@media (max-width: 820px) {
  .site-header {
    top: 10px !important;
  }

  .site-header .nav,
  main > .shell:not(.hero),
  .footer.shell {
    width: calc(100% - 20px) !important;
  }

  .hero {
    margin-top: 82px !important;
  }
}

/* Full-width sections */
main > .shell,
.footer.shell,
.project-single-cover.shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

.hero.shell {
  width: 100% !important;
}

main > section.shell,
main > section.shell:not(.hero),
main > article.shell,
main > article.shell:not(.hero),
main > div.shell,
main > div.shell:not(.hero),
footer.footer.shell {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

/* Header item order */
.nav {
  justify-content: flex-start !important;
  gap: 28px !important;
}

.brand {
  flex: 0 0 auto;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: flex-start !important;
  gap: 10px !important;
}

.nav-cta {
  margin-inline-start: auto !important;
}

.menu-toggle {
  margin-inline-start: auto;
}

/* Unified section padding */
main > section,
main > article,
.section,
.page-hero,
.contact-page,
.single-post,
.project-single-hero,
.project-detail {
  padding: 22px !important;
}

.hero {
  padding: 22px !important;
}

body::after {
  background:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, .08) 4px 5px) !important;
  background-size: 56px 56px, 56px 56px, 100% 9px !important;
  animation: bodyHeroScan 14s linear infinite !important;
}

/* Restore visible moving pattern and color field */
body {
  position: relative;
  background: #05070d !important;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -25%;
  z-index: 0 !important;
  pointer-events: none;
  opacity: .95 !important;
  background:
    radial-gradient(circle at 16% 18%, rgba(37, 99, 235, .5), transparent 34%),
    radial-gradient(circle at 78% 14%, rgba(14, 165, 233, .42), transparent 36%),
    radial-gradient(circle at 76% 78%, rgba(245, 158, 11, .32), transparent 38%),
    radial-gradient(circle at 18% 82%, rgba(190, 24, 93, .34), transparent 40%),
    conic-gradient(from 130deg at 50% 50%, rgba(37, 99, 235, .12), rgba(14, 165, 233, .16), rgba(190, 24, 93, .12), rgba(245, 158, 11, .12), rgba(37, 99, 235, .12)) !important;
  filter: blur(82px) saturate(1.35) !important;
  transform: translate3d(0, 0, 0) scale(1.08);
  animation: bodyColorOrbit 24s ease-in-out infinite alternate !important;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0 !important;
  pointer-events: none;
  opacity: .46 !important;
  mix-blend-mode: screen;
  background:
    linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .1) 5px 6px),
    radial-gradient(circle at var(--bgx, 30%) var(--bgy, 45%), rgba(96, 165, 250, .18), transparent 32%) !important;
  background-size: 54px 54px, 54px 54px, 100% 10px, 100% 100% !important;
  animation: bodyHeroScan 8s linear infinite !important;
}

.site-header,
main,
.footer,
.preloader,
.noise,
.scroll-progress {
  position: relative;
}

.site-header,
main,
.footer {
  z-index: 1;
}

@keyframes bodyColorOrbit {
  0% {
    transform: translate3d(-3%, -2%, 0) scale(1.08) rotate(0deg);
  }
  100% {
    transform: translate3d(3%, 2%, 0) scale(1.16) rotate(8deg);
  }
}

/* Final body motion layer: dark, colorful, and visibly animated behind glass */
body::before {
  opacity: 1 !important;
  background:
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, .68), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(20, 184, 166, .52), transparent 36%),
    radial-gradient(circle at 70% 78%, rgba(217, 119, 6, .4), transparent 40%),
    radial-gradient(circle at 18% 84%, rgba(190, 24, 93, .42), transparent 42%),
    conic-gradient(from 110deg at 50% 50%, rgba(37, 99, 235, .22), rgba(20, 184, 166, .22), rgba(190, 24, 93, .18), rgba(217, 119, 6, .16), rgba(37, 99, 235, .22)) !important;
  filter: blur(96px) saturate(1.5) contrast(1.08) !important;
  animation: bodyColorOrbit 18s ease-in-out infinite alternate !important;
}

body::after {
  opacity: .62 !important;
  background:
    linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 255, 255, .11) 5px 6px),
    radial-gradient(circle at var(--bgx, 30%) var(--bgy, 45%), rgba(96, 165, 250, .22), transparent 34%) !important;
  background-size: 46px 46px, 46px 46px, 100% 9px, 100% 100% !important;
  animation: bodyHeroScan 6s linear infinite !important;
}

@keyframes bodyHeroScan {
  from {
    background-position: 0 0, 0 0, 0 0, 25% 44%;
  }
  to {
    background-position: 0 46px, 46px 0, 0 180px, 75% 56%;
  }
}

/* Premium dark bronze liquid glass refinement */
:root {
  --bronze: #b8793a;
  --bronze-soft: rgba(184, 121, 58, .18);
  --bronze-line: rgba(184, 121, 58, .28);
  --glass-bg: linear-gradient(135deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  --glass-bg-deep: linear-gradient(135deg, rgba(16, 20, 28, .72), rgba(8, 11, 18, .46));
  --glass-border: rgba(255, 255, 255, .12);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .085), 0 24px 80px rgba(0, 0, 0, .35);
  --ease-premium: cubic-bezier(.22, 1, .36, 1);
}

html {
  background: #05070d !important;
}

body {
  background:
    radial-gradient(circle at 16% 18%, rgba(184, 121, 58, .18), transparent 32%),
    radial-gradient(circle at 84% 12%, rgba(61, 74, 96, .2), transparent 34%),
    radial-gradient(circle at 70% 78%, rgba(111, 66, 36, .18), transparent 40%),
    linear-gradient(135deg, #05070d 0%, #090e17 48%, #100d10 100%) !important;
  color: #eef4ff;
}

body::before {
  background:
    radial-gradient(circle at 14% 18%, rgba(184, 121, 58, .28), transparent 35%),
    radial-gradient(circle at 78% 16%, rgba(92, 72, 54, .18), transparent 38%),
    radial-gradient(circle at 68% 78%, rgba(184, 121, 58, .18), transparent 42%),
    conic-gradient(from 120deg at 50% 50%, rgba(15, 23, 42, .08), rgba(184, 121, 58, .12), rgba(51, 65, 85, .1), rgba(112, 69, 37, .1), rgba(15, 23, 42, .08)) !important;
  filter: blur(96px) saturate(1.1) !important;
  opacity: .82 !important;
  animation-duration: 30s !important;
}

body::after {
  opacity: .34 !important;
  mix-blend-mode: screen;
  background:
    linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px),
    repeating-linear-gradient(0deg, transparent 0 5px, rgba(184, 121, 58, .045) 5px 6px) !important;
  background-size: 54px 54px, 54px 54px, 100% 11px !important;
  animation-duration: 16s !important;
}

.hero-unicorn {
  display: block !important;
}

.nav,
.site-header.scrolled .nav {
  border-color: rgba(255, 255, 255, .13) !important;
  background: rgba(8, 12, 19, .64) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .1),
    inset 0 -1px 0 rgba(184, 121, 58, .08),
    0 18px 56px rgba(0, 0, 0, .36) !important;
  backdrop-filter: blur(18px) saturate(1.28) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.28) !important;
  transition: background .42s var(--ease-premium), border-color .42s var(--ease-premium), box-shadow .42s var(--ease-premium), transform .42s var(--ease-premium) !important;
}

.nav-links > a,
.nav-cta,
.button {
  transition:
    color .34s var(--ease-premium),
    background .34s var(--ease-premium),
    border-color .34s var(--ease-premium),
    box-shadow .34s var(--ease-premium),
    transform .34s var(--ease-premium) !important;
}

.nav-links > a:hover {
  color: #f3d3ad !important;
  background: rgba(184, 121, 58, .09) !important;
}

.nav-cta,
.hero .button.primary,
.contact-form .button,
.cta .button {
  border-color: rgba(184, 121, 58, .42) !important;
  background:
    linear-gradient(180deg, rgba(184, 121, 58, .88), rgba(112, 69, 37, .78)) !important;
  color: #fff8ef !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 214, .22),
    0 14px 36px rgba(184, 121, 58, .16) !important;
}

.button,
.hero .button.ghost {
  border-color: rgba(255, 255, 255, .14) !important;
  background: var(--glass-bg) !important;
  color: #f8fbff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 12px 32px rgba(0, 0, 0, .22) !important;
  backdrop-filter: blur(14px) saturate(1.25) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.25) !important;
}

.button:hover,
.nav-cta:hover,
.hero .button:hover {
  border-color: rgba(184, 121, 58, .46) !important;
  background:
    linear-gradient(135deg, rgba(184, 121, 58, .24), rgba(255, 255, 255, .055)) !important;
  color: #fff !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 18px 46px rgba(0, 0, 0, .32),
    0 0 0 1px rgba(184, 121, 58, .12) !important;
  transform: translateY(-2px);
}

.statement,
.services,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.project-list,
.blog-grid,
.contact-page,
.single-post,
.project-single-hero,
.project-detail,
.project-single-cover,
.contact-form,
.credential-grid article,
.post-card,
.project-card,
.wide-project,
.stats div,
.timeline-row {
  border-color: var(--glass-border) !important;
  background: var(--glass-bg-deep) !important;
  color: #eef4ff;
  box-shadow: var(--glass-shadow) !important;
  backdrop-filter: blur(18px) saturate(1.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.22);
}

.statement,
.services,
.cta,
.page-hero,
.about-grid,
.timeline,
.credentials,
.contact-page,
.single-post,
.project-single-hero,
.project-detail {
  border: 1px solid var(--glass-border) !important;
}

.project-card,
.wide-project,
.credential-grid article,
.post-card,
.contact-form,
.stats div,
.service,
.timeline-row {
  position: relative;
  overflow: hidden;
  transition:
    transform .42s var(--ease-premium),
    border-color .42s var(--ease-premium),
    box-shadow .42s var(--ease-premium),
    background .42s var(--ease-premium) !important;
}

.project-card::before,
.wide-project::before,
.credential-grid article::before,
.post-card::before,
.contact-form::before,
.stats div::before,
.service::before,
.timeline-row::before,
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .09), transparent 34%),
    radial-gradient(circle at var(--mx, 22%) var(--my, 18%), rgba(184, 121, 58, .16), transparent 34%);
  opacity: .72;
}

.project-card > *,
.wide-project > *,
.credential-grid article > *,
.post-card > *,
.contact-form > *,
.stats div > *,
.service > *,
.timeline-row > *,
.cta > * {
  position: relative;
  z-index: 1;
}

.project-card:hover,
.wide-project:hover,
.credential-grid article:hover,
.post-card:hover,
.stats div:hover,
.service:hover {
  border-color: var(--bronze-line) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .11),
    0 28px 86px rgba(0, 0, 0, .4),
    0 0 42px rgba(184, 121, 58, .075) !important;
}

.stats {
  gap: 14px;
}

.stats div {
  padding: 18px 18px 16px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
}

.stats div:first-child b {
  color: #e1aa73;
  text-shadow: 0 0 28px rgba(184, 121, 58, .28);
}

.stats b,
.credential-grid span,
.wide-info small,
.post-card small,
.contact-topics span,
.kicker,
.eyebrow {
  color: #d69a61 !important;
}

.hero-status,
.contact-topics span {
  border-color: rgba(184, 121, 58, .24) !important;
  background: rgba(8, 12, 19, .42) !important;
  color: rgba(255, 238, 220, .82) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

.project-visual,
.wide-art,
.post-image,
.portrait,
.project-single-cover {
  background:
    radial-gradient(circle at 22% 16%, rgba(184, 121, 58, .16), transparent 34%),
    linear-gradient(145deg, rgba(10, 14, 22, .86), rgba(17, 20, 27, .58)) !important;
}

.project-visual img,
.wide-art > img,
.post-image img,
.project-single-cover img,
.portrait-shape.avatar img {
  transition: transform .8s var(--ease-premium), filter .8s var(--ease-premium), opacity .8s var(--ease-premium) !important;
}

.project-card:hover .project-visual img,
.wide-project:hover .wide-art > img,
.post-card:hover .post-image img {
  transform: scale(1.025) !important;
  filter: contrast(1.04) saturate(.96);
}

.page-hero h1 span,
.contact-intro h1 span,
.about-copy > p:not(.lead),
.credential-grid p,
.post-card p,
.wide-info p,
.project-single-summary,
.timeline-row p,
.stats span,
.footer,
.footer p {
  color: rgba(238, 244, 255, .68) !important;
}

.contact-form {
  border-color: rgba(184, 121, 58, .22) !important;
}

.contact-form::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 0;
  pointer-events: none;
  border: 1px solid rgba(184, 121, 58, .16);
  border-radius: inherit;
}

.contact-form label {
  color: rgba(238, 244, 255, .76) !important;
}

.contact-form input,
.contact-form textarea,
.admin-form input,
.admin-form textarea {
  border-bottom-color: rgba(255, 255, 255, .14) !important;
  color: #f8fbff !important;
  transition: border-color .32s var(--ease-premium), box-shadow .32s var(--ease-premium), background .32s var(--ease-premium) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(184, 121, 58, .72) !important;
  box-shadow: 0 10px 26px rgba(184, 121, 58, .08);
}

.footer {
  border: 1px solid rgba(255, 255, 255, .1) !important;
  background: rgba(8, 12, 19, .58) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 18px 50px rgba(0, 0, 0, .26) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}

.reveal {
  transition: opacity .9s var(--ease-premium), transform .9s var(--ease-premium) !important;
  transition-delay: .06s;
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav,
  .site-header.scrolled .nav,
  .statement,
  .services,
  .cta,
  .page-hero,
  .about-grid,
  .timeline,
  .credentials,
  .project-list,
  .blog-grid,
  .contact-page,
  .single-post,
  .project-single-hero,
  .project-detail,
  .contact-form,
  .footer,
  .project-card,
  .wide-project,
  .post-card,
  .credential-grid article,
  .stats div {
    background: rgba(9, 13, 21, .92) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Header and hero spacing lock */
:root {
  --header-top-gap: 10px;
  --header-height: 68px;
  --header-hero-gap: 10px;
}

.site-header {
  position: fixed !important;
  top: var(--header-top-gap) !important;
  z-index: 1000 !important;
}

.preloader,
.noise,
.scroll-progress,
.glass-filters {
  position: fixed !important;
}

.preloader.is-hidden {
  pointer-events: none;
}

.hero {
  margin-top: calc(var(--header-top-gap) + var(--header-height) + var(--header-hero-gap)) !important;
  min-height: calc(100svh - (var(--header-top-gap) + var(--header-height) + var(--header-hero-gap))) !important;
}

@media (max-width: 820px) {
  :root {
    --header-height: 60px;
  }
}

/* Imported section structure, restyled in the local dark bronze system */
.landing-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 !important;
  overflow: hidden;
  border-block: 1px solid rgba(184, 121, 58, .16) !important;
  background: rgba(255, 255, 255, .06) !important;
}

.landing-stat {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(135deg, rgba(10, 14, 22, .72), rgba(10, 14, 22, .36));
}

.landing-stat b {
  color: #d69a61;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 1;
  text-shadow: 0 0 34px rgba(184, 121, 58, .22);
}

.landing-stat span {
  color: rgba(238, 244, 255, .68);
  font-size: .9rem;
  line-height: 1.9;
}

.curriculum,
.credibility,
.booking {
  display: block;
}

.filter-pills,
.consult-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: 8px 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .02));
  color: rgba(238, 244, 255, .72);
  cursor: pointer;
  transition: background .34s var(--ease-premium), border-color .34s var(--ease-premium), color .34s var(--ease-premium), transform .34s var(--ease-premium);
}

.filter-pill:hover,
.filter-pill.active {
  border-color: rgba(184, 121, 58, .42);
  background: linear-gradient(135deg, rgba(184, 121, 58, .26), rgba(255, 255, 255, .04));
  color: #fff4e8;
}

.program-grid,
.flip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: var(--glass-bg-deep);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: transform .45s var(--ease-premium), border-color .45s var(--ease-premium), box-shadow .45s var(--ease-premium), opacity .35s var(--ease-premium);
}

.program-card.is-hidden {
  display: none;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 121, 58, .36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .11), 0 30px 90px rgba(0, 0, 0, .42);
}

.program-image {
  aspect-ratio: 1.18;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 16px;
  background: #080c13;
}

.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.25) brightness(.68);
  transition: transform .8s var(--ease-premium), filter .8s var(--ease-premium);
}

.program-card:hover img {
  transform: scale(1.045);
  filter: grayscale(70%) contrast(1.2) brightness(.78);
}

.program-card > span,
.flip-front > span,
.story-card small {
  color: #d69a61;
  font-size: .75rem;
  font-weight: 800;
}

.program-card h3,
.flip-card h3,
.story-card h3,
.booking h2 {
  margin: 12px 0 10px;
  color: #f8fbff;
  font-size: clamp(1.35rem, 1.1rem + .9vw, 2rem) !important;
  line-height: 1.45;
  letter-spacing: 0;
}

.program-card p,
.flip-card p,
.story-card p,
.booking p {
  margin: 0;
  color: rgba(238, 244, 255, .68);
  line-height: 2;
}

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

.flip-card {
  min-height: 310px;
  perspective: 1400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 310px;
  transform-style: preserve-3d;
  transition: transform .78s var(--ease-premium);
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 14%, rgba(184, 121, 58, .16), transparent 34%),
    linear-gradient(135deg, rgba(15, 23, 42, .72), rgba(8, 12, 19, .5));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: var(--glass-shadow);
}

.flip-back {
  transform: rotateY(180deg);
  border-color: rgba(184, 121, 58, .32);
}

.stories {
  overflow: hidden;
}

.drag-hint {
  align-self: end;
  color: rgba(238, 244, 255, .45);
  font-size: .8rem;
}

.story-container {
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}

.story-container::-webkit-scrollbar {
  display: none;
}

.story-track {
  width: max-content;
  display: flex;
  gap: 18px;
  padding-inline: max(22px, calc((100vw - 1200px) / 2));
}

.story-track.dragging {
  cursor: grabbing;
}

.story-card {
  width: min(380px, 82vw);
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  background: var(--glass-bg-deep);
  box-shadow: var(--glass-shadow);
}

.story-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.24) brightness(.64);
}

.story-card div {
  padding: 22px;
}

.booking {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.booking-form {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(184, 121, 58, .22);
  border-radius: 22px;
  background: var(--glass-bg-deep);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

.booking-form label {
  color: rgba(238, 244, 255, .76);
  font-size: .9rem;
  font-weight: 700;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  outline: none;
  background: transparent;
  color: #fff;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: rgba(184, 121, 58, .72);
}

.sticky-consult {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 720px;
  margin-inline: auto;
  padding: 12px 14px;
  border: 1px solid rgba(184, 121, 58, .24);
  border-radius: 18px;
  background: rgba(8, 12, 19, .76);
  color: rgba(238, 244, 255, .72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .36);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  transform: translateY(140%);
  transition: transform .55s var(--ease-premium);
}

.sticky-consult.visible {
  transform: translateY(0);
}

.sticky-consult a {
  flex: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(180deg, rgba(184, 121, 58, .95), rgba(112, 69, 37, .86));
  color: #fff8ef;
  font-weight: 800;
}

@media (max-width: 980px) {
  .landing-stats,
  .program-grid,
  .flip-grid,
  .booking {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .landing-stats,
  .program-grid,
  .flip-grid,
  .booking {
    grid-template-columns: 1fr;
  }

  .sticky-consult {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }
}
