/* ==============================================================
   anframe — Gallery (shoot index + shoot single)
   Loads alongside anframe-page.css. Body has class `anframe-editorial`
   so we can rely on the shared reset and tokens.
   ============================================================== */

/* ----------- Index hero ----------- */
.anframe-editorial .smoke-main-wrap .gindex-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  max-height: 720px;
  background: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gindex-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center 40%;
  filter: saturate(.9) brightness(.7);
  transform: scale(1.04);
}
.anframe-editorial .smoke-main-wrap .gindex-hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 50% 35% at center 55%, rgba(0,0,0,0.35), transparent 80%),
    linear-gradient(180deg, rgba(26,24,22,0.45) 0%, rgba(26,24,22,0) 30%, rgba(26,24,22,0.45) 100%);
}
.anframe-editorial .smoke-main-wrap .gindex-hero__content { position: relative; z-index: 2; padding: 0 var(--pad-x-md); }
.anframe-editorial .smoke-main-wrap .gindex-hero__eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.7em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 28px;
  opacity: .9;
}
.anframe-editorial .smoke-main-wrap .gindex-hero__title {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(48px, 7vw, 84px);
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gindex-hero__sub {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
  color: var(--c-off-white);
}

/* ----------- Index — filter bar ----------- */
.anframe-editorial .smoke-main-wrap .gindex-filters {
  background: var(--c-off-white);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--c-hairline);
  padding: 22px var(--pad-x-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.anframe-editorial .smoke-main-wrap .gindex-filter {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-mid);
  cursor: pointer;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: all .3s var(--ease);
}
.anframe-editorial .smoke-main-wrap .gindex-filter:hover { color: var(--c-charcoal); }
.anframe-editorial .smoke-main-wrap .gindex-filter.is-active { color: var(--c-charcoal); border-bottom-color: var(--c-champagne); }

/* ----------- Index — shoot card grid ----------- */
.anframe-editorial .smoke-main-wrap .gindex-section {
  padding: var(--section-py-md) var(--pad-x-md) var(--section-py-lg);
  background: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gindex-grid {
  max-width: var(--max-content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 80px 32px;
}
.anframe-editorial .smoke-main-wrap .shoot-card { display: flex; flex-direction: column; cursor: pointer; grid-column: span 3; }
.anframe-editorial .smoke-main-wrap .shoot-card.is-feature { grid-column: span 6; }
.anframe-editorial .smoke-main-wrap .shoot-card.is-feature .shoot-card__media { aspect-ratio: 21 / 9; }
.anframe-editorial .smoke-main-wrap .shoot-card.is-half { grid-column: span 2; }
.anframe-editorial .smoke-main-wrap .shoot-card[hidden] { display: none; }

.anframe-editorial .smoke-main-wrap .shoot-card__media {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  filter: saturate(.92);
  transition: transform .8s var(--ease), filter .6s var(--ease);
  overflow: hidden;
  position: relative;
}
.anframe-editorial .smoke-main-wrap .shoot-card:hover .shoot-card__media { transform: scale(1.02); filter: saturate(1.05) brightness(1.04); }
.anframe-editorial .smoke-main-wrap .shoot-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.25) 100%);
  pointer-events: none;
}
.anframe-editorial .smoke-main-wrap .shoot-card__meta {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.anframe-editorial .smoke-main-wrap .shoot-card__cat {
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--c-champagne);
}
.anframe-editorial .smoke-main-wrap .shoot-card__title {
  font-family: var(--f-sans);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.06em;
  color: var(--c-ink);
  line-height: 1.3;
}
.anframe-editorial .smoke-main-wrap .shoot-card__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-champagne);
  margin-right: 6px;
}
.anframe-editorial .smoke-main-wrap .shoot-card__sub {
  font-family: var(--f-jp);
  font-size: 12.5px;
  color: var(--c-mid);
  letter-spacing: 0.04em;
  font-weight: 300;
}
.anframe-editorial .smoke-main-wrap .shoot-card__count {
  margin-top: 10px;
  font-family: var(--f-sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-mid);
  display: inline-flex; align-items: center; gap: 8px;
}
.anframe-editorial .smoke-main-wrap .shoot-card__count::before {
  content: "";
  width: 18px; height: 1px; background: var(--c-champagne);
}
.anframe-editorial .smoke-main-wrap .gindex-empty {
  text-align: center;
  padding: 80px 0;
  font-family: var(--f-jp);
  color: var(--c-mid);
  font-weight: 300;
  letter-spacing: 0.06em;
}

/* ----------- Detail — hero ----------- */
.anframe-editorial .smoke-main-wrap .gdetail-hero {
  position: relative;
  height: 86vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: var(--c-ink);
  color: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.9) brightness(.62);
  transform: scale(1.04);
  animation: gdetail-kenburns 24s ease-in-out infinite alternate;
}
@keyframes gdetail-kenburns {
  0%   { transform: scale(1.04) translate(0, 0); }
  100% { transform: scale(1.1) translate(-1%, -1%); }
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,24,22,0.45) 0%, rgba(26,24,22,0.1) 35%, rgba(26,24,22,0.7) 100%);
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 0 var(--pad-x-lg) 80px;
  max-width: var(--max-content);
  margin: 0 auto;
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__crumb {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 24px;
  opacity: .9;
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__crumb a:hover { color: var(--c-off-white); }
.anframe-editorial .smoke-main-wrap .gdetail-hero__title {
  font-family: var(--f-sans);
  font-weight: 200;
  font-size: clamp(46px, 6vw, 80px);
  letter-spacing: 0.06em;
  line-height: 1.05;
  margin-bottom: 16px;
  text-transform: uppercase;
  color: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__title em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--c-champagne);
  text-transform: none;
  letter-spacing: 0.02em;
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__meta {
  display: flex;
  gap: 36px;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-off-white);
  opacity: .9;
  flex-wrap: wrap;
}
.anframe-editorial .smoke-main-wrap .gdetail-hero__meta li { display: flex; align-items: center; gap: 8px; }
.anframe-editorial .smoke-main-wrap .gdetail-hero__meta li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--c-champagne);
}

/* ----------- Detail — intro ----------- */
.anframe-editorial .smoke-main-wrap .gdetail-intro {
  background: var(--c-cream);
  padding: var(--section-py-md) var(--pad-x-md);
  text-align: center;
}
.anframe-editorial .smoke-main-wrap .gdetail-intro__inner { max-width: var(--max-narrow); margin: 0 auto; }
.anframe-editorial .smoke-main-wrap .gdetail-intro__eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 26px;
}
.anframe-editorial .smoke-main-wrap .gdetail-intro__title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(34px, 4vw, 52px);
  color: var(--c-ink);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 32px;
  white-space: pre-line;
}
.anframe-editorial .smoke-main-wrap .gdetail-intro__copy {
  font-family: var(--f-jp);
  font-weight: 300;
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.06em;
  color: var(--c-charcoal);
}
.anframe-editorial .smoke-main-wrap .gdetail-intro__copy p { margin-bottom: 1em; }

/* ----------- Detail — masonry ----------- */
.anframe-editorial .smoke-main-wrap .gdetail-mas {
  background: var(--c-off-white);
  padding: var(--section-py-md) 0 var(--section-py-lg);
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--pad-x-md);
}
/* JS upgrades this container to a flex column-pack layout (true masonry).
 * The column-count fallback below still gives a usable layout if JS is disabled. */
.anframe-editorial .smoke-main-wrap .gdetail-mas__columns {
  column-count: 3;
  column-gap: 18px;
  margin-bottom: 64px;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__columns.is-mas-active {
  column-count: unset;
  column-gap: 0;
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: flex-start;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__item {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  cursor: zoom-in;
  overflow: hidden;
  position: relative;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__columns.is-mas-active .gdetail-mas__item {
  margin: 0;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__item img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.95);
  transition: filter .5s var(--ease), transform .5s var(--ease);
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__item:hover img { filter: saturate(1.05) brightness(1.04); transform: scale(1.01); }
.anframe-editorial .smoke-main-wrap .gdetail-mas__full {
  display: block;
  margin: 0 calc(50% - 50vw + var(--pad-x-md)) 64px;
  cursor: zoom-in;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__full img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(.95);
  transition: filter .5s var(--ease);
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__full:hover img { filter: saturate(1.05) brightness(1.04); }
.anframe-editorial .smoke-main-wrap .gdetail-mas__full-cap {
  text-align: center;
  margin-top: 18px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-mid);
  letter-spacing: 0.04em;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__waypoint {
  text-align: center;
  margin: 80px 0 100px;
  padding: 0 var(--pad-x-md);
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__waypoint-rule {
  width: 1px;
  height: 60px;
  background: var(--c-champagne);
  margin: 0 auto 32px;
  opacity: .6;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__waypoint-text {
  font-family: var(--f-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--c-ink);
  line-height: 1.4;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin: 0 auto;
  white-space: pre-line;
}
.anframe-editorial .smoke-main-wrap .gdetail-mas__waypoint-eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 22px;
}

/* ----------- Detail — embedded film ----------- */
.anframe-editorial .smoke-main-wrap .gdetail-film {
  background: var(--c-ivory);
  padding: var(--section-py-md) var(--pad-x-md);
  text-align: center;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-champagne);
  margin-bottom: 18px;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  color: var(--c-ink);
  margin-bottom: 32px;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  cursor: pointer;
  background-size: cover;
  background-position: center;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.anframe-editorial .smoke-main-wrap .gdetail-film__caption {
  margin-top: 24px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--c-mid);
  letter-spacing: 0.04em;
  line-height: 1.7;
  white-space: pre-line;
}

/* ----------- Detail — pager ----------- */
.anframe-editorial .smoke-main-wrap .gdetail-pager {
  background: var(--c-charcoal);
  color: var(--c-off-white);
  padding: var(--section-py-md) var(--pad-x-md);
  text-align: center;
}
.anframe-editorial .smoke-main-wrap .gdetail-pager__eyebrow {
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-sand);
  margin-bottom: 22px;
}
.anframe-editorial .smoke-main-wrap .gdetail-pager__title {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 28px;
  color: var(--c-off-white);
}
.anframe-editorial .smoke-main-wrap .gdetail-pager__cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-sans);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.45);
  padding: 18px 36px;
  border-radius: 999px;
  color: var(--c-off-white);
  transition: all .35s var(--ease);
}
.anframe-editorial .smoke-main-wrap .gdetail-pager__cta:hover { background: var(--c-off-white); color: var(--c-charcoal); border-color: var(--c-off-white); }

/* ----------- Responsive ----------- */
@media (max-width: 1100px) {
  .anframe-editorial .smoke-main-wrap .gindex-grid { grid-template-columns: repeat(4, 1fr); }
  .anframe-editorial .smoke-main-wrap .shoot-card,
  .anframe-editorial .smoke-main-wrap .shoot-card.is-half { grid-column: span 2; }
  .anframe-editorial .smoke-main-wrap .shoot-card.is-feature { grid-column: span 4; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__columns { column-count: 2; column-gap: 14px; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__columns.is-mas-active { gap: 14px; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__col { gap: 14px; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__item { margin-bottom: 14px; }
}
@media (max-width: 720px) {
  .anframe-editorial .smoke-main-wrap .gindex-grid { grid-template-columns: 1fr; gap: 40px; }
  .anframe-editorial .smoke-main-wrap .shoot-card,
  .anframe-editorial .smoke-main-wrap .shoot-card.is-half,
  .anframe-editorial .smoke-main-wrap .shoot-card.is-feature { grid-column: span 1; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__columns { column-count: 1; column-gap: 0; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__columns.is-mas-active { flex-direction: column; gap: 12px; }
  .anframe-editorial .smoke-main-wrap .gdetail-mas__col { gap: 12px; }
  .anframe-editorial .smoke-main-wrap .gindex-filters { gap: 16px; padding: 14px var(--pad-x-md); justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
}

