/* 
 * Priest Group Studios - Main Stylesheet
 * Contains global custom properties, reset, typography, layout, and component styles.
 */

/* =========================================================================
   1. FONTS
   ========================================================================= */

/* Suisse Intl */
@font-face {
  font-family: "Suisse Intl";
  src:
    url("fonts/SuisseIntl-Light.woff2") format("woff2"),
    url("fonts/SuisseIntl-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src:
    url("fonts/SuisseIntl-Regular.woff2") format("woff2"),
    url("fonts/SuisseIntl-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src:
    url("fonts/SuisseIntl-Medium.woff2") format("woff2"),
    url("fonts/SuisseIntl-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src:
    url("fonts/SuisseIntl-Bold.woff2") format("woff2"),
    url("fonts/SuisseIntl-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.topbar-brand a {
  margin: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
  line-height: 43.48px;
  letter-spacing: -1px;
  text-transform: capitalize;
}

a {
  text-decoration: none;
  color: inherit;
}

p {

  letter-spacing: -0.68px;
}

/* ######################################
   2. CSS VARIABLES */
:root {
  --bg: #000;
  --fg: #fff;
  --fade-duration: 1900ms;
  --frame-first-fade: 320ms;
  --frame-first-hold: 0ms;
  --frame-hold: 2400ms;
  --header-pad-y: clamp(0.9rem, 1.2vw, 1.25rem);
  --header-pad-x: clamp(1.25rem, 2vw, 2rem);
  --fs-body: var(--type-body);
  --fs-kicker: var(--type-label);
  --fs-lead: var(--type-lead);
  --fs-hero: var(--type-display);
  --fs-subhead: var(--type-h3);
  --ui-font-size: var(--type-small);
  --toggle-size: clamp(1.4rem, 1.3vw, 1.8rem);
  --menu-primary-size: var(--type-display);
  --menu-secondary-size: var(--type-h3);
  --menu-brand-size: var(--type-h2);
  --font-family: var(--font-body);
  --type-body: 20px;
}

.mt0 {
  margin-top: 0;
}

.h0 {
  font-weight: var(--weight-medium);
  font-size: var(--type-h1);
  letter-spacing: var(--track-tight);
  text-transform: var(--case-capitalize);
}

.h1 {
  font-weight: var(--weight-medium);
  font-size: 42px;
  letter-spacing: var(--track-tight);
  text-transform: var(--case-capitalize);
}

.h2 {
  font-weight: var(--weight-regular);
  font-size: var(--type-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

.h3 {
  font-weight: var(--weight-regular);
  font-size: var(--type-h3);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

/* Home Page Topic  */
.h4 {
  font-weight: var(--weight-regular);
  font-size: var(--type-h4);
  line-height: var(--lh-body);
  letter-spacing: var(--track-none);
}

/* Home Page Circles  */
.h5 {
  font-weight: var(--weight-semibold);
  font-size: var(--type-h3);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

p {
  font-weight: var(--weight-regular);
  font-size: var(--type-body);
  line-height: var(--lh-body);
  letter-spacing: var(--track-tight);
}

a.section-links {
  font-weight: var(--weight-regular);
  font-size: var(--type-small);
  line-height: var(--lh-loose);
  letter-spacing: var(--track-tight);
}

@media screen and (max-width: 700px) {
  :root {
    --header-pad-y: 0.875rem;
    --header-pad-x: 0.875rem;
    --fs-body: var(--type-body);
    --fs-kicker: var(--type-label);
    --fs-lead: var(--type-lead);
    --fs-hero: var(--type-display);
    --fs-subhead: var(--type-h3);
    --ui-font-size: var(--type-small);
    --toggle-size: 1.1rem;
    --menu-primary-size: var(--type-h2);
    --menu-secondary-size: var(--type-h4);
    --menu-brand-size: var(--type-h3);
  }

  .h0,
  .h1 {
    font-weight: var(--weight-medium);
    font-size: var(--type-h1);
    letter-spacing: var(--track-tight);
    text-transform: var(--case-capitalize);
  }

  .h2 {
    font-weight: var(--weight-regular);
    font-size: var(--type-h2);
    line-height: var(--lh-tight);
    letter-spacing: var(--track-tight);
  }

  .h3 {
    font-weight: var(--weight-regular);
    font-size: var(--type-h3);
    line-height: var(--lh-tight);
    letter-spacing: var(--track-tight);
  }

  /* Home Page Topic  */
  .h4 {
    font-weight: var(--weight-regular);
    font-size: var(--type-h4);
    line-height: var(--lh-body);
    letter-spacing: var(--track-none);
  }

  /* Home Page Circles  */
  .h5 {
    font-weight: var(--weight-semibold);
    font-size: var(--type-h3);
    line-height: var(--lh-tight);
    letter-spacing: var(--track-tight);
  }

  p {
    font-weight: var(--weight-regular);
    font-size: var(--type-body);
    line-height: var(--lh-body);
    letter-spacing: var(--track-tight);
  }

  a.section-links {
    font-weight: var(--weight-regular);
    font-size: var(--type-small);
    line-height: var(--lh-loose);
    letter-spacing: var(--track-tight);
  }
}

.h0.page-title {
  margin: 0;
  text-align: left;
}

/* ######################################
   3. GLOBALS & RESETS */
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

/* ######################################
  4. UTILITY MEDIA CLASSES */

@media screen and (min-width: 990px) {
  .tb {
    display: none !important;
  }

  .tb-only {
    display: none !important;
  }

  .mb-only {
    display: none !important;
  }

  .mb {
    display: none !important;
  }

  .ph {
    display: none !important;
  }

  .dt-only-center {
    text-align: center;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .dt-only {
    display: none !important;
  }

  .mb-only {
    display: none !important;
  }

  .ph {
    display: none !important;
  }

  .dt-only-center {
    text-align: left;
  }
}

@media screen and (min-width: 480px) and (max-width: 749px) {
  .dt {
    display: none !important;
  }

  .dt-only {
    display: none !important;
  }

  .tb-only {
    display: none !important;
  }

  .ph {
    display: none !important;
  }

  .mb-only-center {
    text-align: center;
  }
}

@media screen and (max-width: 479px) {
  .dt {
    display: none !important;
  }

  .dt-only {
    display: none !important;
  }

  .tb-only {
    display: none !important;
  }

  .mb-only-center {
    text-align: center;
  }
}

/* ######################################
   5. BASE TYPOGRAPHY & BODY */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-family);
}

body.is-scroll-locked {
  overflow: hidden;
}

/* ######################################
   6. LAYOUT: LANDING & FRAMES */
.landing {
  position: relative;
  min-height: 100svh;
  background: var(--bg);
  overflow: hidden;
}

.frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--motion-frame) var(--ease-in-out);
  background: var(--bg);
}

.frame.is-active {
  opacity: 1;
  pointer-events: auto;
}

.frame.is-active.is-fading-out {
  opacity: 0;
  pointer-events: none;
}

.frame-2 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-center {
  margin: 0;
  text-align: center;
  font-size: var(--fs-intro-logo);
  font-weight: 500;
  line-height: 43.48px;
  letter-spacing: -1px;
  text-transform: capitalize;
}

.frame-3 {
  display: flex;
  flex-direction: column;
}

/* ######################################
   7. TOP NAVIGATION BAR */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: 100%;
  display: flex;
  align-items: center;
  padding: var(--header-pad-y) var(--header-pad-x);
  font-size: var(--type-body);
  letter-spacing: var(--track-normal);
  font-weight: var(--weight-regular);
}

.topbar-toggle {
  border: 0;
  padding: 0;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: var(--toggle-size);
  line-height: var(--lh-solid);
}

body.work .topbar-toggle {
  color: var(--bg);
}

.topbar-toggle:focus-visible,
.menu-close:focus-visible {
  outline: 1px solid var(--fg);
  outline-offset: 6px;
}

.topbar-brand {
  position: absolute;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: var(--weight-medium);
  font-size: var(--type-h3);
  line-height: var(--lh-loose);
  letter-spacing: var(--track-tight);
  text-align: center;
  vertical-align: middle;
  text-transform: var(--case-capitalize);
}

body.work .topbar-brand {
  color: var(--bg);
}

.topbar-time {
  position: absolute;
  top: 50%;
  right: clamp(9rem, 15vw, 18rem);
  transform: translateY(-50%);
  white-space: nowrap;
  display: flex;
  font-size: 16px;
}

body.work .topbar-time {
  color: var(--bg);
}

.topbar-contact {
  margin-left: auto;
  white-space: nowrap;
  font-size: 16px;

}

body.work .topbar-contact {
  color: var(--bg);
}

/* ######################################
   8. HERO SECTION */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease;
  pointer-events: none;
}

.hero-video.is-visible,
.hero-video.is-visible+.hero-video-overlay {
  opacity: 1;
}

.hero-copy {
  position: absolute;
  inset: 0;
  width: 100vw;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  align-items: center;
  justify-items: center;
  gap: 0;
}

.hero-copy h1 {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: var(--fs-intro-display);
  line-height: var(--lh-solid);
  font-weight: var(--weight-medium);
  justify-content: center;
}

.hero-copy h1:last-child {
  font-weight: var(--weight-regular);
}

/* ######################################
   9. FULLSCREEN OVERLAY MENU */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  background: var(--fg);
  padding: var(--header-pad-y) var(--header-pad-x) clamp(1.5rem, 2.2vw, 2.25rem);
  transition: opacity var(--motion-fast) var(--ease-out), visibility var(--motion-fast) var(--ease-out);
  max-width: 510px;
}

body.is-menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-close {
  align-self: flex-start;
  margin: 0;
  border: 0;
  padding: 0;
  color: var(--bg);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: var(--toggle-size);
  line-height: var(--lh-solid);
}

body.work .menu-close {
  color: var(--bg);
}

.menu-nav {
  margin-top: clamp(4.5rem, 9vh, 6.5rem);
}

.menu-primary,
.menu-secondary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.menu-primary {
  gap: 0.25rem;
}

.menu-secondary {
  margin-top: clamp(2.3rem, 4vh, 3.8rem);
  gap: 0.2rem;
}

.menu-overlay a {
  color: var(--bg);
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(16px);
  transform: translateY(var(--motion-y-md));
  transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out);
}

.menu-primary a:nth-child(1) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 0);
}

.menu-primary a:nth-child(2) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 1);
}

.menu-primary a:nth-child(3) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 2);
}

.menu-secondary a:nth-child(1) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 3);
}

.menu-secondary a:nth-child(2) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 4);
}

.menu-secondary a:nth-child(3) {
  --menu-item-delay: calc(var(--stagger-start) + var(--stagger-step) * 5);
}

body.is-menu-open .menu-overlay a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--menu-item-delay, 0ms);
}

.menu-primary a {
  font-size: var(--type-h2);
  letter-spacing: var(--track-normal);
  line-height: var(--lh-solid);
}

.menu-secondary a {
  font-size: var(--type-h4);
  letter-spacing: var(--track-normal);
  line-height: var(--lh-tight);
}

.menu-brand {
  margin: auto 0 0;
  font-size: 16px;
  letter-spacing: var(--track-none);
  font-weight: var(--weight-medium);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: 0ms;
  color: black;

}

body.is-menu-open .menu-brand {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 700ms;
}

/* ######################################
   10. MAIN PAGE CONTENT */
.page-content {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

#about.page-content {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: normal;
  max-width: 70vw;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

#about .model-content {
  max-width: 60vw;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  display: flex;
  flex-direction: row;
}

#more-content {
  min-height: 50svh;
  max-height: 50svh;
  justify-content: space-between;
}

#more-content .page-content-inner {
  min-height: 50svh;
  max-height: 50svh;
  left: calc(50% - 1.25rem);
  width: 100vw;
  position: relative;
  transform: translateX(-50%);
}

@media screen and (max-width: 700px) {
  #more-content .page-content-inner {
    min-height: 450px;
    max-height: 60svh;
    left: 50%;
    width: 100vw;
    position: relative;
    transform: translateX(-50%);
    top: -72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
  }

  #about.page-content>.model-content>* {
    max-width: 90vw;
  }

  #about.page-content {
    max-width: 95vw;
    width: 100%;
  }

  .page-content-inner .h3 {
    font-size: 24.73px !important;
  }

  #about .model-content {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    flex-direction: column;
    max-width: 100%;
  }
}

.page-content-inner {
  width: min(84rem, 100%);
  margin: 0 auto;
  align-self: center;
  text-align: center;
}

@media screen and (min-width: 701px) {
  .page-content-inner {
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

.page-kicker {
  margin: 0;
  font-size: var(--type-label);
  letter-spacing: var(--track-normal);
  font-weight: var(--weight-regular);
  text-transform: var(--case-upper);
}

@media screen and (min-width: 701px) {
  .page-kicker {
    position: absolute;
    top: 2rem;
    left: 2rem;
  }

  .page-content-work .page-kicker {
    top: 1rem;
    left: 1rem;
  }
}

.page-lead {
  margin: 0;
  font-size: var(--type-lead);
  line-height: var(--lh-solid);
  font-weight: var(--weight-regular);
}

.page-lead strong {
  font-weight: var(--weight-bold);
}

.page-cta {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  line-height: var(--lh-solid);
  white-space: nowrap;
}

.page-cta::after {
  content: url("icons/link-icon.svg");
  width: 1.1em;
  height: 1.1em;
  border: 0px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.72em;
}

@media screen and (max-width: 700px) {
  .page-cta::after {
    position: relative;
    top: 2.5px;
    left: 2.5px;
  }
}

/* ######################################
   11. MODEL DIAGRAM SECTION */
.page-content-model {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media screen and (min-width: 701px) {
  .page-content-model {
    min-height: 80svh !important;
    max-height: 80svh !important;
  }
}

.model-content {
  width: min(104rem, 100%);
  margin: 0 auto;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(18rem, 0.88fr) minmax(20rem, 1.12fr);
  align-items: center;
}

#about .model-content {
  width: 100%;
  display: flex;
  align-items: flex-start;
}

@media screen and (min-width: 701px) {
  #business-model .model-content {
    height: 80svh;
  }

  #business-model .business-model {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;

  }
}

.model-copy {
  text-align: left;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.model-lead {
  margin: 0;
  font-size: var(--type-lead);
  line-height: var(--lh-solid);
}

.model-cta {
  margin-top: clamp(1.5rem, 2.6vh, 2.4rem);
}

.model-diagram {
  position: relative;
  width: 100%;
  height: clamp(30rem, 42vw, 47rem);
  overflow: visible;
}

.model-bubble {
  --bubble-scale: 1;
  --bubble-translate-x: 0;
  --bubble-translate-y: 0;
  --bubble-focus-bg: url('img/background.gif') center / cover no-repeat;

  position: absolute;
  width: clamp(15rem, 20vw, 24rem);
  aspect-ratio: 1 / 1;
  /* border: 1px solid rgba(255, 255, 255, 0.38); */
  border: 1px solid rgba(255, 255, 255, 1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 clamp(1.4rem, 1.9vw, 2.4rem);
  text-align: center;
  font-size: var(--type-h3);
  line-height: var(--lh-tight);
  font-weight: var(--weight-medium);
  color: rgba(255, 255, 255, 1);
  background: transparent;

  transform: translate(var(--bubble-translate-x), var(--bubble-translate-y)) scale(var(--bubble-scale));
  cursor: default;

  transition:
    transform var(--motion-slow) var(--ease-out),
    border-color var(--motion-slow) var(--ease-out),
    color var(--motion-slow) var(--ease-out);

  overflow: hidden;
}

.model-bubble h3 {
  font-size: 24px;
}

.model-bubble p {
  font-size: 12px;
  opacity: 0;
  max-height: 0;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition:
    opacity var(--motion-slow) var(--ease-out),
    max-height var(--motion-slow) var(--ease-out),
    margin-top var(--motion-slow) var(--ease-out);
}

@media screen and (max-width: 700px) {
  .model-bubble h3 {
    font-size: 18px;
  }

  .model-bubble p {
    font-size: 14px;
  }
}

/* background layer */
.model-bubble::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--bubble-focus-bg);
  background-size: 170%;
  opacity: 0;
  transition: opacity 0.65s ease;
  z-index: -1;
}

/* keep text above background */
.model-bubble>* {
  position: relative;
  z-index: 1;
}

.bubble-top {
  top: 10%;
  left: 50%;
  --bubble-translate-x: -50%;
}

.bubble-left {
  top: 48%;
  left: 31%;
  --bubble-translate-x: -50%;
}

.bubble-right {
  top: 48%;
  left: 69%;
  --bubble-translate-x: -50%;
}

.model-bubble.is-in-focus {
  --bubble-scale: var(--motion-scale-up);
  border-color: rgba(255, 255, 255, 0.65);
  color: var(--fg);
}

.model-bubble.is-in-focus::before {
  opacity: 0.25;
}

.model-bubble.is-in-focus p {
  opacity: 1;
  max-height: 500px;
  margin-top: 0.5rem;
}

@media (hover: hover) and (pointer: fine) {
  .model-diagram:hover .model-bubble {
    --bubble-scale: var(--motion-scale-down);
    color: rgba(255, 255, 255, var(--motion-dim));
    border-color: rgba(255, 255, 255, var(--motion-dim-border));
  }

  .model-diagram:hover .model-bubble:hover {
    --bubble-scale: 1.08;
    color: var(--fg);
    border-color: rgba(255, 255, 255, 0.96);
  }

  .model-diagram:hover .model-bubble:hover::before {
    opacity: 0.25;
  }

  .model-diagram:hover .model-bubble:hover p {
    opacity: 1;
    max-height: 500px;
    margin-top: 0.5rem;
  }
}

/* ######################################
   12. WORK LOGOS SECTION */
.page-content-work {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  max-height: 60vh;
  min-height: 60vh;
}

.work-hover-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  background-color: #000;
}

.work-hover-bg.is-active {
  opacity: 1;
  visibility: visible;
}

.work-hover-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.page-content-work .page-kicker,
.page-content-work .work-content {
  position: relative;
  z-index: 2;
}

.work-slider-container {
  width: 100vw;
  margin: clamp(2rem, 4vh, 4rem) calc(-1 * var(--header-pad-x)) clamp(4rem, 8vh, 6rem);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  /* Mask edges for a smooth fade effect (removed for full bleed) */
}

.work-slider-container::-webkit-scrollbar {
  display: none;
}

.work-slider-container:active {
  cursor: grabbing;
}

.work-slider {
  display: inline-flex;
  gap: 0;
  padding: 0;
}

.work-slider img {
  height: clamp(20rem, 50vh, 40rem);
  width: auto;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
  pointer-events: none;
}

.work-content {
  width: min(112rem, 100%);
  margin: 0 auto;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media screen and (max-width: 700px) {
  .work-slider {
    display: block;
    gap: 0;
    padding: 0;
  }

  .work-slider img {
    height: auto;
    width: 100%;
  }
}

.work-logos {
  width: 65%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-bottom: 2rem;
}

.work-logo {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1;
}

.logo-yzy {
  font-size: clamp(2.1rem, 3vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-mclaren {
  font-size: clamp(1.8rem, 2.5vw, 3.1rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo-coke {
  font-size: clamp(2.6rem, 3.3vw, 4.9rem);
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  line-height: 0.9;
}

.logo-rhude {
  font-size: clamp(1.9rem, 2.4vw, 3rem);
  letter-spacing: 0.26em;
  font-weight: 500;
}

.logo-westbrook {
  font-size: clamp(1.5rem, 1.8vw, 2.3rem);
  letter-spacing: 0.02em;
  font-weight: 400;
}

.logo-yzy img {
  max-width: 98px;
}

.logo-mclaren img {
  max-width: 180px;
}

.logo-coke img {
  max-width: 140px;
}

.logo-westbrook img {
  max-width: 80px;
}

@media screen and (max-width: 700px) {
  .logo-yzy img {
    max-width: 85px;
  }

  .logo-mclaren img {
    max-width: 180px;
  }

  .logo-coke img {
    max-width: 150px;
  }

  .logo-westbrook img {
    max-width: 100px;
  }
}

/* ######################################
   13. FOOTER SECTION */
.site-footer {
  min-height: 50svh;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(12rem, 0.45fr) minmax(24rem, 1fr);
  align-items: start;
  gap: clamp(2.4rem, 5vw, 5.6rem);
}

.footer-mark {
  margin: 0;
  line-height: 1;
  font-size: 27px !important;
}

.footer-blurb {
  margin: 0;
  max-width: 56rem;
  justify-self: end;
  text-align: right;
  font-weight: 400;
}

.footer-contacts {
  font-size: 13px;
  margin-top: 140px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.2rem, 3vw, 4rem);
}

.footer-contacts p,
.footer-contacts a {
  font-size: 13px !important;
}

@media screen and (min-width: 700px) {
  .footer-contacts .footer-contact:nth-child(2) {
    text-align: center;
  }

  .footer-contacts .footer-contact:nth-child(3) {
    text-align: right;
  }
}

.footer-contact p {
  margin: 0 0 0.35rem;
  font-size: var(--type-body);
  line-height: 1.4;
}

.footer-contact a,
.footer-social a,
.footer-legal a {
  color: var(--fg);
  text-decoration: none;
  font-size: 13px !important;
}

.footer-contact a {
  font-size: var(--type-body);
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.footer-bottom {
  margin-top: 5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.footer-social a {}

.footer-legal {
  display: flex;
  align-items: center;
  gap: clamp(2rem, 3vw, 3.5rem);

}

/* ######################################
   14. REDUCED MOTION ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {

  .menu-overlay a,
  .menu-brand {
    transform: none;
    transition: none;
  }

  body.is-menu-open .menu-overlay a,
  body.is-menu-open .menu-brand {
    transition-delay: 0ms;
  }
}

/* ######################################
   15. MOBILE RESPONSIVE TWEAKS */
@media (max-width: 700px) {

  .topbar {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: var(--header-pad-y) var(--header-pad-x);
    max-width: 100vw;
  }

  .topbar-toggle {
    justify-self: start;
  }

  .topbar-brand {
    position: static;
    margin: 0;
    transform: none;
    justify-self: center;
    font-weight: 500;
    font-size: 17.75px;
    line-height: 29.64px;
    letter-spacing: -0.68px;
    text-align: center;
    vertical-align: middle;
    text-transform: capitalize;
  }

  .topbar-brand a {
    font-size: 17.75px !important;
    line-height: 29.64px;
    letter-spacing: -0.68px;
  }

  body.work .topbar-brand {
    color: var(--bg);
  }

  .topbar-time {
    position: static;
    transform: none;
    margin-left: 0;
    right: auto;
    justify-self: end;
    font-size: 0.78rem;
  }

  .topbar-contact {
    display: none;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1rem;
    width: 100%;
    padding: clamp(4.5rem, 14vh, 6rem) 1rem 1.5rem;
  }

  .hero-copy h1 {
    font-size: var(--type-display);
    line-height: 1.08;
  }

  .menu-nav {
    margin-top: 3rem;
  }

  .menu-secondary {
    margin-top: 2.4rem;
  }

  .page-content {
    min-height: 80svh;
    padding: 2rem 1rem 1.4rem;
    align-content: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  #more-content {
    min-height: 50svh;
    justify-content: space-between;
  }

  .page-content-inner {
    width: 100%;
  }

  .page-kicker {
    font-size: 18px;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
    margin-top: 0rem;
    text-align: left;
    font-weight: 600;
  }

  .page-lead {
    font-size: var(--type-lead);
    line-height: 1.1;
  }

  .page-content:not(#more-content) .page-lead {
    text-align: left;
  }

  .page-cta {
    margin-top: 0;
    font-size: 16px;
    gap: 0.65rem;
    display: block;
  }

  .page-content:not(#more-content) .page-cta {
    text-align: left;
  }

  .page-content-model {
    min-height: auto;
    padding-bottom: 2rem;
  }

  .model-content {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.6rem;
  }

  .model-copy {
    max-width: none;
    text-align: left;
  }

  .model-lead {
    font-size: var(--type-lead);
  }

  .model-diagram {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.4rem 0 0.8rem;
    overflow: visible;
  }

  .model-bubble {
    position: static;
    width: min(78vw, 18.5rem);
    font-size: clamp(0.95rem, 4.2vw, 1.125rem);
    padding: 0 1.1rem;
    margin: 0;
    transform: scale(var(--bubble-scale));
    z-index: 1;
  }

  .model-bubble+.model-bubble {
    margin-top: -10vw;
  }

  .bubble-top {
    --bubble-translate-x: 0;
  }

  .model-bubble.is-in-focus {
    z-index: 4;
  }

  .page-content-work {
    min-height: 85svh;
  }

  .work-content {
    align-items: center;
  }

  .work-logos {
    flex-wrap: wrap;
    flex-direction: column;
    row-gap: 2.35rem;
    column-gap: 1.25rem;
    justify-items: center;
    margin-bottom: 2rem;
    margin-top: 2rem;

  }

  .logo-yzy {
    font-size: 1.8rem;
  }

  .logo-mclaren {
    font-size: 1.45rem;
  }

  .logo-coke {
    grid-column: 1 / -1;
    font-size: 2.25rem;
  }

  .logo-rhude {
    font-size: 1.45rem;
    letter-spacing: 0.16em;
  }

  .logo-westbrook {
    grid-column: 1 / -1;
    font-size: 1.15rem;
  }

  .work-cta {
    margin-top: 1.8rem;
    font-size: var(--type-body);
    text-decoration-thickness: 1px;
  }

  .site-footer {
    min-height: auto;
    height: fit-content;
    padding: 1.6rem 1rem 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-blurb {
    justify-self: start;
    max-width: none;
    text-align: left;
    line-height: 1.12;
  }

  .footer-contacts {
    margin-top: 3rem;
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .footer-contact p,
  .footer-contact a {
    font-size: var(--type-body);
    line-height: 1.25;
  }

  .footer-bottom {
    margin-top: 3rem;
    flex-direction: row;
    align-items: center;
    gap: 3rem;
    justify-content: space-between;
  }

  .footer-social {
    gap: 0.8rem;
  }

  .footer-social a {
    font-size: var(--type-body);
  }

  .footer-legal {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    font-size: 13px;
    flex-wrap: wrap;
    flex-direction: column-reverse;
    align-items: flex-end;
  }
}

/* ######################################
   16. WORK PAGE SECTIONS */
.work-section {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.work-section-yzy {
  position: relative;
  height: 100svh;
  background-color: white;
}

.work-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

@media screen and (min-width: 700px) {
  .work-video-yzy {
    object-fit: contain;
    width: 50%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    /* top: 20vh !important; */
    left: unset;
  }
}

@media screen and (max-width: 700px) {
  .work-video-yzy {
    object-fit: contain;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    bottom: 0;

    /* top: 20vh !important; */
    left: unset;
  }
}

@media screen and (min-width: 700px) {
  .work-section .work-section-content {
    padding-left: 2rem;
    max-width: 50%;
    position: relative;
    left: -30%;
  }
}

@media (max-width: 700px) {
  .work-video-yzy {
    top: 30vh !important;
  }
}

.work-section:not(.work-section-yzy)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.work-section-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 2rem;
}

.work-section-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.work-section-content img {
  width: 140px;
  height: auto;
}

.work-section-yzy img {
  width: 80px;
  height: auto;
}

@media screen and (min-width: 700px) {
  .work-section-content img {
    width: 150px;
  }

  .work-section-yzy img {
    width: 80px;
  }
}

.work-section-yzy .work-section-content h2 {
  color: #000;
}

/* ######################################
   17. VENTURES PAGE SECTIONS */
.venture-section {
  position: relative;
  width: 100%;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.venture-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.venture-section-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  max-width: 60vw;
}

.venture-section:nth-child(3) {
  justify-content: flex-end;
  align-items: flex-end;
}

.venture-section:nth-child(4) {
  justify-content: flex-start;
  align-items: flex-end;
}

.venture-section:nth-child(5) {
  justify-content: flex-end;
  align-items: flex-end;
}

.venture-section:nth-child(6) {
  justify-content: flex-start;
  align-items: flex-end;
}

.venture-section:nth-child(7) {
  justify-content: flex-end;
  align-items: flex-end;
}

@media (min-width: 700px) {
  .venture-uni {
    background-image: url('img/ventures-uni.png');
    background-size: 50%;
    background-position: right bottom;
    background-color: #fff;
  }
}

@media (max-width: 700px) {
  .venture-uni {
    background-image: url('img/ventures-uni.png');
    background-color: #fff;
    background-position: center 115px;
  }
}

.venture-logo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
}

.venture-logo h2 {
  font-size: var(--type-display);
  font-weight: var(--weight-semibold);
  color: #fff;
  margin: 0;
  letter-spacing: var(--track-normal);
  text-transform: var(--case-upper);
  text-align: center;
}

.venture-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  max-width: 80vw;
  margin: 0 auto;
}

.venture-text p {
  color: #fff;
  margin: 0 0 0.75rem 0;
  text-align: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 22.5px;
  letter-spacing: -0.68px;
  vertical-align: bottom;
}

@media screen and (min-width: 700px) {
  .venture-section .venture-logo {
    margin-bottom: 5vw;
  }

}

@media screen and (max-width: 700px) {

  .venture-text p {
    font-size: var(--type-label);
  }

  .venture-text {
    padding-bottom: 1rem;
  }

  .venture-section-not img {
    max-width: 200px;
    height: auto;
  }
}

/* Modifier: Align Right */
.venture-section.align-right .venture-logo,
.venture-section.align-right .venture-text {
  align-items: flex-end;
}

.venture-section.align-right .venture-logo {
  justify-content: flex-end;
}

@media (max-width: 700px) {
  .venture-section .venture-logo {
    margin-bottom: 25vh
  }

  .venture-section-not .venture-logo {
    margin-bottom: 15vh;
  }
}

.venture-section.align-right .venture-text {
  margin-left: auto;
  margin-right: 0;
}

.venture-section.align-right .venture-logo h2,
.venture-section.align-right .venture-text p {
  text-align: right;
}

/* Modifier: Align Left */
.venture-section.align-left .venture-logo,
.venture-section.align-left .venture-text {
  align-items: flex-start;
}

.venture-section.align-left .venture-logo {
  justify-content: flex-start;
}

.venture-section.align-left .venture-text {
  margin-right: auto;
  margin-left: 0;
}

.venture-section.align-left .venture-logo h2,
.venture-section.align-left .venture-text p {
  text-align: left;
}

/* Modifier: Light Theme (Dark Text) */
.venture-section.theme-light .venture-logo h2,
.venture-section.theme-light .venture-text p {
  color: #000;
}

.venture-section.theme-light::after {
  display: none;
  /* remove dark overlay if needed */
}

@media screen and (max-width: 700px) {
  .venture-uni.venture-section .venture-text p {
    color: white;
  }

  .venture-uni.theme-light::after {
    content: " " !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.25);
    position: absolute;
    inset: 0;
    z-index: 1;
  }
}

@media (max-width: 700px) {
  .venture-section-content {
    max-width: 100vw;
    padding: 20px;
    padding-bottom: 0px;
  }

  .venture-section-content p {
    font-weight: 400;
    font-size: 13px;
    line-height: 16.9px;
    letter-spacing: 0px;
    text-align: right;
    vertical-align: bottom;
  }

}

/* ######################################
   18. ADVISORY PAGE SECTIONS */

.page-content-advisory {
  padding-top: 140px;
  padding-bottom: 4rem;
  width: 100%;
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 3rem;
  padding-right: 3rem;
}

.advisory-intro {
  margin-bottom: 8rem;
  max-width: 800px;
}

.advisory-title {
  font-size: 36px !important;
  font-weight: var(--weight-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  margin: 0 0 0.5rem 0;
}

.advisory-subtitle {
  margin: 0;
}

.advisory-section {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #fff;
  padding-top: 1rem;
  padding-bottom: 18vh;
  gap: 2rem;
}

.advisory-section-left {
  flex: 1;
}

.advisory-subtitle {
  font-size: 18px;
}

.advisory-section-left p {
  font-size: 18px;
  line-height: var(--lh-body);
  margin: 0;
}

.advisory-section-right {
  flex: 1;
}

.advisory-heading {
  font-size: 16px;
  margin: 0 0 1rem 0;
}

.advisory-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advisory-list li {
  font-size: 16px;
  line-height: var(--lh-compact);
  margin-bottom: 0.2rem;
}

@media screen and (max-width: 700px) {

  .page-content-advisory {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .advisory-intro {
    margin-bottom: 4rem;
  }

  .advisory-title.h1 {
    font-size: 26px !important;
    line-height: 1.2;
  }

  .advisory-subtitle {
    font-size: 16px;
  }

  .advisory-section {
    padding-bottom: 2rem;
    gap: 1rem;
  }
}

@media screen and (max-width: 700px) {
  .advisory-list {
    list-style: disc;
    padding-left: 1rem;
    margin: 0;
  }
}

@media screen and (min-width: 700px) {
  .advisory-section {
    flex-direction: row;
    justify-content: space-between;
    gap: 4rem;
  }

  .advisory-section-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

/* ######################################
   19. NEW MODEL PAGE SECTIONS */
.page-content-model-new {
  padding-top: calc(var(--header-pad-y) * 2 + 3rem);
  padding-bottom: 4rem;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: 8rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.model-row {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* Orb Row */
@media screen and (min-width: 700px) {
  .model-orb-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
  }

  .page-content-model-new {
    justify-content: center;
  }
}

@media screen and (max-width: 700px) {

  .page-content-model-new {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 2rem;
    min-height: fit-content !important;
    max-height: fit-content !important;
  }

  .page-content-model-new p {
    letter-spacing: -0.59px;
  }
}

.model-orb-text {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.5s forwards;
}

@media screen and (min-width: 700px) {
  .model-orb-text {
    text-align: left;
    margin-bottom: 0;
    flex: 0 0 35%;
    position: absolute;

  }
}

.model-orb-text h2 {
  font-weight: var(--weight-medium);
  margin: 0 0 1rem 0;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

.model-orb-text p {
  margin: 0;
}

/* Orb Visual Container */
.model-orb-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.orb-title {
  font-size: var(--type-body);
  margin-bottom: 5vh;
  margin-top: 0;
  font-weight: var(--weight-medium);
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.orb-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.orb-gif {
  width: 380px;
  border-radius: 50%;
  mix-blend-mode: screen;
  /* Helps if gif has a black background */
}

@media screen and (max-width: 700px) {
  .orb-gif {
    width: 45%;
  }
}

/* Orb Labels and Lines */
.orb-label {
  position: absolute;
  display: flex;
  font-size: var(--type-micro);
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
  width: 150px;
}

@media screen and (max-width: 700px) {
  .orb-label {
    width: 100px;
  }
}

.orb-text {
  opacity: 0.9;
}

.orb-line {
  background-color: rgba(255, 255, 255, 0.5);
}

/* Specific Positions for the 5 labels around the orb */
.label-dist {
  top: 20%;
  left: 0%;
  transform: translateX(-0%) !important;
  flex-direction: column;
  align-items: flex-end;
}

.label-dist .orb-line {
  width: 1px;
  height: 80px;
  transform: rotate(-60deg) !important;
  transform-origin: center;
  margin-top: 8px;
}

.label-brand {
  top: 20%;
  right: 0%;
  transform: translateX(0%) !important;
  flex-direction: column;
  align-items: flex-start;
}

.label-brand .orb-line {
  width: 1px;
  height: 80px;
  transform: rotate(60deg) !important;
  transform-origin: center;
  margin-top: 8px;
}

.label-comm {
  bottom: 20%;
  left: 0%;
  transform: translateX(-0%) !important;
  flex-direction: column;
  align-items: flex-end;
}

.label-comm .orb-line {
  width: 1px;
  height: 80px;
  transform: rotate(60deg) !important;
  transform-origin: center;
  margin-bottom: 8px;
  order: -1;
}

.label-supp {
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%) !important;
  flex-direction: column;
  align-items: center;
}

.label-supp .orb-line {
  width: 1px;
  height: 60px;
  margin-bottom: 8px;
  order: -1;
}

.label-prod {
  bottom: 20%;
  right: 0;
  transform: translateX(0%) !important;
  flex-direction: column;
  align-items: flex-start;
}

.label-prod .orb-line {
  width: 1px;
  height: 80px;
  transform: rotate(-60deg) !important;
  transform-origin: center;
  margin-bottom: 8px;
  order: -1;
}

@media screen and (min-width: 700px) {
  .orb-label {
    flex-direction: row;
    align-items: center;
    width: auto;
  }

  .label-dist {
    top: 25%;
    left: 0%;
    transform: translateX(-50%) !important;
  }

  .label-dist .orb-line {
    width: 60px;
    height: 1px;
    transform: rotate(30deg) !important;
    margin-top: 0;
    margin-left: 12px;
  }

  .label-brand {
    top: 25%;
    right: 0%;
    transform: translateX(50%) !important;
    flex-direction: row-reverse;
  }

  .label-brand .orb-line {
    width: 60px;
    height: 1px;
    transform: rotate(-30deg) !important;
    margin-top: 0;
    margin-right: 12px;
  }

  .label-comm {
    bottom: 25%;
    left: -5%;
    transform: translateX(-50%) !important;
  }

  .label-comm .orb-line {
    width: 60px;
    height: 1px;
    transform: rotate(-30deg) !important;
    margin-bottom: 0;
    margin-left: 12px;
    order: 0;
  }

  /* Supply Chain Infrastructure becomes middle right */
  .label-supp {
    bottom: 50%;
    left: auto;
    right: -15%;
    transform: translateY(50%) translateX(50%) !important;
    flex-direction: row-reverse;
  }

  .label-supp .orb-line {
    width: 60px;
    height: 1px;
    margin-bottom: 0;
    margin-right: 12px;
    order: 0;
  }

  .label-prod {
    bottom: 25%;
    right: -5%;
    transform: translateX(50%) !important;
    flex-direction: row-reverse;
  }

  .label-prod .orb-line {
    width: 60px;
    height: 1px;
    transform: rotate(30deg) !important;
    margin-bottom: 0;
    margin-right: 12px;
    order: 0;
  }
}

@media screen and (max-width: 600px) {
  .orb-label {
    font-size: var(--type-micro);
  }
}

.orb-caption {
  text-align: center;
  font-size: var(--type-body);
  line-height: var(--lh-body);
  margin: 0;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

/* Integration Row */
.model-integration-row {
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

@media screen and (min-width: 700px) {
  .model-integration-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6rem;
  }
}

.integration-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 600px;
}

.integration-left h2 {
  margin: 0 0 1.5rem 0;
}

.integration-desc {
  font-size: var(--type-body);
  line-height: var(--lh-body);
  margin: 0 0 2rem 0;
}

.integration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
  margin-bottom: 4rem;
}

@media screen and (max-width: 700px) {
  .integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 1rem;
    margin-bottom: 1rem !important;
    transform: scale(0.8);
    text-align: center;
    width: 100vw;
    position: relative;
    left: -13px;
  }
}

.grid-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.grid-icon {
  width: 150px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.grid-item p {
  font-size: var(--type-small);
  margin: 0;
  line-height: var(--lh-tight);
  color: #fff;
}

.integration-footer {
  font-size: var(--type-body);
  line-height: var(--lh-body);
  margin: 0;
}

.integration-right {
  flex: 1;
  width: 100%;
  min-height: 400px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners-section {
  display: flex;
  flex-direction: row;
  gap: 12rem;
  align-items: center;
}

.partners-header {
  flex: 60%;
}

@media screen and (min-width: 700px) {
  .short-section {
    max-height: 65vh;
    min-height: 65vh;
  }
}

@media screen and (max-width: 700px) {
  .partners-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .integration-right {
    position: absolute;
    z-index: -1;
  }

  .model-row.model-integration-row {
    min-width: 100vw;
    max-width: 100vw;
    overflow: hidden;
    position: relative;
    left: -1.5rem;
  }

  .model-row.model-integration-row>* {
    padding: 1.5rem;
  }

  .integration-right::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    /* overlay color + opacity */
    pointer-events: none;
    /* overlay doesn't block clicks */
  }

  .integration-right img {
    min-width: 140%;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   NEWS SECTION
   ========================================================================= */
.page-content-news {
  padding-top: 0;
  align-content: center;
  border-bottom: none;
  display: flex;
  align-items: center;
}

.news-container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.news-header {
  font-size: clamp(32px, 4vw, var(--type-h1, 42px));
  font-weight: 500;
  margin-top: 0;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  letter-spacing: -1px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4vw;
}

.news-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  min-width: 0;
}

.news-item:hover {
  opacity: 0.8;
}

.news-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #111;
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-item:hover .news-image {
  transform: scale(1.03);
}

.news-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: -0.5px;
}

.news-meta {
  font-size: 10px;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0px;
}

@media screen and (max-width: 700px) {
  .page-content-news {
    padding-top: 3rem;
  }

  .news-header {
    margin-bottom: 2rem;
  }

  .news-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .news-title {
    font-size: 18px;
  }

  .news-image-wrapper {
    aspect-ratio: 4 / 5;
  }
}