/* ============================================================
   G Marketing Agency — Immersive edition
   ============================================================ */
:root {
  --bg: #FFFFFF;
  --bg-alt: #F6F4EF;
  --ink: #14141C;
  --ink-soft: #5B5A55;
  --navy: #1B2540;
  --navy-deep: #0E1424;
  --navy-soft: #2C3858;
  --gold: #B08D57;
  --gold-light: #D9C6A0;
  --gold-pale: #F1E9DA;
  --line: #E6E1D6;
  --line-on-navy: rgba(217, 198, 160, 0.28);
  --white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1160px;
  --pad: clamp(24px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); display: inline-block; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
section { position: relative; }

/* ============================================================
   Film-grain ambience — fixed, ultra-subtle, ties to the
   photography subject without being a gimmick.
   ============================================================ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 998;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   Preloader — an iris opening, like a shutter, revealing the site.
   ============================================================ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloader-out 0.5s var(--ease) 1.35s forwards;
}
.preloader-ring {
  width: 64px; height: 64px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  position: relative;
  animation: ring-pop 1s var(--ease) 0.1s forwards;
}
.preloader-ring::after {
  content: "";
  position: absolute; inset: -14px;
  border: 1px solid var(--line-on-navy);
  border-radius: 50%;
}
@keyframes ring-pop {
  0% { transform: scale(0.4); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: scale(48); opacity: 0; }
}
@keyframes preloader-out {
  to { opacity: 0; visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader { display: none; }
}

/* ============================================================
   Scroll progress — a thin filmstrip line under the nav.
   ============================================================ */
.progress-rail {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 101;
  background: transparent;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  transition: width 0.08s linear;
}

/* ============================================================
   Custom cursor — a viewfinder reticle
   ============================================================ */
.cursor-ring, .cursor-dot {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 997;
  transform: translate(-50%, -50%);
  will-change: transform;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid var(--gold);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), border-color 0.25s var(--ease), opacity 0.25s;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--gold);
}
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--gold); background: rgba(176,141,87,0.08); }
.has-custom-cursor, .has-custom-cursor a, .has-custom-cursor button { cursor: none; }
@media (hover: none), (pointer: coarse) {
  .cursor-ring, .cursor-dot { display: none; }
}

/* ============================================================
   Signature bracket motif (kept from base identity)
   ============================================================ */
.brackets { position: relative; }
.brackets::before, .brackets::after, .brackets .bl, .brackets .br {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid var(--gold);
  opacity: 0.85;
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}
.brackets::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.brackets::after { top: -1px; right: -1px; border-left: none; border-bottom: none; }
.brackets .bl { bottom: -1px; left: -1px; border-right: none; border-top: none; }
.brackets .br { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.brackets:hover::before, .brackets:hover::after, .brackets:hover .bl, .brackets:hover .br { width: 30px; height: 30px; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { width: 38px; height: 38px; }
.nav-logo-text { font-family: var(--font-display); font-size: 15px; letter-spacing: 2px; color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: 13px; font-weight: 500; letter-spacing: 0.3px; }
.nav-links a { color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { border: 1px solid var(--ink); padding: 10px 20px; font-size: 13px; font-weight: 500; transition: all 0.25s var(--ease); }
.nav-cta:hover { background: var(--ink); color: var(--white); }

/* ============================================================
   Hero — full viewport, parallax layers, kinetic type
   ============================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 82% 18%, rgba(217,198,160,0.10), transparent 55%),
    linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 60%);
  color: var(--white);
  padding: 140px var(--pad) 80px;
  overflow: hidden;
  position: relative;
}
.hero .wrap { display: flex; align-items: center; gap: 64px; padding-left: 0; padding-right: 0; width: 100%; }
.hero-copy { flex: 1.1; min-width: 0; }
.hero-visual { flex: 0.85; display: flex; justify-content: center; }
.hero .eyebrow { color: var(--gold-light); margin-bottom: 26px; }
.hero .eyebrow::before { background: var(--gold-light); }

.kinetic { font-size: clamp(38px, 4.8vw, 62px); color: var(--white); margin-bottom: 26px; }
.kinetic .line { overflow: hidden; display: block; }
.kinetic .line span { display: inline-block; transform: translateY(110%); animation: line-up 0.9s var(--ease-soft) forwards; }
.kinetic .line:nth-child(1) span { animation-delay: 0.55s; }
.kinetic .line:nth-child(2) span { animation-delay: 0.68s; }
.kinetic em { font-style: italic; color: var(--gold-light); }
@keyframes line-up { to { transform: translateY(0); } }

.hero-sub { font-size: 17px; color: rgba(255,255,255,0.72); max-width: 480px; margin-bottom: 40px; opacity: 0; animation: fade-up 0.8s var(--ease-soft) 1.05s forwards; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; opacity: 0; animation: fade-up 0.8s var(--ease-soft) 1.2s forwards; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 600; letter-spacing: 0.5px;
  border: 1px solid var(--gold); background: var(--gold); color: var(--navy-deep);
  transition: all 0.25s var(--ease); cursor: pointer;
}
.btn:hover { background: transparent; color: var(--gold-light); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); background: transparent; }

.aperture { width: min(360px, 100%); aspect-ratio: 1; position: relative; opacity: 0; animation: fade-up 1s var(--ease-soft) 0.3s forwards; }
.aperture svg { width: 100%; height: 100%; }
.spin-slow { animation: spin 60s linear infinite; }
.spin-slow-rev { animation: spin-rev 90s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }

.scroll-cue {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 10.5px; letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; animation: fade-up 0.8s var(--ease-soft) 1.5s forwards;
}
.scroll-cue .stem { width: 1px; height: 34px; background: linear-gradient(var(--gold-light), transparent); position: relative; overflow: hidden; }
.scroll-cue .stem::after { content:""; position:absolute; top:-34px; left:0; width:100%; height:100%; background: var(--gold-light); animation: stem-run 1.8s ease-in-out infinite; }
@keyframes stem-run { to { top: 34px; } }

/* ============================================================
   Marquee ribbon
   ============================================================ */
.marquee-strip {
  background: var(--ink);
  overflow: hidden;
  padding: 22px 0;
  white-space: nowrap;
}
.marquee-track { display: inline-flex; animation: marquee 32s linear infinite; }
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--gold-light);
  padding: 0 34px;
  display: inline-flex;
  align-items: center;
  gap: 34px;
}
.marquee-track span::after { content: "—"; color: rgba(217,198,160,0.35); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   Section headers / general
   ============================================================ */
.section { padding: 128px var(--pad); }
.section-head { max-width: 640px; margin-bottom: 60px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 42px); margin-top: 18px; }
.section-head p { color: var(--ink-soft); font-size: 16px; margin-top: 16px; max-width: 520px; }
.section-alt { background: var(--bg-alt); }

/* ============================================================
   Who we serve — expanding split panels
   ============================================================ */
.split {
  display: flex;
  min-height: 520px;
  border: 1px solid var(--line);
}
.split-panel {
  flex: 1;
  position: relative;
  padding: 48px 40px;
  transition: flex 0.6s var(--ease);
  overflow: hidden;
  cursor: pointer;
}
.split-panel + .split-panel { border-left: 1px solid var(--line); }
.split-panel.dark { background: var(--navy); color: var(--white); }
.split-panel.dark h3 { color: var(--white); }
.split:hover .split-panel { flex: 0.82; }
.split:hover .split-panel:hover { flex: 1.5; }
.split-num { font-family: var(--font-display); font-size: 15px; color: var(--gold); margin-bottom: 30px; }
.split-panel.dark .split-num { color: var(--gold-light); }
.split-panel h3 { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 8px; }
.split-tag { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 28px; }
.split-panel.dark .split-tag { color: rgba(255,255,255,0.55); }
.split-panel ul { list-style: none; opacity: 0; transform: translateX(10px); transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s; white-space: normal; }
.split:hover .split-panel ul { opacity: 0.55; }
.split:hover .split-panel:hover ul { opacity: 1; transform: translateX(0); }
.split-panel:not(:hover) ul { opacity: 0.85; transform: none; }
.split-panel li { position: relative; padding-left: 22px; margin-bottom: 14px; font-size: 14px; line-height: 1.55; white-space: normal; }
.split-panel li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 1px; background: var(--gold); }
.split-panel.dark li::before { background: var(--gold-light); }
@media (max-width: 780px) {
  .split { flex-direction: column; min-height: 0; }
  .split-panel, .split:hover .split-panel, .split:hover .split-panel:hover { flex: none; }
  .split-panel + .split-panel { border-left: none; border-top: 1px solid var(--line); }
  .split-panel ul, .split:hover .split-panel ul, .split:hover .split-panel:hover ul { opacity: 1; transform: none; }
}

/* ============================================================
   Capabilities marquee-adjacent band (kept for structure info)
   ============================================================ */
.capabilities { background: var(--navy); padding: 56px var(--pad); }
.cap-inner { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px; }
.cap-label { font-family: var(--font-display); font-style: italic; color: var(--gold-light); font-size: 18px; }
.cap-list { display: flex; flex-wrap: wrap; gap: 0; flex: 1; justify-content: flex-end; }
.cap-list span { color: rgba(255,255,255,0.82); font-size: 13.5px; padding: 0 20px; border-left: 1px solid var(--line-on-navy); }
.cap-list span:first-child { border-left: none; }

/* ============================================================
   Process — scroll-linked filmstrip timeline
   ============================================================ */
.timeline { position: relative; padding-left: 48px; }
.timeline-rail { position: absolute; left: 8px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-fill { position: absolute; left: 8px; top: 6px; width: 1px; height: 0%; background: var(--gold); transition: height 0.1s linear; }
.timeline-item { position: relative; padding-bottom: 64px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: absolute; left: -48px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.timeline-item.active .timeline-dot { border-color: var(--gold); }
.timeline-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background 0.3s; }
.timeline-item.active .timeline-dot::after { background: var(--gold); }
.timeline-num { font-family: var(--font-display); font-size: 14px; color: var(--gold); margin-bottom: 6px; }
.timeline-item h4 { font-size: 19px; margin-bottom: 8px; font-family: var(--font-display); font-weight: 500; }
.timeline-item p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; max-width: 520px; }

/* ============================================================
   Shoot-day contact sheet — horizontal scroll gallery
   ============================================================ */
.filmstrip-wrap { position: relative; }
.filmstrip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding-bottom: 24px;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.filmstrip.dragging { cursor: grabbing; scroll-snap-type: none; }
.filmstrip::-webkit-scrollbar { height: 5px; }
.filmstrip::-webkit-scrollbar-thumb { background: var(--gold-light); }
.frame {
  flex: 0 0 280px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
  user-select: none;
}
.frame:hover { border-color: var(--gold); transform: translateY(-4px); }
.frame-tag { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.frame-icon { width: 34px; height: 34px; color: var(--gold); }
.frame-title { font-family: var(--font-display); font-size: 18px; }
.filmstrip-hint { font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.filmstrip-hint svg { width: 16px; height: 16px; }

/* ============================================================
   Pricing — tilt cards
   ============================================================ */
.tiers { display: flex; gap: 0; border: 1px solid var(--line); perspective: 1200px; }
.tier { flex: 1; padding: 40px 32px; border-left: 1px solid var(--line); transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease); will-change: transform; }
.tier:first-child { border-left: none; }
.tier.featured { background: var(--navy); color: var(--white); }
.tier-name { font-family: var(--font-display); font-size: 20px; margin-bottom: 6px; }
.tier.featured .tier-name { color: var(--gold-light); }
.tier-price { font-size: 13px; color: var(--ink-soft); margin-bottom: 22px; }
.tier.featured .tier-price { color: rgba(255,255,255,0.65); }
.tier-desc { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.tier.featured .tier-desc { color: rgba(255,255,255,0.75); }
.tier-badge { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); padding: 3px 10px; display: inline-block; margin-bottom: 16px; }

/* ============================================================
   CTA
   ============================================================ */
.cta { background: var(--navy-deep); color: var(--white); padding: 148px var(--pad); text-align: center; overflow: hidden; position: relative; }
.cta-ring {
  position: absolute; left: 50%; top: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line-on-navy);
  border-radius: 50%;
  pointer-events: none;
}
.cta-ring.r2 { width: 650px; height: 650px; }
.cta h2 { color: var(--white); font-size: clamp(30px, 4.4vw, 52px); max-width: 780px; margin: 0 auto 36px; position: relative; }
.cta h2 em { color: var(--gold-light); font-style: italic; }
.cta-actions { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 56px; position: relative; }
.cta-contacts { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,0.62); letter-spacing: 0.3px; position: relative; }

/* ============================================================
   Footer
   ============================================================ */
.footer { padding: 48px var(--pad); border-top: 1px solid var(--line); }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo svg { width: 26px; height: 26px; }
.footer-links { display: flex; gap: 26px; font-size: 12.5px; color: var(--ink-soft); }
.footer-copy { font-size: 12px; color: var(--ink-soft); }

/* ============================================================
   Reveal-on-scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero .wrap { flex-direction: column; }
  .hero { padding-top: 120px; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .aperture { width: 210px; }
  .tiers { flex-direction: column; }
  .tier { border-left: none; border-top: 1px solid var(--line); }
  .tier:first-child { border-top: none; }
  .cap-inner { flex-direction: column; align-items: flex-start; }
  .cap-list { justify-content: flex-start; }
  .cap-list span:first-child { padding-left: 0; }
  .cta-ring { display: none; }
}
