:root {
  --bg: #050505;
  --bg-soft: #0b0c0e;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-strong: rgba(255, 255, 255, 0.075);
  --text: #f7f4ed;
  --muted: #a9a5a0;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #d8871d;
  --accent-soft: rgba(216, 135, 29, 0.22);
  --max-width: 1180px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 7%, rgba(216, 135, 29, 0.12), transparent 22rem),
    linear-gradient(180deg, #060606 0%, #0a0a0b 52%, #050505 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

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

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

button {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
}

.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, black, transparent 90%);
}

.container {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.narrow {
  width: min(calc(100% - 2rem), 820px);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header--scrolled {
  background: rgba(4, 4, 4, 0.76);
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
}

.header__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 82px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: max-content;
  font-size: 0.86rem;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand__logo {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: brightness(1.5) drop-shadow(0 0 16px rgba(255, 255, 255, 0.16));
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.65rem);
}

.nav__link {
  position: relative;
  color: rgba(247, 244, 237, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.header-social {
  display: flex;
  justify-content: flex-end;
  gap: 0.95rem;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--text);
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 760px;
  height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg,
.hero-shade,
.hero-watermark {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  filter: saturate(0.95) contrast(1.1) brightness(0.68);
  transform: scale(1);
}

.hero-shade {
  background:
    radial-gradient(circle at 64% 48%, rgba(216, 135, 29, 0.19), transparent 18rem),
    linear-gradient(90deg, rgba(0,0,0,0.9), rgba(0,0,0,0.66) 34%, rgba(0,0,0,0.24) 58%, rgba(0,0,0,0.55)),
    linear-gradient(180deg, rgba(0,0,0,0.58), transparent 34%, rgba(0,0,0,0.94));
}

.hero-watermark {
  left: auto;
  top: 18%;
  right: -4rem;
  width: min(45vw, 560px);
  height: auto;
  opacity: 0.12;
  filter: grayscale(1) brightness(1.9);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 1rem;
  padding-top: 5rem;
}

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

.kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker span {
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
}

.section-kicker {
  color: var(--accent);
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 9.5vw, 8.2rem);
  font-style: italic;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 0.82;
  text-transform: uppercase;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.hero h1 strong {
  display: block;
  color: transparent;
  font-weight: 950;
  -webkit-text-stroke: 2px var(--accent);
  text-shadow: none;
}

.hero-lede {
  max-width: 450px;
  margin: 1.6rem 0 0;
  color: rgba(247, 244, 237, 0.72);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.35rem;
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255,255,255,0.02);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button::after {
  content: "->";
  margin-left: 0.8rem;
  color: var(--accent);
}

.button:hover {
  transform: translateY(-2px);
  border-color: rgba(216, 135, 29, 0.55);
  background: var(--accent-soft);
}

.button--text {
  border-color: transparent;
  background: transparent;
}

.hero-media {
  position: relative;
  min-height: 560px;
  pointer-events: none;
}

.hero-angle {
  position: absolute;
  inset: 8% 0 6% 18%;
  background: linear-gradient(135deg, rgba(255,255,255,0.13), rgba(255,255,255,0.02));
  clip-path: polygon(24% 0, 100% 12%, 74% 100%, 0 84%);
  opacity: 0;
}

.section {
  padding: 5.8rem 0;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading--compact {
  margin-bottom: 2.2rem;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.section-heading__title,
.section-heading h2,
.about-copy h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-style: italic;
  line-height: 1.02;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-heading__text,
.about-copy p,
.project-card p,
.video-card p,
.quote-grid p {
  color: var(--muted);
  line-height: 1.72;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.about-photo {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.08) brightness(0.86);
}

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

.about-copy h2 strong,
.contact-panel h2 strong {
  color: var(--accent);
}

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

.category-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(216, 135, 29, 0.45);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
  filter: saturate(0.88) contrast(1.06) brightness(0.78);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.08), rgba(5,5,5,0.26) 40%, rgba(5,5,5,0.92)),
    radial-gradient(circle at bottom right, rgba(216, 135, 29, 0.2), transparent 55%);
}

.category-card:hover img {
  transform: scale(1.05);
  filter: saturate(1) contrast(1.08) brightness(0.9);
}

.category-card__content {
  position: relative;
  z-index: 1;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem;
}

.category-card__index {
  margin: 0 auto auto 0;
  color: rgba(247, 244, 237, 0.72);
  font-size: 1.3rem;
}

.category-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  line-height: 1;
  text-transform: uppercase;
}

.category-card p {
  margin: 0;
  color: rgba(247, 244, 237, 0.72);
  line-height: 1.5;
}

.stats-section {
  padding-top: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.07), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
}

.stat {
  min-height: 130px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  color: var(--text);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
}

.stat p {
  margin: 0.45rem 0 0;
  color: var(--text);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.recent-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.85rem;
}

.recent-strip img {
  width: 100%;
  height: clamp(170px, 22vw, 285px);
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.85) contrast(1.06);
}

.video-grid,
.project-grid,
.render-grid,
.quote-grid {
  display: grid;
  gap: 1rem;
}

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

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

.video-card,
.project-card,
.render-card,
.info-panel,
.empty-state {
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.022));
  box-shadow: var(--shadow);
}

.video-card__embed {
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-card__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.video-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05) brightness(0.82);
  transition: transform 220ms ease, filter 220ms ease;
}

.video-card__thumb:hover img {
  transform: scale(1.04);
  filter: saturate(1) contrast(1.08) brightness(0.96);
}

.video-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, transparent 0 4rem, rgba(0,0,0,0.26) 8rem),
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.42));
}

.video-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255,255,255,0.78);
  border-radius: 999px;
  background: rgba(0,0,0,0.36);
}

.video-card__play::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 19px;
  border-left: 18px solid var(--text);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}

.video-card__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body,
.project-card,
.render-card__body,
.info-panel,
.empty-state {
  padding: 1.25rem;
}

.project-card__tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3,
.render-card h3,
.video-card h3,
.info-panel h3 {
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.project-card__links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.project-card__links a,
.text-link {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 1.2rem;
}

.quote-grid blockquote {
  margin: 0;
  padding: 1.2rem 1.4rem;
  border-left: 1px solid var(--line);
}

.quote-grid blockquote::before {
  content: "“";
  display: block;
  color: var(--accent);
  font-size: 2.6rem;
  line-height: 0.8;
}

.quote-grid cite {
  display: block;
  margin-top: 1.3rem;
  color: var(--text);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-section {
  padding-top: 2rem;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 2rem;
  align-items: center;
  min-height: 260px;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02)),
    radial-gradient(circle at 90% 45%, rgba(216, 135, 29, 0.1), transparent 22rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-panel > *:not(.contact-panel__mark) {
  position: relative;
  z-index: 1;
}

.contact-panel__mark {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  top: 50%;
  width: clamp(150px, 24vw, 280px);
  height: auto;
  transform: translateY(-50%);
  opacity: 0.1;
  filter: grayscale(1) brightness(1.9);
  pointer-events: none;
}

.contact-panel h2 {
  max-width: 520px;
}

.contact-list {
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.contact-list a {
  word-break: break-word;
}

.footer {
  padding: 1.6rem 0 2.2rem;
  color: rgba(247, 244, 237, 0.55);
  font-size: 0.78rem;
}

.footer__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer p {
  margin: 0;
}

.footer a {
  color: rgba(247, 244, 237, 0.72);
}

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

.info-panel__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  background-position: center;
  background-size: cover;
  margin-bottom: 1rem;
}

.featured-link {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  transition: border-color 180ms ease, background 180ms ease;
}

.featured-link:hover {
  border-color: rgba(216, 135, 29, 0.42);
  background: rgba(255,255,255,0.07);
}

.featured-link span {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.gallery-page {
  padding: 9rem 0 6rem;
}

.page-top {
  padding-top: 8.5rem;
}

.photo-tabs {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin: -0.75rem 0 2rem;
}

.photo-tabs__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(255,255,255,0.035);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.photo-tabs__link:hover,
.photo-tabs__link--active {
  color: var(--text);
  border-color: rgba(216, 135, 29, 0.45);
  background: var(--accent-soft);
}

.masonry-grid {
  column-count: 3;
  column-gap: 1rem;
}

.masonry-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  margin: 0 0 1rem;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
}

.masonry-item img {
  width: 100%;
  transition: transform 260ms ease, filter 260ms ease;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
}

.masonry-item:hover img {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.9);
}

.lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(96vw, 1320px);
  min-height: 70vh;
  display: grid;
  place-items: center;
}

.lightbox__image {
  max-width: 100%;
  max-height: 84vh;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  border: 1px solid rgba(255,255,255,0.16);
  color: white;
  background: rgba(10, 10, 10, 0.66);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  cursor: pointer;
}

.lightbox__close {
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  font-size: 1.6rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  font-size: 2rem;
}

.lightbox__nav--prev {
  left: 0;
}

.lightbox__nav--next {
  right: 0;
}

.lightbox__meta {
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.9rem;
}

.render-card__image {
  min-height: 260px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at top, rgba(216, 135, 29, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  animation: revealCard 0.8s forwards;
}

.reveal-block {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

[hidden] {
  display: none !important;
}

@keyframes revealCard {
  to {
    opacity: 1;
  }
}

@media (max-width: 1080px) {
  .header__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 0.85rem 0;
    gap: 0.7rem;
  }

  .brand,
  .header-social {
    justify-self: center;
  }

  .hero {
    min-height: 840px;
  }

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

  .hero-copy {
    padding-top: 8rem;
  }

  .hero-media {
    position: absolute;
    inset: auto 0 0 auto;
    width: 60%;
    min-height: 420px;
    opacity: 0.55;
  }

  .category-grid,
  .video-grid,
  .project-grid,
  .render-grid,
  .quote-grid,
  .split-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.4rem;
  }

  .header-social {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 780px;
  }

  .hero-layout {
    min-height: 780px;
  }

  .hero-copy {
    padding-top: 10rem;
    align-self: start;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.4rem);
  }

  .hero h1 strong {
    -webkit-text-stroke-width: 1.3px;
  }

  .hero-lede {
    max-width: 92%;
  }

  .hero-media {
    width: 88%;
    min-height: 360px;
  }

  .section {
    padding: 4.4rem 0;
  }

  .section-heading--row {
    align-items: start;
    flex-direction: column;
  }

  .category-grid,
  .video-grid,
  .project-grid,
  .render-grid,
  .quote-grid,
  .split-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

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

  .recent-strip img {
    height: 210px;
  }

  .masonry-grid {
    column-count: 1;
  }

  .gallery-page {
    padding-top: 12rem;
  }

  .lightbox__nav {
    width: 46px;
    height: 46px;
  }

  .lightbox__nav--prev {
    left: 0.25rem;
  }

  .lightbox__nav--next {
    right: 0.25rem;
  }

  .lightbox__close {
    top: -0.2rem;
    right: 0.25rem;
  }

  .lightbox__meta {
    bottom: -2.2rem;
    width: calc(100% - 1rem);
    justify-content: space-between;
  }
}
