/* ===================================================================
   Sofiia Arshulik — Portfolio · single stylesheet
   Sections in order:
     1. BASE       — reset, design tokens, typography, shared utilities
     2. COMPONENTS — nav, mobile menu, buttons, footer, lightbox
     3. PAGES      — hero, ZENIT banner, work grid, about, contact,
                     case studies, "also" page, ZENIT gallery
   =================================================================== */

/* ─── SELF-HOSTED FONTS (no third-party requests) ─── */
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/DMSerifDisplay-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/DMSerifDisplay-Italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../assets/fonts/Poppins-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/Poppins-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../assets/fonts/Poppins-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/Poppins-SemiBold.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --warm-white: #fffbf4;
  --near-black: #11120d;
  --crimson: #5b0f18;
  --light-grey: #cfcfd3;
  --mid-grey: #8c8889;
}

body {
  background: var(--warm-white);
  color: var(--near-black);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* scroll-reveal (toggled by JS so no-JS visitors still see content) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}


/* ===================================================================
   COMPONENTS — reusable UI shared across pages
   (navigation, mobile menu, buttons, footer, lightbox)
   =================================================================== */

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  padding: 18px 48px;
  background: rgba(255,251,244,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17,18,13,0.08);
}

.nav-logo {
  font-family: 'DM Serif Display', serif;
  font-size: 17px;
  color: var(--near-black);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  justify-content: flex-end;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--near-black);
  text-decoration: none;
  letter-spacing: 0.03em;
  opacity: 0.78;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--crimson); }

/* Contact CTA pill (nav + mobile menu) */
.nav-cta {
  display: inline-block;
  background: var(--crimson);
  color: var(--warm-white) !important;
  opacity: 1 !important;
  padding: 7px 18px;
  border-radius: 999px;
  transition: background 0.2s, transform 0.2s;
}
.nav-cta:hover {
  background: #470b12;
  transform: translateY(-1px);
}

/* hamburger (mobile only) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  justify-self: end;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--near-black);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile dropdown panel */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding: 80px 24px 28px;
  background: rgba(255,251,244,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17,18,13,0.08);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mobile-menu-links a {
  font-size: 16px;
  color: var(--near-black);
  text-decoration: none;
  letter-spacing: 0.02em;
}

/* "Kontakt" in the mobile menu = plain crimson link, not the desktop pill */
.mobile-menu-links .nav-cta {
  display: inline;
  background-color: transparent !important;
  background-image: none !important;
  color: var(--crimson) !important;
  padding: 0 !important;
  border-radius: 0;
}
.mobile-menu-links .nav-cta:hover {
  opacity: 0.7 !important;
  transform: none;
}
/* nav responsive */
@media (max-width: 768px) {
  nav { padding: 14px 24px; grid-template-columns: 1fr auto; align-items: center; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu { display: block; }
}

/* ─── BUTTON ─── */
.contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  background-color: var(--light-grey);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--near-black);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.contact-btn:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: var(--warm-white);
}
.contact-btn i { font-size: 1.2em; line-height: 1; }
.contact-btn .icofont-instagram { color: var(--crimson); }

/* ─── FOOTER ─── */
footer {
  position: relative;
  z-index: 2;
  background: rgba(255,251,244,0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(17,18,13,0.08);
  padding: 30px 48px;
}

/* footer always uses the stacked, centered layout at every breakpoint */
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 22px;
  text-align: center;
}

.footer-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-sign {
  height: 52px;
  width: auto;
  display: block;
}

.footer-copy {
  font-size: 12px;
  color: var(--mid-grey);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: 18px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  font-size: 13px;
  color: var(--near-black);
  text-decoration: none;
  letter-spacing: 0.03em;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.footer-nav a:hover { opacity: 1; color: var(--crimson); }

@media (max-width: 1024px) {
  footer { padding: 30px 32px; }
}

/* ─── IMAGE LIGHTBOX ─── */
img[data-caption] { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(17,18,13,0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }

.lightbox-figure {
  margin: 0;
  max-width: 92vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.lightbox-caption {
  color: var(--warm-white);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.6;
  text-align: center;
  max-width: 620px;
  opacity: 0.85;
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  color: var(--warm-white);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }


/* ===================================================================
   PAGES — section / page-specific styles
   (hero, ZENIT banner, work grid, about, contact, case studies, also)
   =================================================================== */

/* ─── HERO ─── */
/* full-bleed light background image · dark text · warm-white fade for legibility */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 96px 48px 64px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(17,18,13,0.08);
}

.hero-left {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 600px;
  padding-left: clamp(0px, 4vw, 72px);
}

.hero-name {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--crimson);
  letter-spacing: 0.03em;
  margin-bottom: 8px;
  animation: fadeUp 0.6s ease both 0.1s;
}

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(56px, 7.5vw, 112px);
  line-height: 0.95;
  color: var(--near-black);
  margin-left: -3px;
  animation: fadeUp 0.7s ease both 0.2s;
}

.hero-title em {
  font-style: italic;
  color: var(--crimson);
}

.hero-tagline {
  margin-top: 28px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--near-black);
  opacity: 0.85;
  max-width: 380px;
  animation: fadeUp 0.8s ease both 0.35s;
}

.hero-pills {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  max-width: 580px;
  animation: fadeUp 0.8s ease both 0.45s;
}

.hero-pill {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--near-black);
  background: var(--light-grey);
  border-radius: 999px;
  padding: 8px 16px;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.hero-pill:hover { opacity: 0.78; }

.hero-pill-win {
  color: #fff;
  font-weight: 600;
  background: var(--crimson);
}

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 0;
  animation: fadeUp 0.9s ease both 0.3s;
}

.hero-img-box {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-img-box picture { display: contents; }
.hero-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

/* warm-white fade over the left so the dark headline stays legible */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right,
    rgba(255,251,244,0.95) 0%,
    rgba(255,251,244,0.85) 28%,
    rgba(255,251,244,0.35) 48%,
    rgba(255,251,244,0) 62%);
}

/* ─── ZENIT BANNER ─── */
.zenit-section {
  padding: 40px 48px;
  border-bottom: 1px solid rgba(17,18,13,0.08);
}

.zenit-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 24px rgba(17,18,13,0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zenit-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(17,18,13,0.16);
}

.zenit-img {
  background: #11120d;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.zenit-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.zenit-content {
  background: var(--near-black);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.zenit-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.zenit-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(16px, 2.2vw, 26px);
  color: #fffbf4;
  line-height: 1.25;
}

.zenit-cta {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.zenit-cta::after { content: '→'; font-size: 14px; }

/* ─── WORK ─── */
.work-section { padding: 56px 48px 80px; }

.work-header { margin-bottom: 40px; }

.work-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--near-black);
  margin-bottom: 10px;
}

.work-desc {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--near-black);
  opacity: 0.75;
  line-height: 1.8;
  max-width: 480px;
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: 32px;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.work-card {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: var(--near-black);
  transition: transform 0.3s ease;
  text-decoration: none;
  display: block;
}
.work-card:hover { transform: translateY(-4px); }

.card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(3px) brightness(0.42);
  transform: scale(1.06);
  transition: filter 0.3s ease;
}
.card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work-card:hover .card-bg { filter: blur(2px) brightness(0.52); }

.card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(17,18,13,0.88) 0%, transparent 55%);
}

.card-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-num {
  position: absolute;
  top: 16px; left: 20px;
  z-index: 2;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}

.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.card-tag {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 4px;
}

.card-name {
  font-family: 'DM Serif Display', serif;
  font-size: 18px;
  color: #fffbf4;
  line-height: 1.2;
}

.card-arrow {
  font-size: 16px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  margin-bottom: 2px;
  transition: color 0.2s, transform 0.2s;
}
.work-card:hover .card-arrow { color: rgba(255,255,255,0.7); transform: translateX(3px); }

.card-teaser { border: 1px dashed rgba(255,255,255,0.08); }
.card-teaser .card-name { color: rgba(255,255,255,0.38); }
.card-teaser .card-arrow { color: rgba(255,255,255,0.18); }

.t1 { background: linear-gradient(140deg,#1c1c18,#2c1c0c); }
.t2 { background: linear-gradient(140deg,#10101c,#1c0c2c); }
.t3 { background: linear-gradient(140deg,#0c1c10,#0c1024); }
.t4 { background: linear-gradient(140deg,#1c100c,#2c1614); }
.t5 { background: linear-gradient(140deg,#160e08,#2c1c0a); }

/* ─── ABOUT ─── */
.about-section {
  background: #1a1b16;
  padding: 80px 48px;
}

.about-label {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--warm-white);
  opacity: 1;
  letter-spacing: 0;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: start;
}

.about-text {
  font-size: 14px;
  font-weight: 300;
  line-height: 2;
  color: var(--light-grey);
  opacity: 0.75;
}

.about-photo {
  width: clamp(160px, 18vw, 240px);
  aspect-ratio: 3/4;
  background: #2a2b24;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
}

.skill-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skill-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  flex-shrink: 0;
  letter-spacing: -0.02em;
  background: #08090c;
}

/* Adobe brand-color accents */
.skill-icon--ai { color: #ff9a00; background: #330000; }
.skill-icon--ps { color: #31a8ff; background: #001e36; }
.skill-icon--id { color: #ff3366; background: #2e0014; }
.skill-icon--fi { color: #a259ff; background: #180a2b; }
.skill-icon--cn { color: #00c4cc; background: #05282a; }

.skill-info {
  flex: 1;
}

.skill-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--light-grey);
  margin-bottom: 5px;
  letter-spacing: 0.02em;
}

.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.16);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--warm-white);
  border-radius: 3px;
}

/* ─── CONTACT ─── */
.contact-section {
  position: relative;
  z-index: 2;
  background: transparent;
  padding: 100px 48px 80px;
  text-align: center;
}

.contact-headline {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4.5vw, 64px);
  color: var(--near-black);
  line-height: 1.15;
  margin-bottom: 48px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.contact-headline em {
  font-style: italic;
  color: var(--crimson);
}

/* social icons under the contact button */
.contact-socials {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 38px;
}
.contact-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--warm-white);
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-socials a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(17,18,13,0.14);
}
.contact-socials i {
  font-size: 21px;
  line-height: 1;
}
.contact-socials .icofont-instagram { color: var(--crimson); }
.contact-socials .icofont-linkedin { color: var(--crimson); }
.contact-socials .icofont-ui-email { color: var(--crimson); }

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  .hero { min-height: 88vh; padding: 108px 32px 64px; }

  /* about: text full width on top, photo + skills side by side in one row */
  .about-grid { grid-template-columns: auto 1fr; gap: 40px; }
  .about-text { grid-column: 1 / -1; }
  .about-photo { width: clamp(200px, 28vw, 260px); aspect-ratio: 3/4; margin: 0; }
  .about-section { padding: 64px 32px; }
  .contact-section { padding: 84px 32px; }
}

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  /* portrait hero image: dark scrim + centered white text */
  .hero { align-items: center; text-align: center; padding: 120px 24px 72px; }
  .hero-left { max-width: none; padding-left: 0; align-items: center; }
  .hero-name { color: var(--warm-white); opacity: 0.9; }
  .hero-title { color: var(--warm-white); }
  .hero-title em { color: var(--warm-white); }
  .hero-tagline { text-align: center; color: var(--warm-white); opacity: 0.9; }
  .hero-pills { justify-content: center; max-width: none; }
  .hero-img-box img { object-position: center; }
  .hero::after { background: rgba(17,18,13,0.5); }

  .zenit-section { padding: 28px 24px; }
  .zenit-banner { grid-template-columns: 1fr; }
  .zenit-img { min-height: 80px; }

  .work-section { padding: 40px 24px 60px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { aspect-ratio: 4/3; min-height: 260px; }

  /* about fully stacked on mobile */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-text { grid-column: auto; }
  .about-photo { width: min(90vw, 380px); aspect-ratio: 4/5; margin: 0 auto; }
  .about-photo img { object-position: center top; }
  .about-section { padding: 60px 24px; }
  .contact-section { padding: 72px 24px; }
}

/* ─── CASE STUDY PAGES ─── */
.case-breadcrumb {
  padding: 96px 48px 22px;
  font-size: 13px;
  letter-spacing: 0.03em;
}
.case-breadcrumb a {
  color: var(--crimson);
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.case-breadcrumb a:hover { opacity: 1; }
.case-breadcrumb span { color: var(--mid-grey); }

.case-hero {
  position: relative;
  width: 100%;
  min-height: 62vh;
  background: var(--near-black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.case-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}
.case-hero-title {
  position: relative;
  z-index: 1;
  font-family: 'DM Serif Display', serif;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 1.04;
  color: var(--warm-white);
  padding: 48px;
}

.case-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 48px;
  border-bottom: 1px solid rgba(17,18,13,0.08);
}
.case-meta-item { display: flex; flex-direction: column; gap: 6px; }
.case-meta-item span {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.case-meta-item strong {
  font-size: 14px;
  font-weight: 500;
  color: var(--near-black);
  line-height: 1.5;
}

.case-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 48px 24px;
}
.case-block { margin-bottom: 8px; }
.case-block h2 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--near-black);
  margin-bottom: 16px;
}
.case-block p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--near-black);
  opacity: 0.8;
}

.case-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  align-items: start;
  margin: 36px 0 52px;
}
.case-img {
  border-radius: 4px;
  overflow: hidden;
}
/* preserve full image: scale proportionally, never crop */
.case-img img { width: 100%; height: auto; display: block; }
.case-img.wide { grid-column: 1 / -1; }

.case-next {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 64px 48px;
  border-top: 1px solid rgba(17,18,13,0.08);
  text-decoration: none;
  transition: background 0.2s;
}
.case-next:hover { background: #faf3e6; }
.case-next-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.case-next-name {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 4vw, 44px);
  color: var(--near-black);
  transition: color 0.2s;
}
.case-next:hover .case-next-name { color: var(--crimson); }

@media (max-width: 768px) {
  .case-breadcrumb { padding: 84px 24px 18px; }
  .case-hero { min-height: 48vh; }
  .case-hero-title { padding: 24px; }
  .case-meta { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .case-body { padding: 48px 24px 16px; }
  .case-images { grid-template-columns: 1fr; }
  .case-next { padding: 48px 24px; }
}

/* ─── ALSO PAGE ─── */
.also-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 56px 48px;
  overflow: hidden;
}
.also-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--near-black) url('../assets/images/homepage/collage_contact_section.jpg') center/cover no-repeat;
}
.also-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(17,18,13,0.62);
}
.also-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.also-page-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 6vw, 72px);
  color: var(--warm-white);
  line-height: 1.05;
}
.also-intro {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--warm-white);
  opacity: 0.9;
  max-width: 520px;
  margin-top: 16px;
}

.also-section {
  max-width: 820px;
  margin: 0 auto;
  padding: 44px 48px 0;
  border-top: 1px solid rgba(17,18,13,0.08);
  padding-top: 52px;
}

.also-section .case-img img {
  width: auto;
  max-width: 100%;
  max-height: 380px;
  margin: 0 auto;
}

.case-images.is-column { grid-template-columns: 1fr; }

.case-images.is-row { grid-template-columns: repeat(4, 1fr); }
.also-head { margin-bottom: 22px; }
.also-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(24px, 3.5vw, 40px);
  color: var(--near-black);
  line-height: 1.1;
}
.also-tag {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--crimson);
  margin-top: 8px;
}
.also-text {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--near-black);
  opacity: 0.8;
  max-width: 560px;
  margin-top: 14px;
}
.also-cta {
  background: var(--near-black);
  text-align: center;
  padding: 84px 48px;
  margin-top: 64px;
}
.also-cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(26px, 4vw, 48px);
  color: var(--warm-white);
  margin-bottom: 28px;
}
.also-cta .contact-btn {
  background: var(--warm-white);
  border-color: var(--warm-white);
  color: var(--crimson);
}
.also-cta .contact-btn:hover {
  background: var(--light-grey);
  color: var(--near-black);
}

@media (max-width: 768px) {
  .also-hero { min-height: 42vh; padding: 32px 24px; }
  .also-section { padding: 36px 24px 0; }
  .also-cta { padding: 64px 24px; }
  /* one-row galleries single column on mobile */
  .case-images.is-row { grid-template-columns: 1fr; }
}

.zenit-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 200px 240px;
  grid-template-areas:
    "app plagat"
    "app billboard"
    "folder1 folder2";
  gap: 12px;
  margin: 36px 0 52px;
}
.zg-tile {
  border-radius: 4px;
  overflow: hidden;
}
.zenit-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zg-app { grid-area: app; }
.zg-plagat { grid-area: plagat; }
.zg-billboard { grid-area: billboard; }
.zg-folder1 { grid-area: folder1; }
.zg-folder2 { grid-area: folder2; }

@media (max-width: 768px) {
  /* stack into a single column, each image shown in full (no crop) */
  .zenit-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }
  .zg-tile { grid-area: auto; }
  .zenit-gallery img { height: auto; object-fit: contain; }
}
