:root {
  --sage: #ccd5ae;
  --cream-light: #e9edc9;
  --cream: #fefae0;
  --warm: #faedcd;
  --tan: #d4a373;
  --brown: #a07850;
  --dark: #3d2b1a;
  --muted: #8a7060;
  --nav-h: 72px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 24px);
  overflow-x: hidden;
}

/* ── PAGES ── */
.page { display: none; animation: fadeUp 0.45s ease forwards; }
.page.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: fixed;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: var(--warm);
  border-radius: 28px;
  padding: 10px 20px;
  display: flex; gap: 4px;
  z-index: 1000;
  box-shadow: 0 4px 24px rgba(212,163,115,0.2);
  border: 0.5px solid var(--cream-light);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 18px; border-radius: 20px;
  cursor: pointer; border: none; background: transparent;
  transition: background 0.25s, transform 0.2s;
}
.nav-item:hover { background: var(--cream-light); transform: translateY(-2px); }
.nav-item.active { background: var(--cream-light); }
.nav-icon svg { width: 22px; height: 22px; stroke: var(--muted); stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.2s; }
.nav-item.active .nav-icon svg,
.nav-item:hover .nav-icon svg { stroke: var(--brown); }
.nav-label { font-size: 9px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-item.active .nav-label { color: var(--brown); font-weight: 500; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  padding: 3rem 3rem 2rem;
  position: relative;
  overflow: hidden;
  flex-wrap: wrap;
}
.hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: var(--cream-light);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 80px; left: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: var(--warm);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  flex: 1 1 300px;
  order: 1;
  min-width: 0;
  perspective: 1000px;
}

/* ── CURRENTLY CARDS ── */
.currently-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 0 0 340px;
  position: relative;
  z-index: 1;
  order: 2;
  padding-top: 10px;
}
.currently-card {
  position: relative;
  padding: 1.3rem 1.5rem 1.3rem 1.4rem;
  opacity: 0;
  transform: translateY(40px);
  animation: cardSlideUp 0.7s cubic-bezier(0.19, 1, 0.22, 1) forwards;
  animation-delay: calc(0.4s + var(--i) * 0.72s);
  background: linear-gradient(135deg, #f5ede0 0%, #edddc8 100%);
  border-radius: 10px;
  border-top: 1px solid #f8f0e4;
  border-left: 1px solid #f0e4d0;
  border-right: 2px solid #c4a882;
  border-bottom: 3px solid #b89868;
  box-shadow: 3px 4px 0px #c4a882, 5px 7px 16px rgba(61,43,26,0.18);
}
@keyframes cardSlideUp {
  to { opacity: 1; transform: translateY(0); }
}
.currently-card::after {
  content: '';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c99a, #a07850);
  box-shadow: 0 1px 3px rgba(61,43,26,0.4);
}
.currently-card::before {
  content: '';
  position: absolute;
  top: 10px; left: 14px; right: 30px;
  height: 1px;
  background: rgba(160,120,80,0.15);
  border-radius: 1px;
}
.currently-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 3px 4px 0px #c4a882, 8px 12px 24px rgba(61,43,26,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.currently-label {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--brown); font-weight: 700; margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
  display: flex; align-items: center; gap: 7px;
}
.currently-label svg {
  width: 13px; height: 13px; flex-shrink: 0;
  stroke: var(--brown); opacity: 0.85;
}
.currently-value {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600; color: var(--dark); margin-bottom: 4px; line-height: 1.3;
}
.currently-sub {
  font-size: 12px; color: var(--brown); opacity: 0.7; font-style: italic;
}

/* ── PHOTO FRAME ── */
.photo-frame {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--sage);
  border: 4px solid var(--warm);
  outline: 2px solid var(--tan);
  box-shadow: 0 6px 20px rgba(61,43,26,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 28px; color: var(--dark);
  margin-bottom: 1.4rem;
  overflow: hidden;
  cursor: zoom-in;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  animation: flipIn 1.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.photo-frame:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 28px rgba(61,43,26,0.2);
}
.photo-frame img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
@keyframes flipIn {
  0%   { transform: rotateY(0deg); opacity: 0.3; }
  100% { transform: rotateY(720deg); opacity: 1; }
}

/* ── PHOTO MODAL ── */
#photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
#photo-modal.open {
  display: flex;
  animation: modalFadeIn 0.25s ease forwards;
}
@keyframes modalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#modal-img {
  width: 300px; height: 300px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid white;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: modalZoomIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes modalZoomIn {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.greeting {
  font-size: 13px; color: var(--tan);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.5rem; font-weight: 500;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 6vw, 3.2rem);
  font-weight: 600; line-height: 1.15;
  margin-bottom: 1rem; color: var(--dark);
}
.typewriter-wrap {
  font-size: 15px; color: var(--muted);
  margin-bottom: 2rem; min-height: 24px;
}
.typewriter-text { color: var(--tan); font-weight: 500; }
.cursor {
  display: inline-block; width: 2px; height: 16px;
  background: var(--tan); margin-left: 2px;
  vertical-align: middle; animation: blink 1s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── CLOTHESLINE TAGS ── */
.clothesline-wrap {
  position: relative;
  margin-bottom: 2rem;
  padding-top: 18px;
}
.clothesline-rope {
  position: absolute;
  top: 6px; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--tan), var(--brown), var(--tan));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(61,43,26,0.2);
}
.clothesline-rope::before,
.clothesline-rope::after {
  content: '';
  position: absolute;
  top: -3px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brown);
}
.clothesline-rope::before { left: 0; }
.clothesline-rope::after { right: 0; }
.clothesline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 4px;
}
.chip {
  position: relative;
  background: var(--warm);
  border: 0.5px solid var(--tan);
  border-radius: 6px;
  padding: 5px 14px;
  font-size: 12px; color: var(--brown); font-weight: 500;
  box-shadow: 1px 2px 6px rgba(61,43,26,0.1);
  transition: transform 0.2s ease;
}
.chip::before {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 1.5px; height: 10px;
  background: var(--tan);
}
.chip:hover { transform: rotate(-3deg) translateY(2px); }

/* ── DOOR HANDLE BUTTON ── */
.hero-cta {
  display: inline-flex; align-items: center;
  background: none; color: var(--dark);
  padding: 0; border: none;
  cursor: pointer;
  transform-origin: left center;
  text-decoration: none;
  position: relative;
}
.handle-rose {
  width: 42px; height: 42px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c99a, #a07850);
  box-shadow: 0 3px 8px rgba(61,43,26,0.3), inset 0 1px 2px rgba(255,255,255,0.3);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; position: relative;
}
.handle-rose::after {
  content: '';
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(61,43,26,0.25);
}
.handle-lever {
  background: linear-gradient(180deg, #c4a882 0%, #a07850 100%);
  height: 22px; width: 120px;
  border-radius: 0 10px 10px 0;
  box-shadow: 0 3px 8px rgba(61,43,26,0.25), inset 0 1px 1px rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-left: -12px;
  z-index: 1; position: relative;
}
.handle-lever span {
  font-size: 13px; font-weight: 500;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--cream); letter-spacing: 0.04em;
  white-space: nowrap;
}
.hero-cta:hover .handle-lever { background: linear-gradient(180deg, #d4b892 0%, #b08860 100%); }
.hero-cta.swinging {
  animation: handleSwing 0.9s cubic-bezier(0.36, 0.07, 0.19, 0.97) forwards;
}
@keyframes handleSwing {
  0%   { transform: rotate(0deg); }
  30%  { transform: rotate(28deg); }
  60%  { transform: rotate(18deg); }
  80%  { transform: rotate(24deg); }
  100% { transform: rotate(22deg); }
}

/* ── HERO PLANT ── */
.hero-plant {
  position: absolute;
  bottom: -50px; right: 5px;
  width: 220px; height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

/* ── SECTION COMMONS ── */
.section { padding: 2rem; }
.sec-label { font-size: 11px; color: var(--tan); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; margin-bottom: 6px; }
.sec-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 600; color: var(--dark); margin-bottom: 1.5rem; }

/* ── PROJECTS ── */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.proj-card {
  background: var(--warm); border: 0.5px solid var(--cream-light);
  border-radius: 16px; overflow: hidden;
  cursor: pointer; transition: transform 0.25s, box-shadow 0.25s;
}
.proj-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(61,43,26,0.12); }
.proj-thumb {
  width: 100%; height: 160px; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; position: relative; overflow: hidden;
}
.proj-thumb img { width: 100%; height: 100%; object-fit: cover; }
.proj-body { padding: 1rem 1.1rem 1.2rem; }
.proj-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.proj-tag { font-size: 11px; background: var(--cream-light); color: var(--brown); padding: 3px 10px; border-radius: 20px; font-weight: 500; }
.proj-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; color: var(--dark); margin-bottom: 5px; }
.proj-desc { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── PROJECT DETAIL ── */
.proj-detail { display: none; }
.proj-detail.open { display: block; animation: fadeUp 0.4s ease forwards; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer;
  color: var(--tan); font-size: 13px; font-weight: 500;
  padding: 0; margin-bottom: 1.5rem; font-family: 'DM Sans', sans-serif;
}
.back-btn:hover { color: var(--brown); }
.detail-hero {
  width: 100%; height: 220px; background: var(--sage);
  border-radius: 16px; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px; overflow: hidden; position: relative;
}
.detail-hero img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.detail-title { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 600; color: var(--dark); margin-bottom: 8px; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.2rem; }
.detail-section { margin-bottom: 1.5rem; }
.detail-section h3 { font-size: 13px; color: var(--tan); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; margin-bottom: 8px; }
.detail-section p { font-size: 14px; color: var(--muted); line-height: 1.75; }
.detail-section ul { padding-left: 1.2rem; }
.detail-section ul li { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 4px; }
.screenshots { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.screenshot-box {
  aspect-ratio: 16/9; background: var(--cream-light);
  border-radius: 10px; border: 0.5px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--muted); overflow: hidden;
}
.screenshot-box img { width: 100%; height: 100%; object-fit: cover; }
.detail-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--dark); color: var(--cream);
  padding: 10px 20px; border-radius: 10px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  margin-top: 8px; margin-right: 8px; transition: background 0.2s;
}
.detail-link:hover { background: var(--tan); }
.detail-link.outline { background: transparent; border: 0.5px solid var(--dark); color: var(--dark); }
.detail-link.outline:hover { background: var(--warm); }

/* ── BLOGS ── */
.blog-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 0.5rem 0; }
.blog-card {
  position: relative;
  background: #faedcd;
  text-decoration: none;
  cursor: pointer;
  display: block;
  box-shadow: 2px 4px 12px rgba(61,43,26,0.12), 0 1px 3px rgba(61,43,26,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-image: repeating-linear-gradient(
    transparent, transparent 27px,
    rgba(100,140,80,0.1) 27px, rgba(100,140,80,0.1) 28px
  );
  background-size: 100% 28px;
  padding: 20px 28px 20px 64px;
  border-radius: 2px;
  overflow: visible;
}
.blog-card:hover {
  transform: translateY(-3px) rotate(0.3deg);
  box-shadow: 4px 8px 20px rgba(61,43,26,0.16);
}
.blog-card.coming-soon { opacity: 0.6; cursor: default; }
.blog-card.coming-soon:hover { transform: none; box-shadow: 2px 4px 12px rgba(61,43,26,0.12); }
.blog-card::before {
  content: '';
  position: absolute;
  left: 52px; top: 0; bottom: 0;
  width: 1.5px;
  background: rgba(100,140,80,0.4);
}
.blog-card::after {
  content: '';
  position: absolute;
  left: 18px; top: 50%;
  transform: translateY(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(160,120,80,0.2);
  box-shadow: inset 0 1px 3px rgba(61,43,26,0.15);
}
.blog-card-fold {
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 32px 32px 0;
  border-color: transparent var(--cream-light) transparent transparent;
  z-index: 2;
}
.blog-card-holes {
  position: absolute;
  left: 18px; top: 0; bottom: 0;
  display: flex; flex-direction: column;
  justify-content: space-around;
  pointer-events: none;
}
.blog-card-hole {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 1px solid rgba(160,120,80,0.2);
  box-shadow: inset 0 1px 3px rgba(61,43,26,0.15);
}
.blog-tag {
  font-size: 10px; color: var(--tan);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; margin-bottom: 8px;
  font-family: 'DM Sans', sans-serif;
}
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600;
  color: var(--dark); margin-bottom: 6px; line-height: 1.4;
}
.blog-meta { font-size: 12px; color: var(--muted); }
.blog-arrow {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 16px; color: var(--tan);
  opacity: 0; transition: opacity 0.2s;
}
.blog-card:hover .blog-arrow { opacity: 1; }
.medium-note {
  display: flex; align-items: center; gap: 10px;
  background: var(--cream-light); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: 1.5rem;
  font-size: 13px; color: var(--muted);
}

/* ── BLOG READING VIEW ── */
.blog-reading-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 2rem 4rem;
}
.blog-reading-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 0.5px solid var(--cream-light);
}
.blog-reading-tag {
  font-size: 11px; color: var(--tan);
  text-transform: uppercase; letter-spacing: 0.14em;
  font-weight: 700; margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.blog-reading-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600; color: var(--dark);
  line-height: 1.3; margin-bottom: 12px;
}
.blog-reading-meta {
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.blog-reading-content {
  font-family: 'Georgia', serif;
  font-size: 18px; line-height: 1.9;
  color: var(--dark); margin-bottom: 2.5rem;
}
.blog-reading-content h1,
.blog-reading-content h2,
.blog-reading-content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--dark); margin: 1.8rem 0 0.8rem; line-height: 1.3;
}
.blog-reading-content h1 { font-size: 1.8rem; }
.blog-reading-content h2 { font-size: 1.5rem; }
.blog-reading-content h3 { font-size: 1.2rem; }
.blog-reading-content p { margin-bottom: 1.4rem; }
.blog-reading-content blockquote {
  border-left: 3px solid var(--tan);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0; font-style: italic; color: var(--muted);
}
.blog-reading-content ul,
.blog-reading-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.blog-reading-content li { margin-bottom: 0.5rem; }
.blog-reading-content a { color: var(--brown); text-decoration: underline; }
.blog-reading-fade { position: relative; overflow: hidden; }
.blog-reading-fade::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(transparent, var(--cream));
  pointer-events: none;
}
.blog-medium-cta {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; padding: 2rem;
  background: var(--warm); border-radius: 16px;
  border: 0.5px solid var(--cream-light); text-align: center;
}
.blog-medium-cta p { font-size: 14px; color: var(--muted); font-style: italic; }
.blog-medium-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: var(--cream);
  padding: 12px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.blog-medium-link:hover { background: var(--tan); transform: translateY(-2px); }

/* ── ABOUT PAGE ── */
.about-profile-card {
  flex: 1 1 0;
  background: var(--warm);
  border: 0.5px solid var(--cream-light);
  border-radius: 20px;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.about-profile-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: var(--cream-light);
  z-index: 0;
}
.about-profile-card::after {
  content: '';
  position: absolute;
  bottom: -40px; left: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.3;
  z-index: 0;
}
.about-profile-photo {
  position: relative; z-index: 1;
  width: 150px; height: 150px;
  border-radius: 50%;
  margin: 0 auto 1.4rem;
  border: 4px solid var(--cream);
  outline: 2px solid var(--tan);
  box-shadow: 0 6px 20px rgba(61,43,26,0.15);
  overflow: hidden;
}
.about-profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-profile-name {
  position: relative; z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 600;
  color: var(--dark); margin-bottom: 5px;
}
.about-profile-role {
  position: relative; z-index: 1;
  font-size: 11px; color: var(--tan);
  font-weight: 500; letter-spacing: 0.04em;
  margin-bottom: 0.7rem; line-height: 1.5;
}
.about-profile-divider {
  position: relative; z-index: 1;
  width: 60%; height: 1px;
  background: var(--tan); opacity: 0.4;
  margin: 0.4rem auto 0.6rem;
}
.about-profile-tags {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 12px;
  text-align: left;
}
.about-profile-tag {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
}
.apt-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--tan); }
.apt-icon svg { width: 18px; height: 18px; stroke: var(--tan); }

/* Right bio side */
.about-bio-side {
  flex: 1 1 0;
  padding-top: 0.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
}
.about-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 600; color: var(--dark);
  line-height: 1.35; margin-bottom: 1.4rem;
}
.about-highlight { color: var(--tan); }
.about-bio-text {
  font-size: 14px; color: var(--muted);
  line-height: 1.85; margin-bottom: 1rem;
}
.about-quote {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--sage);
  border: 0.5px solid #a8c090;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin-top: 1.4rem;
}
.about-quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem; color: var(--tan);
  line-height: 1; flex-shrink: 0; margin-top: -4px;
}
.about-quote p { font-size: 13px; color: var(--muted); font-style: italic; line-height: 1.7; }

.about-top {
  display: flex; flex-direction: row;
  gap: 2.5rem; padding: 0.2rem 2rem 0;
  flex-wrap: wrap; align-items: flex-start;
}

.about-page-header { padding: 2rem 2rem 0; }
.about-page-header .sec-title { margin-bottom: 0.5rem; }
.about-page-divider {
  width: 40px; height: 2px;
  background: var(--tan); border-radius: 2px;
  margin-bottom: 1.5rem;
}
.about-headline-line {
  width: 48px; height: 2.5px;
  background: var(--sage); border-radius: 2px;
  margin: 10px 0 1.4rem;
}

/* Skills section */
.about-skills-section { padding: 2rem 2rem 0; }
.about-skills-rows { display: flex; flex-direction: column; gap: 0; }
.about-skill-row {
  display: flex; align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--cream-light);
  flex-wrap: wrap; gap: 0;
}
.about-skill-row:last-child { border-bottom: none; }
.about-skill-category {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--dark);
  width: 200px; flex-shrink: 0;
  padding-right: 1.5rem;
  border-right: 1.5px solid var(--cream-light);
  margin-right: 1.5rem;
}
.ask-icon {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--cream-light); flex-shrink: 0;
}
.ask-icon svg { width: 14px; height: 14px; stroke: var(--brown); }
.about-skill-chips { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.ask-chip {
  padding: 6px 18px; border-radius: 24px;
  font-size: 13px; font-weight: 500;
  transition: transform 0.2s; cursor: default;
}
.ask-chip:hover { transform: translateY(-2px); }
.ask-chip.core    { background: #fdf0e0; border: 1px solid #e8c99a; color: var(--brown); }
.ask-chip.method  { background: #eef3e8; border: 1px solid #b8cca8; color: #5a7a50; }
.ask-chip.learning { background: transparent; border: 1px solid var(--cream-light); color: var(--muted); }

/* Connect section */
.about-connect-section { padding: 2rem 2rem 2rem; }

/* ── EDUCATION ── */
.about-education-section { padding: 2rem 2rem 0; }
.about-education-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--warm);
  border: 0.5px solid var(--cream-light);
  border-radius: 16px;
  padding: 1.2rem 1.5rem;
}
.about-edu-logo {
  width: 52px; height: 52px;
  border-radius: 10px; object-fit: contain; flex-shrink: 0;
}
.about-edu-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600;
  color: var(--dark); margin-bottom: 3px;
}
.about-edu-degree { font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.about-edu-year { font-size: 12px; color: var(--tan); font-weight: 500; }

/* ── CONNECT GRID ── */
.connect-grid {
  display: flex; flex-direction: row; gap: 10px;
  overflow-x: auto; padding-bottom: 8px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.connect-grid::-webkit-scrollbar { display: none; }
.connect-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 1.1rem 1rem; border-radius: 18px; text-decoration: none;
  border: 0.5px solid var(--cream-light); background: var(--warm);
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  flex: 0 0 150px; min-width: 150px;
}
.connect-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(61,43,26,0.12); }
.connect-card-arrow {
  position: absolute; top: 12px; right: 14px;
  font-size: 14px; color: var(--tan);
  opacity: 0; transform: translate(-4px, 4px);
  transition: opacity 0.2s, transform 0.2s;
}
.connect-card:hover .connect-card-arrow { opacity: 1; transform: translate(0,0); }
.connect-card-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.connect-card-icon svg { width: 18px; height: 18px; }
.connect-card-body { flex: 1; }
.connect-card-platform { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 2px; }
.connect-card-handle { font-size: 11px; color: var(--muted); font-weight: 400; word-break: break-all; }
.connect-card.email    .connect-card-icon     { background: #fde8d8; color: #c05c2a; }
.connect-card.email    .connect-card-platform { color: #c05c2a; }
.connect-card.linkedin .connect-card-icon     { background: #ddeaf7; color: #0a66c2; }
.connect-card.linkedin .connect-card-platform { color: #0a66c2; }
.connect-card.medium   .connect-card-icon     { background: #e8e8e8; color: #242424; }
.connect-card.medium   .connect-card-platform { color: #242424; }
.connect-card.github   .connect-card-icon     { background: #e6e2f0; color: #24292f; }
.connect-card.github   .connect-card-platform { color: #24292f; }

/* ── TABLEAU EMBED ── */
.tableau-embed {
  width: 100%; border-radius: 12px; overflow: hidden;
  border: 0.5px solid var(--cream-light); background: var(--warm);
}

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

/* ── USER STORIES ── */
.detail-stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px; margin-top: 12px;
}
.story-card { position: relative; padding-top: 10px; }
.story-card-pin {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8c99a, #a07850);
  box-shadow: 0 2px 6px rgba(61,43,26,0.35);
  z-index: 2;
}
.story-card-inner {
  background: #fdf6e9;
  border: 0.5px solid #e2cba8;
  border-radius: 14px;
  padding: 1.4rem 1.3rem 1.2rem;
  box-shadow: 0 3px 14px rgba(61,43,26,0.09), 0 1px 3px rgba(61,43,26,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-image: repeating-linear-gradient(
    transparent, transparent 27px,
    rgba(160,120,80,0.06) 27px, rgba(160,120,80,0.06) 28px
  );
  background-size: 100% 28px;
}
.story-card:hover .story-card-inner {
  transform: translateY(-4px) rotate(0.4deg);
  box-shadow: 0 10px 28px rgba(61,43,26,0.14);
}
.story-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.story-id {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--brown); letter-spacing: 0.12em; text-transform: uppercase;
}
.story-persona-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.story-persona-icon { font-size: 18px; }
.story-persona-text { font-size: 13px; color: var(--muted); }
.story-action { font-size: 13px; color: var(--muted); margin-bottom: 5px; line-height: 1.55; padding-left: 26px; }
.story-benefit { font-size: 13px; color: var(--muted); line-height: 1.55; padding-left: 26px; margin-bottom: 1rem; }
.story-divider { height: 1px; background: var(--cream-light); margin: 0.8rem 0; }
.story-ac-label { font-size: 10px; color: var(--tan); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.story-ac-list { padding-left: 1rem; margin-bottom: 1rem; }
.story-ac-list li { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 3px; }
.story-ac-list li::marker { color: var(--tan); }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sage); border-radius: 2px; }

/* ═══════════════════════════════
   MOBILE RESPONSIVE — max 768px
═══════════════════════════════ */
@media (max-width: 768px) {
  .hero { flex-direction: column; align-items: flex-start; padding: 2rem 1.4rem 2rem; gap: 2rem; min-height: unset; }
  .hero-content { order: 1; max-width: 100%; width: 100%; }
  .hero h1 { font-size: 2.2rem; }
  .currently-stack { order: 2; flex: unset; width: 100%; }
  .currently-card { width: 100%; }
  .hero-plant { display: none; }
  .clothesline-tags { gap: 8px; }
  .chip::before { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-list { grid-template-columns: 1fr; gap: 20px; }
  .blog-card { padding: 16px 20px 16px 56px; }
  .about-top { flex-direction: column; gap: 1.5rem; padding: 1rem 1.2rem 0; }
  .about-profile-card { width: 100%; flex: unset; }
  .about-bio-side { width: 100%; flex: unset; padding-top: 0; }
  .about-headline { font-size: 1.4rem; }
  .about-skill-row { flex-direction: column; align-items: flex-start; gap: 10px; padding: 1rem 0; }
  .about-skill-category { width: 100%; border-right: none; border-bottom: 0.5px solid var(--cream-light); padding-bottom: 8px; margin-right: 0; padding-right: 0; }
  .about-skill-chips { padding: 0; }
  .connect-grid { gap: 10px; }
  .connect-card { flex: 0 0 130px; min-width: 130px; }
  .section { padding: 1.4rem; }
  .about-skills-section, .about-connect-section, .about-page-header { padding-left: 1.2rem; padding-right: 1.2rem; }
  .blog-reading-wrap { padding: 1.4rem 1.2rem 3rem; }
  .blog-reading-content { font-size: 16px; }
  .bottom-nav { padding: 8px 12px; gap: 2px; }
  .nav-item { padding: 6px 12px; }
  .detail-stories-grid { grid-template-columns: 1fr; gap: 20px; }
}