/* =====================================================================
   LETZ STUDIOS — SIMPLE PORTFOLIO STYLES (rebuild, Oct 2026)
   Cherry #C42428 · Baby blue #6CB0D0 · Cream #FCFCF8
   Dusty pink #D09490 · Garnet #741010 · Oxblood #2C0C10
   No fade-in / reveal animations: everything is visible on load.
   ===================================================================== */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/CG.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Aleo"; src: url("../fonts/Aleo.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Jost"; src: url("../fonts/Jost-ExtraLight.ttf") format("truetype"); font-weight: 200 400; font-display: swap; }

:root {
  --cherry: #C42428; --baby-blue: #6CB0D0; --cream: #FCFCF8;
  --dusty: #D09490; --garnet: #741010; --oxblood: #2C0C10;
  --ink: var(--oxblood); --dim: #6E5052; --line: #E6D4D1; --surface: #F3EDE8;
  --head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 64px);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--body); font-weight: 300; font-size: 17px; line-height: 1.6;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:hover { color: var(--cherry); }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--head); font-weight: 300; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--cream); padding: 8px 12px; z-index: 10; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.label { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }

/* ---------- header / footer ---------- */
.site-header {
  max-width: var(--max); width: 100%; margin: 0 auto; padding: 28px var(--pad) 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border-bottom: none;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x;
  background-position: left bottom;
  background-size: auto 10px;
}
.brand img { height: 72px; width: auto; }
.nav { display: flex; gap: clamp(16px, 3vw, 32px); }
.nav a { text-decoration: none; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.nav a[aria-current="page"] { color: var(--cherry); }
.site-footer {
  max-width: var(--max); width: 100%; margin: 80px auto 0; padding: 32px var(--pad) 32px;
  border-top: none;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x;
  background-position: left top;
  background-size: auto 10px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  font-size: 14px; color: var(--dim);
}
.site-footer a { color: var(--dim); }

/* ---------- home ---------- */
.projects { padding: clamp(36px, 6vw, 64px) 0 clamp(48px, 8vw, 80px); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.card { text-decoration: none; display: block; }
.card .thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: 2px; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card h2 { font-size: 32px; margin-top: 16px; text-transform: lowercase; }
.card .label { margin-top: 4px; display: block; }
.card .more { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--cherry); }

/* ---------- project detail ---------- */
.back { display: inline-block; margin: 32px 0 0; font-size: 14px; text-decoration: none; letter-spacing: .08em; }
.p-head { padding: 28px 0 32px; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: end; }
.p-head h1 { font-size: clamp(48px, 8vw, 104px); text-transform: lowercase; margin-top: 8px; }
.p-head .overview { font-size: 19px; margin: 0; }
.p-head + .section { margin-top: 8px; }
.facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 32px;
  margin: 0 0 48px; padding: 28px 0;
  border: none;
  background-image:
    url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png"),
    url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x, repeat-x;
  background-position: left top, left bottom;
  background-size: auto 8px, auto 8px;
}
.facts div { padding: 6px 0; }
.facts dt { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 400; }
.facts dd { margin: 2px 0 0; }
.hero { background: none; margin-bottom: 64px; }
.hero img { width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }

.section { margin: 0 0 72px; }
.section > h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 20px; }
.two { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(20px, 5vw, 64px); }
.two .text { max-width: 62ch; }
.challenges { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.challenges h3 { font-size: 24px; margin-bottom: 8px; }
.challenges div {
  border-top: none; padding-top: 18px;
  background-image: url("../brand/stitches-photo/cherryred-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left top; background-size: auto 8px;
}
.challenges p { margin: 0; }

.stage { margin-bottom: 40px; }
.stage h3 { font-size: 26px; margin-bottom: 6px; }
.stage .text { max-width: 62ch; }
.imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.imgs figure:last-child:nth-child(odd) { grid-column: 1 / -1; }
.imgs figure:last-child:nth-child(odd) img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; }
.imgs.single { grid-template-columns: 1fr; }
.imgs.cols-3 { grid-template-columns: repeat(3, 1fr); }
.imgs.cols-5 { grid-template-columns: repeat(5, 1fr); }
.imgs.cols-4 { grid-template-columns: repeat(4, 1fr); }
.imgs.cols-2 { grid-template-columns: 1fr 1fr; }
.section .group { margin-top: 28px; }
.section .group h3 { font-size: 20px; margin: 0 0 12px; }
.flip-intro { max-width: 62ch; margin: 0 0 16px; }
.imgs[class*="cols-"] figure:last-child:nth-child(odd) { grid-column: auto; }
.imgs[class*="cols-"] figure:last-child:nth-child(odd) img { max-height: none; width: 100%; }
@media (max-width: 760px) { .imgs.cols-3, .imgs.cols-4, .imgs.cols-5 { grid-template-columns: 1fr 1fr; } }
figure { margin: 0; }
figure img { width: 100%; height: auto; background: none; }
figcaption { font-size: 13px; color: var(--dim); margin-top: 6px; }

/* ---------- flipbook ---------- */
.flip { background: none; padding: clamp(20px, 4vw, 48px); }
.flip-stage { margin: 0 auto; }
.flip-book .page { background: #fff; overflow: hidden; }
.flip-book .page img { width: 100%; height: 100%; object-fit: contain; background: #FDFCFA; }
.flip-controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 20px; }
.flip-controls button {
  font: inherit; font-size: 14px; letter-spacing: .08em; background: var(--cream); color: var(--ink);
  border: 1px solid var(--ink); padding: 8px 18px; cursor: pointer; border-radius: 2px; white-space: nowrap;
}
.flip-controls button:hover { background: var(--cherry); border-color: var(--cherry); color: var(--cream); }
.flip-controls button:disabled { opacity: .35; cursor: default; background: var(--cream); color: var(--ink); border-color: var(--ink); }
.flip-controls .count { font-size: 14px; color: var(--dim); min-width: 130px; text-align: center; }
.flip-hint { text-align: center; font-size: 13px; color: var(--dim); margin: 10px 0 0; }
/* simple one-page-at-a-time fallback viewer */
.flip-simple img { max-height: 78vh; width: auto; margin: 0 auto; box-shadow: 0 6px 24px rgba(44,12,16,.15); }

.next-project {
  border-top: none; padding-top: 40px;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left top; background-size: auto 8px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.next-project a { font-family: var(--head); font-size: clamp(30px, 4vw, 48px); text-decoration: none; text-transform: lowercase; }

/* ---------- about / contact ---------- */
.page-top { padding: clamp(48px, 8vw, 96px) 0 32px; }
.page-top h1 { font-size: clamp(48px, 8vw, 96px); text-transform: lowercase; }
.page-top .lead { font-family: var(--head); font-size: clamp(24px, 3vw, 34px); line-height: 1.2; max-width: 26ch; margin-top: 16px; }
.about-copy { max-width: 62ch; font-size: 18px; }
.about-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-top: 48px; }
.about-lists h2 {
  font-family: var(--body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--dim); font-weight: 400; border-top: none; padding-top: 18px; margin-bottom: 8px;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left top; background-size: auto 8px;
}
.about-lists ul { list-style: none; padding: 0; margin: 0; }
.about-top { display: grid; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about-top.has-pic { grid-template-columns: minmax(0, 62ch) minmax(220px, 380px); justify-content: space-between; }
.about-portrait { margin: 0; }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; transform: rotate(1.5deg); box-shadow: 0 10px 30px rgba(44, 12, 16, .12); }
.about-resume {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 520px); gap: clamp(32px, 5vw, 72px); align-items: start;
  margin-top: 72px; padding-top: 32px;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left top; background-size: auto 8px;
}
.about-resume h2 { font-size: clamp(36px, 5vw, 56px); text-transform: lowercase; margin-bottom: 16px; }
.about-resume-text { max-width: 44ch; }
.resume-preview { display: block; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 36px rgba(44, 12, 16, .10); transition: transform .2s ease; }
.resume-preview:hover { transform: translateY(-3px); }
.btn-solid { background: var(--ink); color: var(--cream); }
.btn-solid:hover { background: var(--cherry); }
.about-horse { margin-top: 64px; display: flex; justify-content: center; }
.about-horse img { width: min(260px, 60vw); height: auto; }
.btn { display: inline-block; border: 1px solid var(--ink); padding: 10px 20px; text-decoration: none; font-size: 14px; letter-spacing: .08em; margin-right: 10px; margin-top: 8px; }
.btn:hover { background: var(--cherry); border-color: var(--cherry); color: var(--cream); }
.contact-list {
  border-top: none; max-width: 760px; padding-top: 12px;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left top; background-size: auto 8px;
}
.contact-list .row {
  display: flex; justify-content: space-between; gap: 20px; padding: 22px 0 18px;
  border-bottom: none; text-decoration: none; flex-wrap: wrap;
  background-image: url("../brand/stitches-photo/oxblood-cross-stitch-x-row.png");
  background-repeat: repeat-x; background-position: left bottom; background-size: auto 8px;
}
.contact-list .row .v { font-family: var(--head); font-size: 24px; }
.contact-list .row.soon .v { color: var(--dim); font-size: 20px; }

@media (max-width: 760px) {
  .about-top.has-pic, .about-resume { grid-template-columns: 1fr; }
  .about-portrait { max-width: 360px; }
  .p-head, .two { grid-template-columns: 1fr; }
  .brand img { height: 48px; }
  .nav a { font-size: 12px; }
  .grid { grid-template-columns: 1fr; }
  .imgs { grid-template-columns: 1fr; }
  .flip-controls { gap: 10px; }
  .flip-controls button { padding: 8px 12px; }
  .flip-controls .count { min-width: 0; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .choice .thumb img, .card .thumb img, .resume-preview { transition: none; } }

/* ---------- hub chooser (e.g. acclaim → Mark or Lookbook) ---------- */
.hub-choices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin: 8px 0 80px; }
.choice { display: block; text-decoration: none; }
.choice .thumb { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: 2px; }
.choice .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.choice:hover .thumb img { transform: scale(1.03); }
.choice h2 { font-size: clamp(40px, 5vw, 60px); margin-top: 18px; color: var(--cherry); }
.choice .label { display: block; margin-top: 2px; text-transform: lowercase; letter-spacing: .08em; }
.choice p { max-width: 46ch; margin: 10px 0 0; }
.choice .more { display: inline-block; margin-top: 12px; font-size: 14px; color: var(--cherry); }

/* sibling chooser on a grouped project page */
.sibling-nav { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 28px; margin: -8px 0 28px; }
.sibling-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.sibling-nav li { display: flex; align-items: baseline; gap: 10px; }
.sibling-nav a, .sibling-nav [aria-current] { font-family: var(--head); font-size: 26px; text-transform: lowercase; text-decoration: none; }
.sibling-nav a { color: var(--cherry); border-bottom: 1px solid transparent; }
.sibling-nav a:hover { border-bottom-color: var(--cherry); }
.sibling-nav [aria-current] { color: var(--ink); }
.sibling-nav .label a { font: inherit; text-transform: inherit; letter-spacing: inherit; color: var(--cherry); border: 0; }
.sibling-nav .label a:hover { text-decoration: underline; }
@media (max-width: 760px) { .hub-choices { grid-template-columns: 1fr; } }

/* flipbook made from whole spreads: each page shows one half of the spread image */
.flip-book .page.half img { width: 200%; max-width: none; height: 100%; object-fit: cover; }
.flip-book .page.half-r img { margin-left: -100%; }

/* ---------- brand system (ACCLAIM word mark): palette · type · gradients · elements ---------- */
.swatches { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.swatch .chip { aspect-ratio: 1 / 1.15; border-radius: 2px; padding: 12px; display: flex; align-items: flex-start; color: #1a1a1a; }
.swatch .chip.on-dark { color: #fff; }
.swatch .hex { font-size: 13px; letter-spacing: .08em; font-weight: 400; font-variant-numeric: tabular-nums; }
.sw-name { margin-top: 10px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; }
.sw-note { font-size: 14px; color: var(--dim); }
.type-faces { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 20px; }
.type-face { background: #fff; border: 1px solid var(--line); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.type-meta h3 { font-size: 28px; }
.type-meta .label { display: block; margin-top: 4px; }
.type-img img { width: 100%; height: auto; background: none; }
.type-sample { font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; color: #1a1a1a; }
.project-acclaim-mark .type-sample { color: #3B1C5C; }
.type-sample.tracked { letter-spacing: .14em; text-transform: uppercase; font-size: clamp(15px, 1.7vw, 20px); }
.type-sample.condensed { letter-spacing: .04em; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; }
.type-spec { font-size: 18px; line-height: 1.6; margin: 0; color: #1a1a1a; }
.type-note { margin-top: 18px; color: var(--dim); }
.grad-spectrum { margin: 20px 0 0; }
.grad-spectrum .bar { height: clamp(90px, 14vw, 160px); border-radius: 2px; }
.grad-spectrum figcaption, .el figcaption { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-top: 10px; }
.grad-fades { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.grad-fades .fade { aspect-ratio: 1 / 1; border-radius: 2px; }
.el-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.el .el-tile { aspect-ratio: 4 / 3; background: none; display: flex; align-items: center; justify-content: center; padding: 8%; border-radius: 2px; }
.el.dark .el-tile { background: #141414; }
.el .el-tile img { width: 100%; height: 100%; object-fit: contain; background: none; }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 16px; }
.dodont h3 { font-size: 26px; margin-bottom: 8px; }
.dodont ul { margin: 0; padding-left: 1.1em; }
.dodont li { margin: 4px 0; }
@media (max-width: 900px) { .swatches { grid-template-columns: repeat(3, 1fr); } .grad-fades { grid-template-columns: repeat(3, 1fr); } .el-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .type-faces, .dodont { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .swatches, .grad-fades { grid-template-columns: 1fr 1fr; } }

/* plainMedia projects (e.g. Herb Lubalin): no cream/color square behind the hero photo or flipbook */
.hero.plain, .flip.plain { background: none; }
.flip.plain { padding-left: 0; padding-right: 0; }

/* plainMedia: also no cream behind final-work images (transparent PNGs sit right on the page) */
.plain-media figure img { background: none; }
.imgs.cols-1 { grid-template-columns: 1fr; }

/* acclaim word mark hero only — lookbook/Herb keep full-width contain */
.project-acclaim-mark .hero.plain img { max-width: min(720px, 78%); max-height: 56vh; }
.project-acclaim-book .hero.plain img { max-width: 100%; max-height: 88vh; width: 100%; object-fit: contain; }

/* acclaim-mark final-draft sketch — keep small so it stays sharp */
.project-acclaim-mark img[src*="04-final-draft"] {
  max-width: 280px;
  width: auto;
  height: auto;
  margin: 0;
}

/* Instagram / social preview card */
.social-card { display: block; max-width: 420px; text-decoration: none; color: inherit; margin-top: 16px; }
.social-card img { width: 100%; height: auto; border-radius: 12px; }
.social-card-label { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--dim); text-decoration: underline; text-underline-offset: 3px; }
.social-card:hover .social-card-label { color: inherit; }

/* Instagram feed panels */
.social-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; max-width: 720px; }
.social-panels a { display: block; text-decoration: none; color: inherit; }
.social-panels img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; display: block; }
.social-card-wrap { max-width: 720px; }
.social-card-wrap .social-card { max-width: 100%; }
@media (max-width: 760px) { .social-panels { grid-template-columns: 1fr 1fr; max-width: 100%; } }

/* Prana — compact Logo row: restrained marks + controlled sign photo */
.project-prana-wellness .imgs.cols-4 { gap: 24px; align-items: end; }
.project-prana-wellness .imgs.cols-4 figure img { height: 220px; width: 100%; object-fit: contain; }
.project-prana-wellness .imgs.cols-4 figure:last-child img { object-fit: cover; border-radius: 6px; }
@media (max-width: 760px) { .project-prana-wellness .imgs.cols-4 { grid-template-columns: 1fr 1fr; } .project-prana-wellness .imgs.cols-4 figure img { height: 170px; } }
/* back-home link replaces cross-project "next" */
.back-home { justify-content: flex-start; }
.back-home a { font-size: clamp(22px, 3vw, 32px); }

/* Prana — single main logo, restrained and centered */
.project-prana-wellness .imgs.cols-1 { max-width: 520px; margin-left: auto; margin-right: auto; }
.project-prana-wellness .imgs.cols-1 figure img { width: 100%; height: auto; max-height: 300px; object-fit: contain; }
.project-prana-wellness .imgs.cols-1 figcaption { text-align: center; }

/* Prana — compact "Brand in use" gallery link */
.folder-link { display: flex; align-items: center; gap: 20px; text-decoration: none; color: inherit; max-width: 560px; }
.folder-thumb img { height: 120px; width: 120px; object-fit: cover; border-radius: 6px; display: block; }
.folder-text { display: flex; flex-direction: column; gap: 4px; }
.folder-name { font-family: var(--head); font-size: clamp(22px, 2.6vw, 28px); text-transform: lowercase; }
.folder-desc { color: var(--dim); font-size: 15px; }
.folder-link .more { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.folder-link:hover .more { color: var(--dim); }

/* Prana — Photography direction board full width (as it showed before the moodboard section was removed) */
.project-prana-wellness .bs-els .el-grid { grid-template-columns: 1fr; }
.project-prana-wellness .bs-els .el .el-tile { aspect-ratio: auto; padding: 0; display: block; }
.project-prana-wellness .bs-els .el .el-tile img { width: 100%; height: auto; }

/* optional one-at-a-time gallery carousel (Prana → Brand in use) */
.gallery-carousel { max-width: 760px; margin: 16px auto 0; outline: none; }
.gallery-carousel:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.gc-stage { display: flex; align-items: center; justify-content: center; min-height: min(70vh, 640px); }
.gc-slide { margin: 0; text-align: center; animation: gcfade .25s ease; }
.gc-slide[hidden] { display: none; }
.gc-slide img { max-width: 100%; max-height: min(70vh, 640px); width: auto; height: auto; object-fit: contain; margin: 0 auto; display: block; }
.gc-slide figcaption { margin-top: 12px; }
.gc-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; }
.gc-controls button { font: inherit; background: none; border: 1px solid currentColor; border-radius: 999px; padding: 8px 18px; cursor: pointer; color: inherit; }
.gc-controls button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.gc-count { font-size: 14px; color: var(--dim); min-width: 70px; text-align: center; }
@keyframes gcfade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .gc-slide { animation: none; } }
@media (max-width: 760px) { .gc-stage { min-height: 0; } .gc-slide img { max-height: 60vh; } .gc-controls { gap: 12px; } .gc-controls button { padding: 8px 14px; } }

/* Prana logo v2 — smaller, artwork box itself centered (no stretched 100%-wide canvas) */
.project-prana-wellness .imgs.cols-1 { max-width: 440px; display: block; margin-left: auto; margin-right: auto; }
.project-prana-wellness .imgs.cols-1 figure { margin: 0 auto; text-align: center; }
.project-prana-wellness .imgs.cols-1 figure img { display: block; width: auto; max-width: 100%; height: auto; max-height: 245px; margin: 0 auto; object-fit: contain; }
@media (max-width: 760px) { .project-prana-wellness .imgs.cols-1 figure img { max-height: 190px; } }

/* Prana website single screenshot — readable width, not the small logo sizing */
.project-prana-wellness .link-views .imgs.cols-1 { max-width: 900px; margin-left: 0; margin-right: 0; }
.project-prana-wellness .link-views .imgs.cols-1 figure { text-align: left; }
.project-prana-wellness .link-views .imgs.cols-1 figure img { width: 100%; max-height: none; height: auto; }
@media (max-width: 760px) { .project-prana-wellness .link-views .imgs.cols-1 figure img { max-height: none; } }

/* Prana logo v3 — beat the generic ".imgs[class*=cols-] figure:last-child:nth-child(odd) img { width:100%; max-height:none }" rule (0,4,2);
   :not(.link-views) keeps the single Website screenshot full width */
.project-prana-wellness .section:not(.link-views) .imgs.cols-1 figure:first-child img { width: auto; max-width: 100%; max-height: 245px; height: auto; margin: 0 auto; display: block; }
@media (max-width: 760px) { .project-prana-wellness .section:not(.link-views) .imgs.cols-1 figure:first-child img { max-height: 190px; } }

/* Prana logo spacing — more room above the mark, less below (opening Logo section only) */
.project-prana-wellness .section:not(.link-views) > .imgs.cols-1 { margin-top: 0; padding: 48px 0 24px; }
.project-prana-wellness .section:not(.link-views) > .imgs.cols-1 figcaption { margin-top: 10px; }
.project-prana-wellness .section:not(.link-views):has(> .imgs.cols-1) { margin-bottom: 48px; }
@media (max-width: 760px) { .project-prana-wellness .section:not(.link-views) > .imgs.cols-1 { padding: 32px 0 16px; } }

/* ===== sitewide polish (Nov 7): calmer line breaks, shared grid rhythm ===== */
h1, h2, h3, .card h2, .folder-name { text-wrap: balance; }
p, .overview, .text, figcaption, dd, .challenges p, .folder-desc, .label { text-wrap: pretty; }
.section > p.text, .section > .text { max-width: 68ch; }
/* linked screenshot sections: a single screenshot spans the full content column */
.link-views .imgs.cols-1, .project-prana-wellness .link-views .imgs.cols-1 { max-width: none; margin-left: 0; margin-right: 0; }
.link-views .imgs.cols-1 figure img { width: 100%; height: auto; max-height: none; object-fit: contain; }

/* flipbook single cover pages (ACCLAIM lookbook) */
.flip-book .page.cover img { object-fit: cover; background: #000; }
.flip-book .page.cover-black { background: #000; }

/* Prana opening: main logo + two featured merch photos in one aligned row (explicit class, beats generic odd-last rules) */
.project-prana-wellness .section .imgs.prana-opening { display: grid; grid-template-columns: 1fr auto auto; gap: 32px; align-items: center; margin-top: 0; padding: 40px 0 16px; max-width: none; }
.project-prana-wellness .section .imgs.prana-opening figure:nth-child(n) { grid-column: auto; margin: 0; text-align: center; }
.project-prana-wellness .section .imgs.prana-opening figure:nth-child(n) img { width: auto; max-width: 100%; height: auto; max-height: 300px; margin: 0 auto; display: block; object-fit: contain; }
.project-prana-wellness .section .imgs.prana-opening figure:first-child img { max-height: 245px; }
.project-prana-wellness .section .imgs.prana-opening figcaption { margin-top: 10px; }
@media (max-width: 900px) {
  .project-prana-wellness .section .imgs.prana-opening { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 28px; }
  .project-prana-wellness .section .imgs.prana-opening figure:first-child { grid-column: 1 / -1; }
  .project-prana-wellness .section .imgs.prana-opening figure:first-child img { max-height: 190px; }
  .project-prana-wellness .section .imgs.prana-opening figure:nth-child(n+2) img { max-height: 240px; }
}

/* Prana opening v2: 2x2 equal tiles (logo, tank, hangtag, socks), natural aspect, nothing cropped */
.project-prana-wellness .section .imgs.prana-opening { grid-template-columns: 1fr 1fr; max-width: 820px; margin-left: auto; margin-right: auto; gap: 28px 32px; }
.project-prana-wellness .section .imgs.prana-opening figure:nth-child(n) img { max-height: 300px; }
.project-prana-wellness .section .imgs.prana-opening figure:first-child img { max-height: 245px; }
@media (max-width: 900px) {
  .project-prana-wellness .section .imgs.prana-opening figure:first-child { grid-column: auto; }
  .project-prana-wellness .section .imgs.prana-opening figure:nth-child(n) img { max-height: 220px; }
  .project-prana-wellness .section .imgs.prana-opening figure:first-child img { max-height: 160px; }
}

/* Prana opening v3: labelled Logo column + Merchandise group */
.project-prana-wellness .prana-opening-groups { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.7fr); gap: 40px; align-items: start; max-width: 1000px; margin: 0 auto; padding: 40px 0 16px; }
.project-prana-wellness .opening-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; margin: 0 0 18px; text-align: center; }
.project-prana-wellness .opening-group .imgs { display: grid; gap: 20px; margin: 0; padding: 0; max-width: none; align-items: center; }
.project-prana-wellness .opening-logo .imgs { grid-template-columns: 1fr; }
.project-prana-wellness .opening-merch .imgs { grid-template-columns: repeat(3, minmax(0,1fr)); }
.project-prana-wellness .opening-group .imgs figure:nth-child(n) { grid-column: auto; margin: 0; text-align: center; }
.project-prana-wellness .opening-group .imgs figure:nth-child(n) img { width: auto; max-width: 100%; height: auto; max-height: 260px; margin: 0 auto; display: block; object-fit: contain; aspect-ratio: auto; }
.project-prana-wellness .opening-logo .imgs figure:nth-child(n) img { max-height: 245px; }
.project-prana-wellness .opening-group figcaption { margin-top: 10px; }
@media (max-width: 900px) {
  .project-prana-wellness .prana-opening-groups { grid-template-columns: 1fr; gap: 32px; padding-top: 28px; }
  .project-prana-wellness .opening-logo .imgs figure:nth-child(n) img { max-height: 190px; }
  .project-prana-wellness .opening-group .imgs figure:nth-child(n) img { max-height: 200px; }
}
@media (max-width: 520px) {
  .project-prana-wellness .opening-merch .imgs { grid-template-columns: 1fr 1fr; gap: 16px; }
  .project-prana-wellness .opening-merch .imgs figure:last-child { grid-column: 1 / -1; }
}

/* Prana v4: separate Logo and Merchandise sections */
.project-prana-wellness .section .imgs.prana-logo-only { display: block; max-width: none; margin: 0 auto; padding: 40px 0; }
.project-prana-wellness .section .imgs.prana-logo-only figure:nth-child(n) { margin: 0; text-align: center; }
.project-prana-wellness .section .imgs.prana-logo-only figure:nth-child(n) img { width: auto; max-width: 100%; height: auto; max-height: 245px; margin: 0 auto; display: block; object-fit: contain; aspect-ratio: auto; }
.project-prana-wellness .section .imgs.prana-merch-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: end; max-width: 1000px; margin: 0 auto; padding: 8px 0 0; }
.project-prana-wellness .section .imgs.prana-merch-row figure:nth-child(n) { grid-column: auto; margin: 0; text-align: center; }
.project-prana-wellness .section .imgs.prana-merch-row figure:nth-child(n) img { width: auto; max-width: 100%; height: auto; max-height: 300px; margin: 0 auto; display: block; object-fit: contain; aspect-ratio: auto; }
@media (max-width: 900px) {
  .project-prana-wellness .section .imgs.prana-logo-only { padding: 28px 0; }
  .project-prana-wellness .section .imgs.prana-logo-only figure:nth-child(n) img { max-height: 190px; }
  .project-prana-wellness .section .imgs.prana-merch-row figure:nth-child(n) img { max-height: 220px; }
}
@media (max-width: 520px) {
  .project-prana-wellness .section .imgs.prana-merch-row { grid-template-columns: 1fr 1fr; gap: 16px; }
  .project-prana-wellness .section .imgs.prana-merch-row figure:last-child { grid-column: 1 / -1; }
}

/* ACCLAIM mark final draft: native 646px source, 323px supports 2x screens. */
.project-acclaim-mark .section .group .imgs[class*="cols-"] figure:last-child:nth-child(odd) img[src*="04-final-draft"] {
  max-width: min(100%, 323px);
  width: auto;
  height: auto;
  display: block;
  margin-inline: auto;
}

/* Prana social carousel: natural size mobile screenshots, no forced stretch */
.social-carousel .gc-stage { min-height: 0; }
.social-carousel .gc-slide img { width: auto; max-width: min(100%, 375px); max-height: none; height: auto; border-radius: 0; }
.social-carousel .gc-controls[hidden] { display: none; }

/* ACCLAIM lookbook: built from the word mark */
.mark-origin .imgs.cols-2 { align-items: center; gap: 32px; }
.mark-origin .imgs.cols-2 figure img { width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.mark-origin h3 { font-size: 20px; margin: 36px 0 0; }
@media (max-width: 760px) { .mark-origin .imgs.cols-2 { grid-template-columns: 1fr; } }
/* ACCLAIM digital drafts folder page: 2-up, odd last item centered */
.project-acclaim-book-drafts .section .group .imgs.cols-2 figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 8px); }
.project-acclaim-book-drafts .section .group .imgs.cols-2 figure:last-child:nth-child(odd) img { width: 100%; max-height: none; }
@media (max-width: 760px) { .project-acclaim-book-drafts .section .group .imgs.cols-2 { grid-template-columns: 1fr; } .project-acclaim-book-drafts .section .group .imgs.cols-2 figure:last-child:nth-child(odd) { width: 100%; } }

/* ACCLAIM lookbook word mark block v2: colored mark + beam elements */
.mark-origin .imgs.mo-mark.cols-1 figure img { width: auto; max-width: min(100%, 640px); max-height: none; height: auto; margin: 0 auto; display: block; }
.mark-origin .imgs.mo-beams { gap: 20px; align-items: center; }
.mark-origin .imgs.mo-beams figure img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: contain; max-height: none; }
@media (max-width: 760px) { .mark-origin .imgs.mo-beams { grid-template-columns: 1fr 1fr; } }

/* Prana social carousel v2: 1812x1610 grid crops (two rows of three), shown at <=600px so they stay crisp on 2x screens */
.social-carousel { max-width: 600px; }
.social-carousel .gc-slide { width: 100%; }
.social-carousel .gc-slide img { width: 100%; max-width: 600px; height: auto; max-height: none; aspect-ratio: 1812 / 1610; object-fit: contain; }

