/* ==========================================================================
   1. GLOBAL & TYPOGRAPHY
   ========================================================================== */

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  min-height: 100%;
  color: #333;
  font-size: 1rem;
  line-height: 1.2;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.75rem;
  font-weight: bold;
  color: #1a1a1a;
  font-family: "Playpen Sans", sans-serif;
}

h1 {
  margin-top: 0;
  font-size: 2.5rem;
  line-height: 1.1;
}

h2 {
  margin-top: 2.5rem;
  font-size: 2rem;
  line-height: 1.2;
}

h3 {
  margin-top: 2rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

h4 {
  margin-top: 1.5rem;
  font-size: 1.5rem;
  line-height: 1.3;
}

h5 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  line-height: 1.3;
}

h6 {
  margin-top: 1rem;
  font-size: 1.1rem;
  line-height: 1.3;
  letter-spacing: 1px;
  text-transform: none;
}

p {
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.8;
}

blockquote {
  border-left: 5px solid #e2e2e2;
  margin: 0 0 10px;
  padding: 10px 20px;
  line-height: 1.2;
  font-family: "Playpen Sans", sans-serif;
}

figure {
  margin: 1em 40px;
}

img {
  border: 0;
  max-width: 100%;
  vertical-align: middle;
  display: inline-block;
}

a {
  background-color: transparent;
  text-decoration: none;
}

a:active,
a:hover {
  outline: 0;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 40px;
}

button {
  overflow: visible;
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

* {
  box-sizing: border-box;
}

.button-primary-3 {
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  background-color: #1a1b1f;
  padding: 12px 25px;
  line-height: 20px;
  transition: all .2s;
}

.button-primary-3:hover {
  color: #fff;
  background-color: #32343a;
}

.button-primary-3:active {
  background-color: #43464d;
}

/* ==========================================================================
   2. REQUIRED WEBFLOW COMPONENTS
   ========================================================================== */

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

/* --- Icons --- */
@font-face {
  font-family: webflow-icons;
  src: url("data:application/x-font-ttf;charset=utf-8;base64,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") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* --- Layout Utilities --- */
.w-container {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

.w-container:before,
.w-container:after {
  content: " ";
  display: table;
  grid-area: 1 / 1 / 2 / 2;
}

.w-container:after {
  clear: both;
}

.w-block {
  display: block;
}

.w-inline-block {
  max-width: 100%;
  display: inline-block;
}

.w-list-unstyled {
  padding-left: 0;
  list-style: none;
}

.w-hidden {
  display: none;
}

/* --- Buttons --- */
.w-button {
  display: inline-block;
  padding: 9px 15px;
  background-color: #3898ec;
  color: #fff;
  border: 0;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
}

/* ==========================================================================
   3. NAVBAR SYSTEM
   ========================================================================== */

/* --- 1. Base Structure (The Shell) --- */
.w-nav {
  position: relative;
  z-index: 1000;
  width: 100%;
}

.navbar-top {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 15px 20px;
  box-sizing: border-box;
}

/* --- 2. The Logo --- */

.navbar-brand,
.w-nav-brand {
  text-decoration: none;
  color: #1a1a1a;
  flex-shrink: 1;
  margin-right: 15px;
}

.navbar-brand h6 {
  margin: 0;
  line-height: 1.2;
  white-space: nowrap;
  font-size: 20px;
}

/* --- 3. The Menu Container (The Right Side) --- */
.w-nav-menu {
  display: block !important;
  position: static !important;
  background: transparent !important;
}

/* --- 4. The "Pill" Design (White Box) --- */
.nav-menu-two {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;

  border-radius: 100px;
  /* Pill Shape */
  padding: 8px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  gap: 5px;
}

/* --- 5. The Links --- */
.nav-link,
.nav-link-accent {
  color: #1a1b1f;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.25px;
  padding: 8px 12px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link-accent:hover {
  opacity: 0.7;
}

/* --- 6. The Vertical Divider --- */
.nav-divider {
  display: block;
  width: 1px;
  height: 16px;
  background-color: #e0e0e0;
  margin: 0 5px;
}

/* Hide these to stop the hamburger from ever appearing */
.w-nav-button,
.w-nav-overlay {
  display: none !important;
}

/* =========================================
   RESPONSIVE TWEAKS (Mobile Only)
   ========================================= */

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

  /* Reduce padding on the main bar */
  .container,
  .navbar-top {
    padding: 10px 15px;
  }

  /* Shrink Logo text */
  .navbar-brand h6 {
    font-size: 16px;
  }

  /* Shrink the Pill container */
  .nav-menu-two {
    padding: 6px 15px;
  }

  /* Shrink Link text and spacing */
  .nav-link,
  .nav-link-accent {
    font-size: 13px;
    padding: 5px 8px;
  }

  /* Safety for very small screens (iPhone SE) */
  @media screen and (max-width: 360px) {
    .navbar-brand h6 {
      font-size: 12px;
    }

    .nav-link,
    .nav-link-accent {
      font-size: 10px;
      padding: 4px 6px;
    }
  }
}

/* ==========================================================================
   4. FOOTER STYLES
   ========================================================================== */

/* The Outer Wrapper */
.footer-custom-wrapper {
  padding: 40px 0;
  border-top: 1px solid #f0f0f0;
  width: 100%;
}

/* The List Container */
.footer-nav-list {
  display: flex;
  flex-direction: row;
  /* Stays horizontal */
  justify-content: center;
  align-items: center;
  gap: 25px;
  list-style: none;
  padding: 20px 0;
  margin: 20px 0;
}

/* Individual Links */
.footer-nav-link,
.footer-nav-accent {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
  transition: opacity 0.2s ease;
}

.footer-nav-link:hover,
.footer-nav-accent:hover {
  opacity: 0.7;
}

/* The Divider Bar */
.footer-nav-divider {
  width: 1px;
  height: 20px;
  background-color: #e0e0e0;
}

/* MOBILE: Keep it horizontal until the screen is very small */
@media (max-width: 479px) {
  .footer-nav-list {
    flex-wrap: wrap;
    /* Allows it to wrap if the phone is tiny */
    gap: 15px;
  }

  .footer-nav-divider-item {
    display: none;
    /* Hides divider on mobile for a cleaner look */
  }
}

/* =========================================
   6. PORTFOLIO LIST
   ========================================= */

/* Container Logic */
.main-container {
  max-width: 100%;
  /* Standard width from Index */
  margin: 0 auto;
  padding: 2rem 10rem;
}

/* Header Consistency */
.portfolio-header {
  text-align: center;
}

/* The "Experience" Layout */
.project-row {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.project-visual {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  /* Matches the rounded look of logos */
  border: none;
}

.project-details {
  flex-grow: 1;
}

.project-title {
  text-decoration: none;
}

.project-meta {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 10px;
  font-family: monospace;
  /* Adds a tiny bit of "Technical" flair */
}

.project-desc {
  color: #333;
  margin-bottom: 15px;
}

.highlight-word {
  background: linear-gradient(120deg, #FFF7AE 0%, #CDE7FF 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  /* Underline only */
  background-position: 0 88%;
  transition: background-size 0.25s ease-in;
  cursor: default;
}

.highlight-word:hover {
  background-size: 100% 88%;
  /* Fills up like a highlighter */
}

/* Mobile Fix */
@media (max-width: 600px) {

  .project-row {
    flex-direction: column;
    gap: 20px;
  }

  .project-visual {
    width: 100%;
    height: auto;
  }

  .project-visual img {
    max-width: 100px;
    /* Keep it logo-sized on mobile */
  }
}



/* =========================================
   6. BUBBLE BACKGROUND GLASS LOOK
   ========================================= */

/* 1. RESET & BASIC SETUP */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: transparent;
  /* Let canvas show through */
}

/* LAYER 1: The Moving Watercolor (Deepest Layer) */
#watercolor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  /* Puts it at the very bottom */
  background: #ffffff;
}

/* LAYER 2: The Frosted Glass (Middle Layer) */
.full-screen-glass {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  /* Sits on top of canvas (-2), but behind text (1) */

  /* A. The Blur */
  backdrop-filter: blur(10px);
  /* Increased blur for smoother wash */
  -webkit-backdrop-filter: blur(10px);

  /* C. The Tint */
  background-color: rgba(255, 255, 255, 0.25);
}

/* LAYER 3: The Content (Top Layer) */
.content {
  position: relative;
  z-index: 1;
  /* Ensures text is clickable and sharp */
  padding: 50px;
  color: #1a1a1a;
  /* Sharp black/grey for contrast */
}

/* =========================================
   7. PROJECT CONTENT
   ========================================= */

/* --- 1. SETUP --- */
* {
  box-sizing: border-box;
}

.source-material-section,
.impact-section,
.source-material-section,
.data-section,
.project-footer {
  max-width: 100%;
  margin-left: auto;
  /* Centers it horizontally */
  margin-right: auto;
  /* Centers it horizontally */
  padding-left: 2rem;
  /* Safe space on the left */
  padding-right: 2rem;
  /* Safe space on the right */
  width: 100%;
}

.project-header {
  text-align: center;
  /* Centers everything */
  padding: 4rem 0 3rem 0;
  /* Big spacing top and bottom */
  margin: 0 auto;
  /* Centers the block itself */
}

.tags-row {
  display: flex;
  justify-content: center;
  /* Centers the tags */
  gap: 10px;
  /* Space between tags */
  margin-bottom: 1.5rem;
  /* Space between tags and title */
  flex-wrap: wrap;
  /* wrap if screen is small */
}

.tag {
  background-color: #E4EBF3;
  color: #43464D;
  padding: 6px 16px;
  /* Plumps up the pill */
  border-radius: 50px;
  /* Makes it fully round */
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- 2. THE STITCHED DIVIDER --- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 3rem auto;
  width: 100%;
  max-width: 400px;
}

/* The Dashed Lines (Left and Right) */
.section-divider::before,
.section-divider::after {
  content: "";
  flex: 1;
  border-bottom: 2px dashed #E4EBF3;
}

/* The Middle Symbol (The "Knot") */
.section-divider .knot {
  padding: 0 15px;
  color: #699ECD;
  font-size: 1.2rem;
  font-family: monospace;
}

/* --- 3. THE "FULL" CARD DESIGN --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  width: 100%;
  margin-top: 2rem;
}

.stitch-card {
  background-color: #FFFFFF;
  border: 2px dashed #E0E0E0;
  border-radius: 24px;
  padding: 30px;
  /* Layout inside the card */
  display: flex;
  flex-direction: column;
  /* Stack icon on top of text */
  text-align: left;
  height: 100%;
  /* Ensures all 3 cards are same height */
  box-sizing: border-box;
}

/* The Middle Card */
.highlight-card {
  background-color: #E4EBF3;
  border: 2px solid #E4EBF3;
}

.highlight-card h3,
.highlight-card p,
.highlight-card small,
.highlight-card .strong {
  color: black;
}

/* --- 4. ICONS --- */
.icon-box {
  width: 48px;
  height: 48px;
  background-color: #F8F9FB;
  color: black;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}


/* --- 5. PDF SECTION STYLING --- */
.source-material-section {
  margin-top: 2rem;
  /* Space above the PDF section */
}

.project-header {
  padding: 40px 16px;
}

.pdf-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.pdf-window {
  width: 100%;
  height: 600px;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: 8px;
  padding: 5px;
}

.project-footer {
  margin-top: 3rem;
  text-align: center;
  padding-bottom: 3rem;
}

/* =========================================
   7B. LINKEDIN POST GALLERY
   ========================================= */

/* --- TABBY TABS STYLING --- */

/* The List Container */
[data-tabs] {
  list-style: none;
  padding-bottom:20px;
  margin: 20px auto 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  border-bottom: 1px solid #e2e8f0;
  max-width: 1200px;
}

/* The Individual List Items */
[data-tabs] li {
  margin-bottom: -1px; /* Overlap the border */
}

/* The Links (The actual Tabs) */
[data-tabs] a {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  font-family: "Playpen Sans", sans-serif;
  font-size: 1.1rem;
  color: #64748b;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  margin-bottom: 20px;
}

/* Hover State */
[data-tabs] a:hover {
  color: #0f172a;
}

/* THE ACTIVE STATE (Tabby adds aria-selected="true") */
[data-tabs] a[aria-selected="true"] {
  color: #0f172a;
  font-weight: bold;
  border-bottom: 3px solid #0f172a; /* The active underline */
}

/* Hide content that is not active */
[hidden] {
  display: none !important;
}

/* --- CONTAINER --- */
.linkedin-gallery-section {
  max-width: 1000px;
  margin: 20px auto;
  padding: 0 20px;
}

/* --- THE GRID LAYOUT --- */
.carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  /* Bigger gap for a cleaner look */
}

/* --- CARD DESIGN --- */
.linkedin-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  /* Keeps images inside the round corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}

.linkedin-card:hover {
  transform: translateY(-5px);
  /* Moves up slightly on hover */
}

.card-header {
  padding: 15px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.post-title {
  font-size: 1.1rem;
  margin: 0;
  color: #0f172a;
  font-weight: 700;
}

/* --- THE SLIDER WINDOW (The "TV Screen") --- */
.slider-window {
  width: 100%;
  aspect-ratio: 4 / 5;
  position: relative;
  background-color: #f1f5f9;
}

/* --- THE SCROLLING TRACK --- */
.slide-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;

  /* Hides scrollbar but allows scrolling */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.slide-track::-webkit-scrollbar {
  display: none;
}

/* --- THE IMAGES --- */
.slide-img {
  flex: 0 0 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

/* --- THE "SWIPE" BUTTON --- */
.slide-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  opacity: 0.8;
}

/* --- MOBILE RESPONSIVENESS --- */
@media screen and (max-width: 767px) {
  .carousel-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* =========================================
   8. LINE CHART
   ========================================= */

/* --- MULTI-LINE CHART STYLING --- */

.line-path {
  fill: none;
  stroke-width: 3px;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Specific Colors for each Company */
.line-Lion {
  stroke: #FF6B6B;
}

/* Soft Red */
.line-Olio {
  stroke: #4ECDC4;
}

/* Teal */
.line-Festo {
  stroke: #FFE66D;
}

/* Yellow */

/* Axis Styling */
.y-axis-label {
  fill: #666;
  font-size: 11px;
}

.x-axis-text {
  font-size: 10px;
  fill: #888;
}

.domain,
.tick line {
  stroke: #ddd;
}

/* Softer grid lines */

/* Legend Styling */
.legend {
  font-size: 12px;
  font-family: sans-serif;
  cursor: pointer;
}

.legend-dot {
  stroke-width: 2px;
}

/* TOOLTIP STYLES */

/* The vertical line that follows the mouse */
.hover-line {
  stroke: #999;
  stroke-width: 1px;
  stroke-dasharray: 5 5;
  opacity: 0;
  pointer-events: none;
}

----

/* --- LAYOUT GRID --- */
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* 3 Columns */
  gap: 15px;
  margin-top: 30px;
  width: 100%;
}

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

  /* Stack on mobile */
}

/* --- CHART TEXT --- */
.brand-header {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- SHARED TOOLTIP --- */
#global-tooltip {
  position: absolute;
  opacity: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 12px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  pointer-events: none;
  /* Mouse ignores it */
  font-size: 12px;
  border-radius: 8px;
  z-index: 100;
  font-family: sans-serif;
  transition: opacity 0.1s, top 0.1s, left 0.1s;
}

.tooltip-date {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
  color: #333;
}

.tooltip-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 3px;
}

.color-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

/* =========================================
   9. AIRBNB
   ========================================= */

/* --- SECTIONS --- */
.section-white {
  padding: 60px 0;
}

.section-gray {
  padding: 60px 0;
  background: rgba(248, 249, 250, 0.5);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

/* --- HERO SECTION --- */
.hero-section {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #FF5A5F 0%, #FF385C 100%);
  /* Airbnb Red Gradient */
  color: white;
}

.hero-section h1 {
  color: white;
  margin-bottom: 10px;
}

.meta-grid {
  display: flex;
  gap: 4rem;
  margin-top: 2rem;
  padding-top: 2rem;
  justify-content: center;
  text-align: center;
}

.meta-grid div {
  color: black;
}

.meta-grid strong {
  color: black;
  display: block;
  margin-bottom: 3px;
}

/* --- METHODOLOGY GRID --- */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.bullet-list li {
  margin-bottom: 10px;
}

/* --- CODE BLOCK STYLING --- */
.code-block {
  background: #2d2d2d;
  color: #f8f8f2;
  padding: 20px;
  border-radius: 8px;
  font-family: 'Courier New', monospace;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  overflow-x: auto;
}

/* --- PERSONA CARDS --- */
.persona-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  /* Responsive Grid */
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.card-header {
  padding: 15px;
  font-weight: bold;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.color-1 {
  background-color: #4ECDC4;
}

.color-2 {
  background-color: #FF6B6B;
}

.color-3 {
  background-color: #FFE66D;
  color: #444;
}

.color-4 {
  background-color: #1A535C;
}

.card-body {
  padding: 20px;
}

.card-body h3 {
  margin-bottom: 5px;
  color: #333;
}

.card-body p {
  color: #666;
  margin: 0;
}

/* --- STRATEGY LIST --- */
.strategy-box {
  background: white;
  border-left: 4px solid #FF5A5F;
  padding-right: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.strategy-item {
  display: flex;
  border-bottom: 1px solid #eee;
  padding: 1rem;
}

.strategy-item:last-child {
  border-bottom: none;
}

.season {
  font-weight: 800;
  width: 150px;
  color: #FF5A5F;
  flex-shrink: 0;
}

.strategy-details {
  width: auto;
  flex-shrink: 0;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .two-col-grid {
    grid-template-columns: 1fr;
  }

  .strategy-item {
    flex-direction: column;
  }

  .season {
    margin-bottom: 5px;
  }
}


/* =========================================
   5. MOBILE RESPONSIVENESS
   ========================================= */


/* --- TABLET & BELOW (max-width: 991px) --- */
@media screen and (max-width: 991px) {

  /* --- hero --- */

  .hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-split {
    max-width: 100%;
    margin-bottom: 40px;
    padding: 0 15px;
  }

  .main-container {
    padding: 1rem 1rem;
  }
}

/* --- MOBILE LANDSCAPE (max-width: 767px) --- */
@media screen and (max-width: 767px) {

  /* --- hero --- */
  .hero-without-image {
    padding: 60px 15px;
  }

  .hero-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-split {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  /* --- feature cards --- */
  .features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* --- resume --- */
  .resume-row {
    display: flex;
    flex-direction: column;
  }

  .resume-side {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
    border-right: none;
  }

  .resume-main {
    width: 100%;
  }

  .main-container {
    padding: 1rem 1rem;
  }

  .source-material-section,
  .impact-section,
  .source-material-section,
  .data-section,
  .project-footer {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0rem;
    padding-right: 0rem;
    width: 100%;
  }

  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .text-content {
    order: 1;
  }

  .code-block {
    order: 2;
    width: 100%;
    margin-top: 10px;
  }

  .code-block pre {
    font-size: 0.85rem;
    padding: 15px;
  }

}

/* --- MOBILE PORTRAIT (max-width: 479px) --- */
@media screen and (max-width: 479px) {

  .container,
  .w-container {
    max-width: none;
  }

  .project-visual,
  .project-visual img {
    display: none;
  }

  .main-container {
    padding: 1rem 1rem;
  }

  .source-material-section,
  .impact-section,
  .source-material-section,
  .data-section,
  .project-footer {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0rem;
    padding-right: 0rem;
    width: 100%;
  }
}