/* ============================================================
   Eternal Graphers v4 — inner page identities.
   Every page gets its own device; all draw from base.css.
   ============================================================ */

/* ---------- portfolio: collections, not galleries ---------- */
.filters { display: flex; gap: clamp(18px, 3vw, 34px); flex-wrap: wrap; margin: 6px 0 8px; }
.filters button {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  background: none; border: none; border-bottom: 1px solid transparent;
  padding: 5px 0; cursor: pointer; color: var(--faint); transition: color 0.2s, border-color 0.2s;
}
.filters button:hover { color: var(--ink); }
.filters button.on { color: var(--ink); border-bottom-color: var(--alive); }

.coll-lead { display: block; margin: clamp(30px, 4vw, 54px) 0 10px; }
.coll-lead .ph { aspect-ratio: 21 / 9; }
.coll-lead__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.coll-lead__row h2 { font-size: clamp(26px, 3.4vw, 44px); }

.collection {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(24px, 4.5vw, 70px); align-items: center;
  padding: clamp(44px, 5.5vw, 76px) 0; border-top: 1px solid var(--line);
}
.collection:last-of-type { border-bottom: 1px solid var(--line); }
.collection .ph { aspect-ratio: 16 / 10; }
.collection--flip .collection__media { order: 2; }
.collection .meta { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.collection h2 { font-size: clamp(24px, 2.7vw, 36px); }
.collection p { color: var(--soft); margin-top: 14px; max-width: 44ch; }
.collection .tlink { margin-top: 24px; }
.collection.hide { display: none; }
@media (max-width: 860px) {
  .collection { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .collection--flip .collection__media { order: 0; }
}

/* ---------- story page: one wedding, dawn to vidaai ---------- */
.story-hero { position: relative; }
.story-hero .ph { aspect-ratio: 21 / 10; min-height: 380px; }
.story-hero__plate {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(24px, 4vw, 54px) 0;
  background: linear-gradient(transparent, rgba(22, 21, 15, 0.62));
  color: var(--warm-white);
}
.story-hero__plate h1 { font-size: clamp(34px, 4.6vw, 64px); max-width: 18ch; }
.story-hero__plate .kicker { color: rgba(252, 251, 245, 0.7); }

.story-facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-facts dl {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 26px 0;
}
.story-facts dt { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--faint); }
.story-facts dd { font-family: var(--serif); font-size: 17px; margin-top: 7px; }
@media (max-width: 760px) { .story-facts dl { grid-template-columns: 1fr 1fr; } }

.chapter { padding: clamp(64px, 8vw, 110px) 0; }
.chapter--dawn { background: #F3EBDA; }
.chapter--noon { background: var(--warm-white); }
.chapter--dusk { background: #EFE4DC; }
.chapter--night { background: #29251F; color: #F0EDE4; }
.chapter--night .kicker { color: rgba(239, 241, 234, 0.55); }
.chapter--night .s-cap { color: rgba(239, 241, 234, 0.55); }
.chapter time { font-family: var(--mono); font-size: 12px; letter-spacing: 0.3em; color: var(--alive); display: block; margin-bottom: 12px; }
.chapter--night time { color: var(--sage); }
.chapter h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 18ch; }
.chapter .s-lede { margin-top: 16px; color: var(--soft); max-width: 52ch; }
.chapter--night .s-lede { color: rgba(239, 241, 234, 0.7); }

.sgal { display: grid; gap: clamp(14px, 2vw, 24px); margin-top: clamp(30px, 4vw, 48px); }
.sgal--full { grid-template-columns: 1fr; }
.sgal--full .ph { aspect-ratio: 21 / 9; }
.sgal--split { grid-template-columns: 3fr 2fr; align-items: end; }
.sgal--split .ph:first-child { aspect-ratio: 4 / 3; }
.sgal--split .ph:last-child { aspect-ratio: 3 / 4; }
.sgal--pair { grid-template-columns: 1fr 1fr; }
.sgal--pair .ph { aspect-ratio: 4 / 5; }
.s-cap { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-top: 12px; }
@media (max-width: 760px) { .sgal--split, .sgal--pair { grid-template-columns: 1fr; } }

/* MOBILE OVERFLOW GUARD.
   `aspect-ratio` + `min-height` is a trap on small screens: the min-height wins,
   then the ratio widens the box to match it (380px x 21/10 = 798px), which pushes
   the whole page sideways. Drop the floor and go portrait below 900px. */
@media (max-width: 900px) {
  .story-hero .ph,
  .chap__cover .ph { aspect-ratio: 3 / 4; min-height: 0; }
  .c-map .ph,
  .c-map iframe { aspect-ratio: 4 / 3; min-height: 0; }
}

.story-film { background: var(--film); color: var(--warm-white); text-align: center; padding: clamp(70px, 9vw, 120px) 0; }
.story-film .kicker { color: rgba(252, 251, 245, 0.55); }
.story-film .cin__feat { max-width: 920px; margin: 34px auto 0; }

.bts { background: var(--ivory); }
.bts__strip { display: flex; gap: 14px; overflow-x: auto; margin-top: 30px; padding-bottom: 12px; scroll-snap-type: x proximity; }
.bts__strip figure { flex: 0 0 min(300px, 74vw); scroll-snap-align: start; }
.bts__strip .ph { aspect-ratio: 4 / 3; }
.bts__strip figcaption { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); margin-top: 10px; }

/* ---------- services: chapters of a book ---------- */
.toc { border-top: 1px solid var(--line); margin-top: clamp(30px, 4vw, 50px); }
.toc a {
  display: grid; grid-template-columns: 70px 1fr auto;
  align-items: baseline; gap: 18px;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.toc a:hover { padding-left: 12px; }
.toc .no { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--faint); }
.toc .t { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 28px); }
.toc .d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); text-align: right; }
@media (max-width: 640px) { .toc .d { display: none; } .toc a { grid-template-columns: 52px 1fr; } }

.chap { position: relative; }
.chap__cover { position: relative; }
.chap__cover .ph { aspect-ratio: 21 / 9; min-height: 340px; }
.chap__no {
  position: absolute; top: clamp(20px, 3vw, 40px); left: clamp(22px, 4vw, 44px);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  color: rgba(252, 251, 245, 0.85); text-transform: uppercase;
}
.chap__body { padding: clamp(54px, 7vw, 96px) 0 clamp(70px, 8vw, 110px); }
.chap__body .kicker { color: var(--alive); }
.chap__body h2 { font-size: clamp(30px, 3.8vw, 52px); max-width: 16ch; }
.chap__cols { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(30px, 5vw, 80px); margin-top: clamp(24px, 3vw, 40px); }
.chap__prose p { margin-top: 18px; color: var(--soft); max-width: 58ch; }
.chap__prose p:first-child { margin-top: 0; font-size: 19px; color: var(--ink); }
.chap__aside { border-left: 1px solid var(--line); padding-left: clamp(20px, 2.5vw, 40px); }
.chap__aside h3 { font-size: 15px; font-family: var(--mono); letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--soft); }
.chap__aside ul { list-style: none; margin-top: 16px; }
.chap__aside li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; color: var(--soft); }
.chap__aside li strong { color: var(--ink); font-weight: 500; }
.chap__body .tlink { margin-top: 30px; }
.chap--tint { background: var(--ivory); }
.chap--sage { background: var(--sage); }
.chap--sage .chap__prose p, .chap--sage .chap__aside li { color: var(--forest); }
@media (max-width: 860px) { .chap__cols { grid-template-columns: 1fr; } .chap__aside { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

/* ---------- our story: eras, each with its own light ----------
   Each era section carries its own background so the "changing light"
   is always visible, independent of the JS grading below. */
.era[data-era="darkroom"] { background: #E7E3D8; }
.era[data-era="film"] { background: #F1E7CE; }
.era[data-era="digital"] { background: #E6ECEE; }
.era[data-era="cinema"] { background: #F0E4DA; }
.era[data-era="drone"] { background: #E4EADD; }
.era[data-era="today"] { background: var(--warm-white); }
[data-era-host] { transition: background-color 1.1s ease; }

.era-marker {
  position: sticky; top: 84px; z-index: 5;
  display: inline-block;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em;
  color: var(--alive);
  padding: 8px 14px;
  background: rgba(252, 251, 245, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  margin-left: clamp(22px, 4vw, 44px);
}

.era { padding: clamp(70px, 9vw, 120px) 0; }
.era__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 90px); align-items: center; }
.era__grid--flip .era__media { order: 2; }
.era__media .print { transform: rotate(-1.6deg); max-width: 480px; }
.era__grid--flip .era__media .print { transform: rotate(1.4deg); margin-left: auto; }
.era__media .ph { aspect-ratio: 4 / 3; }
.era h2 { font-size: clamp(28px, 3.4vw, 46px); max-width: 16ch; }
.era .years { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.3em; color: var(--alive); margin-bottom: 14px; }
.era p { margin-top: 18px; color: var(--soft); max-width: 50ch; }
@media (max-width: 860px) { .era__grid { grid-template-columns: 1fr; } .era__grid--flip .era__media { order: 0; } }

.gens { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.gen-card .ph { aspect-ratio: 4 / 5; }
.gen-card h3 { margin-top: 18px; }
.gen-card .years { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.26em; color: var(--alive); margin-top: 6px; text-transform: uppercase; }
.gen-card p { font-size: 15px; color: var(--soft); margin-top: 12px; }
@media (max-width: 760px) { .gens { grid-template-columns: 1fr; } }

/* ---------- dharmik: ivory, brass, quiet light ---------- */
.dh-hero { position: relative; background: var(--ivory); overflow: hidden; }
.dh-hero::before {
  content: ""; position: absolute; inset: -20% -10% auto;
  height: 90%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(216, 184, 112, 0.35) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 10%, rgba(168, 130, 62, 0.22) 0%, transparent 50%);
  pointer-events: none;
}
.dh-hero .pagehead { position: relative; }
.dh-hero .kicker { color: var(--brass); }
.dh .kicker { color: var(--brass); }
.dh-rule {
  width: 72px; height: 1px; background: var(--brass);
  position: relative; margin: 26px 0 0;
}
.dh-rule::after {
  content: ""; position: absolute; left: 50%; top: -3px;
  width: 7px; height: 7px; transform: translateX(-50%) rotate(45deg);
  background: var(--brass);
}
.dh-trads { list-style: none; border-top: 1px solid var(--line); margin-top: clamp(26px, 3vw, 44px); }
.dh-trads li {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.dh-trads .t { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); }
.dh-trads .d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); text-align: right; }
@media (max-width: 640px) { .dh-trads .d { display: none; } }

/* ---------- journal: a quiet magazine ---------- */
.j-feat { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(26px, 4vw, 70px); align-items: end; }
.j-feat .ph { aspect-ratio: 4 / 3; }
.j-feat h2 { font-size: clamp(28px, 3.6vw, 48px); max-width: 16ch; }
.j-feat .j-meta { margin-bottom: 14px; }
.j-feat p { color: var(--soft); margin-top: 16px; max-width: 44ch; }
.j-meta { display: flex; gap: 18px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint); }
.j-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); margin-top: clamp(44px, 6vw, 80px); }
.j-card { display: block; border-top: 1px solid var(--line); padding-top: 22px; }
.j-card .ph { aspect-ratio: 16 / 10; margin-bottom: 18px; filter: saturate(0.92); transition: filter 0.5s; }
.j-card:hover .ph { filter: saturate(1); }
.j-card h3 { font-size: clamp(20px, 2.2vw, 27px); max-width: 22ch; transition: color 0.25s; }
.j-card:hover h3 { color: var(--alive); }
.j-card p { color: var(--soft); font-size: 15.5px; margin-top: 10px; max-width: 46ch; }
.j-card .j-meta { margin-top: 14px; }
@media (max-width: 820px) { .j-feat, .j-grid { grid-template-columns: 1fr; } }

/* ---------- journal article ---------- */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 100;
  background: transparent; pointer-events: none;
}
.read-progress i {
  display: block; height: 100%; background: var(--alive);
  transform: scaleX(0); transform-origin: left;
}
.art { padding-bottom: clamp(70px, 9vw, 110px); }
.art__head { padding: clamp(120px, 15vw, 180px) 0 clamp(30px, 4vw, 50px); }
.art__head h1 { font-size: clamp(36px, 4.8vw, 66px); max-width: 17ch; }
.art__cover { margin: clamp(26px, 4vw, 50px) 0; }
.art__cover .ph { aspect-ratio: 21 / 10; }
.art__body p { margin-top: 22px; font-size: 18.5px; line-height: 1.8; color: var(--ink); }
.art__body p:first-of-type { margin-top: 0; }
.art__body > p:first-of-type::first-letter {
  font-size: 3.4em; float: left; line-height: 0.86;
  padding: 6px 12px 0 0; color: var(--alive);
}
.art__body h2 { font-size: clamp(24px, 2.8vw, 34px); margin-top: clamp(40px, 5vw, 60px); }
.art__body blockquote {
  font-size: clamp(22px, 2.6vw, 30px); font-style: italic; line-height: 1.45;
  border-left: 2px solid var(--alive);
  padding-left: clamp(20px, 3vw, 36px);
  margin: clamp(34px, 4vw, 50px) 0;
  color: var(--forest);
}
.art__foot { border-top: 1px solid var(--line); margin-top: clamp(48px, 6vw, 72px); padding-top: 30px; }

/* ---------- faq page ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 3.5fr) minmax(0, 8.5fr); gap: clamp(30px, 5vw, 90px); align-items: start; }
.faq-cats { position: sticky; top: 100px; list-style: none; border-top: 1px solid var(--line); }
.faq-cats a {
  display: flex; justify-content: space-between; gap: 14px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--soft); padding: 15px 2px; border-bottom: 1px solid var(--line);
  transition: color 0.2s, padding-left 0.3s;
}
.faq-cats a:hover { color: var(--ink); padding-left: 8px; }
.faq-group { margin-bottom: clamp(44px, 6vw, 72px); }
.faq-group h2 { font-size: clamp(24px, 2.8vw, 36px); margin-bottom: 10px; }
.faq-group .mono-note { display: block; margin-bottom: 18px; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-cats { position: static; display: flex; flex-wrap: wrap; border-top: none; } .faq-cats li { flex: 1 1 auto; } }

/* ---------- contact page ---------- */
.c-cover { margin-top: clamp(20px, 3vw, 40px); }
.c-cover .ph { aspect-ratio: 21 / 8; min-height: 300px; }
.c-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.ways { list-style: none; border-top: 1px solid var(--line); }
.ways li { border-bottom: 1px solid var(--line); }
.ways a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 18px;
  padding: 21px 2px;
  transition: padding-left 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.ways a:hover { padding-left: 12px; }
.ways .w { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); }
.ways .v { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); text-align: right; }
.c-map { position: relative; display: block; margin-top: clamp(44px, 6vw, 70px); }
.c-map .ph { aspect-ratio: 21 / 7; min-height: 240px; }
.c-map iframe {
  display: block; width: 100%; aspect-ratio: 21 / 7; min-height: 260px;
  border: 1px solid var(--line);
  filter: saturate(0.82) sepia(0.12);
}
.c-map__label {
  display: inline-block; margin-top: 14px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft); text-decoration: underline; text-underline-offset: 4px;
}
.c-map__label:hover { color: var(--ink); }
@media (max-width: 640px) { .c-map iframe { aspect-ratio: 4 / 3; } }
.c-hours dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 26px; margin-top: 20px; }
.c-hours dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.c-hours dd { font-size: 16px; }
@media (max-width: 860px) { .c-grid { grid-template-columns: 1fr; } }

/* ---------- services page (v4 design) ---------- */
.svc-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 28px); }
.svc-card { display: block; border: 1px solid var(--line); background: var(--warm-white); transition: border-color 0.3s, transform 0.3s; }
.svc-card:hover { border-color: var(--alive); transform: translateY(-4px); }
.svc-card .ph { aspect-ratio: 16 / 10; }
.svc-card__body { padding: clamp(24px, 2.6vw, 34px); }
.svc-card .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--faint); }
.svc-card h2 { font-size: clamp(23px, 2.4vw, 30px); margin: 8px 0 12px; }
.svc-card p { color: var(--soft); font-size: 14.5px; }
.svc-card .more { display: inline-block; margin-top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--alive); }
@media (max-width: 720px) { .svc-cards { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); margin-top: clamp(30px, 4vw, 50px); }
.tier { border: 1px solid var(--line); background: var(--warm-white); padding: clamp(30px, 3vw, 44px) clamp(26px, 2.6vw, 38px); }
.tier h3 { font-size: clamp(26px, 2.8vw, 34px); }
.tier .kind { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass); margin: 8px 0 24px; }
.tier ul { list-style: none; display: grid; gap: 12px; font-size: 14.5px; color: var(--soft); }
.tier .btn { margin-top: 30px; }
.tier--feature { background: var(--forest); color: var(--warm-white); position: relative; }
.tier--feature .kind { color: var(--sage-deep); }
.tier--feature ul { color: rgba(252, 251, 245, 0.72); }
.tier--feature .badge { position: absolute; top: 18px; right: 18px; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; background: var(--brass); color: var(--forest); padding: 5px 11px; }
.tier--feature .btn { background: var(--warm-white); border-color: var(--warm-white); color: var(--forest); }
.tier--feature .btn:hover { background: var(--sage); border-color: var(--sage); }
@media (max-width: 820px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- portfolio page (v4 design) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 18px); }
.gallery a { position: relative; display: block; overflow: hidden; }
.gallery .ph { aspect-ratio: 3 / 4; transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1); }
.gallery a:hover .ph { transform: scale(1.04); }
.gallery .cap { position: absolute; left: 16px; bottom: 14px; z-index: 2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--warm-white); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
/* mobile: 2 rows that scroll sideways (like a contact strip) */
@media (max-width: 820px) {
  .gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 60%;
    grid-template-rows: repeat(2, auto);
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .gallery a { scroll-snap-align: start; }
}
@media (max-width: 520px) { .gallery { grid-auto-columns: 72%; } }

.film-feat { position: relative; display: block; margin-top: clamp(30px, 4vw, 48px); }
.film-feat .ph { aspect-ratio: 16 / 9; }
.film-feat .meta { position: absolute; left: clamp(20px, 3vw, 40px); bottom: clamp(18px, 2.6vw, 34px); z-index: 3; color: var(--warm-white); }
.film-feat .meta .t { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 32px); text-shadow: 0 1px 10px rgba(0,0,0,0.5); }
.film-feat .meta .d { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; margin-top: 8px; text-shadow: 0 1px 6px rgba(0,0,0,0.5); }
.play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; width: clamp(64px, 6vw, 92px); height: clamp(64px, 6vw, 92px); border: 1px solid rgba(252, 251, 245, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.4s, background 0.4s; }
.play::before { content: ""; border-left: 13px solid var(--warm-white); border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.film-feat:hover .play, .film-cell:hover .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(22, 21, 15, 0.3); }

/* ---------- dharmik occasions strip (reuses base .hstrip) ---------- */
.occ { position: relative; flex: 0 0 clamp(240px, 30vw, 320px); }
.occ .ph { aspect-ratio: 3 / 4; }
.occ .cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--warm-white); }
.occ .cap .t { font-family: var(--serif); font-size: 24px; text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
.occ .cap .d { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; text-shadow: 0 1px 5px rgba(0,0,0,0.5); }

/* shared CTA band — sage, so it separates cleanly from the charcoal footer */
.band-cta { background: var(--sage); color: var(--ink); text-align: center; padding: clamp(70px, 8vw, 100px) 24px; }
.band-cta h2 { font-style: italic; max-width: 22ch; margin: 0 auto; }
.band-cta p { color: var(--soft); max-width: 48ch; margin: 18px auto 30px; }
.band-cta .btn { background: var(--forest); border-color: var(--forest); color: var(--warm-white); }
.band-cta .btn:hover { background: var(--alive); border-color: var(--alive); color: var(--warm-white); }
/* dharmik variant: same sage band, brass accents, no black anywhere */
.band-cta--brass h2 { color: var(--brass); }
.band-cta--brass .btn { background: var(--brass); border-color: var(--brass); color: var(--warm-white); }
.band-cta--brass .btn:hover { background: #8a6a2e; border-color: #8a6a2e; }

/* ---------- Instagram grid (portfolio + shared) ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: clamp(28px, 3.5vw, 44px); }
.ig-grid a { display: block; overflow: hidden; }
.ig-grid .ph { aspect-ratio: 1 / 1; transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.ig-grid a:hover .ph { transform: scale(1.05); }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery a.hide { display: none; }

/* ---------- dharmik: light footer (no black anywhere) ---------- */
.dh .footer { background: var(--ivory); color: var(--soft); border-top: 1px solid var(--line); }
.dh .footer__edge { background: var(--brass); }
.dh .footer__edge .edge-code { color: var(--forest); }
.dh .footer__grid { border-bottom-color: var(--line); }
.dh .footer h4 { color: var(--brass); }
.dh .footer li a { color: var(--soft); }
.dh .footer li a:hover { color: var(--ink); }
.dh .footer__brand p { color: var(--soft); }
.dh .footer__base { color: var(--faint); }
.dh .footer__logo { height: 58px; }


/* ---------- dharmik: festive / devotional treatment ---------- */
.dh-hero::before {
  background:
    radial-gradient(ellipse at 50% -8%, rgba(224,166,62,0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 12% 34%, rgba(216,120,50,0.13) 0%, transparent 46%),
    radial-gradient(ellipse at 88% 26%, rgba(168,130,62,0.16) 0%, transparent 46%);
}
.dh-hero .wrap { position: relative; z-index: 2; }
.dh-toran {
  position: relative; z-index: 2;
  height: 46px; margin-bottom: clamp(6px, 2.5vw, 24px);
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2788%27%20height%3D%2746%27%20viewBox%3D%270%200%2088%2046%27%3E%3Cpath%20d%3D%27M0%207%20Q44%2022%2088%207%27%20fill%3D%27none%27%20stroke%3D%27%23B98A3C%27%20stroke-width%3D%271.4%27%2F%3E%3Cpath%20d%3D%27M0%206%20c-4.5%209%20-4.5%2016%200%2024%20c4.5%20-8%204.5%20-15%200%20-24%27%20fill%3D%27%238FA06A%27%2F%3E%3Cpath%20d%3D%27M0%208%20v20%27%20stroke%3D%27%236F7E4C%27%20stroke-width%3D%270.7%27%2F%3E%3Cg%20transform%3D%27translate%2844%2C28%29%27%3E%3Ccircle%20cx%3D%270%27%20cy%3D%27-10%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%277.1%27%20cy%3D%27-7.1%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%270%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%277.1%27%20cy%3D%277.1%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%270%27%20cy%3D%2710%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%27-7.1%27%20cy%3D%277.1%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%27-10%27%20cy%3D%270%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20cx%3D%27-7.1%27%20cy%3D%27-7.1%27%20r%3D%273.4%27%20fill%3D%27%23D2912E%27%2F%3E%3Ccircle%20r%3D%279.5%27%20fill%3D%27%23E4A83E%27%2F%3E%3Ccircle%20r%3D%274.4%27%20fill%3D%27%23B8791F%27%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") repeat-x top center;
  background-size: 88px 46px;
}
@media (max-width: 640px) { .dh-toran { height: 38px; background-size: 72px 38px; } }
.dh-mandala {
  position: absolute; right: -70px; top: 24px; z-index: 1;
  width: min(400px, 48vw); height: auto;
  color: var(--brass); opacity: 0.10; pointer-events: none;
}
.dh-diya { display: block; width: 132px; height: auto; margin: clamp(20px,3vw,30px) auto 0; }
.dh-diya--sm { width: 98px; margin: 0 auto 12px; }
.dh-approach { background: #F6EEDD; }
.dh .occ::after {
  content: ""; position: absolute; inset: 9px; z-index: 2;
  border: 1px solid rgba(252,251,245,0.65); pointer-events: none;
}
.dh .occ .cap { z-index: 3; }

/* ---------- Journal: instant-print treatment ----------
   Same material language as the old Our Story eras - a warm-white print
   frame with a deeper lip at the bottom carrying a mono caption. */
.j-print { margin-bottom: 20px; transform: rotate(-0.5deg); transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.j-feat .j-print { transform: rotate(-0.8deg); }
.j-card:nth-child(even) .j-print { transform: rotate(0.6deg); }
.j-feat:hover .j-print, .j-card:hover .j-print { transform: rotate(0deg) translateY(-4px); }
.j-print .ph { margin: 0; }
.j-card .j-print .ph { margin-bottom: 0; }
.art__cover.j-print { transform: none; }
@media (max-width: 640px) { .j-print, .j-feat .j-print, .j-card:nth-child(even) .j-print { transform: none; } }
