/* ================================================================
   VyreFilm — Global setup
   ================================================================ */
:root {
  --black: #070809;
  --charcoal: #101216;
  --panel: #15181e;
  --white: #f6f8ff;
  --muted: #999faa;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #4285ff;
  --violet: #8667ff;
  --page-pad: clamp(1.25rem, 4vw, 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  color: var(--black);
  background: var(--white);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Navigation */
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.25rem;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.025em;
}

.brand > span:last-child > span {
  color: var(--blue);
}

.brand-mark {
  position: relative;
  display: grid;
  width: 1.65rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
}

.brand-mark i {
  width: 0.42rem;
  aspect-ratio: 1;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.main-nav {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  align-items: center;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.main-nav a:not(.nav-cta) {
  color: #c8cbd2;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
}

.nav-cta {
  padding: 0.72rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(8.5rem, 17vh, 12rem) var(--page-pad) 3rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.98) 0%, rgba(7, 8, 9, 0.88) 45%, rgba(7, 8, 9, 0.4) 100%),
    radial-gradient(circle at 78% 42%, rgba(48, 92, 200, 0.28), transparent 22%),
    linear-gradient(135deg, #0d1118, #16131e 65%, #0a0b0e);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  top: -13%;
  right: 8%;
  width: min(48vw, 42rem);
  aspect-ratio: 0.77;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: inset 0 0 100px rgba(65, 132, 255, 0.08);
  transform: rotate(28deg);
}

.hero::after {
  right: -5%;
  bottom: -30%;
  width: 62vw;
  aspect-ratio: 1;
  background: linear-gradient(135deg, transparent 47%, rgba(92, 91, 255, 0.12) 50%, transparent 53%);
  transform: rotate(-12deg);
}

.hero-glow {
  position: absolute;
  top: 31%;
  right: 18%;
  z-index: -1;
  width: 7rem;
  height: 22rem;
  opacity: 0.4;
  background: var(--blue);
  filter: blur(75px);
  transform: rotate(22deg);
}

.hero-copy {
  align-self: center;
  max-width: 69rem;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: #aeb3bf;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 1.4rem;
  height: 1px;
  margin: 0 0.65rem 0.2rem 0;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 9.6vw, 9rem);
}

h1 em,
h2 em {
  color: transparent;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.035em;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.68);
}

.hero-intro {
  max-width: 35rem;
  margin: 2.3rem 0 0;
  color: #b7bbc4;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
  line-height: 1.6;
}

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

.button {
  display: inline-flex;
  min-height: 3.25rem;
  padding: 0.8rem 1.35rem;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  border: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button-primary {
  position: relative;
  min-width: 13.875rem;
  color: var(--black);
  border-color: var(--white);
  background: var(--white);
}

.button-primary .button-label {
  display: block;
  width: 100%;
  text-align: center;
}

.button-primary .button-arrow {
  position: absolute;
  right: 1.35rem;
}

.button-primary:hover {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}

.button-quiet:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero-meta {
  position: absolute;
  right: var(--page-pad);
  bottom: 3.3rem;
  display: grid;
  gap: 0.75rem;
  min-width: min(21rem, 30vw);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: #d9dce2;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-meta p {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
}

.hero-meta span {
  color: #737985;
}

.scroll-cue {
  position: absolute;
  bottom: 3.1rem;
  left: var(--page-pad);
  display: flex;
  gap: 0.7rem;
  align-items: center;
  color: #7d828c;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-cue span {
  display: block;
  width: 1px;
  height: 1.8rem;
  background: linear-gradient(var(--blue), transparent);
}

/* Shared section styles */
.section {
  position: relative;
  padding: clamp(5.5rem, 11vw, 10rem) var(--page-pad);
}

/* A soft light feather blends neighboring section backgrounds together. */
.section::after {
  content: "";
  position: absolute;
  top: -1.25rem;
  right: 0;
  left: 0;
  z-index: 3;
  height: 2.5rem;
  pointer-events: none;
  opacity: 0.42;
  background: linear-gradient(
    90deg,
    transparent 4%,
    rgba(66, 133, 255, 0.2) 35%,
    rgba(134, 103, 255, 0.16) 65%,
    transparent 96%
  );
  filter: blur(13px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-heading h2,
.about h2,
.contact h2 {
  font-size: clamp(3rem, 6.5vw, 6.5rem);
}

.section-heading > p {
  max-width: 23rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* Filmstrip showcase */
.showcase {
  overflow: hidden;
  background: #0a0b0d;
}

.filmstrip-shell {
  position: relative;
  margin-inline: calc(var(--page-pad) * -1);
  padding: 2.15rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0f13;
}

.film-perforations {
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 100%;
  height: 0.55rem;
  opacity: 0.45;
  background: repeating-linear-gradient(90deg, transparent 0 1rem, #758092 1rem 2rem, transparent 2rem 3.35rem);
}

.film-perforations-bottom {
  top: auto;
  bottom: 0.55rem;
}

.filmstrip {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  cursor: grab;
  touch-action: pan-x pinch-zoom;
  overscroll-behavior-inline: contain;
}

.filmstrip::-webkit-scrollbar {
  display: none;
}

.filmstrip.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.filmtrack {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.4vw, 1.4rem);
  width: max-content;
  padding-inline: var(--page-pad);
  will-change: transform;
}

.photo-card {
  width: clamp(16rem, 24vw, 23rem);
  margin: 0;
  flex: none;
}

.photo-card-wide {
  width: clamp(20rem, 32vw, 31rem);
}

.photo-portrait,
.photo-landscape {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  object-fit: cover;
  background-color: #1b1e25;
  filter: saturate(0.82);
  transition: filter 300ms ease, transform 500ms cubic-bezier(.2,.7,.2,1);
}

.photo-landscape {
  aspect-ratio: 16 / 10;
}

.photo-card:hover .photo-portrait,
.photo-card:hover .photo-landscape {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(0.985);
}

.photo-portrait::before,
.photo-portrait::after,
.photo-landscape::before,
.photo-landscape::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.photo-portrait::after,
.photo-landscape::after {
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 6, 12, 0.55));
}

.photo-one {
  background:
    radial-gradient(ellipse at 53% 36%, rgba(225, 226, 238, 0.55) 0 7%, transparent 8%),
    radial-gradient(ellipse at 52% 57%, #10131b 0 20%, transparent 21%),
    linear-gradient(120deg, #17243a, #476187 48%, #0c111b 49% 100%);
}

.photo-one::before {
  inset: 8% 14% 12% 46%;
  border: 1px solid rgba(159, 191, 255, 0.28);
  transform: skew(-8deg);
}

.photo-two {
  background:
    linear-gradient(105deg, transparent 48%, rgba(112, 74, 255, 0.4) 49% 51%, transparent 52%),
    radial-gradient(circle at 66% 27%, #457bff 0 2%, transparent 3%),
    radial-gradient(circle at 40% 60%, rgba(88, 107, 255, 0.45), transparent 18%),
    linear-gradient(145deg, #070912, #241c3c 60%, #0e1118);
}

.photo-two::before {
  top: 17%;
  left: 35%;
  width: 23%;
  height: 65%;
  background: linear-gradient(#192237, #080a0e);
  border-radius: 42% 42% 12% 12%;
  box-shadow: 4rem -2rem 5rem rgba(70, 114, 255, 0.25);
}

.photo-three {
  background:
    linear-gradient(90deg, rgba(8, 9, 12, 0.1) 62%, rgba(8, 9, 12, 0.78) 63%),
    linear-gradient(15deg, #26303c 0 28%, #8290a1 29% 30%, #26394f 31% 60%, #121820 61%);
}

.photo-three::before {
  right: 17%;
  bottom: 13%;
  width: 19%;
  height: 48%;
  background: #0a0b0e;
  border-radius: 48% 48% 10% 10%;
  box-shadow: -8rem 2rem 4rem rgba(85, 130, 218, 0.22);
}

.photo-four {
  background:
    radial-gradient(ellipse at center, transparent 0 14%, rgba(4, 7, 12, 0.6) 15% 18%, transparent 19%),
    repeating-linear-gradient(118deg, transparent 0 3rem, rgba(108, 142, 255, 0.18) 3.1rem 3.25rem),
    linear-gradient(135deg, #2b4265, #151b29 48%, #4b315a);
}

.photo-four::before {
  inset: 18% 25%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 5rem rgba(74, 126, 255, 0.25);
}

.photo-five {
  background:
    radial-gradient(circle at 26% 25%, rgba(131, 97, 255, 0.75) 0 2%, transparent 3%),
    radial-gradient(circle at 67% 16%, rgba(62, 128, 255, 0.6) 0 1.5%, transparent 2.5%),
    radial-gradient(ellipse at 55% 55%, #596374 0 15%, transparent 16%),
    linear-gradient(155deg, #111923, #312c3c 52%, #090b0f);
}

.photo-five::before {
  left: 35%;
  bottom: 10%;
  width: 36%;
  height: 59%;
  background: linear-gradient(145deg, #1e222a, #08090c);
  clip-path: polygon(31% 0, 70% 4%, 100% 100%, 0 100%);
}

.photo-card figcaption {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  padding-top: 0.9rem;
  font-size: 0.75rem;
}

.photo-card figcaption span,
.photo-card figcaption small {
  color: #747b87;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.photo-card figcaption strong {
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Services */
.services {
  background:
    radial-gradient(circle at 80% 60%, rgba(53, 76, 150, 0.1), transparent 28%),
    var(--charcoal);
}

.services-heading > p {
  margin-bottom: 0.4rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  min-height: 34rem;
  padding: clamp(1.5rem, 3.5vw, 3.5rem);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.01);
}

.service-card-accent {
  background: linear-gradient(145deg, rgba(60, 103, 216, 0.12), rgba(100, 64, 185, 0.07));
}

.service-number {
  margin: 0;
  color: #7f8590;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.service-icon {
  position: relative;
  display: grid;
  width: 5.5rem;
  height: 5.5rem;
  margin: 4.5rem 0;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.aperture {
  width: 2.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--blue);
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.6rem #13171e, 0 0 22px rgba(66, 133, 255, 0.35);
}

.print-icon {
  border-radius: 0;
  transform: rotate(45deg);
}

.print-icon span {
  width: 2.6rem;
  height: 3.2rem;
  border: 1px solid var(--violet);
  box-shadow: 0 0 22px rgba(134, 103, 255, 0.26);
}

.service-card h3 {
  max-width: 14ch;
  margin: 0 0 1.2rem;
  font-size: clamp(1.7rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.service-card > p:not(.service-number) {
  max-width: 33rem;
  color: var(--muted);
  line-height: 1.65;
}

.service-card ul {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 2rem 0 0;
  flex-wrap: wrap;
  list-style: none;
}

.service-card li {
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  color: #aeb3bd;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* About */
.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) 1.2fr;
  min-height: 47rem;
  align-items: center;
  overflow: hidden;
  background: #090a0c;
}

.about::before {
  content: "";
  position: absolute;
  inset: 12% auto 12% 43%;
  width: 1px;
  background: linear-gradient(transparent, var(--line), transparent);
}

.about-monogram {
  color: transparent;
  font-family: Georgia, serif;
  font-size: clamp(18rem, 38vw, 37rem);
  line-height: 0.75;
  text-align: center;
  -webkit-text-stroke: 1px rgba(89, 127, 255, 0.22);
  transform: translateX(-12%);
}

.about-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
}

.about-copy h2 {
  margin-bottom: 2.6rem;
}

.about-copy > p:not(.eyebrow) {
  max-width: 40rem;
  margin: 1rem 0;
  color: #aeb2bb;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.75;
}

.about-copy strong {
  color: var(--white);
  font-weight: 600;
}

/* Contact */
.contact {
  position: relative;
  min-height: 45rem;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(46, 92, 201, 0.18), transparent 26%),
    linear-gradient(155deg, #0a0c10, #11121b 48%, #090a0c);
}

.contact::before {
  content: "";
  position: absolute;
  top: -30rem;
  left: 50%;
  width: min(80vw, 66rem);
  aspect-ratio: 1;
  border: 1px solid rgba(93, 125, 255, 0.14);
  border-radius: 50%;
  transform: translateX(-50%);
}

.contact .eyebrow {
  color: #9096a1;
}

.contact h2 {
  position: relative;
  margin-bottom: 3rem;
}

.contact-link {
  position: relative;
  display: inline-flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  font-size: clamp(1rem, 2vw, 1.35rem);
  transition: color 180ms ease, border-color 180ms ease;
}

.contact-link:hover {
  color: #8eb5ff;
  border-color: var(--blue);
}

.social-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 5rem;
}

.social-links a {
  color: #8c929d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.social-links a:hover {
  color: var(--white);
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
  min-height: 7rem;
  padding: 1.5rem var(--page-pad);
  border-top: 1px solid var(--line);
  color: #838994;
  font-size: 0.64rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-footer .brand {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: normal;
  text-transform: none;
}

.site-footer .brand-mark {
  width: 1.25rem;
}

.site-footer > a:last-child {
  justify-self: end;
  transition: color 180ms ease;
}

.site-footer > a:last-child:hover {
  color: var(--white);
}

/* Responsive adjustments */
@media (max-width: 760px) {
  .site-header {
    min-height: 4.5rem;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 0.62rem 0.75rem;
  }

  .hero {
    min-height: 47rem;
    padding-top: 8.5rem;
  }

  .hero::before {
    top: 8%;
    right: -42%;
    width: 90vw;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.6rem);
  }

  .hero-intro {
    max-width: 29rem;
  }

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

  .button-quiet {
    min-height: auto;
    padding: 0.55rem 0;
    border: 0;
  }

  .hero-meta {
    right: var(--page-pad);
    bottom: 1.8rem;
    left: var(--page-pad);
    min-width: 0;
  }

  .scroll-cue {
    display: none;
  }

  .section-heading {
    display: block;
    margin-bottom: 2.5rem;
  }

  .section-heading > p {
    margin-top: 1.35rem;
  }

  .section-heading h2,
  .about h2,
  .contact h2 {
    font-size: clamp(2.9rem, 13vw, 4.5rem);
  }

  .filmtrack {
    gap: 0.8rem;
  }

  .photo-card {
    width: 72vw;
  }

  .photo-card-wide {
    width: 82vw;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .service-icon {
    margin: 3rem 0;
  }

  .about {
    display: block;
    min-height: auto;
  }

  .about::before {
    display: none;
  }

  .about-monogram {
    position: absolute;
    top: 10%;
    right: -12%;
    font-size: 25rem;
    opacity: 0.58;
    transform: none;
  }

  .about-copy {
    max-width: none;
  }

  .contact {
    min-height: 38rem;
  }

  .social-links {
    gap: 1.25rem;
    margin-top: 4rem;
    flex-wrap: wrap;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
  }

  .site-footer p {
    display: none;
  }
}

/* Keep the bottom scroll prompt from overlapping the hero actions on
   shorter desktop windows. */
@media (max-height: 700px) {
  .scroll-cue {
    display: none;
  }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
