:root {
  --orange: #e68a26;
  --orange-deep: #c96a10;
  --red: #e65b26;
  --black: #050505;
  --ink: #0b0b0b;
  --paper: #f0ece4;
  --muted: rgba(240, 236, 228, .62);
  --line: rgba(240, 236, 228, .12);
  --panel: rgba(255, 255, 255, .045);
  --head: "Sora", sans-serif;
  --body: "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--black);
  color: var(--paper);
  font-family: var(--body);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 42px;
  transition: background .25s ease, padding .25s ease, border-color .25s ease;
}
.site-header.scrolled {
  padding-block: 12px;
  background: rgba(5, 5, 5, .86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(22px);
}
.brand img { height: 44px; }
.desktop-nav { display: flex; align-items: center; gap: 28px; }
.desktop-nav a, .nav-panel a {
  font-family: var(--head);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}
.desktop-nav a:hover, .nav-panel a:hover { color: var(--paper); }
.nav-cta {
  color: #000 !important;
  background: var(--orange);
  padding: 12px 18px;
  border-radius: 999px;
}
.nav-services { position: relative; }
.nav-panel {
  position: absolute;
  top: 26px;
  left: -18px;
  display: grid;
  gap: 12px;
  width: 220px;
  padding: 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  background: rgba(8, 8, 8, .96);
  border: 1px solid var(--line);
  transition: .2s ease;
}
.nav-services:hover .nav-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.menu-btn { display: none; background: none; border: 0; width: 42px; height: 42px; }
.menu-btn span { display: block; height: 2px; background: var(--paper); margin: 7px; }
.mobile-nav { display: none; }

.hero {
  min-height: 96svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 130px 42px 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.hero-stage {
  position: absolute;
  inset: 0;
  background: #050505;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .32;
  filter: grayscale(1) contrast(1.18) brightness(.72);
}
.hero-motion {
  position: absolute;
  inset: 0;
  opacity: .9;
  background:
    radial-gradient(circle at 50% 45%, rgba(230, 138, 38, .22), transparent 23%),
    radial-gradient(circle at 50% 50%, transparent 0 24%, rgba(230, 138, 38, .18) 25%, transparent 26%),
    linear-gradient(90deg, transparent 0 49.9%, rgba(230, 138, 38, .18) 50%, transparent 50.1%),
    linear-gradient(0deg, transparent 0 49.9%, rgba(230, 138, 38, .08) 50%, transparent 50.1%);
  animation: heroPulse 8s ease-in-out infinite;
}
.hero-motion span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(84vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 138, 38, .2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(var(--s));
  animation: heroOrbit var(--d) linear infinite;
}
.hero-motion span:nth-child(1) { --s: .56; --d: 18s; }
.hero-motion span:nth-child(2) { --s: .78; --d: 26s; border-style: dashed; }
.hero-motion span:nth-child(3) { --s: 1; --d: 34s; }
.hero-motion span:nth-child(4) { --s: 1.22; --d: 42s; border-color: rgba(240, 236, 228, .08); }
.hero-motion span::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  top: 10%;
  left: 50%;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 30px rgba(230, 138, 38, .65);
}
.hero-noise {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 5, 5, .38), rgba(5, 5, 5, .78)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.028) 0 1px, transparent 1px 78px);
}
@keyframes heroOrbit {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}
@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: .72; }
  50% { transform: scale(1.06); opacity: 1; }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin-inline: auto;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--orange);
  font-family: var(--head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: var(--head);
  letter-spacing: 0;
}
.hero h1 {
  max-width: 1120px;
  margin: 0;
  font-size: clamp(42px, 8.2vw, 124px);
  line-height: .92;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 34px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
}
.btn.primary { background: var(--orange); color: #000; border-color: var(--orange); }
.btn.ghost { background: transparent; color: var(--paper); }
.btn.danger { background: #341010; color: #ffb3a8; border-color: #6d2525; }
.btn:hover { transform: translateY(-2px); }
.section {
  padding: 118px 42px;
  border-top: 1px solid var(--line);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: 9vw;
}
.section h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1;
}
.long-copy {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.7;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-tile {
  min-height: 250px;
  padding: 28px;
  background: #070707;
  transition: background .25s ease, transform .25s ease;
}
.service-tile:hover { background: #101010; transform: translateY(-5px); }
.service-tile span {
  color: var(--orange);
  font-family: var(--head);
  font-weight: 800;
}
.service-tile h3 { margin: 55px 0 12px; font-size: 22px; }
.service-tile p { color: var(--muted); line-height: 1.65; margin: 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 44px;
}
.text-link { color: var(--orange); font-family: var(--head); font-weight: 800; text-transform: uppercase; font-size: 12px; }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project-card { display: none; }
.project-card.visible { display: block; }
.project-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2, .8, .2, 1), filter .7s ease;
}
.project-card:hover img { transform: scale(1.07); filter: saturate(1.2); }
.project-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  background: rgba(0, 0, 0, .7);
  color: var(--paper);
  font-size: 11px;
  text-transform: uppercase;
}
.project-copy { padding: 18px 0 0; }
.project-copy span { color: var(--orange); font-size: 12px; text-transform: uppercase; }
.project-copy h3 { margin: 8px 0; font-size: 26px; }
.project-copy p { color: var(--muted); line-height: 1.55; margin: 0; }
.center { text-align: center; margin-top: 38px; }
.method-list { margin-top: 48px; border-top: 1px solid var(--line); }
.method-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--head);
  font-size: clamp(24px, 4vw, 58px);
}
.method-row span { color: var(--orange); font-size: 16px; padding-top: 8px; }
.contact {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 7vw;
  background: linear-gradient(135deg, rgba(230, 138, 38, .12), transparent 40%), #060606;
}
.contact p { color: var(--muted); font-size: 18px; line-height: 1.6; }
.contact-form {
  display: grid;
  gap: 12px;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .35);
  color: var(--paper);
  padding: 15px 16px;
  outline: none;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--orange); }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 42px;
  padding: 54px 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}
.footer img { height: 44px; margin-bottom: 14px; }
.footer p { max-width: 420px; line-height: 1.6; }
.footer div:last-child { display: grid; gap: 10px; align-content: start; }

.project-page { padding-top: 78px; overflow: hidden; }
.project-hero {
  padding: 22px 42px 0;
}
.project-hero-media {
  width: 100%;
  height: min(76vh, 780px);
  overflow: hidden;
  background: #111;
}
.project-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: caseHeroIn 1.2s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes caseHeroIn {
  from { opacity: 0; transform: scale(1.12); filter: blur(8px); }
  to { opacity: 1; transform: scale(1.03); filter: blur(0); }
}
.project-title-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4vw;
  align-items: end;
  padding: 72px 0 62px;
  border-bottom: 1px solid var(--line);
}
.project-title-row h1 {
  margin: 0;
  font-size: clamp(58px, 12vw, 180px);
  line-height: .9;
  text-transform: uppercase;
}
.case-intro {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 7vw;
  padding: 96px 42px;
  border-bottom: 1px solid var(--line);
}
.case-about > span,
.case-specs > span {
  display: block;
  margin-bottom: 16px;
  color: var(--orange);
  font-family: var(--head);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.case-about h2,
.case-specs h2 {
  margin: 0 0 28px;
  font-size: clamp(30px, 4vw, 62px);
}
.case-about p {
  max-width: 880px;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.58;
}
.case-specs dl {
  display: grid;
  gap: 26px;
  margin: 0;
}
.case-specs div {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.case-specs dt {
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 14px;
}
.case-specs dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--head);
  font-size: 22px;
  font-weight: 700;
}
.case-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 18px 42px 96px;
}
.case-frame {
  margin: 0;
  background: #111;
  overflow: hidden;
}
.case-frame.full {
  grid-column: 1 / -1;
}
.case-frame.inset {
  grid-column: 1 / -1;
  margin: 7vw 11vw;
}
.case-frame img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2, .8, .2, 1);
}
.case-frame.full img {
  max-height: 92vh;
}
.case-frame.half img {
  aspect-ratio: 4 / 5;
}
.case-frame:hover img {
  transform: scale(1.04);
}
.project-body {
  padding: 0 42px 100px;
  border-top: 1px solid var(--line);
}
.project-body-label {
  max-width: 980px;
  padding: 84px 0 18px;
}
.project-body-label h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 76px);
  line-height: 1;
}
.block-text { max-width: 860px; padding: 64px 0; }
.block-text h2, .block-gallery h2 { font-size: clamp(30px, 4vw, 62px); }
.block-text p { color: var(--muted); font-size: 20px; line-height: 1.75; }
.block-gallery { padding: 60px 0; }
.block-gallery > div {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.block-gallery img, .block-image img {
  width: 100%;
  background: #111;
}
.block-image { padding: 44px 0; }
blockquote {
  margin: 70px 0;
  max-width: 1000px;
  color: var(--orange);
  font-family: var(--head);
  font-size: clamp(32px, 5vw, 80px);
  line-height: 1.05;
}
.block-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 60px 0;
}
.block-specs div { background: #080808; padding: 24px; }
.block-specs span { color: var(--muted); display: block; margin-bottom: 10px; }
.project-next-cta {
  margin: 0 42px 110px;
  padding: 96px 7vw;
  text-align: center;
  background: linear-gradient(135deg, rgba(230, 138, 38, .9), rgba(230, 91, 38, .88));
  color: #fff;
}
.project-next-cta h2 {
  max-width: 980px;
  margin: 0 auto;
  font-size: clamp(36px, 6vw, 92px);
  line-height: .98;
  text-transform: uppercase;
}
.project-next-cta p {
  max-width: 640px;
  margin: 24px auto 32px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.6;
}
.project-next-cta .btn.primary {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

.admin-body { background: #080808; }
.login-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-card {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 34px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}
.login-card img { height: 48px; }
.login-card h1 { margin: 12px 0; }
.error { color: #ff9f90; }
.cms-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 230px 320px 1fr;
}
.cms-sidebar, .cms-list, .cms-editor {
  padding: 24px;
  border-right: 1px solid var(--line);
}
.cms-sidebar img { height: 44px; margin-bottom: 30px; }
.cms-sidebar { display: grid; align-content: start; gap: 14px; }
.cms-list h1 { margin-top: 0; }
.cms-item {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  margin-bottom: 10px;
}
.cms-item.active { border-color: var(--orange); }
.cms-editor form { display: grid; gap: 16px; }
.cms-editor label { display: grid; gap: 7px; color: var(--muted); font-size: 13px; }
.cms-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.checks { display: flex; gap: 18px; }
.checks label { display: flex; align-items: center; gap: 8px; }
.checks input { width: auto; }
.upload-box {
  border: 1px dashed rgba(230, 138, 38, .5);
  padding: 18px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}
.blocks-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.blocks-head h2 { font-size: 22px; }
.blocks-head button, .block-card button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  padding: 8px 10px;
  cursor: pointer;
}
.block-card {
  border: 1px solid var(--line);
  padding: 16px;
  margin-bottom: 12px;
  display: grid;
  gap: 10px;
}
.block-card header { display: flex; align-items: center; justify-content: space-between; color: var(--orange); }
.cms-actions { display: flex; gap: 12px; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .menu-btn { display: block; }
  .mobile-nav.open {
    display: grid;
    position: fixed;
    z-index: 45;
    inset: 72px 16px auto;
    padding: 20px;
    background: rgba(5, 5, 5, .96);
    border: 1px solid var(--line);
    gap: 16px;
  }
  .split, .contact { grid-template-columns: 1fr; }
  .service-grid, .project-grid { grid-template-columns: 1fr 1fr; }
  .project-title-row, .case-intro { grid-template-columns: 1fr; }
  .case-showcase { grid-template-columns: 1fr; }
  .case-frame.half, .case-frame.inset { grid-column: 1 / -1; margin: 0; }
  .cms-shell { grid-template-columns: 1fr; }
  .cms-sidebar, .cms-list, .cms-editor { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .site-header, .hero, .section, .project-hero, .project-body, .footer { padding-left: 20px; padding-right: 20px; }
  .case-intro, .case-showcase { padding-left: 20px; padding-right: 20px; }
  .project-title-row { padding: 46px 0 42px; }
  .project-hero-media { height: 58vh; }
  .case-frame img { min-height: 260px; }
  .project-next-cta { margin-left: 20px; margin-right: 20px; padding: 64px 22px; }
  .brand-field { inset: 15vh -20vw 25vh 10vw; opacity: .38; }
  .hero h1 { font-size: 44px; }
  .service-grid, .project-grid, .block-gallery > div, .block-specs { grid-template-columns: 1fr; }
  .section-head, .footer { display: block; }
  .method-row { grid-template-columns: 62px 1fr; }
  .cms-row { grid-template-columns: 1fr; }
  .blocks-head { display: grid; }
}
