/* FrameOps inner pages (features, pricing) — premium layer on top of animate.css + home.css.
   Motion sits inside prefers-reduced-motion: no-preference; the static state is the complete design. */

/* ---------- Page hero ---------- */
.phero { position: relative; isolation: isolate; overflow: hidden; padding: 9rem 0 5rem; }
.phero .aurora { opacity: .5; }
.phero-photo { position: absolute; inset: 0; z-index: -4; opacity: .16; background: url(img/balloons.webp) 60% 40% / cover no-repeat; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.phero-stats { display: flex; flex-wrap: wrap; gap: 1.75rem 2.5rem; padding-top: 2rem; margin-top: 2.25rem; border-top: 1px solid rgba(255, 255, 255, .1); }
.phero-stats b { display: block; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 500; color: var(--ice); line-height: 1; }
.phero-stats span { display: block; margin-top: .45rem; font: 500 .62rem/1.3 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(137, 146, 153, .95); }

/* ---------- Sticky category nav + plan filter ---------- */
.catnav { position: sticky; top: 72px; z-index: 40; background: rgba(5, 5, 7, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.catnav-in { display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; max-width: 80rem; margin: 0 auto; padding: .6rem 2rem; }
.catnav-links { display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.catnav-links::-webkit-scrollbar { display: none; }
.catnav-links a { white-space: nowrap; font: 500 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; padding: .6rem .8rem; border-radius: 999px; border: 1px solid transparent; color: rgba(191, 200, 207, .85); transition: color .3s, border-color .3s, background .3s; }
.catnav-links a:hover { color: #f3eff4; }
.catnav-links a.is-active { color: var(--ice); border-color: rgba(126, 200, 244, .4); background: rgba(126, 200, 244, .08); }
.pf { display: inline-flex; align-items: center; gap: .35rem; }
.pf-label { font: 500 .6rem/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(137, 146, 153, .95); margin-right: .25rem; }
.pf button { --c: var(--t-free); font: 600 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; padding: .5rem .7rem; border-radius: 999px; cursor: pointer; color: rgba(229, 225, 229, .85); background: transparent; border: 1px solid rgba(255, 255, 255, .16); transition: all .25s; }
.pf button:hover { border-color: var(--c); color: var(--c); }
.pf button[aria-pressed="true"] { color: #0b0b0e; background: var(--c); border-color: var(--c); }
.pf-count { font: 500 .62rem/1.3 'IBM Plex Mono', monospace; letter-spacing: .08em; color: rgba(137, 146, 153, .95); min-width: 9rem; }
html:not(.js) .pf { display: none; }
.pf-mobile { display: none; }
.pf-inline { flex-wrap: wrap; margin-top: 1.5rem; }

/* ---------- Chapters + feature cards ---------- */
.chap { position: relative; padding: 6rem 0 2rem; }
.chap-head { max-width: 46rem; margin-bottom: 2.75rem; }
.chap-num { display: inline-flex; align-items: center; gap: .75rem; font: 500 .72rem/1 'IBM Plex Mono', monospace; letter-spacing: .3em; text-transform: uppercase; color: var(--ice); margin-bottom: 1.1rem; }
.chap-num::after { content: ""; width: 3rem; height: 1px; background: linear-gradient(90deg, var(--ice), transparent); }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 700px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .fgrid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.fcard { display: flex; flex-direction: column; gap: .7rem; border-radius: 1.1rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); padding: 1.5rem; overflow: hidden; transition: opacity .4s, filter .4s, border-color .3s; }
.fcard-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.fcard-chips { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; margin-left: auto; }
.fcard h3 { font-family: 'Playfair Display', serif; font-size: 1.32rem; line-height: 1.2; margin-top: .5rem; color: #f3eff4; }
.fcard p { color: #bfc8cf; font-size: .9rem; line-height: 1.65; }
.fcard ul { list-style: none; margin: .35rem 0 0; padding: 0; display: grid; gap: .45rem; }
.fcard li { position: relative; padding-left: 1.35rem; font-size: .84rem; line-height: 1.5; color: rgba(229, 225, 229, .82); }
.fcard li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--green); }
.fcard.is-off { opacity: .27; filter: saturate(.25); }
.fcard.is-off:hover { opacity: .6; }
.fcard.is-wide { grid-column: 1 / -1; }
.fcard a.more { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .85rem; color: var(--ice); }
.fcard a.more:hover { gap: .65rem; }

/* ---------- Screenshot frames ---------- */
.shots-grid { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .shots-grid.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .shots-grid.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .shots-grid.g-wp { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.shot { margin: 0; }
.shot .jr-frame { transition: transform .6s var(--ease), box-shadow .6s; }
.shot:hover .jr-frame { transform: translateY(-6px); box-shadow: 0 70px 110px -45px rgba(0, 0, 0, .95), 0 0 110px -30px rgba(126, 200, 244, .4); }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { margin-top: 1rem; font: 500 .64rem/1.5 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(137, 146, 153, .95); display: flex; gap: .6rem; align-items: baseline; }
.shot figcaption b { color: var(--ice); font-weight: 600; }
.shot-stack { display: grid; gap: 1.5rem; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; align-items: start; }
.pair .fd-phone .phone { max-width: 250px; }
.pair .fd-phone:nth-child(2) { margin-top: 2.5rem; }
.card-img { display: block; width: 100%; max-width: 250px; margin: 0 auto; border-radius: 1rem; box-shadow: 0 40px 80px -40px #000; border: 1px solid rgba(255, 255, 255, .1); }

/* ---------- Workflow template explorer ---------- */
.tx { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); margin-top: 2.5rem; }
@media (min-width: 1000px) { .tx { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem; align-items: start; } }
.tx-list { display: grid; gap: .4rem; }
.tx-item { display: flex; align-items: center; gap: .8rem; text-align: left; width: 100%; color: inherit; cursor: pointer; border-radius: .8rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: .75rem .95rem; transition: border-color .3s, background .3s; }
.tx-item:hover { border-color: rgba(126, 200, 244, .35); }
.tx-item[aria-selected="true"] { border-color: var(--ice); background: rgba(126, 200, 244, .08); }
.tx-item .n { flex: none; width: 1.9rem; font: 500 .66rem 'IBM Plex Mono', monospace; letter-spacing: .1em; color: rgba(137, 146, 153, .95); }
.tx-item[aria-selected="true"] .n { color: var(--ice); }
.tx-item span.t { font-size: .9rem; color: rgba(229, 225, 229, .92); }
.tx-stage { border-radius: 1.25rem; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); padding: 1.75rem; }
@media (min-width: 1000px) { .tx-stage { position: sticky; top: 9.5rem; } }
.tx-stage h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; line-height: 1.2; margin-bottom: 1.2rem; color: #f3eff4; }
.tx-note { margin-top: 1.1rem; font-size: .85rem; line-height: 1.6; color: #bfc8cf; }
.flow .node .v em { font-style: normal; color: var(--ice); }

/* ---------- Pricing: finder ---------- */
.finder { border-radius: 1.4rem; border: 1px solid rgba(255, 255, 255, .1); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); padding: 1.75rem; display: grid; gap: 1.75rem; }
@media (min-width: 1000px) { .finder { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); padding: 2.25rem; gap: 2.5rem; } }
.fchips { display: flex; flex-wrap: wrap; gap: .5rem; }
.fchip { position: relative; }
.fchip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fchip span { display: inline-flex; align-items: center; gap: .5rem; font-size: .84rem; padding: .6rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: rgba(229, 225, 229, .9); background: rgba(255, 255, 255, .02); transition: all .25s; }
.fchip span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgba(137, 146, 153, .8); transition: all .25s; }
.fchip input:checked + span { border-color: var(--ice); background: rgba(126, 200, 244, .1); color: #fff; }
.fchip input:checked + span::before { background: var(--ice); border-color: var(--ice); box-shadow: inset 0 0 0 3px #0b0b0e; }
.fchip input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 2px; }
.fresult { --c: var(--t-free); border-radius: 1.1rem; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 9%, #0b0b0e); padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; transition: border-color .4s, background .4s; align-self: start; }
.fresult .k { font: 600 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.fresult .pn { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; line-height: 1; color: #f3eff4; }
.fresult .pn small { font: 500 .8rem 'DM Sans', sans-serif; color: rgba(191, 200, 207, .85); }
.fresult p { font-size: .88rem; line-height: 1.6; color: #bfc8cf; }
.fresult a[hidden] { display: none; }
.fresult a { margin-top: .4rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--c); }

/* ---------- Pricing: plan cards ---------- */
.pgrid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 720px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .pgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: 1.25rem; border: 1px solid var(--line); border-top: 3px solid rgba(255, 255, 255, .25); border-top-color: color-mix(in srgb, var(--c) 75%, transparent); background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); padding: 1.75rem; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.pcard:hover { transform: translateY(-5px); }
.pcard.is-featured { background: linear-gradient(180deg, color-mix(in srgb, var(--c) 13%, #0e0e14), rgba(255, 255, 255, .02)); border-color: color-mix(in srgb, var(--c) 55%, transparent); box-shadow: 0 40px 90px -50px var(--c); }
.pcard.is-rec { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 40px 90px -45px var(--c); }
.pcard .pop { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font: 600 .58rem/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; padding: .45rem .7rem; border-radius: 999px; background: var(--c); color: #0b0b0e; white-space: nowrap; }
.pcard .tn { font: 600 .7rem/1 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: var(--c); }
.pcard .pr { margin-top: 1rem; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.9rem; line-height: 1; letter-spacing: -.02em; color: #f3eff4; }
.pcard .pr small { font: 500 .8rem 'DM Sans', sans-serif; color: rgba(191, 200, 207, .85); letter-spacing: 0; }
.pcard .ptag { margin: .8rem 0 1.4rem; font-size: .9rem; line-height: 1.55; color: #bfc8cf; min-height: 2.8em; }
.pcard .caps { margin-bottom: 1.5rem; gap: .5rem; }
.pcard .cap { padding: .7rem .8rem; }
.pcard .cap b { font-size: 1.15rem; }
.pcard .cap span { font-size: .68rem; margin-top: .25rem; }
.pcard .cap i { margin-top: .55rem; }
.pcard .inh { font: 600 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: #f3eff4; margin-bottom: .9rem; display: flex; gap: .45rem; align-items: center; }
.pcard .inh .material-symbols-outlined { font-size: 15px; color: var(--green); font-variation-settings: 'FILL' 1, 'wght' 500; }
.pcard ul { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: .6rem; flex: 1; align-content: start; }
.pcard li { position: relative; padding-left: 1.5rem; font-size: .88rem; line-height: 1.5; color: rgba(229, 225, 229, .9); }
.pcard li::before { content: "+"; position: absolute; left: .1rem; top: -1px; font: 600 1rem 'IBM Plex Mono', monospace; color: var(--c); }
.pcard li.no { color: rgba(137, 146, 153, .95); }
.pcard li.no::before { content: "–"; color: rgba(137, 146, 153, .7); }
.pcard li b { color: #f3eff4; font-weight: 600; }
.pcard .cta { display: block; text-align: center; padding: 1rem; border-radius: .5rem; font: 600 .7rem/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; border: 1px solid rgba(255, 255, 255, .22); color: #f3eff4; transition: all .3s; }
.pcard .cta:hover { border-color: var(--c); color: var(--c); }
.pcard.is-featured .cta { background: var(--c); border-color: var(--c); color: #0b0b0e; }
.pcard.is-featured .cta:hover { filter: brightness(1.1); color: #0b0b0e; }

/* ---------- Pricing: matrix ---------- */
.mx-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.mx-filters button { font: 500 .8rem 'DM Sans', sans-serif; color: #e5e1e5; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; padding: .5rem .9rem; cursor: pointer; transition: all .25s; }
.mx-filters button[aria-pressed="true"] { background: #e5e1e5; color: #0b0b0e; border-color: #e5e1e5; }
.mx-wrap { overflow-x: auto; border-radius: 1.1rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
table.mx { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .9rem; }
.mx th, .mx td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.mx th:first-child, .mx td:first-child { text-align: left; position: sticky; left: 0; background: #0c0c10; z-index: 1; min-width: 14rem; }
.mx thead th { vertical-align: bottom; padding-top: 1.25rem; font: 600 .7rem/1 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
.mx thead th.t { color: var(--c); border-bottom: 3px solid var(--c); }
.mx thead th.t small { display: block; margin-top: .45rem; font: 500 .74rem 'DM Sans', sans-serif; letter-spacing: 0; text-transform: none; color: rgba(191, 200, 207, .85); }
.mx .grp td { background: rgba(255, 255, 255, .045); font: 600 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(137, 146, 153, .95); text-align: left; }
.mx .grp td:first-child { background: #15151b; }
.mx tbody th { font-weight: 500; color: rgba(229, 225, 229, .92); }
.mx td.v { font: 500 .82rem 'IBM Plex Mono', monospace; color: #f3eff4; font-variant-numeric: tabular-nums; }
.mx .y { color: var(--green); font-weight: 600; }
.mx .n { color: rgba(137, 146, 153, .55); }
.mx tr:last-child td, .mx tr:last-child th { border-bottom: 0; }
.mx td.hl, .mx th.hl { background: color-mix(in srgb, var(--c) 11%, transparent); }
.mx th:first-child.hl { background: #0c0c10; }
.mx-foot { margin-top: 1rem; font-size: .8rem; line-height: 1.7; color: rgba(137, 146, 153, .95); max-width: 60rem; }
.c-free { --c: var(--t-free); } .c-starter { --c: var(--t-starter); } .c-studio { --c: var(--t-studio); } .c-pro { --c: var(--t-pro); }

/* ---------- Pricing: allowances + upgrades ---------- */
.allow { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr)); }
.al { border-radius: .8rem; border: 1px solid var(--line); background: rgba(255, 255, 255, .025); padding: .85rem 1rem; display: grid; gap: .6rem; }
.al .top { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.al .top span { font-size: .82rem; color: rgba(229, 225, 229, .9); }
.al .top b { font: 500 1.1rem 'IBM Plex Mono', monospace; color: var(--t-studio); font-variant-numeric: tabular-nums; }
.al .bar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.al .bar i { display: block; height: 100%; border-radius: 4px; background: var(--t-studio); width: var(--w); transform-origin: 0 50%; }
.ups { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .ups { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.up { border-radius: 1.1rem; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); padding: 1.6rem; display: flex; flex-direction: column; gap: .7rem; }
.up .path { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font: 600 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .14em; text-transform: uppercase; color: rgba(137, 146, 153, .95); }
.up .path .to { color: var(--c); }
.up .delta { font-family: 'Playfair Display', serif; font-weight: 800; font-size: 2.2rem; line-height: 1; color: #f3eff4; }
.up p { font-size: .9rem; line-height: 1.65; color: #bfc8cf; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .allow .al .bar i { transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
  .allow:not(.play) .al .bar i { transform: scaleX(0); }
  .cap i::after { transition: transform 1s var(--ease) .15s; }
  .pgrid:not(.play) .cap i::after { transform: scaleX(0); }
  .fresult .pn { transition: color .3s; }
}
@media (max-width: 719px) { .phero { padding: 7.5rem 0 3.5rem; } .catnav-in { padding: .5rem 1rem; } .pf-sticky { display: none; } html.js .pf-mobile { display: block; } .pf-inline .pf-label { width: 100%; margin-bottom: .25rem; } }
@media (max-width: 999px) { .fresult { position: sticky; bottom: .75rem; z-index: 5; box-shadow: 0 24px 60px -20px #000; } }

/* =====================================================================
   FEATURES — "Index" identity: a photographer's contact-sheet field manual.
   Distinct from the home page: amber film-edge accent, blueprint grid,
   expandable spec rows, film-strip media, master-detail AI browser.
   ===================================================================== */
.fx { --amber: #f5b94a; background-image: linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px); background-size: 32px 32px; }
.fx-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; font: 500 .72rem/1 'IBM Plex Mono', monospace; letter-spacing: .3em; text-transform: uppercase; color: var(--amber, #f5b94a); }
.fx-kicker i { width: 2.5rem; height: 1px; background: currentColor; opacity: .6; }

.fx-hero { padding: 9.5rem 0 3.5rem; border-bottom: 1px solid var(--line); }
.fx-h1 { margin: 1.5rem 0 2rem; font-family: 'Playfair Display', serif; font-weight: 900; letter-spacing: -.035em; line-height: .94; font-size: clamp(3.2rem, 8vw, 7rem); color: #f3eff4; text-wrap: balance; }
.fx-hero-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .fx-hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 4rem; align-items: end; } }
.fx-lede { font-size: 1.15rem; line-height: 1.7; color: #bfc8cf; max-width: 36rem; }
.fx-legend { display: grid; gap: .7rem; padding: 1.25rem 1.4rem; border: 1px solid var(--line); border-radius: .9rem; background: rgba(5, 5, 7, .7); }
.fx-legend .lg { display: grid; grid-template-columns: 7.5rem 1fr; gap: .75rem; align-items: center; font-size: .86rem; color: #bfc8cf; }
.fx-legend .lg .pchip { justify-self: start; }
.fx-legend-h { font: 500 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: rgba(137, 146, 153, .95); margin-bottom: .2rem; }

/* contact sheet */
.sheet { margin-top: 3.25rem; border: 1px solid #202026; border-radius: .5rem; overflow: hidden; background: #09090b; }
.sheet-strip { position: relative; padding: 26px 12px 22px; background: #0c0c0f; }
.sheet-strip + .sheet-strip { border-top: 1px solid #17171c; }
.sheet-strip::before, .sheet-strip::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(90deg, transparent 0 9px, #1d1d23 9px 23px, transparent 23px 32px); }
.sheet-strip::before { top: 8px; }
.sheet-strip::after { bottom: 7px; }
.sheet-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 800px) { .sheet-row { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.frame { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #000; border: 1px solid #2a2a31; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; filter: brightness(.82) saturate(.9); transition: filter .4s, transform .8s var(--ease); }
.frame:hover { transform: translateY(-4px); border-color: var(--amber); box-shadow: 0 20px 40px -20px rgba(245, 185, 74, .35); z-index: 2; }
.frame:hover img { filter: none; transform: scale(1.04); }
.frame .fno { position: absolute; top: 6px; left: 8px; z-index: 2; font: 600 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .1em; color: var(--amber); text-shadow: 0 1px 3px #000; }
.frame .fl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.4rem .6rem .5rem; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font: 500 .62rem/1.2 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #e5e1e5; }
.sheet-edge { padding: .5rem 1rem .6rem; font: 500 .56rem/1 'IBM Plex Mono', monospace; letter-spacing: .3em; color: rgba(245, 185, 74, .55); white-space: nowrap; overflow: hidden; background: #0c0c0f; }

/* layout with sticky index */
.fx-layout { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .fx-layout { grid-template-columns: 15.5rem minmax(0, 1fr); gap: 4rem; } }
.fx-toc { position: sticky; top: 72px; z-index: 40; background: rgba(5, 5, 7, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.fx-toc-h { display: none; }
.fx-toc nav { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; padding: .55rem 1rem; }
.fx-toc nav::-webkit-scrollbar { display: none; }
.fx-toc nav a { flex: none; display: flex; align-items: center; gap: .55rem; white-space: nowrap; padding: .55rem .75rem; border-radius: 999px; border: 1px solid transparent; font: 500 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: rgba(191, 200, 207, .88); transition: color .3s, border-color .3s, background .3s; }
.fx-toc nav a .n { color: var(--amber); }
.fx-toc nav a em { display: none; font-style: normal; color: rgba(137, 146, 153, .9); }
.fx-toc nav a:hover { color: #fff; }
.fx-toc nav a.is-active { color: #fff; border-color: rgba(245, 185, 74, .5); background: rgba(245, 185, 74, .08); }
.fx-tools { display: none; }
.fx-tools-m { padding: 1.25rem 0 0; }
@media (min-width: 1100px) {
  .fx-toc { align-self: start; top: 6.5rem; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; border: 0; padding-top: 5.2rem; }
  .fx-toc-h { display: block; font: 500 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .24em; text-transform: uppercase; color: rgba(137, 146, 153, .95); margin-bottom: .8rem; }
  .fx-toc nav { flex-direction: column; overflow: visible; padding: 0; gap: 0; border-left: 1px solid var(--line); }
  .fx-toc nav a { border-radius: 0; border: 0; border-left: 2px solid transparent; margin-left: -1px; padding: .7rem .9rem; width: 100%; font-size: .72rem; }
  .fx-toc nav a em { display: inline; margin-left: auto; }
  .fx-toc nav a.is-active { border-left-color: var(--amber); background: linear-gradient(90deg, rgba(245, 185, 74, .08), transparent); }
  .fx-tools { display: grid; gap: .8rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
  .fx-tools-m { display: none; }
  .fx-tools .pf { flex-wrap: wrap; }
  .fx-tools .pf-count { min-width: 0; width: 100%; }
}
.fx-tools .pf-label, .fx-tools-m .pf-label { width: 100%; margin-bottom: .1rem; }
.fx-tools .pf, .fx-tools-m .pf { flex-wrap: wrap; }
.fx-expand { align-self: start; font: 600 .62rem/1 'IBM Plex Mono', monospace; letter-spacing: .12em; text-transform: uppercase; color: var(--amber); background: none; border: 1px solid rgba(245, 185, 74, .4); border-radius: 999px; padding: .55rem .8rem; cursor: pointer; }
.fx-expand:hover { background: rgba(245, 185, 74, .1); }
html:not(.js) .fx-tools, html:not(.js) .fx-tools-m { display: none; }

/* chapters */
.fx-chap { position: relative; padding: 5rem 0 1.5rem; border-top: 1px solid var(--line); scroll-margin-top: 7rem; }
.fx-chap:first-of-type { border-top: 0; padding-top: 4rem; }
.fx-chead { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; margin-bottom: 2.25rem; }
.fx-num { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(4rem, 9vw, 7rem); line-height: .78; color: transparent; -webkit-text-stroke: 1px rgba(245, 185, 74, .6); }
.fx-chead h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 2.8rem); letter-spacing: -.02em; line-height: 1.1; color: #f3eff4; }
.fx-chead p { margin-top: .8rem; color: #bfc8cf; line-height: 1.7; max-width: 38rem; }

/* film strip media */
.film { position: relative; margin-bottom: 2.5rem; padding: 26px 0 22px; background: #0c0c0f; border: 1px solid #202026; border-radius: .4rem; }
.film::before, .film::after { content: ""; position: absolute; left: 0; right: 0; height: 9px; background: repeating-linear-gradient(90deg, transparent 0 9px, #1d1d23 9px 23px, transparent 23px 32px); }
.film::before { top: 8px; }
.film::after { bottom: 7px; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding: 0 14px 4px; scrollbar-width: thin; scrollbar-color: #2a2a31 transparent; }
.fr { flex: none; scroll-snap-align: start; margin: 0; }
.fr .zoom-btn { height: 250px; border: 1px solid #2a2a31; background: #000; overflow: hidden; transition: border-color .3s, transform .5s var(--ease); }
.fr .zoom-btn:hover { border-color: var(--amber); transform: translateY(-3px); }
.fr.w img { height: 100%; width: auto; max-width: none; display: block; }
.fr.p { width: 160px; }
.fr.p img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.fr figcaption { display: flex; gap: .6rem; margin-top: .55rem; font: 500 .58rem/1.3 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(191, 200, 207, .85); }
.fr figcaption b { color: var(--amber); font-weight: 600; }
.strip.solo { justify-content: center; }
.strip.solo .fr .zoom-btn { height: auto; max-width: 100%; }
.strip.solo .fr.w img { height: auto; width: 100%; max-height: 420px; object-fit: cover; object-position: top left; }

/* spec rows */
.frows { border-top: 1px solid var(--line); margin-bottom: 1rem; }
.frow { border-bottom: 1px solid var(--line); transition: opacity .4s, background .3s; }
.frow:hover { background: rgba(255, 255, 255, .018); }
.frow > summary, .frow.is-static > .frow-sum { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr) auto 1.5rem; gap: 1rem; align-items: start; padding: 1.25rem .5rem; list-style: none; cursor: pointer; }
.frow.is-static > .frow-sum { cursor: default; grid-template-columns: 2.6rem minmax(0, 1fr) auto; }
.frow > summary::-webkit-details-marker { display: none; }
.frow .ic { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: .7rem; border: 1px solid rgba(245, 185, 74, .38); background: rgba(245, 185, 74, .06); color: var(--amber); }
.frow .ic .material-symbols-outlined { font-size: 1.35rem; font-variation-settings: 'FILL' 0, 'wght' 250, 'GRAD' 0, 'opsz' 24; }
.frow .ttl { display: block; font-family: 'Playfair Display', serif; font-size: 1.3rem; line-height: 1.2; color: #f3eff4; }
.frow .d { display: block; margin-top: .4rem; max-width: 42rem; font-size: .93rem; line-height: 1.65; color: #bfc8cf; }
.frow .chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; max-width: 15rem; }
.frow .pm { position: relative; width: 1.5rem; height: 1.5rem; margin-top: .55rem; }
.frow .pm::before, .frow .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #bfc8cf; transform: translate(-50%, -50%); transition: transform .35s var(--ease); }
.frow .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.frow[open] .pm::after { transform: translate(-50%, -50%) rotate(0deg); }
.frow-body { padding: 0 .5rem 1.5rem 3.6rem; }
.frow-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.frow-body li { position: relative; padding-left: 1.4rem; font-size: .88rem; line-height: 1.55; color: rgba(229, 225, 229, .85); }
.frow-body li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.frow.is-off, .md-item.is-off { opacity: .28; }
.frow.is-off:hover { opacity: .6; }
@media (max-width: 700px) {
  .frow > summary { grid-template-columns: 2.4rem minmax(0, 1fr) 1.5rem; }
  .frow.is-static > .frow-sum { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .frow .pm { grid-column: 3; grid-row: 1; }
  .frow .chips { grid-column: 2 / -1; grid-row: 2; justify-content: flex-start; max-width: none; }
  .frow-body { padding-left: .5rem; }
}

/* master-detail AI browser */
.md { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 1.1rem; overflow: hidden; background: rgba(5, 5, 7, .6); }
@media (min-width: 900px) { .md { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.md-item { grid-column: 1; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; text-align: left; width: 100%; padding: .9rem 1.1rem; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: inherit; cursor: pointer; transition: background .3s; }
.md-item:hover { background: rgba(255, 255, 255, .03); }
.md-item .n { font: 500 .66rem 'IBM Plex Mono', monospace; letter-spacing: .1em; color: rgba(137, 146, 153, .95); }
.md-item .t { font-family: 'Playfair Display', serif; font-size: 1.08rem; color: rgba(229, 225, 229, .9); }
.md-item[aria-expanded="true"] { background: rgba(245, 185, 74, .07); box-shadow: inset 3px 0 0 var(--amber); }
.md-item[aria-expanded="true"] .n { color: var(--amber); }
.md-item[aria-expanded="true"] .t { color: #fff; }
.md-panel { display: none; grid-column: 1; padding: 1.4rem 1.25rem 1.6rem; background: rgba(255, 255, 255, .02); border-bottom: 1px solid var(--line); }
.md-panel.is-active { display: block; }
html:not(.js) .md-panel { display: block; }
@media (min-width: 900px) {
  .md-panel { grid-column: 2; grid-row: 1 / span 14; border-bottom: 0; border-left: 1px solid var(--line); padding: 2rem; align-self: stretch; }
  .md-panel > .md-sticky { position: sticky; top: 7rem; }
  html:not(.js) .md-panel { grid-row: auto; }
  html:not(.js) .md { display: block; }
}
.md-panel h3 { font-family: 'Playfair Display', serif; font-size: 1.7rem; line-height: 1.15; margin: .9rem 0 .7rem; color: #f3eff4; }
.md-panel p.copy { color: #bfc8cf; font-size: .95rem; line-height: 1.7; }
.md-panel ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .5rem; }
.md-panel li { position: relative; padding-left: 1.4rem; font-size: .86rem; line-height: 1.55; color: rgba(229, 225, 229, .85); }
.md-panel li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--amber); transform: rotate(45deg); }
.md-panel .demo-wrap { margin-top: 1.5rem; }
.md-panel .chat { height: 270px; }
.vis-quote { margin-top: 1.5rem; padding: 1.2rem 1.3rem; border-left: 2px solid var(--amber); background: rgba(245, 185, 74, .05); font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.1rem; line-height: 1.5; color: #f3eff4; }
.vis-quote small { display: block; margin-top: .6rem; font: 500 .6rem/1 'IBM Plex Mono', monospace; font-style: normal; letter-spacing: .16em; text-transform: uppercase; color: rgba(137, 146, 153, .95); }
.vis-chips { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.vis-chips span { font: 500 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .1em; text-transform: uppercase; padding: .55rem .75rem; border-radius: .4rem; border: 1px solid rgba(245, 185, 74, .35); color: #fde7b8; background: rgba(245, 185, 74, .06); }
.vis-steps { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; counter-reset: s; }
.vis-steps li { counter-increment: s; position: relative; padding: .8rem .9rem .8rem 2.6rem; border: 1px solid var(--line); border-radius: .6rem; background: rgba(255, 255, 255, .03); font-size: .84rem; }
.vis-steps li::before { content: counter(s); position: absolute; left: .85rem; top: .75rem; font: 600 .75rem 'IBM Plex Mono', monospace; color: var(--amber); }
.md-panel .vis-steps li { padding-left: 2.6rem; }
.md-panel .vis-steps li::after { display: none; }

/* screening room (editor videos as a poster strip) */
.ed-strip { grid-template-columns: minmax(0, 1fr); }
.ed-strip .ed-theater { position: static; }
.ed-strip .ed-frame { border-radius: .5rem; box-shadow: 0 50px 90px -50px #000, 0 0 70px -30px rgba(245, 185, 74, .35); border-color: #26262c; }
.ed-strip .ed-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; margin-top: 1.25rem; }
@media (max-width: 899px) { .ed-strip .ed-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .7rem; padding-bottom: .4rem; } .ed-strip .ed-tab { flex: 0 0 62%; scroll-snap-align: start; } }
.ed-strip .ed-tab { border: 1px solid var(--line); border-left-width: 1px; border-radius: .7rem; padding: .55rem; background: rgba(255, 255, 255, .02); }
.ed-strip .ed-tab[aria-selected="true"] { border-color: var(--amber); background: rgba(245, 185, 74, .07); }
.ed-strip .ed-tab[aria-selected="true"] .jr-num { color: var(--amber); }
.ed-thumb { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: .45rem; margin-bottom: .6rem; filter: brightness(.8); transition: filter .3s; }
.ed-strip .ed-tab[aria-selected="true"] .ed-thumb, .ed-strip .ed-tab:hover .ed-thumb { filter: none; }
.ed-strip .jr-title { font-size: .95rem; line-height: 1.25; }
.ed-strip .jr-num { font-size: .58rem; letter-spacing: .12em; }
.ed-strip .ed-sum { display: none !important; }
.ed-strip .ed-bar b { background: var(--amber); }
.ed-strip .ed-now .dot { background: var(--amber); }

/* plain closing band */
.fx-end { margin: 5rem 0 6rem; display: grid; gap: 1.5rem; padding: 2rem 2.2rem; border: 1px solid #26262c; border-radius: .6rem; background: #0b0b0e; }
@media (min-width: 800px) { .fx-end { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }
.fx-end h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; color: #f3eff4; }
.fx-end p { margin-top: .5rem; color: #bfc8cf; }
.fx-end .row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =====================================================================
   PRICING — distinct hero: ascending price bars instead of aurora.
   ===================================================================== */
.px-hero { padding: 9.5rem 0 4.5rem; border-bottom: 1px solid var(--line); background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px); background-size: 32px 32px; }
.px-h1 { font-family: 'Playfair Display', serif; font-weight: 900; letter-spacing: -.035em; line-height: .96; font-size: clamp(2.8rem, 5.8vw, 5.3rem); color: #f3eff4; margin: 1.4rem 0 1.6rem; text-wrap: balance; }
.px-bars { display: flex; align-items: flex-end; gap: .7rem; height: 21rem; }
.px-bar { position: relative; flex: 1; height: var(--h); border-radius: .75rem .75rem 0 0; border: 1px solid color-mix(in srgb, var(--c) 55%, transparent); border-bottom: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 40%, #0b0b0e), color-mix(in srgb, var(--c) 8%, #0b0b0e)); transform-origin: bottom; }
.px-bar .p { position: absolute; top: .8rem; left: .85rem; right: .5rem; font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(1.1rem, 2.1vw, 1.7rem); line-height: 1; color: #f3eff4; }
.px-bar .p small { display: block; margin-top: .3rem; font: 500 .6rem/1 'IBM Plex Mono', monospace; letter-spacing: .08em; color: rgba(229, 225, 229, .7); }
.px-bar .n { position: absolute; bottom: .8rem; left: .85rem; font: 600 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--c); }
.px-axis { display: flex; justify-content: space-between; margin-top: .7rem; font: 500 .58rem/1 'IBM Plex Mono', monospace; letter-spacing: .2em; text-transform: uppercase; color: rgba(137, 146, 153, .9); }
@media (prefers-reduced-motion: no-preference) {
  .px-bars .px-bar { transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 120ms); }
  .px-bars:not(.play) .px-bar { transform: scaleY(.05); }
  .frame, .fr .zoom-btn { will-change: transform; }
}

/* ---------- About page ---------- */
.ab-hero { position: relative; min-height: min(78vh, 760px); display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); }
.ab-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; filter: saturate(1.05); }
.ab-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 5, 7, .55) 0%, rgba(5, 5, 7, .25) 35%, rgba(5, 5, 7, .88) 78%, #050507 100%); }
.ab-hero-in { position: relative; z-index: 1; width: 100%; padding-top: 9rem; padding-bottom: 3.5rem; }
.ab-h1 { margin: 1.4rem 0 1.4rem; max-width: 14ch; font-family: 'Playfair Display', serif; font-weight: 900; letter-spacing: -.035em; line-height: .96; font-size: clamp(2.9rem, 7.4vw, 6.4rem); color: #f3eff4; text-wrap: balance; }
.ab-lede { max-width: 38rem; font-size: 1.15rem; line-height: 1.7; color: #d3dbe1; }
.ab-credit { margin-top: 1.6rem; font: 500 .66rem/1.4 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: #8b95a1; }

.ab-spec-wrap { padding: 3rem 0 1rem; }
.ab-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid #26262c; border-radius: .6rem; background: #0b0b0e; overflow: hidden; }
.ab-spec > div { padding: 1.15rem 1.3rem; border-bottom: 1px solid #1c1c21; border-right: 1px solid #1c1c21; }
.ab-spec > div:nth-child(2n) { border-right: 0; }
.ab-spec > div:nth-last-child(-n+2) { border-bottom: 0; }
.ab-spec dt { font: 500 .66rem/1 'IBM Plex Mono', monospace; letter-spacing: .24em; text-transform: uppercase; color: var(--ice); }
.ab-spec dd { margin: .55rem 0 0; font-size: 1rem; line-height: 1.45; color: #e6e1e8; }
@media (min-width: 900px) {
  .ab-spec { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ab-spec > div:nth-child(2n) { border-right: 1px solid #1c1c21; }
  .ab-spec > div:nth-child(3n) { border-right: 0; }
  .ab-spec > div:nth-last-child(-n+2) { border-bottom: 1px solid #1c1c21; }
  .ab-spec > div:nth-last-child(-n+3) { border-bottom: 0; }
}

.ab-story { padding: 5.5rem 0 4rem; }
.ab-story-grid { display: grid; gap: 2rem; }
.ab-story h2 { font-family: 'Playfair Display', serif; font-weight: 700; font-style: italic; letter-spacing: -.02em; line-height: 1.08; font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: #f3eff4; text-wrap: balance; }
.ab-prose p { margin: 0 0 1.25rem; font-size: 1.12rem; line-height: 1.8; color: #bfc8cf; max-width: 38rem; }
.ab-prose p:first-child::first-letter { float: left; margin: .1em .12em 0 0; font-family: 'Playfair Display', serif; font-weight: 900; font-size: 3.6em; line-height: .8; color: var(--ice); }
@media (min-width: 900px) { .ab-story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; align-items: start; } }

.ab-rules-wrap { padding: 2rem 0 4rem; }
.ab-rules { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid #26262c; }
.ab-rules li { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 1.2rem; padding: 1.7rem 0; border-bottom: 1px solid #26262c; }
.ab-rules .n { font: 700 1.9rem/1 'IBM Plex Mono', monospace; color: #3a4350; }
.ab-rules h3 { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: #f3eff4; }
.ab-rules p { margin-top: .5rem; max-width: 40rem; line-height: 1.7; color: #bfc8cf; }
.ab-rules a, .ab-by a { color: var(--ice); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .ab-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; } .ab-rules li:nth-last-child(-n+2) { border-bottom: 0; } }

.ab-ea-wrap { padding: 1rem 0 6rem; }
.ab-ea { display: grid; gap: 1.8rem; padding: 2.2rem; border: 1px solid #26262c; border-radius: .6rem; background: #0b0b0e; }
.ab-ea h2 { margin-top: 1.1rem; font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.15; color: #f3eff4; text-wrap: balance; max-width: 30ch; }
.ab-ea p { margin-top: .9rem; max-width: 40rem; line-height: 1.7; color: #bfc8cf; }
.ab-ea .ab-by { font-size: .95rem; color: #8b95a1; }
.ab-ea .row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (min-width: 900px) { .ab-ea { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding: 2.8rem; } }

.ab-photos-wrap { padding: 0 0 4rem; }
.ab-photos { display: grid; gap: 1.2rem; }
.ab-photos figure { margin: 0; overflow: hidden; border: 1px solid #26262c; border-radius: .6rem; background: #0b0b0e; }
.ab-photos img { display: block; width: 100%; height: auto; }
.ab-photos figcaption { padding: .8rem 1rem; font: 500 .66rem/1.4 'IBM Plex Mono', monospace; letter-spacing: .18em; text-transform: uppercase; color: #8b95a1; }
@media (min-width: 900px) { .ab-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
