/* =========================================================
   DIAMOND PHOTOGRAPHY — Cinematic Wedding Photography
   Mobile-first. Base = 320–767px. Enhanced at 768 / 1024.
   ========================================================= */

:root{
  /* ---- color tokens — dark, moody black + maroon palette ---- */
  --bg-cream:      #0A0605;   /* base near-black, warm undertone */
  --bg-cream-alt:  #170D0C;   /* alternate section tone — adds depth between sections */
  --surface:       #1D1211;   /* raised surface (cards/contact/packages) */
  --maroon:        #A32E2E;   /* saturated enough to read clearly against black */
  --maroon-light:  #C24B45;   /* accent/hover highlight, one step brighter than --maroon */
  --maroon-dark:   #3B0C0C;   /* deep maroon base for hero/footer/loader */
  --ink:           #F1E6DC;   /* main text — warm off-white, not pure white (avoids halation) */
  --ink-soft:      #BBA89B;   /* secondary text */
  --gold:          #CC9F55;   /* warm champagne gold — more luxurious than a flat mustard */
  --gold-soft:     rgba(204,159,85,.32);
  --white:         #F5EDE6;   /* used for text/borders on dark overlays, not as a surface */

  --ink-60:        rgba(241,230,220,.6);
  --ink-30:        rgba(241,230,220,.3);
  --line:          rgba(241,230,220,.12);
  --overlay-dark:  rgba(0,0,0,.68);

  /* ---- type ---- */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-hero: "Playfair Display", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-script: "Alex Brush", cursive;

  /* ---- fluid type scale ---- */
  --fs-hero:     clamp(2.4rem, 11.5vw, 7.4rem);
  --fs-h2:       clamp(2rem, 8vw, 4.6rem);
  --fs-h3:       clamp(1.6rem, 6vw, 2.6rem);
  --fs-quote:    clamp(2.4rem, 10vw, 6rem);
  --fs-lead:     clamp(1rem, 2.6vw, 1.25rem);
  --fs-body:     clamp(.95rem, 2vw, 1.05rem);
  --fs-label:    clamp(.68rem, 1.6vw, .78rem);

  /* ---- tracking scale — one consistent rhythm for every
     uppercase label instead of ad-hoc letter-spacing values ---- */
  --tracking-wide: .22em;
  --tracking-mid:  .12em;
  --tracking-tight:.04em;

  --gutter: clamp(20px, 6vw, 64px);
  --radius: 2px;
  --radius-btn: 3px;

  --ease-out: cubic-bezier(.16,.84,.44,1);
  --ease-soft: cubic-bezier(.6,.04,.28,1);
  --ease-arc: cubic-bezier(.34,1.56,.64,1);
}

/* ---------------------------------------------------------
   Reset
   --------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: auto; }
body{
  margin:0;
  background: var(--bg-cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: .012em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; background:none; border:none; cursor:pointer; color:inherit; }
input, textarea, select{ font-family:inherit; font-size:inherit; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,p,figure,blockquote{ margin:0; }

::selection{ background: var(--maroon); color: var(--white); }

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------
   Film grain — a fixed, low-opacity noise layer over the
   whole page so every section reads as one continuous reel
   rather than stacked flat-color blocks.
   --------------------------------------------------------- */
body::before{
  content:'';
  position: fixed; inset:0; z-index: 6000;
  pointer-events: none;
  opacity: .04;
  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");
  background-size: 180px;
}

/* Consistent warm film grade applied to every photograph on
   the site, so stock/placeholder imagery reads as one brand
   rather than assorted found photos. */
.hero__img, .p-item img, .package-card__media img, .t-entry__img img, .lightbox__figure img{
  filter: sepia(.1) saturate(1.08) contrast(1.05) brightness(.98);
}

/* ---------------------------------------------------------
   Chapter marker — the narrative spine. Every major section
   is a numbered "chapter" of the same story.
   --------------------------------------------------------- */
.chapter-tag{
  display:flex; align-items:center; gap: .85rem;
  margin-bottom: 1.1rem;
}
.chapter-tag__num{
  font-family: var(--font-display); font-style: italic; font-weight:400;
  font-size: clamp(.85rem, 2vw, 1rem);
  color: var(--gold);
}
.chapter-tag__rule{ width: 30px; height:1px; background: var(--gold); flex-shrink:0; }
.chapter-tag--light .chapter-tag__rule{ background: rgba(250,243,232,.6); }
.chapter-tag__label{
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight:600;
  color: var(--maroon);
}
.chapter-tag--light .chapter-tag__label{ color: rgba(250,243,232,.85); }

.section-heading{
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-h2);
  line-height: .98;
  letter-spacing: -.015em;
  color: var(--ink);
}
.script-accent{ font-family: var(--font-script); font-style:normal; font-weight:400; color: var(--maroon); }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .95em 1.7em;
  font-size: var(--fs-label);
  letter-spacing: var(--tracking-mid);
  text-transform: uppercase;
  font-weight: 600;
  border-radius: var(--radius-btn);
  overflow: hidden;
  isolation: isolate;
  transition: transform .45s var(--ease-out), color .35s ease, border-color .35s ease, letter-spacing .35s ease;
  white-space: nowrap;
}
.btn--solid{ background: var(--maroon); color: var(--white); }
.btn--solid::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: var(--maroon-dark);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.btn--solid:hover::before, .btn--solid:focus-visible::before{ transform: scaleX(1); }
.btn--solid:hover, .btn--solid:focus-visible{ letter-spacing: .16em; }
.btn--outline{ background: transparent; border: 1px solid var(--ink-30); color: var(--ink); }
.btn--outline::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.btn--outline:hover::before, .btn--outline:focus-visible::before{ transform: scaleX(1); }
.btn--outline:hover, .btn--outline:focus-visible{ color: var(--ink); border-color: var(--ink); }

/* Arrow reveal — used on the primary nav CTA; unfolds from the
   text rather than sitting there as a static glyph. */
.btn__arrow{
  display:inline-flex; align-items:center; justify-content:center;
  width:0; opacity:0; overflow:hidden;
  transition: width .4s var(--ease-out), opacity .35s ease, margin .4s var(--ease-out);
}
.btn__arrow svg{ width:13px; height:13px; flex-shrink:0; }
.btn:hover .btn__arrow, .btn:focus-visible .btn__arrow{ width:13px; opacity:1; margin-left:.15rem; }

/* =========================================================
   LOADER
   ========================================================= */
.loader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--maroon-dark);
  color: var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 1.2rem;
}
.loader__mark{
  width: 56px; height:56px; border-radius:50%;
  border:1px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
}
.loader__glyph{ font-size: 1.1rem; color:var(--gold); }
.loader__brand{ display:flex; flex-direction:column; align-items:center; gap:.3rem; overflow:hidden; }
.loader__brand-word{
  font-family: var(--font-hero);
  font-size: clamp(1.3rem, 6vw, 2.1rem);
  letter-spacing: .14em;
  font-weight: 800;
  font-style: normal;
}
.loader__tagline{
  font-size: var(--fs-label);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.loader__bar{ width: 160px; height:1px; background: rgba(255,255,255,.2); overflow:hidden; }
.loader__bar-fill{ display:block; width:0%; height:100%; background: var(--gold); }
.loader.is-done{ pointer-events:none; }

/* =========================================================
   NAVBAR — desktop: icon + label nav, centered, underline
   indicator on the active item (no pill/bubble fills).
   Mobile: logo + six icon-only destinations, no burger.
   True frosted-glass blur throughout, not a solid fill.
   ========================================================= */
.navbar{
  position: fixed; top:0; left:0; right:0; z-index: 500;
  padding: clamp(8px,3vw,18px) clamp(10px,3vw,20px);
}
.navbar__inner{
  position: relative;
  max-width: 1400px; margin:0 auto;
  display:flex; align-items:center; justify-content:space-between;
  gap: .6rem;
  padding: .5rem .6rem;
  background: rgba(36,18,14,.32);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(20,8,6,.16);
  transition: background-color .4s ease, box-shadow .4s ease, padding .4s ease;
}
.navbar__inner::before{
  /* thin gold hairline along the top edge — the same chapter-tag
     rule device used through the rest of the site, so the glass
     bar still reads as this brand's, not a generic frosted panel */
  content:''; position:absolute; top:0; left:14%; right:14%; height:1px;
  background: linear-gradient(90deg, transparent, rgba(184,134,59,.55), transparent);
}
.navbar.is-scrolled .navbar__inner{
  background: rgba(36,18,14,.58);
  box-shadow: 0 16px 44px rgba(20,8,6,.26);
}
.navbar__logo{
  display:flex; align-items:center; gap:.5rem;
  color: var(--ink);
  flex-shrink:0;
  padding-left: .4rem;
}
.navbar__logo-mark{
  width: 30px; height:30px; flex-shrink:0; border-radius:50%;
  border: 1px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size: .8rem; color: var(--gold);
}
.navbar__logo-text{
  display:none;
  font-family: var(--font-display);
  font-size: clamp(.85rem, 2.4vw, 1rem);
  letter-spacing: var(--tracking-mid);
  font-weight: 900;
}

/* Six destinations — visible as icons on every breakpoint,
   labels revealed once there is room. Active/hover state reads
   through color + a thin underline (or a single dot on mobile),
   never a filled pill behind the label. */
.navbar__links{
  position: relative;
  display:flex; align-items:center; gap: .1rem;
}
/* Sliding indicator — a soft gold capsule glides beneath whichever
   link is active/hovered (animated via GSAP in script.js) instead of
   the link color simply snapping between states. */
.navbar__indicator{
  position:absolute; top:0; left:0;
  height: 38px; width: 38px;
  border-radius: 999px;
  background: var(--gold-soft);
  border: 1px solid rgba(204,159,85,.4);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
}
.navbar__link{
  position: relative; z-index: 1;
  display:flex; align-items:center; justify-content:center; gap:.45rem;
  width: 38px; height:38px;
  color: rgba(250,243,232,.68);
  transition: color .3s ease;
  flex-shrink:0;
}
.navbar__link svg{ width:16px; height:16px; flex-shrink:0; transition: transform .35s var(--ease-out); }
.navbar__link span{ display:none; }
.navbar__link::after{
  content:''; position:absolute; left:50%; bottom:2px; translate:-50% 0;
  width:4px; height:4px; border-radius:50%; background: var(--gold);
  opacity:0; transform: scale(.4); transition: opacity .3s ease, transform .35s var(--ease-arc);
}
.navbar__link:hover{ color: var(--ink); }
.navbar__link:hover svg{ transform: translateY(-1px); }
.navbar__link.is-active{ color: var(--gold); }
.navbar__link.is-active::after{ opacity:1; transform: scale(1); }

.navbar__actions{ display:flex; align-items:center; gap: .5rem; flex-shrink:0; }
.navbar__book{ padding: .68em 1.05em .68em 1.2em; font-size: .6rem; }

@media (max-width: 767px){
  .navbar__book{ display:none; }
}

/* Desktop "Book Now" — a small nav pill isn't enough real estate to
   read as a premium CTA, so on desktop it gets its own treatment:
   a warm gradient fill, a gold hairline instead of a flat edge, and
   a lift + glow on hover rather than only the shared btn sweep. */
@media (min-width: 1024px){
  .navbar__book{
    padding: .85em 1.5em .85em 1.7em;
    font-size: .68rem;
    letter-spacing: .14em;
    background: linear-gradient(135deg, var(--maroon) 0%, var(--maroon-dark) 100%);
    border: 1px solid var(--gold-soft);
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s ease, letter-spacing .35s ease;
  }
  .navbar__book::before{ background: linear-gradient(135deg, var(--maroon-light) 0%, var(--maroon) 100%); }
  .navbar__book:hover, .navbar__book:focus-visible{
    transform: translateY(-2px);
    border-color: var(--gold);
    box-shadow: 0 10px 26px rgba(0,0,0,.45), 0 0 0 1px var(--gold-soft);
    letter-spacing: .18em;
  }
}

/* Floating WhatsApp — fixed, independent of navbar/scroll */
.whatsapp-fab{
  position: fixed; right: clamp(14px,4vw,28px); bottom: clamp(14px,4vw,28px);
  z-index: 600;
  width: 52px; height:52px; border-radius:50%;
  background: #25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
}
.whatsapp-fab svg{ width:26px; height:26px; }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position: relative;
  height: 100svh; min-height: 100svh;
  width:100%;
  overflow: hidden;
  background: var(--maroon-dark);
  z-index: 1;
}
.hero__media{ position:absolute; inset:0; }
.hero__img{ width:100%; height:100%; object-fit: cover; object-position: 50% 30%; will-change: transform; }
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,10,8,.55) 0%, rgba(20,10,8,.15) 38%, rgba(20,10,8,.25) 65%, rgba(20,10,8,.78) 100%);
}
.hero__content{
  position:relative; z-index:2;
  height:100%;
  display:flex; flex-direction:column;
  color: var(--ink);
}

.hero__center{
  flex:1;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  padding: clamp(90px,16vh,140px) var(--gutter) clamp(30px,6vh,56px);
}
.hero__center .chapter-tag{ justify-content:center; }
.hero__headline{
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: var(--fs-hero);
  line-height: .96;
  letter-spacing: -.005em;
}
.hero__headline .split-line{ display:block; }
.hero__script{
  font-family: var(--font-hero);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  letter-spacing: .04em;
  color: rgba(250,243,232,.82);
  margin-top: clamp(10px,2vh,18px);
  line-height: 1.3;
}
.hero__script em{ font-style: italic; font-weight:600; color: var(--gold); }
.hero__services{
  margin-top: clamp(14px,2.6vh,22px);
  font-size: var(--fs-label); letter-spacing:.18em; text-transform:uppercase; font-weight:600;
  color: rgba(250,243,232,.78); max-width: 44ch;
}

.hero__bottom{
  position:relative; z-index:2;
  display:flex; align-items:center; justify-content:space-between;
  gap: 1rem;
  padding: 0 var(--gutter) clamp(20px,4vh,32px);
  will-change: opacity;
}
.hero__bottom-item{
  font-size: var(--fs-label);
  letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  color: rgba(250,243,232,.82);
  white-space:nowrap;
}
.hero__bottom-left, .hero__bottom-right{ flex: 0 0 auto; }
.hero__bottom-quote{
  flex:1; text-align:center;
  font-family: var(--font-script); font-weight:400;
  letter-spacing:0; text-transform:none; font-size: clamp(1.1rem,2.6vw,1.4rem);
  color: var(--gold);
  overflow:hidden; text-overflow:ellipsis;
}
.hero__bottom-right{ color: rgba(250,243,232,.82); }

.hero__scroll-cta{
  margin-top: clamp(20px,4.5vh,36px);
  display:inline-flex; flex-direction:column; align-items:center; gap:.7rem;
  font-size: var(--fs-label); letter-spacing:.2em; text-transform:uppercase; font-weight:600;
  color: rgba(250,243,232,.75); width: fit-content;
  will-change: opacity;
}
.hero__scroll-line{ width:1px; height: 34px; background: var(--ink); position:relative; overflow:hidden; display:block; }
.hero__scroll-line::after{
  content:''; position:absolute; top:-100%; left:0; width:100%; height:100%;
  background: var(--gold);
  animation: scrollline 2.2s ease-in-out infinite;
}
@keyframes scrollline{ 0%{ top:-100%; } 60%{ top:100%; } 100%{ top:100%; } }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.portfolio{
  position: relative;
  background: var(--bg-cream);
  padding: clamp(70px,14vh,140px) 0 clamp(60px,10vh,120px);
  z-index: 3;
  border-radius: 28px 28px 0 0;
  margin-top: -28px;
}
.portfolio__top{ padding: 0 var(--gutter); max-width: 900px; margin-bottom: clamp(36px,6vh,64px); }
.portfolio__intro{ margin-top: 1.1rem; color: var(--ink-soft); font-size: var(--fs-lead); max-width: 46ch; }

.portfolio__grid{
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  grid-auto-flow: dense;
}
.p-item{
  position:relative; overflow:hidden;
  background: var(--line);
  cursor: pointer;
}
.p-item img{ width:100%; height:100%; object-fit:cover; transform: scale(1.08); will-change: transform; transition: transform .8s var(--ease-out); }
.p-item::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,10,8,.6) 100%);
  opacity:0; transition: opacity .4s ease;
}
.p-item figcaption{
  position:absolute; left:14px; bottom:12px; z-index:2;
  color: var(--white); font-size: .72rem; letter-spacing:.08em; text-transform:uppercase;
  opacity:0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.p-item--tall{ aspect-ratio: 3/4.4; }
.p-item--wide{ aspect-ratio: 4/3; grid-column: span 2; }
.p-item--square{ aspect-ratio: 1/1; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lightbox{
  position: fixed; inset:0; z-index: 8000;
  background: rgba(15,8,6,.96);
  display:flex; align-items:center; justify-content:center;
  padding: clamp(16px,5vw,48px);
}
.lightbox[hidden]{ display:none; }
.lightbox__figure{ max-width: 1100px; width:100%; max-height: 90vh; display:flex; flex-direction:column; align-items:center; gap: 1rem; }
.lightbox__figure img{ max-width:100%; max-height: 78vh; width:auto; object-fit:contain; border-radius: var(--radius); }
.lightbox__figure figcaption{ color: var(--ink); font-size:.8rem; letter-spacing:.1em; text-transform:uppercase; opacity:.8; text-align:center; }
.lightbox__close{
  position:absolute; top: clamp(14px,3vw,28px); right: clamp(14px,3vw,28px);
  width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.1); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
}
.lightbox__close svg{ width:18px; height:18px; }
.lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%; background: rgba(255,255,255,.1); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
}
.lightbox__nav svg{ width:20px; height:20px; }
.lightbox__prev{ left: clamp(10px,3vw,28px); }
.lightbox__next{ right: clamp(10px,3vw,28px); }
@media (min-width: 768px){
  .lightbox__close:hover, .lightbox__nav:hover{ background: var(--maroon); }
}

/* =========================================================
   PACKAGES — full-page sticky card-stacking parallax.
   ========================================================= */
.packages{
  position: relative;
  background: var(--bg-cream-alt);
  color: var(--ink);
  z-index: 4;
}
.packages__intro{
  position: relative; z-index: 2;
  padding: clamp(60px,12vh,110px) var(--gutter) clamp(30px,5vh,50px);
}
.packages__chapter{ margin-bottom: 0; }

.packages__stack{ position: relative; }

.package-card{
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--bg-cream);
  box-shadow: 0 -24px 60px rgba(0,0,0,.18);
}
.package-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:4px; z-index:4;
  background: var(--edge);
}
.package-card[data-index="0"]{ --edge: var(--maroon); }
.package-card[data-index="1"]{ --edge: var(--gold); }
.package-card[data-index="2"]{ --edge: var(--maroon-dark); }
.package-card[data-index="3"]{ --edge: var(--maroon); }

.package-card__media{ position:absolute; inset:0; z-index:0; overflow:hidden; }
.package-card__media img{
  width:100%; height:100%; object-fit:cover;
  will-change: transform;
}
.package-card__overlay{
  position:absolute; inset:0; z-index:1;
  background: linear-gradient(180deg, rgba(20,10,8,.08) 0%, rgba(20,10,8,.4) 55%, rgba(20,10,8,.9) 100%);
}

.package-card__content{
  position: relative; z-index: 2;
  padding: clamp(28px,6vh,64px) var(--gutter) clamp(50px,9vh,96px);
  display:flex; flex-direction:column; align-items:flex-start; gap: .7rem;
  max-width: 640px;
  color: var(--white);
}
.package-card__eyebrow{
  font-family: var(--font-body); font-weight:700;
  font-size: .7rem; letter-spacing:.3em; text-transform:uppercase; color: var(--gold);
}
.package-card__name{
  font-family: var(--font-display); font-weight:900; font-style:normal;
  text-transform: uppercase;
  font-size: clamp(2.4rem,9vw,4.4rem); letter-spacing:-.01em; line-height:.94;
}
.package-card__subtitle{
  font-size: .9rem; letter-spacing:.03em; color: rgba(255,255,255,.78);
}
.package-card__subtitle strong{ color: var(--gold); font-weight:700; }

.package-card__desc{ display:none; font-size: var(--fs-body); color: rgba(255,255,255,.8); max-width: 46ch; margin-top:.4rem; }
.package-card__tags{ display:none; flex-wrap:wrap; gap: .55rem; margin: .1rem 0 .3rem; }
.package-card__tags li{
  font-size: .66rem; letter-spacing:.08em; text-transform:uppercase;
  padding: .5em .9em; border: 1px solid rgba(255,255,255,.32); border-radius:999px;
  color: rgba(255,255,255,.85);
}
.package-card__content .btn--outline{ margin-top:.5rem; border-color: rgba(255,255,255,.5); color: var(--white); }
.package-card__content .btn--outline:hover{ background: var(--white); color: var(--ink); border-color: var(--white); }

/* ---------------------------------------------------------
   Desktop — image/text move opposite directions (JS-driven),
   solid cream text panel + full-height photo panel, no
   image border, editorial (non pricing-card) typography.
   --------------------------------------------------------- */
@media (min-width: 1024px){
  .package-card{ align-items: stretch; }
  .package-card__overlay{ display:none; }

  .package-card__media{
    position: relative; inset: auto;
    order: 2; flex: 0 0 50%; height: 100%;
  }
  .package-card__content{
    order: 1; flex: 0 0 50%;
    max-width: none;
    background: var(--bg-cream-alt);
    color: var(--ink);
    justify-content: center;
    padding: clamp(50px,7vh,90px) clamp(60px,6vw,120px);
    gap: .9rem;
  }
  .package-card__eyebrow{ color: var(--gold); }
  .package-card__name{ color: var(--ink); font-size: clamp(3rem,6.4vw,5.4rem); }
  .package-card__subtitle{ color: var(--ink-soft); }
  .package-card__subtitle strong{ color: var(--ink); }
  .package-card__desc{ display:block; color: var(--ink-soft); }
  .package-card__tags{ display:flex; }
  .package-card__tags li{ border-color: var(--ink-30); color: var(--ink-soft); }
  .package-card__content .btn--outline{ border-color: var(--ink-30); color: var(--ink); }
  .package-card__content .btn--outline:hover{ background: var(--ink); color: var(--bg-cream-alt); border-color: var(--ink); }
}

@media (max-width: 767px){
  .package-card{ min-height: 560px; }
  .package-card__content{ padding: clamp(24px,7vh,48px) clamp(18px,5vw,26px) clamp(40px,8vh,64px); }
}

@media (min-width: 768px) and (max-width: 1023px){
  .package-card__desc{ display:block; }
  .package-card__tags{ display:flex; }
}

/* =========================================================
   TESTIMONIALS — Hall of Love
   ========================================================= */
.testimonials{
  position: relative;
  background: var(--bg-cream);
  padding: clamp(70px,14vh,140px) var(--gutter) clamp(70px,14vh,140px);
  z-index: 5;
}
.testimonials__top{ margin-bottom: clamp(30px,6vh,56px); }
.testimonials__body{ display:flex; flex-direction: column; gap: clamp(30px,6vh,50px); }

.testimonials__timeline{ position:relative; display:flex; flex-direction:column; gap: 1.4rem; padding-left: 1.8rem; }
.testimonials__path{
  position:absolute; left:.35rem; top:0; bottom:0; width: 22px; height:100%;
  overflow: visible;
}
.testimonials__path path{
  fill:none; stroke: var(--line); stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.t-entry{
  position:relative; display:flex; align-items:center; gap: .9rem;
  opacity: .38; filter: blur(1.5px) grayscale(.3);
  transition: opacity .6s var(--ease-out), filter .6s var(--ease-out), transform .7s var(--ease-arc);
  cursor: pointer;
}
.t-entry.is-active{ opacity:1; filter:none; transform: translateX(14px); }
.t-entry__img{ width: 42px; height:42px; border-radius:50%; overflow:hidden; flex-shrink:0; transition: width .5s var(--ease-out), height .5s var(--ease-out); }
.t-entry.is-active .t-entry__img{ width: 72px; height:72px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.t-entry__img img{ width:100%; height:100%; object-fit:cover; }
.t-entry__meta{ display:flex; flex-direction:column; gap:.15rem; }
.t-entry__meta strong{ font-family: var(--font-display); font-size: .95rem; font-weight:600; }
.t-entry__meta em{ font-style:normal; font-size:.7rem; color: var(--ink-60); letter-spacing:.04em; }

.testimonials__review{ position:relative; min-height: 240px; }
.t-review{
  position:absolute; inset:0;
  opacity:0; visibility:hidden; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), visibility .7s;
}
.t-review.is-active{ position:relative; opacity:1; visibility:visible; transform:none; transition-delay: .1s; }
.t-review__badge{ display:inline-flex; width:22px; height:22px; margin-bottom: .9rem; }
.t-review__badge svg{ width:100%; height:100%; }
.t-review__text{
  font-family: var(--font-display); font-style: italic; font-weight:400;
  font-size: clamp(1.3rem, 5vw, 2.2rem); line-height:1.25; color: var(--ink);
}
.t-review__foot{ margin-top: 1.6rem; display:flex; flex-direction:column; gap:.5rem; }
.t-review__name{ font-weight:700; font-size:.85rem; letter-spacing:.03em; display:flex; align-items:center; gap:.5rem; }
.t-icon{ color: var(--gold); font-style:normal; letter-spacing:.1em; font-size:.72rem; }
.t-review__type{ font-size: .68rem; letter-spacing:.14em; text-transform:uppercase; color: var(--ink-60); }

@media (max-width: 767px){
  .testimonials__timeline{
    flex-direction: row; align-items:center;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    gap: 1.2rem; padding: .3rem .1rem;
    scrollbar-width: none;
  }
  .testimonials__timeline::-webkit-scrollbar{ display:none; }
  .testimonials__path{ display:none; }
  .t-entry{ flex-direction: column; gap:.5rem; flex-shrink:0; }
  .t-entry.is-active{ transform: translateY(-10px); }
  .t-entry__meta{ align-items:center; text-align:center; opacity:0; max-height:0; overflow:hidden; transition: opacity .4s ease; }
  .t-entry.is-active .t-entry__meta{ opacity:1; max-height:40px; }
  .t-entry__meta em{ font-size:.62rem; }
  .t-review__text{ font-size: clamp(1.15rem, 5.4vw, 1.5rem); }
}

/* =========================================================
   QUOTE — editorial hierarchy, scroll-scrubbed word reveal
   ========================================================= */
.quote{
  background: var(--surface);
  padding: clamp(70px,13vh,140px) var(--gutter);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  z-index: 6;
  position:relative;
  gap: clamp(28px,5vh,48px);
}
.quote__diamond-rule{ display:flex; align-items:center; gap: .8rem; }
.quote__diamond-rule span{ width: 40px; height:1px; background: var(--gold); display:block; }
.quote__diamond{ color: var(--gold); font-size: .7rem; font-style:normal; }
.quote__headline{
  display:flex; flex-direction:column; align-items:center; gap: .15em;
  max-width: 16ch;
}
.quote__big{
  font-family: var(--font-display); font-weight:900;
  font-size: var(--fs-quote); line-height:.96; letter-spacing:-.01em;
  color: var(--ink);
}
.quote__small{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(.9rem, 2.4vw, 1.3rem);
  letter-spacing: .18em; text-transform:uppercase;
  color: var(--maroon);
  margin: .1em 0;
}
.quote__script{
  font-family: var(--font-script); font-weight:400;
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  color: var(--gold);
  line-height:1;
}
.quote__text{
  font-family: var(--font-body); font-weight:600;
  font-size: clamp(.85rem, 2vw, 1.05rem);
  letter-spacing:.04em; text-transform:uppercase;
  line-height:1.7; max-width: 34ch;
  color: var(--ink-soft);
}
.quote__text .word{ display:inline-block; opacity:.14; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact{
  position: relative;
  background: var(--surface);
  padding: clamp(60px,10vh,100px) var(--gutter);
  display:flex; flex-direction:column; gap: clamp(40px,7vh,64px);
  z-index: 7;
}
.contact__left{ display:flex; flex-direction:column; gap: clamp(24px,4vh,32px); }
.contact__map{ width:100%; aspect-ratio: 16/10; border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); }
.contact__map iframe{ width:100%; height:100%; border:0; filter: grayscale(.2) sepia(.06); }
.contact__info-block p{ margin:.25rem 0; color: var(--ink-soft); font-size: .92rem; }
.contact__info-heading{ font-family: var(--font-display); font-size: 1.1rem; margin-bottom:.6rem; }
.contact__stats{ display:grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.2rem; padding-top: 1.4rem; border-top:1px solid var(--line); }
.stat__num{ display:block; font-family: var(--font-display); font-size: clamp(1.6rem,5vw,2.4rem); color: var(--maroon); }
.stat__label{ display:block; font-size: .66rem; letter-spacing:.06em; text-transform:uppercase; color: var(--ink-soft); margin-top:.3rem; }

.contact-form{ margin-top: 1.8rem; display:flex; flex-direction:column; gap: 1.3rem; }
.form-row{ display:grid; grid-template-columns: 1fr; gap: 1.3rem; }
.contact-form label{ display:flex; flex-direction:column; gap:.5rem; }
.contact-form label span{ font-size: .68rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); }
.contact-form input, .contact-form select, .contact-form textarea{
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-cream); padding: .8rem .9rem;
  min-height: 44px;
  font-size: 1rem;
  color: var(--ink); transition: border-color .3s ease, box-shadow .3s ease;
}
.contact-form textarea{ min-height: 96px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus{
  border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(138,31,31,.12); outline: none;
}
.contact-form__submit{ margin-top: .6rem; align-self:flex-start; min-height: 48px; }

/* =========================================================
   FOOTER — cream-to-maroon torn paper transition
   ========================================================= */
.footer{
  position: relative;
  background: var(--maroon-dark);
  color: var(--ink);
  padding: clamp(70px,11vh,110px) var(--gutter) clamp(28px,4vh,36px);
  z-index: 8;
  overflow: hidden;
}
.footer__tear{
  position:absolute; top:0; left:0; right:0; height: 34px;
  background: var(--bg-cream);
  clip-path: polygon(0% 0%,100% 0%,100% 55%,96% 40%,92% 68%,88% 38%,84% 62%,80% 42%,76% 66%,72% 40%,68% 64%,64% 36%,60% 60%,56% 42%,52% 66%,48% 38%,44% 62%,40% 40%,36% 64%,32% 36%,28% 60%,24% 44%,20% 66%,16% 38%,12% 62%,8% 40%,4% 64%,0% 44%);
}
.footer__grain{
  position:absolute; inset:0; pointer-events:none; opacity:.05; 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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.footer__inner{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; text-align:center; gap: clamp(24px,4vh,36px); }
.footer__heading{
  font-family: var(--font-display); font-weight:600;
  font-size: clamp(1.7rem,5.5vw,3.2rem); line-height:1.08; max-width: 16ch;
}
.footer__sub{ color: rgba(250,243,232,.72); font-size: .95rem; max-width: 40ch; margin-top:-1rem; }
.footer__social{ display:flex; gap: .8rem; flex-wrap:wrap; justify-content:center; }
.footer__social a{
  width: 44px; height:44px; border-radius:50%; border:1px solid rgba(255,255,255,.22);
  display:flex; align-items:center; justify-content:center;
  transition: background-color .3s ease, border-color .3s ease;
}
.footer__social a svg{ width:18px; height:18px; }
.footer__social a:hover{ background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); }
.footer__divider{ width:100%; max-width: 640px; height:1px; background: rgba(255,255,255,.14); }
.footer__bottom{
  width:100%;
  display:flex; flex-direction:column; gap: 1rem; align-items:center;
  font-size: .74rem; color: rgba(250,243,232,.55);
}
.footer__legal{ display:flex; flex-wrap:wrap; gap: 1rem 1.4rem; justify-content:center; }
.footer__legal a, .footer__totop{ color: rgba(250,243,232,.72); }
.footer__legal a:hover{ color: var(--gold); }
.footer__totop{ color: var(--gold); letter-spacing:.06em; text-transform:uppercase; font-size:.72rem; }

/* =========================================================
   404
   ========================================================= */
.error-page{
  min-height: 100svh;
  background: var(--maroon-dark);
  color: var(--ink);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center;
  gap: 1.4rem;
  padding: var(--gutter);
  position: relative;
  overflow:hidden;
}
.error-page::before{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.05; 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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.error-page__num{
  font-family: var(--font-display); font-weight:900; font-size: clamp(5rem,20vw,11rem);
  line-height:.9; color: var(--gold); position:relative; z-index:1;
}
.error-page__text{ font-size: 1rem; letter-spacing:.08em; text-transform:uppercase; color: rgba(250,243,232,.8); position:relative; z-index:1; }
.error-page__cta{ position:relative; z-index:1; }

/* =========================================================
   TABLET  768–1023px
   ========================================================= */
@media (min-width: 768px){
  .navbar__logo-text{ display:inline; }
  .portfolio__grid{ grid-template-columns: repeat(3,1fr); }
  .p-item--wide{ grid-column: span 2; }
  .contact__stats{ gap: 1.4rem; }
  .form-row{ grid-template-columns: 1fr 1fr; }
  .contact{ flex-direction: row; align-items:flex-start; }
  .contact__left{ flex: 0 0 42%; }
  .contact__right{ flex:1; }
  .footer__legal{ gap: 1.2rem 1.8rem; }
}

/* =========================================================
   DESKTOP  1024px+
   ========================================================= */
@media (min-width: 1024px){
  /* Hero — single-line wordmark, top-aligned rather than
     centered, so it reads as a masthead over the photograph
     instead of sitting mid-frame. */
  .hero__center{
    justify-content: flex-start;
    padding-top: clamp(120px,18vh,168px);
  }
  .hero__headline{
    display:flex; flex-wrap:nowrap; justify-content:center;
    gap: .4em;
    font-size: clamp(2.6rem, 4.6vw, 5.4rem);
  }
  .hero__headline .split-line{ display:inline-block; }

  .navbar__link{ width:auto; padding: .55rem .95rem; }
  .navbar__link span{ display:inline; font-size:.76rem; letter-spacing:.02em; white-space:nowrap; }
  .navbar__link::after{
    left: .95rem; right: .95rem; bottom: 4px; translate:0 0;
    width:auto; height:1px; border-radius:0;
    transform: scaleX(0); transform-origin:left; opacity:1;
  }
  .navbar__link.is-active::after,
  .navbar__link:hover::after{ transform: scaleX(1); }
  .navbar__indicator{ height: auto; top: 0; bottom: 0; }

  .portfolio__grid{ grid-template-columns: repeat(4,1fr); }
  .p-item--wide{ grid-column: span 2; }
  .p-item--tall{ grid-row: span 2; }

  .testimonials__body{ flex-direction: row; align-items:flex-start; }
  .testimonials__timeline{ flex: 0 0 34%; }
  .testimonials__review{ flex: 1; padding-top: 2.4rem; }

  .footer__bottom{ flex-direction: row; align-items:center; justify-content:space-between; }
  .footer__legal{ justify-content:flex-end; }
}

@media (min-width: 1280px){
  .hero__bottom{ padding-bottom: clamp(28px,5vh,44px); }
}
/* =========================================================
   DIAMOND PHOTOGRAPHY — gallery.css
   Styles for: the gallery overview page (category cards),
   individual category subpages (masonry grid), the popup
   image viewer, and a simple (non-animated) loading screen.
   Relies entirely on the design tokens declared in style.css
   — load style.css before this file.
   ========================================================= */

/* ---------------------------------------------------------
   Simple loading screen — no intro reveal choreography,
   just a brief brand moment while the page settles, then a
   plain fade out. Reuses the .loader markup/skin from
   style.css; only the motion here is different (CSS only,
   no GSAP timeline).
   --------------------------------------------------------- */
.loader__bar-fill{ animation: gLoaderFill .85s var(--ease-out) forwards; }
@keyframes gLoaderFill{ from{ width:0%; } to{ width:100%; } }
.loader{
  transition: opacity .5s ease, visibility .5s ease;
}
.loader.is-done{ opacity:0; visibility:hidden; }

/* ---------------------------------------------------------
   Shared page header — used at the top of the gallery
   overview page and every category subpage.
   --------------------------------------------------------- */
.gallery-hero{
  position: relative;
  padding: clamp(120px,20vh,168px) var(--gutter) clamp(40px,7vh,64px);
  background: var(--maroon-dark);
  overflow: hidden;
}
.gallery-hero::before{
  content:''; position:absolute; inset:0; pointer-events:none; opacity:.05; 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.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}
.gallery-hero__inner{ position:relative; z-index:1; max-width: 900px; }
.gallery-hero .chapter-tag--light{ margin-bottom: 1rem; }
.gallery-hero__title{
  font-family: var(--font-display); font-weight:500;
  font-size: var(--fs-h2); line-height:.98; letter-spacing:-.015em;
  color: var(--ink);
}
.gallery-hero__sub{
  margin-top: .9rem;
  font-family: var(--font-script); font-weight:400;
  font-size: clamp(1.3rem,3.2vw,1.9rem);
  color: var(--gold);
}

/* ---------------------------------------------------------
   GALLERY OVERVIEW — category cards.
   Mobile: 1 column / 4 rows. Desktop: 2 columns / 2 rows.
   No gap between tiles — edges touch, like a contact sheet.
   --------------------------------------------------------- */
.cat-grid-overview{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--bg-cream);
}
.cat-card{
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--line);
}
.cat-card img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.04);
  transition: transform .6s var(--ease-out);
  filter: sepia(.1) saturate(1.08) contrast(1.05) brightness(.92);
}
.cat-card__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(20,10,8,.05) 0%, rgba(20,10,8,.28) 55%, rgba(20,10,8,.78) 100%);
}
.cat-card__meta{
  position:absolute; left: clamp(18px,3vw,32px); bottom: clamp(18px,3vw,32px); right: clamp(18px,3vw,32px);
  z-index:2;
  display:flex; align-items:flex-end; justify-content:space-between; gap:1rem;
}
.cat-card__label{
  font-family: var(--font-display); font-weight:500;
  font-size: clamp(1.5rem,3.6vw,2.4rem);
  color: var(--ink);
  line-height:1;
}
.cat-card__count{
  font-size: var(--fs-label); letter-spacing:.16em; text-transform:uppercase; font-weight:600;
  color: rgba(250,243,232,.75);
  white-space:nowrap;
}
.cat-card__arrow{
  position:absolute; top: clamp(16px,3vw,26px); right: clamp(16px,3vw,26px); z-index:2;
  width:38px; height:38px; border-radius:50%;
  border:1px solid rgba(255,255,255,.35);
  display:flex; align-items:center; justify-content:center;
  color: var(--ink);
  opacity:0; transform: translate(-6px,6px);
  transition: opacity .35s ease, transform .35s var(--ease-out), background-color .3s ease, border-color .3s ease;
}
.cat-card__arrow svg{ width:15px; height:15px; }
@media (hover:hover){
  .cat-card:hover img{ transform: scale(1.12); }
  .cat-card:hover .cat-card__arrow{ opacity:1; transform: translate(0,0); background: var(--gold); border-color: var(--gold); color: var(--maroon-dark); }
}

@media (min-width: 768px){
  .cat-grid-overview{ grid-template-columns: repeat(2,1fr); }
  .cat-card{ aspect-ratio: 4 / 3.1; }
}

/* ---------------------------------------------------------
   CATEGORY SUBPAGE — masonry grid via CSS columns.
   Mobile: 2 columns. Desktop: 3 columns.
   Zero gap in every direction — tiles butt against each other.
   --------------------------------------------------------- */
.cat-grid{
  column-count: 2;
  column-gap: 0;
  background: var(--bg-cream);
}
.cat-item{
  display:block;
  width:100%;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--line);
}
.cat-item img{
  width:100%; height:auto; display:block;
  filter: sepia(.1) saturate(1.08) contrast(1.05) brightness(.98);
  transition: transform .6s var(--ease-out), filter .4s ease;
}
.cat-item::after{
  content:''; position:absolute; inset:0;
  background: rgba(20,10,8,0);
  transition: background-color .35s ease;
}
@media (hover:hover){
  .cat-item:hover img{ transform: scale(1.06); }
  .cat-item:hover::after{ background: rgba(20,10,8,.16); }
}

@media (min-width: 1024px){
  .cat-grid{ column-count: 3; }
}

/* Empty-state, shown only if a category has no images */
.cat-grid__empty{
  padding: clamp(60px,12vh,120px) var(--gutter);
  text-align:center;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   POPUP IMAGE VIEWER — full image + counter (e.g. 2 / 30)
   + prev/next + close. Distinct id/class namespace from the
   homepage's .lightbox so both can exist in the same project
   without collision.
   --------------------------------------------------------- */
.cat-lightbox{
  position: fixed; inset:0; z-index: 8000;
  background: rgba(15,8,6,.97);
  display:flex; align-items:center; justify-content:center;
  padding: clamp(16px,5vw,48px);
}
.cat-lightbox[hidden]{ display:none; }
.cat-lightbox__figure{
  max-width: 1100px; width:100%; max-height: 88vh;
  display:flex; flex-direction:column; align-items:center; gap: .9rem;
}
.cat-lightbox__figure img{
  max-width:100%; max-height: 80vh; width:auto; object-fit:contain;
  border-radius: var(--radius);
  filter: sepia(.1) saturate(1.08) contrast(1.05) brightness(.98);
  opacity: 0;
  transition: opacity .25s ease;
}
.cat-lightbox__figure img.is-visible{ opacity:1; }
.cat-lightbox__counter{
  font-family: var(--font-body); font-weight:600;
  font-size: var(--fs-label); letter-spacing: var(--tracking-mid);
  color: var(--ink-soft);
}
.cat-lightbox__close{
  position:absolute; top: clamp(14px,3vw,28px); right: clamp(14px,3vw,28px);
  width:44px; height:44px; border-radius:50%; background: rgba(255,255,255,.1); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: background-color .3s ease;
}
.cat-lightbox__close svg{ width:18px; height:18px; }
.cat-lightbox__nav{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border-radius:50%; background: rgba(255,255,255,.1); color: var(--ink);
  display:flex; align-items:center; justify-content:center;
  transition: background-color .3s ease;
}
.cat-lightbox__nav svg{ width:20px; height:20px; }
.cat-lightbox__prev{ left: clamp(10px,3vw,28px); }
.cat-lightbox__next{ right: clamp(10px,3vw,28px); }
@media (min-width: 768px){
  .cat-lightbox__close:hover, .cat-lightbox__nav:hover{ background: var(--maroon); }
}

/* ---------------------------------------------------------
   Back-link row, shown under the category header, pointing
   back to the full gallery overview.
   --------------------------------------------------------- */
.cat-back{
  display:inline-flex; align-items:center; gap:.5rem;
  margin-top: 1.2rem;
  font-size: var(--fs-label); letter-spacing: var(--tracking-mid); text-transform:uppercase; font-weight:600;
  color: rgba(250,243,232,.75);
}
.cat-back svg{ width:14px; height:14px; }
.cat-back:hover{ color: var(--gold); }
/* =========================================================
   DIAMOND PHOTOGRAPHY — pages.css
   Styles for the standalone Contact and About pages. Built on
   the same tokens as style.css / gallery.css — load both of
   those first.
   ========================================================= */

/* ---------------------------------------------------------
   CONTACT PAGE — the .contact section is reused verbatim
   from index.html; this just gives it room under the fixed
   navbar since it's now the first thing on the page.
   --------------------------------------------------------- */
.contact--page{
  padding-top: clamp(120px,20vh,168px);
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */

/* ---------------------------------------------------------
   Pinned media + scrolling story. On desktop the portrait
   stays put (position: sticky) while the text and map scroll
   past it, then releases naturally once the taller column
   runs out — no JS required. On mobile it simply stacks.
   --------------------------------------------------------- */
.about-pin{
  position: relative;
  background: var(--bg-cream);
  padding: clamp(60px,10vh,100px) var(--gutter);
  display: flex;
  flex-direction: column;
  gap: clamp(36px,6vh,56px);
}
.about-pin__media{ flex: 0 0 auto; }
.about-pin__frame{
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--line);
}
.about-pin__frame img{
  width:100%; height:100%; object-fit:cover;
  filter: sepia(.1) saturate(1.08) contrast(1.05) brightness(.98);
}
.about-pin__caption{
  margin-top: 1rem;
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.about-pin__name{ font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.about-pin__role{ font-size: .68rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); text-align:right; }

.about-pin__body{ display:flex; flex-direction:column; gap: 1.4rem; }
.about-pin__body p{ color: var(--ink-soft); font-size: var(--fs-body); max-width: 62ch; }
.about-pin__quote{
  font-family: var(--font-display); font-style:italic; font-weight:400;
  font-size: clamp(1.25rem,3.4vw,1.7rem); line-height:1.35; color: var(--ink);
  border-left: 2px solid var(--gold); padding-left: 1.2rem;
  max-width: 52ch;
}
.about-pin__map{
  width:100%; aspect-ratio: 16/9; margin-top: .4rem;
  border-radius: var(--radius); overflow:hidden; border: 1px solid var(--line);
}
.about-pin__map iframe{ width:100%; height:100%; border:0; filter: grayscale(.2) sepia(.06); }
.about-pin__map-label{ font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); margin-top:.6rem; }

@media (min-width: 1024px){
  .about-pin{
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(50px,6vw,90px);
  }
  .about-pin__media{
    flex: 0 0 38%;
    position: sticky;
    top: clamp(96px,14vh,132px);
    align-self: flex-start;
  }
  .about-pin__body{ flex: 1; padding-top: .3rem; }
}

/* ---------------------------------------------------------
   STATS — team, gear, clients, and other studio numbers,
   each with an icon.
   --------------------------------------------------------- */
.about-stats{
  position: relative;
  background: var(--bg-cream-alt);
  padding: clamp(70px,12vh,120px) var(--gutter);
}
.about-stats__top{ max-width: 720px; margin-bottom: clamp(36px,6vh,56px); }
.about-stats__intro{ margin-top: 1rem; color: var(--ink-soft); font-size: var(--fs-lead); max-width: 46ch; }

.about-stats__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat-card{
  display:flex; flex-direction:column; gap: .9rem;
  padding: clamp(22px,3vw,32px);
  background: var(--surface);
}
.stat-card__icon{
  width: 40px; height:40px; border-radius:50%;
  border: 1px solid var(--gold-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--gold);
}
.stat-card__icon svg{ width:18px; height:18px; }
.stat-card__num{
  font-family: var(--font-display); font-weight:500;
  font-size: clamp(1.8rem,4vw,2.6rem); line-height:1; color: var(--ink);
}
.stat-card__num-suffix{ font-size: .55em; color: var(--gold); margin-left:.1em; }
.stat-card__label{ font-size: .7rem; letter-spacing:.1em; text-transform:uppercase; color: var(--ink-soft); }

@media (min-width: 640px){
  .about-stats__grid{ grid-template-columns: repeat(3,1fr); }
}
@media (min-width: 1024px){
  .about-stats__grid{ grid-template-columns: repeat(6,1fr); }
}
