/* ==========================================
   UNIFIED STYLESHEET FOR PORTFOLIO
   ========================================== */

:root {
  --cream: #FAF7F2;
  --warm-white: #FDF9F4;
  --sand: #E8DDD0;
  --terracotta: #C4714A;
  --terracotta-light: #D4896A;
  --brown: #6B4F3A;
  --brown-light: #9C7A63;
  --text: #2E1F14;
  --text-muted: #8B6F5C;
  --accent: #7A6E9E;
  --accent-light: #C8C2DC;
  --green: #6B8F71;
  --green-light: #C8DDD0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ==========================================
   NAVIGATION
   ========================================== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(180,150,120,0.15);
}

.nav-name {
  font-family: 'Lora', serif;
  font-size: 17px;
  color: var(--brown);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--terracotta); }

.nav-back {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--terracotta); }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
}

/* Hero for index.html */
.hero-homepage {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 48px 80px;
}

/* Hero backgrounds */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.hero-blob-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #D4896A, #C4714A);
  top: -120px; right: -80px;
}

.hero-blob-2 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--green-light), var(--green));
  bottom: -60px; left: 20%;
}

.hero-blob-3 {
  width: 280px; height: 280px;
  background: radial-gradient(circle, var(--accent-light), var(--accent));
  top: 30%; left: -60px;
  opacity: 0.25;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 20px;
  font-weight: 500;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.1s;
}

.hero-title {
  font-family: 'Lora', serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.12;
  color: var(--brown);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.25s;
}

.hero-title em {
  font-style: italic;
  color: var(--terracotta);
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(36px, 5vw, 64px);
  color: var(--brown);
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 44px;
  font-weight: 300;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.4s;
}

.hero-summary {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 560px;
  font-weight: 300;
  margin-bottom: 48px;
}

.hero-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pill {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(122,110,158,0.35);
  color: var(--accent);
  background: rgba(122,110,158,0.08);
}

.hero-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 40px;
  max-width: 540px;
  margin: 0 auto;
}

.hero-buddy .hero-meta-grid,
.hero-soap .hero-meta-grid {
  justify-items: center;
}

.meta-item-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.meta-item-value {
  font-size: 14px;
  color: var(--brown);
  font-weight: 400;
}

.hero-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.55s;
}

.hero-tags {
  position: absolute;
  bottom: 48px;
  right: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  opacity: 0;
  animation: fadeUp 0.7s ease forwards 0.7s;
}

.hero-tag {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--sand);
  border-radius: 20px;
  padding: 4px 12px;
}

/* Hero backgrounds for case study pages */
.hero-soap {
  padding: 140px 48px 80px;
  background: linear-gradient(160deg, rgba(232, 244, 237, 0.9) 0%, rgba(250, 247, 242, 0.9) 60%), url('/images/eco-friendly.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-buddy {
  padding: 140px 48px 80px;
  background: linear-gradient(160deg, rgba(238, 237, 254, 0.9) 0%, rgba(250, 247, 242, 0.9) 65%), url('/images/cross-cultural.webp');
  background-size: cover;
  background-position: center;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-soap::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,143,113,0.18), transparent);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-buddy::after {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(122,110,158,0.15), transparent);
  top: -100px; right: -100px;
  pointer-events: none;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--terracotta);
  color: white;
  border-radius: 32px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--terracotta-light);
  transform: translateY(-2px);
}

.btn-ghost {
  font-size: 13px;
  color: var(--brown-light);
  text-decoration: none;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--sand);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

/* ==========================================
   SECTIONS & CONTENT
   ========================================== */
section {
  padding: 100px 48px;
}

.content {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 48px;
}

.section {
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Lora', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 56px;
}

.section h2 {
  font-family: 'Lora', serif;
  font-size: 28px;
  color: var(--brown);
  margin-bottom: 20px;
  line-height: 1.3;
}

.section p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 16px;
}

.section p:last-child { margin-bottom: 0; }

/* ==========================================
   CASE STUDIES (INDEX PAGE)
   ========================================== */
.cases { background: var(--warm-white); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
}

.case-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(180,150,120,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(100,60,30,0.12);
}

.case-thumb {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  overflow: hidden;
}

.case-thumb-soap {
  background: linear-gradient(135deg, rgba(232, 244, 237, 0.8) 0%, rgba(200, 221, 208, 0.8) 100%), url('/images/eco-friendly.jpg');
  background-size: cover;
  background-position: center;
}

.case-thumb-buddy {
  background: linear-gradient(135deg, rgba(238, 237, 254, 0.8) 0%, rgba(216, 212, 244, 0.8) 100%), url('/images/cross-cultural.webp');
  background-size: cover;
  background-position: center;
}

.case-thumb-decoration {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.case-thumb-decoration svg { width: 100%; height: 100%; }

.case-body { padding: 28px 32px 32px; }

.case-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.case-tag {
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid var(--sand);
  color: var(--text-muted);
}

.case-title {
  font-family: 'Lora', serif;
  font-size: 22px;
  color: var(--brown);
  margin-bottom: 10px;
  line-height: 1.3;
}

.case-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

.case-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--sand);
}

.case-role {
  font-size: 12px;
  color: var(--text-muted);
}

.case-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.case-card:hover .case-arrow {
  background: var(--terracotta);
}

.case-card:hover .case-arrow svg path {
  stroke: white;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-visual {
  position: relative;
  height: 460px;
}

.about-card {
  position: absolute;
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(180,150,120,0.18);
  padding: 20px 24px;
}

.about-card-main {
  width: 280px;
  top: 40px;
  left: 20px;
  z-index: 2;
  box-shadow: 0 12px 40px rgba(100,60,30,0.1);
}

.about-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta), var(--brown));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 24px;
  color: white;
  margin-bottom: 14px;
}

.about-card-name {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 4px;
}

.about-card-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-chip {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--text-muted);
}

.about-card-stats {
  width: 200px;
  bottom: 60px;
  right: 0;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(100,60,30,0.09);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid var(--sand);
}

.stat-row:last-child { border-bottom: none; }

.stat-num {
  font-family: 'Lora', serif;
  font-size: 20px;
  color: var(--terracotta);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
}

.about-card-quote {
  width: 220px;
  top: 260px;
  right: 20px;
  background: var(--terracotta);
  border: none;
  z-index: 1;
}

.about-card-quote p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 14px;
  color: white;
  line-height: 1.6;
}

.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  font-weight: 300;
  margin-bottom: 20px;
}

.about-text p strong {
  color: var(--brown);
  font-weight: 500;
}

.about-links {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.about-link {
  font-size: 13px;
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid rgba(196,113,74,0.3);
  padding-bottom: 2px;
  letter-spacing: 0.02em;
  transition: border-color 0.2s;
}

.about-link:hover { border-color: var(--terracotta); }

/* ==========================================
   CASE STUDY CONTENT
   ========================================== */

/* Callout boxes */
.callout {
  background: var(--warm-white);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.callout p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--brown);
  line-height: 1.7;
  margin: 0;
}

/* Challenges */
.challenges { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }

.challenge-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.challenge-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(122,110,158,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent);
  flex-shrink: 0;
}

.challenge-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 4px;
}

.challenge-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* Insights */
.insights-list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }

.insight-item {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 18px;
  background: var(--warm-white);
  border-radius: 10px;
  border: 1px solid var(--sand);
}

.insight-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.insight-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* Persona cards */
.persona-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 20px;
}

.persona-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.persona-name {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: var(--brown);
  margin-bottom: 4px;
}

.persona-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.persona-needs { list-style: none; }

.persona-needs li {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 4px 0 4px 16px;
  position: relative;
}

.persona-needs li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 8px;
  color: var(--accent);
  top: 7px;
}

.persona-note {
  margin-top: 16px;
  padding: 14px 16px;
  background: rgba(122,110,158,0.08);
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--brown-light);
  font-style: italic;
  grid-column: 1 / -1;
}

/* Goals grid */
.goals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}

.goal-card {
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 20px;
}

.goal-icon { font-size: 20px; margin-bottom: 10px; }

.goal-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}

.goal-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-muted);
  font-weight: 300;
}

/* IA Diagram */
.ia-diagram {
  margin-top: 24px;
  background: var(--warm-white);
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 32px 24px;
  overflow-x: auto;
}

.ia-root {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}

.ia-node-root {
  background: var(--accent);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 8px;
  text-align: center;
}

.ia-connector-down {
  width: 1px;
  height: 24px;
  background: var(--sand);
  margin: 0 auto;
}

.ia-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.ia-tabs::before {
  content: '';
  position: absolute;
  top: 0; left: 12.5%; right: 12.5%;
  height: 1px;
  background: var(--sand);
}

.ia-tab-col { display: flex; flex-direction: column; align-items: center; }

.ia-connector-col {
  width: 1px;
  height: 20px;
  background: var(--sand);
}

.ia-node-tab {
  background: white;
  border: 1.5px solid var(--accent-light);
  color: var(--accent);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.ia-children { display: flex; flex-direction: column; align-items: center; gap: 0; width: 100%; }

.ia-node-child {
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  text-align: center;
  width: 90%;
  margin-top: 8px;
}

.ia-node-deep {
  background: rgba(122,110,158,0.1);
  border: 1px solid rgba(122,110,158,0.25);
  color: var(--accent);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 6px;
  text-align: center;
  width: 85%;
  margin-top: 6px;
}

/* Process steps */
.process-steps { margin-top: 20px; }

.process-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  margin-bottom: 8px;
  align-items: start;
}

.step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.step-body { padding-bottom: 24px; border-bottom: 1px solid var(--sand); }
.process-step:last-child .step-body { border-bottom: none; }

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--brown);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  font-weight: 300;
}

.step-tag {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--cream);
  border: 1px solid var(--sand);
  color: var(--text-muted);
  margin-top: 8px;
}

/* Screens grid */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.screen-card {
  background: linear-gradient(160deg, #EEEDFE, #D8D4F4);
  border-radius: 16px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  border: 1px solid rgba(122,110,158,0.2);
}

.screens-grid .screen-card.soap-theme {
  background: linear-gradient(160deg, #E8F4ED, #C8DDD0);
  border: 1px solid rgba(107,143,113,0.2);
}

.screen-emoji { font-size: 36px; }

.screen-label {
  font-size: 13px;
  color: var(--brown);
  font-weight: 500;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.screenshot-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.screenshot-item img {
  width: 100%;
  height: auto;
  max-width: 280px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  margin: 0 auto;
}

.screenshot-label {
  font-size: 14px;
  color: var(--brown);
  font-weight: 500;
  text-align: center;
}

/* ==========================================
   CASE NAVIGATION
   ========================================== */
.case-nav {
  border-top: 1px solid var(--sand);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
}

.case-nav a {
  font-size: 14px;
  color: var(--terracotta);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}

.case-nav a:hover { gap: 12px; }

/* ==========================================
   FOOTER
   ========================================== */
footer {
  background: var(--brown);
  color: rgba(255,255,255,0.6);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-name {
  font-family: 'Lora', serif;
  font-size: 18px;
  color: white;
  text-decoration: none;
}

.footer-note { font-size: 12px; }

/* ==========================================
   ANIMATIONS & TRANSITIONS
   ========================================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .nav-links { gap: 20px; }
  
  section { padding: 72px 24px; }
  .hero-homepage { padding: 100px 24px 72px; }
  .hero-tags { display: none; }
  
  .content { padding: 60px 24px; }
  
  .cases-grid { grid-template-columns: 1fr; }
  
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 300px; display: none; }
  
  .hero-meta-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .goals-grid { grid-template-columns: 1fr; }
  .persona-card { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: repeat(2, 1fr); }
  .ia-tabs { grid-template-columns: repeat(2, 1fr); }
  
  .case-nav { padding: 40px 24px; }
  
  footer { flex-direction: column; gap: 12px; text-align: center; }
}
