:root {
  --bg: #080808;
  --card: #141414;
  --card-2: #1c1c1c;
  --text: #f5f5f0;
  --muted: #a7a7a0;
  --yellow: #ffd21a;
  --orange: #f36b21;
  --red: #d9311f;
  --border: #2a2a2a;
  --hero-gradient: radial-gradient(circle at 70% 30%, #ffd21a 0%, #f36b21 35%, #d9311f 65%, #111111 100%);
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 14px;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

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

button {
  border: 0;
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.78);
  border-bottom: 1px solid rgba(42, 42, 42, 0.76);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.brand-dot {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--red));
  box-shadow: 0 0 30px rgba(255, 210, 26, 0.38);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav-menu a {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(255, 210, 26, 0.4);
  border-radius: 999px;
  background: var(--yellow);
  color: #121212 !important;
}

.nav-cta:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  transition: transform 180ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  padding: 18px 0 0;
  scroll-margin-top: 88px;
}

.hero-shell {
  display: grid;
  grid-template-columns: 0.5fr 1.8fr 0.8fr;
  grid-template-areas: "intro title side";
  gap: 26px;
  min-height: min(700px, calc(100svh - 130px));
  padding: clamp(28px, 5vw, 58px);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--hero-gradient);
  background-size: 150% 150%;
  overflow: hidden;
  position: relative;
  animation: gradientDrift 18s var(--ease-premium) infinite alternate;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.58), rgba(8, 8, 8, 0.12) 52%, rgba(8, 8, 8, 0.48)),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.2), transparent 42%);
  pointer-events: none;
}

.hero-intro,
.hero-title,
.hero-side {
  position: relative;
  z-index: 1;
}

/* HERO LOAD ANIMATION */
.hero-load-item,
.hero-actions,
.hero-portrait {
  opacity: 0;
  transform: translateY(32px);
}

.hero-title {
  overflow: hidden;
}

.hero-title h1 {
  transform: translateY(105%);
}

.page-loaded .hero-intro {
  animation: heroFadeUp 820ms var(--ease-premium) 90ms forwards;
}

.page-loaded .hero-title {
  animation: heroFadeUp 820ms var(--ease-premium) 220ms forwards;
}

.page-loaded .hero-title h1 {
  animation: heroTextReveal 980ms var(--ease-premium) 240ms forwards;
}

.page-loaded .hero-description {
  animation: heroFadeUp 820ms var(--ease-premium) 430ms forwards;
}

.page-loaded .hero-actions {
  animation: heroFadeUp 820ms var(--ease-premium) 560ms forwards;
}

.page-loaded .hero-portrait {
  animation: heroScaleIn 980ms var(--ease-premium) 320ms forwards;
}

.hero-intro {
  grid-area: intro;
  align-self: start;
}

.hero-intro p,
.section-heading p,
.section-kicker p,
.contact-label {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-intro span {
  display: block;
  max-width: 190px;
  color: rgba(245, 245, 240, 0.74);
  font-size: 0.92rem;
}

.hero-title {
  grid-area: title;
}

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

h1 {
  margin-bottom: 0;
  max-width: 720px;
  font-size: 4.6rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin-bottom: 0;
  font-size: 4.2rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.hero-side {
  grid-area: side;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.hero-side p {
  margin-bottom: 0;
  color: rgba(245, 245, 240, 0.84);
  font-size: 0.98rem;
}

.portrait-wrap {
  aspect-ratio: 4 / 5;
  min-height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(8, 8, 8, 0.22);
  overflow: hidden;
  transform: translate3d(0, var(--parallax-y, 0), 0);
  will-change: transform;
}

.portrait-wrap img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1) contrast(1.08);
  mix-blend-mode: luminosity;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  transition: transform 280ms var(--ease-premium), background 280ms ease, color 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

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

.btn:focus-visible,
.tab-button:focus-visible,
.nav-menu a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

.btn-dark {
  border: 1px solid rgba(245, 245, 240, 0.22);
  background: #080808;
  color: var(--text);
}

.btn-light {
  background: var(--yellow);
  color: #121212;
}

.btn-light:hover {
  background: #fff2a3;
}

.btn-outline {
  border: 1px solid rgba(245, 245, 240, 0.28);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--text);
  background: rgba(245, 245, 240, 0.1);
}

.capability-strip {
  padding: 18px 0 0;
}

.strip-track {
  display: flex;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #0d0d0d;
  overflow-x: auto;
}

.strip-track span {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.strip-track span:first-child {
  background: transparent;
  color: var(--text);
}

.section {
  padding: 96px 0;
  scroll-margin-top: 88px;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 56px;
}

.about-content {
  display: grid;
  gap: 28px;
}

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

.about-copy p,
.section-heading,
.project-card p,
.service-card p,
.contact-shell p,
.footer-inner p {
  color: var(--muted);
}

.badge-list,
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-list span,
.project-tags span {
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 800;
}

.badge-list span {
  padding: 11px 14px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.32fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading p {
  align-self: start;
}

.section-heading h2 {
  max-width: 980px;
}

.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.tab-button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  font-weight: 900;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.tab-button:hover,
.tab-button.is-active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111111;
  transform: translateY(-1px);
}

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

.project-card,
.service-card,
.process-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  transition: transform 320ms var(--ease-premium), border-color 320ms ease, background 320ms ease, box-shadow 320ms ease;
}

/* CARD HOVER EFFECT */
.project-card:hover,
.service-card:hover,
.process-card:hover {
  border-color: rgba(255, 210, 26, 0.72);
  background: var(--card-2);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
  transform: translateY(-6px);
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 14px;
  overflow: hidden;
  position: relative;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -38% 20%;
  height: 210px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 210, 26, 0.22), rgba(243, 107, 33, 0.08), transparent 66%);
  pointer-events: none;
  transition: transform 200ms ease, opacity 200ms ease;
}

.project-card:hover::before {
  opacity: 0.92;
  transform: scale(1.1);
}

.project-media {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 260px);
  margin: 0 auto 20px;
  place-items: stretch;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 210, 26, 0.24), rgba(243, 107, 33, 0.16), rgba(217, 49, 31, 0.08)),
    radial-gradient(circle at 72% 28%, rgba(255, 210, 26, 0.42), transparent 34%),
    #101010;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 8px rgba(8, 8, 8, 0.72),
    0 18px 60px rgba(0, 0, 0, 0.26);
}

.project-media.vertical {
  aspect-ratio: 9 / 16;
}

.project-media.landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
}

.project-media::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.11) 42%, transparent 46%),
    radial-gradient(circle at 28% 74%, rgba(243, 107, 33, 0.28), transparent 30%);
  transform: scale(1);
  transition: transform 320ms var(--ease-premium), opacity 320ms ease;
}

.project-media::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  z-index: 2;
  width: 54px;
  height: 5px;
  border-radius: 999px;
  background: rgba(245, 245, 240, 0.2);
  transform: translateX(-50%);
}

.project-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 340ms var(--ease-premium), filter 340ms ease;
}

.project-media-placeholder {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 100%;
  padding: 26px 20px;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.05), rgba(8, 8, 8, 0.72)),
    radial-gradient(circle at 62% 18%, rgba(255, 210, 26, 0.44), transparent 28%),
    linear-gradient(155deg, #161616, #2c130e 46%, #0d0d0d);
  transform: scale(1.01);
  transition: transform 340ms var(--ease-premium), filter 340ms ease;
}

.project-media-placeholder span,
.project-media-placeholder strong {
  position: relative;
  z-index: 1;
}

.project-media-placeholder span {
  width: max-content;
  max-width: 100%;
  color: rgba(245, 245, 240, 0.68);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-media-placeholder strong {
  color: var(--text);
  font-size: 1.5rem;
  line-height: 0.98;
}

.project-category {
  position: relative;
  z-index: 1;
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.62);
  color: var(--yellow);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.project-card:hover .project-media::before {
  opacity: 0.95;
  transform: scale(1.08);
}

.project-card:hover .project-media img,
.project-card:hover .project-media-placeholder {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.045);
}

.project-card:hover .project-link {
  color: var(--yellow);
}

.project-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.project-platform {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.project-platform strong {
  color: var(--yellow);
  font-size: 0.7rem;
  text-transform: uppercase;
}

.project-card h3,
.project-card p,
.project-tags,
.project-link {
  position: relative;
  z-index: 1;
}

.project-card h3 {
  margin-top: 0;
  max-width: 560px;
  font-size: 1.45rem;
  line-height: 1.08;
}

.project-card p {
  max-width: 620px;
  margin-bottom: 12px;
}

.project-tags {
  margin-top: auto;
  margin-bottom: 22px;
}

.project-tags span {
  padding: 7px 10px;
  background: rgba(245, 245, 240, 0.05);
}

.project-link {
  width: max-content;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 280ms ease, transform 280ms var(--ease-premium);
}

.project-link:hover {
  color: var(--yellow);
  transform: translateX(3px);
}

/* PROJECT CARD VERTICAL MEDIA LAYOUT */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  padding: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--yellow);
}

.project-media {
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at 70% 20%, var(--yellow), var(--orange), var(--red));
  position: relative;
}

.project-media-trigger {
  display: grid;
  margin: 0 auto 20px;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.project-media-inline {
  cursor: default;
}

.project-media.vertical {
  aspect-ratio: 9 / 16;
}

.project-media.landscape {
  aspect-ratio: 16 / 9;
}

.project-media img,
.project-media video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.project-media-placeholder {
  grid-area: 1 / 1;
}

.project-card:hover .project-media img,
.project-card:hover .project-media video {
  transform: scale(1.04);
}

.project-inline-video {
  position: relative;
  z-index: 2;
  background: transparent;
}

.project-card:hover .project-inline-video {
  transform: none;
}

.project-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.74);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  transform: translate(-50%, -50%);
  transition: background 280ms ease, transform 280ms var(--ease-premium), border-color 280ms ease;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.project-play i,
.project-link-play {
  display: block;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid currentColor;
}

.project-play i {
  margin-left: 4px;
  color: var(--yellow);
}

.project-media-trigger:hover .project-play,
.project-media-trigger:focus-visible .project-play {
  border-color: var(--yellow);
  background: rgba(8, 8, 8, 0.9);
  transform: translate(-50%, -50%) scale(1.08);
}

.project-media-inline.is-playing .project-play {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
}

.project-video-error {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  padding: 26px;
  place-content: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.96));
  color: var(--text);
  text-align: center;
}

.project-video-error strong {
  font-size: 1rem;
}

.project-video-error a {
  justify-self: center;
  padding: 10px 14px;
  border: 1px solid var(--yellow);
  border-radius: 12px;
  background: var(--yellow);
  color: #111111;
  font-size: 0.82rem;
  font-weight: 900;
}

.project-media-inline.has-video-error .project-inline-video,
.project-media-inline.has-video-error .project-play {
  display: none;
}

.project-media-inline.has-video-error .project-video-error {
  display: grid;
}

.project-title-link {
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  cursor: pointer;
  transition: color 240ms ease;
}

.project-title-link:hover {
  color: var(--yellow);
}

.project-actions {
  display: grid;
  gap: 11px;
}

.project-link {
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--yellow);
  border-radius: 14px;
  background: var(--yellow);
  color: #111111;
  cursor: pointer;
  transition: color 280ms ease, background 280ms ease, border-color 280ms ease, transform 280ms var(--ease-premium);
}

.project-card:hover .project-link,
.project-link:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #111111;
  transform: translateY(-2px);
}

.project-link-play {
  color: currentColor;
  transform: scale(0.72);
}

.project-media-trigger:focus-visible,
.project-title-link:focus-visible,
.project-link:focus-visible,
.video-modal-close:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 3px;
}

/* VIDEO PROJECT PLAYER */
.video-modal[hidden] {
  display: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  padding: 16px;
  place-items: center;
  opacity: 0;
  transition: opacity 260ms ease;
}

.video-modal.is-open {
  opacity: 1;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(10px);
}

.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 520px);
  max-height: calc(100dvh - 32px);
  padding: 14px;
  overflow-y: auto;
  border: 1px solid rgba(255, 210, 26, 0.32);
  border-radius: 24px;
  background: #101010;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.7);
  transform: translateY(18px) scale(0.98);
  transition: transform 280ms var(--ease-premium);
}

.video-modal.is-open .video-modal-dialog {
  transform: translateY(0) scale(1);
}

.video-modal-close {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 4;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.78);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.video-modal-close span {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-1px);
}

.video-player-shell {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #000000;
}

.video-player-shell.vertical {
  width: min(100%, calc(68dvh * 9 / 16));
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}

.video-player-shell.landscape {
  aspect-ratio: 16 / 9;
}

.video-player-shell iframe,
.video-player-shell video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
}

.video-modal-meta {
  padding: 18px 5px 5px;
}

.video-modal-meta span {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.video-modal-meta h2 {
  margin: 5px 0 12px;
  font-size: 1.35rem;
  line-height: 1.1;
}

@media (min-width: 1280px) {
  .project-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

.service-card,
.process-card {
  padding: 22px;
  min-height: 240px;
}

.service-card span,
.process-card span {
  display: inline-flex;
  margin-bottom: 40px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-card {
  min-height: 190px;
}

.process-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.08;
}

.contact-section {
  padding: 0 0 26px;
  scroll-margin-top: 88px;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 42px;
  align-items: end;
  min-height: 500px;
  padding: clamp(28px, 6vw, 68px);
  border-radius: var(--radius-lg);
  background: var(--hero-gradient);
  background-size: 150% 150%;
  overflow: hidden;
  position: relative;
  animation: gradientDrift 20s var(--ease-premium) infinite alternate-reverse;
}

.contact-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.72), rgba(8, 8, 8, 0.1) 58%, rgba(8, 8, 8, 0.42));
  pointer-events: none;
}

.contact-shell > * {
  position: relative;
  z-index: 1;
}

.contact-shell h2 {
  max-width: 820px;
  margin-bottom: 20px;
}

.contact-shell p:not(.contact-label) {
  max-width: 650px;
  color: rgba(245, 245, 240, 0.82);
}

.contact-shell .contact-note {
  max-width: 570px;
  margin: 24px 0 0;
  padding-left: 14px;
  border-left: 2px solid var(--yellow);
  color: rgba(245, 245, 240, 0.68);
  font-size: 0.84rem;
}

.contact-actions {
  display: grid;
  width: min(100%, 260px);
  justify-self: end;
  justify-content: flex-end;
}

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

.site-footer {
  padding: 34px 0 44px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}

.footer-inner strong {
  display: block;
  margin-bottom: 4px;
}

.footer-inner p {
  margin-bottom: 0;
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-links a {
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 220ms ease, text-decoration-color 220ms ease;
}

.footer-links a:hover {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: var(--yellow);
}

/* SCROLL REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 820ms var(--ease-premium), transform 820ms var(--ease-premium);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.project-card.reveal,
.service-card.reveal,
.process-card.reveal {
  transition:
    opacity 780ms var(--ease-premium),
    transform 780ms var(--ease-premium),
    border-color 300ms ease,
    background 300ms ease,
    box-shadow 300ms ease;
  transition-delay:
    var(--reveal-delay, 0ms),
    var(--reveal-delay, 0ms),
    0ms,
    0ms,
    0ms;
}

/* GRADIENT ANIMATION */
@keyframes gradientDrift {
  0% {
    background-position: 42% 42%;
  }

  100% {
    background-position: 64% 58%;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTextReveal {
  from {
    transform: translateY(105%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes heroScaleIn {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translate3d(0, var(--parallax-y, 0), 0) scale(1);
  }
}

/* RESPONSIVE TABLET */
@media (max-width: 1024px) {
  h1 {
    font-size: 4.8rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  .hero-shell {
    grid-template-columns: 1fr 0.72fr;
    grid-template-areas:
      "intro side"
      "title side";
    min-height: auto;
  }

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

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

  .project-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 100%;
  }

}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  /* MOBILE NAVIGATION */
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    display: grid;
    gap: 4px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #0d0d0d;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 260ms var(--ease-premium), transform 260ms var(--ease-premium);
  }

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

  .nav-menu a {
    padding: 13px 12px;
    border-radius: 12px;
  }

  .nav-menu a:hover {
    background: var(--card);
  }

  .nav-cta {
    text-align: center;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "title"
      "side";
    padding: 28px 20px;
    border-radius: 0 0 28px 28px;
  }

  h1 {
    font-size: 3.7rem;
    overflow-wrap: anywhere;
  }

  h2 {
    font-size: 2.8rem;
  }

  .hero-side {
    display: grid;
  }

  .hero-description {
    order: 1;
  }

  .hero-actions {
    order: 2;
  }

  .portrait-wrap {
    order: 3;
  }

  .portrait-wrap,
  .portrait-wrap img {
    min-height: 0;
  }

  .about-copy,
  .about-grid,
  .section-heading,
  .services-grid,
  .process-grid,
  .contact-shell,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .project-tabs {
    flex-wrap: nowrap;
    margin-right: 0;
    padding-bottom: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .project-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 auto;
  }

  /* MOBILE PROJECT GRID */
  .project-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-actions,
  .footer-links {
    justify-content: flex-start;
  }

  .contact-actions {
    justify-self: start;
  }
}

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

  .brand {
    font-size: 0.88rem;
  }

  .hero {
    padding-top: 12px;
  }

  .hero-shell {
    gap: 22px;
    padding: 24px 18px;
  }

  h1 {
    font-size: 2.9rem;
  }

  h2 {
    font-size: 2.3rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .btn,
  .nav-menu a {
    min-height: 48px;
  }

  .portrait-wrap,
  .portrait-wrap img {
    min-height: 0;
  }

  .section {
    padding: 66px 0;
  }

  .project-card,
  .service-card,
  .process-card {
    min-height: auto;
    padding: 18px;
  }

  .project-card h3 {
    font-size: 1.4rem;
  }

  .strip-track {
    border-radius: 22px;
  }

  .project-card,
  .service-card,
  .process-card {
    border-radius: 20px;
  }

  .contact-shell {
    min-height: 520px;
    border-radius: 28px;
    padding: 26px 18px;
  }
}

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

  .reveal,
  .hero-load-item,
  .hero-actions,
  .hero-portrait {
    opacity: 1;
    transform: none;
  }

  .hero-title h1,
  .portrait-wrap {
    transform: none !important;
  }
}
