:root {
  --bg: #071114;
  --bg-elevated: rgba(14, 26, 31, 0.72);
  --bg-strong: #0d1b1f;
  --line: rgba(160, 228, 210, 0.12);
  --line-strong: rgba(160, 228, 210, 0.24);
  --text: #f1f7f4;
  --muted: #9ab0a9;
  --primary: #8df7b2;
  --primary-strong: #57d48a;
  --secondary: #79d7f1;
  --warm: #ffb974;
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(121, 215, 241, 0.15), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(141, 247, 178, 0.12), transparent 28%),
    linear-gradient(180deg, #061014 0%, #071114 32%, #091518 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

.site-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  inset: auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
  z-index: -3;
  animation: drift 16s ease-in-out infinite;
  will-change: transform;
}

.ambient-one {
  top: -12rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(121, 215, 241, 0.28) 0%, rgba(121, 215, 241, 0) 68%);
}

.ambient-two {
  right: -10rem;
  top: 28rem;
  background: radial-gradient(circle, rgba(141, 247, 178, 0.22) 0%, rgba(141, 247, 178, 0) 68%);
  animation-delay: -6s;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.42;
  pointer-events: none;
  z-index: -2;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 20;
  will-change: transform;
}

.topbar,
.section,
.footer {
  width: var(--container);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
  background: linear-gradient(180deg, rgba(7, 17, 20, 0.9), rgba(7, 17, 20, 0.64));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(141, 247, 178, 0.16), rgba(121, 215, 241, 0.16));
  border: 1px solid var(--line-strong);
  color: var(--primary);
  font-family: "Syne", sans-serif;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
  color: var(--muted);
}

.brand-copy strong {
  color: var(--text);
  font-weight: 800;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding: 12px 18px;
  background: rgba(8, 18, 22, 0.52);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

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

.button-small {
  min-height: 44px;
  padding-inline: 18px;
}

.button-primary {
  color: #051013;
  background: linear-gradient(135deg, var(--primary), #c6ffd8);
  box-shadow: 0 10px 24px rgba(141, 247, 178, 0.14);
}

.button-ghost {
  color: var(--text);
  background: rgba(9, 17, 20, 0.54);
  border-color: var(--line-strong);
}

.section {
  padding: 46px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 44px;
  min-height: calc(100vh - 104px);
  padding-top: 28px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(141, 247, 178, 0.6);
}

.hero h1,
.section-heading h2,
.contact-panel h2 {
  margin: 0;
  font-family: "Syne", sans-serif;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.4rem, 7vw, 6.7rem);
}

.hero-text {
  max-width: 60ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.signal-list,
.project-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.signal-list li,
.project-points li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.signal-list li::before,
.project-points li::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.portrait-card,
.metric-card,
.service-card,
.project-card,
.review-card,
.shot-card,
.contact-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(13, 27, 31, 0.88), rgba(8, 17, 20, 0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  contain: layout paint;
}

.portrait-card::after,
.metric-card::after,
.service-card::after,
.project-card::after,
.review-card::after,
.shot-card::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(121, 215, 241, 0.06), transparent 35%, rgba(141, 247, 178, 0.05));
  pointer-events: none;
}

.portrait-card {
  width: min(100%, 480px);
  padding: 24px;
  border-radius: var(--radius-lg);
}

.portrait-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.portrait {
  width: 100%;
  height: min(65vh, 620px);
  object-fit: cover;
  object-position: center 20%;
  border-radius: 26px;
  filter: saturate(1.05) contrast(1.02);
}

.floating-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 190px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(5, 12, 15, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card-top {
  top: 80px;
  left: -18px;
  animation: bob 7s ease-in-out infinite;
}

.floating-card-bottom {
  right: -20px;
  bottom: 38px;
  animation: bob 7s ease-in-out infinite reverse;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 30px;
}

.section-heading.narrow {
  max-width: 800px;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(2rem, 4.6vw, 4rem);
  max-width: 16ch;
}

.metrics-grid,
.service-grid,
.project-grid,
.review-grid,
.shot-grid {
  display: grid;
  gap: 20px;
}

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

.metric-card {
  padding: 26px;
  border-radius: var(--radius-md);
}

.metric-value {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1;
  color: var(--text);
}

.metric-label {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  font-weight: 800;
}

.metric-card p,
.service-card p,
.project-card p,
.shot-card p,
.contact-panel p,
.review-note {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.75;
}

.ticker {
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 20, 0.55);
}

.ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 14px 18px;
  animation: ticker 28s linear infinite;
  will-change: transform;
}

.ticker-track span {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
}

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

.service-card,
.project-card,
.shot-card,
.review-card {
  border-radius: var(--radius-md);
}

.service-card {
  padding: 26px;
  min-height: 240px;
}

.service-card h3,
.project-card h3,
.shot-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.project-card {
  padding: 26px;
  min-height: 260px;
}

.project-feature {
  grid-column: span 2;
}

.project-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-tag,
.shot-label {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(141, 247, 178, 0.08);
  color: var(--primary);
  border: 1px solid rgba(141, 247, 178, 0.15);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

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

.review-card {
  margin: 0;
  padding: 24px;
}

.review-card p {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.65;
}

.review-card footer {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.review-note {
  max-width: 62ch;
}

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

.shot-card {
  min-height: 260px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(13, 27, 31, 0.66), rgba(8, 17, 20, 0.92)),
    radial-gradient(circle at top, rgba(121, 215, 241, 0.12), transparent 42%);
}

.contact-panel {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 36px;
  color: var(--muted);
  font-size: 0.94rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, 24px, 0) scale(1.05);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1100px) {
  .nav {
    display: none;
  }

  .hero,
  .metrics-grid,
  .service-grid,
  .project-grid,
  .review-grid,
  .shot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-feature {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .topbar {
    padding: 18px 0;
  }

  .hero,
  .metrics-grid,
  .service-grid,
  .project-grid,
  .review-grid,
  .shot-grid,
  .signal-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 10px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(3rem, 16vw, 4.5rem);
  }

  .section-heading h2,
  .contact-panel h2 {
    max-width: 100%;
  }

  .project-feature {
    grid-column: auto;
  }

  .portrait-card {
    padding: 16px;
  }

  .portrait {
    height: auto;
    max-height: 520px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
  }

  .contact-panel,
  .metric-card,
  .service-card,
  .project-card,
  .review-card,
  .shot-card {
    padding: 22px;
  }

  .footer {
    flex-direction: column;
    padding-top: 8px;
  }
}

@media (max-width: 900px), (pointer: coarse) {
  .ambient {
    display: none;
  }

  .grid-overlay {
    opacity: 0.22;
  }

  .ticker-track {
    animation-duration: 40s;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
