/* ===========================================================
   Opus Aperture — Styles
   Luxury minimal meets cinematic
   =========================================================== */

:root {
  --c-black:      #0A0A0A;
  --c-rich:       #141414;
  --c-card:       #171717;
  --c-line:       #262626;
  --c-white:      #FFFFFF;
  --c-off-white:  #F5F5F3;
  --c-gray:       #6B6B6B;
  --c-gray-dim:   #3a3a3a;
  --c-gold:       #C9A96E;
  --c-gold-dim:   #8a7446;

  --f-serif: "Cormorant Garamond", "Libre Baskerville", Georgia, serif;
  --f-sans:  "Outfit", -apple-system, "Segoe UI", sans-serif;

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}
body {
  font-family: var(--f-sans);
  background: var(--c-black);
  color: var(--c-off-white);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
  width: 100%;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-serif); font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; color: inherit; cursor: pointer; }
em { font-style: italic; color: var(--c-gold); }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

main { position: relative; overflow-x: clip; }

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

/* Typography */
.eyebrow {
  display: inline-block;
  font-family: var(--f-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  padding-bottom: 0.5rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--c-gold);
  margin-right: 14px;
  vertical-align: middle;
}

.section-head {
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 680px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.center .eyebrow::before { display: none; }
.section-head.center .eyebrow { padding-left: 0; }
.section-head h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1;
  margin-top: 0.75rem;
}
.section-head .section-lead {
  margin-top: 1.25rem;
  color: var(--c-gray);
  font-size: 1.05rem;
  max-width: 56ch;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  font-family: var(--f-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(5px); }

.btn-primary {
  background: var(--c-off-white);
  color: var(--c-black);
}
.btn-primary:hover {
  background: var(--c-gold);
  color: var(--c-black);
}

.btn-ghost {
  background: transparent;
  color: var(--c-off-white);
  border-color: rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}

.btn-gold {
  background: var(--c-gold);
  color: var(--c-black);
}
.btn-gold:hover {
  background: var(--c-off-white);
}

/* ===========================================================
   Aperture (shared)
   =========================================================== */
.aperture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.aperture-ring {
  fill: none;
  stroke: var(--c-off-white);
  stroke-width: 1.25;
  opacity: 0.9;
  vector-effect: non-scaling-stroke;
}
.aperture-blades {
  clip-path: url(#apertureClip);
}
.aperture-blades path {
  stroke: var(--c-off-white);
  stroke-width: 0.8;
  stroke-linejoin: miter;
  vector-effect: non-scaling-stroke;
}

/* ===========================================================
   Intro overlay
   =========================================================== */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--c-black);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.intro-aperture {
  width: 82vmin;
  height: 82vmin;
  will-change: transform;
  transition: transform 0.85s var(--ease-in-out);
}

/* Camera flash overlay — briefly pulses white at the peak of the aperture opening */
.intro-flash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
}
.intro-flash.fire {
  animation: introFlashPulse 550ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes introFlashPulse {
  0%   { opacity: 0; }
  12%  { opacity: 1; }
  22%  { opacity: 0.95; }
  100% { opacity: 0; }
}

/* ===========================================================
   Header
   =========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: 1.2rem var(--gutter);
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-12px);
  transition-property: background, backdrop-filter, padding, border-color, opacity, transform;
  transition-duration: 0.55s;
  transition-timing-function: var(--ease-out);
}
body.loaded .header {
  opacity: 1;
  transform: translateY(0);
}
.header.scrolled {
  background: rgba(10,10,10,0.82);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom-color: rgba(255,255,255,0.06);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.logo-img {
  display: block;
  height: 80px;
  width: auto;
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) 0.15s, height 0.35s var(--ease-out);
}
body.loaded .logo-img { opacity: 1; }
.header.scrolled .logo-img { height: 64px; }

/* Keep legacy logo-aperture/logo-text styles for the footer */
.logo-aperture {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--f-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-off-white);
}
.logo-sep { color: var(--c-gold); margin: 0 0.2em; }

/* Split nav on desktop — two groups flanking the centered logo */
.nav-split {
  display: flex;
  gap: 2.4rem;
  align-items: center;
}
.nav-split.nav-left  { grid-column: 1; justify-self: end;   }
.nav-split.nav-right { grid-column: 3; justify-self: start; }
.nav-split a {
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,245,243,0.78);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease-out);
}
.nav-split a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav-split a:hover { color: var(--c-off-white); }
.nav-split a:hover::after { transform: scaleX(1); transform-origin: left; }

/* Mobile dropdown nav (hidden on desktop) */
.nav-mobile { display: none; }

.nav-toggle {
  display: none;
  grid-column: 1;
  justify-self: start;
  width: 34px;
  height: 30px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.nav-toggle span {
  width: 100%; height: 1px; background: var(--c-off-white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===========================================================
   Hero
   =========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -10% 0 0 0;
  z-index: 0;
  background: #020202;
  will-change: transform;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("../assets/images/hidden-hills.webp") center / cover no-repeat;
  opacity: 0.32;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 100% 80% at 50% 50%, rgba(0,0,0,0.35), rgba(0,0,0,0.75) 95%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.7;
}
.hero-aperture {
  position: absolute;
  top: 50vh;
  right: -18vmin;
  width: 80vmin;
  height: 80vmin;
  z-index: 5;
  transform: translateY(-50%) rotate(0deg);
  will-change: transform;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease-out) 0.4s;
}
body.loaded .hero-aperture { opacity: 1; }
.hero-aperture .aperture-ring {
  stroke: rgba(201,169,110,0.55);
  stroke-width: 1;
}
.hero-aperture .aperture-blades path {
  fill: rgba(20,20,20,0.55);
  stroke: rgba(201,169,110,0.35);
  stroke-width: 0.6;
}

.hero-eyebrow {
  color: #F2C96B;
}
.hero-eyebrow::before {
  background: #F2C96B;
}
.hero-title .accent,
.hero-subtitle .accent {
  color: #F2C96B;
}
.hero-title .accent {
  text-shadow:
    0 0 14px rgba(242,201,107,0.55),
    0 0 32px rgba(242,201,107,0.35),
    0 0 64px rgba(201,169,110,0.22);
}

/* Viewfinder corner ticks — camera HUD flourish.
   Top inset clears the centered logo + header padding. */
.viewfinder {
  position: absolute;
  top: clamp(7rem, 11vw, 10rem);
  right: clamp(1.5rem, 3vw, 2.75rem);
  bottom: clamp(1.5rem, 3vw, 2.75rem);
  left: clamp(1.5rem, 3vw, 2.75rem);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) 0.6s;
}
body.loaded .viewfinder { opacity: 1; }
.vf-tick {
  position: absolute;
  width: clamp(22px, 2.2vw, 34px);
  height: clamp(22px, 2.2vw, 34px);
  border: 1.25px solid rgba(242,201,107,0.6);
}
.vf-tl { top: 0;    left: 0;  border-right: 0; border-bottom: 0; }
.vf-tr { top: 0;    right: 0; border-left: 0;  border-bottom: 0; }
.vf-bl { bottom: 0; left: 0;  border-right: 0; border-top: 0; }
.vf-br { bottom: 0; right: 0; border-left: 0;  border-top: 0; }

/* EXIF metadata strip — camera overlay typography */
.exif {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.75rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(242,201,107,0.25);
  background: rgba(10,10,10,0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-family: "SFMono-Regular", "JetBrains Mono", "Consolas", "Menlo", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,245,243,0.78);
}
.exif-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e74c3c;
  box-shadow: 0 0 8px rgba(231,76,60,0.7);
  animation: exifBlink 1.4s ease-in-out infinite;
}
.exif-label {
  color: #F2C96B;
  font-weight: 600;
}
.exif-val {
  position: relative;
  padding-left: 1.1rem;
}
.exif-val::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 10px;
  background: rgba(242,201,107,0.3);
  transform: translateY(-50%);
}
@keyframes exifBlink {
  0%, 60%, 100% { opacity: 1; }
  70%, 90% { opacity: 0.2; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 4rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease-out) 0.2s, transform 1s var(--ease-out) 0.2s;
}
body.loaded .hero-content {
  opacity: 1;
  transform: translateY(0);
}
.hero-title {
  font-size: clamp(3.8rem, 11vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
  font-weight: 400;
}
.hero-subtitle {
  margin-top: 1.75rem;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--c-off-white);
  max-width: 44ch;
  font-weight: 300;
}
.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--c-gray);
  opacity: 0;
  transition: opacity 1s var(--ease-out) 0.8s;
}
body.loaded .hero-scroll { opacity: 1; }
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--c-gold), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 30%;
  background: var(--c-off-white);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(300%); }
}

/* ===========================================================
   Portfolio
   =========================================================== */
.portfolio {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--c-black);
  position: relative;
}
.portfolio::before {
  content: "";
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-gold-dim) 50%, transparent);
  opacity: 0.5;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--c-rich);
}
.gallery-item.size-lg { grid-column: span 4; grid-row: span 3; }
.gallery-item.size-md { grid-column: span 3; grid-row: span 2; }
.gallery-item.size-sm { grid-column: span 2; grid-row: span 2; }

.photo {
  position: absolute;
  inset: 0;
  background-color: var(--c-rich);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 1.4s var(--ease-out);
}
.photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.5) 100%);
}

.gallery-item:hover .photo { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.75));
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  z-index: 2;
}
.gallery-item.revealed:hover figcaption { opacity: 1; transform: translateY(0); }
.gallery-item figcaption .name {
  font-family: var(--f-serif);
  font-size: 1.3rem;
  color: var(--c-white);
  letter-spacing: 0.01em;
}
.gallery-item figcaption .loc {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-gold);
}

/* Reveal aperture overlay */
.reveal-aperture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.55s var(--ease-out) 0.6s;
}
.reveal-cover {
  fill: var(--c-black);
}
.reveal-aperture .aperture-ring {
  stroke: rgba(242,201,107,0.8);
  stroke-width: 1.4;
}
.reveal-aperture .aperture-blades path {
  fill: var(--c-black);
  stroke: rgba(242,201,107,0.6);
  stroke-width: 1;
}
.gallery-item.revealed .reveal-aperture {
  opacity: 0;
}

/* ===========================================================
   Services
   =========================================================== */
.services {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: linear-gradient(180deg, var(--c-black) 0%, #0d0d0d 100%);
  position: relative;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  padding: 2.25rem 1.75rem 2rem;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 2px;
  position: relative;
  transition: transform 0.5s var(--ease-out), border-color 0.5s var(--ease-out), background 0.5s var(--ease-out);
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  transition: width 0.5s var(--ease-out);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201,169,110,0.3);
  background: #1a1a1a;
}
.service-card:hover::before { width: 100%; }

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--c-gold);
  margin-bottom: 1.75rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--c-gray);
  line-height: 1.6;
}

/* ===========================================================
   About
   =========================================================== */
.about {
  padding: clamp(5rem, 10vw, 9rem) 0;
  background: var(--c-rich);
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.about-photo-inner {
  position: absolute;
  inset: 0;
  background: #0a0a0a url("../assets/images/photographer.webp") center / cover no-repeat;
}
.about-photo-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.55) 100%);
}
.about-photo-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--c-gold);
  z-index: -1;
  opacity: 0.5;
}

.about-text h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1;
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}
.about-text p {
  color: var(--c-gray);
  font-size: 1rem;
  margin-bottom: 1.1rem;
  max-width: 60ch;
}

.stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--c-line);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 500;
  color: var(--c-off-white);
  line-height: 1;
  display: inline-block;
}
.stat-suffix {
  font-family: var(--f-serif);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--c-gold);
  vertical-align: top;
}
.stat-label {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray);
}

/* ===========================================================
   CTA
   =========================================================== */
.cta {
  position: relative;
  padding: clamp(5rem, 10vw, 9rem) var(--gutter);
  background: var(--c-black);
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.08), transparent 55%),
    linear-gradient(180deg, var(--c-black) 0%, #050505 100%);
}
.cta-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.6;
  mix-blend-mode: screen;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 780px;
}
.cta-aperture {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: clamp(340px, 60vmin, 620px);
  height: clamp(340px, 60vmin, 620px);
  z-index: 0;
  opacity: 0.95;
}
.cta-aperture .aperture-ring {
  stroke: rgba(201,169,110,0.5);
  stroke-width: 1;
}
.cta-aperture .aperture-blades path {
  stroke: rgba(201,169,110,0.35);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
  max-width: 500px;
}
.cta-content .eyebrow::before { display: none; }
.cta-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1;
  margin: 0.75rem 0 1rem;
}
.cta-content p {
  color: var(--c-gray);
  margin-bottom: 2rem;
}

/* ===========================================================
   Footer
   =========================================================== */
.footer {
  background: #050505;
  padding: clamp(3.5rem, 7vw, 6rem) 0 2rem;
  border-top: 1px solid var(--c-line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-aperture { width: 32px; height: 32px; }
.footer-tagline {
  color: var(--c-gray);
  font-size: 0.92rem;
  max-width: 38ch;
}
.footer-col h4 {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}
.footer-col a, .footer-col span {
  display: block;
  font-size: 0.92rem;
  color: var(--c-gray);
  margin-bottom: 0.6rem;
  transition: color 0.3s var(--ease-out);
}
.footer-col a:hover { color: var(--c-off-white); }
.socials {
  display: flex;
  gap: 0.75rem;
}
.socials a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  color: var(--c-gray);
  transition: all 0.3s var(--ease-out);
  margin: 0;
}
.socials a:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--c-line);
  display: flex;
  justify-content: space-between;
  color: var(--c-gray);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 1024px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
  .gallery-item.size-lg { grid-column: span 4; grid-row: span 3; }
  .gallery-item.size-md { grid-column: span 2; grid-row: span 2; }
  .gallery-item.size-sm { grid-column: span 2; grid-row: span 2; }

  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) and (min-width: 721px) {
  /* Tight — shrink gap and the least-important labels */
  .nav-split { gap: 1.4rem; }
  .nav-split a { font-size: 0.68rem; letter-spacing: 0.16em; }
}
@media (max-width: 720px) {
  .nav-split { display: none; }
  .nav-toggle { display: flex; }

  .nav-mobile {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6rem var(--gutter) 2rem;
    background: rgba(8,8,8,0.97);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s var(--ease-out), opacity 0.35s var(--ease-out);
    pointer-events: none;
    z-index: 1;
  }
  .nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-mobile a {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--c-line);
    font-family: var(--f-serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-off-white);
  }
  .nav-mobile a:last-child { border-bottom: 0; }

  .logo-img { height: 58px; }
  .header.scrolled .logo-img { height: 48px; }

  .hero-title { font-size: clamp(3.4rem, 15vw, 6rem); }
  .hero-scroll { display: none; }
  .hero-aperture {
    width: 85vw;
    height: 85vw;
    right: -18vw;
    top: 72%;
    opacity: 0.5;
    transform: translateY(-50%);
    z-index: 0;
  }
  /* Let service cards + the about photo paint over the floating aperture */
  .service-card,
  .about-photo {
    z-index: 2;
  }

  /* Shrink EXIF on mobile and drop the two least-important fields */
  .exif {
    gap: 0.7rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .exif-val { padding-left: 0.75rem; }
  .exif-val:nth-child(5),
  .exif-val:nth-child(6) { display: none; }

  .viewfinder { inset: 1rem; }
  .vf-tick { width: 18px; height: 18px; }

  /* Mobile reveal: SVG background hides the photo (one cheap property),
     blades render as stroke-only wireframe (no fill compositing cost),
     aperture opens then the whole overlay fades out. */
  .reveal-aperture {
    background: var(--c-black);
    transition: opacity 0.55s var(--ease-out) 0.5s;
  }
  .reveal-aperture .reveal-cover { display: none; }
  .reveal-aperture .aperture-blades path {
    fill: transparent;
    stroke: rgba(242,201,107,0.75);
    stroke-width: 1.1;
  }
  .reveal-aperture .aperture-ring {
    stroke: rgba(242,201,107,0.9);
    stroke-width: 1.4;
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .gallery-item.size-lg,
  .gallery-item.size-md,
  .gallery-item.size-sm {
    grid-column: span 1;
    grid-row: span 1;
  }

  .service-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .stats { flex-wrap: wrap; gap: 1.5rem; }

  .btn { padding: 0.85rem 1.4rem; font-size: 0.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01s !important;
    transition-duration: 0.01s !important;
  }
}
