/* XBlack for display */
@font-face {
  font-family: 'Helvetica Now Display';
  src: url('fonts/HelveticaNowDisplayXBlk.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Roman = Regular (400) */
@font-face {
  font-family: 'Helvetica Neue LT Std';
  src: url('fonts/HelveticaNeueLTStd-Roman.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Bold (700) */
@font-face {
  font-family: 'Helvetica Neue LT Std';
  src: url('fonts/HelveticaNeueLTStd-Bd.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

body {
  background: #2a2a2a;
  color: #f4f4f5;
  font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
  font-weight: 400;
  scroll-behavior: smooth;
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
  height: 100vh;
}

/* === TYPOGRAPHIC === */
.emphasis {
  font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.25px;
  color: #2a2a2a;
}
.quote{
  font-style: italic;
  margin-block: .75em;
  padding-left: 1em;
  border-left: 5px solid #00a3e3;
}

/* === HEADER === */
.site-header {
  width: 100%;
  top: 0;
  z-index: 1000;
  background: transparent;
  padding: 16px 24px;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-mini svg {
  width: 40px;
  height: auto;
}

/* === MAIN NAV WITH UNDERLINE SLIDE === */

.main-nav {
  /* existing styles if any */
  position: relative; /* ✅ add this */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}

.main-nav a {
  position: relative;
  color: #f4f4f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: #00a3e3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000; /* Higher than mobile-menu (9999) */
  position: relative; /* Required for z-index to work */
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: #2a2a2a;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

body.home .hamburger span {
  background: #f4f4f5;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.hamburger.open span { background: #f4f4f5; }


/* === MOBILE MENU (Slide Down Animation) === */
.mobile-menu {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease, visibility 0.4s ease;
  background: rgba(0, 0, 0, 0.95);
  position: fixed; /* ⬅️ was absolute */
  inset: 0;
  padding-top: 80px; /* leaves space under header */
  text-align: center;
  z-index: 9999; /* ⬅️ force it on top */
}

.mobile-menu.open {
  max-height: 100vh;
  opacity: 1;
  visibility: visible;
  overflow-y: auto;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu li {
  width: 100%;
  text-align: center;
}

.mobile-menu a {
  display: inline-block; /* 👈 Important: inline-block makes underline fit the label */
  position: relative;
  color: #f4f4f5;
  font-size: 1.5rem;
  text-decoration: none;
  padding: 12px 0;
  transition: color 0.3s ease;
}

.mobile-menu a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #00a3e3;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.mobile-menu a:hover::after {
  transform: scaleX(1);
}

.hamburger:focus-visible { 
  outline: 3px solid #00a3e3; 
  outline-offset: 4px; 
}

.mobile-menu a:focus-visible { 
  outline: 3px solid #00a3e3; 
  outline-offset: 4px; 
}

/* === HERO === */
.hero {
  height: clamp(420px, 80svh, 900px); /* responsive to visible viewport */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 5vw, 64px) 0;
  overflow: hidden;
  position: relative;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 6vw, 40px);
}

.center-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  width: 100%;
}

.logo-container {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 52px);
  max-width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: clamp(100px, 10vw, 200px);
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.6);
  animation: blurScaleIn 1.4s ease-out forwards;
  transform-origin: center center;
}

@keyframes blurScaleIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    filter: blur(4px);
    transform: scale(1.25);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

.logo.fade-out {
  animation: fadeOutUp 1s ease forwards;
}

@keyframes fadeOutUp {
  to {
    opacity: 0;
    transform: translateY(-20px);
    visibility: hidden;
  }
}

.name {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(32px, 10vw, 150px); /* width-based scaling for desktop */
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  border-right: 6px solid transparent;
  padding-bottom: 0.1em;
  line-height: 1.1;
  max-width: 0;
  animation:
    showCursor 0s linear 2s forwards,
    type 2s steps(10) 2s forwards,
    blink 1s step-start 4s 3,
    hideCursor 0.2s linear 7s forwards;
  text-align: left;
  color: #f4f4f5;
}

.name::after {
  content: '';
  display: inline-block;
  width: 0.1em;
  animation: revealSpacer 0s linear 4s forwards;
  opacity: 0;
}

@keyframes revealSpacer {
  to { opacity: 1; }
}

@keyframes type {
  to { max-width: 7.5em; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes showCursor {
  to { border-right-color: #f4f4f5; }
}

@keyframes hideCursor {
  to { border-right-color: transparent; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .hero { 
    height: 100svh;
    align-items: flex-start; 
  }

  .name {
    white-space: normal;   /* allow wrapping in tight space */
    border-right: 0;
    animation: none;       /* pause typing to avoid clipping while wrapped */
    max-width: none;
    text-align: center;
    line-height: 1.05;
  }
}

/* === HER0 SCROLL CUE === */
.scroll-cue {
  /* flowed element under the name */
  position: static;         
  margin-top: clamp(1.25em, 6vh, 4em); 
  text-align: center;
  font-size: 1.25rem;
  color: #ffffff;
  opacity: 0;               
  pointer-events: none;
  transition: opacity 0.6s ease-in;
  font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
}

.scroll-cue.show {
    opacity: 1;
  }

  .scroll-cue .arrow {
    display: inline-block;
    animation: bounce 1.5s infinite;
  }

  @keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
  }

  @media (max-height: 390px) {
    .scroll-cue { display: none; }
  }

/* === SECTIONS === */
.section {
  padding: 60px 24px;
  margin: 0 auto;
}

#creative-entrepreneurship .subhead{
  color: #2a2a2a;
}

.section-inner h2 {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 900;
  margin-bottom: 16px;
  color: #f4f4f5;
}

.section-inner p,
.section-inner a {
  font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #f4f4f5;
  margin-bottom: 1.5em; 
}

/* Inline link underline (non-animated) */
.section-inner a:not(.case-card) {
  text-decoration: underline;
  transition: color 0.3s ease;
}

.section-inner a:hover {
  color: #00a3e3;
}

/* === SOCIAL LINKS === */
.socials {
  margin-top: 16px;
  display: flex;
  gap: 16px;
}

.socials a {
  color: #f4f4f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: #00a3e3;
}

/* === ABOUT SECTION - FLIPPED BACKGROUND === */
#about {
  background: #f4f4f5;
  color: #2a2a2a; 
  padding: clamp(64px, 8vw, 128px) 0;
  width: 100%;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  align-items: center;
}

/* === ABOUT SECTION - INNER CONTENT WRAPPER === */
#about .section-inner, #about .skills-group {
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 64px);
}

/* === ABOUT SECTION - TEXT COLOR FIX === */
#about,
#about h2,
#about h3,
#about p,
#about .skills span {
  color: #2a2a2a !important;  /* Force dark text on light background */
}

#about a,
#about a:visited,
#about a:link, .cs-section a, .cs-section a:visited, .cs-section a:link {
  color: #2a2a2a;
  text-decoration: underline;
  text-decoration-color: #00a3e3;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  transition: background-color 0.25s, color 0.25s;
}

#about a:hover,
#about a:active, .cs-section a:hover, .cs-section a:active {
  color: #2a2a2a;
  background-color: #00a3e3;
  padding-top: 4px;
}

/* === SKILL PILL TAGS === */
.skills span {
  display: inline-flex;             /* Enables flex centering */
  align-items: center;              /* Vertically centers text */
  justify-content: center;          /* Horizontally centers text */
  background: #f4f4f5;
  color: #2a2a2a;
  padding: 10px 18px 8px;                /* Balanced spacing all around */
  border-radius: 999px;
  border: 3px solid #00a3e3;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;                   /* Removes vertical buffer */
  white-space: nowrap;
  text-align: center;
}

/* === SKILL TAG GROUP HEADINGS === */
.skills-group h3 {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: 1.5rem;        /* 20px for clearer section labeling */
  font-weight: 700;          /* Slightly bolder for visibility */
  color: #f4f4f5;
  margin-bottom: 8px;        /* Space before the tags start */
}

/* === SKILL TAG GROUP CONTAINER === */
.skills-group {
  margin-top: .5em;           /* Space above the skills section */
}

/* === SKILL PILL CONTAINER (FLEX WRAP) === */
.skills {
  display: flex;
  flex-wrap: wrap;            /* Allows tag wrapping to new lines */
  gap: 10px;                  /* Space between individual tags */
  margin-bottom: 28px;        /* Space between each category */
}

/* === CASE STUDY LOGO WRAPPER === */
.logo-mini {
  background-color: #2a2a2a;
  padding: 10px 10px 5px 10px;
  border-radius: 7px;
  display: inline-block;
}

/* === CASE STUDIES SECTION === */
#case-studies {
  background-color: #2a2a2a;
  color: #f4f4f5;
   padding: clamp(64px, 8vw, 128px) 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* === CASE STUDIES - INNER WRAPPER === */
#case-studies .section-inner {
  max-width: 1200px;/* Keeps content centered */
  margin: 0 auto;
  padding: 0 clamp(20px, 2vw, 30px);
}

/* === CASE STUDY CARDS === */
.case-study-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  gap: 32px;
  margin-top: 32px;
}

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

.case-card {
  background: #f4f4f5;
  color: #2a2a2a;
  padding: clamp(0.6em, 2vw, 1em);
  border-radius: 15px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border .25s ease;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 0.8s ease forwards;
}

.lightBorder{
  border: 5px solid #f4f4f5;
}

.darkBorder{
  border: 5px solid #2a2a2a;
}

.case-card:hover, .case-card:focus-visible {
  border: 5px solid #00a3e3;
}

.case-card:nth-child(1) {
  animation-delay: 0s;
}
.case-card:nth-child(2) {
  animation-delay: 0.2s;
}
.case-card:nth-child(3) {
  animation-delay: 0.4s;
}
.case-card:nth-child(4) {
  animation-delay: 0.6s;
}

.case-card h3 {
  font-size: 1.5rem;
  font-family: 'Helvetica Now Display', sans-serif;
  margin: 0.75em auto .5em auto;
  color: #2a2a2a;
  transition: color 0.3s ease;
  line-height: 1.1;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s ease;
}

.case-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

.img-border {
  border: 2px solid #666;
}

.case-card:hover h3 {
  text-decoration: underline; /* only underlines text on hover */
  text-decoration-color: #00a3e3;
  text-decoration-thickness: 3px;

}

.case-card p {
  font-size: 1.125rem;
  line-height: 1.4;
  color: #2a2a2a;
  text-decoration: none;
}

.case-card .badge {
  display: inline-block;
  background: #00a3e3;
  color: #2a2a2a;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  padding: 6px 8px 4px;
  border-radius: 6px;
}

.card-cta-dark {
  margin-bottom: .5em;
  margin-top: 0.5em; /* or whatever spacing looks good above it */
  font-weight: 700;
  color: #2a2a2a;
  font-size: .90em;
}

.card-cta-light {
  margin-bottom: .5em;
  margin-top: 0.5em; /* or whatever spacing looks good above it */
  font-weight: 700;
  color: #ffffff;
  font-size: .90em;
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === CASE STUDY PAGE === */
.case-study-page {
  background: #f4f4f5;
  color: #2a2a2a;
  font-family: 'Helvetica Neue LT Std', Helvetica, Arial, sans-serif;
}

/* === CASE STUDY CONTENT WRAPPER === */
.cs-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: clamp(30px, 4vw, 60px) clamp(15px, 4vw, 60px);
  line-height: 1.6;
}

/* === CASE STUDY HEADER === */
.cs-header {
  background: #2a2a2a;
  padding: 64px 24px 32px;
  text-align: left;
  color: #f4f4f5;
}

.cs-container {
  max-width: 1200px;
  margin: 0 auto;
}

.cs-badge {
  display: inline-block;
  background: #00a3e3;
  color: #2a2a2a;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  padding: 6px 10px 4px;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.cs-header h1 {
  font-size: clamp(32px, 5vw, 64px);
  font-family: 'Helvetica Now Display', sans-serif;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: .75em;
}
.cs-header p{
  font-size: 1.4rem;
  color: #fff;
}
.headerLinkSpacing{
  margin-top: .5em;
}

.cs-url {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 500;
  color: #00a3e3;
  text-decoration: underline;
  margin-bottom: 16px;
  transition: color .25s;
}

.cs-url:hover {
  color: #f4f5f5;
}

/* === CASE STUDY ARTICLE === */
.cs-section h1 {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

.cs-section h2 {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 4vw, 36px);
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.cs-section h3 {
  font-family: 'Helvetica Now Display', Helvetica, Arial, sans-serif;
  font-size: clamp(21px, 2vw, 24px);
  margin-top: 1.5em;
  margin-bottom: 0.25em;
  font-weight: 700;
}

.cs-section p {
  font-size: 1.125rem;
  margin-bottom: 1.25em;
  color: #2a2a2a;
}

.cs-section ul {
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.cs-section ol {
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.cs-section ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  font-size: 1.125rem;
  color: #2a2a2a;
}

.cs-section ol li {
  position: relative;
  padding-left: .25em;
  margin-bottom: 0.75em;
  font-size: 1.125rem;
  color: #2a2a2a;
}

.cs-section ol ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.75em;
  font-size: 1.125rem;
  color: #2a2a2a;
}

.cs-section ul li::before {
  content: '➞';
  position: absolute;
  left: 0;
  top: 0.05em;
  color: #2a2a2a;
  font-size: 1.15rem;
  font-weight: bold;
}

/* ----------------------------------------
   MOBILE: Reduce indent for lists in .cs-section
   ---------------------------------------- */
@media (max-width: 768px) {
  .cs-section ul {
    padding-left: 0 !important;
    margin-left: 0;
  }

  .cs-section ol {
    padding-left: 1.25em;
    margin-left: 0;
  }

  .cs-section ul ul,
  .cs-section ul ol,
  .cs-section ol ul,
  .cs-section ol ol {
    padding-left: 0.5em;  /* tighter nesting */
  }
}

.cs-section a.case-study-link {
  font-size: 1.25rem; /* Larger than paragraph, smaller than heading */
  color: #00a3e3;
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 0.5em;
  display: inline-block;
}

/* === RETURN LINK TO INDEX === */
.cs-nav {
  margin-top: 4rem;
  text-align: center;
}

.case-study-page .cs-nav a,
.case-study-page .cs-nav a:visited,
.case-study-page .cs-nav a:link {
  color: #2a2a2a;
  text-decoration: underline;
  text-decoration-color: #00a3e3;
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  transition: background-color 0.25s, color 0.25s;
}

.case-study-page .cs-nav a:hover,
.case-study-page .cs-nav a:active {
  color: #2a2a2a;
  background-color: #00a3e3;
  padding-top: 4px;
}

.cs-back {
  display: inline-block;
  color: #00a3e3;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.125rem;
  transition: background 0.25s ease, color 0.25s ease;
  background: #2a2a2a;
  padding: 1em 2em;
  border-radius: 30px;
}

.cs-back:hover {
  color: #2a2a2a;
  background: #00a3e3;
}

/* Case study page nav override */
.site-header.light-nav .main-nav a {
  color: #2a2a2a;
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  .main-nav > ul {
  display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    height: clamp(360px, 45svh, 700px); /* shorter for mobile */
    align-items: flex-start;                 /* push content up */
    padding-top: clamp(2em, 4vh, 3.5em);     /* trim the empty space */
  }

  .logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .name {
    font-size: clamp(48px, 12vw, 96px);
    text-align: center;
  }
  .mobile-menu.open {
    padding: 24px 0;
  }
}

.fluid-gradient-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  filter: blur(60px);
  mix-blend-mode: screen;
  opacity: 0.4;
}

/* Shared base styles */
.blob {
  position: absolute;
  width: 40vmin;
  height: 40vmin;
  border-radius: 50%;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* === Blob 1 === */
.blob.b1 {
  top: 10%;
  left: 5%;
  background: radial-gradient(circle at center, #00a3e3, transparent 60%);
  animation-name: drift1;
  animation-duration: 20s;
  animation-delay: 1.5s;
}

@keyframes drift1 {
  0%   { transform: translate(0vmin, 0vmin) scale(1); }
  20%  { transform: translate(25vmin, -10vmin) scale(1.1); }
  40%  { transform: translate(15vmin, 10vmin) scale(1.2); }
  60%  { transform: translate(-20vmin, 15vmin) scale(1.15); }
  80%  { transform: translate(-10vmin, -10vmin) scale(1.05); }
  100% { transform: translate(0vmin, 0vmin) scale(1); }
}

/* === Blob 2 === */
.blob.b2 {
  top: 50%;
  left: 70%;
  background: radial-gradient(circle at center, #00a3e3, transparent 60%);
  animation-name: drift2;
  animation-duration: 18s;
  animation-delay: 4s;
}

@keyframes drift2 {
  0%   { transform: translate(0vmin, 0vmin) scale(1); }
  25%  { transform: translate(-20vmin, -15vmin) scale(1.2); }
  50%  { transform: translate(-10vmin, 10vmin) scale(1.15); }
  75%  { transform: translate(15vmin, 15vmin) scale(1.1); }
  100% { transform: translate(0vmin, 0vmin) scale(1); }
}

/* === Blob 3 === */
.blob.b3 {
  top: 70%;
  left: 30%;
  background: radial-gradient(circle at center, #00a3e3, transparent 60%);
  animation-name: drift3;
  animation-duration: 16s;
  animation-delay: 6s;
}

@keyframes drift3 {
  0%   { transform: translate(0vmin, 0vmin) scale(1); }
  20%  { transform: translate(30vmin, -20vmin) scale(1.3); }
  50%  { transform: translate(-25vmin, 25vmin) scale(1.1); }
  80%  { transform: translate(10vmin, -10vmin) scale(1.2); }
  100% { transform: translate(0vmin, 0vmin) scale(1); }
}

/* === CREATIVE ENTREPRENEURSHIP SECTION === */
#creative-entrepreneurship {
  background: #ffffff;
  color: #2a2a2a;
  padding: clamp(64px, 8vw, 128px) 0;
  width: 100%;
  position: relative;
  z-index: 1;
}

#creative-entrepreneurship .section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 2vw, 30px);
}

#creative-entrepreneurship .section-inner h2{
  color: #2a2a2a;
}

.arrow.right {
  display: inline-block;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.case-card:hover .arrow.right {
  transform: translateX(4px);
}

/* === Inverted Cards === */
#creative-entrepreneurship .case-card {
  background: #2a2a2a;
  color: #f4f4f5;
}

#creative-entrepreneurship .case-card h3 {
  color: #f4f4f5;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s ease;
}

#creative-entrepreneurship .case-card:hover h3 {
  text-decoration-color: #00a3e3;
  text-decoration-thickness: 3px;
}

#creative-entrepreneurship .case-card p {
  color: #f4f4f5;
  text-decoration: none;
}

/* === CONTACT/FOOTER SECTION === */

#contact .contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(10px, 2vw, 30px);
}

.contact-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 768px) {
  .contact-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
}

.contact-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-links li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #f4f4f5;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.contact-links li a:hover {
  color: #00a3e3;
}

/* === SUBFOOTER SECTION === */

.sub-footer {
  text-align: center;
  padding: 20px 16px;
  background: #fff;
  color: #2a2a2a;
  font-size: 0.9rem;
}

.sub-footer a {
  color: #00a3e3;
  text-decoration: none;
  margin-left: 8px;
  transition: color 0.3s ease;
}

.sub-footer a:hover {
  color: #f4f4f5;
}

/* === CASE STUDY IMAGES === */

figure {
  margin: 2rem 0;
  text-align: center;
}

figure img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

figcaption {
  margin: 0.5rem auto;
  font-style: italic;
  font-size: 0.9rem;
  color: #2a2a2a;
}

.scroll-frame {
  max-height: 600px;
  overflow-y: scroll;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  margin: 0 auto;
  margin-block-start: .5em;
}

@media (max-width: 768px) {
  .scroll-frame {
    max-height: 40vh; 
  }
}

iframe {
  width: 100%;
  height: 600px;
  border: 0;
  margin: .5em auto 1em;
}

@media (max-width: 768px) {
  iframe {
    max-height: 400px; 
  }
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .logo, .case-card, .blob,
  .name, .scroll-cue, .mobile-menu,
  .desktop-frame, .tablet-frame, .mobile-frame {
    animation: none !important;
    transition: none !important;
  }
}