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

/* === TOKENS === */
:root {
  --ink:      #1d1d1d;
  --white:    #ffffff;
  --lavender: #dcdcf7;
  --mint:     #c8f0e4;
  --yellow:   #fede8d;
  --peach:    #f5ddd8;
  --pink:     #f9d0d8;
  --blue-lt:  #d4eafd;
  --r-pill:   999px;
  --r-card:   20px;
  --r-lg:     28px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #f5f5f5;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }

/* === SHARED LAYOUT === */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* === SHARED BUTTONS === */
.btn-dark {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; background: var(--ink); color: var(--white);
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
  transition: opacity .18s, transform .18s;
}
.btn-dark:hover { opacity: .8; transform: translateY(-1px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px; border: 1.5px solid rgba(29,29,29,.3); color: var(--ink);
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
  transition: border-color .18s;
}
.btn-outline:hover { border-color: var(--ink); }

.btn-outline-sm {
  display: inline-flex; align-items: center;
  padding: 11px 22px; border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: var(--r-pill); font-size: 14px; font-weight: 600;
  transition: background .18s, color .18s;
}
.btn-outline-sm:hover { background: var(--ink); color: var(--white); }

.btn-outline-lg {
  display: inline-flex; align-items: center;
  padding: 14px 32px; border: 1.5px solid var(--ink); color: var(--ink);
  border-radius: var(--r-pill); font-size: 15px; font-weight: 600;
  transition: background .18s, color .18s;
}
.btn-outline-lg:hover { background: var(--ink); color: var(--white); }

/* === SCROLL REVEAL === */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =====================================================
   HERO WRAP — lavender bg contains nav + hero + cards
===================================================== */
.hero-wrap {
  background: var(--lavender);
  padding: 24px 40px 0;
}

/* =====================================================
   NAV — white pill floating inside lavender
===================================================== */
.nav-pill {
  max-width: 1060px; margin: 0 auto;
  background: var(--white);
  border-radius: var(--r-pill);
  padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: sticky; top: 16px; z-index: 100;
}
.nav-logo {
  font-size: 20px; font-weight: 900; letter-spacing: -.04em;
  flex-shrink: 0;
}
.logo-dot { color: #7b6cf6; }
.nav-links {
  display: flex; gap: 2px; margin: 0 auto;
}
.nav-links a {
  padding: 8px 16px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; color: #666;
  transition: background .14s, color .14s;
}
.nav-links a:hover { background: var(--lavender); color: #3a3aaa; }
.nav-social { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-icon-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(0,0,0,.12); border-radius: 10px; color: var(--ink);
  transition: background .14s;
}
.nav-icon-btn:hover { background: var(--lavender); }
.nav-toggle {
  display: none; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }

.nav-mobile {
  display: none; flex-direction: column; gap: 2px;
  background: var(--white); border-radius: 20px; padding: 12px;
  margin: 8px 0; max-width: 1060px; margin-left: auto; margin-right: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px; font-size: 15px; font-weight: 500;
  border-radius: 12px; transition: background .14s;
}
.nav-mobile a:hover { background: var(--lavender); }

/* =====================================================
   HERO SECTION
===================================================== */
.hero {
  max-width: 1060px; margin: 0 auto;
  padding: 72px 0 60px;
  text-align: center;
  position: relative;
}

/* sticker badges */
.sticker {
  position: absolute;
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--white); border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--r-pill); padding: 9px 16px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  white-space: nowrap;
}
.sticker-tl { top: 26%; left: 0; transform: rotate(-6deg); }
.sticker-tr { top: 28%; right: 0; transform: rotate(5deg); }

/* decorative line-art floaters */
.deco { position: absolute; pointer-events: none; }
.deco-pen { bottom: 24%; left: 2%; animation: float1 5s ease-in-out infinite; }
.deco-cup { top: 18%; right: 2%; animation: float1 6s ease-in-out infinite .8s; }
@keyframes float1 {
  0%,100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-14px) rotate(6deg); }
}

.hero-title {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 900; line-height: 1.04;
  letter-spacing: -.04em; margin-bottom: 24px;
}
.hero-title em { font-style: italic; }

/* circular inline photo in the h1 */
.hero-photo-inline {
  display: inline-block; position: relative;
  width: clamp(68px, 8vw, 104px); height: clamp(68px, 8vw, 104px);
  border-radius: 50%; overflow: hidden;
  vertical-align: middle; margin: 0 4px;
  border: 3px solid rgba(255,255,255,.8);
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
  background: #d0d0f0;
}
.hero-photo-inline img { width:100%; height:100%; object-fit:cover; object-position: center top; }
.photo-fb {
  display: none; position: absolute; inset: 0;
  align-items: center; justify-content: center;
  font-size: clamp(18px, 2vw, 28px); font-weight: 900; color: #9090c0;
  background: #e0e0f8;
}

.hero-sub {
  font-size: clamp(15px, 1.5vw, 18px); color: rgba(29,29,29,.6);
  max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-inner { position: relative; z-index: 1; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   CARDS — stacked deck → spread
===================================================== */
.cards-section {
  max-width: 1060px; margin: 0 auto;
  padding: 20px 0 72px;
  display: flex; justify-content: center;
}
.cards-outer {
  display: flex; justify-content: center; align-items: flex-end;
  height: 340px; width: 100%;
}
.cards-deck {
  position: relative;
  width: 860px; height: 300px;
}

/* base card */
.icard {
  position: absolute; bottom: 0;
  width: 340px;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--r-card);
  padding: 32px 28px 24px;
  display: flex; flex-direction: column; gap: 10px;
  transform-origin: bottom center;
  /* start stacked — all at center */
  left: 50%; transform: translateX(-50%);
  transition: transform .7s cubic-bezier(.34,1.4,.64,1), opacity .4s ease;
}
.icard h3 { font-size: 19px; font-weight: 800; }
.icard p  { font-size: 13px; color: #777; line-height: 1.6; flex: 1; }
.icard-icon { margin-bottom: 4px; }

.icard-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,.12);
  margin-top: 4px; transition: background .16s;
}
.icard-btn:hover { background: #f0f0f0; }
.icard-btn-yellow { background: var(--yellow); border-color: var(--yellow); }
.icard-btn-yellow:hover { opacity: .85; }
.icard-btn-teal { background: var(--mint); border-color: var(--mint); }
.icard-btn-teal:hover { opacity: .85; }

/* stacking offsets — 2 behind visible slightly */
.icard-1 { z-index: 1; transform: translateX(-50%) rotate(-4deg) translateY(8px); }
.icard-2 { z-index: 2; transform: translateX(-50%) rotate(2deg) translateY(4px); }
.icard-3 { z-index: 3; transform: translateX(-50%) rotate(0deg); }

/* spread state */
.cards-deck.spread .icard-1 { transform: translateX(-145%) rotate(0deg) translateY(0); }
.cards-deck.spread .icard-2 { transform: translateX(-50%) rotate(0deg) translateY(0); }
.cards-deck.spread .icard-3 { transform: translateX(45%) rotate(0deg) translateY(0); }

/* =====================================================
   PROJECTS
===================================================== */
.projects {
  background: var(--white);
  padding: 80px 0;
}

.section-center-title {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 900; letter-spacing: -.035em;
  text-align: center; margin-bottom: 14px;
}
.section-center-sub {
  font-size: 16px; color: #777; text-align: center;
  max-width: 560px; margin: 0 auto 60px; line-height: 1.7;
}
.section-center-sub strong { color: var(--ink); }

.projects-list { display: flex; flex-direction: column; gap: 20px; }

/* project card — large rounded card, border */
.pcard {
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white);
  transition: box-shadow .22s, transform .22s;
}
.pcard:hover { box-shadow: 0 8px 40px rgba(0,0,0,.1); transform: translateY(-2px); }

.pcard-info {
  padding: 52px 44px;
  display: flex; flex-direction: column; gap: 0;
}
.pcard-tags {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  color: #aaa; margin-bottom: 14px;
}
.pcard-title {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  margin-bottom: 16px;
}
.pcard-desc {
  font-size: 15px; color: #666; line-height: 1.7;
  margin-bottom: 28px; flex: 1;
}

/* project image — colored bg + content illustration */
.pcard-img {
  display: flex; align-items: center; justify-content: center;
  padding: 36px 32px; min-height: 280px;
}
.pcard-img-lavender { background: #ebebff; }
.pcard-img-mint     { background: #d8f5ed; }
.pcard-img-yellow   { background: #fff4cc; }
.pcard-img-pink     { background: #fce0e6; }

/* screenshot-style screen frame */
.pcard-screen {
  width: 100%; max-width: 320px;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 20px;
  display: flex; flex-direction: column; gap: 14px;
}

/* mini bar chart */
.mini-dash { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.mini-dash-bar {
  flex: 1; height: var(--h); border-radius: 4px 4px 0 0;
  background: #c8c8f0;
}
.mini-dash-bar:nth-child(2n) { background: #a8a8e0; }
.mini-label { font-size: 11px; color: #999; font-family: monospace; }

/* mini stream */
.mini-stream { display: flex; flex-direction: column; gap: 6px; }
.mini-event { font-size: 11px; font-family: monospace; color: #555; background: #f5f5f5; padding: 6px 10px; border-radius: 6px; }

/* mini saving */
.mini-saving { text-align: center; }
.mini-saving-num { font-size: 44px; font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.mini-saving-lbl { font-size: 13px; color: #888; margin: 6px 0; }
.mini-saving-pill { display: inline-block; background: #eafaf0; color: #1a7a40; padding: 4px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; }

/* mini checks */
.mini-checks { display: flex; flex-direction: column; gap: 8px; }
.mini-check { font-size: 13px; background: #eafaf0; color: #1a7a40; padding: 8px 12px; border-radius: 8px; font-weight: 600; }

.projects-cta {
  text-align: center; padding-top: 60px;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.projects-cta p { font-size: 18px; color: #888; font-weight: 500; }

/* =====================================================
   TESTIMONIAL
===================================================== */
.testimonial { padding: 80px 0; background: var(--white); }
.testimonial-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
  display: flex; flex-direction: column; gap: 24px; align-items: center;
}
.quote-marks { font-size: 40px; color: var(--yellow); letter-spacing: -8px; line-height: 1; }
.testimonial-inner blockquote {
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 500; line-height: 1.65; color: var(--ink);
}
.testimonial-attr { display: flex; flex-direction: column; gap: 4px; }
.testimonial-attr strong { font-size: 16px; font-weight: 700; }
.testimonial-attr span  { font-size: 14px; color: #888; }

/* =====================================================
   PROCESS
===================================================== */
.process { background: var(--lavender); padding: 80px 0; }
.process-grid {
  display: grid; grid-template-columns: 380px 1fr; gap: 72px; align-items: start;
}
.process-left { position: sticky; top: 88px; }
.process-heading {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800; line-height: 1.2; letter-spacing: -.03em; margin-bottom: 20px;
}
.process-desc { font-size: 15px; color: rgba(29,29,29,.6); line-height: 1.7; margin-bottom: 28px; }
.process-right { display: flex; flex-direction: column; gap: 14px; }

/* colored process step cards */
.pstep {
  border-radius: var(--r-card); padding: 28px 28px;
  transition: transform .2s;
}
.pstep:hover { transform: translateX(6px); }
.pstep-peach   { background: var(--peach); }
.pstep-mint    { background: var(--mint); }
.pstep-yellow  { background: var(--yellow); }
.pstep-lavender { background: #d4d4f8; }

.pstep-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pstep-icon {
  width: 52px; height: 52px; background: rgba(255,255,255,.6);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.pstep-num { font-size: 13px; font-weight: 700; color: rgba(29,29,29,.4); }
.pstep h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.pstep p  { font-size: 14px; color: rgba(29,29,29,.65); line-height: 1.65; }

/* =====================================================
   STATS
===================================================== */
.stats { background: var(--lavender); padding: 64px 0; text-align: center; }
.stats-title {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900; letter-spacing: -.03em; margin-bottom: 14px;
}
.stats-sub {
  font-size: 16px; color: rgba(29,29,29,.6); max-width: 540px;
  margin: 0 auto 56px; line-height: 1.65;
}
.stats-sub strong { color: var(--ink); font-weight: 700; }
.stats-row { display: flex; flex-wrap: wrap; justify-content: center; }
.stat-block {
  flex: 1; min-width: 160px;
  padding: 28px 20px;
  border-right: 1px solid rgba(29,29,29,.1);
  text-align: center;
}
.stat-block:last-child { border-right: none; }
.stat-num {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px;
}
.stat-lbl { font-size: 13px; color: rgba(29,29,29,.5); line-height: 1.5; }

/* =====================================================
   ABOUT
===================================================== */
.about { background: var(--white); padding: 80px 0; }
.about-grid {
  display: grid; grid-template-columns: 420px 1fr;
  gap: 72px; align-items: start;
}

/* left — blob + photo */
.about-left { position: sticky; top: 88px; }
.about-img-wrap {
  position: relative;
  padding-bottom: 115%;
  width: 100%;
}
.about-blob {
  position: absolute; inset: 5%;
  background: var(--yellow);
  border-radius: 56% 44% 48% 52% / 52% 56% 44% 48%;
  animation: blob-m 8s ease-in-out infinite;
}
@keyframes blob-m {
  0%,100% { border-radius: 56% 44% 48% 52% / 52% 56% 44% 48%; }
  33%      { border-radius: 40% 60% 54% 46% / 46% 42% 58% 54%; }
  66%      { border-radius: 52% 48% 40% 60% / 60% 48% 52% 40%; }
}
.about-photo {
  position: absolute;
  top: 3%; left: 12%; width: 76%;
  border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%;
  object-fit: cover; object-position: center top;
  z-index: 2;
  box-shadow: 0 12px 48px rgba(0,0,0,.1);
}
.about-photo-fb {
  display: none; position: absolute;
  top: 3%; left: 12%; width: 76%; padding-bottom: 90%;
  border-radius: 50% 50% 50% 50% / 46% 46% 54% 54%;
  background: var(--lavender); z-index: 2;
  align-items: center; justify-content: center;
  font-size: 60px; font-weight: 900; color: #a0a0d0;
}

/* rotating circular badge */
.about-badge {
  position: absolute; bottom: 2%; left: 0; z-index: 3;
  width: 112px; height: 112px;
}
.badge-svg { width: 100%; height: 100%; animation: spin14 14s linear infinite; }
.badge-svg text {
  font-size: 9.5px; font-weight: 700; fill: var(--ink);
  font-family: 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase;
}
@keyframes spin14 { to { transform: rotate(360deg); } }
.badge-center {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; pointer-events: none;
}

/* right — text + skills */
.about-right { padding-top: 8px; }
.about-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900; letter-spacing: -.03em; margin-bottom: 20px;
}
.about-bio { font-size: 15px; color: #666; line-height: 1.75; margin-bottom: 14px; }
.about-bio strong { color: var(--ink); }

/* 2-column skill grid */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 32px; }
.skill-col { display: flex; flex-direction: column; gap: 20px; }
.skill-item {}
.skill-row {
  display: flex; justify-content: space-between;
  font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink);
}
.skill-row span:last-child { color: #bbb; }
.skill-bar { height: 4px; background: #eee; border-radius: 4px; overflow: hidden; }
.skill-fill {
  height: 100%; width: 0; border-radius: 4px;
  background: #c8c8f0;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* =====================================================
   CAPABILITIES — animated pill tags
===================================================== */
.caps { background: var(--white); padding: 64px 0; }
.caps-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 32px; }
.cap-tag {
  padding: 11px 20px; border: 1.5px solid rgba(0,0,0,.1); border-radius: var(--r-pill);
  font-size: 14px; font-weight: 600; background: var(--white);
  opacity: 0; transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, background .15s;
}
.cap-tag.visible { opacity: 1; transform: none; }
.cap-tag:hover { background: var(--lavender); border-color: var(--lavender); }

/* =====================================================
   EXPERIENCE
===================================================== */
.experience { background: #f8f8f8; padding: 80px 0; }
.timeline { margin-top: 0; display: flex; flex-direction: column; }
.titem {
  display: flex; gap: 20px; padding: 28px 0;
  border-bottom: 1px solid rgba(0,0,0,.07);
}
.titem:last-child { border-bottom: none; }
.tdot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; margin-top: 6px; }
.tbody { flex: 1; }
.theader {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 10px; flex-wrap: wrap;
}
.theader h4 { font-size: 17px; font-weight: 700; }
.tco { font-size: 13px; color: #999; }
.tbody > p { font-size: 14px; color: #666; line-height: 1.65; }
.tpill {
  display: inline-block; padding: 4px 12px; border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; white-space: nowrap;
}
.tpill-lavender { background: #ebebff; color: #3a3aaa; }
.tpill-mint     { background: var(--mint); color: #1a6a50; }
.tpill-yellow   { background: var(--yellow); color: #6a4a00; }
.tpill-pink     { background: var(--pink); color: #7a1a30; }

/* =====================================================
   CERTIFICATIONS
===================================================== */
.certs { background: #f8f8f8; padding: 40px 0 56px; }
.certs-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cert {
  padding: 12px 20px; background: var(--white);
  border: 1.5px solid rgba(0,0,0,.07); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  transition: transform .14s;
}
.cert:hover { transform: translateY(-2px); }

/* =====================================================
   CONTACT — full dark
===================================================== */
.contact { background: var(--ink); color: var(--white); padding: 100px 0; }
.contact-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.contact-bubble-icon { margin-bottom: 24px; opacity: .15; }
.contact-title {
  font-size: clamp(38px, 6vw, 70px);
  font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 18px;
}
.contact-sub {
  font-size: 16px; color: rgba(255,255,255,.5);
  max-width: 460px; margin: 0 auto 44px; line-height: 1.65;
}
.contact-row {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
}
.btn-contact {
  display: inline-flex; align-items: center;
  padding: 15px 36px;
  border: 1.5px solid rgba(255,255,255,.4); color: var(--white);
  border-radius: var(--r-pill); font-size: 16px; font-weight: 600;
  transition: background .18s, border-color .18s;
}
.btn-contact:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.contact-annot {
  display: flex; align-items: center; gap: 8px;
}
.handwritten {
  font-family: 'Caveat', cursive;
  font-size: 19px; color: rgba(255,255,255,.45); line-height: 1.3; text-align: left;
}

/* =====================================================
   FOOTER
===================================================== */
.footer { background: #111; padding: 24px 0; }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.footer-logo { font-size: 18px; font-weight: 900; color: var(--white); }
.footer-nav { display: flex; gap: 2px; }
.footer-nav a {
  padding: 7px 14px; font-size: 13px; color: rgba(255,255,255,.35);
  border-radius: 8px; transition: color .14s;
}
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 340px 1fr; gap: 48px; }
  .process-grid { grid-template-columns: 280px 1fr; gap: 48px; }
  .pcard { grid-template-columns: 1fr 360px; }
}

@media (max-width: 860px) {
  .hero-wrap { padding: 16px 20px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cards-deck { width: 680px; }
  .icard { width: 280px; }
  .cards-deck.spread .icard-1 { transform: translateX(-118%) rotate(0); }
  .cards-deck.spread .icard-3 { transform: translateX(18%) rotate(0); }
  .pcard { grid-template-columns: 1fr; }
  .pcard-img { min-height: 200px; order: -1; }
  .process-grid { grid-template-columns: 1fr; }
  .process-left { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-left { position: static; max-width: 320px; margin: 0 auto; }
  .stats-row { gap: 0; }
  .stat-block { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(29,29,29,.1); }
  .stat-block:nth-last-child(-n+2) { border-bottom: none; }
  .stat-block:nth-child(odd) { border-right: 1px solid rgba(29,29,29,.1); }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 38px; }
  .cards-outer { height: 260px; }
  .cards-deck { width: 100%; }
  .icard { width: 240px; }
  .cards-deck.spread .icard-1 { transform: translateX(-102%) rotate(0); }
  .cards-deck.spread .icard-2 { transform: translateX(-50%) rotate(0); }
  .cards-deck.spread .icard-3 { transform: translateX(2%) rotate(0); }
  .pcard-info { padding: 28px 24px; }
  .skills-grid { grid-template-columns: 1fr; }
}
