﻿/* ===== DESIGN TOKENS ===== */
:root {
  --cream: #f5e6ce;
  --brown: #2d231d;
  --blue: #9dd6e0;
  --rose: #d9909a;
  --sand: #dfc8a4;
  --lavender: #d9c9ee;
  --muted: #6b5f59;
  --white: #fffdf9;
  --border: 4px solid #2d231d;
  --border-thin: 2px solid #2d231d;
  --shadow: 4px 4px 0 0 #2d231d;
  --shadow-lg: 6px 6px 0 0 #2d231d;
  --shadow-xl: 8px 8px 0 0 #2d231d;
  --shadow-blue: 4px 4px 0 0 #9dd6e0;
  --shadow-rose: 6px 6px 0 0 #d9909a;
  --radius: 1rem;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--brown);
  background-color: var(--cream);
  background-image: linear-gradient(180deg,
    #f5e6ce 0%,
    #f5e6ce 15%,
    #f3dfe9 45%,
    #e8d4ee 70%,
    #d9c9ee 100%
  );
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { border-left: 4px solid var(--brown); background: #e8e0d8; }
::-webkit-scrollbar-thumb { border: 4px solid var(--brown); background: var(--blue); }
::-webkit-scrollbar-thumb:hover { background: var(--sand); }
::selection { background: var(--rose); color: var(--brown); }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 999;
  border: var(--border); background: var(--blue);
  padding: 0.5rem 1rem; font-weight: 700;
  box-shadow: var(--shadow); transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ===== CONTAINER ===== */
.container { max-width: 80%; margin: 0 auto; padding: 0 2rem; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(245, 230, 206, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.nav-inner {
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-weight: 700; font-size: 18px;
  border: var(--border); padding: 5px 12px;
  box-shadow: var(--shadow); display: inline-block;
  letter-spacing: 0.05em; cursor: pointer;
  transition: all 0.15s;
}
.nav-logo:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.nav-links {
  display: flex; gap: 28px; list-style: none;
}
.nav-links a {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 5px 10px;
  border: var(--border-thin);
  border-color: transparent;
  transition: all 0.1s ease;
}
.nav-links a:hover {
  background: var(--rose);
  border-color: var(--brown);
  box-shadow: 3px 3px 0 0 var(--brown);
  opacity: 1;
}
.nav-cta {
  border: var(--border-thin); padding: 5px 14px;
  box-shadow: 3px 3px 0 0 var(--brown);
  background: var(--blue);
  transition: all 0.1s !important;
}
.nav-cta:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow) !important; opacity: 1 !important; }
.nav-hamburger {
  display: none; border: var(--border); background: var(--blue);
  padding: 5px 12px; font-size: 18px; cursor: pointer;
  box-shadow: var(--shadow); font-family: inherit;
  transition: all 0.1s;
}
.nav-hamburger:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }

/* ===== HERO ===== */
.hero {
  padding: 120px 0 80px;
  display: flex; align-items: center;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 440px;
  gap: 52px; align-items: center;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px;
}
.pill-badge {
  border-radius: 9999px; border: var(--border-thin);
  padding: 8px 18px;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: var(--shadow); cursor: default;
  transition: all 0.15s ease;
}
.pill-badge:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.badge-sand { background: var(--sand); }
.badge-blue { background: var(--blue); }
.badge-rose { background: var(--rose); }
.badge-lavender { background: var(--lavender); }

.hero-name {
  font-size: clamp(54px, 8vw, 100px);
  font-weight: 700; line-height: 0.92;
  letter-spacing: -3px; color: var(--brown);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 24px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted); margin-bottom: 20px; line-height: 1.8;
}
.hero-desc {
  font-size: 20px; color: var(--muted);
  line-height: 1.75; max-width: 500px; margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-right { display: flex; justify-content: center; align-items: center; padding: 24px 0; overflow: visible; }

/* ===== BUTTONS ===== */
.btn-brutal {
  display: inline-block; border: var(--border);
  padding: 12px 24px;
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  box-shadow: var(--shadow); transition: all 0.1s ease;
  cursor: pointer; font-family: inherit;
}
.btn-brutal:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.btn-brutal:active { transform: translate(2px,2px); box-shadow: none; }
.btn-primary { background: var(--blue); color: var(--brown); }
.btn-outline { background: transparent; color: var(--brown); }

/* ===== PHOTO ===== */
.photo-frame {
  position: relative;
  width: 380px;
  /* breathing room so rotated pseudo-cards don't clip */
  margin: 16px auto 16px 0;
}
.photo-frame::before,
.photo-frame::after {
  content: '';
  position: absolute;
  border: var(--border);
  border-radius: var(--radius);
  inset: 0;
}
.photo-frame::before {
  background: var(--rose);
  transform: rotate(3deg) translate(10px, 6px);
  z-index: 0;
}
.photo-frame::after {
  background: var(--lavender);
  transform: rotate(-2.5deg) translate(-8px, 8px);
  z-index: 0;
}
.photo-inner {
  position: relative; z-index: 1;
  width: 380px; height: 480px;
  border: var(--border); border-radius: var(--radius);
  overflow: hidden;
  background: #e4cfc0;
}
.photo-monogram {
  font-weight: 700; font-size: 56px;
  width: 90px; height: 90px; border: var(--border);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.photo-hint { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ===== SCROLL DOWN ===== */
.scroll-down-btn {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: var(--border); background: var(--blue);
  font-size: 18px; font-weight: 700;
  box-shadow: var(--shadow); margin: 48px auto 0;
  transition: all 0.15s; animation: float 2s ease-in-out infinite;
}
.scroll-down-btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); animation: none; }

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--brown);
  border-top: var(--border); border-bottom: var(--border);
  padding: 14px 0; overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee-track span {
  display: inline-flex; align-items: center;
  padding: 0 18px;
  font-size: 16px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff;
}
.marquee-track .star { color: var(--blue); font-size: 10px; }

/* ===== FEATURES ===== */
.features-section { padding: 80px 0; }
.features-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feature-card {
  border: var(--border); border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow); transition: all 0.15s ease;
}
.feature-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.feature-icon {
  font-size: 24px; width: 48px; height: 48px;
  border: var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 22px; font-weight: bolder;
  text-transform: uppercase; letter-spacing: 0.04em;
  margin-bottom: 12px; line-height: 1.4;
}
.feature-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ===== SECTION DIVIDER ===== */
.section-divider {
  position: relative; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.section-divider::before {
  content: ''; position: absolute;
  top: 50%; left: 0; right: 0; height: 24px;
  background: var(--rose);
  border-top: var(--border); border-bottom: var(--border);
  transform: translateY(-50%);
}
.section-divider-blue::before { background: var(--blue); }
.divider-label {
  position: relative; z-index: 1;
  background: var(--cream); border: var(--border);
  padding: 6px 18px;
  font-size: 20px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  box-shadow: var(--shadow);
}

.why-me-section {
  top: 20px;
}

/* ===== ABOUT ===== */
.about-section { padding: 44px 0 80px; }
.section-heading {
  font-size: clamp(32px, 5vw, 54px); font-weight: 700;
  letter-spacing: -1.5px; text-align: center;
  margin-bottom: 25px;
}
.underline-accent {
  position: relative; display: inline-block;
}
.underline-accent::after {
  content: ''; position: absolute;
  bottom: 4px; left: 0; width: 100%; height: 8px;
  background: var(--rose); z-index: -1;
}
.section-sub {
  text-align: center; color: var(--muted);
  font-size: 15px; margin: 0 auto 48px;
  max-width: 380px; line-height: 1.7;
}
.section-cta { display: flex; justify-content: center; margin-top: 40px; }
.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 0 3.5rem;
}
.about-card {
  border: var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.about-card-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.about-card-header h3 {
  font-size: 22px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.icon-box {
  width: 44px; height: 44px; border: var(--border);
  background: var(--white); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.about-list { display: flex; flex-direction: column; gap: 8px; }
.about-item {
  background: var(--white); border: var(--border-thin);
  border-radius: 6px; padding: 10px 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.about-item strong { font-size: 13px; font-weight: 700; }
.about-item span { font-size: 11px; color: var(--muted); line-height: 1.4; }
.item-sub { font-style: italic; }
.about-item-simple {
  background: var(--white); border: var(--border-thin);
  border-radius: 6px; padding: 9px 14px;
  font-size: 15px; font-weight: 500;
}

/* ===== STATS ===== */
.stats-strip { padding: 48px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat-item {
  border: var(--border); background: var(--lavender);
  padding: 28px; text-align: center; box-shadow: var(--shadow);
  transition: all 0.15s;
}
.stat-item:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.stat-number {
  font-size: 52px; font-weight: 700; line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted);
}

/* ===== CASE STUDIES ===== */
.case-studies-section { padding: 64px 0 80px; }
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 40px;
}
.case-card {
  border: var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  background: var(--white);
  display: flex; flex-direction: column;
  transition: all 0.15s ease;
}
.case-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.case-header {
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: flex-start;
  border-bottom: var(--border); min-height: 70px;
}
.arrow-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: var(--border);
  background: var(--white); font-size: 16px; font-weight: 700;
  box-shadow: var(--shadow); cursor: pointer; flex-shrink: 0;
  transition: all 0.15s;
}
.arrow-box:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.case-body {
  padding: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 10px;
}
.case-type { font-size: 11px; color: var(--muted); font-weight: 500; }
.case-body h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.case-desc { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  border: var(--border-thin); padding: 3px 10px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--white);
}
.case-metrics { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.metric-pill {
  border: var(--border-thin); border-radius: 9999px;
  padding: 3px 10px; font-size: 14px; font-weight: 800;
  background: var(--sand);
}
.case-link {
  font-size: 13px; font-weight: 700; text-decoration: underline;
  color: var(--brown); cursor: pointer;
}

/* ===== THINKING ===== */
.thinking-section { padding: 10px 0 80px; }
.thinking-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.thinking-card {
  border: var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.15s ease;
}
.thinking-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.thinking-meta { display: flex; justify-content: space-between; align-items: center; }
.thinking-tag {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  border: var(--border-thin); padding: 3px 10px; background: var(--white);
}
.thinking-date { font-size: 11px; color: var(--muted); }
.thinking-card h3 { font-size: 17px; font-weight: 700; line-height: 1.3; }
.thinking-card p { font-size: 13px; color: var(--muted); line-height: 1.65; flex: 1; }

/* ===== CONTACT ===== */
.contact-section { padding: 64px 0 80px; }
.contact-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 14px; max-width: 680px; margin: 0 auto 40px;
}
.contact-card {
  border: var(--border); border-radius: var(--radius);
  padding: 18px 22px; background: var(--white);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 16px;
  transition: all 0.15s;
}
.contact-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.contact-info strong { display: block; font-weight: 700; font-size: 13px; margin-bottom: 3px; }
.contact-info span { font-size: 12px; color: var(--muted); }

/* ===== FOOTER ===== */
.footer {
  background: var(--brown); border-top: var(--border); padding: 40px 0;
}
.footer-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
}
.footer-logo { color: var(--blue); border-color: var(--blue); }
.footer-logo:hover { background: var(--blue); color: var(--brown); border-color: var(--blue); }
.footer p { color: rgba(255,255,255,0.85); font-size: 13px; text-align: center; }
.footer-copy { color: rgba(255,255,255,0.4) !important; font-size: 11px !important; }

/* ===== CARD COLORS ===== */
.card-blue { background: var(--blue); }
.card-rose { background: var(--rose); }
.card-sand { background: var(--sand); }
.card-lightgreen { background: #b8dfc5; }
.card-darkblue { background: #150d31; }
.card-darkblue { background: #150d31; }
.card-lavender { background: var(--lavender); }
.card-lightgreen { background: #92bf8e; }

/* ===== ANIMATIONS ===== */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(2deg); }
}

/* ===== FADE UP ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .thinking-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 850px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; padding: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .thinking-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 100%; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; align-items: center; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--cream); border-bottom: var(--border);
    padding: 20px 32px; gap: 16px; z-index: 99;
  }
}
@media (max-width: 520px) {
  /* Container: full width on small screens */
  .container { max-width: 100%; padding: 0 1rem; }

  /* Hero: badges 2-per-row, title on 1 line, stacked CTA, all centered */
  .hero-left { text-align: center; }
  .hero-badges { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 13px; letter-spacing: 0.03em; white-space: nowrap; }
  .hero-name { font-size: 52px; letter-spacing: -2px; }
  .hero-desc { max-width: 100%; }
  .hero-cta { flex-direction: column; align-items: center; }

  /* Why Hire: hide icons, smaller heading */
  .feature-icon { display: none; }
  .feature-card h3 { font-size: 15px; }
  .features-grid { grid-template-columns: 1fr 1fr; }

  /* About: remove inner padding, hide icon, contact full-width */
  .about-grid { padding: 0; }
  .about-card-header { justify-content: center; }
  .about-card-header .icon-box { display: none; }
  .about-card-header h3 { font-size: 16px; text-align: center; }
  .contact-grid { max-width: 100%; }
  .contact-info span { word-break: break-all; font-size: 11px; }
  .contact-card { padding: 14px 16px; gap: 12px; }
  /* Footer: ensure container fills width */
  .footer .container { padding: 0 1.5rem; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== EXTRA BUTTONS ===== */
.btn-sand { background: var(--sand); color: var(--brown); }


/* ===== IMPACT SECTION ===== */
.impact-section { padding: 64px 0 80px; }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.impact-card {
  border: var(--border); border-radius: var(--radius);
  padding: 24px 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
  transition: all 0.15s ease;
}
.impact-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.impact-number {
  font-size: 42px; font-weight: 700; line-height: 1;
}
.impact-metric {
  font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.impact-context {
  font-size: 12px; color: var(--muted); line-height: 1.55;
  margin-top: 4px;
}

/* ===== FEATURED PRODUCT WORK ===== */
.work-section { padding: 64px 0 80px; }
.work-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
/* center a lone last card in an odd position */
.work-grid > .work-card:last-child:nth-child(2n+1) {
  grid-column: 1 / -1;
  max-width: calc(50% - 8px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.work-card {
  border: var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  background: var(--white);
  display: flex; flex-direction: column;
  transition: all 0.15s ease;
}
.work-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.work-card-header {
  padding: 18px 20px; border-bottom: var(--border);
  display: flex; justify-content: space-between; align-items: flex-start;
  min-height: 78px;
}
.work-card-meta {
  display: flex; flex-direction: column; gap: 6px;
}
.work-context {     font-size: 18px;
    color: #07022a;
    font-weight: bolder; }
.work-domain-tag {
  display: inline-block;
  border: var(--border-thin); padding: 2px 10px;
  font-size: 13px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--white); align-self: flex-start;
}
.work-card-body {
  padding: 20px; flex: 1;
  display: flex; flex-direction: column; gap: 12px;
}
.work-card-body h3 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.work-problem, .work-approach {
  font-size: 13px; color: var(--muted); line-height: 1.65;
}
.work-problem strong, .work-approach strong {
  color: var(--brown); font-weight: 700;
}
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ===== PROCESS SECTION ===== */
.process-section { padding: 64px 0 80px; }
.process-flow {
  display: flex; align-items: stretch;
  gap: 0; margin-bottom: 20px;
}
.process-flow-2 { margin-bottom: 0; }
.process-step {
  flex: 1;
  border: var(--border); border-radius: var(--radius);
  padding: 22px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
  transition: all 0.15s ease;
}
.process-step:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.process-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--muted);
}
.process-icon { font-size: 22px; }
.process-step h3 {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.process-step p { font-size: 12px; color: var(--muted); line-height: 1.6; }
.process-arrow {
  font-size: 20px; font-weight: 700; color: var(--brown);
  padding: 0 6px; display: flex; align-items: center;
  flex-shrink: 0; align-self: center;
}

/* ===== PROFESSIONAL EXPERIENCE ===== */
.experience-section { padding: 64px 0 80px; }
.exp-card {
  border: var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.exp-card:last-child { margin-bottom: 0; }
.exp-header {
  padding: 24px 28px; border-bottom: var(--border);
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 20px;
}
.exp-header-left { display: flex; flex-direction: column; gap: 6px; }
.exp-company {
  font-size: 20px; font-weight: 700; letter-spacing: -0.5px;
}
.exp-role { font-size: 13px; font-weight: 600; color: var(--muted); }
.exp-duration { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.exp-clients-right {
  display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end;
}
.exp-client-pill {
  border: var(--border-thin); padding: 4px 12px;
  font-size: 11px; font-weight: 700; background: var(--white);
  text-align: right;
}
.exp-body { padding: 24px 28px; background: var(--white); }
.exp-mission {
  font-size: 14px; color: var(--muted); line-height: 1.7;
  padding: 14px 16px; border: var(--border-thin);
  border-radius: 6px; background: var(--cream);
  margin-bottom: 20px;
}
.exp-mission strong { color: var(--brown); }
.exp-contributions-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 20px;
}
.exp-contribution {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px; border: var(--border-thin);
  border-radius: 6px;
}
.exp-contrib-icon { font-size: 18px; flex-shrink: 0; margin-top: 2px; }
.exp-contribution strong { font-size: 13px; font-weight: 700; display: block; margin-bottom: 4px; }
.exp-contribution p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }
.exp-metric-row {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  padding-top: 16px; border-top: var(--border-thin);
}

/* ===== CASE STUDY LIBRARY ===== */
.library-section { padding: 64px 0 80px; }
.library-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 30px; margin-bottom: 30px;
}
.library-card {
  border: var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.15s ease;
  overflow: hidden;
}
.library-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }

/* Thumbnail strip at top of each card */
.library-thumb {
  margin: -22px -22px 4px -22px;
  height: 250px;
  position: relative;
  flex-shrink: 0;
}
.library-thumb-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  padding: 16px; text-align: center; gap: 7px;
}
.library-thumb-domain {
  font-size: 9px; font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.library-thumb-name {
  font-size: 15px; font-weight: 800;
  color: #fff; text-transform: uppercase;
  letter-spacing: 0.04em; line-height: 1.25;
}
.library-thumb-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.library-thumb-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.58);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.library-card:hover .library-thumb-overlay { opacity: 1; }
.lib-thumb-btn {
  font-size: 11px !important;
  padding: 10px 20px !important;
  background: #fff !important;
  color: var(--brown) !important;
  border: 3px solid #fff !important;
  box-shadow: 3px 3px 0 0 rgba(0,0,0,0.25) !important;
}

.library-card-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.library-domain-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.library-tag {
  border: var(--border-thin); padding: 2px 8px;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--white);
}
.library-card h3 { font-size: 21px; font-weight: 800; line-height: 1.3; }
.library-desc { font-size: 12px; color: var(--muted); line-height: 1.6; flex: 1; }
.library-frameworks { display: flex; flex-wrap: wrap; gap: 5px; }
.lib-fw {
  border: var(--border-thin); padding: 3px 8px;
  font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(255,255,255,0.5);
}
.library-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.lib-btn { font-size: 10px !important; padding: 8px 14px !important; }

/* ===== SWIPE DECK ===== */
.library-section { overflow: hidden; }

/* Wrapper: deck on top, buttons below */
.swipe-deck-wrapper {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
  padding: 20px 0 52px;
}

/* Deck: wide, portrait card */
.swipe-deck {
  position: relative;
  width: min(80vw, 900px);
  height: 540px;
  flex-shrink: 0;
}

/* Card: image TOP 90%, text BOTTOM 10% */
.swipe-card {
  position: absolute; inset: 0;
  border: var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--white);
  cursor: grab;
  user-select: none; touch-action: none;
  will-change: transform;
  transition: transform 0.2s ease;
}
.swipe-card:active { cursor: grabbing; }

/* Image — top 90%, full width */
.swipe-card-img {
  flex: 0 0 90%;
  position: relative; overflow: hidden;
}
.swipe-card-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center center;
  display: block; pointer-events: none;
}
.swipe-card-gradient-label {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: 8px; padding: 20px; text-align: center;
}
.swipe-grad-sub {
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.7);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.swipe-grad-title {
  font-size: 18px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.25;
}

/* Text strip — bottom 10%, single compact row */
.swipe-card-body {
  flex: 1;
  padding: 0 18px;
  display: flex; flex-direction: row; align-items: center; gap: 12px;
  border-top: var(--border);
  overflow: hidden;
}
.swipe-card-tags { display: flex; flex-wrap: nowrap; gap: 4px; flex-shrink: 0; }
.swipe-card-body h3 {
  font-size: 14px; font-weight: 800; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  flex: 1;
}
.swipe-card-body p { display: none; }

/* Drag hints */
.swipe-hint-left, .swipe-hint-right {
  position: absolute; top: 45%;
  padding: 8px 14px; font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.06em;
  border: 3px solid; border-radius: 6px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.1s; z-index: 20;
}
.swipe-hint-left {
  left: 16px; color: #c0392b; border-color: #c0392b;
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%) rotate(-10deg);
}
.swipe-hint-right {
  right: 16px; color: #27ae60; border-color: #27ae60;
  background: rgba(255,255,255,0.92);
  transform: translateY(-50%) rotate(10deg);
}

/* Tinder-style rotated stack behind */
.swipe-card.depth-1 {
  transform: rotate(4deg) translate(14px, -12px);
  z-index: 9 !important; transition: transform 0.35s ease;
}
.swipe-card.depth-2 {
  transform: rotate(-3deg) translate(-12px, 6px);
  z-index: 8 !important; transition: transform 0.35s ease;
}
.swipe-card.depth-hidden {
  opacity: 0; pointer-events: none; z-index: 1 !important;
}

/* Controls: horizontal row below deck */
.swipe-controls {
  display: flex; flex-direction: row;
  align-items: center; gap: 24px;
}
.swipe-action-btn {
  border: var(--border); padding: 14px 28px;
  font-size: 13px; font-weight: 700; font-family: inherit;
  text-transform: uppercase; letter-spacing: 0.06em;
  cursor: pointer; box-shadow: var(--shadow);
  transition: all 0.1s ease; border-radius: 0; white-space: nowrap;
}
.swipe-action-btn:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.swipe-action-btn:active { transform: translate(2px,2px); box-shadow: none; }
.swipe-btn-open { background: var(--rose); color: var(--brown); }
.swipe-btn-next { background: var(--blue); color: var(--brown); }
.swipe-counter {
  font-size: 13px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.06em; text-align: center;
}
.swipe-done-msg {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 60px 40px; border: var(--border); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-lg);
  text-align: center; width: min(80vw, 900px);
}
.swipe-done-msg h3 { font-size: 20px; font-weight: 800; }
.swipe-done-msg p   { font-size: 14px; color: var(--muted); }

/* Mobile: same portrait layout, 70vw × 460px */
@media (max-width: 520px) {
  .swipe-deck-wrapper { gap: 20px; padding: 16px 0 40px; }
  .swipe-deck { width: 70vw; height: 460px; }
  .swipe-card.depth-1 { transform: rotate(3deg) translate(10px, -8px); }
  .swipe-card.depth-2 { transform: rotate(-2.5deg) translate(-8px, 4px); }
  .swipe-card-body h3 { font-size: 12px; }
  .swipe-controls { gap: 14px; }
  .swipe-action-btn { font-size: 11px; padding: 11px 18px; }
  .swipe-done-msg { width: 70vw; }
}

/* ===== SKILLS SECTION ===== */
.skills-section { padding: 64px 0 80px; }
.skills-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.skill-cat {
  border: var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
  transition: all 0.15s ease;
}
.skill-cat:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.skill-cat-header {
  margin-bottom: 16px;
}
.skill-cat-header h3 {
  font-size: 20px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-align: center;
}
.skill-list { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-item {
  background: var(--white); border: var(--border-thin);
  border-radius: 4px; padding: 5px 10px;
  font-size: 11px; font-weight: 600; color: var(--brown);
}

/* ===== PRODUCT PHILOSOPHY ===== */
.philosophy-section { padding: 20px 0 50px; }
.philosophy-layout { display: flex; flex-direction: column; gap: 40px; }
.philosophy-quote-block {
  position: relative; border: var(--border);
  border-radius: var(--radius); padding: 40px 40px 40px 64px;
  background: var(--white); box-shadow: var(--shadow-lg);
  max-width: 820px; margin: 0 auto;
}
.philosophy-mark {
  position: absolute; left: 20px; top: 16px;
  font-size: 64px; font-weight: 700; color: var(--rose);
  line-height: 1;
}
.philosophy-quote {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600; line-height: 1.5;
  color: var(--brown); font-style: italic;
  border: none; padding: 0; margin: 0;
}
.quote-attribution {
  margin-top: 20px;
  font-size: 15px; font-weight: 600;
  color: var(--muted); text-align: right;
  letter-spacing: 0.02em;
}
.quote-attribution em { font-style: italic; }
.philosophy-pillars {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar-card {
  border: var(--border); border-radius: var(--radius);
  padding: 22px 18px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: all 0.15s ease;
}
.pillar-card:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow-lg); }
.pillar-icon { font-size: 22px; }
.pillar-card h4 {
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.pillar-card p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 0; }
.philosophy-extended {
  font-size: 15px; color: var(--muted); line-height: 1.8;
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: 24px; border: var(--border-thin); border-radius: var(--radius);
  background: var(--white);
}

/* ===== ABOUT SECTION CTA ROW ===== */
.about-section .section-cta { gap: 12px; }

/* ===== RESPONSIVE — NEW SECTIONS ===== */
@media (max-width: 1100px) {
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .process-flow { flex-wrap: wrap; gap: 12px; }
  .process-flow .process-arrow { display: none; }
  .process-flow .process-step { flex: 1 1 calc(50% - 8px); min-width: 180px; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 850px) {
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: 1fr; }
  .exp-header { flex-direction: column; }
  .exp-clients-right { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }
  .exp-contributions-grid { grid-template-columns: 1fr; }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-pillars { grid-template-columns: repeat(2, 1fr); }
  .photo-frame { width: 100%; }
}
@media (max-width: 520px) {
  /* Impact: 2×2 grid, equal columns */
  .impact-grid { grid-template-columns: 1fr 1fr; }

  /* Work exp: cancel lone-card centering so ImBesideYou fills full width */
  .work-grid > .work-card:last-child:nth-child(2n+1) {
    grid-column: auto; max-width: 100%; margin-left: 0; margin-right: 0; width: 100%;
  }
  /* Shrink oversized work-context text to prevent overflow */
  .work-context { font-size: 13px; }
  .work-card-header .icon-box { display: none; }

  /* Library & Skills: 2 per row, no thumbnail on mobile */
  .library-grid { grid-template-columns: 1fr 1fr; }
  .library-thumb { display: none; }
  .library-card h3 { font-size: 13px; }
  .library-desc { display: none; }
  .skills-grid { grid-template-columns: 1fr 1fr; }

  /* Philosophy */
  .philosophy-pillars { grid-template-columns: 1fr; }
  .process-flow .process-step { flex: 1 1 100%; }
  .philosophy-quote-block { padding: 32px 20px 32px 44px; }
  .philosophy-mark { font-size: 44px; left: 10px; }
  .about-section .section-cta { flex-direction: column; align-items: center; }
}
