/* ===============================================================================================
🌍 GLOBAL RULES 🌍
=============================================================================================== */
html {
  font-size: clamp(12px, 1.25vw, 22px);
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  scrollbar-color: #fff #d94629;
  scrollbar-width: auto; 
  box-sizing: border-box;
}

html::-webkit-scrollbar-track { background: #d94629; }
html::-webkit-scrollbar-thumb { background: #fff; }

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: gopher, sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #26282c;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  
  background-color: #d94629;
  margin: 0;
}

* {
  -webkit-tap-highlight-color: transparent;
}

:root { color-scheme: only light; }

@media (prefers-color-scheme: dark) {
  :root { color-scheme: only light; }
}
/* ===============================================================================================
TYPOGRAPHY
=============================================================================================== */
/* Headings */
.heading-xl { /*h1*/
  color: #fff;
  text-shadow: 0em 0em 0.12em rgba(255, 189, 201, 0.5);
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 950;
  font-size: 5.5rem;
  margin: 0;
  line-height: 1;
}

.custom-letter {
  display: inline-block;
  vertical-align: baseline;
  width: auto;
  height: 0.73em;
  padding: 0;
}

.heading-lg { font-size: 2.625rem; } /*h2*/ 
  
h2 {
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 600;
  line-height: 1;
}

.heading-sm-emphasis { /*h3*/ 
  color: #d94629;
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 600;
  background-color: #ffbdc9;
  border-radius: 99px;
  padding: 0.25em 1em;
}

.heading-sm { font-size: 1.25rem; } /*h3*/

.subheading-sm { /*h3*/ 
  color: #ffbdc9;
  font-weight: 600;
  font-size: 2rem;
  margin: 0;
} 
  
/**** Emphasis *****/
.italic-span { font-style: italic; }

.white-highlight { color: #fff; }

.hover-white { transition: color 0.7s ease-in-out; }
.hover-white:hover { color: #fff; }

.highlighter {
  background-image: linear-gradient(to right, rgba(255, 229, 234, 0.25), rgba(255, 255, 255, 0.15));
  border-radius: 0.5em 0.2em 0.5em 0.2em;
  padding: 0.125em 0.25em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone; /* for Safari support */
}

.gopher-bold {
  font-family: gopher, sans-serif;
  font-weight: 900;
}

/* ===============================================================================================
BUTTONS
=============================================================================================== */

/* Base button */
.btn {
  display: inline-block;
  font-family: gopher, sans-serif;
  font-weight: 900;
  font-size: 1.75rem;
  text-decoration: none;
  border-radius: 99px;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 0.25em 0.5em;
}

/* Desktop Anim */
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transition: transform 0.3s ease-in-out;
    transform: scale(1.05);
  }
}

/* Mobile Anim */
.btn.btn-pressed {
  animation: bounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes bounce {
  0% { transform: scale(1); }
  30% { transform: scale(0.9); }
  60% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Variants */
.btn--w-r {
  color: #fff;
  background-color: #d94629;
}

.btn--r-w {
  color: #d94629;
  background-color: #fff;
}

.btn--r-p {
  color: #d94629;
  background-color: #ffbdc9;
}

/* ===============================================================================================
ANIMATIONS 
=============================================================================================== */
.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.slide-up { transform: translateY(3.756vh); }
.fade-in.loaded { opacity: 1; }
.fade-in.loaded.slide-up { transform: translateY(0); }

/* ===============================================================================================
DIVIDERS & BACKGROUNDS
=============================================================================================== */
.section-divider--top,
.section-divider--btm {
  grid-column: 1 / -1;
  display: block;
  position: relative; 
  width: 100%;
  font-size: 0;
  line-height: 0;
  margin-top: -2px;
  margin-bottom: -2px;
}

.section-divider--top { grid-area: wave-top; }
.section-divider--btm { grid-area: wave-btm; }

.section-divider img {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
  
.bg--blue { background-color: #435466; }
.bg--pink { background-color: #ffbdc9; }
.bg--white { background-color: #fff; }

.blob-illustration { flex: 0.25; }
.blob-illustration img { 
  max-width: 50%;
  object-fit: contain;
}

:root {
  --bullet-blob-red: url("data:image/svg+xml,%3Csvg id='Bullet-Blob' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.09 19.11'%3E%3Cpath d='M18.28,9.11c-1.15.16-3.78.76-2.52,2.37.53.66,1.51,1.08,1.86,1.76.52.97-.36,1.95-.96,2.67-1.94,2.23-4.81,4.32-7.71,2.51-.6-.33-1.27-.87-1.93-.87-.36,0-.67.15-1.04.29-.8.31-1.86.48-2.77.46-2.28.03-3.81-1.89-3.01-3.9.38-.89.9-1.82.67-2.81-.42-2.18-1.66-4.4-.15-6.19.75-.93,2.01-1.34,2.87-2.12.59-.54.95-1.3,1.46-1.92,1.42-1.79,4.2-1.77,5.68-.16,1.45,1.72,2.35-.04,4.08.41,1.28.31,2.21,1.4,2.38,2.65.09.54.07,1.28.58,1.58.68.34,1.6-.21,2.33-.02.42.08.78.35.92.75.4,1.21-1.43,2.41-2.7,2.54h-.06Z' fill='%23d94629'/%3E%3C/svg%3E");
  --bullet-blob-white: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg id='Bullet-Blob' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 21.09 19.11'%3E%3Cpath d='M18.28,9.11c-1.15.16-3.78.76-2.52,2.37.53.66,1.51,1.08,1.86,1.76.52.97-.36,1.95-.96,2.67-1.94,2.23-4.81,4.32-7.71,2.51-.6-.33-1.27-.87-1.93-.87-.36,0-.67.15-1.04.29-.8.31-1.86.48-2.77.46-2.28.03-3.81-1.89-3.01-3.9.38-.89.9-1.82.67-2.81-.42-2.18-1.66-4.4-.15-6.19.75-.93,2.01-1.34,2.87-2.12.59-.54.95-1.3,1.46-1.92,1.42-1.79,4.2-1.77,5.68-.16,1.45,1.72,2.35-.04,4.08.41,1.28.31,2.21,1.4,2.38,2.65.09.54.07,1.28.58,1.58.68.34,1.6-.21,2.33-.02.42.08.78.35.92.75.4,1.21-1.43,2.41-2.7,2.54h-.06Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* ===============================================================================================
LAYOUTS & CONTAINERS
=============================================================================================== */
/*.section (outer grid)
/*├─ .section-divider--top  (full width, top row)
/*├─ .section-main          (full width, middle row)
/*│    └─ .section-inner    (center column of nested grid)
/*└─ .section-divider--btm  (full width, bottom row) ==*/

.page-header {
  grid-area: header;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.section {
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "wave-top wave-top wave-top"
    "main main main"
    "wave-btm wave-btm wave-btm";
  width: 100%;
  position: relative;
}

.section-main { 
  grid-area: main;
  display: grid;
  grid-template-columns: 1fr minmax(auto, 90%) 1fr;
  width: 100%;
}

.section-inner {
  grid-column: 2;
  justify-items: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
}

/* ===============================================================================================
CTA TICKER
=============================================================================================== */
.cta-ticker {
  grid-area: ticker;
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
  align-items: center;
  background-color: #ffbdc9;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.ticker {
  width: 100%;
  position: relative;
  overflow: hidden;
  background-color: #ffe5ea;
  padding: 0.5em 0;
  contain: layout style paint;
}

.ticker-track {
  display: inline-flex;
  width: max-content;
  will-change: transform;
  animation: scroll-left 30s linear infinite;
}

.ticker.bottom .ticker-track {
  animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0);  }
}

.skills-list {
  display: flex;
  gap: 2em;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.skills-list li {
  flex: 0 0 auto;
  color: #435466;
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 500;
  font-size: 1.25rem;
  padding: 0 0.5em;
  position: relative;
}

.skills-list li::before {
  content: '';
  position: absolute;
  left: -1.2em;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-image: var(--bullet-blob-red);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.skills-list li:first-child::before { display: none; }

.cta-inner {
  display: flex;
  gap: 3rem;
  justify-content: center;
  width: 80%;
}

.cta-inner .btn {
  flex: 1;
  padding: 0.25em 1.5em;
  margin: 0;
}

/* ===============================================================================================
BACK TO TOP BLOB NAV
=============================================================================================== */
.back-to-top-blob {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: clamp(16px, 5vh, 48px);
  right: clamp(8px, 0.625vw, 32px);
  width: clamp(48px, 5.625vw, 96px);
  height: clamp(48px, 5.625vw, 96px);
  z-index: 1000;
  text-decoration: none;
  transition: transform 4s ease-in-out;
  opacity: 0;
  cursor: pointer;
  pointer-events: none;
}

.back-to-top-blob.visible { 
  opacity: 1;  
  pointer-events: auto; 
}

.top-blob {
  position: absolute;
  width: 100%; 
  height: 100%;
}

.top-blob path { transition: fill 0.4s ease-in-out; }
.back-to-top-blob:hover .top-blob path { fill: #fff; }

.up-arrow {
  display: flex;
  width: 45%;
  height: 45%;
  z-index: 1;
  padding-right: clamp(8px, 0.625vw, 32px);
  box-sizing: content-box;
}

/* ===============================================================================================
NAVIGATION BAR
=============================================================================================== */
.nav-bar {
  grid-area: nav;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  height: 5rem;
  width: 100%;
  max-width: 100%;
  padding: 0 1rem;
  background-color: #ffbdc9;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out; /* transition for scroll */
  opacity: 0; transform: translateY(-3.13vh); /* Start state for entrance animation */
  will-change: opacity, transform;
  visibility: hidden;
  z-index: 1000;
}

.nav-bar.nav-loaded {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.nav-bar.hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 85%;
  aspect-ratio: 1/1;
}

.nav-logo img { width: 100%; height: auto; }

.nav-menu {
  display: flex;
  gap: 1rem;
}

.nav-link {
  color: #26282c;
  font-size: 1.5rem; 
  text-decoration: none;
  padding: 0.3333em;
  transition: color 0.2s ease-in-out;
}

.nav-link:hover { color: #fff; }

.nav-link.selected {
  color: #fff;
  background-color: #435466;
  border-radius: 99px;
  padding: 0.3333em 0.6666em;
  position: relative;
}

 .nav-toggle { display: none; } /* disable hamburger menu when not on mobile */
 .mobile-logo { display: none; }

/* ===============================================================================================
FOOTER
=============================================================================================== */
.footer { grid-area: footer; }

.footer p {
  color: #fff;
  font-size: 0.75rem;
  margin: 0;
  padding: 0 1.5rem 1rem;
}

/* ===============================================================================================
📄 HOME PAGE 📄
=============================================================================================== */
.home-page-grid {
  display: grid;
  grid-template-areas:
    "nav"
    "logo"
    "hero"
    "bio"
    "skills"
    "ticker"
    "footer";
  grid-template-rows: auto auto auto auto auto auto auto;
  row-gap: 10vh; column-gap: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
/* ===============================================================================================
HERO SECTION 
=============================================================================================== */
.logo-hero {
  grid-area: logo;
  display: flex;
  justify-content: center; 
  align-items: center;
  width: 60%;
  height: auto;
  margin: 0 auto;
}

.logo-hero img {
  width: 100%; 
  height: auto;
  object-fit: contain;
}

.hero-img-wrapper {
  grid-area: hero;
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-img {
  display: block;
  width: 100%;
}

.hero-slogan {
  position: absolute;
  top: 33%;
  left: 50%; 
  transform: translate(-50%, -50%);
  width: auto;
  white-space: nowrap;
  color: #ffbdc9;
  font-weight: 800;
  font-size: clamp(1rem, 5.2vw, 2rem);
  line-height: 1;
  background-color: #435466;
  border-radius: 99px;
  padding: 0.5em 1em;
}

/* ===============================================================================================
BIO SECTION 
=============================================================================================== */
.bio-section { grid-area: bio; }
  
.bio-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pill-text-wrapper {
  display: flex;
  flex-direction: row;
  gap: 5rem; 
  align-items: center;
}

.vertical-pill {
  color: #fff;
  font-weight: 900;
  font-size: 2.25rem;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  background-color: rgba(255,255,255,0.5); 
  border-radius: 99px;
  padding: 1.5em 0.25em;
  margin-left: 1rem;
}

.bio-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-text p {
  color: #ffbdc9;
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 600;
  font-size: 2rem;
  text-align: left;
  margin: 0;
}

/****** Waving 'Hello!' Animation *******/
@keyframes wave {
  0%   { transform: rotate(0deg); }
  5%   { transform: rotate(14deg); }
  10%  { transform: rotate(-8deg); }
  15%  { transform: rotate(14deg); }
  20%  { transform: rotate(-4deg); }
  25%  { transform: rotate(10deg); }
  30%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.wave {
  display: inline-block;
  transform-origin: 70% 70%;
}

.wave.animate { animation: wave 2.5s ease-in-out infinite; }

/***** Bio Buttons ******/

.bio-btn-wrap {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: 1rem; 
 margin: 2rem 0 0;
}

.bio-btn-wrap .btn {
  flex: 1;
  max-width: 50%;
  padding: 0.25em;
  margin: 1rem 3rem;
}

/* ===============================================================================================
SKILLS & THRILLS SECTION
=============================================================================================== */
.skills-section { grid-area: skills; }

.skills-section .two-col {
  grid-template-columns: 38% 60%;
  gap: 2%;
}

.skills-inner img {
  grid-column: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  padding-bottom: 2px;
}

.skills-content {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
  width: 100%;
  max-width: 100%;
  padding-bottom: 2px;
}

/***** Heading ******/
.skills-content h2 {
  color: #d94629;
  font-variation-settings: "wght" 700;
  font-size: 4.5rem;
  text-shadow: 0em 0em 0.12em rgba(255, 255, 255, 0.6);
  margin: 0;
}

/****** Carousel Structure ******/
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%; 
}

.carousel-track {
 display: flex;
 width: 100%; 
 transition: transform 0.7s ease-in-out;
}

.carousel-slide {
  display: flex;
  justify-content: center;
  flex: 0 0 100%;
  width: 100%;
}

.slide-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem 0;
  align-items: center;
  max-width: 100%;
  overflow: hidden;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.carousel-btn {
  color: #fff;
  font-family: gopher, sans-serif; 
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  padding: 0em;
  cursor: pointer;
}

.carousel-btn:active { color: #435466; }

.carousel-swipe { display: none; }

/****** Slide Styling ******/
.slide-inner .heading-sm {
  color: #435466;
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 500;
  margin: 0;
}

.two-col-list {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1rem;
  list-style: none;
  text-align: left;
  justify-content: left;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

.two-col-list li {
  color: #fff;
  font-size: 1.375rem;
  line-height: 1.2;
  position: relative;
  padding-left: 1.25em; /* space for bullet */
}

.two-col-list li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 1.25rem;
  height: 1.25rem;
  align-self: center;
  background-image: var(--bullet-blob-red);
  background-size: cover;
  background-repeat: no-repeat;
  animation: spin-alt 3s ease-in-out infinite;
}

@keyframes spin-alt {
  0%   { transform: rotate(0deg); }
  50%  { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* ===============================================================================================
📄 HOW I WORK PAGE 📄
================================================================================================ */
.how-i-work-page-grid {
  display: grid;
  grid-template-areas:
    "nav"
    "header"
    "intro"
    "background"
    "approach"
    "outro"
    "ticker"
    "footer";
  grid-template-rows: auto auto auto auto auto auto auto;
  row-gap: 10vh; column-gap: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/********************************* Scroll Spy *********************************/
.scrollspy {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.5vh, 20px);
  align-items: end;
  position: fixed;
  top: 50%;
  right: clamp(8px, 2vw, 32px);
  transform: translateY(-50%);
  z-index: 999;
}

.scroll-spy-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(8px, 1.5vh, 20px);
  text-decoration: none;
  position: relative;
}

.scroll-spy-link .dot {
  width: 1.25rem;
  height: 1.25rem;
  background-image: var(--bullet-blob-white);
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.scroll-spy-link.active .dot { opacity: 1; }
.scroll-spy-link:not(.active):hover .dot { opacity: 0.8; }

/********************************* Intro *********************************/
.intro-section { grid-area: intro; }

.intro-inner p {
  color: #ffbdc9;
  font-size: 1.75rem;
  margin: 0;
}

.intro-inner strong {
  display: inline-block;
  color: #435466;
  font-weight: 800;
  font-size: 1.75rem;
  background-color: #ffbdc9;
  border-radius: 99px;
  padding: 0.25em 0.75em;
  margin: 1.25rem 0;
}

/********************************* Background *********************************/
.background-section { grid-area: background; }
  
.background-section .two-col {
  grid-template-columns: 45% 50%;
  gap: 5%;
}

.house-graphic { grid-column: 1; }

.background-inner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.text-queue-wrapper {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-queue-wrapper .heading-lg {
  color: #435466;
  margin: 0;
}

.text-queue-wrapper p {
  color: #435466;
  font-size: 1.25rem;
  overflow-wrap: break-word;
  margin: 0;
}

.background-inner .italic-span {
  font-family: 'totalblack-variable';
  font-variation-settings: "wght" 200;
}

/********************************* Approach *********************************/
.approach-section { grid-area: approach; }

.approach-section .two-col {
  grid-template-columns: 75% 15%;
  gap: 5%;
  padding: 0.25rem 0;
}
  
.approach-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  color: #d94629;
  background-color: #ffe5ea;
  border: 8px solid #ffbdc9;
  border-radius: 32px;
  padding: 1.25rem;
}
  
.approach-text .heading-lg { margin: 0; }

.approach-text .heading-sm {
  margin: 0;
  line-height: 1;
}

.approach-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  padding: 0;
  gap: 1.75rem 1.5rem;
  width: 100%;
  margin: 0;
}

.approach-points .heading-sm-emphasis {
  font-size: 1.75rem;
  line-height: 1;
  display: inline-block;
  margin: 0;
}

.approach-points li {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.25rem;
}

.idea-illustration img {
  height: 100%;      
  width: auto;      
  object-fit: contain; 
}

.idea-mobile { display: none; }

/********************************* Outro *********************************/
.outro-section { grid-area: outro; }

.outro-section .heading-lg {
  color: #ffbdc9;
  line-height: 1.5;
  background-color: #435466;
  border-radius: 99px;
  padding: 0.095em 1em;
  margin: 0 auto;
  max-width: 50%;
}

.outro-text {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 1rem 0 0;
}

.outro-text p {
  flex: 1;
  color: #ffbdc9;
  font-size: 1.75rem;
  margin: 0;
}

/* ===============================================================================================
📄 CONTACT PAGE 📄
=============================================================================================== */
.contact-page-grid {
  display: grid;
  grid-template-areas:
      "nav"
      "header"
      "contact-main"
      "ticker"
      "footer";
  grid-template-rows: auto auto auto auto auto;
  row-gap: 10vh; column-gap: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.contact-page-grid .custom-letter { padding: 0 0.0568em; }

.contact-section { grid-area: contact-main; }

.contact-inner .two-col {
  gap: 2rem;
}

/******************************** Contact Text  *******************************/
.contact-txt-wrap {
  grid-column: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 1rem;
}

.contact-txt {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1em;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
}

.contact-txt h2 {
  color: #fff;
  font-variation-settings: "wght" 700;
  font-size: 2rem;
  margin: 0;
}

.contact-txt p {
  color: #435466;
  font-size: 1.5rem;
  margin: 0;
}

.contact-txt .blob-illustration img {
  width: 30%;
  margin-bottom: 1rem;
  animation: rotateAndPulse 4s ease-in-out infinite;
  transform-origin: center;
}

@keyframes rotateAndPulse {
  0% { transform: rotate(0deg) scale(1); }
  25% { transform: rotate(90deg) scale(1.25); }
  50% { transform: rotate(180deg) scale(1.1); }
  75% { transform: rotate(270deg) scale(1.25); }
  100% { transform: rotate(360deg) scale(1); }
}

/******************************** Contact Form ********************************/
.contact-form {
  grid-column: 2;
  grid-row: 1;
  text-align: left;
  color: #fff;
}

label {
  display: inline-block;
  color: #d94629;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  margin-bottom: 0.5em;
}

input, 
textarea,
select {
  color: #435466;
  font-family: gopher, sans-serif;
  font-weight: 500;
  font-size: 1.25rem;
  width: 100%;
  background-color: #fff;
  border: none;
  border-radius: 24px;
  padding: 1em;
  margin-bottom: 1em;
}

input::placeholder,
textarea::placeholder {
  color: #435466;
  font-size: 1.25rem;
}
  
input:focus,
textarea:focus,
select:focus {
  outline: none; 
  border: 3px solid #435466;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('/Assets_Illustrations-&-Icons/Down_Arrow.svg');
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1.25rem;
  padding-right: 2em;
  cursor: pointer;
}

option {
 background-color: #ffbdc9;
 color: #d94629;
}

.form-note {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  margin: 0 0 1em;
}

.required {
  color: #fff;
  font-size: 1.5rem;
}

.btn-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.btn-wrapper .btn {
  font-weight: 800;
  margin: 0;
  width: 50%;
}

.ty-msg { 
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.ty-msg.show {
  grid-column: 2;
  grid-row: 1;
  color: #d94629;
  font-size: 2rem;
  align-self: center;
  justify-self: center;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===============================================================================================
📄 SELECTED WORK 📄
=============================================================================================== */
.selected-work-grid { 
  display: grid;
  grid-template-areas:
        "nav"
        "header"
        "gallery"
        "ticker"
        "footer";
  grid-template-rows: auto auto auto auto auto;
  row-gap: 10vh; column-gap: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.gallery-section { grid-area: gallery; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 1.5rem;
  max-width: 90%;
  margin: 2rem 0;
}

.portfolio-tile {
  display: block;
  position: relative;
  text-decoration: none;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  border: 4px solid #d94629;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.portfolio-tile img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: none;
  transition: transform 0.5s ease-in-out;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(217, 70, 41, 0.85);
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.overlay-text { 
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5em 1em; 
}

.overlay-text h2 {
  color: #fff;
  font-size: 1.75rem;
  margin: 0;
  line-height: 1.5; /* need to keep, not inheriting from body */
}

.overlay-text .subheading-sm { font-size: 1.125rem; }

.tap-indicator { display: none; }

.portfolio-tile .overlay .overlay-text { pointer-events: none; }
.portfolio-tile:hover .overlay { opacity: 1; }

/* ===============================================================================================
📄 CASE STUDY PAGES 📄
=============================================================================================== */
.case-study-grid {
  display: grid;
  grid-template-areas:
      "nav"
      "header"
      "case-main"
      "ticker"
      "footer";
  grid-template-rows: auto auto auto auto auto;
  row-gap: 10vh; column-gap: 0;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.case-content { grid-area: case-main; }

.case-study-grid .back-to-top-blob { display: none; }

/********************************* Back To Projects Sticky Nav *********************************/
.back-to-proj {
  display: flex;
  justify-content: center;
  position: fixed;
  top: 40%;
  right: 0.625%;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  z-index: 99;
}

.back-to-proj-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  text-decoration: none;
  overflow: hidden;
}

.back-to-proj-inner .btn {
  color: #435466;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  background-color: rgba(255, 229, 234, 0.7);
  padding: 0.75em 0.5em;
  margin: 0;
  z-index: 1;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.5s ease, opacity 0.5s ease-in-out;
  pointer-events: auto;
}

.back-to-proj-arrow {
  width: 2.5rem;
  aspect-ratio: 1;
  z-index: 2;
}

.back-to-proj-inner .btn.hide-label {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.back-to-proj-inner:hover .btn {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/********************************* Project Overview *********************************/
.proj-overview {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.proj-overview .heading-lg { margin: 0; }

.proj-info-wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4rem;
}

.stat-column {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  gap: 0.5rem;
}

.stat-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.stat-group p {
  font-size: 1rem;
  line-height: 1.2;
  margin: 0;
}

.stat-label {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  margin: 0;
}

.project-summary {
  flex: 1 1 0;
  font-size: 1.5rem;
  text-align: left;
  line-height: 1.2;
  margin: 0
}

/********************************* Section Structure *********************************/
.main-accordion {
  border-radius: 28px;
  width: 100%;
  margin-bottom: 0.25rem;
  overflow: hidden;
}

.main-accordion-toggle {
  color: #fff;
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 600;
  font-size: 1.5rem;
  text-align: left;
  background: #435466;
  border: none;
  padding: 0.67em 1em;
  width: 100%;
  cursor: pointer;
}

.sub-accordion-toggle {
  font-family: gopher, sans-serif;
  text-align: left;
  background: #ffbdc9;
  border-radius: 28px;
  border: none;
  padding: 0.25rem 1rem;
  width: 100%;
  margin: 0 0 0.25rem;
  cursor: pointer;
}

.sub-accordion-toggle h2 {
  font-family: inherit;
  font-weight: 600;
  font-size: 1.25rem;
  color: #d94629;
  margin: 0;
}

.sub-accordion-toggle h3 {
  color: #fff;
  font-size: 1rem;
  font-style: italic;
  padding-left: 1em;
  margin: 0.5em 0 0;
}

.market-accordion .sub-accordion-toggle { background: #d94629; } /** Market Context: accordion **/
.market-accordion .sub-accordion-toggle h2 {color: #fff; }

.sub-accordion-toggle:hover { box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3); }

.main-accordion:hover { box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); }

.main-accordion-content,
.sub-accordion-content {
  display: none;
}
.main-accordion-item.active > .main-accordion-content,
.sub-accordion-item.active > .sub-accordion-content {
  display: block;
  animation: fadeSlideIn 0.5s ease forwards;
}

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(-1.252vh); }
  100% { opacity: 1; transform: translateY(0); } 
}

.main-accordion:last-of-type { margin-bottom: 0; }

.case-section-container {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
}

.case-section-container p {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.case-text-visual-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  padding: 1em;
}

.case-text-visual-wrapper p {
  font-size: 1.25rem;
  margin: 0;
}

.case-study-grid .two-col {
  gap: 0.5rem;
}

.case-image-stack {
  display: grid;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0.25rem;
  justify-content: center;
  width: 100%;
}

.lottie-anim svg { 
  border-radius: 28px; 
  max-width: 100%;
  max-height: 100%;
}

/********************************* Slideshow Styling *********************************/
.slideshow-flexbox {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.slideshow {
  position: relative;
  width: 80%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #fff;
  border: 4px solid #26282c;
  border-radius: 28px;
  margin: 0 auto;
  overflow: visible;
}

.community-impact .slideshow { background: rgba(252, 236, 219, 0.85); }

.slide {
  position: absolute;
  opacity: 0;
  inset: 0; 
  transition: opacity 1.3s ease-in-out;
  border-radius: 28px;              
  overflow: hidden; 
  display: flex;             
  justify-content: center;    
  align-items: center;  
}

.slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slide .lottie-anim {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active { opacity: 1; }

.slideshow-nav {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  justify-content: center;    
  align-items: center;  
  background: #fff;
  border: 3px solid #26282c;
  border-radius: 99px;
  width: 15%;
}

.slideshow-nav-btn {
  color: #26282c;
  font-family: gopher, sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  border: none;
  background: none;
  cursor: pointer;
}

.slideshow-nav-btn:hover { color: #d94629; }

.slide-progress {
  display: flex;
  gap: 0.5rem;
  width: 15%; 
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: rgba(38, 40, 44, 0.2);
  border-radius: 2px;
  transition: background 0.3s ease;
}

.progress-bar.active { background: #26282c; }

.slideshow-indicators { display: none; }

.slide-w-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

/********************************* Challenge *********************************/
.challenge .sub-accordion-toggle { padding: 1rem; }

.challenge .case-text-visual-wrapper { flex-direction: row; }

.red-4-3-block {
  position: relative;
  width: 50%;
  aspect-ratio: 4 / 3;
  align-content: center;
  border: 4px solid #d94629;
  border-radius: 28px;
  padding: 0.5rem;
  overflow: visible;
}

.red-4-3-block.slideshow-container { 
  padding: 0; 
  width: 100%;
}

.case-study-badge {
  position: absolute;
  top: -2.723vh;
  left: -1.149vw;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.25em 1em;
  background: #d94629;
  border-radius: 28px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 99;
}

.case-study-visual {
  display: flex;
  justify-content: center;
  width: 100%;
}

.case-study-visual img {
  width: 100%;
  border-radius: 28px;
  object-fit: contain;
}

.case-study-visual.slideshow { /** Styling for 4:3 slideshow in #challenge **/
  position: relative;  
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  background: none;
  border: none;
  overflow: hidden;
}

#challenge .slide-w-nav { width: 50%; }

.challenge-issue-text {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.issue-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.issue-list .heading-sm-emphasis {
  font-size: 1rem;
  margin: 0 0 0.25em;
}

.issue-list p { font-size: 1rem; }

/********************************* Solution *********************************/
.solution-point p {
  font-size: 1.25rem;
  text-align: left;
}

.solution-heading {
  display: inline;
  color: #d94629;
  font-weight: 600;
  background: #ffbdc9;
  border-radius: 24px;
  padding: 0.1em 0.4em;
}

/********************************* Prev/Next Case Study Nav *********************************/
.case-nav-bottom {
  display: flex;
  flex-direction: row;
  gap: 4rem;
  align-items: start;
  justify-content: center;
  margin-top: 4rem;
}

.case-nav-bottom p { margin: 0; }

.case-nav-btn {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  color: #d94629;
  font-weight: 600;
  font-size: 1.25rem;
  text-decoration: none;
  border-radius: 0;
  padding: 0;
}

.proj-nav-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-proj-title {
  font-size: 1rem;
  font-weight: 500;
}

.arrow {
  width: 1.5rem;
  aspect-ratio: 1;
}

/*========================================================================================================================
📄 CASE STUDY - Clarity in a Crowded Market 📄
========================================================================================================================*/
.issues-header { /** Challenge > Key Issues: Extra Header **/
  font-weight: 700;
  font-size: 2.25rem; 
  margin: 0 auto;
}

.motto-chal .two-col { grid-template-columns: 30% 70%; }

.community-chal .two-col { grid-template-columns: 40% 60%; }

.community-chal .case-image-stack img { border-radius: 0; }

/* ========================================
📄 404 PAGE STYLING 📄
======================================== */
.main-404 {
  color: #fff;
  text-align: center;
  margin: 22vh 6.25vw 0;
}

.main-404 h1 {
  font-family: totalblack-variable, sans-serif;
  font-variation-settings: "wght" 600;
  font-size: 4rem;
  margin: 1.25rem 0;
}

.main-404 p {
  font-size: 2.5rem;
  margin: 1.25rem 0;
}

.main-404 .btn {
  font-size: 2.5rem;
  max-width: 50%;
}

/* ========================================
📄 CONSTRUCTION PAGE STYLING 📄
======================================== */
.construction-page { 
  display: grid;
  grid-template-columns: 1fr 90% 1fr;
  width: 100%; 
}
 
.construction-container {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

/* ================================================================================
💻 LARGE SCREEN 1920px+ 💻
================================================================================ */
@media (min-width: 1920px) {
  html { font-size: clamp(20px, 1.5vw, 32px); }
  
  .nav-bar { height: 14vh; }

/* BACK TO TOP BLOB */
  .back-to-top-blob {
    width: clamp(96px, 6vw, 210px);
    height: clamp(96px, 6vw, 210px);
  }
  
/* HOME PAGE */
  .skills-section .two-col { grid-template-columns: 34% 64%; }
  
  .two-col-list li { font-size: 1.25rem; }
  
  .main-accordion,
  .sub-accordion-toggle {
    border-radius: 60px; 
  }

/* CONTACT PAGE */
  input, 
  textarea,
  select {
    border-radius: 50px;
  }
  
/* SELECTED WORK */
  .portfolio-grid { max-width: 100%; }
    
  .portfolio-tile { border: 6px solid #d94629; }
  
  .overlay-text h2 { font-size: clamp(1.75rem, 2.5vw, 72px); }
  .overlay-text .subheading-sm { font-size: clamp(1.125rem, 1.75vw, 64px); }
  
/* CASE STUDY PAGE */
  .main-accordion:hover { box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); }
  
  .red-4-3-block {
    border: 6px solid #d94629;
    border-radius: 48px;
  }
  
  .case-study-badge {
    border-radius: 48px;
    box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.3);
  }
  
  .slideshow {
    border-radius: 48px;
    border: 6px solid #26282c;
  }
  
  .slide { border-radius: 48px; }
  
  .slideshow-nav { border: 5px solid #26282c; }
  
  .progress-bar { 
    height: 6px;
    border-radius: 4px;
  }
}

/* ================================================================================
📱 SMALL SCREEN 0–900px 📱
================================================================================ */
@media (max-width: 900px) {
  html { font-size: clamp(12px, 2vw, 16px); }

  .section-divider--top, .section-divider--btm { overflow-x: hidden; }
  .section-divider--top img, .section-divider--btm img { width: 125%; }

  .section-main { grid-template-columns: 1rem 1fr 1rem; }
  
  .two-col, 
  .skills-section .two-col, 
  .approach-section .two-col,
  .background-section .two-col, 
  .contact-inner .two-col {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 1rem 0; 
    justify-items: center;
  }
  
  .heading-xl { font-size: clamp(48px, 14.58vw, 72px); }
  
/* BURG NAV */
  .desktop-logo { display: none; }
  
  .nav-bar {
    display: grid;
    grid-template-columns: 1.5fr 7fr 1.5fr;
    justify-content: center;
    position: relative; 
    height: auto;
    padding: 5vh 0.5rem 0;
    background-color: transparent;
  }
  
  .nav-logo {
    grid-column: 2;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }
  
  .mobile-logo { display: block; }
  
  .nav-toggle {
    grid-column: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1100;
  }
  
  .hamburger { width: 100%; height: auto; }
  
  .nav-toggle.active {
    background-color: #ffbdc9;
    border-radius: 99px;
  }
  
  .nav-wrapper {
    position: absolute;
    top: 105%;
    right: 0;
    height: 100vh;
    width: 100%;
    overflow-x: hidden; 
    pointer-events: none; 
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
    position: absolute;
    right: 0;
    height: fit-content;
    width: fit-content;
    background: #ffbdc9;
    border-radius: 28px;
    padding: 2rem;
    transform: translateX(110%);
    transition: transform 0.35s ease-in-out;
    pointer-events: auto;
    z-index: 1000;
  }
  
  .nav-menu.open { transform: translateX(0); }
  .blurred section, .blurred footer { filter: blur(3px); }
  
  .nav-link { 
    width: 100%; 
    font-size: 2rem;
  }
  
  .nav-link.selected { padding: 0 0.25em; }
  
/* BACK TO TOP BLOB */
  .back-to-top-blob {
    width: clamp(48px, 18vw, 90px);
    height: clamp(48px, 18vw, 90px);
  }
  
/* CTA TICKER */
  .cta-inner { flex-direction: column; }
  
/* HOME PAGE */
  .home-page-grid {
    grid-template-areas:
    "nav"
    "hero"
    "bio"
    "skills"
    "ticker"
    "footer";
    grid-template-rows: auto auto auto auto auto auto;
    row-gap: clamp(4vh, 5vh, 6vh);
  }
  
  .logo-hero { display: none; }
  
/* Bio */
  .pill-text-wrapper { gap: 1.5rem; }
  
  .vertical-pill {
    font-size: 2rem;
    margin: 0;
  }
  
  .bio-text p { font-size: 1.75rem; }
  
  .hover-white { transition: color 1.5s ease-in-out; }
  
  .hover-white.animate-white { 
    color: #fff; 
    animation: glowOnce 1.5s ease-out;
  }
  
  @keyframes glowOnce {
    0% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    40% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); }
    100% { text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  }
  
  .bio-btn-wrap { 
    flex-direction: column; 
    align-content: center;
  }
  
  .bio-btn-wrap .btn { 
    width: 80%;
    max-width: 80%;
    margin: 0;
  }
  
/* Skills */
  .skills-content { 
    grid-column: 1; 
    grid-row: 1;
  }
  
  .skills-inner img {
    grid-row: 2;
    width: 75%;
    padding: 1%;
  }
  
  .skills-content h2 { 
    font-size: clamp(36px, 12.18vw, 72px);
    white-space: nowrap;
    max-width: 100%;
  }
  
  .slide-inner .heading-sm { 
    font-size: 1.35rem; 
    
  }
  
  .two-col-list { 
    grid-template-columns: 1fr; 
    gap: 0.5rem;
    width: 80.8%;
    justify-content: normal;
  }
  
  .two-col-list li { 
    font-size: 1.5rem; 
    width: fit-content;
  }
  
  .carousel-nav { display: none; }
  
  .carousel-swipe {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 0;
  }

  .swipe-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    transition: all 0.3s;
  }

  .swipe-dot.active {
    background: #435466;
    width: 24px;
    border-radius: 4px;
  }
  
/* HOW I WORK PAGE */
  .how-i-work-page-grid { row-gap: clamp(4vh, 5vh, 6vh); }
  
  .scroll-spy-link .dot {
    width: 1rem;
    height: 1rem;
  }
  
  .scroll-spy-link.active .dot {
    width: 1.25rem;
    height: 1.25rem;
  }
  
/* Intro */
  .intro-inner p { font-size: 1.5rem; }
  
  .intro-inner strong { 
    font-size: 1.5rem; 
    margin: 1rem 0;
  }
  
/* Background */
  .background-section .heading-lg { 
    grid-row: 1; 
    grid-column: 1;
  }
  
  .house-graphic {
    grid-row: 2;
    width: 90%;
    margin-bottom: -1rem;
  }
  
  .text-queue-wrapper {
    grid-row: 3;
    grid-column: 1;
    display: contents;
  }
  
  .text-queue-wrapper p { font-size: 1.5rem; }
  
/* Approach */
  .approach-text {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 1rem 0;
    border: 0.25rem solid #ffbdc9;
    padding: 0.5rem;
    margin: 0.5rem 0;
    max-width: 100%;
  }
    
  .approach-text .heading-lg {
    grid-row: 1;
    grid-column: 1 / -1;
  }
  
  .approach-text .heading-sm {
    grid-row: 2;
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(1.25rem, 3.8vw, 2rem);
  }
    
  .approach-points {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    gap: 1rem 0;
  }
  
  .approach-points li {
    gap: 0.5rem;
    font-size: clamp(1rem, 3.15vw, 1.75rem);
    line-height: 1.2;
  }
  
  .approach-points .heading-sm-emphasis {
    font-size: clamp(1.5rem, 4.65vw, 2rem);
    margin: 0;
  }
  
  .idea-illustration { display: none; }

  .idea-mobile { 
    grid-column: 2;
    grid-row: 3;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  
/* Outro */
  .outro-section .heading-lg { max-width: 100%; }
  
  .outro-text { flex-direction: column; }
  
  .blob-illustration {
    flex: 0.5;
    width: 25%;
    display: flex;
    justify-content: center;
  }
  
/* CONTACT PAGE */
  .contact-page-grid { row-gap: clamp(4vh, 5vh, 6vh); }
  
  .contact-txt-wrap {
    grid-row: 1;
    width: 100%;
    height: auto;
  }
  
  .contact-txt {
    height: auto;
    width: 100%;
  }
  
  .contact-form {
    grid-column: 1;
    grid-row: 2;
    max-width: 85%;
  }
  
  .btn-wrapper .btn { width: 80%; }
  
  .ty-msg.show { 
    grid-column: 1;
    grid-row: 2;
    max-width: 90%;
  }
  
/* SELECTED WORK */
  .selected-work-grid { row-gap: clamp(4vh, 5vh, 6vh); }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    max-width: 80%;
  }
  
  .overlay-text h2 { font-size: 2rem; }
  
  .overlay-text .subheading-sm { font-size: 1.45rem; }
  
  .tap-indicator {
    display: block;
    color: #fff;
    animation: pulse 1.5s ease-in-out infinite;
    width: clamp(14px, 7vw, 48px);
    height: clamp(14px, 7vw, 48px);
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
  }
  
  .portfolio-tile:hover .overlay { opacity: 0; }
  .portfolio-tile .overlay.visible { opacity: 1; }

/* CASE STUDY PAGE */
  .case-study-grid { row-gap: clamp(4vh, 5vh, 6vh); }

  .back-to-proj { display: none; }
  
  .case-study-grid .back-to-top-blob { display: flex; }
  
/* Project Overview */
  .proj-info-wrap {
    align-items: center;
    gap: 2rem;
  }
  
  .stat-column { gap: 1rem; }
  
  .project-summary { font-size: 1.25rem; }
  
/* Section Structure */
  .sub-accordion-toggle { text-align: center; }
  
  .sub-accordion-toggle h2 { font-size: 1.5rem; }
  
  .sub-accordion-toggle h3 { 
    font-size: 1.25rem;
    padding: 0;
  }
  
  .main-accordion:hover, 
  .sub-accordion-toggle:hover {
    box-shadow: none;
  }
  
  .case-section-container { padding: 0 }
  
  .case-text-visual-wrapper p,
  .case-section-container p { 
    margin: 1rem 0.5em;
  }
  
  .case-text-visual-wrapper { 
    padding: 0; 
    gap: 0.5rem;
  }
  
  .case-study-visual img { border-radius: 20px; }
    
  .lottie-anim svg { border-radius: 20px; }
  
  .case-image-stack { 
    grid-template-rows: 1fr;
    grid-template-columns: 1fr 1fr 1fr;
    border-radius: 0 0 20px 20px;
    width: 100%;
    overflow: clip;
  }
  
  .case-image-stack img { border-radius: 15px; }

/* Slideshow Styling */
  .slideshow-flexbox { margin-bottom: 1rem; }
  
  .slideshow { 
    width: 100%; 
    border: 2px solid #26282c;
    border-radius: 20px;
    -webkit-touch-callout: none;
  }
  
  .slide { border-radius: 20px; }
  
  .slideshow,
  .slide,
  .slide * {
    -webkit-touch-callout: none; 
    -webkit-user-select: none;  
    user-select: none;
    pointer-events: auto;
  }
  
  .slideshow-nav, .slide-progress { display: none; }

  .slideshow-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .slide-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(67, 84, 102, 0.3);
    cursor: pointer;
    transition: all 0.3s;
  }

  .slide-dot.active {
    background: #435466;
    width: 28px;
    border-radius: 5px;
  }

/* Challenge */
  .challenge .case-text-visual-wrapper { flex-direction: column; }
  
  .red-4-3-block {
    width: 100%; 
    aspect-ratio: auto;
    border: 2.5px solid #d94629;
    border-radius: 20px;
    padding: 0.25rem;
    overflow: hidden;
  }
  
  #challenge .slide-w-nav { width: 100%; }
  
  .slide-w-nav .slideshow-indicators { margin: 0; }
  
  .case-study-badge { display: none; }
  
  .challenge-issue-text { width: 100%; }
  
  .issue-list p { 
    font-size: 1.25rem; 
    margin: 0;
  }

/* Solution */
  .solution-point p { text-align: center; }
    
/* Impact */
  .impact-no-pre-text { padding: 1rem 0 0 0; }

/* CASE STUDY - Clarity in a Crowded Market */
  .issues-header { font-size: 2rem; }
  
  .motto-chal .two-col,
  .community-chal .two-col { 
    grid-template-columns: 1fr; 
  }
  
  .community-chal .case-image-stack { 
    grid-row: 2; 
    filter: grayscale(0.5);
  }
  
  .community-chal .case-study-visual :not(.case-image-stack) > img, 
  .lager-chal .case-study-visual img,
  .market-accordion .case-study-visual img {
    width: 80%;
  } 
  
/* Construction */
  .construction-page .heading-xl { font-size: clamp(32px, 12vw, 48px); }
}