/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --c-white:         #ffffff;
  --c-black:         #1a1a1a;
  --c-off-white:     #f7f7f7;
  --c-gray-light:    #e5e5e5;
  --c-gray-mid:      #888888;
  --c-gray-dark:     #555555;
  --c-accent:        #c87941;   /* amber underline on section headings */

  /* Bento grid cells */
  --c-bento-dark:    #383838;
  --c-bento-black:   #1c1c1c;
  --c-bento-gray:    #888888;

  /* Jana brand */
  --c-green:         #45a35f;
  --c-pink:          #e06882;

  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w:           1200px;
  --pad-x:           2rem;
  --gap-section:     5rem;
  --radius:          14px;
  --radius-bento:    18px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--c-white);
  color: var(--c-black);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Checkered transparent placeholder — matches AI design template */
.img-placeholder {
  background:
    repeating-conic-gradient(#e0e0e0 0% 25%, #f0f0f0 0% 50%)
    0 0 / 20px 20px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-gray-dark);
  text-align: center;
  padding: 1rem;
}

/* Section heading + amber underline pattern (used on all project sections) */
.s-heading {
  font-size: 2rem;        /* 24pt design → 32px web */
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.s-rule {
  width: 2.4rem;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  margin-bottom: 1.1rem;
}
.s-body {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-black);
}
.s-tags {
  font-size: 0.875rem;
  color: var(--c-gray-dark);
  margin-top: 1rem;
}

/* ============================================================
   HEADER  (shared across all pages)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-white);
  padding: 0.85rem 0;
}
.site-header .container {
  max-width: 1400px;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.logo {
  display: block;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
}
.logo img {
  height: 44px;
  width: auto;
  display: block;
}
.header-rule {
  flex: 1;
  height: 1.5px;
  background: var(--c-black);
}
.site-nav {
  display: flex;
  gap: 1.5rem;
  flex-shrink: 0;
}
.site-nav a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--c-black);
  transition: opacity 0.2s;
}
.site-nav a:hover { opacity: 0.5; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1.5px solid var(--c-gray-light);
}
.lang-switcher span { display: none; }
.lang-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.2s;
}
.lang-btn[lang="en"] { background: #e0738a; }
.lang-btn[lang="sr"] { background: #82ab3f; }
.lang-btn.active { opacity: 1; }
.lang-btn:not(.active) { opacity: 0.55; }
.lang-btn:hover { opacity: 0.8; }

/* ============================================================
   HERO  (index.html)
   ============================================================ */
.section-hero {
  padding: 0;
}
.section-hero > a {
  display: block;
  cursor: pointer;
}
.hero-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--c-off-white);
  position: relative;
}
.hero-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.12);
  pointer-events: none;
}

@media (max-width: 768px) {
  .header-inner { gap: 0.5rem; }
  .site-nav { gap: 0.75rem; }
  .site-nav a { font-size: 0.82rem; }
  .lang-switcher { margin-left: 0.4rem; padding-left: 0.4rem; gap: 0.35rem; }
  .lang-btn { width: 28px; height: 28px; font-size: 0.6rem; }
  .logo img { height: 36px; }
}

@media (max-width: 768px) {
  .hero-img-wrap { aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .hero-img-wrap { aspect-ratio: 3 / 2; }
}
.hero-img-wrap img,
.hero-img-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   PORTFOLIO GRID  (index.html)
   ============================================================ */
.section-portfolio { padding-bottom: var(--gap-section); }

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

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--c-off-white);
  cursor: pointer;
}
.project-card > a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}
.card-img {
  position: relative;
  width: 100%;
  height: 100%;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.project-card:hover .card-img img { transform: scale(1.04); }

.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    rgba(0, 0, 0, 0.55) 70%,
    rgba(0, 0, 0, 0.82) 100%
  );
}
.card-text {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}
.card-category {
  display: inline-block;
  background: rgba(0, 0, 0, 0.55);
  color: var(--c-white);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
  margin-bottom: 0.3rem;
  border: 1px solid rgba(255,255,255,0.18);
}
.card-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

/* ============================================================
   ABOUT  (index.html)
   ============================================================ */
.section-about {
  padding: var(--gap-section) 0;
  margin-top: 3rem;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-photo {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-greeting {
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.1rem;
}
.about-name {
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.45rem;
}
.about-name-underline {
  width: 140px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.6rem;
  background: linear-gradient(
    to right,
    var(--c-green) 0%, var(--c-green) 50%,
    var(--c-pink) 50%, var(--c-pink) 100%
  );
}
.about-bio {
  margin-bottom: 0.9rem;
  font-size: 0.9375rem;
}
.about-skills {
  font-size: 0.9rem;
  margin-bottom: 1.6rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-black);
  transition: opacity 0.2s;
}
.contact-link:hover { opacity: 0.65; }
.contact-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  display: block;
}
.contact-icon--green { background: var(--c-green); color: #fff; }
.contact-icon--pink  { background: var(--c-pink);  color: #fff; }

/* ============================================================
   CONTACT BENTO GRID  (index.html)
   ============================================================ */
.section-divider {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 100px 0 200px;
}
.section-divider img {
  width: 100%;
  height: auto;
  display: block;
}

.section-contact { padding-bottom: var(--gap-section); scroll-margin-top: 90px; }

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 44fr 14fr 42fr;
  gap: 10px;
  height: 720px;
}
.bento-cell {
  border-radius: var(--radius-bento);
  overflow: hidden;
  position: relative;
}
.bento-cell > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Col 1: top spans rows 1–2, bottom is row 3 */
.bn-hero-left { grid-column: 1; grid-row: 1 / 3; }
.bn-hero-left > img { object-position: center 15%; }
.bn-work      { grid-column: 1; grid-row: 3; }
.bn-work > img { object-position: center center; }

/* Col 2: top is row 1, bottom spans rows 2–3 */
.bn-hands { grid-column: 2; grid-row: 1; }
.bn-hands > img { object-position: center 45%; }
.bn-legs  { grid-column: 2; grid-row: 2 / 4; }
.bn-legs > img { object-position: center center; }

/* Col 3: top is row 1, bottom spans rows 2–3 */
.bn-logo          { grid-column: 3; grid-row: 1; }
.bn-logo > img    { object-position: center center; }
.bn-portrait-info { grid-column: 3; grid-row: 2 / 4; }

/* Text overlays on image cells */
.bn-overlay-lets {
  position: absolute;
  bottom: 1.2rem;
  top: auto;
  left: 2rem;
  font-size: 3.2rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
  z-index: 2;
}
.bn-overlay-work {
  position: absolute;
  top: 1.6rem;
  bottom: auto;
  left: 2rem;
  font-size: 2.7rem;
  font-weight: 800;
  color: #111;
  line-height: 1.1;
  z-index: 2;
}

/* Arrow overlay on legs cell */
.bn-arrow-link {
  position: absolute;
  inset: 0;
  text-decoration: none;
  z-index: 2;
}
.bn-arrow-img {
  position: absolute;
  left: 68%;
  top: 26%;
  transform: translateY(-50%);
  width: 64px;
  height: auto;
  transition: transform 0.3s ease;
  pointer-events: none;
}
.bn-legs:hover .bn-arrow-img { transform: translateY(-50%) translateX(12px); }

/* Bottom-right: portrait fills full cell, contact text overlaid on top */
.bn-portrait-info {
  background: var(--c-white);
}
.bn-contact-text {
  position: absolute;
  top: 2.25rem;
  left: 2.25rem;
  right: 2.25rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.bn-info-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-black);
  margin-bottom: 0.25rem;
}
.bn-emails {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}
.bn-contact-text a {
  font-size: 0.8rem;
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}
.bn-contact-text a:hover { color: var(--c-black); }
.bn-contact-img {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.bn-contact-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}


/* ============================================================
   PROJECT PAGES — HORIZONTAL SCROLL
   ============================================================ */

/* Body is a full-viewport flex column; header takes its height, track takes the rest */
body.proj-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

/* Header sits naturally at the top — no sticky needed on project pages */
body.proj-page .site-header {
  position: relative;
  flex-shrink: 0;
}

/* Track fills every remaining pixel below the header */
.proj-track {
  display: flex;
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.proj-track::-webkit-scrollbar { display: none; }

/* Every panel is exactly one viewport wide and fills the full track height */
.proj-panel {
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
}

/* ── Panel 1: Hero — full-panel image with overlays ── */
.p-hero {
  position: relative;
}

.p-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.p-hero__label {
  position: absolute;
  top: 2rem;
  left: 2.5rem;
  z-index: 2;
}
.p-hero__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.p-hero__sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.3rem 0 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

/* Goal card floats over the bottom of the hero image */
.p-hero__goal-card {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: min(42%, 520px);
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

/* ── Panel 2: Design Decisions (large image left | text + gallery right) ── */
.p-decisions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
}

/* Left: full-height vertical image */
.p-decisions__left {
  overflow: hidden;
}
.p-decisions__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right: text at top, gallery fills remaining height */
.p-decisions__right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--c-white);
}

.p-decisions__text {
  padding: 2.5rem 2.5rem 2rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Gallery: layout.jpg (wide) on top, two details below */
.p-decisions__gallery {
  flex: 1;
  display: grid;
  grid-template-rows: 1.4fr 1fr;
  overflow: hidden;
}
.p-decisions__layout {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.p-decisions__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding-top: 4px;
}
.p-decisions__pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Shared project typography ── */
.proj-h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.2;
  margin: 0;
}
.p-rule {
  width: 2.2rem;
  height: 3px;
  background: var(--c-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root { --gap-section: 3rem; --pad-x: 1.25rem; }

  .logo img { height: 36px; }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-name  { font-size: 2.8rem; }

  /* Bento: 2-col on tablet */
  .bento-grid {
    height: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bn-hero-left     { grid-column: 1; grid-row: 1; min-height: 220px; }
  .bn-work          { grid-column: 1; grid-row: 2; min-height: 140px; }
  .bn-hands         { grid-column: 2; grid-row: 1; min-height: 160px; }
  .bn-legs          { grid-column: 2; grid-row: 2; min-height: 200px; }
  .bn-logo          { grid-column: 1; grid-row: 3; min-height: 120px; }
  .bn-portrait-info { grid-column: 2; grid-row: 3; min-height: 260px; }

  .bn-overlay-lets { font-size: 2rem; }
  .bn-overlay-work { font-size: 1.8rem; }

}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bn-hero-left,
  .bn-work,
  .bn-hands,
  .bn-legs,
  .bn-logo {
    grid-column: 1;
    grid-row: auto;
    min-height: 160px;
  }
  .bn-portrait-info {
    grid-column: 1;
    grid-row: auto;
    min-height: 280px;
  }
}

/* ============================================================
   VILLA PINO PROJECT PAGE — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero — full-bleed image with text overlay ── */
.vp-hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
  background: #0a0a0a;
}
.vp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 80%
  );
  pointer-events: none;
}
.vp-hero__text {
  position: absolute;
  top: 3rem;
  left: 3rem;
  z-index: 2;
}
.vp-hero__title {
  font-size: 3.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}
.vp-hero__subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.72);
  margin: 0.45rem 0 0;
}
.vp-hero__rule {
  width: 2.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  margin-top: 1rem;
  border-radius: 1px;
}

/* ── Shared label + tags used in text sections ── */
.vp-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1c2b4a;
  margin: 0;
}
.vp-tags {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1c2b4a;
  opacity: 0.7;
  margin: 0;
}
.vp-goal .p-rule,
.vp-decisions .p-rule {
  background: var(--c-accent);
}
.vp-goal .s-body,
.vp-decisions .s-body {
  color: #3d3d4a;
}

/* ── Shared image wrapper (used in goal, context, experience) ── */
.vp-img {
  overflow: hidden;
}
.vp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 2: Project Goal — text left, two images right ── */
.vp-goal {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 70vh;
  background: var(--c-white);
}
.vp-goal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.25rem;
  border-right: 1px solid var(--c-gray-light);
}
.vp-goal__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e0e0e0;
  overflow: hidden;
}

/* ── Section 3: Brand in Context — two full-bleed images ── */
.vp-context {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: #e0e0e0;
  min-height: 70vh;
}

/* ── Section 4: Design Decisions — text left, bag image right ── */
.vp-decisions {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  min-height: 70vh;
  background: var(--c-white);
}
.vp-decisions__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.25rem;
  border-right: 1px solid var(--c-gray-light);
}
.vp-decisions__img {
  overflow: hidden;
}
.vp-decisions__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 5: Experience — single full-bleed closing image ── */
.vp-experience {
  min-height: 65vh;
  overflow: hidden;
}
.vp-experience img {
  width: 100%;
  height: 100%;
  min-height: 65vh;
  object-fit: cover;
  display: block;
}

/* ── Footer ── */
.vp-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  background: #1c2b4a;
}
.vp-footer__text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.vp-footer__icon {
  color: rgba(255, 255, 255, 0.4);
  display: block;
  flex-shrink: 0;
}

/* ── Villa Pino responsive ── */
@media (max-width: 768px) {
  .vp-hero__text { top: 2rem; left: 1.5rem; }
  .vp-hero__title { font-size: 2.5rem; }

  .vp-goal { grid-template-columns: 1fr; }
  .vp-goal__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .vp-goal__images { min-height: 55vw; }

  .vp-context { grid-template-columns: 1fr; min-height: auto; }
  .vp-context .vp-img { aspect-ratio: 4 / 3; }

  .vp-decisions { grid-template-columns: 1fr; }
  .vp-decisions__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .vp-decisions__img { aspect-ratio: 4 / 3; }

  .vp-experience { min-height: auto; }
  .vp-experience img { min-height: 50vw; }
}

/* ============================================================
   TRI VEPRA PROJECT PAGE — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero (dark) ── */
.tv-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: #16160e;
}
.tv-hero__img {
  overflow: hidden;
}
.tv-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tv-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 4rem 4rem 3.5rem;
  gap: 1.25rem;
}
.tv-hero__category {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0;
}
.tv-hero__title {
  font-size: 4.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
}
.tv-hero__content .s-body {
  color: rgba(255, 255, 255, 0.65);
}
.tv-hero__tags {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── Section 2: Project Requirements (light) ── */
.tv-requirements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-white);
}
.tv-requirements__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.1rem;
  border-right: 1px solid var(--c-gray-light);
}
.tv-requirements__img {
  overflow: hidden;
}
.tv-requirements__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 3: Design Decisions (dark) ── */
.tv-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: #16160e;
}
.tv-decisions__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.5rem;
}
.tv-decisions__card .proj-h2 {
  color: #fff;
}
.tv-decisions__card .s-body {
  color: rgba(255, 255, 255, 0.65);
}
.tv-decisions__img {
  overflow: hidden;
}
.tv-decisions__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 4: Label Details ── */
.tv-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 75vh;
  background: #f5f0ea;
}
.tv-labels__img {
  overflow: hidden;
}
.tv-labels__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Project footer tagline ── */
.tv-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-light);
}
.tv-footer__icon {
  color: var(--c-accent);
  opacity: 0.6;
  display: block;
}
.tv-footer__tagline {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gray-dark);
}

/* ── Tri Vepra responsive ── */
@media (max-width: 768px) {
  .tv-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tv-hero__img { aspect-ratio: 4 / 3; }
  .tv-hero__content {
    padding: 3rem 1.5rem;
    gap: 1rem;
  }
  .tv-hero__title { font-size: 2.8rem; }

  .tv-requirements {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tv-requirements__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .tv-requirements__img { aspect-ratio: 4 / 3; }

  .tv-decisions {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tv-decisions__card { padding: 3rem 1.5rem; }
  .tv-decisions__img { aspect-ratio: 4 / 3; }

  .tv-labels {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tv-labels__img { aspect-ratio: 3 / 2; }
}

/* ============================================================
   PIZZALAB PROJECT PAGE — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero — split: text left, image right ── */
.pl-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--c-white);
}
.pl-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  gap: 1.5rem;
  border-right: 1px solid var(--c-gray-light);
}
.pl-hero__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}
.pl-hero__title {
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
}
.pl-hero__sub {
  font-size: 0.9rem;
  color: var(--c-gray-dark);
  line-height: 1.65;
  margin: 0;
}
.pl-hero__rule {
  width: 2rem;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}
.pl-hero__img {
  overflow: hidden;
}
.pl-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 2: Project Goal — image left, text right ── */
.pl-goal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-white);
}
.pl-goal__img {
  overflow: hidden;
}
.pl-goal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pl-goal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.1rem;
  border-left: 1px solid var(--c-gray-light);
}

/* ── Section 3: Full-width image break ── */
.pl-break {
  min-height: 55vh;
  overflow: hidden;
}
.pl-break img {
  width: 100%;
  min-height: 55vh;
  object-fit: cover;
  display: block;
}

/* ── Section 4: Design Decisions — dark text left, logo visual right ── */
.pl-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.pl-decisions__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.5rem;
  background: #1e0c0c;
}
.pl-decisions__text .proj-h2 { color: #fff; }
.pl-decisions__text .s-body  { color: rgba(255, 255, 255, 0.65); }
.pl-decisions__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 3rem;
  gap: 1.75rem;
  background: #f5f0e4;
  overflow: hidden;
}
.pl-decisions__logo-main {
  width: 65%;
  max-width: 280px;
}
.pl-decisions__logo-main img {
  width: 100%;
  height: auto;
  display: block;
}
.pl-decisions__logo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  width: 100%;
}
.pl-logo-card {
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-logo-card--light {
  background: var(--c-white);
  border: 1px solid var(--c-gray-light);
}
.pl-logo-card--dark  { background: #1e0c0c; }
.pl-logo-card img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── Section 5: Logo System ── */
.pl-logos {
  padding: 5rem 3rem;
  background: #f5f0e4;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
}
.pl-logos__inner {
  max-width: 900px;
  margin: 0 auto;
}
.pl-logos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pl-logo-tile {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.pl-logo-tile img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ── Section 6: Application Grid ── */
.pl-apps {
  padding: 5rem 3rem;
  background: var(--c-white);
}
.pl-apps__header {
  max-width: var(--max-w);
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pl-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.pl-app-item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
}
.pl-app-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.pl-app-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.pl-app-item:hover .pl-app-img img { transform: scale(1.04); }
.pl-app-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--c-gray-dark);
  text-align: center;
  letter-spacing: 0.03em;
}

/* ── Section 7: Closing full-width image ── */
.pl-close {
  min-height: 65vh;
  overflow: hidden;
}
.pl-close img {
  width: 100%;
  min-height: 65vh;
  object-fit: cover;
  display: block;
}

/* ── Footer tagline ── */
.pl-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 2rem;
  background: var(--c-accent);
}
.pl-footer__icon {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  flex-shrink: 0;
}
.pl-footer__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

/* ── PizzaLAB responsive ── */
@media (max-width: 768px) {
  .pl-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .pl-hero__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .pl-hero__title { font-size: 3rem; }
  .pl-hero__img { aspect-ratio: 4 / 3; }

  .pl-goal { grid-template-columns: 1fr; min-height: auto; }
  .pl-goal__img { aspect-ratio: 4 / 3; }
  .pl-goal__text {
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--c-gray-light);
  }

  .pl-break { min-height: auto; }
  .pl-break img { min-height: 40vw; }

  .pl-decisions { grid-template-columns: 1fr; min-height: auto; }
  .pl-decisions__text { padding: 3rem 1.5rem; }
  .pl-decisions__visual { padding: 3rem 1.5rem; }

  .pl-logos { padding: 3rem 1.5rem; }
  .pl-logos__grid { grid-template-columns: 1fr 1fr; }

  .pl-apps { padding: 3rem 1.5rem; }
  .pl-apps__grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .pl-close { min-height: auto; }
  .pl-close img { min-height: 50vw; }
}

@media (max-width: 480px) {
  .pl-logos__grid  { grid-template-columns: 1fr; }
  .pl-apps__grid   { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   DIBIDUS PROJECT PAGE — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero — text left, image right ── */
.db-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  background: var(--c-white);
}
.db-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  gap: 1.25rem;
  border-right: 1px solid var(--c-gray-light);
}
.db-hero__icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  margin-bottom: -0.875rem;
}
.db-hero__title {
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
}
.db-hero__sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-gray-mid);
  margin: 0;
}
.db-hero__desc {
  font-size: 0.9375rem;
  color: var(--c-gray-dark);
  line-height: 1.65;
  margin: 0;
}
.db-hero__rule {
  width: 2rem;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
}
.db-hero__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #2a4a2a;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.db-hero .p-rule,
.db-goal .p-rule,
.db-design-grid .p-rule,
.db-logos__inner .p-rule { background: #2a4a2a; }
.db-hero__img {
  overflow: hidden;
}
.db-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 2: Project Goal — image left, text right ── */
.db-goal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-white);
}
.db-goal__img {
  overflow: hidden;
  border-right: 1px solid var(--c-gray-light);
}
.db-goal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.db-goal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.1rem;
}

/* ── Section 3: Two-image break ── */
.db-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.db-pair__img {
  overflow: hidden;
}
.db-pair__img img {
  width: 100%;
  height: 100%;
  min-height: 65vh;
  object-fit: cover;
  display: block;
}

/* ── Section 4: Design Decisions — warm text left, image right ── */
.db-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.db-decisions__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.5rem;
  background: #f3efe6;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}
.db-decisions__img {
  overflow: hidden;
}
.db-decisions__img img {
  width: 100%;
  height: 100%;
  min-height: 80vh;
  object-fit: cover;
  display: block;
}

/* ── Section 3–4: Design Decisions — image+text left, full-height image right ── */
.db-design-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.db-design-left {
  display: grid;
  grid-template-rows: 1fr 1fr;
}
.db-design-left-image {
  overflow: hidden;
}
.db-design-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem;
  gap: 1.5rem;
  background: #f3efe6;
}
.db-design-right {
  overflow: hidden;
}
.db-design-right img,
.db-design-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 5: Logo System — 3-tile row with labels ── */
.db-logos {
  padding: 7rem 2rem;
  background: #f3efe6;
}
.db-logos__inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.db-logos__inner .proj-h2 { margin-bottom: 0.5rem; }
.db-logos__inner .p-rule  { margin: 0 auto 2.5rem; }
.db-logos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.db-logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  padding: 3rem 3.5rem 3rem;
}
.db-logo-tile + .db-logo-tile {
  border-left: 1px solid rgba(42, 74, 42, 0.12);
}
.db-logo-tile img {
  max-width: 78%;
  max-height: 180px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.db-logo-tile__label {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gray-mid);
  text-align: center;
}

/* ── Section 6: Closing full-width image ── */
.db-close {
  min-height: 65vh;
  overflow: hidden;
}
.db-close img {
  width: 100%;
  min-height: 65vh;
  object-fit: cover;
  display: block;
}

/* ── Footer tagline ── */
.db-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 2rem;
  background: #2a4a2a;
}
.db-footer__icon {
  color: rgba(255, 255, 255, 0.55);
  display: block;
  flex-shrink: 0;
}
.db-footer__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Dibidus responsive ── */
@media (max-width: 768px) {
  .db-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .db-hero__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .db-hero__title { font-size: 3rem; }
  .db-hero__img { aspect-ratio: 4 / 3; }

  .db-goal { grid-template-columns: 1fr; min-height: auto; }
  .db-goal__img {
    aspect-ratio: 4 / 3;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .db-goal__text { padding: 3rem 1.5rem; }

  .db-pair { grid-template-columns: 1fr; min-height: auto; }
  .db-pair__img { aspect-ratio: 4 / 3; }
  .db-pair__img img { min-height: auto; }

  .db-decisions { grid-template-columns: 1fr; min-height: auto; }
  .db-decisions__text { padding: 3rem 1.5rem; border-right: none; }
  .db-decisions__img { aspect-ratio: 4 / 3; }

  .db-design-grid { grid-template-columns: 1fr; min-height: auto; }
  .db-design-left { grid-template-rows: auto auto; }
  .db-design-left-image { aspect-ratio: 4 / 3; }
  .db-design-right { aspect-ratio: 4 / 3; }
  .db-design-text { padding: 3rem 1.5rem; }

  .db-logos { padding: 4rem 1rem; }
  .db-logos__grid { grid-template-columns: repeat(3, 1fr); }
  .db-logo-tile { padding: 2rem 1.25rem; gap: 1.5rem; }
  .db-logo-tile img { max-height: 110px; }

  .db-close { min-height: auto; }
  .db-close img { min-height: 50vw; }
}

@media (max-width: 480px) {
  .db-logos { padding: 3rem 0.75rem; }
  .db-logos__inner .p-rule { margin-bottom: 2rem; }
  .db-logos__grid { grid-template-columns: repeat(3, 1fr); }
  .db-logo-tile { padding: 1.5rem 0.75rem; gap: 1.25rem; }
  .db-logo-tile img { max-height: 80px; }
}

/* ============================================================
   THE BRISTOL PROJECT PAGE — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero — dark text panel left, image right ── */
.tb-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}
.tb-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3.5rem;
  gap: 1.25rem;
  background: #16100a;
}
.tb-hero__title {
  font-size: 4.5rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0;
}
.tb-hero__sub {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0;
}
.tb-hero__rule {
  width: 2rem;
  height: 2px;
  background: var(--c-accent);
  border-radius: 1px;
  opacity: 0.7;
}
.tb-hero__desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin: 0;
}
.tb-hero__tags {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  margin: 0;
}
.tb-hero__img {
  overflow: hidden;
}
.tb-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 2: Project Goal — text left, image right ── */
.tb-goal {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-white);
}
.tb-goal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.1rem;
  border-right: 1px solid var(--c-gray-light);
}
.tb-goal__text .s-tags { color: var(--c-accent); }
.tb-goal__img {
  overflow: hidden;
}
.tb-goal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 3: Full-width image break ── */
.tb-break {
  min-height: 60vh;
  overflow: hidden;
}
.tb-break img {
  width: 100%;
  min-height: 60vh;
  object-fit: cover;
  display: block;
}

/* ── Paper-strip separator ── */
.tb-strip {
  width: 100%;
  height: 32px;
  background: #EFE6D8;
  box-shadow:
    inset 0 4px 8px rgba(0, 0, 0, 0.06),
    inset 0 -4px 8px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  .tb-strip { height: 22px; }
}

/* ── Section 4: Design Decisions — dark text left, image right ── */
.tb-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.tb-decisions__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.5rem;
  background: #16100a;
}
.tb-decisions__text .proj-h2 { color: #fff; }
.tb-decisions__text .s-body  { color: rgba(255, 255, 255, 0.65); }
.tb-decisions__img {
  overflow: hidden;
}
.tb-decisions__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Section 5: Detail pair — two images ── */
.tb-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 65vh;
}
.tb-pair__img {
  overflow: hidden;
}
.tb-pair__img img {
  width: 100%;
  height: 100%;
  min-height: 65vh;
  object-fit: cover;
  display: block;
}

/* ── Footer tagline ── */
.tb-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 2rem;
  background: #16100a;
}
.tb-footer__icon {
  color: rgba(255, 255, 255, 0.45);
  display: block;
  flex-shrink: 0;
}
.tb-footer__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* ── Bristol responsive ── */
@media (max-width: 768px) {
  .tb-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .tb-hero__text { padding: 3rem 1.5rem; }
  .tb-hero__title { font-size: 3rem; }
  .tb-hero__img { aspect-ratio: 4 / 3; }

  .tb-goal { grid-template-columns: 1fr; min-height: auto; }
  .tb-goal__text {
    padding: 3rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--c-gray-light);
  }
  .tb-goal__img { aspect-ratio: 4 / 3; }

  .tb-break { min-height: auto; }
  .tb-break img { min-height: 40vw; }

  .tb-decisions { grid-template-columns: 1fr; min-height: auto; }
  .tb-decisions__text { padding: 3rem 1.5rem; }
  .tb-decisions__img { aspect-ratio: 4 / 3; }

  .tb-pair { grid-template-columns: 1fr; min-height: auto; }
  .tb-pair__img { aspect-ratio: 4 / 3; }
  .tb-pair__img img { min-height: auto; }
}

/* ============================================================
   TODOR'S CHAIR — vertical scroll editorial
   ============================================================ */

/* ── Section 1: Hero — full-bleed with title + goal card overlay ── */
.tc-hero {
  position: relative;
  min-height: 90vh;
  overflow: hidden;
}
.tc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-hero__label {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  z-index: 2;
}
.tc-hero__title {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
.tc-hero__sub {
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.3rem 0 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.tc-hero__goal-card {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: min(42%, 520px);
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 2;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.18);
}

/* ── Section 2: Design Decisions — image left, text right ── */
.tc-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
  background: var(--c-white);
}
.tc-decisions__img {
  overflow: hidden;
}
.tc-decisions__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tc-decisions__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3.5rem;
  gap: 1.5rem;
  border-left: 1px solid var(--c-gray-light);
}

/* ── Section 3: Full-width layout image ── */
.tc-layout {
  min-height: 55vh;
  overflow: hidden;
}
.tc-layout img {
  width: 100%;
  min-height: 55vh;
  object-fit: cover;
  display: block;
}

/* ── Section 4: Detail pair ── */
.tc-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
  margin-bottom: 2rem;
}
.tc-pair__img {
  overflow: hidden;
}
.tc-pair__img img {
  width: 100%;
  height: 100%;
  min-height: 60vh;
  object-fit: cover;
  display: block;
}

/* ── Todor's Chair responsive ── */
@media (max-width: 768px) {
  .tc-hero { min-height: 70vh; }
  .tc-hero__title { font-size: 1.5rem; }
  .tc-hero__goal-card {
    width: calc(100% - 3rem);
    bottom: 1.5rem;
    left: 1.5rem;
  }

  .tc-decisions { grid-template-columns: 1fr; min-height: auto; }
  .tc-decisions__img { aspect-ratio: 4 / 3; }
  .tc-decisions__text {
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--c-gray-light);
  }

  .tc-layout { min-height: auto; }
  .tc-layout img { min-height: 40vw; }

  .tc-pair { grid-template-columns: 1fr; min-height: auto; }
  .tc-pair__img { aspect-ratio: 4 / 3; }
  .tc-pair__img img { min-height: auto; }
}

/* ============================================================
   JA — Personal Brand Project Page
   ============================================================ */

/* Pink accent overrides for Ja page */
.ja-hero .p-rule,
.ja-goal .p-rule,
.ja-mockups .p-rule,
.ja-pattern .p-rule,
.ja-decisions .p-rule { background: #e0738a; }

/* ── 1. Hero ── */
.ja-hero {
  position: relative;
  background: linear-gradient(to right, #edf5e7, #fdedf1);
  overflow: hidden;
}
.ja-hero__img {
  width: 100%;
  display: block;
}
.ja-hero__img img {
  width: 100%;
  height: auto;
  display: block;
}
.ja-hero__text {
  position: absolute;
  bottom: 3.5rem;
  left: 3rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.ja-hero__title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.1;
  margin: 0;
}
.ja-hero__sub {
  font-size: 1rem;
  color: var(--c-gray-dark);
  margin: 0;
}
.ja-hero__scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  color: var(--c-gray-mid);
  letter-spacing: 0.04em;
  margin: 1.5rem 0 0;
}
.ja-hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e0738a;
  flex-shrink: 0;
}

/* ── 2. Project Goal ── */
.ja-goal {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  min-height: 60vh;
}
.ja-goal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 4rem 3.5rem;
  background: var(--c-white);
}
.ja-goal__img {
  overflow: hidden;
}
.ja-goal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 3. Mockups ── */
.ja-mockups {
  padding: 4rem 3rem;
  background: var(--c-white);
}
.ja-mockups__header {
  margin-bottom: 2rem;
}
.ja-mockups__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.ja-mockup-img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.ja-mockup-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 4. Pattern / Application ── */
.ja-pattern {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  min-height: 35vh;
  background: var(--c-white);
  border-top: 1px solid var(--c-gray-light);
}
.ja-pattern__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 3rem 3.5rem;
}
.ja-pattern__img {
  overflow: hidden;
}
.ja-pattern__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── 5. Design Decisions ── */
.ja-decisions {
  display: grid;
  grid-template-columns: 1.1fr 3.6fr;
  gap: 3rem;
  padding: 4rem 3rem;
  background: var(--c-off-white);
  align-items: start;
  border-top: 1px solid var(--c-gray-light);
}
.ja-decisions__header {
  padding-top: 0.25rem;
}
.ja-decisions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.ja-decision-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.ja-decision-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
}
.ja-decision-icon--pink  { background: #e0738a; }
.ja-decision-icon--green { background: #82ab3f; }
.ja-decision-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--c-black);
  line-height: 1.35;
  margin: 0;
}
.ja-decision-body {
  font-size: 0.8rem;
  color: var(--c-gray-dark);
  line-height: 1.6;
  margin: 0;
}

/* ── Footer ── */
.ja-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2.5rem 2rem;
  background: #e8a0ab;
}
.ja-footer__logo {
  height: 48px;
  width: auto;
  display: block;
}
.ja-footer__text {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ── Ja responsive ── */
@media (max-width: 768px) {
  .ja-hero__text { bottom: 2rem; left: 1.5rem; }
  .ja-hero__title { font-size: 1.75rem; }

  .ja-goal { grid-template-columns: 1fr; min-height: auto; }
  .ja-goal__text { padding: 3rem 1.5rem; }
  .ja-goal__img { aspect-ratio: 4 / 3; }

  .ja-mockups { padding: 3rem 1.5rem; }
  .ja-mockups__grid { grid-template-columns: repeat(2, 1fr); }

  .ja-pattern { grid-template-columns: 1fr; min-height: auto; }
  .ja-pattern__text { padding: 3rem 1.5rem; }
  .ja-pattern__img { aspect-ratio: 16 / 9; }

  .ja-decisions { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .ja-decisions__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ============================================================
   JA INTRO OVERLAY  (homepage only)
   ============================================================ */
#ja-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: #fdf6f8;
  transition: opacity 0.95s ease, visibility 0.95s ease;
  pointer-events: auto;
  overflow: hidden;
}
#ja-intro.ja-intro--out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ── Phase 1: loading screen ── */
#ja-intro-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  background: #fdf6f8;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
#ja-intro-loader.ja-loader--out {
  opacity: 0;
}
#ja-intro-logo {
  width: 80px;
  height: auto;
  display: block;
  animation: ja-logo-flip 2.8s ease-in-out infinite;
}
@keyframes ja-logo-flip {
  0%   { transform: perspective(300px) rotateY(0deg)   scale(1);    opacity: 1;    }
  45%  { transform: perspective(300px) rotateY(160deg)  scale(1.06); opacity: 0.9;  }
  55%  { transform: perspective(300px) rotateY(200deg)  scale(1.06); opacity: 0.9;  }
  100% { transform: perspective(300px) rotateY(360deg) scale(1);    opacity: 1;    }
}

/* ── Skip button ── */
#ja-intro-skip {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9002;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 100px;
  padding: 0.5rem 1.25rem;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.1);
  transition: opacity 0.2s, transform 0.15s;
}
#ja-intro-skip:hover { opacity: 0.8; transform: scale(0.96); }

/* ── Shape wrapper (image assets floated via JS) ── */
.intro-shape {
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.intro-shape img {
  display: block;
  filter: drop-shadow(0 8px 24px rgba(180, 80, 140, 0.15));
  animation: intro-breathe 6s ease-in-out infinite;
  user-select: none;
  -webkit-user-drag: none;
}
@keyframes intro-breathe {
  0%, 100% { transform: scale(1);    }
  50%       { transform: scale(1.04); }
}
