/* =========================================================
   PROJECT DETAIL — SHARED CASE STUDY SYSTEM
   First implementation: RENACE.
   ========================================================= */

.project-detail-page {
  background: #fff;
  color: var(--ink);
}

.project-detail-page .motion-lines-canvas {
  z-index: 0;
}

.project-nav,
.case-study {
  position: relative;
  z-index: 2;
}

.project-nav {
  position: fixed;
  z-index: 30;
  inset: 0 0 auto;
  height: 88px;
  padding: 18px var(--page-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(8,8,8,.07);
  backdrop-filter: blur(18px);
}

.project-nav.is-scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: 0 12px 42px rgba(25,8,18,.06);
}

.project-nav__brand img {
  display: block;
  width: clamp(132px, 11vw, 188px);
  height: auto;
}

.project-back {
  padding: 12px 16px;
  font-size: 9px;
  letter-spacing: .14em;
}

.case-study {
  overflow: clip;
}

.case-hero {
  min-height: 100svh;
  padding: clamp(128px, 15vh, 180px) var(--page-pad) 10vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .92fr);
  gap: clamp(44px, 5vw, 86px);
  align-items: center;
}

.case-hero__copy,
.case-hero__visual {
  min-width: 0;
}

.case-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.case-hero__visual {
  position: relative;
  z-index: 1;
}

.case-kicker {
  margin: 0 0 24px;
  color: var(--kraken);
  font-size: 10px;
  letter-spacing: .20em;
}

.case-hero h1,
.case-overview h2,
.manual-header h2,
.case-footer h2 {
  margin: 0;
  font-family: Blacker, Georgia, serif;
  letter-spacing: -.045em;
}

.case-hero h1 {
  max-width: 100%;
  font-size: clamp(78px, 7.6vw, 142px);
  line-height: .76;
  white-space: nowrap;
}

.case-hero h1 span,
.case-overview h2 span,
.manual-header h2 span,
.case-footer h2 span {
  color: var(--kraken);
}

.case-lead {
  max-width: 590px;
  margin: 34px 0 0;
  font-family: Arial, sans-serif;
  font-size: clamp(15px,1.35vw,20px);
  line-height: 1.6;
  color: rgba(8,8,8,.70);
}

.case-tags {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags li {
  padding: 10px 12px;
  border: 1px solid rgba(8,8,8,.18);
  border-radius: 999px;
  background: transparent;
  font-size: 9px;
  letter-spacing: .10em;
}

.case-hero__visual {
  min-height: min(72vh,760px);
  padding: clamp(32px,5.5vw,88px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(8,8,8,.08);
  border-radius: clamp(24px,3vw,48px);
  background: rgba(255,255,255,.72);
  box-shadow: 0 28px 90px rgba(35,10,27,.08);
}

.case-hero__visual img {
  display: block;
  width: min(76%, 560px);
  max-width: 100%;
  max-height: min(56vh, 590px);
  height: auto;
  object-fit: contain;
}

.case-overview {
  padding: clamp(90px,14vh,180px) var(--page-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px,8vw,130px);
  align-items: start;
  border-top: 1px solid rgba(8,8,8,.08);
}

.case-overview h2,
.manual-header h2 {
  font-size: clamp(66px,8.5vw,132px);
  line-height: .80;
}

.case-overview__body {
  max-width: 680px;
  padding-top: 4px;
}

.case-overview__body > p {
  margin: 0 0 24px;
  font-family: Arial, sans-serif;
  font-size: clamp(15px,1.35vw,20px);
  line-height: 1.68;
  color: rgba(8,8,8,.72);
}

.case-facts {
  margin: 46px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(8,8,8,.14);
}

.case-facts div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(8,8,8,.14);
}

.case-facts dt {
  color: var(--kraken);
  font-size: 9px;
  letter-spacing: .16em;
}

.case-facts dd {
  margin: 0;
  font-size: 11px;
  letter-spacing: .04em;
}

.manual-section {
  padding: clamp(90px,14vh,180px) var(--page-pad);
  border-top: 1px solid rgba(8,8,8,.08);
}

.manual-header {
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: clamp(42px,7vw,100px);
  align-items: end;
  margin-bottom: clamp(64px,10vh,120px);
}

.manual-header > p {
  margin: 0 0 10px;
  max-width: 520px;
  font-family: Arial, sans-serif;
  font-size: clamp(14px,1.2vw,18px);
  line-height: 1.65;
  color: rgba(8,8,8,.68);
}

.manual-gallery {
  width: min(100%, 1420px);
  margin: 0 auto;
  display: grid;
  gap: clamp(44px,8vh,96px);
}

.manual-page {
  margin: 0;
}

.manual-page img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(8,8,8,.07);
  border-radius: clamp(12px,1.5vw,22px);
  background: #f1f1f1;
  box-shadow: 0 28px 72px rgba(34,15,27,.08);
}

.manual-page figcaption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(8,8,8,.55);
  font-size: 9px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.manual-page figcaption span {
  color: var(--kraken);
}

.manual-page figcaption strong {
  font-weight: 700;
  text-align: right;
}

.case-footer {
  min-height: 86svh;
  padding: 14vh var(--page-pad);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  border-top: 1px solid rgba(8,8,8,.08);
}

.case-footer h2 {
  font-size: clamp(72px,10vw,162px);
  line-height: .77;
}

.case-footer__button {
  margin-top: 52px;
  padding: 15px 19px;
  font-size: 10px;
  letter-spacing: .13em;
}

@media (max-width: 980px) {
  .case-hero {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .case-hero__visual {
    min-height: auto;
  }

  .case-hero h1 {
    font-size: clamp(76px, 14vw, 126px);
    white-space: normal;
  }

  .case-hero__copy {
    max-width: 760px;
  }

  .case-overview,
  .manual-header {
    grid-template-columns: 1fr;
  }

  .case-overview__body {
    max-width: 760px;
  }
}

@media (max-width: 620px) {
  .project-nav {
    height: 74px;
    padding: 14px 18px;
  }

  .project-nav__brand img {
    width: 132px;
  }

  .project-back {
    padding: 10px 12px;
    font-size: 8px;
  }

  .case-hero {
    min-height: auto;
    padding: 112px 18px 72px;
    gap: 34px;
  }

  .case-hero h1 {
    font-size: clamp(64px,21vw,100px);
    white-space: normal;
  }

  .case-hero__visual {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .case-hero__visual img {
    width: min(72%, 440px);
    max-height: 48svh;
  }

  .case-overview,
  .manual-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-overview h2,
  .manual-header h2 {
    font-size: clamp(54px,17vw,82px);
  }

  .case-facts div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .manual-page figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .manual-page figcaption strong {
    text-align: left;
  }

  .case-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .case-footer h2 {
    font-size: clamp(62px,18vw,94px);
  }
}



/* =========================================================
   BIRRIERÍA EL NORTEÑO — CASE STUDY
   Full food photography session + advertising/social content.
   ========================================================= */

.birria-case-title {
  white-space: normal !important;
  font-size: clamp(66px, 6.6vw, 122px) !important;
  line-height: .80 !important;
}

.birria-case-hero__visual {
  padding: clamp(18px, 2.5vw, 36px);
  background: rgba(255,255,255,.78);
}

.birria-case-hero__visual img {
  width: 100%;
  max-width: 560px;
  max-height: min(68vh, 720px);
  border-radius: clamp(18px, 2vw, 30px);
  object-fit: cover;
  box-shadow: 0 24px 60px rgba(30,10,22,.10);
}

.media-section {
  padding: clamp(90px, 14vh, 180px) var(--page-pad);
  border-top: 1px solid rgba(8,8,8,.08);
}

.media-section--campaigns {
  padding-top: clamp(110px, 16vh, 200px);
}

.media-header {
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: end;
  margin-bottom: clamp(58px, 9vh, 108px);
}

.media-header h2 {
  margin: 0;
  font-family: Blacker, Georgia, serif;
  font-size: clamp(66px, 8.5vw, 132px);
  line-height: .80;
  letter-spacing: -.045em;
}

.media-header h2 span {
  color: var(--kraken);
}

.media-header > p {
  margin: 0 0 10px;
  max-width: 540px;
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.65;
  color: rgba(8,8,8,.68);
}

.media-grid {
  width: min(100%, 1480px);
  margin: 0 auto;
  display: grid;
  gap: clamp(16px, 2vw, 30px);
}

.media-grid--photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-grid--campaigns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  min-width: 0;
  margin: 0;
}

.media-card img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(8,8,8,.07);
  border-radius: clamp(14px, 1.4vw, 22px);
  background: rgba(255,255,255,.76);
  box-shadow: 0 20px 52px rgba(34,15,27,.07);
  transition:
    transform .42s cubic-bezier(.2,.7,.2,1),
    box-shadow .42s ease;
}

.media-card:hover img {
  transform: translateY(-5px) scale(1.008);
  box-shadow: 0 30px 72px rgba(34,15,27,.12);
}

.media-card figcaption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: rgba(8,8,8,.56);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.media-card figcaption span {
  flex: 0 0 auto;
  color: var(--kraken);
}

.media-card figcaption strong {
  font-weight: 700;
  text-align: right;
}

/* Editorial rhythm for the photography session. */
.media-grid--photos .media-card:nth-child(4n + 1) {
  margin-top: clamp(0px, 2vw, 28px);
}

.media-grid--photos .media-card:nth-child(4n + 3) {
  margin-top: clamp(22px, 5vw, 68px);
}

/* Campaigns stay more systematic, like a social-media wall. */
.media-grid--campaigns .media-card img {
  background: #f3f0f2;
}

@media (max-width: 1000px) {
  .birria-case-title {
    font-size: clamp(60px, 11vw, 104px) !important;
  }

  .media-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .media-grid--photos,
  .media-grid--campaigns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid--photos .media-card {
    margin-top: 0 !important;
  }
}

@media (max-width: 600px) {
  .birria-case-title {
    font-size: clamp(52px, 16vw, 78px) !important;
  }

  .birria-case-hero__visual {
    padding: 14px;
  }

  .birria-case-hero__visual img {
    width: 100%;
    max-height: 58svh;
  }

  .media-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .media-header h2 {
    font-size: clamp(54px, 16vw, 82px);
  }

  .media-grid--photos,
  .media-grid--campaigns {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .media-card figcaption {
    font-size: 7px;
  }
}


/* =========================================================
   BIRRIERÍA EL NORTEÑO — SOCIAL LINKS
   Official Facebook / Instagram glyphs as inline SVG.
   Outline at rest -> Kraken Magenta on hover/focus.
   ========================================================= */
.case-social {
  margin-top: clamp(28px, 4vh, 42px);
}

.case-social__label {
  margin: 0 0 12px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .18em;
  color: rgba(8,8,8,.52);
}

.case-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(8,8,8,.72);
  border-radius: 999px;
  background: transparent;
  color: #080808;
  text-decoration: none;
  overflow: hidden;
  transition:
    transform .28s cubic-bezier(.2,.7,.2,1),
    background-color .28s ease,
    border-color .28s ease,
    color .28s ease,
    box-shadow .28s ease;
}

.social-link__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.social-link__text {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}

.social-link__arrow {
  display: inline-block;
  font-size: 13px;
  transition: transform .28s cubic-bezier(.2,.7,.2,1);
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--kraken);
  background: var(--kraken);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(220,31,116,.20);
}

.social-link:hover .social-link__text,
.social-link:focus-visible .social-link__text {
  transform: scale(1.08);
}

.social-link:hover .social-link__arrow,
.social-link:focus-visible .social-link__arrow {
  transform: translate(2px,-2px) scale(1.08);
}

.social-link:active {
  transform: translateY(0) scale(.985);
}

@media (max-width: 600px) {
  .case-social__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .social-link {
    width: 100%;
    padding-inline: 12px;
  }
}

@media (max-width: 390px) {
  .case-social__links {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   DRA. ALEJANDRA MICELI — CASE STUDY
   Advertising design / photography / social content.
   ========================================================= */
.miceli-case-title {
  white-space: normal !important;
  font-size: clamp(58px, 5.8vw, 108px) !important;
  line-height: .82 !important;
}

.miceli-case-hero__visual {
  padding: clamp(18px, 2.4vw, 34px);
  background: rgba(255,255,255,.78);
}

.miceli-case-hero__visual img {
  width: auto;
  max-width: min(100%, 540px);
  max-height: min(68vh, 720px);
  height: auto;
  border-radius: clamp(16px, 1.7vw, 26px);
  object-fit: contain;
  box-shadow: 0 24px 60px rgba(30,10,22,.10);
}


.media-grid--miceli {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.media-grid--miceli .media-card:nth-child(3n + 2) {
  margin-top: clamp(20px, 4vw, 54px);
}

.media-grid--miceli .media-card img {
  object-fit: contain;
}

@media (max-width: 1000px) {
  .miceli-case-title {
    font-size: clamp(54px, 10vw, 94px) !important;
  }

  .media-grid--miceli {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .media-grid--miceli .media-card {
    margin-top: 0 !important;
  }
}

@media (max-width: 600px) {
  .miceli-case-title {
    font-size: clamp(48px, 14vw, 72px) !important;
  }

  .miceli-case-hero__visual {
    padding: 14px;
  }

  .media-grid--miceli {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   DRA. ALEJANDRA MICELI — OVERVIEW LOGO
   The transparent logo now lives in the unused left-side space
   of THE PROJECT. It no longer shares a layer with oversized text.
   ========================================================= */
.miceli-overview-logo {
  width: min(100%, 610px);
  margin: clamp(42px, 6vh, 78px) 0 0;
  padding: clamp(26px, 3.2vw, 46px);
  display: grid;
  place-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(8,8,8,.08);
  border-radius: clamp(20px, 2.6vw, 38px);
  background: rgba(255,255,255,.74);
  box-shadow: 0 24px 70px rgba(35,10,27,.06);
}

.miceli-overview-logo img {
  display: block;
  width: min(92%, 520px);
  max-width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: contain;
}

.miceli-overview-logo figcaption {
  width: 100%;
  margin: 0;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .10em;
  text-align: center;
  text-transform: uppercase;
  color: rgba(8,8,8,.52);
}

@media (max-width: 1000px) {
  .miceli-overview-logo {
    width: min(100%, 620px);
    margin-top: 36px;
  }

  .miceli-overview-logo img {
    width: min(82%, 500px);
    max-height: 190px;
  }
}

@media (max-width: 600px) {
  .miceli-overview-logo {
    width: 100%;
    margin-top: 30px;
    padding: 24px 18px;
    border-radius: 20px;
  }

  .miceli-overview-logo img {
    width: min(90%, 420px);
    max-height: 160px;
  }
}


/* =========================================================
   RESTAURANTS — COLLECTION CASE STUDY
   Strict grid separation keeps every image out of text layers.
   ========================================================= */
.restaurants-case-title {
  white-space: normal !important;
  font-size: clamp(70px, 7.2vw, 134px) !important;
  line-height: .75 !important;
}

.restaurants-case-hero__visual {
  padding: clamp(14px, 2vw, 28px);
  background: #171717;
}

.restaurants-case-hero__visual img {
  width: 100%;
  max-width: none;
  max-height: min(70vh, 760px);
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: clamp(16px, 1.8vw, 28px);
}

.restaurant-jump-nav {
  margin-top: clamp(30px, 4vh, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.restaurant-jump-nav .brand-button {
  padding: 11px 14px;
  font-size: 8px;
  letter-spacing: .10em;
}

.restaurant-brand {
  padding: clamp(100px, 15vh, 190px) var(--page-pad);
  border-top: 1px solid rgba(8,8,8,.08);
  scroll-margin-top: 90px;
}

.restaurant-brand__intro {
  width: min(100%, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.restaurant-brand__intro--reverse .restaurant-brand__copy {
  order: 2;
}

.restaurant-brand__intro--reverse .restaurant-brand__logo {
  order: 1;
}

.restaurant-brand__copy {
  min-width: 0;
}

.restaurant-brand__copy h2 {
  margin: 0;
  font-family: Blacker, Georgia, serif;
  font-size: clamp(68px, 8vw, 132px);
  line-height: .78;
  letter-spacing: -.045em;
}

.restaurant-brand__copy h2 span,
.restaurant-subhead h3 span {
  color: var(--kraken);
}

.restaurant-brand__copy > p:not(.case-kicker) {
  max-width: 640px;
  margin: 32px 0 0;
  color: rgba(8,8,8,.70);
  font-family: Arial, sans-serif;
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.68;
}

.restaurant-brand__logo {
  min-width: 0;
  min-height: min(62vh, 650px);
  margin: 0;
  padding: clamp(28px, 4vw, 62px);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(8,8,8,.08);
  border-radius: clamp(22px, 3vw, 44px);
  background: rgba(255,255,255,.80);
  box-shadow: 0 26px 76px rgba(34,15,27,.07);
}

.restaurant-brand__logo img {
  display: block;
  width: min(88%, 680px);
  max-width: 100%;
  max-height: min(50vh, 520px);
  height: auto;
  object-fit: contain;
}

.restaurant-brand__logo figcaption {
  margin: 0;
  font-size: 8px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(8,8,8,.48);
}

.restaurant-brand__logo--redhouse,
.restaurant-brand__logo--burger {
  background: #111;
}

.restaurant-brand__logo--redhouse figcaption,
.restaurant-brand__logo--burger figcaption {
  color: rgba(255,255,255,.66);
}

.restaurant-gallery {
  width: min(100%, 1500px);
  margin: clamp(70px, 10vh, 120px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  align-items: start;
}

.restaurant-gallery--underdogs,
.restaurant-gallery--brand-assets {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.restaurant-gallery--redhouse {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restaurant-gallery--photos {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.restaurant-media-card {
  min-width: 0;
  margin: 0;
}

.restaurant-media-card img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  border: 1px solid rgba(8,8,8,.07);
  border-radius: clamp(14px, 1.5vw, 22px);
  background: rgba(255,255,255,.80);
  box-shadow: 0 20px 54px rgba(34,15,27,.07);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease;
}

.restaurant-gallery--photos .restaurant-media-card img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.restaurant-gallery--photos .restaurant-media-card:nth-child(5n + 2) {
  margin-top: clamp(16px, 3vw, 44px);
}

.restaurant-media-card:hover img {
  transform: translateY(-5px) scale(1.006);
  box-shadow: 0 30px 74px rgba(34,15,27,.12);
}

.restaurant-media-card figcaption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(8,8,8,.56);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.restaurant-media-card figcaption span {
  color: var(--kraken);
  flex: 0 0 auto;
}

.restaurant-media-card figcaption strong {
  text-align: right;
}

.restaurant-subhead {
  width: min(100%, 1500px);
  margin: clamp(110px, 16vh, 190px) auto 0;
  display: grid;
  grid-template-columns: 1.1fr .55fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: end;
}

.restaurant-subhead--photos {
  margin-top: clamp(130px, 18vh, 220px);
}

.restaurant-subhead h3 {
  margin: 0;
  font-family: Blacker, Georgia, serif;
  font-size: clamp(64px, 8vw, 128px);
  line-height: .79;
  letter-spacing: -.045em;
}

.restaurant-subhead > p {
  margin: 0 0 10px;
  max-width: 520px;
  font-family: Arial, sans-serif;
  font-size: clamp(14px,1.2vw,18px);
  line-height: 1.65;
  color: rgba(8,8,8,.68);
}

@media (max-width: 1000px) {
  .restaurants-case-title {
    font-size: clamp(66px, 13vw, 112px) !important;
  }

  .restaurant-brand__intro,
  .restaurant-subhead {
    grid-template-columns: 1fr;
  }

  .restaurant-brand__intro--reverse .restaurant-brand__copy,
  .restaurant-brand__intro--reverse .restaurant-brand__logo {
    order: initial;
  }

  .restaurant-brand__logo {
    min-height: auto;
  }

  .restaurant-gallery,
  .restaurant-gallery--redhouse,
  .restaurant-gallery--photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .restaurant-gallery--photos .restaurant-media-card {
    margin-top: 0 !important;
  }
}

@media (max-width: 620px) {
  .restaurants-case-title {
    font-size: clamp(58px, 18vw, 84px) !important;
  }

  .restaurants-case-hero__visual img {
    min-height: 300px;
    max-height: 54svh;
  }

  .restaurant-jump-nav {
    display: grid;
    grid-template-columns: 1fr;
  }

  .restaurant-jump-nav .brand-button {
    width: 100%;
    justify-content: space-between;
  }

  .restaurant-brand {
    padding-left: 16px;
    padding-right: 16px;
  }

  .restaurant-brand__copy h2,
  .restaurant-subhead h3 {
    font-size: clamp(52px, 16vw, 78px);
  }

  .restaurant-brand__logo {
    padding: 24px 18px;
    border-radius: 20px;
  }

  .restaurant-brand__logo img {
    width: min(92%, 560px);
    max-height: 44svh;
  }

  .restaurant-gallery,
  .restaurant-gallery--underdogs,
  .restaurant-gallery--redhouse,
  .restaurant-gallery--brand-assets,
  .restaurant-gallery--photos {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .restaurant-gallery--photos .restaurant-media-card img {
    aspect-ratio: auto;
    object-fit: contain;
  }
}


/* =========================================================
   STREAMING — DICK GREYSON + OSCAAR MAYHEM
   Strict safe-space system: text and media live in independent
   grid columns, every media container clips its own content,
   and no decorative element is positioned over readable copy.
   ========================================================= */
.streaming-case-title { white-space: normal !important; font-size: clamp(70px, 7.4vw, 132px) !important; line-height: .76 !important; }
.streaming-case-hero { grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); }
.streaming-case-hero__visual { min-height: min(70vh, 720px); padding: clamp(14px, 2vw, 28px); background: #0b0b0d; }
.streaming-case-hero__visual img { width: auto; max-width: min(100%, 470px); max-height: min(64vh, 660px); height: auto; object-fit: contain; }
.stream-jump-nav { margin-top: clamp(30px, 4vh, 44px); display: flex; flex-wrap: wrap; gap: 9px; }
.stream-jump-nav .brand-button { padding: 11px 14px; font-size: 8px; letter-spacing: .10em; }
.stream-brand { padding: clamp(110px, 16vh, 200px) var(--page-pad); border-top: 1px solid rgba(8,8,8,.08); scroll-margin-top: 90px; }
.stream-brand__intro { width: min(100%, 1500px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: clamp(58px, 8vw, 126px); align-items: center; }
.stream-brand__intro--reverse .stream-brand__copy { order: 2; }
.stream-brand__intro--reverse .stream-brand__visual { order: 1; }
.stream-brand__copy, .stream-brand__visual { min-width: 0; }
.stream-brand__copy { max-width: 690px; }
.stream-brand__copy h2, .stream-subhead h3 { margin: 0; font-family: Blacker, Georgia, serif; letter-spacing: -.045em; }
.stream-brand__copy h2 { font-size: clamp(66px, 7.8vw, 126px); line-height: .78; }
.stream-brand__copy h2 span, .stream-subhead h3 span { color: var(--kraken); }
.stream-brand__copy > p:not(.case-kicker):not(.case-social__label) { max-width: 640px; margin: 32px 0 0; color: rgba(8,8,8,.70); font-family: Arial, sans-serif; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.68; }
.stream-brand__visual { min-height: min(60vh, 630px); margin: 0; padding: clamp(30px, 4.5vw, 70px); display: grid; place-items: center; align-content: center; gap: 18px; overflow: hidden; border: 1px solid rgba(8,8,8,.08); border-radius: clamp(22px, 3vw, 44px); background: rgba(255,255,255,.82); box-shadow: 0 26px 76px rgba(34,15,27,.07); }
.stream-brand__visual--dark { background: #09090b; }
.stream-brand__visual img { display: block; width: min(88%, 700px); max-width: 100%; max-height: min(48vh, 500px); height: auto; object-fit: contain; }
.stream-brand__visual figcaption { margin: 0; font-size: 8px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.64); }
.stream-subhead { width: min(100%, 1500px); margin: clamp(120px, 17vh, 210px) auto 0; display: grid; grid-template-columns: 1.1fr .55fr; gap: clamp(50px, 7vw, 104px); align-items: end; }
.stream-subhead h3 { font-size: clamp(62px, 7.8vw, 124px); line-height: .79; }
.stream-subhead > p { margin: 0 0 10px; max-width: 540px; font-family: Arial, sans-serif; font-size: clamp(14px, 1.2vw, 18px); line-height: 1.65; color: rgba(8,8,8,.68); }
.stream-gallery { width: min(100%, 1500px); margin: clamp(72px, 10vh, 124px) auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 38px); align-items: start; }
.stream-media-card { min-width: 0; margin: 0; }
.stream-media-card img { display: block; width: 100%; height: auto; max-height: 760px; object-fit: contain; border: 1px solid rgba(8,8,8,.07); border-radius: clamp(14px, 1.5vw, 22px); background: #0b0b0d; box-shadow: 0 20px 54px rgba(34,15,27,.07); transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease; }
.stream-media-card:hover img { transform: translateY(-5px) scale(1.006); box-shadow: 0 30px 74px rgba(34,15,27,.12); }
.stream-media-card figcaption { margin-top: 12px; display: flex; justify-content: space-between; gap: 16px; color: rgba(8,8,8,.56); font-size: 8px; line-height: 1.45; letter-spacing: .09em; text-transform: uppercase; }
.stream-media-card figcaption span { color: var(--kraken); flex: 0 0 auto; }
.stream-media-card figcaption strong { text-align: right; }
.platform-link--twitch .social-link__icon, .platform-link--spotify .social-link__icon { width: 19px; height: 19px; }
@media (max-width: 1000px) { .streaming-case-hero, .stream-brand__intro, .stream-subhead { grid-template-columns: 1fr; } .stream-brand__intro--reverse .stream-brand__copy, .stream-brand__intro--reverse .stream-brand__visual { order: initial; } .stream-brand__visual { min-height: auto; } .stream-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .streaming-case-title { font-size: clamp(58px, 18vw, 90px) !important; } .streaming-case-hero__visual { min-height: auto; } .streaming-case-hero__visual img { width: min(86%, 420px); max-height: 58svh; } .stream-brand { padding-left: 18px; padding-right: 18px; } .stream-brand__intro { gap: 40px; } .stream-brand__copy h2, .stream-subhead h3 { font-size: clamp(54px, 16vw, 84px); } .stream-brand__visual { padding: 28px 18px; border-radius: 20px; } .stream-gallery { grid-template-columns: 1fr; gap: 38px; } .stream-media-card figcaption { font-size: 7px; } }


/* =========================================================
   V26 — VIDEO & PRODUCTION CASE STUDY
   Text and media are isolated in independent grid tracks. Video
   frames preserve the source aspect ratio: never cropped, never
   stretched and never overlaid on readable copy.
   ========================================================= */
.video-production-title {
  white-space: normal !important;
  font-size: clamp(62px, 6.7vw, 120px) !important;
  line-height: .77 !important;
}
.video-production-hero {
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
}
.video-production-hero__visual {
  min-height: min(68vh, 720px);
  padding: clamp(12px, 1.6vw, 24px);
  background: #0a0b0d;
}
.video-production-hero__visual img {
  width: 100%;
  max-width: 100%;
  max-height: min(64vh, 680px);
  height: auto;
  object-fit: contain;
  border-radius: clamp(16px, 2vw, 28px);
}
.video-jump-nav {
  margin-top: clamp(30px, 4vh, 46px);
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.video-jump-nav .brand-button {
  padding: 11px 14px;
  font-size: 8px;
  letter-spacing: .10em;
}
.video-case-section {
  padding: clamp(110px, 16vh, 210px) var(--page-pad);
  border-top: 1px solid rgba(8,8,8,.08);
  scroll-margin-top: 90px;
}
.video-case-header {
  width: min(100%, 1500px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .66fr);
  gap: clamp(56px, 8vw, 128px);
  align-items: end;
}
.video-case-header > *,
.video-case-header__copy {
  min-width: 0;
}
.video-case-header h2 {
  margin: 0;
  max-width: 820px;
  font-family: Blacker, Georgia, serif;
  font-size: clamp(64px, 7.7vw, 126px);
  line-height: .79;
  letter-spacing: -.045em;
}
.video-case-header h2 span {
  color: var(--kraken);
}
.video-case-header__copy > p {
  margin: 0;
  max-width: 560px;
  font-family: Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.68;
  color: rgba(8,8,8,.70);
}
.video-case-grid {
  width: min(100%, 1500px);
  margin: clamp(72px, 10vh, 126px) auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 4vw, 68px);
  align-items: start;
}
.video-case-grid--portrait {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.video-case-grid--landscape .video-case-card:first-child {
  grid-column: span 2;
}
.video-case-grid--commercial {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.video-case-card {
  min-width: 0;
  margin: 0;
}
.video-case-frame {
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(8,8,8,.08);
  border-radius: clamp(16px, 2vw, 28px);
  background: #090a0c;
  box-shadow: 0 24px 62px rgba(34,15,27,.08);
}
.video-case-frame video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  background: #090a0c;
}
.video-case-grid--portrait .video-case-frame video {
  max-height: min(76vh, 820px);
}
.video-case-card figcaption {
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  align-items: baseline;
  color: rgba(8,8,8,.58);
  font-size: 8px;
  line-height: 1.45;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.video-case-card figcaption span {
  grid-row: span 2;
  color: var(--kraken);
}
.video-case-card figcaption strong {
  color: rgba(8,8,8,.82);
  text-align: left;
}
.video-case-card figcaption em {
  font-style: normal;
}
@media (max-width: 1080px) {
  .video-production-hero,
  .video-case-header {
    grid-template-columns: 1fr;
  }
  .video-production-hero__visual {
    min-height: auto;
  }
  .video-case-grid--portrait {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .video-production-title {
    font-size: clamp(54px, 16vw, 82px) !important;
  }
  .video-production-hero__visual {
    padding: 10px;
    border-radius: 20px;
  }
  .video-jump-nav {
    display: grid;
    grid-template-columns: 1fr;
  }
  .video-jump-nav .brand-button {
    width: 100%;
    justify-content: space-between;
  }
  .video-case-section {
    padding-left: 18px;
    padding-right: 18px;
  }
  .video-case-header {
    gap: 38px;
  }
  .video-case-header h2 {
    font-size: clamp(52px, 16vw, 82px);
  }
  .video-case-grid,
  .video-case-grid--portrait,
  .video-case-grid--commercial {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .video-case-grid--landscape .video-case-card:first-child {
    grid-column: auto;
  }
  .video-case-frame {
    border-radius: 18px;
  }
  .video-case-frame video {
    max-height: 74svh;
  }
}
