﻿/* ============================================================
   Studio Pratik â€” Faithful clone of TAC Productions home
   Light-only theme. Square-cornered buttons. 
   Palette mirrors reference: cream, parchment, sage, ink,
   gold, terracotta, dusk.
   ============================================================ */

:root {
  --sage: #96a39a;
  --ink: #1a1a1a;
  --cream: #f4efe6;
  --parchment: #e8dfd0;
  --gold: #c9a96e;
  --terracotta: #b5563a;
  --burgundy: #5c1f1f;
  --dusk: #3d4a48;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-script: "Italiana", serif;
  --font-body: "Inter", -apple-system, sans-serif;

  --measure: 64ch;
  --space: clamp(4rem, 9vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  display: block;
}

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

h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 300;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

h3 {
  font-size: 1.4rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

p a,
.prose a {
  border-bottom: 1px solid var(--sage);
}

a:hover {
  color: var(--terracotta);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 1px;
}

::selection {
  background: var(--sage);
  color: var(--cream);
}

/* ---------- Typography helpers ---------- */
.couple-name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.01em;
}

.micro {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dusk);
  margin: 0;
}

.micro--sage {
  color: var(--sage);
}

.caption {
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--dusk);
}

.statement {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5.2vw, 3.9rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

.statement em {
  font-style: italic;
  color: var(--dusk);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 1.5rem;
}

.eyebrow:before {
  content: "";
  width: clamp(1.5rem, 4vw, 3rem);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
  flex: none;
}

.eyebrow--center {
  justify-content: center;
}

/* ---------- Layout ---------- */
.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--wide {
  max-width: 1500px;
}

.section {
  padding-block: var(--space);
}

.rule {
  border: 0;
  border-top: 1px solid var(--sage);
  opacity: 0.5;
  margin: 0;
}

/* ---------- Buttons â€” square corners (no radius) ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 1em 2.4em;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease,
    transform 0.3s ease;
}

.btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--solid {
  background: var(--ink);
  color: var(--cream);
}

.btn--solid:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}

/* ---------- Frame ---------- */
.frame {
  background: var(--parchment);
  outline: 1px solid color-mix(in srgb, var(--sage) 55%, transparent);
  outline-offset: -1px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  transition-delay: var(--d, 0s);
}

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

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 0.13s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 0.21s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 0.29s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 0.37s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
}

.nav.is-scrolled {
  box-shadow: 0 8px 22px -16px rgba(26, 26, 26, 0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.8rem;
}

.nav__brand {
  display: flex;
  align-items: center;
}

/* Logo */
.nav__logo {
  display: block;
  height: 50px;
  width: auto;
  object-fit: contain;
  object-position: top;
  margin-top: -4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a {
  color: var(--ink);
  padding-block: 0.3rem;
  position: relative;
}

.nav__links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--terracotta);
}

.nav__links a:hover:after,
.nav__links a.is-active:after {
  transform: scaleX(1);
}

.nav__check,
.nav__burger {
  display: none;
}

/* ---------- Hero (clone of referral â€” full-bleed dark image, cream text) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(94svh, 900px);
  display: flex;
  align-items: center;
  color: var(--cream);
  padding-block: clamp(6rem, 14vw, 9rem);
  text-align: left;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--hero-img);
  background-size: cover;
  background-position: var(--hero-pos, center);
  transform: scale(1.02);
  animation: hero-drift 26s ease-out forwards;
  z-index: 0;
}

@keyframes hero-drift {
  0% { transform: scale(1.02); }
  to { transform: scale(1.09); }
}

/* Subtle dark gradient â€” keeps cream text legible, image fully visible */
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(20, 20, 20, 0.55), rgba(20, 20, 20, 0.25) 48%, rgba(20, 20, 20, 0.08) 78%);
}

.hero__inner {
  max-width: 880px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.6vw, 5rem);
  margin-bottom: 0.42em;
  color: var(--cream);
  text-shadow: 0 1px 18px rgba(26, 26, 26, 0.55), 0 1px 4px rgba(26, 26, 26, 0.45);
}

.hero h1 em {
  font-style: italic;
  color: var(--cream);
}

.hero .micro {
  color: var(--cream);
  opacity: 0.95;
  text-shadow: 0 1px 12px rgba(26, 26, 26, 0.5);
}

.hero__sub {
  max-width: 56ch;
  color: var(--cream);
  opacity: 0.95;
  margin-bottom: 2.4rem;
  text-shadow: 0 1px 12px rgba(26, 26, 26, 0.5);
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Buttons follow light color, not dark â€” cream borders/text on the image */
.hero .btn {
  border-color: var(--cream);
  color: var(--cream);
}

.hero .btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero .btn--solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.hero .btn--solid:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.side-label {
  position: absolute;
  right: clamp(0.5rem, 1.6vw, 1.4rem);
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  opacity: 0.75;
  pointer-events: none;
  z-index: 2;
  color: var(--cream);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.1rem, 3vw, 2.2rem);
  transform: translate(-50%);
  z-index: 2;
  display: block;
  width: 34px;
  height: 34px;
  color: var(--cream);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 30px;
  background: currentColor;
  opacity: 0.55;
  transform-origin: top;
  animation: cue 2.6s ease-in-out infinite;
}

@keyframes cue {
  0%, to { transform: scaleY(0.35); opacity: 0.25; }
  50% { transform: scaleY(1); opacity: 0.7; }
}

/* ---------- Strip (marquee) ---------- */
.strip {
  overflow: hidden;
  background: var(--parchment);
  border-block: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  padding-block: clamp(1rem, 2.4vw, 1.75rem);
}

.strip__track {
  display: flex;
  gap: clamp(0.6rem, 1.4vw, 1.1rem);
  width: max-content;
  animation: strip-scroll 123.5s linear infinite;
}

.strip:hover .strip__track,
.strip:focus-within .strip__track {
  animation-play-state: paused;
}

.strip__frame {
  flex: none;
  width: clamp(132px, 15vw, 210px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--parchment);
}

.strip__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94);
  transition: filter 0.5s ease, transform 0.7s ease;
}

.strip__frame:hover img {
  filter: saturate(1.05);
  transform: scale(1.04);
}

@keyframes strip-scroll {
  0% { transform: translate(0); }
  to { transform: translate(-50%); }
}

/* ---------- Statement section ---------- */
.statement-sec__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.statement-sec__body p {
  margin: 0 0 1.2em;
  max-width: 52ch;
}

.statement-sec__body .btn {
  margin-top: 0.6rem;
}

/* ---------- Proof / stats ---------- */
.proof-sec {
  background: var(--parchment);
  border-block: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}

.proof__n {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}

.proof__l {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dusk);
  line-height: 1.5;
}

/* ---------- Section head ---------- */
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 2.5rem 0;
}

.section__head a {
  display: inline-block;
  padding-block: 0.55rem;
  margin-block: -0.55rem;
}

/* ---------- Grids ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* ---------- Cards (featured weddings) ---------- */
.card {
  display: block;
}

.card__media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.card:hover .card__media img {
  transform: scale(1.03);
}

.card__meta {
  padding-top: 1.1rem;
}

.card__couple {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.2rem 0;
  transition: color 0.3s ease;
  font-family: var(--font-script);
  font-weight: 400;
}

.card:hover .card__couple {
  color: var(--terracotta);
}

.card__excerpt {
  max-width: 44ch;
}

/* ---------- Voices / testimonials ---------- */
.voices-sec {
  text-align: center;
}

.voices-sec__head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.voices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.voice {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: color-mix(in srgb, var(--parchment) 55%, var(--cream));
  border: 1px solid color-mix(in srgb, var(--sage) 32%, transparent);
  text-align: left;
  box-shadow: 0 14px 34px -26px rgba(26, 26, 26, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.voice:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px -28px rgba(26, 26, 26, 0.34);
}

/* testimonial slider controls (shown on tablet/mobile, hidden on desktop 3-up) */
.voices-controls {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: clamp(1.4rem, 3vw, 2rem);
}
.voices-nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.voices-nav:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background: color-mix(in srgb, var(--cream) 80%, transparent);
}
.voices-nav:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}
.voices-dots {
  display: flex;
  gap: 0.55rem;
}
.voices-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--sage);
  opacity: 0.45;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}
.voices-dot:hover {
  opacity: 0.8;
}
.voices-dot.is-active {
  opacity: 1;
  background: var(--terracotta);
  transform: scale(1.35);
}

.voice__mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 0.6;
  color: var(--sage);
  height: 1rem;
}

.voice blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  flex: 1;
  color: var(--ink);
}

.voice__by {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

.voices-sec__note {
  margin-top: 1.6rem;
}

/* ---------- Ethos ---------- */
.ethos__inner {
  text-align: center;
}

.ethos__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 860px;
  margin-inline: auto;
}

.ethos__pillars .caption {
  max-width: 26ch;
  margin-inline: auto;
  color: var(--dusk);
}

.ethos__pillars h3 {
  font-family: var(--font-display);
  font-weight: 400;
}

/* ---------- Journal / post cards ---------- */
.post-card {
  display: block;
}

.post-card__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: 1rem;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.03);
}

.post-card .micro {
  margin-bottom: 0.4rem;
  display: block;
}

.post-card h3 {
  font-size: 1.25rem;
  max-width: 30ch;
}

/* ---------- Instagram ---------- */
.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.ig-grid__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.ig-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ig-grid__item:hover img {
  transform: scale(1.03);
}

.ig-note {
  margin-top: 1.4rem;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Inner page hero (lean, cream background) ---------- */
.page-hero {
  padding-top: clamp(4.5rem, 9vw, 7rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.page-hero .eyebrow {
  margin-bottom: 2rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.015em;
  margin: 0 0 1.1rem;
  text-wrap: balance;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--dusk);
}

.page-hero__sub {
  max-width: 60ch;
  color: var(--dusk);
  margin: 0;
}

/* ---------- Portfolio filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 2.2rem;
  margin: 2.4rem 0 3rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dusk);
  background: transparent;
  border: 0;
  border-bottom: 1px solid transparent;
  padding: 0.5rem 0;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.filter-btn:hover {
  color: var(--ink);
}

.filter-btn.is-active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------- Portfolio grid (3 Ã— 2, hover reveals the focus card) ---------- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* ---------- Portfolio 3D film room ---------- */
.portfolio-hint {
  margin: 3rem 0 0;
  text-align: center;
}

.reveal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.portfolio-card {
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.45s ease;
}

.portfolio-card:hover {
  transform: scale(1.05);
}

/* hovering one card fades the rest so all focus goes to it */
.reveal-grid:hover .portfolio-card:not(:hover) {
  opacity: 0.45;
}

.portfolio-card .card__media {
  transition: box-shadow 0.45s ease;
}
.portfolio-card:hover .card__media {
  box-shadow: 0 26px 60px -30px rgba(26, 26, 26, 0.35);
}

.portfolio-card .card__couple {
  font-family: var(--font-script);
}

/* no filter in use anymore: keep the CSS loadable if referenced */

/* ---------- CTA ---------- */
.cta__inner {
  text-align: center;
}

.cta__heading {
  margin-top: var(--space);
}

.cta__sub {
  max-width: 52ch;
  margin: 0 auto 2.2rem;
  color: var(--dusk);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: var(--space);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-block: 3.5rem;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 1.1rem;
  line-height: 1;
}

.footer__pos {
  max-width: 28ch;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer__col .micro {
  margin: 0 0 0.5rem;
}

.footer__col a {
  color: var(--ink);
}

.footer__col a:hover {
  color: var(--terracotta);
}

.footer__areas {
  margin: 0 0 0.6rem;
  color: var(--sage);
}

.footer__areas .caption {
  color: var(--dusk);
}

.footer__areas a {
  color: var(--ink);
}

.footer__areas a:hover {
  color: var(--terracotta);
}

.footer__sep {
  opacity: 0.6;
}

.footer__legal {
  padding-bottom: 2rem;
  opacity: 0.7;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .statement-sec__grid,
  .side-label {
    grid-template-columns: 1fr;
  }
  .reveal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
.side-label {
    display: none;
  }
  /* Testimonials become a horizontal snap slider on tablet + mobile */
  .voices {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    padding-block-end: 0.75rem;
    scrollbar-width: none;
  }
  .voices::-webkit-scrollbar {
    display: none;
  }
  .voice {
    flex: 0 0 min(88%, 420px);
    scroll-snap-align: center;
  }
  .voices-controls {
    display: flex;
  }
}

@media (max-width: 820px) {
.grid-3,
  .ethos__pillars,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .ig-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .scroll-cue {
    display: none;
  }
  .nav__burger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 0.5rem 0;
  }
  .nav__burger span {
    width: 26px;
    height: 1px;
    background: var(--ink);
    transition: transform 0.3s ease;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sage);
    padding: 0.5rem var(--gutter) 1.5rem;
  }
  .nav__links a {
    width: 100%;
    display: block;
    padding-block: 0.9rem;
    border-bottom: 1px solid color-mix(in srgb, var(--sage) 25%, transparent);
  }
  .nav__check:checked ~ .nav__links {
    display: flex;
  }
  .nav__check:checked ~ .nav__burger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }
  .nav__check:checked ~ .nav__burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }
/* mobile hero matches the referral — full-screen image, content bottom-left,
     sub hidden, buttons left-aligned as a wrapping row */
  .hero {
    align-items: flex-end;
    height: var(--hero-vh, 100svh);
    min-height: 0;
    overflow: hidden;
  }
  .hero__bg {
    background-position: var(--hero-pos-m, 30% center);
  }
  .hero:before {
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.08), rgba(20, 20, 20, 0.2) 45%, rgba(20, 20, 20, 0.5) 72%, rgba(20, 20, 20, 0.75));
  }
  .hero__inner {
    max-width: 880px;
    padding-bottom: 0.5rem;
  }
  .hero__sub {
    display: none;
  }
  /* mobile lightbox: no arrow buttons — swipe left/right to browse,
     with a hint below the photo (specificity boosted so the base
     lightbox rules defined later in the file cannot override these) */
  .lightbox .lightbox__prev,
  .lightbox .lightbox__next {
    display: none;
  }
  .lightbox .lightbox__hint {
    display: block;
  }
  .lightbox .lightbox__img {
    max-width: 94vw;
    max-height: 76vh;
  }
  .lightbox .lightbox__img-behind {
    max-width: 94vw;
    max-height: 76vh;
  }
  .lightbox .lightbox__close {
    top: 0.7rem;
    right: 0.7rem;
  }
}

@media (max-width: 760px) {
  .proof {
    gap: 1rem 0.6rem;
  }
  .proof__n {
    font-size: clamp(1.35rem, 6vw, 2rem);
  }
  .proof__l {
    font-size: 0.5625rem;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 640px) {
  .section__head {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
    margin-bottom: 2rem;
  }
  .section__head .micro {
    overflow-wrap: anywhere;
  }
  .nav__inner {
    padding-block: 1.05rem;
  }
  .nav__logo {
    height: 32px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  /* every button must stay inside its frame on small screens —
     size stays identical to desktop (matches the referral) */
  .btn {
    white-space: normal;
  }
  /* tighter section rhythm on phones */
  .section {
    padding-block: clamp(3rem, 9vw, 4.5rem);
  }
  .voices-controls {
    gap: 1.4rem;
  }
  .contact-grid {
    gap: 1.75rem;
  }
  .form {
    padding: 1.75rem 1.25rem;
  }
  .form .btn {
    width: 100%;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn:hover {
    transform: none;
  }
  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .strip {
    overflow-x: auto;
  }
  .strip__track {
    animation: none;
  }
  .strip__frame img {
    transition: none;
  }
  .hero__bg,
  .scroll-cue span {
    animation: none;
  }
}



/* ---------- About page: "Celebrating Love with Every Frame" hero ---------- */
.love-hero__grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(2rem,5vw,5rem);
  align-items: center;
}
.love-hero__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}
.love-hero__circles {
  position: relative;
  width: clamp(180px,18vw,300px);
  height: clamp(220px,22vw,370px);
}
.love-hero__circle {
  width: clamp(150px,15vw,250px);
  height: clamp(150px,15vw,250px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--parchment);
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  position: absolute;
}
.love-hero__circle--1 {
  top: 0;
  left: 0;
}
.love-hero__circle--2 {
  bottom: 0;
  right: 0;
}
.love-hero__awards {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8em;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: clamp(0.6rem,1.1vw,0.78rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--dusk);
  opacity: 0.7;
}
.love-hero__dot {
  font-size: 1em;
}
.love-hero__text {
  text-align: center;
}
.love-hero__text h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.4rem,5.5vw,3.8rem);
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 2rem;
}
.love-hero__text h2 em {
  font-style: italic;
  font-family: var(--font-script);
  font-weight: 400;
}
.underline {
  position: relative;
  display: inline;
}
.underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.05em;
  width: 100%;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal.is-visible .underline::after {
  transform: scaleX(1);
}
.love-hero__text .prose {
  max-width: 50ch;
  margin-inline: auto;
  text-align: center;
}
.love-hero__text .prose p {
  margin: 0 0 1.4em;
  color: var(--dusk);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- shared about helpers ---------- */
.prose {
  max-width: 56ch;
}
.prose p {
  margin: 0 0 1.4em;
  color: var(--dusk);
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
}
.centered {
  text-align: center;
}
.lead {
  max-width: 56ch;
  margin: 0 auto 2.5rem;
  color: var(--dusk);
}

/* vision & mission */
.vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}
.vision-grid .voice h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin: 0;
  color: var(--ink);
}
.vision-grid .voice p {
  margin: 0;
  color: var(--dusk);
  line-height: 1.7;
}

/* photographer feature (image-text-image) */
.photographer-feature {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  grid-template-areas: "img-left text img-right";
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  justify-items: center;
  margin-top: 3rem;
}
.photographer-feature > :nth-child(1) {
  grid-area: img-left;
}
.photographer-feature > :nth-child(2) {
  grid-area: text;
}
.photographer-feature > :nth-child(3) {
  grid-area: img-right;
}
.photographer-feature__img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
}
.photographer-feature__text {
  text-align: center;
}
.photographer-feature__text p {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  line-height: 1.7;
  color: var(--dusk);
  max-width: 42ch;
  margin: 0 auto;
}

/* team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 3rem;
}
.team-member {
  text-align: center;
}
.team-member__img {
  display: block;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 1rem;
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
}
.team-member__name {
  font-family: var(--font-script);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin: 0 0 0.2rem;
}

/* process (how we work) */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.process__step {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
}
.process__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--sage);
  margin: 0 0 0.4rem;
  line-height: 1;
}
.process__step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}

/* packages (the investment) */
.packages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.package {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2.2rem;
  text-align: left;
}
.package h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
}
.package .caption {
  color: var(--dusk);
  flex: 1;
}
.package .micro {
  margin-top: auto;
  color: var(--ink);
  border-bottom: 1px solid var(--sage);
  align-self: start;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.package .micro:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4rem;
  align-items: start;
}
.contact-grid .lead {
  color: var(--dusk);
  max-width: 44ch;
  margin: 0 0 2.5rem;
  line-height: 1.7;
}
.contact-alt {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.contact-alt__line {
  line-height: 2;
}
.form {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.form input,
.form select,
.form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  width: 100%;
  padding: 0.8em 1em;
  border: 1px solid var(--sage);
  background: var(--cream);
  color: var(--ink);
}
.form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%233d4a48' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.6em;
  cursor: pointer;
}
.form textarea {
  resize: vertical;
  min-height: 7rem;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 1px solid var(--dusk);
}
.hp {
  position: absolute;
  left: -9999px;
}
.form__status {
  margin: 0;
  min-height: 1.2em;
}
.form__status.is-shown {
  color: var(--dusk);
  border-left: 2px solid var(--sage);
  padding-left: 0.8rem;
}

/* responsive */
@media (max-width: 900px) {
  .love-hero__grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-grid .lead {
    margin-bottom: 1.5rem;
  }
  .form__row {
    grid-template-columns: 1fr;
  }
  .love-hero__circles {
    width: 220px;
    height: 270px;
  }
  .love-hero__circle {
    width: 180px;
    height: 180px;
  }
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 820px) {
  .love-hero__grid,
  .process,
  .packages,
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .photographer-feature {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text text"
      "img-left img-right";
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Category detail pages (wedding, pre-wedding, etc.) ---------- */
.detail-hero {
  padding-block: clamp(4rem, 9vw, 7rem) clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
}
.detail-hero h1 {
  margin: 0 0 1.2rem;
  font-weight: 300;
}
.detail-hero__lead {
  max-width: 52ch;
  margin: 0 auto 1.4rem;
  color: var(--dusk);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.75;
}
.detail-hero__meta {
  color: var(--dusk);
  opacity: 0.8;
}

/* Messy collage gallery — mixed sizes, framed like a scrapbook */
.collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(140px, 16vw, 240px);
  grid-auto-flow: dense;
  gap: clamp(0.35rem, 0.9vw, 0.7rem);
}
.cell {
  position: relative;
  overflow: hidden;
  background: var(--parchment);
  outline: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
  outline-offset: -1px;
}
.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.cell:hover img {
  transform: scale(1.08);
}
.cell--tall {
  grid-row: span 2;
}
.cell--wide {
  grid-column: span 2;
}
.cell--mid {
  grid-column: span 1;
  grid-row: span 1;
}
.cell--sml {
  grid-column: span 1;
  grid-row: span 1;
}

@media (max-width: 820px) {
  .collage {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(120px, 32vw, 200px);
  }
  .cell--wide {
    grid-column: span 2;
  }
  .cell--tall {
    grid-row: span 2;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}
.lightbox.is-open {
  display: flex;
}
.lightbox img {
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(26, 26, 26, 0.18);
  will-change: transform;
  touch-action: pan-y;
}

/* neckin/instagram-style drag layer — sits fixed behind the dragged photo */
.lightbox__img {
  position: relative;
  z-index: 1;
}
.lightbox__img-behind {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 88vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  visibility: hidden;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
  touch-action: pan-y;
}
.lightbox__close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.lightbox__close:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--ink);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.lightbox__prev:hover,
.lightbox__next:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  background: rgba(255, 255, 255, 0.95);
}
.lightbox__prev {
  left: 1.2rem;
}
.lightbox__next {
  right: 1.2rem;
}
/* mobile-only swipe hint, hidden on desktop */
.lightbox__hint {
  display: none;
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dusk);
  white-space: nowrap;
  pointer-events: none;
}
body.lightbox-lock {
  overflow: hidden;
}

/* contact icons (footer + contact page) */
.footer__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 0.35em;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
.footer__icon + svg,
.footer__icon ~ svg {
  display: none;
}

@media (max-width: 480px) {
  .statement {
    font-size: clamp(1.7rem, 8vw, 2.1rem);
  }
  .package {
    padding: 1.6rem 1.25rem;
  }
  .footer__areas {
    line-height: 1.9;
  }
}
