:root {
  --bg: #070b12;
  --surface: #0f1622;
  --text: #e6edf6;
  --muted: #adbbcc;
  --accent: #67afe2;
  --accent-secondary: #9b77a0;
  --accent-secondary-soft: rgba(155, 119, 160, 0.22);
  --border: #243245;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --radius: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at top right, #121c2b 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  isolation: isolate;
  backdrop-filter: none;
  background: rgba(11, 13, 16, 0);
  border-bottom: none;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: background-color 0.3s ease;
}

.site-header.scrolled-bg {
  transition-duration: 0.45s;
  background: rgba(11, 13, 16, 0.88);
}

.site-header.scrolled-bg::after {
  background: #3a516f;
}

.site-header.menu-open {
  transition-duration: 0.45s;
  background: rgba(11, 13, 16, 0.88);
}

.site-header.menu-open::after {
  background: #3a516f;
}


.navbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 40;
}

.logo-inline {
  height: 48px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.4s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: #dec0e4;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  border-radius: 0;
  padding: 0.45rem 0.7rem;
  min-height: 40px;
  line-height: 1;
  align-self: center;
  align-items: center;
  justify-content: center;
}

.navbar.nav-collapsed .nav-toggle {
  display: inline-flex;
}

.navbar.nav-collapsed .nav-links {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  left: auto;
  width: min(360px, 90vw);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 1rem;
  margin: 0;
  padding: 0.8rem 1rem;
  background: rgba(11, 13, 16, 0.98);
  border: 1px solid var(--border);
  border-radius: 0;
  display: none !important;
  z-index: 80;
}

.navbar.nav-collapsed .nav-links.open {
  display: flex !important;
  animation: nav-menu-fade-in 0.42s ease both;
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: calc(100vh - 72px);
  object-fit: cover;
  filter: saturate(0.9) brightness(0.78);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.8rem;
  padding: clamp(1rem, 4vw, 4rem);
  background: linear-gradient(to top, rgba(11, 13, 16, 0.8) 12%, rgba(11, 13, 16, 0.08) 60%);
}

.home-page .hero {
  position: relative;
  isolation: isolate;
  background: none;
  min-height: 100vh;
}

.home-page .site-header {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
}

.home-page .site-header.scrolled-bg {
  background: rgba(11, 13, 16, 0.88);
}

.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 34%;
  transform: scale(1.24);
  transform-origin: center;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 1;
  pointer-events: none;
  background: #3a516f;
}

.home-page .hero-image {
  display: none;
}

.home-page .logo-inline {
  height: 48px;
  transform: translate(22px, 98px) scale(3.35);
  transform-origin: left center;
  transition: transform 0.45s ease;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.55));
}

.home-page .site-header.scrolled .logo-inline {
  transform: translateY(0) scale(1);
}

.home-page .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end !important;
  align-items: flex-start;
  padding: clamp(1rem, 4vw, 4rem);
  background: transparent;
}

.home-page .hero-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(7, 10, 15, 0.88) 0%,
    rgba(8, 11, 16, 0.62) 20%,
    rgba(10, 12, 18, 0.28) 46%,
    rgba(11, 13, 16, 0) 100%
  );
  opacity: var(--hero-nav-fade, 1);
  transition: opacity 0.45s ease;
}

.home-page .hero-overlay > * {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  width: fit-content;
  padding: clamp(0.5rem, 0.95vw, 0.72rem) clamp(0.78rem, 1.5vw, 1.18rem);
  border: 1px solid rgba(122, 168, 218, 0.2);
  background: rgba(7, 11, 18, 0.56);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(2, 5, 10, 0.28);
  text-transform: uppercase;
  letter-spacing: clamp(0.14em, 0.22vw, 0.2em);
  color: var(--accent-secondary);
  font-size: clamp(1rem, 1.65vw, 1.48rem);
  margin: 0;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.52),
    0 2px 8px rgba(0, 0, 0, 0.38),
    0 0 10px rgba(0, 0, 0, 0.14);
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(1.75rem, 3.5vw, 3.4rem);
}

.home-page .hero h1 {
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.34),
    0 2px 8px rgba(0, 0, 0, 0.26),
    0 0 12px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-block;
  width: fit-content;
  margin-top: 0.4rem;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
  color: #081019;
  font-weight: 700;
  border-radius: 0;
  padding: 0.7rem 1rem;
  transition: transform 0.45s ease, filter 0.45s ease;
}

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

.btn-logo-accent {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-arrow-reveal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-0.2rem);
  transition: width 0.28s ease, opacity 0.22s ease, transform 0.28s ease;
}

.home-page .hero-overlay .btn-logo-accent {
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.92) 0%, rgba(19, 35, 56, 0.9) 48%, rgba(149, 56, 117, 0.82) 100%);
  border-color: color-mix(in srgb, var(--accent) 52%, rgba(255, 255, 255, 0.16));
  color: var(--text);
  box-shadow: 0 16px 34px rgba(5, 9, 15, 0.28);
  padding-right: 1rem;
  transition:
    transform 0.45s ease,
    filter 0.45s ease,
    padding-right 0.28s ease,
    background 0.28s ease,
    border-color 0.28s ease;
}

.home-page .hero-overlay .btn-logo-accent:hover {
  background:
    linear-gradient(135deg, rgba(12, 22, 34, 0.96) 0%, rgba(26, 46, 72, 0.94) 48%, rgba(165, 66, 130, 0.88) 100%);
  color: var(--text);
  padding-right: 1.55rem;
}

.home-page .hero-overlay .btn-logo-accent:hover .btn-arrow-reveal,
.home-page .hero-overlay .btn-logo-accent:focus-visible .btn-arrow-reveal {
  width: 0.9rem;
  opacity: 1;
  transform: translateX(0);
}

.home-page .hero-overlay .btn:first-child {
  background: rgba(17, 31, 49, 0.94);
  border-color: color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.12));
  color: var(--text);
  box-shadow: 0 16px 34px rgba(5, 9, 15, 0.22);
}

.home-page .hero-overlay .btn:first-child:hover {
  background: rgba(23, 40, 63, 0.98);
  color: var(--text);
}

.home-page .hero-overlay .btn-outline.btn-logo-accent,
.home-page .hero-overlay .btn-outline.btn-logo-accent:hover {
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.92) 0%, rgba(19, 35, 56, 0.9) 48%, rgba(149, 56, 117, 0.82) 100%);
  border-color: color-mix(in srgb, var(--accent) 52%, rgba(255, 255, 255, 0.16));
  color: var(--text);
}

.contact-form .btn-logo-accent {
  background: rgba(17, 31, 49, 0.94);
  border-color: color-mix(in srgb, var(--accent) 38%, rgba(255, 255, 255, 0.12));
  color: var(--text);
}

.contact-form .btn-logo-accent:hover,
.contact-form .btn-logo-accent:focus-visible {
  background:
    linear-gradient(135deg, rgba(10, 18, 28, 0.92) 0%, rgba(19, 35, 56, 0.9) 48%, rgba(149, 56, 117, 0.82) 100%);
  border-color: color-mix(in srgb, var(--accent) 52%, rgba(255, 255, 255, 0.16));
  color: var(--text);
}

.logo-accent-inline {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.24));
}

.section-title-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title-logo .logo-accent-inline {
  width: 18px;
  height: 18px;
}

.page-spacing,
.intro {
  padding-block: 3rem;
}

.page-header h1,
.intro h2 {
  margin-bottom: 0.4rem;
  color: #dfc3e4;
}

.page-header p,
.intro p {
  color: var(--muted);
}

.home-links {
  padding-top: 0;
  padding-bottom: 4rem;
}

.home-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-link-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 220px;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 28, 0.64) 0%, rgba(7, 11, 18, 0.78) 100%),
    radial-gradient(circle at top left, rgba(223, 77, 156, 0.2) 0%, transparent 56%);
  border: 1px solid rgba(87, 123, 172, 0.2);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.28),
    0 8px 18px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  color: var(--text);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background 0.35s ease;
}

.home-link-card:hover,
.home-link-card:focus-visible {
  transform: translateY(-6px);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    0 10px 24px rgba(0, 0, 0, 0.22);
  border-color: rgba(87, 123, 172, 0.35);
  outline: none;
}

.home-link-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-link-card h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: #f6f7fb;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.38);
}

.home-link-card p {
  margin: 0;
  max-width: 28ch;
  color: rgba(230, 235, 242, 0.88);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.section-block {
  padding-block: 2.35rem 4.1rem;
}

.service-visual {
  margin: 0.85rem 0 1.15rem;
}

.service-visual img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, var(--border));
  background: rgba(9, 14, 21, 0.9);
  box-shadow: 0 18px 42px rgba(3, 7, 12, 0.28);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 1.1rem;
}

.section-intro h2 {
  margin: 0 0 0.45rem;
  color: #dfc3e4;
}

.section-intro p {
  margin: 0;
  color: var(--muted);
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

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

.feature-grid-tight {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card,
.content-card,
.cta-panel {
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.92) 0%, rgba(11, 16, 25, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 28%, var(--border));
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  display: block;
  padding: 1rem 1.05rem 1.1rem;
  min-height: 100%;
  overflow: hidden;
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(149, 56, 117, 0.3) 0%,
    rgba(149, 56, 117, 0.14) 32%,
    rgba(149, 56, 117, 0) 68%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.feature-card > * {
  position: relative;
  z-index: 1;
}

.feature-card-service::after {
  opacity: 0.14;
  transform: scale(1.02);
}

.feature-card-service:hover::after,
.feature-card-service:focus-visible::after {
  opacity: 0;
  transform: scale(1.06);
}

.service-card-events::after {
  background-image: url("https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1200&q=80");
}

.service-card-headshots::after {
  background-image: url("https://images.unsplash.com/photo-1500648767791-00dcc994a43e?auto=format&fit=crop&w=1200&q=80");
}

.service-card-product::after {
  background-image: url("https://images.unsplash.com/photo-1511556820780-d912e42b4980?auto=format&fit=crop&w=1200&q=80");
}

.service-card-commercial::after {
  background-image: url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80");
}

.service-card-video::after {
  background-image: url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1200&q=80");
}

.feature-card:hover,
.feature-card:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--border));
  outline: none;
}

.feature-card:hover::before,
.feature-card:focus-visible::before {
  opacity: 1;
}

.feature-card-static {
  pointer-events: none;
}

.feature-card h3,
.content-card h2,
.cta-panel h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #f3edf6;
}

.feature-card p,
.content-card p,
.cta-panel p {
  margin: 0;
  color: var(--muted);
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-actions .btn,
.category-header .btn {
  margin-top: 0;
}

.page-actions-inline {
  margin-top: 0.6rem;
  transform: translateY(-0.2rem);
}

.page-actions-inline .btn {
  padding: 0.58rem 0.88rem;
  font-size: 0.92rem;
}

.page-actions-inline .btn-outline {
  padding: 0.46rem 0.72rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.page-actions-inline .btn-outline::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.42rem;
  font-size: 0.82em;
  line-height: 1;
}

.category-header .btn-outline {
  padding: 0.46rem 0.72rem;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.category-header .btn-outline::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.42rem;
  font-size: 0.82em;
  line-height: 1;
}

.content-grid,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.content-card {
  padding: 1rem 1.05rem 1.1rem;
}

.content-card-static {
  transform: none !important;
}

.content-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.cta-panel {
  padding: 1.2rem 1.25rem 1.3rem;
  margin-block: 1.8rem 0;
}

.replace-note {
  font-size: 0.95rem;
  color: #cfb6d4;
}

.gallery-marquee {
  position: relative;
  margin-bottom: 1.4rem;
  padding: 0;
  width: 100%;
}

.gallery-marquee::after {
  content: none;
}

.gallery-marquee-viewport {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  position: relative;
  z-index: 2;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.gallery-marquee-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-marquee-track {
  display: flex;
  gap: 0.45rem;
  width: max-content;
  will-change: transform;
}

.gallery-marquee-link {
  display: block;
  flex: 0 0 auto;
  width: 320px;
  height: 190px;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  contain: paint;
}

.gallery-marquee-track img {
  flex: 0 0 auto;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(var(--marquee-pan-x, 0px), 0, 0) scale(1.08);
  border-radius: 8px;
  opacity: 0.9;
  transition: transform 0.22s ease-out;
  will-change: transform;
  backface-visibility: hidden;
}

.gallery-categories {
  display: grid;
  gap: 1.35rem;
  padding-bottom: 2rem;
}

.gallery-jump-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 30%, var(--border));
  border-radius: 0;
  background: rgba(11, 16, 25, 0.7);
}

.gallery-jump-bar a {
  display: inline-block;
  padding: 0.28rem 0.62rem;
  border-radius: 0;
  border: 1px solid transparent;
  color: #d8c0dd;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.gallery-jump-bar a:hover {
  border-color: color-mix(in srgb, var(--accent-secondary) 50%, var(--border));
  background: rgba(155, 119, 160, 0.2);
  color: #f2e8f5;
}


.gallery-category {
  border: none;
  background: transparent;
  box-shadow: none;
}

.category-header {
  min-height: 60px;
  display: flex;
  align-items: center;
  padding: 0 1.05rem;
  border-left: none;
  background: transparent;
}

.category-header-rich {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
}

.category-header h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  color: #dbbcdf;
}

.category-copy {
  max-width: 720px;
}

.category-copy h2 {
  margin-bottom: 0.18rem;
}

.category-copy p {
  margin: 0;
  color: var(--muted);
}

.category-header-rich .btn {
  align-self: end;
  transform: translateY(-0.12rem);
}

.category-panel {
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: max-height 1.35s ease, opacity 0.9s ease, transform 0.9s ease;
}

.gallery-category.expanded .category-panel {
  max-height: 1300px;
  opacity: 1;
  transform: translateY(0);
  overflow: hidden;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(42px, 4.8vw, 58px);
  grid-auto-flow: dense;
  margin-top: 0.9rem;
  gap: 0.3rem;
  padding: 0.3rem;
  background: transparent;
  overflow: hidden;
}

.gallery-category.expanded .category-panel.hover-open,
.gallery-category.expanded .category-panel.hover-open .category-grid,
.gallery-category.expanded .category-panel:focus-within,
.gallery-category.expanded .category-panel:focus-within .category-grid {
  overflow: visible;
}

.gallery-item {
  margin: 0;
  background: none;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none;
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  justify-self: stretch;
  z-index: 1;
  transform: translateX(var(--tile-pan-x, 0px));
  transform-origin: center center;
  transition: transform 0.3s ease-out, z-index 0s linear 0s;
}

.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: 6px;
  position: absolute;
  inset: 0;
  transform: translate3d(var(--pan-x, 0px), 0, 0) scale(1.08);
  transition: transform 0.3s ease-out, filter 0.5s ease, box-shadow 0.38s ease;
  will-change: transform;
  z-index: 2;
  border-radius: inherit;
}

.gallery-item:hover {
  transform: translateX(var(--tile-pan-x, 0px)) scale(1.14);
}

.gallery-item:hover img,
.gallery-item img:hover {
  transform: translate3d(var(--pan-x, 0px), 0, 0) scale(1.08);
  filter: brightness(1.08);
  box-shadow: 0 10px 28px rgba(6, 10, 16, 0.55);
}

.gallery-item:hover,
.gallery-item.is-active {
  z-index: 4;
}

.tile-square,
.tile-wide,
.tile-tall {
  grid-column: span 4;
  grid-row: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 2rem;
  align-items: start;
}

.about-team {
  display: grid;
  gap: 2.2rem;
}

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

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.blog-card {
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.92) 0%, rgba(11, 16, 25, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 32%, var(--border));
  border-radius: 0;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.blog-card h2 {
  margin-top: 0.35rem;
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
}

.blog-meta {
  color: #d7b8dd !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.social-section {
  margin-top: 0.6rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.social-card {
  display: block;
  border: 1px dashed color-mix(in srgb, var(--accent-secondary) 42%, var(--border));
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  background: rgba(155, 119, 160, 0.1);
  color: #dfc5e4;
  transition: transform 0.3s ease, background 0.3s ease;
}

.social-card:hover {
  transform: translateY(-2px);
  background: rgba(155, 119, 160, 0.2);
}

.ftp-credentials,
.ftp-preview,
.ftp-download {
  margin-bottom: 1.8rem;
}

.ftp-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.ftp-item {
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.9) 0%, rgba(11, 16, 25, 0.9) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 36%, var(--border));
  border-radius: 0;
  padding: 0.85rem;
}

.ftp-label {
  margin: 0 0 0.3rem;
  font-size: 0.82rem;
  color: #d6b8dc;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.ftp-item code {
  display: block;
  margin-bottom: 0.6rem;
  color: #dce5f3;
  word-break: break-all;
}

.client-login-form {
  max-width: 520px;
}

#client-login-status {
  margin: 0 0 0.25rem;
  color: #eaa5bd;
  font-weight: 600;
}

.client-access-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.ftp-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.client-gallery-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.client-gallery-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.client-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-right: 0.15rem;
  margin-right: 0.15rem;
  border-right: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.client-view-switch .btn.is-active {
  background: color-mix(in srgb, var(--accent) 18%, rgba(12, 17, 25, 0.96));
  border-color: color-mix(in srgb, var(--accent) 55%, var(--border));
  color: var(--text);
}

.client-selection-status {
  margin: 0;
  color: var(--muted);
}

.preview-card {
  margin: 0;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 30%, var(--border));
  border-radius: 0;
  overflow: hidden;
  background: rgba(12, 17, 25, 0.95);
}

.client-preview-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.client-preview-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.preview-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.preview-card figcaption {
  padding: 0.6rem 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.client-card figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.client-card.is-selected {
  border-color: color-mix(in srgb, var(--accent) 58%, var(--accent-secondary));
  box-shadow: 0 0 0 1px rgba(106, 174, 228, 0.35);
}

.client-card figcaption span {
  overflow-wrap: anywhere;
}

.client-card-select {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.7rem 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.client-card-select input {
  margin: 0;
  accent-color: var(--accent);
}

.client-file-meta {
  display: grid;
  gap: 0.2rem;
}

.client-card .btn {
  margin-top: 0;
  white-space: nowrap;
}

.client-card .btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.client-card .btn.is-loading {
  opacity: 0.9;
  pointer-events: none;
}

.client-card .replace-note {
  margin: 0;
  font-size: 0.78rem;
}

.client-preview-grid.is-mosaic-view {
  display: block;
  column-count: 3;
  column-gap: 0.35rem;
}

.client-preview-grid.is-mosaic-view .client-card {
  display: inline-block;
  width: 100%;
  margin-bottom: 0.35rem;
  break-inside: avoid;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.client-preview-grid.is-mosaic-view .client-preview-image {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: cover;
  display: block;
  border: 0;
}

.client-preview-grid.is-mosaic-view .client-card-select,
.client-preview-grid.is-mosaic-view .client-card figcaption {
  display: none;
}

.client-preview-grid.is-mosaic-view .client-card.is-selected {
  border: 0;
  box-shadow: none;
}

.profile-image {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.contact-section {
  max-width: 680px;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 35%, var(--border));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem;
}

.contact-form label {
  font-size: 0.95rem;
  color: #cfb7d5;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  background: #0f1318;
  color: var(--text);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid color-mix(in srgb, var(--accent-secondary) 55%, #ffffff);
  border-color: transparent;
}

.contact-form textarea {
  resize: vertical;
  max-width: 100%;
}

.pricing-section {
  margin-top: 2.2rem;
}

.pricing-widget {
  margin: 1.4rem 0 1.8rem;
  padding: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--accent-secondary) 38%, var(--border));
  border-radius: 0;
  background: linear-gradient(180deg, rgba(15, 22, 34, 0.96) 0%, rgba(10, 16, 25, 0.94) 100%);
  box-shadow: var(--shadow);
}

.pricing-widget-copy h3 {
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
}

.pricing-widget-copy p {
  margin-top: 0;
  color: var(--muted);
}

.pricing-widget-kicker {
  margin: 0;
  color: #ddbde3;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pricing-calculator {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 1rem 1.2rem;
  align-items: start;
  margin-top: 1rem;
}

.pricing-control-group {
  display: grid;
  gap: 0.45rem;
}

.pricing-control-group label {
  color: #d8bfdc;
  font-size: 0.95rem;
}

.pricing-control-group select,
.pricing-control-group input[type="range"] {
  width: 100%;
}

.pricing-control-group input[type="range"] {
  accent-color: var(--accent);
}

.pricing-control-group select {
  border: 1px solid var(--border);
  background: #0f1318;
  color: var(--text);
  border-radius: 0;
  padding: 0.7rem 0.8rem;
}

.pricing-control-group select:focus,
.pricing-control-group input[type="range"]:focus {
  outline: 2px solid color-mix(in srgb, var(--accent-secondary) 55%, #ffffff);
  outline-offset: 2px;
}

.pricing-hours-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: center;
}

.pricing-hours-row output {
  min-width: 76px;
  text-align: right;
  color: #f0dff4;
  font-weight: 700;
}

.pricing-summary {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent) 26%, var(--border));
  border-radius: 0;
  background: rgba(6, 10, 16, 0.72);
}

.pricing-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
  color: var(--muted);
}

.pricing-summary-row strong {
  color: var(--text);
  text-align: right;
}

.pricing-summary-total {
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--accent-secondary) 32%, var(--border));
  color: #efdff3;
}

.pricing-summary-total strong {
  color: #f4e9f7;
  font-size: 1.05rem;
}

.pricing-summary-note {
  margin: 0;
  color: #d4bdd9;
  font-size: 0.9rem;
}

.pricing-section h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.55rem;
}

.pricing-reference-actions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
}

.pricing-reference-intro {
  margin: 0 auto 0.9rem;
  max-width: 640px;
}

.pricing-reference-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.table-wrap {
  overflow-x: auto;
  border: none;
  border-radius: 0;
  background: transparent;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
  background: transparent;
}

.brand-table th,
.brand-table td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: none;
}

.brand-table thead {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.18) 12%,
    rgba(255, 255, 255, 0.18) 88%,
    rgba(255, 255, 255, 0) 100%
  );
}

.brand-table thead th {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-secondary) 38%, var(--border));
}

.brand-table tbody tr:nth-child(even) {
  background: linear-gradient(
    to right,
    rgba(155, 119, 160, 0) 0%,
    rgba(155, 119, 160, 0.16) 12%,
    rgba(155, 119, 160, 0.16) 88%,
    rgba(155, 119, 160, 0) 100%
  );
}

.brand-table tbody tr:hover {
  background: linear-gradient(
    to right,
    rgba(155, 119, 160, 0) 0%,
    rgba(155, 119, 160, 0.22) 12%,
    rgba(155, 119, 160, 0.22) 88%,
    rgba(155, 119, 160, 0) 100%
  );
}

.btn-outline {
  margin-top: 1rem;
  background: transparent;
  color: var(--text);
  border-color: var(--accent-secondary);
}

.btn-compact {
  margin-top: 0;
  padding: 0.45rem 0.7rem;
  font-size: 0.84rem;
}

.btn-outline:hover {
  background: rgba(155, 119, 160, 0.18);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(5, 6, 8, 0.94);
  padding: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: min(1100px, 94vw);
  max-height: 88vh;
  border-radius: 0;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 0;
  font-size: 1.6rem;
  line-height: 1;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 0;
  font-size: 2.2rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.client-lightbox-select {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.client-lightbox-select input {
  margin: 0;
  accent-color: var(--accent);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.client-preview-image {
  cursor: pointer;
}

.terms-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(6, 9, 14, 0.9);
  padding: 1rem;
}

.terms-modal.open {
  display: flex;
  animation: modal-backdrop-fade-in 0.45s ease both;
}

.terms-modal-panel {
  position: relative;
  width: min(920px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0f1622 0%, #0a1019 100%);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: var(--shadow);
  animation: modal-panel-fade-in 0.6s ease both;
}

.terms-modal-panel h2 {
  margin-top: 0.2rem;
}

.terms-modal-panel h3 {
  color: #dbbfdf;
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
}

.terms-modal-panel p {
  color: var(--muted);
  margin-top: 0;
}

.terms-note {
  margin-top: 1.1rem;
  color: var(--text) !important;
  font-weight: 600;
}

.terms-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.terms-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.terms-nav-prev {
  left: 0.7rem;
}

.terms-nav-next {
  right: 0.7rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: linear-gradient(180deg, rgba(7, 11, 18, 0) 0%, rgba(155, 119, 160, 0.08) 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.2rem 0;
}

.logo-footer {
  width: 54px;
  height: auto;
}

.footer-client-link {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-client-link a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-client-link a:hover,
.footer-client-link a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}

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

@keyframes nav-menu-fade-in {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modal-backdrop-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-panel-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .home-page .hero {
    isolation: isolate;
  }

  .home-page .hero::before {
    transform: scale(1.16);
  }

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

  .feature-grid-tight {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .feature-grid,
  .content-grid,
  .contact-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-auto-rows: clamp(52px, 8.2vw, 64px);
  }

  .tile-square,
  .tile-wide,
  .tile-tall {
    grid-column: span 2;
    grid-row: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

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

  .ftp-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing-calculator {
    grid-template-columns: 1fr;
  }

  .pricing-summary {
    grid-column: auto;
    grid-row: auto;
  }

}

@media (max-width: 700px) {
  .home-page .logo-inline {
    height: 42px;
    transform: translate(8px, 52px) scale(1.95);
    max-width: min(78vw, 320px);
  }

  .home-page .site-header.scrolled .logo-inline {
    transform: translateY(0) scale(1);
    max-width: none;
  }

  .navbar {
    flex-wrap: nowrap;
    align-items: center;
  }

  .gallery-item {
    transform: none !important;
  }

  .gallery-item img,
  .gallery-item:hover img,
  .gallery-item.is-active img,
  .gallery-item img:hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    inset: 0;
    transform: scale(1.02) !important;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    right: 0;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
    margin: 0;
    padding: 0.8rem 1rem;
    background: rgba(11, 13, 16, 0.98);
    border: 1px solid var(--border);
    border-radius: 0;
    display: none !important;
    z-index: 80;
  }

  .nav-links.open {
    display: flex !important;
    animation: nav-menu-fade-in 0.42s ease both;
  }

  .category-header {
    min-height: 64px;
    padding: 0 0.8rem;
  }

  .home-links-grid {
    grid-template-columns: 1fr;
  }

  .home-link-card {
    min-height: 0;
  }

  .feature-grid,
  .feature-grid-tight,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .client-gallery-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .client-gallery-action-buttons {
    flex-wrap: wrap;
  }

  .client-view-switch {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
    flex-wrap: wrap;
  }

  .client-preview-grid.is-mosaic-view {
    column-count: 2;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(58px, 14vw, 72px);
  }

  .tile-square,
  .tile-wide,
  .tile-tall {
    grid-column: span 2;
    grid-row: auto;
  }

  .blog-grid,
  .social-grid,
  .ftp-preview-grid {
    grid-template-columns: 1fr;
  }

  .client-gallery-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.9rem;
  }

  .client-lightbox-select {
    bottom: 0.85rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.72rem;
  }

  .client-preview-grid.is-mosaic-view {
    column-count: 1;
  }

}

@media (max-width: 480px) {
  .home-page .logo-inline {
    height: 38px;
    transform: translate(4px, 46px) scale(1.6);
    max-width: min(74vw, 260px);
  }
}
