/* ==========================================================================
   Bhakti Purnale — Content Creator Portfolio
   Shared stylesheet for all pages.

   0. Tokens          5. Reveal & motion     10. Shoot
   1. Base            6. Home                11. About
   2. Layout          7. Cards & grids       12. Contact
   3. Buttons & icons 8. Page heroes         13. Footer
   4. Header & menu   9. Reels               14. Responsive
   ========================================================================== */

/* 0. TOKENS ---------------------------------------------------------------- */
:root {
  --ivory: #f6f0e8;
  --paper: #fbf8f3;
  --blush: #ebdcd3;
  --rose: #d9b8ae;
  --ink: #231a1d;
  --ink-soft: #4a3c41;
  --muted: #756870;
  --claret: #7c2332;
  --claret-deep: #5c1824;
  --gold: #b38b52;
  --line: rgba(35, 26, 29, 0.14);
  --line-light: rgba(246, 240, 232, 0.22);

  --f-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --f-body: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --maxw: 1360px;
  --header-h: 78px;
  --section: clamp(72px, 10vw, 150px);
  --gap: clamp(14px, 1.7vw, 24px);

  --r-lg: 28px;
  --r-md: 18px;
  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
}

/* 1. BASE ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  animation: page-in 0.8s var(--ease) backwards;
}
body.is-leaving { opacity: 0; transition: opacity 0.28s ease; }
body.menu-open { overflow: hidden; }

@keyframes page-in { from { opacity: 0; } }

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--claret); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--claret); color: var(--ivory); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--ink); color: var(--ivory); padding: 0.8rem 1.2rem;
}
.skip-link:focus { left: 12px; top: 12px; }

/* 2. LAYOUT ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); }
.section--blush { background: var(--blush); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section--dark .eyebrow { color: var(--rose); }

.section-head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem 3rem; margin-bottom: clamp(32px, 5vw, 64px);
}
.section-head .display { margin-top: 1rem; }

/* Typography */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
.display em { font-style: italic; color: var(--claret); }
.section--dark .display em { color: var(--rose); }
.h-xl { font-size: clamp(3.4rem, 9vw, 8rem); }
.h-lg { font-size: clamp(2.6rem, 6vw, 5.2rem); }
.h-md { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.caps { text-transform: uppercase; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.9rem;
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--claret);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--ink-soft); max-width: 34em; }
.section--dark .lead { color: rgba(246, 240, 232, 0.78); }
.prose p + p { margin-top: 1.1em; }
.prose { color: var(--ink-soft); }

/* 3. BUTTONS, LINKS & ICONS ------------------------------------------------ */
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.icon-arrow { width: 1.15em; height: 1.15em; }

.btn {
  --bg: var(--ink); --fg: var(--ivory); --bd: var(--ink);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  min-height: 52px; padding: 0.9rem 1.9rem;
  border: 1px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 0.74rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--claret); transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover { color: var(--ivory); border-color: var(--claret); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform 0.5s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(5px); }

.btn--ghost { --bg: transparent; --fg: var(--ink); }
.btn--light { --bg: var(--ivory); --fg: var(--ink); --bd: var(--ivory); }
.btn--ghost-light { --bg: transparent; --fg: var(--ivory); --bd: rgba(246, 240, 232, 0.45); }
.btn--sm { min-height: 44px; padding: 0.65rem 1.4rem; font-size: 0.7rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-link {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line); border-radius: 50%; font-size: 1.05rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.5s var(--ease);
}
.social-link:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: translateY(-4px); }
.socials--light .social-link { border-color: var(--line-light); }
.socials--light .social-link:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }

.chips { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip {
  padding: 0.42rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
}

/* 4. HEADER & MOBILE MENU -------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease;
}
.site-header.is-scrolled {
  background: rgba(246, 240, 232, 0.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }

.brand { display: inline-flex; align-items: baseline; gap: 0.55rem; justify-self: start; line-height: 1; }
.brand-main { font-family: var(--f-display); font-size: 1.85rem; font-weight: 600; letter-spacing: -0.01em; }
.brand-sub { font-size: 0.64rem; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }

.primary-nav ul { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav-link {
  position: relative; display: inline-block; padding: 0.5rem 0;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.1rem; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; }

.menu-toggle {
  display: none; position: relative; justify-self: end; width: 48px; height: 48px;
  border: 1px solid var(--line); border-radius: 50%;
}
.menu-toggle span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor;
  transition: transform 0.55s var(--ease), top 0.55s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 19px; }
.menu-toggle span:nth-child(2) { top: 27px; }
.menu-open .menu-toggle { border-color: var(--line-light); }
.menu-open .menu-toggle span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { top: 23px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--ivory); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .brand-sub { color: rgba(246, 240, 232, 0.7); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: calc(var(--header-h) + 1.5rem) var(--gutter) 2rem;
  background: var(--ink); color: var(--ivory); overflow-y: auto;
  clip-path: circle(0% at calc(100% - 44px) 40px); visibility: hidden;
  transition: clip-path 0.85s var(--ease), visibility 0s linear 0.85s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; transition: clip-path 0.85s var(--ease), visibility 0s; }
.mobile-menu nav li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-link {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0; font-family: var(--f-display); font-size: clamp(2.5rem, 12vw, 3.8rem); line-height: 1.1;
  transform: translateY(110%); transition: transform 0.9s var(--ease);
}
.mobile-link small { font-family: var(--f-body); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--rose); }
.mobile-link[aria-current="page"] { font-style: italic; color: var(--rose); }
.menu-open .mobile-link { transform: none; transition-delay: calc(0.18s + var(--i, 0) * 0.07s); }
.mobile-foot { display: grid; gap: 1.4rem; opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s var(--ease); }
.menu-open .mobile-foot { opacity: 1; transform: none; transition-delay: 0.55s; }
.mobile-foot .btn { width: 100%; }
.mobile-mail { font-size: 0.95rem; color: rgba(246, 240, 232, 0.8); text-decoration: underline; text-underline-offset: 4px; }

/* 5. REVEAL & MOTION (only active when JS is running) ----------------------- */
.js .reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* the wrapper stays unclipped (so IntersectionObserver can see it); the photo inside is what gets revealed */
.js .reveal-img img {
  clip-path: inset(0 0 100% 0); scale: 1.2;
  transition: clip-path 1.3s var(--ease), scale 1.8s var(--ease), transform 1s var(--ease);
  transition-delay: var(--delay, 0s), var(--delay, 0s), 0s;
}
.js .reveal-img.is-visible img { clip-path: inset(0 0 0 0); scale: 1; }

/* masked line-by-line headline reveal */
.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line > span { display: inline-block; }
.js .reveal-lines .line > span { transform: translateY(112%); transition: transform 1.1s var(--ease); }
.js .reveal-lines.is-visible .line > span { transform: none; }
.reveal-lines .line:nth-child(2) > span { transition-delay: 0.1s; }
.reveal-lines .line:nth-child(3) > span { transition-delay: 0.2s; }

.zoom img { transition: transform 1s var(--ease); }
.zoom:hover img { transform: scale(1.06); }

@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
.is-in { animation: rise 0.7s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 60ms); }

.filterable { transition: opacity 0.2s ease, transform 0.2s ease; }
.filterable.is-switching { opacity: 0; transform: translateY(8px); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 6. HOME ------------------------------------------------------------------ */
.hero { padding-block: clamp(20px, 3.5vw, 52px) clamp(56px, 8vw, 120px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero-title { font-size: clamp(3.3rem, 8vw, 7.4rem); text-transform: uppercase; margin: 1.3rem 0 1.5rem; line-height: 0.9; }
.hero-title em { letter-spacing: 0.01em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.hero-tags span + span::before { content: "•"; margin-right: 1rem; color: var(--gold); }
.hero-lead { margin: 1.8rem 0 2.2rem; }
.hero-socials { display: flex; align-items: center; gap: 1.2rem; margin-top: 2.4rem; }
.hero-socials-label { font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; padding: 0 0 clamp(36px, 5vw, 70px) clamp(0px, 3vw, 44px); }
.hero-arch { aspect-ratio: 4 / 5.25; border-radius: 999px 999px 22px 22px; overflow: hidden; background: var(--blush); }
.hero-arch img, .intro-photo img, .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch img { object-position: 50% 22%; }
.hero-inset {
  position: absolute; left: 0; bottom: 0; width: 34%; aspect-ratio: 3 / 4;
  border: 6px solid var(--ivory); border-radius: 16px; overflow: hidden; background: var(--blush);
  box-shadow: 0 26px 60px -24px rgba(35, 26, 29, 0.45);
}
.hero-inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-badge {
  position: absolute; right: 0; top: 16%; width: clamp(96px, 10vw, 132px); aspect-ratio: 1;
  border-radius: 50%; background: var(--claret); color: var(--ivory); display: grid; place-items: center;
}
.hero-badge .badge-ring { width: 100%; height: 100%; animation: spin 28s linear infinite; }
.hero-badge text { font-family: var(--f-body); font-size: 8.6px; letter-spacing: 0.15em; font-weight: 500; fill: currentColor; text-transform: uppercase; }
.hero-badge .icon { position: absolute; width: 22%; height: 22%; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 1rem 0; background: var(--paper); }
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee-group { display: flex; flex: none; align-items: center; gap: 2.6rem; padding-right: 2.6rem; font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.6rem); font-style: italic; white-space: nowrap; }
.marquee-group span:nth-child(even) { color: var(--gold); font-style: normal; font-size: 0.7em; }

.intro-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; padding-bottom: 8%; }
.intro-photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); }
.intro-photo--sm {
  position: absolute; right: -6%; bottom: 0; width: 38%; aspect-ratio: 1; border-radius: 50%;
  border: 8px solid var(--ivory);
}
.intro-photo img { object-position: 50% 30%; }
.intro-copy .display { margin: 1.1rem 0 1.6rem; }
.intro-copy .chips { margin: 1.8rem 0 2.2rem; }

/* 7. CARDS & GRIDS --------------------------------------------------------- */
.create-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.create-card {
  position: relative; isolation: isolate; display: block; overflow: hidden;
  aspect-ratio: 3 / 4; border-radius: var(--r-md); color: var(--ivory); background: var(--ink);
}
.create-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); transition: transform 1.2s var(--ease); }
.create-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(24, 14, 18, 0.86) 0%, rgba(24, 14, 18, 0.3) 45%, rgba(24, 14, 18, 0.05) 70%);
}
.create-num { position: absolute; top: 1.3rem; left: 1.5rem; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0.12em; }
.create-go {
  position: absolute; top: 1.1rem; right: 1.1rem; width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid rgba(246, 240, 232, 0.5); border-radius: 50%;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), transform 0.6s var(--ease);
}
.create-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 1.5rem; }
.create-body h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.5vw, 2.3rem); font-weight: 500; line-height: 1; letter-spacing: 0.02em; text-transform: uppercase; }
.create-body p { margin-top: 0.55rem; max-width: 28ch; font-size: 0.95rem; line-height: 1.5; color: rgba(246, 240, 232, 0.86); transition: transform 0.6s var(--ease); }
.create-card:hover img { transform: scale(1.07); }
.create-card:hover .create-go { background: var(--ivory); color: var(--ink); transform: rotate(-45deg); }
.create-card:hover .create-body p { transform: translateY(-4px); }

/* featured editorial grid (home) — 12 columns, rows measured in a fixed unit */
.featured {
  --u: calc((min(100vw, var(--maxw)) - 2 * var(--gutter)) / 24);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: var(--u); gap: var(--gap);
}
.f-item { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--blush); }
.f-item img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.f-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 14, 18, 0.35), transparent 40%); opacity: 0; transition: opacity 0.6s ease; pointer-events: none; }
.f-item:hover::after { opacity: 1; }
.f1 { grid-column: 1 / 6;  grid-row: 1 / 11; }
.f2 { grid-column: 6 / 10; grid-row: 1 / 6; }
.f3 { grid-column: 10 / 13; grid-row: 1 / 6; }
.f4 { grid-column: 6 / 13; grid-row: 6 / 11; }
.f5 { grid-column: 1 / 5;  grid-row: 11 / 21; }
.f6 { grid-column: 5 / 9;  grid-row: 11 / 16; }
.f7 { grid-column: 5 / 9;  grid-row: 16 / 21; }
.f8 { grid-column: 9 / 13; grid-row: 11 / 21; }
.section-foot { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 60px); }

/* follow my journey tiles */
.tile-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 3.2rem;
  min-height: 250px; padding: 1.6rem; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.tile:hover { color: var(--ivory); border-color: var(--ink); transform: translateY(-6px); }
.tile:hover::before { transform: none; }
.tile-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tile-top .icon:first-child { width: 2rem; height: 2rem; }
.tile-top .icon-arrow { transition: transform 0.5s var(--ease); }
.tile:hover .tile-top .icon-arrow { transform: rotate(-45deg); }
.tile-name { font-family: var(--f-display); font-size: 2rem; line-height: 1; }
.tile-handle { margin-top: 0.4rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.7; overflow-wrap: anywhere; }

/* 8. PAGE HEROES (about / shoot / reels / contact) -------------------------- */
.page-hero { padding-block: clamp(36px, 6vw, 90px) clamp(36px, 5vw, 72px); }
.page-hero .display { margin: 1.2rem 0 1.4rem; }
.page-hero .lead { margin-top: 1.4rem; }
.page-hero .btn-row { margin-top: 2rem; }
.split-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.frame { position: relative; overflow: hidden; background: var(--blush); }
.frame--arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 22px 22px; }
.frame--round-top { border-radius: 200px 200px 22px 22px; }
.frame--card { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }

/* 9. REELS ----------------------------------------------------------------- */
.reels-hero-art { position: relative; display: flex; justify-content: center; gap: clamp(10px, 1.6vw, 20px); padding-block: 1rem; }
.reels-hero-art .frame { width: 31%; aspect-ratio: 9 / 16; border-radius: var(--r-md); }
.reels-hero-art .frame:nth-child(1) { margin-top: 12%; }
.reels-hero-art .frame:nth-child(3) { margin-top: 24%; }
.reels-hero-art img { width: 100%; height: 100%; object-fit: cover; }
.reels-hero-art .reel-play { width: 48px; height: 48px; }

.reel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px) var(--gap); }
.reel { display: block; }
.reel-thumb { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r-md); background: linear-gradient(160deg, var(--blush), var(--rose)); isolation: isolate; }
.reel-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; scale: 1.015; transition: transform 1s var(--ease); }
.reel-thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(24, 14, 18, 0.5), transparent 42%); pointer-events: none; }
.reel-pill {
  position: absolute; top: 0.8rem; left: 0.8rem; z-index: 2; padding: 0.3rem 0.8rem; border-radius: 999px;
  background: rgba(251, 248, 243, 0.9); color: var(--ink);
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.reel-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 60px; height: 60px; display: grid; place-items: center;
  translate: -50% -50%; border-radius: 50%; background: rgba(251, 248, 243, 0.9); color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform 0.55s var(--ease), background-color 0.4s ease, color 0.4s ease;
}
.reel-play .icon { width: 42%; height: 42%; margin-left: 4%; }
.reel:hover .reel-thumb img { transform: scale(1.07); }
.reel:hover .reel-play { transform: scale(1.14); background: var(--claret); color: var(--ivory); }
.reel-meta { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; padding: 0.85rem 0.2rem 0; }
.reel-title { font-family: var(--f-display); font-size: 1.45rem; font-weight: 500; line-height: 1.1; }
.reel-watch {
  display: inline-flex; align-items: center; gap: 0.45rem; flex: none;
  font-size: 0.64rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--claret);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.reel-watch .icon { width: 0.8em; height: 0.8em; }
/* thumbnail unavailable (private / removed / offline) */
.reel-thumb.is-missing::before {
  content: "Reel"; position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.2rem;
  font-family: var(--f-display); font-style: italic; font-size: 2.6rem; color: rgba(255, 255, 255, 0.7);
}
.reel-thumb.is-missing img { display: none; }

.reels-featured { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: stretch; }
.reels-featured .reel--big .reel-play { width: 84px; height: 84px; }
.reels-featured .reel--big .reel-title { font-size: 2rem; }
.reels-featured-side { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; }
.reels-featured-side .display { margin: 1rem 0 1.2rem; }
.reel-grid--side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reel-grid--side .reel-meta { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
.reel-grid--side .reel-title { font-size: 1.2rem; }

.filter-bar { position: relative; z-index: 40; padding-block: 1rem; border-block: 1px solid var(--line); background: var(--ivory); }
.filter-list { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.filter-label { margin-right: 0.8rem; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.chip-btn {
  padding: 0.7rem 1.35rem; border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.4s var(--ease);
}
.chip-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--ivory); border-color: var(--ink); }

.reel-link { display: block; }
.section--dark .reel-title { color: var(--ivory); }
.section--dark .reel-watch { color: var(--rose); }
.frame.is-missing img { display: none; }
.reels-hero-art a.frame { display: block; }

.reel-section + .reel-section { margin-top: clamp(56px, 8vw, 110px); }
.reel-section-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem 2rem; margin-bottom: clamp(22px, 3vw, 40px); padding-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.reel-section-head .display { text-transform: uppercase; }
.reel-section-head p { color: var(--muted); }

.cta { text-align: center; }
.cta .display { margin: 1.2rem auto 1.6rem; }
.cta .lead { margin: 0 auto 2.4rem; }
.cta .btn-row { justify-content: center; }

/* 10. SHOOT ---------------------------------------------------------------- */
/* fallback: plain CSS columns (used only if JS is unavailable) */
.gallery { column-count: 3; column-gap: var(--gap); }
/* with JS: balanced masonry rows built by script.js */
.gallery.is-masonry { column-count: auto; display: flex; flex-direction: column; gap: var(--gap); }
.is-masonry .shot { margin: 0; }
/* rows hold up to --n columns; a block with fewer photos than columns is centred rather than left-aligned */
.gallery-row { --n: 3; display: flex; justify-content: center; align-items: flex-start; gap: var(--gap); }
.gallery-col { flex: 0 0 calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.shot {
  position: relative; display: block; break-inside: avoid; margin: 0 0 var(--gap);
  overflow: hidden; border-radius: var(--r-md); background: var(--blush);
}
.shot-open { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 30%); }
.shot--tall { aspect-ratio: 2 / 3; }
.shot--portrait { aspect-ratio: 3 / 4; }
.shot--square { aspect-ratio: 1 / 1; }
.shot--land { aspect-ratio: 4 / 3; }
.shot--wide { column-span: all; aspect-ratio: 21 / 9; }
.shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
  padding: 2.4rem 1.1rem 1rem; color: var(--ivory); pointer-events: none;
  background: linear-gradient(to top, rgba(24, 14, 18, 0.7), transparent);
  opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s var(--ease);
}
.shot-cap span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; }
.shot-cap .icon { width: 1.3rem; height: 1.3rem; }
.shot:hover .shot-cap, .shot:focus-within .shot-cap { opacity: 1; transform: none; }
.gallery-empty { padding: 4rem 0; text-align: center; color: var(--muted); }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 4.5rem 1rem 3.5rem;
  background: rgba(20, 12, 15, 0.94); opacity: 0; transition: opacity 0.35s ease;
}
.lightbox.is-open { opacity: 1; }
.lb-stage { display: grid; justify-items: center; gap: 0.9rem; max-width: min(92vw, 980px); max-height: 100%; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); width: auto; height: auto; border-radius: 10px; object-fit: contain; }
.lb-stage figcaption { color: rgba(246, 240, 232, 0.7); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; text-align: center; }
.lb-btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-light); border-radius: 50%;
  color: var(--ivory); font-size: 1.3rem; transition: background-color 0.3s ease, color 0.3s ease;
}
.lb-btn:hover { background: var(--ivory); color: var(--ink); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
.lb-prev .icon { transform: rotate(180deg); }

/* 11. ABOUT ---------------------------------------------------------------- */
.who-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.who-grid > :first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.who-copy .role { margin: 1.4rem 0 0; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.who-copy .prose { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.7; }
.who-copy .prose p:first-child::first-letter { font-family: var(--f-display); font-size: 4.2em; float: left; line-height: 0.8; padding: 0.08em 0.1em 0 0; color: var(--claret); }
.pull-quote { margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--f-display); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.15; color: var(--claret); }

.about-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.about-strip .frame { aspect-ratio: 3 / 4; border-radius: var(--r-md); }
.about-strip .frame:nth-child(2) { margin-top: clamp(24px, 6vw, 90px); }
.about-strip .frame:nth-child(3) { margin-top: clamp(0px, 2vw, 30px); }
.about-strip img { width: 100%; height: 100%; object-fit: cover; }

.content-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.content-card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 280px; padding: 1.6rem; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper);
  transition: color 0.5s var(--ease), border-color 0.5s var(--ease), transform 0.6s var(--ease);
}
.content-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--claret); transform: translateY(101%); transition: transform 0.6s var(--ease); }
.content-card:hover { color: var(--ivory); border-color: var(--claret); transform: translateY(-6px); }
.content-card:hover::before { transform: none; }
.content-card .num { font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.14em; color: var(--gold); transition: color 0.4s; }
.content-card:hover .num { color: var(--rose); }
.content-card h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; line-height: 1.02; }
.content-card p { margin-top: 0.7rem; font-size: 0.95rem; line-height: 1.55; color: var(--muted); transition: color 0.4s; }
.content-card:hover p { color: rgba(246, 240, 232, 0.85); }

.approach-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.approach-list { counter-reset: step; border-top: 1px solid var(--line-light); }
.approach-item {
  counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 0.4rem 1rem; align-items: baseline;
  padding: 1.5rem 0; border-bottom: 1px solid var(--line-light); transition: padding-left 0.6s var(--ease);
}
.approach-item::before { content: "0" counter(step); grid-row: span 2; font-family: var(--f-display); font-size: 1.1rem; letter-spacing: 0.12em; color: var(--gold); }
.approach-item h3 { font-family: var(--f-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 500; line-height: 1.1; transition: color 0.4s; }
.approach-item p { color: rgba(246, 240, 232, 0.7); font-size: 0.98rem; }
.approach-item:hover { padding-left: 0.9rem; }
.approach-item:hover h3 { color: var(--rose); }
.approach-visual { position: sticky; top: calc(var(--header-h) + 24px); aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; }
.approach-visual img { width: 100%; height: 100%; object-fit: cover; }

/* 12. CONTACT -------------------------------------------------------------- */
.mail-link {
  display: inline-block; margin: 1.6rem 0 1.8rem; font-family: var(--f-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.1; overflow-wrap: anywhere;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 0.1em;
  transition: color 0.4s ease, background-size 0.5s var(--ease);
}
.mail-link:hover { color: var(--claret); background-size: 0 1px; background-position: 100% 100%; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-side h2 { margin-bottom: 1.6rem; }
.social-list { border-top: 1px solid var(--line); }
.social-row {
  display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; align-items: center; gap: 1rem;
  padding: 1.15rem 0; border-bottom: 1px solid var(--line); transition: padding-left 0.5s var(--ease), color 0.4s ease;
}
.social-row .icon:first-child { width: 1.4rem; height: 1.4rem; }
.social-row strong { display: block; font-family: var(--f-display); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.social-row small { display: block; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
.social-row:hover { padding-left: 0.7rem; color: var(--claret); }
.social-row .icon-arrow { transition: transform 0.5s var(--ease); }
.social-row:hover .icon-arrow { transform: rotate(-45deg); }

.form-card { padding: clamp(24px, 4vw, 56px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); }
.form-card > .display { margin-bottom: 0.6rem; }
.form-intro { margin-bottom: 2rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.6rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); }
.field .req { color: var(--claret); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.85rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  background: transparent; font-size: 1.02rem; outline: none; transition: border-color 0.4s ease;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.6; }
.field select {
  padding-right: 2rem; cursor: pointer;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231a1d' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0 center / 20px no-repeat;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(117, 104, 112, 0.7); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--claret); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; margin-top: 2.2rem; }
.form-note { flex: 1 1 260px; font-size: 0.86rem; line-height: 1.5; color: var(--muted); }
.form-status { margin-top: 1.4rem; padding: 1rem 1.2rem; border-left: 2px solid var(--claret); background: var(--ivory); font-size: 0.95rem; }
.form-status a { text-decoration: underline; text-underline-offset: 3px; }

/* 13. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--ivory); padding-block: clamp(56px, 8vw, 110px) 1.6rem; }
.footer-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.6rem 3rem; padding-bottom: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line-light); }
.footer-name { font-size: clamp(2.8rem, 8vw, 6.6rem); line-height: 0.95; }
.footer-name em { font-style: italic; color: var(--rose); }
.footer-role { margin-top: 0.8rem; font-size: 0.78rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(246, 240, 232, 0.65); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem; padding-block: clamp(32px, 5vw, 60px); }
.footer-grid h4 { margin-bottom: 1.1rem; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--rose); }
.footer-nav { display: grid; gap: 0.5rem; }
.footer-nav a, .footer-mail { font-family: var(--f-display); font-size: 1.5rem; line-height: 1.2; transition: color 0.3s ease, padding-left 0.4s var(--ease); }
.footer-nav a:hover { color: var(--rose); padding-left: 0.4rem; }
.footer-mail { display: inline-block; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(246, 240, 232, 0.35); text-underline-offset: 6px; }
.footer-mail:hover { color: var(--rose); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-light); font-size: 0.82rem; color: rgba(246, 240, 232, 0.6); }
.footer-bottom a:hover { color: var(--ivory); }

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .tile-grid, .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reels-featured { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .reel-grid--side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { column-count: 3; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand-main { font-size: 1.7rem; }

  .hero-grid, .intro-grid, .split-hero, .who-grid, .approach-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 2.2rem; }
  .hero-copy { display: contents; }
  .hero-head { order: 1; }
  .hero-visual { order: 2; width: min(100%, 520px); margin-inline: auto; padding-left: 0; }
  .hero-body { order: 3; }
  .hero-title { font-size: clamp(3.4rem, 15vw, 6.4rem); margin-bottom: 1rem; }
  .hero-lead { margin-top: 0; }
  .intro-media { width: min(100%, 520px); margin-inline: auto; }
  .intro-photo--sm { right: 0; }
  .split-hero .frame--arch, .split-hero .reels-hero-art { width: min(100%, 460px); margin-inline: auto; }
  .who-grid > :first-child, .approach-visual { position: static; }
  .approach-visual { display: none; }

  .create-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { column-count: 2; }
  .gallery-row { --n: 2; }
  .gallery-row.is-single .gallery-col { flex-basis: 100%; }
  .reels-featured { grid-template-columns: minmax(0, 1fr); }
  .reels-featured .reel--big { width: min(100%, 380px); margin-inline: auto; }
  .reel-grid--side { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid > :last-child { grid-column: 1 / -1; }

  /* featured work: 2-column editorial flow on tablets / phones */
  .featured { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .f-item { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 5; }
  .f1, .f4 { grid-column: 1 / -1; }
  .f1 { aspect-ratio: 4 / 4.6; }
  .f4 { aspect-ratio: 16 / 9; }
  .f5, .f8 { aspect-ratio: 3 / 4; }
  .f6, .f7 { aspect-ratio: 3 / 4; }
}

@media (min-width: 961px) {
  .filter-bar--sticky { position: sticky; top: var(--header-h); }
}

@media (max-width: 760px) {
  :root { --gap: 12px; }
  body { font-size: 1rem; }
  .section-head { align-items: flex-start; }

  .hero-tags { gap: 0.3rem 1.1rem; font-size: 0.72rem; letter-spacing: 0.16em; }
  .hero-tags span + span::before { display: none; } /* a wrapped bullet would sit orphaned at a line start */

  .create-grid { grid-template-columns: minmax(0, 1fr); }
  .create-card { aspect-ratio: 4 / 4.3; }
  .tile { min-height: 190px; gap: 2rem; padding: 1.2rem; }
  .tile-name { font-size: 1.6rem; }
  .content-card { min-height: 220px; padding: 1.2rem; gap: 2rem; }
  .content-card h3 { font-size: 1.55rem; }
  .content-card p { font-size: 0.88rem; }

  .reel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-grid--side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reel-meta { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .reel-title { font-size: 1.25rem; }
  .reel-play { width: 52px; height: 52px; }
  .reel-pill { font-size: 0.58rem; top: 0.6rem; left: 0.6rem; }
  .filter-label { flex-basis: 100%; margin-bottom: 0.2rem; }
  .chip-btn { padding: 0.65rem 1.05rem; font-size: 0.68rem; letter-spacing: 0.14em; }

  .shot--wide { aspect-ratio: 4 / 3; }
  .shot-cap { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; }
  .btn-row .btn { flex: 1 1 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-top .btn { width: 100%; }
  .brand-sub { display: none; }
  .who-copy .prose p:first-child::first-letter { font-size: 3.6em; }
}

@media (max-width: 400px) {
  .brand-sub { display: none; }
  .btn { padding-inline: 1.4rem; letter-spacing: 0.16em; }
}

@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; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
}
