﻿/* naluenai — Instagram Luxury design system */

:root {
  --bg: #F7F4F0;
  --bg-soft: #EFEAE3;
  --bg-elevated: #FFFFFF;
  --ink: #1C1917;
  --ink-soft: #8A8178;
  --line: #E8E2DA;
  --accent: #B8A08A;
  --accent-deep: #9A826C;
  --white: #FFFFFF;
  --shadow-soft: 0 20px 60px rgba(28, 25, 23, 0.08);
  --font-display: "Google Sans", sans-serif;
  --font-body: "Google Sans", sans-serif;
  --nav-h: 4rem;
  --btn-radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* aliases for admin markup */
  --text: var(--ink);
  --text-light: var(--ink-soft);
  --border: var(--line);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-h);
}

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

a {
  color: inherit;
  text-decoration: none;
}

em {
  font-style: italic;
  font-family: var(--font-display);
  font-weight: 400;
}

::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 10px;
}

/* ─── NAV — standard full-width top bar ─── */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

nav#navbar {
  position: relative;
  z-index: 100;
  width: 100%;
  max-width: none;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
  background: var(--bg);
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

nav#navbar.is-scrolled {
  background: rgba(247, 244, 240, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 28px rgba(28, 25, 23, 0.06);
  border-bottom-color: transparent;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  padding: 0.65rem 1.2rem;
  border-radius: var(--btn-radius);
  transition: background 0.3s, transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
}

/* desktop — compact cluster, centered */
@media (min-width: 721px) {
  nav#navbar {
    justify-content: center;
    gap: 1.65rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .nav-links {
    gap: 1.35rem;
  }
}

@media (max-width: 720px) {
  nav#navbar {
    gap: 0.75rem;
    padding: 0.7rem 0.9rem;
  }

  .logo {
    font-size: 1.1rem;
    letter-spacing: 0.02em;
    flex-shrink: 0;
  }

  .nav-links {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
  }

  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .nav-cta {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    padding: 0.5rem 0.8rem;
    flex-shrink: 0;
  }
}

@media (max-width: 380px) {
  nav#navbar {
    gap: 0.45rem;
    padding: 0.62rem 0.7rem;
  }

  .logo {
    font-size: 1rem;
  }

  .nav-links {
    gap: 0.55rem;
  }

  .nav-links a {
    font-size: 0.58rem;
    letter-spacing: 0.05em;
  }

  .nav-cta {
    padding: 0.45rem 0.65rem;
    font-size: 0.56rem;
  }
}

/* ─── HOME — first screen hero, then scrollable gallery ─── */
body.page-home {
  overflow-x: hidden;
  overflow-y: auto;
}

.home-stage {
  height: calc(100vh - var(--nav-h));
  height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  padding: 0 0 0.85rem;
  box-sizing: border-box;
  overflow: hidden;
  background: var(--bg);
}

/* 1) home stills — auto rows from data-count (1–3) */
.hs-photos {
  display: grid;
  grid-template-rows: 1fr;
  gap: 0.25rem;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}

.hs-photos[data-count="1"] {
  grid-template-rows: 1fr;
}

.hs-photos[data-count="2"] {
  grid-template-rows: 1fr 1fr;
}

.hs-photos[data-count="3"] {
  grid-template-rows: 1fr 1fr 1fr;
}

.hs-photo {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--bg-soft);
}

.hs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  animation: hsPhotoIn 1s var(--ease) forwards;
}

.hs-photo iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.hs-photo-video .hs-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.72);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background 0.3s;
  z-index: 2;
}

.hs-photo-video .hs-play span {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent #fff;
  margin-left: 0.15rem;
}

.hs-photo-video .hs-play:hover {
  transform: scale(1.06);
  background: rgba(28, 25, 23, 0.88);
}

.hs-photo:nth-child(2) img {
  animation-delay: 0.1s;
}

.hs-photo:nth-child(3) img {
  animation-delay: 0.18s;
}

.hs-photo-skel {
  background-image: linear-gradient(90deg, var(--bg-soft), #f3efe9, var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes hsPhotoIn {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: scale(1); }
}

/* 2) album rail — exactly three portrait cards visible */
.hs-albums {
  flex: 0 0 auto;
  margin-top: 0;
  padding: 0;
}

.hs-albums[hidden] {
  display: none !important;
}

.hs-albums-head {
  display: none;
}

.hs-albums-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
}

.hs-albums-rail {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.1rem;
  min-width: 0;
}

.hs-albums-rail::-webkit-scrollbar {
  display: none;
}

.hs-card {
  position: relative;
  flex: 0 0 calc((100% - 0.8rem) / 3);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-soft);
  scroll-snap-align: start;
  opacity: 0;
  transform: translateY(10px);
  animation: hsCardIn 0.7s var(--ease) forwards;
  animation-delay: calc(0.2s + var(--i, 0) * 0.06s);
}

.hs-card-skel {
  opacity: 1;
  transform: none;
  animation: shimmer 1.2s linear infinite;
  background-image: linear-gradient(90deg, var(--bg-soft), #f3efe9, var(--bg-soft));
  background-size: 200% 100%;
}

@keyframes hsCardIn {
  to { opacity: 1; transform: translateY(0); }
}

.hs-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

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

.hs-card-empty {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hs-card-name {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 0.4rem 0.35rem;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.78), transparent);
  color: var(--white);
  font-size: 0.58rem;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 3) brand + words | buttons — 2 columns */
.hs-copy {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 0.75rem 1rem;
  padding: 0.65rem 1rem 0;
  text-align: left;
  animation: hsCopyIn 0.85s var(--ease) 0.28s both;
}

@keyframes hsCopyIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hs-copy-text {
  min-width: 0;
}

.hs-brand {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 8.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
}

.hs-headline {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.8vw, 1.15rem);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.hs-support {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.hs-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  align-self: end;
}

.hs-cta .btn-primary,
.hs-cta .btn-ghost {
  width: 100%;
  white-space: nowrap;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.15rem;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--btn-radius);
  transition: transform 0.3s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
  background: var(--ink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

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

/* FAB available once page scrolls past hero */
body.page-home #site-fab,
body.page-home .fab-container {
  display: block !important;
}

/* short phones — tighten album + copy so photos keep presence */
@media (max-height: 720px) {
  .home-stage {
    padding-top: 0;
    padding-bottom: 0.55rem;
  }

  .hs-albums {
    margin-top: 0;
  }

  .hs-card {
    aspect-ratio: 3 / 4;
  }

  .hs-brand {
    font-size: clamp(1.85rem, 9vw, 2.4rem);
  }

  .hs-headline {
    font-size: 0.92rem;
  }

  .hs-support {
    margin-bottom: 0.5rem;
  }

  .btn-primary,
  .btn-ghost {
    padding: 0.55rem 1rem;
  }
}

/* desktop — split hero: photos left · words right */
@media (min-width: 900px) {
  body.page-home {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .home-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
    grid-template-rows: calc(100vh - var(--nav-h)) auto;
    grid-template-rows: calc(100dvh - var(--nav-h)) auto;
    height: auto;
    min-height: 0;
    max-height: none;
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow: visible;
  }

  /* LEFT — full-bleed photo column (hero row only) */
  .hs-photos {
    grid-column: 1;
    grid-row: 1;
    flex: unset;
    height: 100%;
    min-height: 0;
    width: 100%;
    gap: 0.45rem;
    align-self: stretch;
  }

  .hs-photos[data-count="1"],
  .hs-photos[data-count="2"],
  .hs-photos[data-count="3"] {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .hs-photos[data-count="1"] {
    grid-template-rows: 1fr;
  }

  .hs-photos[data-count="2"] {
    grid-template-rows: 1fr 1fr;
  }

  .hs-photos[data-count="3"] {
    grid-template-rows: 1fr 1fr 1fr;
  }

  .hs-photos[data-count="1"] .hs-photo,
  .hs-photos[data-count="2"] .hs-photo,
  .hs-photos[data-count="3"] .hs-photo {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
  }

  .hs-photo {
    min-height: 0;
  }

  /* RIGHT — copy only on hero row */
  .hs-copy {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-self: stretch;
    gap: 0;
    height: auto;
    min-height: 0;
    max-width: none;
    margin: 0;
    padding: clamp(5.5rem, 12vh, 8rem) clamp(2rem, 4vw, 4rem) 1.5rem;
    box-sizing: border-box;
  }

  .hs-copy-text {
    max-width: 22rem;
  }

  .hs-brand {
    font-size: clamp(3rem, 5.5vw, 4.25rem);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
  }

  .hs-headline {
    font-size: clamp(1.15rem, 1.6vw, 1.45rem);
    line-height: 1.45;
    margin-bottom: 0.55rem;
  }

  .hs-support {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    margin-bottom: 0;
  }

  .hs-cta {
    flex-direction: column;
    align-items: stretch;
    align-self: flex-start;
    gap: 0.55rem;
    margin-top: 2rem;
    width: min(100%, 13.5rem);
  }

  .hs-cta .btn-primary,
  .hs-cta .btn-ghost {
    width: 100%;
  }

  .btn-primary,
  .btn-ghost {
    padding: 0.85rem 1.35rem;
    font-size: 0.65rem;
  }

  /* albums — 12-col bridge under hero (title 2 · rail 10), like home gallery */
  .hs-albums {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 1.75rem);
    align-items: start;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2.5rem clamp(1.5rem, 3vw, 3rem) 2.75rem;
    box-sizing: border-box;
    background: #ffffff;
    color: #111111;
  }

  .hs-albums-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    grid-column: 1 / span 2;
    margin: 0;
    position: sticky;
    top: calc(var(--nav-h) + 0.75rem);
  }

  .hs-albums-title {
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    color: #111111;
    max-width: 100%;
    word-break: break-word;
  }

  .hs-albums-rail {
    grid-column: 3 / span 10;
    gap: 0.65rem;
    min-width: 0;
  }

  .hs-card {
    flex: 0 0 clamp(132px, 13vw, 188px);
    aspect-ratio: 3 / 4;
    max-width: none;
  }

  .hs-card-name {
    font-size: 0.68rem;
    padding: 1.5rem 0.45rem 0.4rem;
  }

  body.page-home.home-hide-albums-desktop .hs-albums {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .home-stage {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.75fr);
  }

  .hs-photos {
    gap: 0.55rem;
  }

  .hs-copy {
    padding-left: clamp(2.5rem, 4.5vw, 5rem);
    padding-right: clamp(2.5rem, 4.5vw, 5rem);
  }

  .hs-albums {
    padding: 3rem clamp(2rem, 4vw, 4.5rem) 3.25rem;
  }

  .hs-albums-title {
    font-size: 2.35rem;
  }

  .hs-copy-text {
    max-width: 24rem;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .hs-copy {
    padding-top: 5rem;
    padding-bottom: 1rem;
  }

  .hs-brand {
    font-size: 2.6rem;
    margin-bottom: 0.65rem;
  }

  .hs-headline {
    font-size: 1.05rem;
  }

  .hs-cta {
    margin-top: 1.25rem;
  }

  .hs-albums {
    padding-bottom: 1.25rem;
  }

  .hs-card {
    aspect-ratio: 3 / 4;
  }
}

/* ─── HOME GALLERY (below hero) — white / black ─── */
.home-gallery {
  background: #ffffff;
  color: #111111;
  padding: 3.25rem 1rem 4.5rem;
}

.home-gallery[hidden] {
  display: none !important;
}

.hg-cat + .hg-cat {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid #ececec;
}

.hg-cat-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.35rem;
}

.hg-cat-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #111111;
}

.hg-cat-sub {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #666666;
}

.hg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
}

.hg-item {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f3f3f3;
}

.hg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}

.hg-item:hover img {
  transform: scale(1.04);
}

/* per-section layouts — heading style stays the same */
.hg-cat[data-layout="grid2"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-cat[data-layout="grid3"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-cat[data-layout="grid4"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-cat[data-layout="portrait"] .hg-item {
  aspect-ratio: 3 / 4;
}

.hg-cat[data-layout="landscape"] .hg-item {
  aspect-ratio: 3 / 2;
}

.hg-cat[data-layout="split"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-cat[data-layout="split"] .hg-item {
  aspect-ratio: 1 / 1;
}

.hg-cat[data-layout="stack"] .hg-grid {
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.hg-cat[data-layout="stack"] .hg-item {
  aspect-ratio: 16 / 10;
}

.hg-cat[data-layout="featured"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hg-cat[data-layout="featured"] .hg-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.hg-cat[data-layout="magazine"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
}

.hg-cat[data-layout="magazine"] .hg-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 5;
}

.hg-cat[data-layout="mosaic"] .hg-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
}

.hg-cat[data-layout="mosaic"] .hg-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.hg-cat[data-layout="masonry"] .hg-grid {
  display: block;
  columns: 2;
  column-gap: 0.4rem;
}

.hg-cat[data-layout="masonry"] .hg-item {
  break-inside: avoid;
  margin: 0 0 0.4rem;
  aspect-ratio: auto;
  height: auto;
}

.hg-cat[data-layout="masonry"] .hg-item:nth-child(3n + 1) {
  aspect-ratio: 3 / 4;
}

.hg-cat[data-layout="masonry"] .hg-item:nth-child(3n + 2) {
  aspect-ratio: 4 / 5;
}

.hg-cat[data-layout="masonry"] .hg-item:nth-child(3n) {
  aspect-ratio: 1 / 1;
}

.hg-cat[data-layout="masonry"] .hg-item img {
  display: block;
}

@media (min-width: 720px) {
  .home-gallery {
    padding: 4.5rem 2rem 5.5rem;
  }

  .hg-grid,
  .hg-cat[data-layout="grid3"] .hg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .hg-cat[data-layout="grid2"] .hg-grid,
  .hg-cat[data-layout="split"] .hg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hg-cat[data-layout="grid4"] .hg-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .hg-cat[data-layout="featured"] .hg-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hg-cat[data-layout="featured"] .hg-item:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 21 / 9;
  }

  .hg-cat[data-layout="magazine"] .hg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, auto));
  }

  .hg-cat[data-layout="magazine"] .hg-item:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    min-height: 100%;
    height: 100%;
  }

  .hg-cat[data-layout="magazine"] .hg-item:nth-child(2),
  .hg-cat[data-layout="magazine"] .hg-item:nth-child(3) {
    grid-column: 2;
    aspect-ratio: 4 / 3;
  }

  .hg-cat[data-layout="magazine"] .hg-item:nth-child(n + 4) {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  .hg-cat[data-layout="stack"] .hg-item {
    aspect-ratio: 21 / 9;
  }

  .hg-cat[data-layout="mosaic"] .hg-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hg-cat[data-layout="mosaic"] .hg-item:first-child {
    grid-column: span 4;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
  }

  .hg-cat[data-layout="mosaic"] .hg-item:not(:first-child) {
    grid-column: span 2;
    aspect-ratio: 4 / 5;
  }

  .hg-cat[data-layout="masonry"] .hg-grid {
    columns: 3;
    column-gap: 0.55rem;
  }

  .hg-cat[data-layout="masonry"] .hg-item {
    margin-bottom: 0.55rem;
  }

  .hg-cat + .hg-cat {
    margin-top: 4.5rem;
    padding-top: 4.5rem;
  }
}

/* desktop — 12-column page: title 2 · photos 10 */
@media (min-width: 900px) {
  .home-gallery {
    padding: 5rem clamp(1.5rem, 3vw, 3rem) 6rem;
  }

  .hg-cat {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(1rem, 2vw, 1.75rem);
    row-gap: 0;
    align-items: start;
  }

  .hg-cat + .hg-cat {
    margin-top: 5rem;
    padding-top: 5rem;
  }

  .hg-cat-head {
    grid-column: 1 / span 2;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--nav-h) + 0.75rem);
  }

  .hg-cat-title {
    font-size: clamp(1.65rem, 2.2vw, 2.35rem);
    max-width: 100%;
    word-break: break-word;
  }

  .hg-cat-sub {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    line-height: 1.45;
  }

  .hg-grid {
    grid-column: 3 / span 10;
    min-width: 0;
  }
}

@media (min-width: 1100px) {
  .home-gallery {
    padding: 5.5rem clamp(2rem, 4vw, 4.5rem) 6.5rem;
  }

  .hg-grid {
    gap: 0.7rem;
  }

  .hg-cat[data-layout="masonry"] .hg-grid {
    columns: 4;
    column-gap: 0.7rem;
  }

  .hg-cat[data-layout="masonry"] .hg-item {
    margin-bottom: 0.7rem;
  }

  .hg-cat[data-layout="split"] .hg-item {
    aspect-ratio: 4 / 5;
  }

  .hg-cat-title {
    font-size: 2.35rem;
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.film-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}

.film-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.film-cover-button {
  position: relative;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #111;
}

.film-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.6s var(--ease), opacity 0.3s;
}

.film-cover-button:hover .film-cover-image {
  transform: scale(1.03);
  opacity: 1;
}

.film-play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  margin: -28px 0 0 -28px;
  border-radius: 50%;
  background: rgba(247, 244, 240, 0.94);
  transition: transform 0.35s var(--ease), background 0.3s;
}

.film-cover-button:hover .film-play-button {
  transform: scale(1.06);
  background: var(--white);
}

.film-play-button::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 19px;
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--ink);
}

/* ─── PORTFOLIO ─── */
.page-intro {
  position: relative;
  z-index: 1;
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  overflow: visible;
}

.page-intro .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.page-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.15;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.page-intro p {
  margin: 0.9rem auto 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-weight: 300;
}

/* Mobile page intro — keep modest top spacing under sticky nav */
@media (max-width: 720px) {
  .page-intro {
    padding: 2.25rem 1.1rem 2rem;
  }
}

@media (max-width: 380px) {
  .page-intro {
    padding: 1.85rem 0.9rem 1.75rem;
  }
}

.sec {
  padding: 1.25rem 0 5rem;
}

body.page-portfolio .sec {
  padding-top: 0;
  padding-bottom: 0;
}

.album-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

@media (min-width: 768px) {
  .album-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
}

@media (min-width: 1200px) {
  .album-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.acard {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 4 / 5;
  opacity: 0;
  animation: fadeIn 0.65s var(--ease) forwards;
}

.acard-thumb {
  width: 100%;
  height: 100%;
}

.acard-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.acard:hover .acard-thumb img {
  transform: scale(1.05);
}

.acard-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.acard-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.72), transparent);
  color: var(--white);
  opacity: 1;
  transform: none;
  pointer-events: none;
}

.acard-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.skel {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, var(--bg-soft), #f3efe9, var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

@keyframes shimmer {
  to { background-position: -200% 0; }
}

.empty {
  grid-column: 1 / -1;
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

.load-more-wrap {
  text-align: center;
  margin: 3rem 0;
}

.load-more-wrap[hidden] {
  display: none !important;
  margin: 0;
}

.btn-load-more {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 1rem 2.5rem;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.3s;
}

.btn-load-more:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── ALBUM DETAIL ─── */
.album-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  place-items: end center;
  overflow: hidden;
  background: #1c1917;
}

.album-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.album-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.82), rgba(28, 25, 23, 0.2) 55%, rgba(28, 25, 23, 0.25));
}

.album-hero .hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
  color: var(--white);
  padding: 0 1.5rem 3.5rem;
  animation: fadeUp 0.9s var(--ease) both;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 auto 0.75rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.album-hero-actions {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: center;
}

.album-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.album-icon-btn svg {
  display: block;
}

.album-icon-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.album-icon-btn.is-done {
  background: rgba(184, 160, 138, 0.55);
  border-color: var(--accent);
}

/* Desktop: right side of hero */
@media (min-width: 769px) {
  .album-hero-actions {
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    flex-direction: column;
  }

  .album-hero .hero-content {
    padding-bottom: 3.5rem;
  }
}

/* Mobile: bottom center on image */
@media (max-width: 768px) {
  .album-hero .hero-content {
    padding-bottom: 5.5rem;
  }

  .album-hero-actions {
    left: 50%;
    bottom: 1.15rem;
    transform: translateX(-50%);
    flex-direction: row;
  }
}

.abtn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-elevated);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.35rem;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.abtn:hover {
  border-color: var(--ink);
}

.abtn.abtn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.abtn.abtn-primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.gallery-wrap {
  padding: 0;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

@media (min-width: 768px) {
  .masonry {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
}

@media (min-width: 1200px) {
  .masonry {
    grid-template-columns: repeat(4, 1fr);
  }
}

.mitem {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: zoom-in;
}

.mitem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
}

.mitem:hover img {
  transform: scale(1.04);
}

.gallery-empty {
  padding: 4rem 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

.related {
  padding: 4rem 0 2rem;
}

.related-hdr {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.related-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.related-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 400;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

@media (min-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
}

.rcard {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-soft);
}

.rcard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.rcard:hover img {
  transform: scale(1.05);
}

.rcard-info {
  position: absolute;
  inset: auto 0 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(28, 25, 23, 0.75), transparent);
  color: var(--white);
}

.rcard-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.rcard-meta {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.75;
  margin-top: 0.2rem;
}

.cta-sec {
  text-align: center;
  padding: 5rem 1.5rem;
  background: var(--bg-soft);
}

.cta-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.cta-desc {
  color: var(--ink-soft);
  max-width: 28rem;
  margin: 0 auto 1.75rem;
}

.cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.cbtn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: var(--btn-radius);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: var(--white);
  transition: transform 0.3s, background 0.3s;
}

.cbtn:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
}

/* Album skeleton */
#skeleton {
  padding-top: 0;
}

.skel-hero {
  height: 68vh;
  background: var(--bg-soft);
  animation: shimmer 1.2s linear infinite;
  background-size: 200% 100%;
  background-image: linear-gradient(90deg, var(--bg-soft), #f3efe9, var(--bg-soft));
}

.skel-bar {
  height: 4.5rem;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.skel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

@media (min-width: 768px) {
  .skel-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.skel-item {
  aspect-ratio: 4 / 5;
  background: linear-gradient(90deg, var(--bg-soft), #f3efe9, var(--bg-soft));
  background-size: 200% 100%;
  animation: shimmer 1.2s linear infinite;
}

/* ─── LIGHTBOX ─── */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  flex-direction: column;
  background: rgba(28, 25, 23, 0.96);
  color: var(--white);
}

.lb.open {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
}

.lb-album {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.lb-cap {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.lb-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lb-counter {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.6);
}

.lb-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.lb-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 0;
  padding: 0 3.5rem;
}

.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  object-fit: contain;
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  transition: background 0.3s;
}

.lb-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

#lb-prev { left: 0.75rem; }
#lb-next { right: 0.75rem; }

.lb-filmstrip {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  padding: 0.75rem 1rem 1.1rem;
  scrollbar-width: thin;
}

.lb-thumb {
  width: 56px;
  height: 70px;
  object-fit: cover;
  opacity: 0.45;
  cursor: pointer;
  flex: 0 0 auto;
  transition: opacity 0.25s, outline 0.25s;
  outline: 1px solid transparent;
}

.lb-thumb.active,
.lb-thumb:hover {
  opacity: 1;
  outline-color: var(--accent);
}

/* ─── FILM PAGE ─── */
.films-page {
  padding: 1.75rem 1.25rem 5.5rem;
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .films-page {
    padding: 2.5rem 1.75rem 6.5rem;
  }
}

.films-grid {
  display: grid;
  gap: 3.25rem;
}

@media (min-width: 768px) {
  .films-grid {
    gap: 4rem;
  }
}

.film-card {
  opacity: 0;
  animation: fadeIn 0.7s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

.film-card .film-embed {
  background: #1a1714;
}

.film-card-meta {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.4rem;
  justify-items: start;
  padding-inline: 0.05rem;
}

.film-card-cat {
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  line-height: 1.2;
}

.film-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.015em;
  text-align: left;
  margin: 0;
}

/* ─── CONTACT ─── */
.contact-page {
  padding: 3rem 1.25rem 5rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 720px) {
  .contact-page {
    padding-top: 2.25rem;
  }
}

@media (max-width: 380px) {
  .contact-page {
    padding-top: 1.85rem;
  }
}

.contact-page h1,
.contact-page h3 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-page .c-desc {
  text-align: center;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.contact-btns {
  display: grid;
  gap: 0.75rem;
  max-width: 380px;
  margin: 0 auto;
}

.contact-btns .cbtn {
  justify-content: center;
  background: var(--bg-elevated);
  color: var(--ink);
  border: 1px solid var(--line);
}

.contact-btns .cbtn[hidden] {
  display: none !important;
}

.contact-btns .cbtn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ─── FOOTER ─── */
footer {
  padding: 4rem 1.5rem 5.5rem;
  text-align: center;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.f-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  text-transform: lowercase;
  margin-bottom: 0.5rem;
}

.f-text {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 auto 1.5rem;
  max-width: 36rem;
}

.f-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.f-socials a {
  color: var(--ink-soft);
  display: inline-flex;
  transition: color 0.3s;
}

.f-socials a[hidden] {
  display: none;
}

.f-socials a:hover {
  color: var(--ink);
}

.f-copy {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}

/* ─── CONTACT FAB ─── */
.fab-container {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 52px;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s var(--ease);
  width: 52px;
}

.fab-container.open .fab-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.fab-item {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}

.fab-item[hidden] {
  display: none !important;
}

.fab-item:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: scale(1.04);
}

.fab-item svg {
  display: block;
  flex-shrink: 0;
}

.fab-main {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  flex-shrink: 0;
  padding: 0;
}

.fab-main svg {
  display: block;
}

.fab-main .fab-icon-close {
  display: none;
}

.fab-container.open .fab-icon-chat {
  display: none;
}

.fab-container.open .fab-icon-close {
  display: block;
}

body.modal-open {
  overflow: hidden;
}

/* Hide legacy promo pieces if present */
.new-service-fab,
.new-service-modal {
  display: none !important;
}
