:root {
  --color-background: #080808;
  --color-surface: #111111;
  --color-surface-deep: #0b0b0c;
  --color-glass: rgba(255, 255, 255, 0.06);
  --color-glass-strong: rgba(255, 255, 255, 0.1);
  --color-gold: #d4af37;
  --color-gold-soft: #b9972f;
  --color-text: #f5f2e9;
  --color-muted: #aaa69c;
  --color-steel: #777f88;
  --color-border: rgba(255, 255, 255, 0.12);
  --bg: var(--color-background);
  --bg-elevated: var(--color-surface);
  --bg-soft: #151515;
  --surface: var(--color-glass);
  --surface-strong: var(--color-glass-strong);
  --text: var(--color-text);
  --muted: var(--color-muted);
  --faint: var(--color-steel);
  --line: var(--color-border);
  --accent: var(--color-gold);
  --accent-soft: rgba(212, 175, 55, 0.14);
  --accent-line: rgba(212, 175, 55, 0.34);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.52);
  --radius: 8px;
  --max-width: 1180px;
  --hero-shift: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(212, 175, 55, 0.09), transparent 36rem),
    var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

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

svg {
  display: block;
  width: 100%;
  height: 100%;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(96px, 13vw, 172px) 0;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025), transparent);
  opacity: 0.55;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(3, 5, 10, 0.62);
  backdrop-filter: blur(22px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.scrolled {
  border-color: var(--line);
  background: rgba(3, 5, 10, 0.9);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.03)),
    rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.92rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.logo-text {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.98rem;
  letter-spacing: 0;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 13px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 7px;
  left: 13px;
  height: 1px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.is-active {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 0 18px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  background: rgba(212, 175, 55, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
  background: rgba(212, 175, 55, 0.16);
  box-shadow: 0 14px 34px rgba(212, 175, 55, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle.is-active span:nth-child(2) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(3) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(4) {
  transform: translateY(-5px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  contain: paint;
  padding: 128px 0 80px;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28vh;
  z-index: -1;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(245deg, rgba(212, 175, 55, 0.10), transparent 30%),
    linear-gradient(180deg, #15110a 0%, var(--bg) 72%);
}

.hero-atmosphere::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 76px 76px;
  opacity: 0.26;
  transform: perspective(900px) rotateX(58deg) translateY(calc(var(--hero-shift) * 0.35));
  transform-origin: center top;
}

.hero-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.12), transparent),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%, transparent 68%, rgba(0, 0, 0, 0.45));
  opacity: 0.68;
  animation: cinematicSweep 12s ease-in-out infinite alternate;
}

.hero-plane {
  position: absolute;
  display: block;
  width: 54vw;
  height: 32vw;
  min-width: 520px;
  min-height: 280px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.13), rgba(255, 255, 255, 0.025));
  filter: blur(0.2px);
  transform: rotate(-12deg) skewX(-10deg);
  opacity: 0.42;
}

.hero-plane-one {
  top: 10%;
  right: -18%;
  animation: planeDrift 16s ease-in-out infinite alternate;
}

.hero-plane-two {
  bottom: 0;
  left: -22%;
  transform: rotate(14deg) skewX(11deg);
  opacity: 0.28;
  animation: planeDriftReverse 18s ease-in-out infinite alternate;
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.12), transparent);
  opacity: 0.18;
  transform: translateY(-50%);
  animation: scanline 9s linear infinite;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  align-items: center;
  gap: clamp(46px, 6vw, 86px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: "Sora", "Inter", sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 28px;
  font-size: clamp(3.65rem, 8.9vw, 8.45rem);
  line-height: 0.89;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 5.7vw, 5.35rem);
  line-height: 0.97;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.18;
}

.hero-text {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
}

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

.btn {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.36), transparent);
  opacity: 0;
  transform: translateX(-110%);
  transition: opacity 180ms ease, transform 500ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:hover::before,
.btn:focus-visible::before {
  opacity: 1;
  transform: translateX(110%);
}

.btn-primary {
  background: var(--accent);
  color: #03101a;
  box-shadow: 0 18px 48px rgba(212, 175, 55, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 24px 64px rgba(212, 175, 55, 0.28);
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-line);
  background: rgba(212, 175, 55, 0.08);
}

.hero-showcase {
  position: relative;
  transform: translateY(calc(var(--hero-shift) * -0.22));
}

.showcase-topline,
.hero-proof {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.showcase-topline {
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.showcase-topline span:last-child {
  text-align: right;
}

.showcase-window {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(5, 8, 15, 0.82);
  box-shadow: var(--shadow);
}

.showcase-window::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(212, 175, 55, 0.18), transparent 36%, rgba(255, 255, 255, 0.04));
  opacity: 0.8;
}

.window-chrome {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  padding: 16px;
}

.window-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.62);
}

.site-mockup {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-height: 440px;
  padding: clamp(20px, 4vw, 34px);
}

.mockup-nav,
.mockup-hero,
.mockup-grid span {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.mockup-nav {
  width: 100%;
  height: 44px;
}

.mockup-hero {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 210px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.22), transparent 60%),
    rgba(255, 255, 255, 0.055);
}

.mockup-hero span,
.mockup-hero strong,
.mockup-hero em,
.mockup-grid span::before {
  display: block;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
}

.mockup-hero span {
  width: 74px;
  height: 8px;
  opacity: 0.62;
}

.mockup-hero strong {
  width: min(92%, 360px);
  height: 22px;
}

.mockup-hero em {
  width: min(64%, 260px);
  height: 10px;
  opacity: 0.45;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mockup-grid span {
  position: relative;
  min-height: 86px;
}

.mockup-grid span::before {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  height: 8px;
  opacity: 0.35;
}

.hero-proof {
  margin-top: 12px;
}

.hero-proof div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

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

.hero-proof strong {
  margin-bottom: 4px;
  font-family: "Sora", "Inter", sans-serif;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section-heading {
  max-width: 960px;
  margin-bottom: clamp(38px, 6vw, 72px);
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.services-section {
  background: linear-gradient(180deg, var(--bg), #050913 50%, var(--bg));
}

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

.service-card,
.process-step,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.025);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.22);
}

.service-card {
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -40%;
  width: 80%;
  height: 80%;
  background: linear-gradient(135deg, transparent, rgba(212, 175, 55, 0.16));
  transform: rotate(22deg);
  opacity: 0;
  transition: opacity 220ms ease, transform 220ms ease;
}

.service-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 28px 86px rgba(0, 0, 0, 0.34);
  transform: translateY(-8px);
}

.service-card:hover::after {
  opacity: 1;
  transform: rotate(18deg) translate(-10%, -8%);
}

.service-icon {
  position: relative;
  z-index: 1;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.service-card h3,
.service-card p {
  position: relative;
  z-index: 1;
}

.service-card p,
.process-step p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
}

.process-section {
  overflow: hidden;
}

.process-section::after {
  content: "";
  position: absolute;
  top: 38%;
  right: 0;
  left: 0;
  height: 1px;
  z-index: -1;
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  min-height: 260px;
  padding: 24px;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.process-step:hover {
  border-color: var(--accent-line);
  background: rgba(212, 175, 55, 0.07);
  transform: translateY(-6px);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--accent);
  font-family: "Sora", "Inter", sans-serif;
  font-weight: 900;
}

.portfolio-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, 0.08), transparent 28rem),
    #070707;
}

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

.project-card {
  position: relative;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.project-featured {
  grid-row: span 2;
  min-height: 1058px;
}

.project-card:hover {
  border-color: var(--accent-line);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.4);
  transform: translateY(-8px);
}

.project-visual {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent 55%),
    #0f0f10;
  transition: transform 500ms ease;
}

.project-card:hover .project-visual {
  transform: scale(1.035);
}

.project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.44)),
    linear-gradient(135deg, rgba(212, 175, 55, 0.16), transparent 42%);
  opacity: 0.82;
}

.project-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.92) contrast(1.03) brightness(0.78);
  transform: scale(1.01);
}

.project-overlay {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(8, 8, 8, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.project-overlay span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-overlay p {
  max-width: 460px;
  margin-bottom: 18px;
  color: var(--muted);
}

.project-overlay a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.project-overlay a::after {
  content: "+";
  color: var(--accent);
}

.project-overlay a:hover,
.project-overlay a:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}

.about-section {
  border-block: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(212, 175, 55, 0.11), transparent 34%),
    rgba(255, 255, 255, 0.018);
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(38px, 7vw, 92px);
  align-items: start;
}

.about-copy {
  max-width: 640px;
  font-size: clamp(1.04rem, 1.55vw, 1.22rem);
}

.about-points {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.about-points span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
}

.about-points span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}

.contact-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(212, 175, 55, 0.08), transparent 26rem),
    linear-gradient(180deg, var(--bg), #101010);
}

.contact-methods {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}

.contact-methods a,
.footer-links a {
  color: var(--text);
  font-weight: 800;
  transition: color 180ms ease;
}

.contact-methods a {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
}

.contact-methods a::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.45);
}

.contact-methods a:hover,
.contact-methods a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
}

.form-header,
.field,
.form-status,
.contact-form .btn,
.form-note {
  grid-column: 1 / -1;
}

.form-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 4px;
}

.form-header span {
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
}

.form-header p,
.form-note {
  margin: 0;
  color: var(--faint);
  font-size: 0.86rem;
  font-weight: 700;
}

.field.two-column {
  grid-column: span 1;
}

.field {
  display: grid;
  gap: 8px;
}

.contact-form label {
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  outline: none;
  padding: 15px 16px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #69758a;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-line);
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.08);
}

.contact-form input.is-invalid,
.contact-form select.is-invalid,
.contact-form textarea.is-invalid {
  border-color: rgba(255, 116, 116, 0.72);
  box-shadow: 0 0 0 4px rgba(255, 116, 116, 0.08);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 21px) 54%,
    calc(100% - 15px) 54%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .btn {
  width: 100%;
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #ff8b8b;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  background: var(--bg);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-logo {
  margin-bottom: 12px;
}

.site-footer p,
.site-footer a:not(.logo) {
  margin: 0;
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
  text-align: right;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes cinematicSweep {
  from {
    transform: translateX(-8%);
  }

  to {
    transform: translateX(8%);
  }
}

@keyframes planeDrift {
  from {
    transform: rotate(-12deg) skewX(-10deg) translate3d(0, 0, 0);
  }

  to {
    transform: rotate(-10deg) skewX(-10deg) translate3d(-26px, 24px, 0);
  }
}

@keyframes planeDriftReverse {
  from {
    transform: rotate(14deg) skewX(11deg) translate3d(0, 0, 0);
  }

  to {
    transform: rotate(12deg) skewX(11deg) translate3d(28px, -18px, 0);
  }
}

@keyframes scanline {
  from {
    transform: translateY(-70%);
  }

  to {
    transform: translateY(70%);
  }
}

@media (max-width: 1020px) {
  .hero {
    padding-top: 118px;
  }

  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .process-section::after {
    display: none;
  }

  .project-featured {
    grid-row: span 1;
    min-height: 560px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .nav {
    min-height: 70px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    top: 78px;
    right: 14px;
    left: 14px;
    display: grid;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(5, 8, 15, 0.98);
    box-shadow: var(--shadow);
    padding: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .nav-menu {
    display: grid;
    gap: 2px;
  }

  .nav-menu a,
  .nav-cta {
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .nav-menu a::after {
    right: 35%;
    left: 35%;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 72px;
  }

  .hero-inner {
    gap: 34px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5.35rem);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.75rem);
  }

  .hero-text {
    margin-bottom: 28px;
  }

  .hero-actions,
  .showcase-topline,
  .hero-proof,
  .services-grid,
  .process-list,
  .portfolio-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .showcase-topline span:last-child {
    text-align: left;
  }

  .site-mockup {
    min-height: 250px;
    gap: 12px;
  }

  .mockup-hero {
    min-height: 128px;
    padding: 18px;
  }

  .mockup-nav {
    height: 34px;
  }

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

  .mockup-grid span {
    min-height: 62px;
  }

  .hero-proof {
    display: none;
  }

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

  .project-card,
  .project-featured {
    min-height: 470px;
  }

  .form-header {
    display: grid;
    align-items: start;
  }

  .field.two-column {
    grid-column: 1 / -1;
  }

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

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .logo-text {
    font-size: 0.92rem;
  }

  .section {
    padding: 88px 0;
  }

  .site-mockup {
    min-height: 230px;
    padding: 16px;
  }

  .project-card,
  .project-featured {
    min-height: 430px;
  }
}

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

  .hero-showcase {
    transform: none;
  }

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