/* ===============================
   Inactive / Legacy Selectors
   Currently unused by HTML or JS.
   Kept here for reference and easy removal.
================================== */
.text-hero {
  font-size: var(--text-hero);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-heading {
  font-size: var(--text-lg);
  line-height: 1.3;
  font-weight: 600;
}

.hero-content .highlight {
  color: #e63946;
}

.thesis-link-card {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #FFF5F5;
  border-left: 6px solid var(--portfolio-blue);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.thesis-link-label {
  color: var(--portfolio-blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-link-card h3 {
  margin: 0.35rem 0 0.5rem;
}

.thesis-link-card p {
  margin: 0;
  color: #555;
}

.about-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
}

.contact-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.bg-portfolio-red {
  background-color: hsl(var(--card));
}

.bg-portfolio-beige {
  background-color: hsl(var(--background));
}

@media (max-width: 520px) {
  .thesis-link-card {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
}

/* ===============================
   Root Variables
================================== */
:root {
  --nav-h: 64px; /* overwritten by JS on load */

  /* Portfolio Color Palette */
  --background: hsl(0, 100%, 95%); /* Warm beige */
  --foreground: 20 15% 15%; /* Dark text */

  --card: hsl(327, 66%, 51%)
      /* Deep red */
  --card-foreground: 0 0% 100%; /* White text */

  --primary: 327 100% 26%;
  --primary-foreground: 0 0% 100%;

  --secondary: 45 45% 80%;
  --secondary-foreground: 20 15% 15%;

  --muted: 35 20% 88%;
  --muted-foreground: 20 15% 35%;

  --accent: 24 62% 58%;
  --accent-foreground: 20 15% 15%;

  --border: 35 15% 85%;
  --input: 35 15% 90%;
  --ring: 327 100% 26%;

  /* Custom Portfolio Variables */
  --portfolio-beige: 35 25% 92%;
  --portfolio-deep-purple: #D62E91;
  --portfolio-blue: #5175D6;
  --portfolio-warm-white: 45 45% 96%;
  --portfolio-dark: 20 15% 15%;

  /* Typography Scale */
  --text-hero: 4.5rem;
  --text-xl: 2.5rem;
  --text-lg: 1.5rem;
  --text-base: 1rem;
  --text-sm: 0.875rem;

  /* Shared case study system */
  --case-bg: #fffafa;
  --case-surface: rgba(255, 255, 255, 0.78);
  --case-surface-strong: #ffffff;
  --case-text: #172033;
  --case-heading: #10192b;
  --case-text-muted: #4f5869;
  --case-text-soft: #606879;
  --case-caption: #697181;
  --case-border: rgba(33, 44, 67, 0.075);
  --case-border-strong: rgba(33, 44, 67, 0.12);
  --case-radius: 18px;
  --case-radius-sm: 12px;
  --case-shadow: 0 12px 32px rgba(33, 44, 67, 0.055);
  --case-shadow-visual: 0 24px 22px rgba(22, 32, 51, 0.18);
  --case-max-width: 1440px;
  --case-gutter: 64px;
  --case-section-gap: 1.5rem;
  --case-card-padding: clamp(1.5rem, 3vw, 2.25rem);
  --project-accent: var(--portfolio-blue);
  --project-accent-soft: rgba(81, 117, 214, 0.1);
  --project-accent-muted: rgba(81, 117, 214, 0.55);
  --project-accent-border: rgba(81, 117, 214, 0.14);
  --project-accent-secondary: #c85a78;
}

.dark {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --card: 222.2 84% 4.9%;
  --card-foreground: 210 40% 98%;
  --border: 217.2 32.6% 17.5%;
}


/* ===============================
   Base Styles
================================== */
* {
  border-color: hsl(var(--border));
  box-sizing: border-box;
}

body {
  background-color: #FFEFEF;
  color: hsl(var(--foreground));
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}


a {
  text-decoration: none;
  color: inherit;
}
/* ===============================
   Navbar
================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 3000;
  padding: 1rem 1rem;
  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo a {
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  color: #222;
}
.nav-logo span { color: var(--portfolio-blue); }

.nav-logo:hover span {
  color: #c85a78;;
}

/* Desktop Links */
.nav-links.desktop {
  display: flex;
  gap: 2rem;
  margin-right: 2rem;
}

.nav-links.mobile {
  display: none;
}

.nav-links.desktop a {
  text-decoration: none;
  font-weight: bold;
  color: #222;
  transition: color 0.2s ease;
}
.nav-links.desktop a:hover { color: var(--portfolio-blue); }

/* Mobile Toggle */
.nav-toggle {
  display: none;
  font-size: 1.8rem;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* Mobile Dropdown */
@media (max-width: 768px) {
  .nav-links.desktop { display: none; }
  .nav-toggle { display: block; }
  .nav-container {
    height: 30px;
  }
  #nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    z-index: 2999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-bottom: 2rem;

    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    opacity: 0;
    transform: translateY(-30px);
    pointer-events: none;
    transition: opacity .5s ease, transform .5s ease;
  }
  #nav-links.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  #nav-links a {
    display: block;
    width: 100%;
    padding: 4px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: #222;
    transition: color 0.2s ease;
  }
  #nav-links a:hover { color: var(--portfolio-blue); }
}


/* ===============================
   Typography Helpers
================================== */
.text-display {
  font-size: var(--text-xl);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: -20px;
  gap:20px;
  padding-top:30px;
  padding-bottom:10px;

}
.text-digital {
  background: url('images/heroSpecial.jpg') repeat-y center top;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}


/* ===============================
   Hero Section
================================== */
.hero-wrapper {
background: url('images/heroBackground.png') repeat center top;
  background-size: cover; /* optional if you want it to stretch */
  width: 100%;
  min-height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
  border-bottom: 1px solid hsl(var(--card)); /* 👈 border here */
  box-shadow: 0 5px 10px -5px rgba(0,0,0,0.5);


}

/* keep your layout exactly like before */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: auto;
  gap: 2rem;
  width: 100%;
}

.hero-content {
  flex: 1;
}



.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-content p {
  font-size: 1.2rem;
  max-width: 500px;
  color: #333;
}
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}
.hero-image img {
  width: 500px;
  height: 650px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}


/* ===============================
   Portfolio Cards
================================== */

.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.project-link {
  text-decoration: none;
}
.project-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 250px;
  width: 100%;
  padding: 1.5rem;
  background-color: #c85a78;
  color: #fff9f9;
  border-radius: 10px;
  box-shadow: 0 5px 10px -5px rgba(0,0,0,0.5);
  overflow: hidden;
  transition: transform 0.2s ease;
}
.project-card:hover { transform: translateY(-4px); background-color: #9C465D; }
.project-card:hover h2 { color: #E5AEC4; }

.project-text { flex: 1; padding-right: 1rem; }
.project-card h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.project-card p { font-size: 1rem; }

.project-image {
  flex: 0 0 35%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
}
.project-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}


/* ===============================
   Case Study Pages
================================== */
.case-study {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding: 2rem 1rem;
}
.header {
  text-align: center;
  margin-bottom: 2rem;
}
.header h1 {
  font-size: 2rem;
  font-weight: bold;
}
.intro-text img {
  width: 120px;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.intro-text {
  flex: 1;
}

.intro-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.intro-image img {
  max-width: 100%;
  max-height: 50vh;
  object-fit: contain;
}
.intro h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.intro p { font-size: 1rem; color: #555; }

.section { margin: 2rem 0; }
.section h3 { font-size: 1.2rem; margin-bottom: .5rem; }


/* ===============================
   Design Process
================================== */
.timeline-role-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  
}
.box {
  flex: 1 1 250px;
  border-radius: 10px;
  padding: 1.5rem;
  background-color: #FFF5F5;
  border-left: 6px solid var(--portfolio-blue);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.design-process { text-align: center; }
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  
}
.step {
  flex: 1 1 150px;
  padding: 1.5rem;
  border-radius: 10px;
  background-color: #FFF5F5;
  border-left: 6px solid var(--portfolio-blue);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}
.step h4 { margin: 0 0 .5rem; }

/* ===============================
   Statistics Dashboard
================================== */
.stats-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}

.stat-card {
  min-width: 0;
  min-height: 145px;
  padding: 1.25rem;
  background: var(--case-surface-strong);
  border: 1px solid var(--case-border);
  border-top: 4px solid var(--project-accent);
  border-radius: var(--case-radius-sm);
  box-shadow: var(--case-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(33, 44, 67, 0.09);
}

.task-card {
  min-width: 0;
  min-height: 145px;
  padding: 1.25rem;
  background: var(--case-surface-strong);
  border: 1px solid var(--case-border);
  border-top: 4px solid var(--project-accent);
  border-radius: var(--case-radius-sm);
  box-shadow: var(--case-shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.task-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(33, 44, 67, 0.09);
}

.task-card h4 {
  margin: 0;
  color: var(--project-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.task-card p {
  margin: 0.75rem 0 1rem;
  color: var(--case-text);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.4;
}

.task-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
}

.task-metric {
  padding: 0.65rem 0.75rem;
  background: var(--project-accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.task-metric span {
  color: var(--case-text-soft);
  font-size: 0.75rem;
  font-weight: 600;
}

.task-metric strong {
  color: var(--project-accent);
  font-size: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.task-result {
  margin-top: auto;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
}

.task-result.success {
  background: var(--project-accent-soft);
  color: var(--project-accent);
}

.task-stat {
  margin-top: 0.65rem;
  color: var(--case-text-soft);
  font-size: var(--text-sm);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--case-text-soft);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.stat-value {
  color: var(--project-accent);
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-detail {
  color: var(--case-text-soft);
  font-size: var(--text-sm);
  line-height: 1.4;
}

.stat-card-highlight {
  background: var(--project-accent-secondary);
  border-color: transparent;
  border-top-color: color-mix(in srgb, var(--project-accent-secondary) 70%, #000);
  color: #fff;
}

.stat-card-highlight .stat-label,
.stat-card-highlight .stat-detail {
  color: #FFF5F5;
}

.stat-card-highlight .stat-value {
  color: #fff;
}

.content-section {
  display: flex;
  align-items: flex-start;
  gap: 20px; /* spacing between text and images */
  margin-bottom: 5px;
}

.text-content {
  flex: 1;
}

/* ===============================
   Participant Quotes
================================== */
.participant-quote {
  position: relative;
  margin: 1.5rem 0;
  padding: 1.5rem 1.5rem 1.25rem 4.25rem;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #FFF5F5 0%,
    rgba(81, 117, 214, 0.09) 100%
  );
  border: 0;
  border-left: 6px solid #C85A78;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(81, 117, 214, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.participant-quote::before {
  content: "\201C";
  position: absolute;
  top: 0.45rem;
  left: 1.15rem;
  color: var(--portfolio-blue);
  font-family: Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
}

.participant-quote:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(81, 117, 214, 0.18);
}

.participant-quote p {
  margin: 0 0 0.8rem;
  color: #333;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.55;
}

.participant-quote cite {
  display: inline-block;
  color: #9C465D;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ===============================
   AI Prompt Card
================================== */
.prompt-card {
  margin-top: 1.5rem;
  overflow: hidden;
  background: var(--case-surface-strong);
  border: 1px solid var(--case-border);
  border-top: 4px solid var(--project-accent);
  border-radius: var(--case-radius-sm);
  box-shadow: var(--case-shadow);
}

.prompt-card-header {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--project-accent-border);
}

.prompt-card-kicker {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--project-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-card h4 {
  margin: 0;
  color: var(--case-text);
  font-size: 1.15rem;
}

.prompt-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: prompt-screen;
}

.prompt-list li {
  counter-increment: prompt-screen;
  position: relative;
  padding: 1rem 1.25rem 1rem 4rem;
  border-bottom: 1px solid var(--case-border);
}

.prompt-list li:last-child {
  border-bottom: 0;
}

.prompt-list li::before {
  content: counter(prompt-screen, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  left: 1.25rem;
  color: var(--project-accent);
  font-size: 0.8rem;
  font-weight: 800;
}

.prompt-list strong,
.prompt-list span {
  display: block;
}

.prompt-list strong {
  margin-bottom: 0.25rem;
  color: var(--case-text);
  font-size: var(--text-sm);
}

.prompt-list span {
  color: var(--case-text-soft);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.thesis-link-button {
  flex: 0 0 auto;
  padding: 0.8rem 1rem;
  background: var(--project-accent);
  color: #fff;
  border-radius: var(--case-radius-sm);
  font-size: var(--text-sm);
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.thesis-link-button:hover {
  background: var(--project-accent-secondary);
  transform: translateY(-2px);
}

.thesis-link-button span {
  margin-left: 0.35rem;
}

/* ===============================
   Images & Videos in Steps
================================== */
.step-image {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: start; /* 👈 Viktigt: inte stretch */
  justify-items: center; /* centrerar om bilden är smalare */
}
.step-image-mobile {
  display: flex;
  justify-content: center; /* centers the images horizontally */
  align-items: flex-start; /* keeps top aligned */
  gap: 5px; /* space between images */
}
.step-image-mobile-special {
  display: flex;
  justify-content: center; /* centers the images horizontally */
  align-items: flex-start; /* keeps top aligned */
  gap: 5px; /* space between images */
}

.step-image-mobile img,
.step-image-mobile video {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
    max-height: 350px; /* valfri begränsning */
    max-width: 500px;
}

.step-image-mobile-special img,
.step-image-mobile-special video {
  height: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
    max-height: 350px; /* valfri begränsning */
    max-width: 500px;
}

.step-image img,
.step-image video {
  width: 100%;
  height: auto;     /* behåller proportioner */
  max-height: 300px; /* valfri begränsning */
  object-fit: contain; /* visar hela bilden */
  display: block;
}

@media (max-width: 768px) {
  .content-section {
    flex-direction: column; /* Stack text and image vertically */
    align-items: stretch;   /* Allow full width */
  }

  .step-image.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }

  .step-image.four img {
    width: 100%;
    max-height: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-image-mobile {
    flex-direction: column; /* Stack images vertically */
    gap: 10px;
    margin-top: 10px;
  }

  .step-image-mobile img,
  .step-image-mobile video {
    max-width: 75%;         /* Reduce image size */
    max-height: 250px;      /* Optional: smaller height */
    margin: 0 auto;         /* Center images */
  }
  .step-image-mobile-special img,
  .step-image-mobile-special video {
    max-width: 75%;         /* Reduce image size */
    max-height: 250px;      /* Optional: smaller height */
  }
}

@media (max-width: 520px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .participant-quote {
    padding: 1.25rem 1rem 1.1rem 3.25rem;
  }

  .participant-quote::before {
    left: 0.75rem;
    font-size: 3.25rem;
  }

  .participant-quote p {
    font-size: 1rem;
  }

  .thesis-link-button {
    text-align: center;
  }

  .prompt-list li {
    padding: 1rem 1rem 1rem 3.5rem;
  }

  .prompt-list li::before {
    left: 1rem;
  }

  .stat-card {
    min-height: 130px;
  }

  .task-card {
    min-height: 150px;
  }
}

/* ===============================
   Expertise Section
================================== */

.about-text{
  font-size: 1.2rem;
  color: #333;
}

.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.expertise-list > li {
  width: 400px;
  height: 200px;
  flex: 0 0 auto;
  padding: 1.5rem;
  background-color: #FFF5F5;
  border-left: 6px solid var(--portfolio-blue);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.expertise-list strong {
  display: block;
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
}
.expertise-list ul {
  list-style-type: disc;
  padding-left: 1rem;
color: #555}
.expertise-list ul li {
  font-size: var(--text-sm);
  margin-bottom: 0.3rem;
}
 .link{
  a {
    color: #9C465D;
  }
 }

/* ===============================
   Connect
================================== */

/* Container för kontaktkort */
.contact-grid {
  margin-top: -20px;
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px; /* mellanrum mellan korten */
  flex-wrap: wrap;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

/* Själva korten */
.contact-card {
  flex: 1 1 calc(33.333% - 20px); /* 3 på rad, minus gap */
  background-color: #C85A78;
  color: white;
  border-radius: 6px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column; /* innehållet på kolumn */
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Ikon storlek */
.contact-card i {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* Titel (EMAIL, LINKEDIN, TWITTER) */
.contact-card h3 {
  font-size: 0.9rem;
  font-weight: bold;
  margin: 10px 0 5px;
  color: #ddd;
  text-transform: uppercase;
}

/* Länk eller text under */
.contact-card p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.contact-card:hover { transform: scale(1.05,1.05); }
.project-card:hover i { color: #E5AEC4; }

/* Responsivitet: när skärmen är mindre än 768px */
@media (max-width: 768px) {
  .contact-card {
    flex: 1 1 100%; /* tar hela bredden */
  }
}

/* ===============================
   Utility Colors
================================== */
.text-portfolio-blue { color: hsl(224 62% 58%); }


/* ===============================
   Responsive Adjustments
================================== */
@media (max-width: 1024px) {
  .project-card { height: 220px; }
  .hero-image img { width: 300px; height: 300px; margin-top: 1.5rem; }
}
@media (max-width: 768px) {
  .hero-content h1 {
  font-size: 2rem;
}
.text-display {
  font-size: 1.5rem;
}

  .hero, .intro { flex-direction: column; text-align: center; }
  .hero-content p, .intro-text { margin: auto; }
  .intro-text { margin-bottom: 1rem; }

  .project-card { height: 200px; }
  .project-card h2 { font-size: 1.2rem; }
  .project-card h3 { font-size: 1rem; }
  .project-card p { font-size: 0.9rem; }
  .about-text{
  font-size: 1rem;
}
}
@media (max-width: 480px) {
  .project-card { height: 180px; }
  .project-card h2 { font-size: 1rem; }
  .project-card p { font-size: 0.85rem; }
}
@media (max-width: 786px) {
  .expertise-list { flex-direction: column; align-items: center; }
  .expertise-list > li { width: 100%; max-width: 500px; }
}

/* ===============================
   Quizhang Case Study
================================== */
.quizhang-page {
  background: var(--case-bg);
  color: var(--case-text);
  --project-accent: var(--portfolio-blue);
  --project-accent-soft: rgba(81, 117, 214, 0.1);
  --project-accent-muted: rgba(81, 117, 214, 0.55);
  --project-accent-border: rgba(81, 117, 214, 0.14);
}

.quizhang-page .navbar {
  background: rgba(255, 250, 250, 0.86);
}

.thesis-page {
  --project-accent: #5175d6;
  --project-accent-soft: rgba(81, 117, 214, 0.11);
  --project-accent-muted: rgba(81, 117, 214, 0.55);
  --project-accent-border: rgba(81, 117, 214, 0.16);
  --project-accent-secondary: #c85a78;
}

.golfgo-page {
  --project-accent: #2f8f66;
  --project-accent-soft: rgba(47, 143, 102, 0.11);
  --project-accent-muted: rgba(47, 143, 102, 0.55);
  --project-accent-border: rgba(47, 143, 102, 0.16);
}

.birdliving-page {
  --project-accent: #7a8f3a;
  --project-accent-soft: rgba(122, 143, 58, 0.12);
  --project-accent-muted: rgba(122, 143, 58, 0.56);
  --project-accent-border: rgba(122, 143, 58, 0.18);
  --project-accent-secondary: #9c465d;
}

.hackspett-page {
  --project-accent: #5175d6;
  --project-accent-soft: rgba(81, 117, 214, 0.1);
  --project-accent-muted: rgba(81, 117, 214, 0.55);
  --project-accent-border: rgba(81, 117, 214, 0.16);
  --project-accent-secondary: #c85a78;
}

.disk-page {
  --project-accent: #daa520;
  --project-accent-soft: rgba(218, 165, 32, 0.14);
  --project-accent-muted: rgba(181, 129, 15, 0.55);
  --project-accent-border: rgba(218, 165, 32, 0.18);
  --project-accent-secondary: #000000;
}

.quizhang-shell {
  width: min(var(--case-max-width), calc(100% - var(--case-gutter)));
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
}

.quizhang-hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 6rem);
}

.quizhang-eyebrow,
.quizhang-step-kicker,
.quizhang-section-heading > span {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--project-accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.quizhang-hero h1,
.quizhang-hero h2 {
  margin: 0;
  color: var(--case-heading);
  letter-spacing: -0.045em;
}

.quizhang-hero h1 {
  font-size: clamp(3rem, 5vw, 5.25rem);
  line-height: 0.95;
}

.quizhang-hero h2 {
  margin-top: 0.35rem;
  font-size: clamp(2.5rem, 4.4vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
}

.quizhang-hero-copy > p {
  max-width: 650px;
  margin: 2rem 0;
  color: var(--case-text-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.quizhang-hero-visual {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.quizhang-hero-shape {
  position: absolute;
  width: 88%;
  aspect-ratio: 1.25;
  background: var(--project-accent-soft);
  border-radius: 48% 52% 42% 58% / 53% 42% 58% 47%;
  transform: rotate(-5deg);
}

.quizhang-hero-visual img {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: 600px;
  object-fit: contain;
  filter: drop-shadow(var(--case-shadow-visual));
}

.quizhang-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.quizhang-meta-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 0.75rem;
  align-items: start;
}

.quizhang-icon,
.quizhang-story-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--project-accent);
}

.quizhang-icon svg,
.quizhang-story-icon svg,
.quizhang-process-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.quizhang-meta-item strong,
.quizhang-meta-item span,
.quizhang-meta-item small {
  display: block;
}

.quizhang-meta-item strong {
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quizhang-meta-item span {
  color: var(--case-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.quizhang-meta-item small {
  margin-top: 0.15rem;
  color: var(--case-caption);
}

.quizhang-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.5rem;
}

.quizhang-tags span {
  padding: 0.55rem 0.9rem;
  background: var(--case-surface-strong);
  border: 1px solid var(--project-accent-border);
  border-radius: 999px;
  color: var(--case-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.quizhang-process,
.quizhang-project-intro,
.quizhang-story-card,
.quizhang-reflection {
  background: var(--case-surface);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius);
  box-shadow: var(--case-shadow);
}

.quizhang-process {
  margin: 2rem 0;
  padding: clamp(2rem, 4vw, 3.5rem);
}

.quizhang-section-heading {
  max-width: 720px;
}

.quizhang-section-heading h2,
.quizhang-project-intro h2,
.quizhang-story-card h2,
.quizhang-reflection h2 {
  margin: 0;
  color: var(--case-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.025em;
}

.quizhang-section-heading p {
  margin: 0.75rem 0 0;
  color: var(--case-text-soft);
  line-height: 1.65;
}

.quizhang-process-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.quizhang-process-step {
  position: relative;
  text-align: center;
}

.quizhang-process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  left: calc(50% + 47px);
  width: calc(100% - 70px);
  border-top: 2px dotted rgba(96, 104, 121, 0.42);
}

.quizhang-process-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  padding: 18px;
  display: grid;
  place-items: center;
  background: var(--project-accent-soft);
  border-radius: 50%;
  color: var(--project-accent);
}

.quizhang-process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quizhang-process-step p {
  margin: 0 auto;
  max-width: 180px;
  color: var(--case-text-soft);
  font-size: 0.82rem;
  line-height: 1.55;
}

.quizhang-method-note {
  margin-top: 2.5rem;
  border-top: 1px solid var(--case-border);
}

.quizhang-method-note summary {
  padding-top: 1.25rem;
  color: var(--project-accent);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}

.quizhang-method-note p {
  max-width: 900px;
  color: var(--case-text-soft);
  line-height: 1.65;
}

.quizhang-project-intro {
  margin: 2rem 0;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.quizhang-step-number {
  color: var(--project-accent-muted);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  opacity: 0.44;
}

.quizhang-project-intro p,
.quizhang-story-copy > p,
.quizhang-reflection p {
  color: var(--case-text-muted);
  line-height: 1.7;
}

.quizhang-project-intro p {
  max-width: 980px;
  margin-bottom: 0;
}

.quizhang-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.quizhang-story-card {
  min-width: 0;
  padding: var(--case-card-padding);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.quizhang-story-wide {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.15fr) minmax(220px, 0.55fr);
  align-items: center;
  margin: 1.5rem 0;
}

.quizhang-story-title {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.quizhang-story-title > div > span {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--project-accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.quizhang-story-copy > p:last-child {
  margin-bottom: 0;
}

.quizhang-figure {
  min-width: 0;
  margin: 0;
}

.quizhang-figure img {
  width: 100%;
  height: 250px;
  display: block;
  object-fit: cover;
  border-radius: var(--case-radius-sm);
}

.quizhang-figure figcaption {
  margin-top: 0.55rem;
  color: var(--case-caption);
  font-size: 0.72rem;
  line-height: 1.4;
}

.quizhang-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quizhang-image-pair .quizhang-figure img {
  height: 230px;
}

.quizhang-final-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.quizhang-final-gallery .quizhang-figure img {
  height: 220px;
  object-fit: contain;
  background: #f4f2f5;
}

.quizhang-page .participant-quote {
  height: fit-content;
  margin: 0;
  padding: 2.5rem 1.35rem 1.35rem;
  background: var(--project-accent-soft);
  border: 0;
  box-shadow: none;
}

.quizhang-page .participant-quote::before {
  top: 0.6rem;
  left: 1.15rem;
  font-size: 3.5rem;
}

.quizhang-page .participant-quote p {
  font-size: 1rem;
  line-height: 1.6;
}

.quizhang-page .participant-quote:hover {
  transform: none;
  box-shadow: none;
}

.quizhang-reflection {
  margin-top: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.75rem);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: start;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 18%, var(--project-accent-soft), transparent 34%),
    linear-gradient(135deg, var(--project-accent-soft), rgba(255, 255, 255, 0.82) 48%, var(--case-surface));
}

.quizhang-reflection .quizhang-story-icon {
  width: 52px;
  height: 52px;
  padding: 10px;
  background: var(--project-accent-soft);
  border-radius: 50%;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  justify-self: start;
}

.quizhang-reflection > div {
  grid-column: 2;
  min-width: 0;
}

.quizhang-reflection .thesis-link-button {
  grid-column: 3;
  align-self: start;
  justify-self: end;
}

.quizhang-reflection p {
  margin-bottom: 0;
}

.quizhang-page footer {
  color: var(--case-text-soft);
  font-size: 0.8rem;
}

@media (max-width: 1120px) {
  .quizhang-hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }

  .quizhang-hero-visual {
    min-height: 480px;
  }

  .quizhang-story-wide {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 1fr);
  }

  .quizhang-story-wide .participant-quote {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .quizhang-shell {
    width: min(100% - 36px, 760px);
    padding-top: calc(var(--nav-h) + 2.5rem);
  }

  .quizhang-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .quizhang-hero-copy {
    max-width: 700px;
  }

  .quizhang-hero-visual {
    min-height: 430px;
  }

  .quizhang-process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .quizhang-process-step::after {
    display: none;
  }

  .quizhang-story-grid,
  .quizhang-story-wide {
    grid-template-columns: 1fr;
  }

  .quizhang-story-wide .participant-quote {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .quizhang-shell {
    width: min(100% - 24px, 560px);
    padding-bottom: 2rem;
  }

  .quizhang-hero h1 {
    font-size: 3rem;
  }

  .quizhang-hero h2 {
    font-size: 2.2rem;
    line-height: 1.05;
  }

  .quizhang-hero-copy > p {
    margin: 1.4rem 0;
    font-size: 1rem;
  }

  .quizhang-meta {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .quizhang-hero-visual {
    min-height: 300px;
  }

  .quizhang-hero-shape {
    width: 96%;
  }

  .quizhang-process,
  .quizhang-project-intro,
  .quizhang-story-card,
  .quizhang-reflection {
    border-radius: 14px;
  }

  .quizhang-process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quizhang-process-step:last-child {
    grid-column: 1 / -1;
  }

  .quizhang-project-intro {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .quizhang-step-number {
    font-size: 2.4rem;
  }

  .quizhang-image-pair,
  .quizhang-final-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quizhang-image-pair .quizhang-figure img,
  .quizhang-final-gallery .quizhang-figure img {
    height: 180px;
  }

  .quizhang-figure img {
    height: 220px;
  }

  .quizhang-reflection {
    grid-template-columns: 1fr;
  }

  .quizhang-reflection .quizhang-story-icon,
  .quizhang-reflection > div,
  .quizhang-reflection .thesis-link-button {
    grid-column: auto;
    grid-row: auto;
    justify-self: start;
  }

  .quizhang-reflection .thesis-link-button {
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .quizhang-process-flow {
    grid-template-columns: 1fr;
  }

  .quizhang-process-step:last-child {
    grid-column: auto;
  }

  .quizhang-image-pair .quizhang-figure img,
  .quizhang-final-gallery .quizhang-figure img {
    height: 145px;
  }
}

/* ===============================
   Thesis Case Study
================================== */
.thesis-page .thesis-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.15fr);
}

.thesis-page .thesis-hero-visual img {
  width: min(100%, 690px);
  max-height: 610px;
}

.thesis-research-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, 0.8fr);
  align-items: center;
  margin: 1.5rem 0;
}

.thesis-metric-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thesis-metric-summary > div,
.thesis-testing-facts article {
  min-width: 0;
  padding: 1.25rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
  text-align: center;
}

.thesis-metric-summary strong,
.thesis-testing-facts strong {
  display: block;
  color: var(--project-accent);
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  line-height: 1;
}

.thesis-metric-summary span,
.thesis-testing-facts span,
.thesis-testing-facts small {
  display: block;
}

.thesis-metric-summary span,
.thesis-testing-facts span {
  margin-top: 0.6rem;
  color: var(--case-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.thesis-prototype-card,
.thesis-testing-card,
.thesis-results-card {
  margin: 1.5rem 0;
}

.thesis-prototype-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.85fr) minmax(0, 1.3fr);
  align-items: start;
}

.thesis-page .prompt-card {
  margin: 0;
  max-height: 580px;
  overflow: auto;
  border-radius: var(--case-radius-sm);
}

.thesis-page .prompt-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.thesis-prototype-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.thesis-prototype-gallery .quizhang-figure img {
  height: 255px;
  object-fit: contain;
  background: #f6f3f7;
}

.thesis-testing-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, 0.9fr);
  align-items: start;
}

.thesis-testing-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thesis-testing-facts small {
  margin-top: 0.25rem;
  color: var(--case-caption);
  font-size: 0.7rem;
  line-height: 1.4;
}

.thesis-measure-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.thesis-measure-list div {
  padding: 1rem 1.1rem;
  border: 1px solid var(--project-accent-border);
  border-radius: var(--case-radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.thesis-measure-list strong,
.thesis-measure-list span {
  display: block;
}

.thesis-measure-list strong {
  color: var(--project-accent);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thesis-measure-list span {
  margin-top: 0.35rem;
  color: var(--case-text-soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

.thesis-results-card .stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thesis-results-card .stat-card,
.thesis-results-card .task-card {
  min-height: 190px;
}

.thesis-results-card .task-card h3 {
  margin: 0;
  color: var(--project-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.thesis-misclick-card {
  grid-column: span 1;
}

.thesis-reflection {
  align-items: start;
}

.thesis-reflection .thesis-link-button {
  align-self: start;
}

@media (max-width: 1180px) {
  .thesis-page .thesis-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }

  .thesis-prototype-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-prototype-gallery {
    grid-column: 1 / -1;
  }

  .thesis-prototype-gallery .quizhang-figure img {
    height: 300px;
  }
}

@media (max-width: 900px) {
  .thesis-page .thesis-hero,
  .thesis-research-card,
  .thesis-testing-card {
    grid-template-columns: 1fr;
  }

  .thesis-results-card .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-reflection {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .thesis-reflection .thesis-link-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .thesis-page .thesis-hero h1 {
    font-size: 2.65rem;
    line-height: 1;
  }

  .thesis-page .thesis-hero h2 {
    font-size: 2rem;
  }

  .thesis-metric-summary,
  .thesis-testing-facts,
  .thesis-measure-list {
    grid-template-columns: 1fr;
  }

  .thesis-prototype-card {
    grid-template-columns: 1fr;
  }

  .thesis-prototype-gallery {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thesis-prototype-gallery .quizhang-figure img {
    height: 210px;
  }

  .thesis-results-card .stats-grid {
    grid-template-columns: 1fr;
  }

  .thesis-results-card .stat-card,
  .thesis-results-card .task-card {
    min-height: 165px;
  }

  .thesis-reflection {
    grid-template-columns: 1fr;
  }

  .thesis-reflection .thesis-link-button {
    grid-column: auto;
    justify-self: stretch;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .thesis-prototype-gallery .quizhang-figure img {
    height: 175px;
  }
}

/* ===============================
   GolfGo Case Study
================================== */
.golfgo-page .golfgo-hero {
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.2fr);
}

.golfgo-page .golfgo-hero-visual img {
  width: min(100%, 760px);
  max-height: 620px;
}

.golfgo-process-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.75rem;
}

.golfgo-process-flow .quizhang-process-step:not(:last-child)::after {
  width: calc(100% - 55px);
}

.golfgo-research-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.2fr) minmax(220px, 0.55fr);
  align-items: center;
  margin: 1.5rem 0;
}

.golfgo-research-figure img {
  height: 390px;
}

.golfgo-insight-card {
  padding: 1.5rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
}

.golfgo-insight-card span,
.golfgo-insight-card strong {
  display: block;
}

.golfgo-insight-card span {
  color: var(--project-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.golfgo-insight-card strong {
  margin-top: 0.75rem;
  color: var(--case-text);
  font-size: 1.15rem;
  line-height: 1.4;
}

.golfgo-insight-card p {
  margin: 0.75rem 0 0;
  color: var(--case-text-soft);
  font-size: 0.85rem;
  line-height: 1.6;
}

.golfgo-ideation-card,
.golfgo-prototype-card,
.golfgo-pivot-card,
.golfgo-final-card {
  margin: 1.5rem 0;
}

.golfgo-ideation-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
}

.golfgo-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.golfgo-method-grid article {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--project-accent-border);
  border-radius: var(--case-radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.golfgo-method-grid span,
.golfgo-method-grid strong {
  display: block;
}

.golfgo-method-grid span {
  color: var(--project-accent-muted);
  font-size: 1.5rem;
  font-weight: 900;
}

.golfgo-method-grid strong {
  margin-top: 0.8rem;
  color: var(--case-text);
  font-size: 0.9rem;
}

.golfgo-method-grid p {
  margin: 0.5rem 0 0;
  color: var(--case-text-soft);
  font-size: 0.78rem;
  line-height: 1.55;
}

.golfgo-prototype-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(600px, 1.35fr);
  align-items: center;
}

.golfgo-phone-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.golfgo-phone-gallery .quizhang-figure img,
.golfgo-final-gallery .quizhang-figure img {
  height: 510px;
  object-fit: contain;
  background: #f6f3f7;
}

.golfgo-pivot-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.75fr);
  align-items: center;
}

.golfgo-pivot-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.golfgo-pivot-flow > div {
  min-width: 0;
  padding: 1.25rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
  text-align: center;
}

.golfgo-flow-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  display: block;
  color: var(--project-accent);
}

.golfgo-flow-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.golfgo-pivot-flow strong,
.golfgo-pivot-flow small {
  display: block;
}

.golfgo-pivot-flow strong {
  color: var(--case-text);
}

.golfgo-pivot-flow small {
  margin-top: 0.35rem;
  color: var(--case-text-soft);
  font-size: 0.74rem;
  line-height: 1.45;
}

.golfgo-flow-arrow {
  color: var(--project-accent);
  font-size: 2rem;
  font-weight: 300;
}

.golfgo-design-principles {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.golfgo-design-principles span {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--project-accent-border);
  border-radius: 999px;
  color: var(--case-text-muted);
  font-size: 0.75rem;
  font-weight: 700;
}

.golfgo-final-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(560px, 1.3fr);
  align-items: center;
}

.golfgo-final-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.golfgo-reflection {
  margin-top: 1.5rem;
}

@media (max-width: 1180px) {
  .golfgo-page .golfgo-hero {
    grid-template-columns: minmax(0, 1fr) minmax(430px, 1fr);
  }

  .golfgo-research-card {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  }

  .golfgo-insight-card {
    grid-column: 1 / -1;
  }

  .golfgo-prototype-card,
  .golfgo-final-card {
    grid-template-columns: 1fr;
  }

  .golfgo-phone-gallery .quizhang-figure img,
  .golfgo-final-gallery .quizhang-figure img {
    height: 440px;
  }
}

@media (max-width: 900px) {
  .golfgo-page .golfgo-hero,
  .golfgo-research-card,
  .golfgo-ideation-card,
  .golfgo-pivot-card {
    grid-template-columns: 1fr;
  }

  .golfgo-process-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 2rem;
  }

  .golfgo-process-flow .quizhang-process-step::after {
    display: none;
  }

  .golfgo-research-figure img {
    height: 340px;
  }
}

@media (max-width: 640px) {
  .golfgo-page .golfgo-hero h1 {
    font-size: 3rem;
  }

  .golfgo-page .golfgo-hero h2 {
    font-size: 2.2rem;
  }

  .golfgo-method-grid {
    grid-template-columns: 1fr;
  }

  .golfgo-phone-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .golfgo-phone-gallery .quizhang-figure:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.425rem);
    justify-self: center;
  }

  .golfgo-phone-gallery .quizhang-figure img,
  .golfgo-final-gallery .quizhang-figure img {
    height: 330px;
  }

  .golfgo-pivot-flow {
    grid-template-columns: 1fr;
  }

  .golfgo-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .golfgo-final-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .golfgo-process-flow {
    grid-template-columns: 1fr;
  }

  .golfgo-research-figure img {
    height: 260px;
  }

  .golfgo-phone-gallery .quizhang-figure img,
  .golfgo-final-gallery .quizhang-figure img {
    height: 280px;
  }
}

/* ===============================
   BirdLiving Case Study
================================== */
.birdliving-page .birdliving-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.95fr);
}

.birdliving-page .birdliving-hero-visual {
  min-height: 620px;
}

.birdliving-page .birdliving-hero-visual img {
  width: min(74%, 560px);
  max-height: 650px;
}

.birdliving-empathy-card,
.birdliving-define-card,
.birdliving-ideate-card,
.birdliving-build-card,
.birdliving-test-card,
.birdliving-showcase-card {
  margin: 1.5rem 0;
}

.birdliving-empathy-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr) minmax(220px, 0.5fr);
  align-items: center;
}

.birdliving-research-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.birdliving-research-principles article {
  min-width: 0;
  padding: 1.2rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
}

.birdliving-research-principles strong,
.birdliving-research-principles span {
  display: block;
}

.birdliving-research-principles strong {
  color: var(--project-accent);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.birdliving-research-principles span {
  margin-top: 0.55rem;
  color: var(--case-text-soft);
  font-size: 0.77rem;
  line-height: 1.5;
}

.birdliving-ethics-note,
.birdliving-problem-card {
  padding: 1.4rem;
  background: color-mix(in srgb, var(--project-accent-secondary) 10%, white);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
}

.birdliving-ethics-note span,
.birdliving-problem-card span {
  display: block;
  color: var(--project-accent-secondary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.birdliving-ethics-note p {
  margin: 0.75rem 0 0;
  color: var(--case-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
}

.birdliving-define-card {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(430px, 1.1fr) minmax(220px, 0.55fr);
  align-items: center;
}

.birdliving-storyboard img {
  height: 350px;
}

.birdliving-problem-card strong {
  display: block;
  margin-top: 0.75rem;
  color: var(--case-text);
  font-size: 1.1rem;
  line-height: 1.45;
}

.birdliving-ideate-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(600px, 1.3fr);
  align-items: center;
}

.birdliving-image-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.birdliving-image-pair .quizhang-figure img {
  height: 310px;
  object-fit: contain;
  background: #f6f3f7;
}

.birdliving-build-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(620px, 1.35fr);
  align-items: center;
}

.birdliving-build-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 0.85rem;
  align-items: stretch;
}

.birdliving-build-gallery .quizhang-figure img {
  height: 430px;
}

.birdliving-build-gallery .birdliving-portrait-figure img {
  object-fit: cover;
}

.birdliving-test-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(320px, 0.75fr) minmax(360px, 0.85fr);
  align-items: center;
}

.birdliving-test-card .quizhang-figure img {
  height: 300px;
  object-fit: contain;
  background: #f6f3f7;
}

.birdliving-video-figure video {
  width: 100%;
  height: 300px;
  display: block;
  object-fit: cover;
  background: var(--case-text);
  border-radius: var(--case-radius-sm);
}

.birdliving-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(600px, 1.35fr);
  align-items: center;
}

.birdliving-showcase-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.birdliving-showcase-gallery .quizhang-figure img {
  height: 460px;
  object-fit: cover;
}

.birdliving-reflection {
  margin-top: 1.5rem;
}

@media (max-width: 1180px) {
  .birdliving-page .birdliving-hero {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.9fr);
  }

  .birdliving-empathy-card,
  .birdliving-define-card {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
  }

  .birdliving-ethics-note,
  .birdliving-problem-card {
    grid-column: 1 / -1;
  }

  .birdliving-ideate-card,
  .birdliving-build-card,
  .birdliving-showcase-card {
    grid-template-columns: 1fr;
  }

  .birdliving-test-card {
    grid-template-columns: 1fr 1fr;
  }

  .birdliving-test-card .quizhang-story-copy {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .birdliving-page .birdliving-hero,
  .birdliving-empathy-card,
  .birdliving-define-card,
  .birdliving-test-card {
    grid-template-columns: 1fr;
  }

  .birdliving-page .birdliving-hero-visual {
    min-height: 480px;
  }

  .birdliving-page .birdliving-hero-visual img {
    width: min(72%, 500px);
  }

  .birdliving-test-card .quizhang-story-copy {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .birdliving-page .birdliving-hero h1 {
    font-size: 2.8rem;
  }

  .birdliving-page .birdliving-hero h2 {
    font-size: 2rem;
  }

  .birdliving-page .birdliving-hero-visual {
    min-height: 390px;
  }

  .birdliving-research-principles {
    grid-template-columns: 1fr;
  }

  .birdliving-storyboard img {
    height: 230px;
  }

  .birdliving-image-pair,
  .birdliving-showcase-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .birdliving-image-pair .quizhang-figure img {
    height: 190px;
  }

  .birdliving-build-gallery {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .birdliving-build-gallery .quizhang-figure img {
    height: 270px;
  }

  .birdliving-test-card .quizhang-figure img,
  .birdliving-video-figure video {
    height: 230px;
  }

  .birdliving-showcase-gallery .quizhang-figure img {
    height: 300px;
  }
}

@media (max-width: 420px) {
  .birdliving-page .birdliving-hero-visual {
    min-height: 340px;
  }

  .birdliving-page .birdliving-hero-visual img {
    width: 78%;
  }

  .birdliving-build-gallery .quizhang-figure img {
    height: 230px;
  }

  .birdliving-test-card .quizhang-figure img,
  .birdliving-video-figure video {
    height: 200px;
  }

  .birdliving-showcase-gallery .quizhang-figure img {
    height: 250px;
  }
}

/* ===============================
   Portfolio Home
================================== */
.home-page {
  background: #fffafa;
  color: #172033;
}

.home-page .navbar {
  background: rgba(255, 250, 250, 0.86);
}

.home-shell {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.home-hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 3.5rem) 0 4rem;
  display: flex;
  align-items: center;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(460px, 0.8fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.home-eyebrow {
  display: block;
  margin-bottom: 0.9rem;
  color: var(--portfolio-blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.home-hero-copy h1 {
  max-width: 850px;
  margin: 0;
  color: #10192b;
  font-size: clamp(3.5rem, 6.5vw, 7rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.home-hero-copy h1 span {
  color: var(--portfolio-blue);
}

.home-hero-copy > p {
  max-width: 650px;
  margin: 2rem 0;
  color: #4f5869;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.75;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.home-primary-link {
  padding: 0.9rem 1.15rem;
  background:var(--portfolio-blue);
  color: #fff;
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.home-primary-link:hover {
  background: #9C465D;
  transform: translateY(-2px);
}

.home-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.75rem;
}

.home-specialties span,
.home-project-tags span {
  padding: 0.5rem 0.8rem;
  background: #fff;
  border: 1px solid rgba(81, 117, 214, 0.14);
  border-radius: 999px;
  color: #525b6b;
  font-size: 0.72rem;
  font-weight: 650;
}

.home-hero-visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.home-portrait-shape {
  position: absolute;
  width: 92%;
  aspect-ratio: 0.9;
  background: rgba(81, 117, 214, 0.14);
  border-radius: 45% 55% 48% 52% / 55% 42% 58% 45%;
  transform: rotate(4deg);
}

.home-hero-visual img {
  position: relative;
  z-index: 1;
  width: min(80%, 480px);
  height: 610px;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 220px 220px 28px 28px;
  box-shadow: 0 26px 40px rgba(22, 32, 51, 0.16);
}

.home-availability {
  position: absolute;
  right: 3%;
  bottom: 7%;
  z-index: 2;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(33, 44, 67, 0.08);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(33, 44, 67, 0.1);
  color: #3f4859;
  font-size: 0.76rem;
  font-weight: 700;
}

.home-availability > span {
  width: 8px;
  height: 8px;
  margin-right: 0.45rem;
  display: inline-block;
  background: #45a675;
  border-radius: 50%;
}

.home-section {
  padding: clamp(5rem, 9vw, 8rem) 0;
  scroll-margin-top: var(--nav-h);
}

.home-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.55fr);
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}

.home-section-heading h2,
.home-contact-intro h2 {
  max-width: 900px;
  margin: 0;
  color: #172033;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.home-section-heading > p,
.home-contact-intro > p {
  margin: 0;
  color: #606879;
  line-height: 1.7;
}

.home-work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.home-project-card {
  grid-column: 1 / -1;
  min-width: 0;
  min-height: 460px;
  height: 460px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 44, 67, 0.065);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(33, 44, 67, 0.055);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 1.1fr);
  grid-template-rows: minmax(0, 1fr);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-project-card:nth-child(even) .home-project-copy {
  order: 2;
}

.home-project-card:nth-child(even) .home-project-image {
  order: 1;
}

.home-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(33, 44, 67, 0.1);
}

.home-project-featured {
  grid-column: 1 / -1;
  min-height: 460px;
}

.home-project-copy {
  min-width: 0;
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
}

.home-project-index {
  color: rgba(81, 117, 214, 0.45);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.home-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0;
}

.home-project-copy h3 {
  margin: 0;
  color: #172033;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  letter-spacing: -0.035em;
}

.home-project-copy p {
  max-width: 560px;
  margin: 1rem 0 1.5rem;
  color: #5b6474;
  line-height: 1.65;
}

.home-project-copy > span:last-child {
  margin-top: auto;
  color: #172033;
}

.home-project-image {
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
  background: rgba(81, 117, 214, 0.08);
}

.home-project-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-project-card:hover .home-project-image img {
  transform: scale(1.025);
}

.home-project-featured .home-project-image img {
  object-fit: contain;
  padding: 2.5rem;
}

.home-about-section {
  background: rgba(255, 255, 255, 0.48);
}

.home-about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.home-about-image {
  margin: 0;
}

.home-about-image img {
  width: 100%;
  height: 590px;
  display: block;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 18px;
}

.home-about-image figcaption {
  margin-top: 0.75rem;
  color: #697181;
  font-size: 0.75rem;
}

.home-about-copy {
  max-width: 760px;
}

.home-about-copy p {
  color: #4f5869;
  line-height: 1.8;
}

.home-about-copy .home-about-lead {
  color: #172033;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 600;
  line-height: 1.5;
}

.home-about-copy a {
  color: #9C465D;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.home-credentials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.home-credential-card {
  min-width: 0;
  padding: 1.5rem;
  background: rgba(81, 117, 214, 0.06);
  border-radius: 14px;
}

.home-credential-date {
  display: block;
  color: var(--portfolio-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-credential-card h3 {
  margin: 0.8rem 0 0.25rem;
  color: #172033;
  font-size: 1.05rem;
}

.home-credential-card strong {
  display: block;
  color: #4f5869;
  font-size: 0.82rem;
}

.home-credential-card p {
  margin: 0.8rem 0 0;
  color: #606879;
  font-size: 0.8rem;
  line-height: 1.6;
}

.home-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 4rem;
}

.home-capability-card {
  position: relative;
  min-width: 0;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(33, 44, 67, 0.065);
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(33, 44, 67, 0.05);
}

.home-capability-icon,
.home-contact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--portfolio-blue);
}

.home-capability-icon svg,
.home-contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.home-capability-number {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  color: rgba(81, 117, 214, 0.4);
  font-size: 0.78rem;
  font-weight: 900;
}

.home-capability-card h3 {
  margin: 1rem 0 0.5rem;
  color: #172033;
  font-size: 1.2rem;
}

.home-capability-card > p {
  color: #666e7d;
  font-size: 0.86rem;
  line-height: 1.55;
}

.home-capability-card ul {
  margin: 1.2rem 0 0;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(33, 44, 67, 0.08);
  list-style: none;
}

.home-capability-card li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1rem;
  color: #505969;
  font-size: 0.82rem;
}

.home-capability-card li::before {
  content: "";
  position: absolute;
  top: 0.78rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--portfolio-blue);
  border-radius: 50%;
}

.home-contact-section {
  padding-bottom: 4rem;
}

.home-contact-intro {
  max-width: 850px;
  margin-bottom: 2.5rem;
}

.home-contact-intro > p {
  max-width: 600px;
  margin-top: 1.2rem;
}

.home-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-contact-card {
  min-width: 0;
  padding: 1.3rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(33, 44, 67, 0.07);
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(33, 44, 67, 0.08);
}

.home-contact-card > div span,
.home-contact-card > div strong {
  display: block;
}

.home-contact-card > div span {
  margin-bottom: 0.3rem;
  color: var(--portfolio-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact-card > div strong {
  overflow-wrap: anywhere;
  color: #343d4f;
  font-size: 0.82rem;
}

.home-contact-card > span:last-child {
  color: var(--portfolio-blue);
}

.home-page footer {
  color: #606879;
  font-size: 0.8rem;
}

@media (max-width: 1100px) {
  .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.75fr);
    gap: 3rem;
  }

  .home-hero-visual {
    min-height: 600px;
  }

  .home-hero-visual img {
    height: 540px;
  }

  .home-project-card {
    grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  }

  .home-contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .home-shell {
    width: min(100% - 36px, 760px);
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-grid,
  .home-section-heading,
  .home-about-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 720px;
  }

  .home-hero-visual {
    min-height: 560px;
  }

  .home-hero-visual img {
    width: min(72%, 470px);
  }

  .home-section-heading {
    gap: 1.25rem;
  }

  .home-project-card,
  .home-project-featured {
    height: 720px;
    min-height: 720px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 340px;
  }

  .home-project-card:nth-child(even) .home-project-copy,
  .home-project-card:nth-child(even) .home-project-image {
    order: initial;
  }

  .home-about-image {
    max-width: 560px;
  }

  .home-about-image img {
    height: 560px;
  }

  .home-capability-grid {
    grid-template-columns: 1fr;
  }

  .home-credentials {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-shell {
    width: min(100% - 24px, 540px);
  }

  .home-hero {
    padding-top: calc(var(--nav-h) + 2.5rem);
  }

  .home-hero-copy h1 {
    font-size: 3.25rem;
  }

  .home-hero-visual {
    min-height: 460px;
  }

  .home-hero-visual img {
    width: min(82%, 390px);
    height: 430px;
  }

  .home-availability {
    right: 0;
    bottom: 4%;
  }

  .home-section {
    padding: 4.5rem 0;
  }

  .home-project-card,
  .home-project-featured,
  .home-project-card:last-child {
    grid-column: auto;
    height: 640px;
    min-height: 640px;
    grid-template-columns: 1fr;
    grid-template-rows: auto 260px;
  }

  .home-project-featured .home-project-image img {
    padding: 1.5rem;
  }

  .home-about-image img {
    height: 480px;
  }

  .home-contact-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-contact-card > span:last-child {
    display: none;
  }
}

@media (max-width: 390px) {
  .home-hero-copy h1 {
    font-size: 2.8rem;
  }

  .home-hero-visual {
    min-height: 410px;
  }

  .home-hero-visual img {
    height: 385px;
  }

  .home-availability {
    font-size: 0.68rem;
  }
}

/* ===============================
   Studio Hackspett Case Study
================================== */
.hackspett-page .hackspett-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(520px, 1.1fr);
}

.hackspett-page .hackspett-hero-visual img {
  width: min(100%, 720px);
  max-height: 570px;
  object-fit: contain;
}

.hackspett-placeholder-label {
  position: absolute;
  right: 5%;
  bottom: 6%;
  z-index: 2;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(33, 44, 67, 0.1);
  color: #626a7a;
  font-size: 0.68rem;
  font-weight: 700;
}

.hackspett-research-card,
.hackspett-direction-card,
.hackspett-build-card,
.hackspett-business-card {
  margin: 1.5rem 0;
}

.hackspett-research-card {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1.2fr) minmax(220px, 0.5fr);
  align-items: center;
}

.hackspett-research-card .quizhang-figure img {
  height: 380px;
}

.hackspett-insight-card {
  padding: 1.4rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
}

.hackspett-insight-card span,
.hackspett-insight-card strong {
  display: block;
}

.hackspett-insight-card span {
  color: var(--project-accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hackspett-insight-card strong {
  margin-top: 0.75rem;
  color: var(--case-text);
  font-size: 1.05rem;
  line-height: 1.5;
}

.hackspett-direction-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(620px, 1.3fr);
  align-items: center;
}

.hackspett-concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.hackspett-concept-grid article {
  min-width: 0;
  padding: 1.25rem;
  border: 1px solid var(--project-accent-border);
  border-radius: var(--case-radius-sm);
  background: rgba(255, 255, 255, 0.5);
}

.hackspett-concept-grid article > span {
  color: var(--project-accent-muted);
  font-size: 1.35rem;
  font-weight: 900;
}

.hackspett-concept-grid h3 {
  margin: 0.7rem 0 0.4rem;
  color: var(--case-text);
  font-size: 0.9rem;
}

.hackspett-concept-grid p {
  min-height: 60px;
  margin: 0;
  color: var(--case-text-soft);
  font-size: 0.76rem;
  line-height: 1.5;
}

.hackspett-wireframe,
.hackspett-component-stack {
  margin-top: 1rem;
  padding: 0.7rem;
  background: var(--project-accent-soft);
  border-radius: 8px;
}

.hackspett-wireframe i,
.hackspett-component-stack i {
  display: block;
  background: var(--project-accent-muted);
  border-radius: 3px;
}

.hackspett-wireframe i:first-child {
  width: 45%;
  height: 6px;
}

.hackspett-wireframe i:nth-child(2) {
  width: 80%;
  height: 10px;
  margin-top: 8px;
}

.hackspett-wireframe i:nth-child(3),
.hackspett-wireframe i:nth-child(4) {
  width: 100%;
  height: 24px;
  margin-top: 7px;
}

.hackspett-swatch-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hackspett-swatch-row i {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 50%;
}

.hackspett-swatch-row i:nth-child(1) { background: #172033; }
.hackspett-swatch-row i:nth-child(2) { background: #5175D6; }
.hackspett-swatch-row i:nth-child(3) { background: #C85A78; }
.hackspett-swatch-row i:nth-child(4) { background: #FFF5F5; border: 1px solid #ddd; }

.hackspett-component-stack i {
  height: 18px;
}

.hackspett-component-stack i + i {
  margin-top: 7px;
}

.hackspett-component-stack i:nth-child(2) {
  width: 76%;
}

.hackspett-component-stack i:nth-child(3) {
  width: 48%;
}

.hackspett-build-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(600px, 1.35fr);
  align-items: center;
}

.hackspett-build-card .quizhang-figure img {
  height: 410px;
}

.hackspett-tech-list {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hackspett-tech-list span {
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--project-accent-border);
  border-radius: 999px;
  color: var(--case-text-muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.hackspett-business-card {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(640px, 1.35fr);
  align-items: center;
}

.hackspett-service-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.hackspett-service-flow article {
  min-width: 0;
  padding: 1.2rem;
  background: var(--project-accent-soft);
  border: 1px solid var(--case-border);
  border-radius: var(--case-radius-sm);
}

.hackspett-service-flow span,
.hackspett-service-flow strong,
.hackspett-service-flow small {
  display: block;
}

.hackspett-service-flow span {
  color: var(--project-accent-muted);
  font-size: 1.35rem;
  font-weight: 900;
}

.hackspett-service-flow strong {
  margin-top: 0.75rem;
  color: var(--case-text);
  font-size: 0.85rem;
}

.hackspett-service-flow small {
  margin-top: 0.35rem;
  color: var(--case-text-soft);
  font-size: 0.72rem;
  line-height: 1.45;
}

.hackspett-reflection {
  align-items: start;
}

@media (max-width: 1180px) {
  .hackspett-page .hackspett-hero {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  }

  .hackspett-research-card {
    grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
  }

  .hackspett-insight-card {
    grid-column: 1 / -1;
  }

  .hackspett-direction-card,
  .hackspett-build-card,
  .hackspett-business-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hackspett-page .hackspett-hero,
  .hackspett-research-card {
    grid-template-columns: 1fr;
  }

  .hackspett-concept-grid {
    grid-template-columns: 1fr;
  }

  .hackspett-concept-grid p {
    min-height: 0;
  }

  .hackspett-reflection {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hackspett-page .hackspett-hero h1 {
    font-size: 2.75rem;
  }

  .hackspett-page .hackspett-hero h2 {
    font-size: 2rem;
  }

  .hackspett-page .hackspett-hero-visual {
    min-height: 320px;
  }

  .hackspett-placeholder-label {
    right: 0;
    bottom: 2%;
  }

  .hackspett-research-card .quizhang-figure img,
  .hackspett-build-card .quizhang-figure img {
    height: 250px;
  }

  .hackspett-service-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hackspett-reflection {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 420px) {
  .hackspett-service-flow {
    grid-template-columns: 1fr;
  }
}

/* DISK Website Redesign Case Study */
.disk-page .quizhang-shell {
  overflow: hidden;
}

.disk-page .disk-hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.15fr);
  align-items: center;
}

.disk-page .quizhang-step-title,
.disk-page .quizhang-process-card h3 {
  color: #00b7b7;
}

.disk-journey-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}

.disk-journey-line span {
  display: inline-flex;
  align-items: center;
}

.disk-journey-line i {
  width: 34px;
  height: 1px;
  display: inline-block;
  background: linear-gradient(90deg, var(--project-accent), transparent);
}

.disk-hero-visual {
  min-height: 560px;
}

.disk-hero-showcase {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  margin: 0;
  filter: drop-shadow(0 28px 28px rgba(13, 27, 46, 0.18));
}

.disk-hero-showcase img {
  width: 100%;
  max-height: 610px;
  display: block;
  object-fit: contain;
}

.disk-browser-mockup {
  position: relative;
  z-index: 1;
  width: min(100%, 690px);
  padding: 0.85rem;
  border: 1px solid rgba(13, 27, 46, 0.1);
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfb 100%);
  box-shadow: 0 28px 70px rgba(13, 27, 46, 0.16);
}

.disk-final-preview {
  margin: 0 auto;
  transform: rotate(1.5deg);
}

.disk-browser-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem 0.55rem 0.85rem;
}

.disk-browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(13, 27, 46, 0.18);
}

.disk-mock-nav {
  height: 44px;
  border-radius: 14px;
  background:
    linear-gradient(90deg, #12243d 0 26%, transparent 26% 100%),
    repeating-linear-gradient(90deg, rgba(18, 36, 61, 0.16) 0 52px, transparent 52px 74px),
    #edf7f7;
}

.disk-mock-hero {
  margin-top: 0.85rem;
  padding: 1.35rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 183, 183, 0.14), rgba(255, 226, 178, 0.4));
}

.disk-mock-hero span,
.disk-mock-hero strong,
.disk-mock-hero p,
.disk-mock-card-row i {
  display: block;
  border-radius: 999px;
  background: rgba(18, 36, 61, 0.16);
}

.disk-mock-hero span {
  width: 26%;
  height: 10px;
}

.disk-mock-hero strong {
  width: 70%;
  height: 28px;
  margin-top: 0.8rem;
  border-radius: 12px;
  background: rgba(18, 36, 61, 0.75);
}

.disk-mock-hero p {
  width: 48%;
  height: 12px;
  margin-top: 0.75rem;
}

.disk-mock-card-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.disk-mock-card-row i {
  height: 86px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(13, 27, 46, 0.08);
}

.disk-home-preview {
  min-height: 310px;
  background:
    radial-gradient(circle at 22% 18%, rgba(0, 183, 183, 0.18), transparent 34%),
    linear-gradient(135deg, #eefafa, #fff8ed);
}

.disk-home-preview .disk-browser-mockup {
  width: 86%;
  transform: rotate(-2deg);
}

.disk-home-preview .disk-mock-card-row i {
  height: 54px;
}

.disk-feedback-synthesis {
  display: grid;
  gap: 1rem;
}

.disk-synthesis-header {
  padding: 1.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(218, 165, 32, 0.16), rgba(255, 255, 255, 0.76));
  border: 1px solid rgba(13, 27, 46, 0.08);
}

.disk-synthesis-header span {
  color: #b5810f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disk-synthesis-header h3 {
  margin: 0.4rem 0 0;
  color: #12243d;
  font-size: clamp(1.3rem, 2vw, 2rem);
  letter-spacing: -0.035em;
}

.disk-synthesis-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.disk-synthesis-grid article {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.disk-synthesis-grid article span {
  display: inline-grid;
  width: 30px;
  height: 30px;
  margin-bottom: 0.75rem;
  place-items: center;
  border-radius: 50%;
  background: #12243d;
  color: #daa520;
  font-size: 0.7rem;
  font-weight: 900;
}

.disk-synthesis-grid h4 {
  margin: 0;
  color: #12243d;
  font-size: 0.95rem;
}

.disk-synthesis-grid p {
  margin: 0.45rem 0 0;
  color: #596273;
  font-size: 0.82rem;
  line-height: 1.6;
}

.disk-challenge-card,
.disk-discovery-card,
.disk-audit-card,
.disk-components-card,
.disk-structure-card,
.disk-content-card,
.disk-photo-card,
.disk-directions-card,
.disk-principles-card,
.disk-responsive-card,
.disk-comparison-card,
.disk-final-card,
.disk-tools-card,
.disk-profile-card,
.disk-outcome-card {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr);
  align-items: start;
}

.disk-problem-grid,
.disk-feedback-grid,
.disk-component-grid,
.disk-principle-grid,
.disk-comparison-grid,
.disk-showcase-grid,
.disk-photo-grid,
.disk-direction-flow,
.disk-tool-grid,
.disk-outcome-list {
  display: grid;
  gap: 1rem;
}

.disk-problem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.disk-problem-grid article,
.disk-feedback-grid article,
.disk-component-grid article,
.disk-principle-grid article,
.disk-comparison-grid article,
.disk-tool-grid article,
.disk-outcome-list article {
  padding: 1.15rem;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.disk-problem-grid span,
.disk-feedback-grid span,
.disk-component-grid span,
.disk-principle-grid span,
.disk-comparison-grid span,
.disk-tool-grid span,
.disk-outcome-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 0.8rem;
  border-radius: 50%;
  background: rgba(0, 183, 183, 0.12);
  color: #00a5a5;
  font-size: 0.78rem;
  font-weight: 900;
}

.disk-problem-grid h3,
.disk-feedback-grid h3,
.disk-component-grid h3,
.disk-principle-grid h3,
.disk-comparison-grid h3,
.disk-tool-grid h3,
.disk-outcome-list h3,
.disk-direction-flow h3 {
  color: #12243d;
  font-size: 0.95rem;
}

.disk-problem-grid p,
.disk-feedback-grid p,
.disk-component-grid p,
.disk-principle-grid p,
.disk-comparison-grid p,
.disk-tool-grid p,
.disk-outcome-list p,
.disk-direction-flow p {
  margin-top: 0.45rem;
  color: #596273;
  font-size: 0.82rem;
  line-height: 1.65;
}

.disk-annotated-placeholder {
  position: relative;
  min-height: 420px;
  padding: 1rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(0, 183, 183, 0.08), rgba(255, 238, 209, 0.42));
}

.disk-image-slot,
.disk-wide-slot {
  display: grid;
  min-height: 230px;
  place-items: center;
  padding: 1.2rem;
  border: 1px dashed rgba(18, 36, 61, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.36)),
    repeating-linear-gradient(135deg, rgba(0, 183, 183, 0.08) 0 10px, transparent 10px 20px);
  color: #526074;
  text-align: center;
}

.disk-image-slot span,
.disk-wide-slot span {
  color: #12243d;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disk-image-slot small,
.disk-wide-slot small {
  display: block;
  margin-top: 0.35rem;
  color: #6f7788;
  font-size: 0.72rem;
}

.disk-annotated-placeholder > .disk-image-slot {
  min-height: 390px;
  align-content: center;
}

.disk-annotations {
  position: absolute;
  inset: 1.45rem;
  list-style: none;
  pointer-events: none;
}

.disk-annotations li {
  position: absolute;
  max-width: 185px;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  background: #12243d;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 14px 35px rgba(13, 27, 46, 0.18);
}

.disk-annotations li::before {
  content: attr(data-pin);
  display: inline-grid;
  width: 22px;
  height: 22px;
  margin-right: 0.45rem;
  place-items: center;
  border-radius: 50%;
  background: #00c2c2;
  color: #12243d;
  font-size: 0.68rem;
}

.disk-annotations li:nth-child(1) {
  top: 7%;
  left: 5%;
}

.disk-annotations li:nth-child(2) {
  top: 38%;
  right: 6%;
}

.disk-annotations li:nth-child(3) {
  bottom: 9%;
  left: 15%;
}

.disk-severity-table {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.disk-table-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.35fr) repeat(3, minmax(90px, 0.7fr));
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid rgba(13, 27, 46, 0.07);
  color: #5f6878;
  font-size: 0.8rem;
}

.disk-table-row:first-child {
  border-top: 0;
}

.disk-table-head {
  background: rgba(0, 183, 183, 0.1);
  color: #12243d;
  font-weight: 900;
}

.disk-table-row strong {
  color: #12243d;
}

.disk-table-row.is-critical strong {
  color: #d76044;
}

.disk-table-row.is-high strong {
  color: #d89223;
}

.disk-component-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.disk-feedback-grid,
.disk-tool-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-tool-grid article {
  min-height: 170px;
}

.disk-profile-system {
  display: grid;
  gap: 1.2rem;
}

.disk-brand-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

.disk-brand-flow span {
  display: grid;
  min-height: 92px;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: #222222;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.disk-brand-flow span:nth-of-type(2) {
  background: #000000;
  color: #daa520;
}

.disk-brand-flow i {
  color: #daa520;
  font-style: normal;
  font-size: 1.45rem;
  font-weight: 900;
}

.disk-color-system {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.9rem;
}

.disk-color-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.15rem;
  border-radius: 22px;
  overflow: hidden;
}

.disk-color-card strong,
.disk-color-card span,
.disk-color-card small,
.disk-color-card p {
  display: block;
}

.disk-color-card strong {
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.disk-color-card span {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 900;
}

.disk-color-card small {
  margin-top: 0.2rem;
  opacity: 0.76;
  font-size: 0.72rem;
}

.disk-color-card p {
  margin: 1.5rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}

.disk-color-primary-gold,
.disk-color-primary-black {
  grid-column: span 3;
  min-height: 300px;
}

.disk-color-primary-gold {
  background: #daa520;
  color: #000000;
}

.disk-color-primary-black {
  background: #000000;
  color: #daa520;
}

.disk-color-soft-gold {
  grid-column: span 2;
  background: #e0bd64;
  color: #000000;
}

.disk-color-dark-grey {
  grid-column: span 2;
  background: #222222;
  color: #ffffff;
}

.disk-color-grey {
  grid-column: span 2;
  background: #525252;
  color: #ffffff;
}

.disk-ui-context {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1rem;
}

.disk-ui-preview,
.disk-profile-note {
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.08);
}

.disk-ui-preview {
  background:
    linear-gradient(135deg, rgba(218, 165, 32, 0.16), rgba(255, 255, 255, 0.95) 46%),
    #ffffff;
}

.disk-ui-preview > span {
  color: #daa520;
  font-family: "Maven Pro", "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.disk-ui-preview h3 {
  max-width: 560px;
  margin: 0.75rem 0 0;
  color: #000000;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.disk-ui-preview p,
.disk-profile-note p,
.disk-profile-summary {
  color: #525252;
  font-family: "Oxygen", "Inter", sans-serif;
  line-height: 1.65;
}

.disk-ui-preview p {
  max-width: 520px;
  margin: 1rem 0 1.3rem;
}

.disk-ui-preview button {
  border: 0;
  border-radius: 999px;
  background: #daa520;
  color: #000000;
  padding: 0.85rem 1.15rem;
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
}

.disk-profile-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #222222;
}

.disk-profile-note h3 {
  color: #e0bd64;
  font-family: "Montserrat", "Inter", sans-serif;
  font-size: 1.3rem;
  line-height: 1.25;
}

.disk-profile-note p {
  color: rgba(255, 255, 255, 0.78);
}

.disk-type-system {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.disk-type-card {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(34, 34, 34, 0.08);
}

.disk-type-card span {
  display: block;
  margin-bottom: 1rem;
  color: #daa520;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.disk-type-card h3,
.disk-type-card p {
  margin: 0;
  color: #222222;
}

.disk-type-montserrat-one h3,
.disk-type-montserrat-two h3 {
  font-family: "Montserrat", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.disk-type-montserrat-one h3 {
  font-size: clamp(2.4rem, 4.4vw, 3rem);
  line-height: 1.12;
}

.disk-type-montserrat-two h3 {
  font-size: clamp(1.8rem, 3.2vw, 2.2rem);
  line-height: 1.24;
}

.disk-type-maven h3 {
  font-family: "Maven Pro", "Inter", sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  font-weight: 600;
  line-height: 1.32;
}

.disk-type-oxygen p {
  font-family: "Oxygen", "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

.disk-type-card > p:last-child:not(:first-child) {
  margin-top: 0.65rem;
  color: #525252;
  font-size: 0.82rem;
}

.disk-profile-summary {
  max-width: 880px;
  margin: 0;
  padding: 1.2rem 1.35rem;
  border-left: 4px solid #daa520;
  border-radius: 0 18px 18px 0;
  background: rgba(218, 165, 32, 0.09);
}

.disk-tool-grid span {
  width: auto;
  min-width: 42px;
  padding: 0 0.65rem;
}

.disk-ia-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.disk-ia-column {
  padding: 1.2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 27, 46, 0.08);
}

.disk-ia-column h3 {
  color: #12243d;
  font-size: 0.9rem;
}

.disk-ia-column ul {
  margin: 0.75rem 0 0;
  padding-left: 1.05rem;
  color: #596273;
  font-size: 0.82rem;
  line-height: 1.75;
}

.disk-ia-arrow {
  color: #00a5a5;
  font-size: 2rem;
  font-weight: 900;
}

.disk-wide-slot {
  grid-column: 1 / -1;
  min-height: 180px;
  margin-top: 1rem;
}

.disk-before-after-mini {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.disk-content-structure {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.disk-content-structure article {
  min-width: 0;
  padding: 1.2rem;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

.disk-content-structure span {
  display: inline-flex;
  margin-bottom: 0.85rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(218, 165, 32, 0.13);
  color: #b5810f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.disk-content-structure h3 {
  margin: 0;
  color: #12243d;
  font-size: 1rem;
}

.disk-content-structure p {
  margin: 0.55rem 0 0;
  color: #596273;
  font-size: 0.83rem;
  line-height: 1.65;
}

.disk-before-after-mini article {
  padding: 1.2rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(13, 27, 46, 0.08);
}

.disk-before-after-mini h3 {
  color: #12243d;
  font-size: 0.95rem;
}

.disk-before-after-mini p {
  margin-top: 0.55rem;
  color: #596273;
  font-size: 0.83rem;
  line-height: 1.65;
}

.disk-photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-photo-grid .is-wide {
  grid-column: 1 / -1;
}

.disk-direction-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-direction-flow article {
  padding: 0.8rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(13, 27, 46, 0.08);
}

.disk-process-figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 32px rgba(13, 27, 46, 0.08);
}

.disk-process-figure img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.disk-process-figure figcaption {
  padding: 0.75rem 0.9rem;
  color: #626a7a;
  font-size: 0.76rem;
}

.disk-feature-figure img {
  max-height: 680px;
}

.disk-ia-comparison,
.disk-final-pages,
.disk-production-grid {
  display: grid;
  gap: 1rem;
}

.disk-ia-comparison {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-ia-comparison article,
.disk-final-pages article {
  min-width: 0;
  padding: 0.8rem;
  border: 1px solid rgba(13, 27, 46, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
}

.disk-ia-label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: #12243d;
}

.disk-ia-label span {
  color: #daa520;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.disk-ia-label strong {
  white-space: nowrap;
}

.disk-ia-comparison p,
.disk-final-pages p {
  margin: 0.75rem 0 0;
  color: #596273;
  font-size: 0.82rem;
  line-height: 1.6;
}

.disk-final-pages {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.disk-final-pages h3 {
  margin: 0.9rem 0 0;
  color: #12243d;
  font-size: 0.95rem;
}

.disk-production-card {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1.44fr);
  align-items: start;
}

.disk-production-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-principle-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.disk-principle-grid article {
  min-height: 170px;
}

.disk-device-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.55fr);
  gap: 1rem;
  align-items: end;
}

.disk-device-pair .is-desktop {
  min-height: 360px;
}

.disk-device-pair .is-mobile {
  min-height: 430px;
  border-radius: 34px;
}

.disk-comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-showcase-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.disk-showcase-grid .is-wide {
  grid-column: 1 / -1;
  min-height: 360px;
}

.disk-outcome-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.disk-reflection {
  align-items: start;
  background:
    radial-gradient(circle at 8% 18%, rgba(218, 165, 32, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(218, 165, 32, 0.14), rgba(255, 255, 255, 0.82) 48%, rgba(255, 238, 209, 0.55));
}

.disk-reflection .thesis-link-button {
  align-self: start;
}

@media (max-width: 1180px) {
  .disk-page .disk-hero,
  .disk-challenge-card,
  .disk-discovery-card,
  .disk-audit-card,
  .disk-components-card,
  .disk-structure-card,
  .disk-content-card,
  .disk-photo-card,
  .disk-directions-card,
  .disk-principles-card,
  .disk-responsive-card,
  .disk-comparison-card,
  .disk-final-card,
  .disk-tools-card,
  .disk-profile-card,
  .disk-production-card,
  .disk-outcome-card {
    grid-template-columns: 1fr;
  }

  .disk-principle-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .disk-component-grid,
  .disk-feedback-grid,
  .disk-problem-grid,
  .disk-direction-flow,
  .disk-showcase-grid,
  .disk-tool-grid,
  .disk-final-pages,
  .disk-production-grid,
  .disk-outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .disk-color-system,
  .disk-type-system,
  .disk-ui-context {
    grid-template-columns: 1fr;
  }

  .disk-color-primary-gold,
  .disk-color-primary-black,
  .disk-color-soft-gold,
  .disk-color-dark-grey,
  .disk-color-grey {
    grid-column: auto;
  }

  .disk-brand-flow {
    grid-template-columns: 1fr;
  }

  .disk-brand-flow i {
    transform: rotate(90deg);
    justify-self: center;
  }

  .disk-ia-visual {
    grid-template-columns: 1fr;
  }

  .disk-ia-arrow {
    transform: rotate(90deg);
    justify-self: center;
  }

  .disk-table-row {
    grid-template-columns: minmax(130px, 1.1fr) repeat(3, minmax(70px, 0.7fr));
    min-width: 620px;
  }

  .disk-severity-table {
    overflow-x: auto;
  }

  .disk-reflection {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .disk-reflection .thesis-link-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .disk-page .disk-hero h1 {
    font-size: 2.85rem;
  }

  .disk-page .disk-hero h2 {
    font-size: 2.05rem;
  }

  .disk-hero-visual {
    min-height: 360px;
  }

  .disk-browser-mockup {
    border-radius: 18px;
  }

  .disk-component-grid,
  .disk-feedback-grid,
  .disk-problem-grid,
  .disk-principle-grid,
  .disk-direction-flow,
  .disk-comparison-grid,
  .disk-showcase-grid,
  .disk-tool-grid,
  .disk-ia-comparison,
  .disk-final-pages,
  .disk-production-grid,
  .disk-content-structure,
  .disk-synthesis-grid,
  .disk-outcome-list,
  .disk-before-after-mini,
  .disk-photo-grid,
  .disk-device-pair {
    grid-template-columns: 1fr;
  }

  .disk-color-card {
    min-height: 220px;
  }

  .disk-color-primary-gold,
  .disk-color-primary-black {
    min-height: 250px;
  }

  .disk-ui-preview h3 {
    font-size: 2.25rem;
  }

  .disk-annotated-placeholder {
    min-height: 520px;
  }

  .disk-annotations {
    position: static;
    display: grid;
    gap: 0.55rem;
    margin-top: 0.75rem;
    padding: 0;
  }

  .disk-annotations li {
    position: static;
    max-width: none;
  }

  .disk-device-pair .is-desktop,
  .disk-device-pair .is-mobile,
  .disk-showcase-grid .is-wide {
    min-height: 260px;
  }

  .disk-process-figure img {
    max-height: 360px;
  }

  .disk-home-preview {
    min-height: 250px;
  }

  .disk-reflection {
    grid-template-columns: 1fr;
  }

  .disk-reflection .thesis-link-button {
    grid-column: auto;
    justify-self: stretch;
    text-align: center;
  }
}