/* Vision Studios — cinematic dark photography site */

:root {
  --bg: #000000;
  --bg-elevated: #0e0e0e;
  --bg-soft: #141210;
  --text: #f6f2ea;
  --text-muted: #c5bfb4;
  --gold: #deac67;
  --gold-soft: #f3d4a0;
  --gold-deep: #ad7a43;
  --gold-mid: #c99558;
  --gold-dim: rgba(222, 172, 103, 0.18);
  --line: rgba(246, 242, 234, 0.12);
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-body: Outfit, system-ui, -apple-system, sans-serif;
  --header-h: 5rem;
  --wrap: 74rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 0.85rem);
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

body.lightbox-open .site-header {
  opacity: 0;
  pointer-events: none;
}

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

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0;
}

p {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--gold);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  font-size: 1rem;
  font-weight: 500;
}

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

/* Reveals */

.reveal {
  opacity: 0;
  transform: translateY(1.6rem);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.service-grid .reveal:nth-child(2),
.price-grid .reveal:nth-child(2),
.gallery-grid .reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.service-grid .reveal:nth-child(3),
.price-grid .reveal:nth-child(3),
.gallery-grid .reveal:nth-child(3) {
  transition-delay: 0.18s;
}

.service-grid .reveal:nth-child(4),
.gallery-grid .reveal:nth-child(4) {
  transition-delay: 0.26s;
}

/* Brand */

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.brand-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent;
}

/* Header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

body.menu-open .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

.header-inner {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand--nav {
  z-index: 42;
  flex: 0 0 auto;
}

.brand--nav .brand-img {
  height: 2.55rem;
  width: auto;
  max-width: min(14rem, 54vw);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.2rem;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--gold-soft);
}

.nav-cta {
  border: 1px solid var(--gold);
  color: var(--gold-soft) !important;
  padding: 0.65rem 0.95rem;
  margin-left: 0.15rem;
  white-space: nowrap;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--gold);
  color: var(--bg) !important;
}

.menu-toggle {
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  z-index: 42;
}

.menu-toggle span {
  display: block;
  width: 1.45rem;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(0.44rem) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-0.44rem) rotate(-45deg);
}

@media (max-width: 1079px) {
  .nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 41;
    background: #000;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  }

  body.menu-open .nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav a {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 7vw, 3rem);
    letter-spacing: 0.04em;
    text-transform: none;
  }

  .nav-cta {
    border: 0;
    margin: 0.5rem 0 0;
    padding: 0;
    color: var(--gold-soft) !important;
    white-space: normal;
  }
}

@media (min-width: 1080px) {
  .menu-toggle {
    display: none;
  }

  .nav {
    display: flex;
  }

  .brand--nav .brand-img {
    height: 2.95rem;
    max-width: 17.5rem;
  }
}

/* Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--text);
  text-align: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 18%;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) both;
}

@keyframes hero-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1.02); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.62) 50%, rgba(0, 0, 0, 0.88) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.28) 28%, rgba(0, 0, 0, 0.64) 74%, rgba(0, 0, 0, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 54rem);
  margin: 0 auto;
  padding: calc(var(--header-h) + 0.5rem) 0 3.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.brand--hero {
  margin: 0 0 1.05rem;
  width: min(28rem, 86%);
}

.brand--hero .brand-img {
  width: 100%;
  height: auto;
  max-height: min(40vh, 21rem);
}

.hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.6rem, 3.55vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: 0.015em;
  color: #ebc88a;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 1.05rem;
  max-width: 22em;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-tagline {
  font-size: clamp(0.95rem, 1.55vw, 1.12rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.86);
  max-width: 38rem;
  margin: 0 0 1.85rem;
  text-wrap: balance;
  position: relative;
  padding-top: 1.05rem;
}

.hero-tagline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2.75rem;
  height: 1px;
  transform: translateX(-50%);
  background: var(--gold);
  opacity: 0.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}

.btn--small {
  padding: 0.85rem 1.35rem;
  font-size: 0.82rem;
  width: auto;
  margin-top: auto;
}

/* Sections */

.section {
  position: relative;
  padding: clamp(5.5rem, 12vw, 9.5rem) 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(8rem, 30%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.55;
}

.hero + .section::before {
  display: none;
}

.section-header {
  max-width: 40rem;
  margin-bottom: clamp(2.8rem, 6.5vw, 4.6rem);
}

.eyebrow {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1rem;
}

.section-header h2,
.about-copy h2,
.contact h2 {
  font-size: clamp(3.2rem, 8vw, 5.4rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1.22rem;
  line-height: 1.7;
  max-width: 42rem;
}

/* Services */

.service-grid {
  display: grid;
  gap: 1.35rem;
}

.service {
  padding: 2.15rem 1.8rem 2.2rem;
  background: var(--bg-elevated);
  border-top: 1px solid var(--gold);
  transition: transform 0.45s var(--ease), background 0.45s var(--ease);
}

.service:hover {
  background: #161412;
  transform: translateY(-3px);
}

.service-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  margin-bottom: 1.15rem;
}

.service h3 {
  font-size: clamp(2rem, 3.4vw, 2.5rem);
  margin-bottom: 0.5rem;
}

.service-scope {
  font-size: 1.05rem;
  color: var(--gold-mid);
  margin-bottom: 1.05rem;
}

.service p:last-child {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (min-width: 700px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* Gallery — editorial */

.gallery {
  background: #050505;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #111;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s ease;
  filter: saturate(0.96);
}

.gallery-item:nth-child(1) img { object-position: 50% 18%; }
.gallery-item:nth-child(2) img { object-position: 50% 20%; }
.gallery-item:nth-child(3) img { object-position: 50% 45%; }
.gallery-item:nth-child(4) img { object-position: 50% 18%; }

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18));
  transition: border-color 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
  filter: saturate(1);
}

.gallery-item:hover::after,
.gallery-item:focus-visible::after {
  border-color: var(--gold);
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
  }

  .gallery-item {
    aspect-ratio: 4 / 5;
  }
}

/* Pricing */

.pricing {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(222, 172, 103, 0.07), transparent 48%),
    #000;
}

.price-grid {
  display: grid;
  gap: 1.35rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.4rem 1.9rem 2rem;
  background: var(--bg-elevated);
  border: 1px solid rgba(222, 172, 103, 0.22);
  border-top: 1px solid var(--gold);
  min-height: 22rem;
  transition: border-color 0.35s ease, transform 0.45s var(--ease), background 0.35s ease;
}

.price-card:hover {
  border-color: var(--gold);
  background: #141210;
  transform: translateY(-4px);
}

.price-card--featured {
  background:
    linear-gradient(180deg, rgba(222, 172, 103, 0.08), transparent 42%),
    var(--bg-elevated);
  border-color: rgba(222, 172, 103, 0.45);
}

.price-label {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.15rem;
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 4.4rem);
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 0.55rem;
}

.price-amount--text {
  font-size: clamp(2.4rem, 5vw, 3.3rem);
  letter-spacing: 0.01em;
}

.price-term {
  font-size: 1.08rem;
  color: var(--gold-mid);
  margin-bottom: 1.15rem;
}

.price-copy {
  color: var(--text-muted);
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 1.8rem;
}

.price-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

@media (max-width: 899px) {
  .price-card .btn--small {
    width: 100%;
  }
}

@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    align-items: stretch;
  }

  .price-card {
    min-height: 26rem;
    padding: 2.6rem 2.1rem 2.15rem;
  }
}

/* About */

.about-grid {
  display: grid;
  gap: 2.8rem;
  align-items: center;
}

.about-visual {
  padding: 0 0.95rem 0.95rem 0;
}

.about-visual figure {
  position: relative;
  margin: 0;
}

.about-visual figure::before {
  content: "";
  position: absolute;
  inset: 1rem -1rem -1rem 1rem;
  border: 1px solid var(--gold);
  z-index: 0;
}

.about-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 40%;
}

.about-copy p + p {
  margin-top: 1.25rem;
  color: var(--text-muted);
  font-size: 1.18rem;
}

.about-copy p:nth-of-type(2) {
  color: var(--text);
  font-size: 1.28rem;
  line-height: 1.65;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5.5rem;
  }
}

/* Contact */

.contact {
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(222, 172, 103, 0.1), transparent 55%),
    var(--bg);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact .section-lead {
  margin-bottom: 2rem;
}

.contact-email {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4.5vw, 2.7rem);
  color: var(--text);
  margin-bottom: 2.1rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  word-break: break-word;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.8rem 0 2rem;
  color: var(--text-muted);
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4.5rem 3.5rem;
  animation: fade-in 0.35s var(--ease);
}

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

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  color: var(--text);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7rem;
  transition: color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover,
.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  color: var(--gold-soft);
}

.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
  color: var(--gold-soft);
  letter-spacing: 0.18em;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.7rem;
  letter-spacing: 0;
  padding: 0.85rem;
}

.lightbox-prev { left: 0.6rem; }
.lightbox-next { right: 0.6rem; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gallery-item:focus-visible,
.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}

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

  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-image {
    animation: none;
    transform: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 479px) {
  .wrap,
  .header-inner {
    width: min(100% - 1.5rem, var(--wrap));
  }

  .hero-content {
    width: min(100% - 1.5rem, 54rem);
    padding: calc(var(--header-h) + 0.35rem) 0 2.6rem;
  }

  .brand--hero {
    width: min(22.5rem, 88%);
    margin-bottom: 0.9rem;
  }

  .brand--hero .brand-img {
    max-height: min(32vh, 15.5rem);
  }

  .hero-quote {
    font-size: clamp(1.38rem, 6.4vw, 1.72rem);
    margin-bottom: 0.95rem;
    font-weight: 500;
  }

  .hero-tagline {
    max-width: 22rem;
  }

  .btn {
    padding: 0.95rem 1.3rem;
    letter-spacing: 0.1em;
  }

  .lightbox {
    padding: 4rem 1rem;
  }

  .brand--nav .brand-img {
    height: 2.3rem;
    max-width: 11rem;
  }

  .price-card {
    min-height: 0;
    padding: 2.1rem 1.5rem 1.8rem;
  }
}


@media (max-height: 740px) and (min-width: 700px) {
  .brand--hero {
    width: min(22rem, 70%);
    margin-bottom: 0.85rem;
  }

  .brand--hero .brand-img {
    max-height: min(34vh, 16.5rem);
  }

  .hero-quote {
    font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  }
}
