:root {
  color-scheme: dark;
  --bg-deep: #02030a;
  --bg-panel: rgba(10, 12, 32, 0.65);
  --text: #f8fbff;
  --muted: #a7b0c5;
  --line: rgba(138, 43, 226, 0.35);
  --accent-from: #8a2be2;
  --accent-to: #00bfff;
  --glow: 0 18px 60px rgba(0, 191, 255, 0.18);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.12), transparent 40%),
    radial-gradient(circle at 82% 8%, rgba(0, 191, 255, 0.12), transparent 42%),
    var(--bg-deep);
  min-height: 100vh;
}

h1,
h2,
h3,
.eyebrow,
.btn,
.social-heading,
.footer-brand {
  font-family: "Orbitron", "DM Sans", system-ui, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
}

.stars {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(1px 1px at 20% 40%, rgba(255, 255, 255, 0.9), transparent),
    radial-gradient(1px 1px at 60% 20%, rgba(255, 255, 255, 0.6), transparent),
    radial-gradient(1px 1px at 80% 60%, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(1px 1px at 10% 80%, rgba(255, 255, 255, 0.4), transparent);
  opacity: 0.45;
}

.noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.25' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: soft-light;
}

.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0.6rem 0.9rem;
  background: #fff;
  color: #0b0f1f;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform 140ms ease;
  z-index: 100;
  border-radius: 8px;
}
.skip-link:focus {
  transform: translateY(0);
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent-from), var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-alt {
  background: linear-gradient(120deg, #c9cbff, var(--accent-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(2, 3, 10, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header--blend {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: -4.5rem;
  background: linear-gradient(180deg, rgba(2, 3, 10, 0.82) 0%, rgba(2, 3, 10, 0.35) 75%, transparent 100%);
  border-bottom: none;
}

.hero-stage {
  position: relative;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  width: clamp(200px, 30vw, 260px);
  height: auto;
  border-radius: 12px;
  box-shadow: var(--glow);
  object-fit: cover;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 160ms ease, background-color 160ms ease, transform 140ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background-color: rgba(255, 255, 255, 0.04);
}

.site-nav .nav-cta {
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(138, 43, 226, 0.25), rgba(0, 191, 255, 0.3));
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-family: inherit;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.hero--cinematic {
  position: relative;
  width: 100%;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 2rem 0;
  overflow: hidden;
  isolation: isolate;
  background-color: #02030a;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
}

.hero__content {
  max-width: 540px;
  margin-left: auto;
  text-align: left;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.hero__image {
  width: 100%;
  height: auto;
  max-width: 600px;
  object-fit: contain;
  display: block;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero__eyebrow {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.45em;
  font-size: 0.85rem;
}

.hero__title {
  margin: 0;
  font-size: 4.5rem;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  font-weight: 900;
  display: block;
}

.hero__title .gradient-text {
  display: block;
}

.hero__rule {
  width: 60px;
  height: 2px;
  margin: 1.5rem 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
}

.hero__lede {
  margin: 0;
  max-width: 40ch;
  line-height: 1.6;
  color: rgba(248, 251, 255, 0.75);
  font-size: 1.125rem;
}

.glow-border {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(138, 43, 226, 0.35);
  box-shadow: 0 12px 50px rgba(0, 191, 255, 0.12), inset 0 1px rgba(255, 255, 255, 0.04);
}

.service-card.glow-border,
.value-card.glow-border,
.cta-shell.glow-border,
.project-card.glow-border {
  backdrop-filter: blur(10px);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.74rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  justify-content: center;
  gap: 0.6rem;
  align-items: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.btn-gradient {
  background-image: linear-gradient(120deg, var(--accent-from), var(--accent-to));
  color: #fdfcff;
  box-shadow: 0 14px 50px rgba(138, 43, 226, 0.28);
}

.btn-gradient:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.btn-block {
  width: min(460px, 100%);
}

.section-head--left {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.services {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-head h2 {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0;
  font-size: clamp(1.7rem, 2vw + 1rem, 2.35rem);
}

.section-head p {
  color: var(--muted);
  margin-top: 0.85rem;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1.25rem, 3vw, 1.85rem);
}

.service-card {
  padding: clamp(1.35rem, 2.5vw, 1.8rem);
  background: rgba(5, 6, 20, 0.55);
  display: grid;
  gap: 1rem;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card p {
  color: var(--muted);
  line-height: 1.58;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.service-card-top h3 {
  margin: 0;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.icon-wrap svg {
  color: var(--accent-to);
}

.projects {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.projects-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
  scrollbar-width: none;
}

.projects-filters::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.filter-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-family: "Orbitron", "DM Sans", system-ui, sans-serif;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  cursor: pointer;
  transition: transform 140ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-chip:hover {
  transform: translateY(-1px);
  color: var(--text);
  border-color: rgba(0, 191, 255, 0.45);
  background: rgba(0, 191, 255, 0.08);
}

.filter-chip.is-active {
  color: #fff;
  border-color: rgba(138, 43, 226, 0.6);
  background: linear-gradient(120deg, rgba(138, 43, 226, 0.22), rgba(0, 191, 255, 0.18));
  box-shadow: 0 10px 28px rgba(0, 191, 255, 0.08);
}

.filter-chip:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.project-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(10, 12, 32, 0.4);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(138, 43, 226, 0.4);
  background: rgba(10, 12, 32, 0.8);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(138, 43, 226, 0.1);
}

.project-card--frame {
  background: transparent;
  padding: 12px;
}

.project-card--frame:hover {
  transform: translateY(-10px);
  background: transparent;
}

.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.project-card--frame .project-card__media {
  aspect-ratio: 5 / 6;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.project-card__frame-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card--frame .project-card__media img {
  object-fit: cover;
  object-position: center;
}

.project-card:hover .project-card__media img {
  transform: scale(1.1);
}

.project-card--frame:hover .project-card__media img {
  transform: scale(1.02);
}

.project-card--frame:focus-within {
  box-shadow: var(--glow);
}

.project-card__frame-link:focus-visible {
  outline: none;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(2, 3, 10, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.project-card__badge {
  align-self: flex-start;
  padding: 0.4rem 1rem;
  background: rgba(138, 43, 226, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(138, 43, 226, 0.4);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.project-card__btn-circle {
  align-self: flex-end;
  width: 48px;
  height: 48px;
  background: var(--accent-from);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transform: translate(10px, 10px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover .project-card__btn-circle {
  transform: translate(0, 0);
  opacity: 1;
}

.project-card__content {
  padding: 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.project-card__content h3 {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.project-card__description {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.project-tags li {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #c9cbff;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  color: var(--accent-to);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.project-link:hover,
.project-link:focus-visible {
  color: #fff;
}

.reviews {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.15rem, 2.5vw, 1.75rem);
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  background: rgba(5, 6, 20, 0.55);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.review-card:hover,
.review-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--glow);
}

.star-rating {
  display: inline-flex;
  gap: 0.15rem;
  font-size: 1.05rem;
  line-height: 1;
}

.star--full {
  color: #f5c542;
  text-shadow: 0 0 12px rgba(245, 197, 66, 0.45);
}

.star--empty {
  color: rgba(255, 255, 255, 0.15);
}

.review-card__quote {
  margin: 0;
  flex: 1;
}

.review-card__quote p {
  margin: 0;
  color: rgba(248, 251, 255, 0.9);
  line-height: 1.65;
  font-size: 0.98rem;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(138, 43, 226, 0.45);
}

.review-card__initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
  color: #fff;
}

.review-card__name {
  display: block;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.92rem;
}

.review-card__role {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}

@media (max-width: 640px) {
  .shell {
    width: min(1200px, calc(100% - 24px));
  }

  .section-head {
    margin-bottom: 1.75rem;
  }

  .projects-grid {
    gap: 1.5rem;
  }

  .projects-filters {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1.25rem;
  }

  .filter-chip {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
  }

  .project-card--frame {
    padding: 10px;
  }

  .project-card--frame .project-card__media {
    border-radius: 14px;
  }

  .detail-hero {
    padding: 3.5rem 0 2.25rem;
  }

  .detail-image {
    margin-bottom: 2rem;
  }

  .detail-grid {
    gap: 2.25rem;
    padding-bottom: 3.5rem;
  }

  .sidebar-block {
    padding: 1.5rem;
  }

  .reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .review-card {
    flex: 0 0 min(88vw, 340px);
    scroll-snap-align: start;
  }
}

.values {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 5rem);
}

.values-row {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: rgba(7, 8, 26, 0.55);
  isolation: isolate;
}

.value-card h3 {
  margin: 0 0 0.45rem;
  letter-spacing: 0.06em;
  font-size: 1rem;
  text-transform: uppercase;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.value-icon svg {
  color: #c084fc;
}

.cta {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(4rem, 8vw, 5rem);
}

.cta-shell {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  padding: clamp(1.65rem, 4vw, 2.65rem);
  background: rgba(5, 6, 20, 0.55);
  align-items: center;
}

.cta-accent {
  width: min(620px, 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cta-copy h2 {
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.cta-copy p {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.62;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 2rem;
  display: grid;
  gap: 0.9rem;
}

.contact-list li {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-list .label {
  letter-spacing: 0.08em;
  font-size: 0.73rem;
  color: var(--muted);
}

.contact-list a {
  color: var(--accent-to);
}

.social-heading {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.74rem;
  color: var(--muted);
}

.handle {
  margin: 0.35rem 0 0.9rem;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 140ms ease, transform 140ms ease, border-color 140ms ease;
}

.social-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

.social-icon:hover,
.social-icon:focus-visible {
  color: var(--accent-to);
  border-color: var(--accent-to);
  transform: translateY(-2px);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: rgba(10, 12, 32, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 32px;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--accent-from);
  transform: translateX(8px);
}

.method-icon {
  width: 44px;
  height: 44px;
  background: rgba(138, 43, 226, 0.1);
  color: var(--accent-to);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.method-label {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.2rem;
}

.method-value {
  display: block;
  font-weight: 600;
  color: #fff;
}

.social-block {
  margin-top: 1rem;
}

.contact-action {
  display: flex;
  justify-content: center;
}

.action-box {
  width: 100%;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.1), rgba(0, 191, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  text-align: center;
}

.action-box h3 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.action-box p {
  color: var(--muted);
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 0;
  color: var(--muted);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.footer-copyright {
  font-size: 0.85rem;
  margin: 0;
}

@media (max-width: 600px) {
  .footer-grid {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

.detail-hero {
  padding: clamp(4rem, 10vh, 6rem) 0 3rem;
  text-align: center;
}

.detail-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin: 1rem 0;
  line-height: 1.1;
}

.detail-summary {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  padding-bottom: 5rem;
}

.detail-image {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 3rem;
  aspect-ratio: 5 / 6;
  background: rgba(255, 255, 255, 0.02);
}

.detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.detail-description h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.detail-description p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
}

.sidebar-block {
  position: sticky;
  top: 100px;
  padding: 2rem;
  background: rgba(10, 12, 32, 0.4);
  backdrop-filter: blur(20px);
  border-radius: 24px;
}

.sidebar-block h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.meta-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.meta-value {
  display: block;
  font-weight: 600;
  font-size: 1.05rem;
}

@media (max-width: 900px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .sidebar-block {
    position: static;
  }
}

.empty-msg {
  color: var(--muted);
  padding: 1rem;
}

@media (max-width: 900px) {
  .shell {
    width: min(1200px, calc(100% - 32px));
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: clamp(24px, 7vw, 48px);
    flex-direction: column;
    gap: 0.45rem;
    padding: 0.75rem;
    border-radius: 16px;
    background: rgba(5, 6, 20, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-width: 220px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
    display: none;
  }

  .site-nav a {
    padding: 0.5rem 0.8rem;
    font-size: 0.9rem;
  }

  .site-nav.open {
    display: flex;
  }

  .header-inner {
    position: relative;
    gap: 0.75rem;
  }

  .brand-logo-img {
    width: clamp(140px, 45vw, 220px);
  }

  .value-card {
    grid-template-columns: 1fr;
  }

  .hero__inner {
      grid-template-columns: 1fr;
      text-align: center;
      justify-items: center;
      gap: 3rem;
    }
 
    .hero__visual {
      order: 2;
      max-width: 400px;
    }
 
    .hero__content {
      order: 1;
      max-width: 100%;
    }
 
    .hero__image {
      max-width: 100%;
    }

    .hero__title {
      font-size: clamp(2.5rem, 10vw, 3.5rem);
    }

  .hero__rule {
    margin: 1.5rem auto;
  }

  .hero--cinematic {
    min-height: min(88vh, 780px);
  }

  .hero__bg {
    background-position: 65% center;
  }

  .hero__overlay {
    background: linear-gradient(
        180deg,
        rgba(2, 3, 10, 0.88) 0%,
        rgba(2, 3, 10, 0.55) 45%,
        rgba(2, 3, 10, 0.35) 100%
      ),
      linear-gradient(90deg, rgba(2, 3, 10, 0.9) 0%, rgba(2, 3, 10, 0.4) 100%);
  }

  .hero__title .gradient-text {
    display: inline;
    margin-top: 0;
  }

  .project-card,
  .project-card--featured {
    grid-column: span 12;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero__visual {
    order: 1;
    max-width: 420px;
    justify-content: center;
  }

  .hero__content {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
