@import url("fonts.css");
@import url("tokens.css");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  min-height: 100%;
  background: var(--bg);
}

body {
  color: var(--fg);
  font-family: var(--font-body);
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ---- Header / nav (shared across every page) ---- */
.nav {
  width: 100%;
  background: var(--bg);
  padding: 0px 0px 12px;
  -webkit-user-select: none;
  user-select: none;
}

.nav__mark,
.footer__mark {
  display: block;
  width: 100%;
  padding: 0;
}
.nav__mark svg,
.footer__mark svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.nav__mark text,
.footer__mark text {
  fill: var(--fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 114.375px;
  text-transform: uppercase;
  letter-spacing: -0.08em;
  word-spacing: -0.01em;
}
.footer__mark {
  margin-top: 40px;
}

.nav__links {
  position: sticky;
  top: 20px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding: 14px 12px;
}

.nav__link {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: var(--fg);
  background: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.nav__link:hover,
.nav__link:focus-visible {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--fg);
  outline: none;
}

@media (max-width: 600px) {
  :root {
    --pad-x: 16px;
  }
  .nav__links {
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }
  .nav__link {
    padding: 4px 10px;
    font-size: 11px;
  }
}

/* ---- Reel (home, under navbar) ---- */
.reel {
  position: relative;
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-panel);
  overflow: hidden;
}
.reel__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px var(--pad-x) 48px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
}
.reel__overlay .hero__label,
.reel__overlay .hero__statement {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
  line-height: 1.4;
  color: var(--fg);
  font-size: 18px;
  margin-bottom: 0;
  white-space: nowrap;
}
.reel__overlay .hero__statement {
  max-width: none;
}

@media (max-width: 600px) {
  .reel {
    width: 100%;
    aspect-ratio: 16 / 9;
  }
  .reel__overlay {
    padding: 20px 24px;
  }
  .reel__overlay .hero__statement {
    white-space: normal;
    max-width: 52ch;
  }
}

/* ---- Sections ---- */
.section {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.section:first-of-type {
  border-top: none;
}
.section__eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  font-size: 14px;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  line-height: 0.95;
  font-size: clamp(32px, 6vw, 64px);
}

@media (max-width: 600px) {
  .section {
    padding: 56px 0;
  }
}

/* ---- Hero ---- */
.hero {
  padding: 72px 0 96px;
}
.hero__label {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-subtle);
  font-size: 14px;
  margin-bottom: 20px;
}
.hero__statement {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  line-height: 0.98;
  font-size: clamp(34px, 7vw, 84px);
  max-width: 20ch;
}

/* ---- Logo marquee (home, under works-grid) - same width as .reel ---- */
.logo-marquee {
  max-width: var(--container-max);
  margin: 48px auto 0;
  padding: 24px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
}
.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: logo-marquee-scroll 22s linear infinite;
}
.logo-marquee__logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

@keyframes logo-marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
  }
}

/* ---- Works grid (home preview) ---- */
.works-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: none;
  background: transparent;
  margin-top: 48px;
}
.works-grid__item {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border: none;
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  color: var(--fg);
}
.works-grid__media {
  position: relative;
  display: block;
  border-radius: 30px;
  overflow: hidden;
}
.works-grid__view {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 22px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.works-grid__item:hover .works-grid__view {
  opacity: 1;
}
.works-grid__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 30px;
  transition: transform 0.4s ease;
}
.works-grid__item:hover img {
  transform: scale(1.04);
}
.works-grid__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(14px, 1.4vw, 20px) clamp(16px, 1.6vw, 24px);
  background: var(--bg);
  border-bottom: none;
}
.works-grid__title {
  font-weight: 600;
  font-size: clamp(15px, 1.5vw, 22px);
}
.works-grid__tags {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.tag {
  display: inline-block;
  padding: clamp(4px, 0.4vw, 6px) clamp(10px, 1vw, 14px);
  border: 1px solid #fff;
  border-radius: 6px;
  font-size: clamp(12px, 0.85vw, 15px);
  line-height: 1.4;
  color: #000;
  background: #fff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  white-space: nowrap;
}

@media (max-width: 460px) {
  .works-grid__caption {
    flex-wrap: wrap;
  }
  .works-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Works list (works index page) ---- */
.works-list {
  margin-top: 32px;
  border-top: 1px solid var(--hairline);
}
.works-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--fg);
}
.works-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-display);
  font-size: clamp(22px, 4vw, 36px);
  flex: 1;
}
.works-row__category {
  color: var(--fg-subtle);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  white-space: nowrap;
}
.works-row__year {
  color: var(--fg-subtle);
  font-size: 13px;
  white-space: nowrap;
}
.works-row__cta {
  font-size: 13px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.works-row:hover .works-row__cta {
  background: var(--fg);
  color: var(--bg);
}

@media (max-width: 600px) {
  .works-row {
    flex-wrap: wrap;
    gap: 8px 16px;
    padding: 20px 0;
  }
  .works-row__title {
    width: 100%;
  }
}

/* ---- Services ---- */
/* ---- Centered oversized section heading with a top divider ---- */
.section-mark {
  display: block;
  text-align: center;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(48px, 9vw, 105px);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.services-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 44px;
  align-items: start;
  margin-top: 48px;
}
.services-showcase__media {
  order: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  padding-top: 0;
  margin-right: 0;
}

/* 3D rotating photo carousel: 4 real photos as faces of a cube-like ring,
   viewed in perspective, spinning continuously and pausing on hover. */
.photo-stack {
  width: 100%;
  height: 390px;
  max-width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
  perspective: 1000px;
  padding-left: 0;
}
.photo-stack__carousel {
  position: relative;
  width: 310px;
  height: 330px;
  margin-left: 0;
  transform-style: preserve-3d;
  animation: photo-stack-spin 18s linear infinite;
}
.photo-stack__carousel:hover {
  animation-play-state: paused;
}
.photo-stack__item {
  position: absolute;
  display: flex;
  flex-direction: column;
  width: 200px;
  height: 270px;
  left: 0;
  top: 28px;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}
.photo-stack__item img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.photo-stack__item:nth-child(1) {
  transform: rotateY(0deg) translateZ(100px);
}
.photo-stack__item:nth-child(2) {
  transform: rotateY(90deg) translateZ(100px);
}
.photo-stack__item:nth-child(3) {
  transform: rotateY(180deg) translateZ(100px);
}
.photo-stack__item:nth-child(4) {
  transform: rotateY(270deg) translateZ(100px);
}

.photo-stack__label {
  flex-shrink: 0;
  padding: 10px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes photo-stack-spin {
  from {
    transform: rotateX(-10deg) rotateY(0deg);
  }
  to {
    transform: rotateX(-10deg) rotateY(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .photo-stack__carousel {
    animation: none;
    transform: rotateX(-10deg);
  }
}

.services-showcase__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  min-height: auto;
  margin-left: 0;
  grid-column: auto;
}
.services-col {
  position: relative;
  z-index: 2;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.services-col:first-child {
  padding-right: 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.services-col:last-child {
  padding-left: 26px;
}
.services-col__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--fg-subtle);
  margin-bottom: 16px;
}
.services-col__item {
  margin-top: 4px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition:
    transform 0.35s ease,
    padding-left 0.35s ease;
}
.services-col__item:first-of-type {
  margin-top: 0;
}
.services-col__item:last-child {
  border-bottom: none;
}
.services-col__item:hover {
  padding-left: 14px;
}
.services-col__title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}
.services-col__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--fg-muted);
  transition: color 0.3s ease;
}
.services-col__item:hover .services-col__title {
  color: #fff;
}
.services-col__item:hover .services-col__desc {
  color: #c9c9c9;
}

@media (max-width: 800px) {
  .services-showcase {
    grid-template-columns: 1fr;
  }
  .services-showcase__media {
    align-items: center;
  }
}
@media (max-width: 560px) {
  .services-showcase__columns {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .services-col:first-child {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .services-col:last-child {
    padding-left: 0;
  }
}

/* ---- Body copy ---- */
.prose {
  max-width: 60ch;
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-muted);
}
.prose + .prose {
  margin-top: 20px;
}
.prose strong {
  color: var(--fg);
  font-weight: 500;
}

/* About Us statement: centered editorial column, bigger and brighter than
   standard muted body copy, left-aligned within the narrower column. */
#info {
  text-align: center;
}
#info .section__eyebrow {
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
#info .prose {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--fg);
  text-align: left;
}
#info .prose + .prose {
  margin-top: 35px;
}
#info .prose strong {
  font-weight: 700;
}

/* ---- Contact / CTA ---- */
.cta__lead {
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg-muted);
  max-width: 42ch;
  margin-top: 16px;
}
.cta__actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.button {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid var(--fg);
  color: var(--bg);
  background: var(--fg);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.button--ghost {
  color: var(--fg);
  background: transparent;
  border-color: var(--pill-border);
}
.button:hover {
  background: transparent;
  color: var(--fg);
}
.button--ghost:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ---- Contact ---- */
.contact {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 48px;
  align-items: center;
}
.contact__form-card {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--pill-border);
  border-radius: 24px;
  padding: clamp(24px, 3vw, 36px);
}
.contact__insta,
.contact__youtube {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #0a0a0a;
  border: 1px solid var(--pill-border);
  color: var(--fg);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}
.contact__insta:hover,
.contact__youtube:hover {
  background: var(--fg);
  color: var(--bg);
}
.contact__social-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 56px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form__row {
  display: flex;
  gap: 16px;
}
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  min-width: 0;
}
.contact-form__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.contact-form__input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--pill-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}
.contact-form__input::placeholder {
  color: var(--fg-subtle);
}
.contact-form__input:focus {
  outline: none;
  border-color: var(--fg);
  background: rgba(255, 255, 255, 0.07);
}
.contact-form__textarea {
  resize: vertical;
  min-height: 48px;
  font-family: inherit;
}
.contact-form__submit {
  margin-top: 8px;
  padding: 16px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  background: #0a0a0a;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}
.contact-form__submit:hover {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.contact__content {
  text-align: center;
}
.contact__title {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.25;
  font-size: clamp(24px, 3.4vw, 42px);
  max-width: 24ch;
  margin: 0 auto;
}
.contact__lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin-top: 24px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.contact__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.contact__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
}

@media (max-width: 800px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__content {
    order: -1;
  }
}
@media (max-width: 460px) {
  .contact-form__row {
    flex-direction: column;
  }
}

/* ---- Footer ---- */
.footer {
  padding: 8px 0 64px;
}
.footer__row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer__socials {
  display: flex;
  gap: 10px;
}
.mt-lg {
  margin-top: 40px;
}
.footer__copy {
  color: var(--fg-subtle);
  font-size: 13px;
  margin-top: 24px;
}
.footer__org-link {
  color: var(--fg-subtle);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
}
.footer__org-link:hover {
  color: var(--fg);
  text-decoration-color: var(--fg);
}

@media (max-width: 600px) {
  .footer__row {
    justify-content: center;
    text-align: center;
  }
}
