/* variables */
:root {
  --bg:             #f5ede0;
  --bg-2:           #fdf8f2;
  --surface:        rgba(80, 50, 20, 0.05);
  --surface-border: rgba(80, 50, 20, 0.11);
  --accent:         #a0714f;
  --accent-rgb:     160, 113, 79;
  --accent-2:       #c4956a;
  --accent-glow:    rgba(160, 113, 79, 0.18);
  --text:           #241a10;
  --text-muted:     #6b4f35;
  --text-subtle:    #a8896a;
  --radius:         16px;
  --radius-full:    9999px;
  --transition:     0.42s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:         0 8px 32px rgba(80, 50, 20, 0.14);
}

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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* Grain / paper texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99998;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.055'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* app shell */
#app {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 20px;
}

/* nav */
.nav-wrapper {
  width: 100%;
  max-width: 1200px;
  flex-shrink: 0;
  margin-bottom: 14px;
}

#main-nav {
  background: transparent;
  border: none;
  padding: 0 4px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--text);
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
}

.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--surface);
}

.nav-links a.active {
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12);
}


#nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background var(--transition);
}
#nav-toggle:hover { background: var(--surface); }

/* Mobile dropdown */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  background: rgba(253, 248, 242, 0.97);
  backdrop-filter: blur(24px);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 8px;
  z-index: 100;
  list-style: none;
}

#mobile-menu.open { display: block; }

#mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

#mobile-menu a:hover { background: var(--surface); color: var(--text); }
#mobile-menu a.active { color: var(--accent); background: rgba(var(--accent-rgb), 0.1); }

/* main wrapper */
.main-wrapper {
  width: 100%;
  max-width: 1200px;
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
  background: var(--bg-2);
}

/* sections */
.section {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  padding: 40px 48px;
}

.section.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.section::-webkit-scrollbar { width: 4px; }
.section::-webkit-scrollbar-track { background: transparent; }
.section::-webkit-scrollbar-thumb { background: var(--surface-border); border-radius: 2px; }

/* home */
#home { justify-content: center; }

.home-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.home-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.avatar-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-glow {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.25), transparent 70%);
  animation: pulse-glow 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.avatar {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  border: 3px solid rgba(var(--accent-rgb), 0.4);
  overflow: hidden;
  position: relative;
  z-index: 1;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initials {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.availability-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(80, 120, 60, 0.08);
  border: 1px solid rgba(80, 120, 60, 0.22);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 500;
  color: #5a7a3a;
  white-space: nowrap;
}

.availability-badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6a9044;
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.home-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid var(--surface-border);
  background: var(--surface);
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.badge:hover { border-color: rgba(var(--accent-rgb), 0.4); color: var(--text); }
.badge i { color: var(--accent); font-size: 0.75rem; }

.work-modes {
  font-size: 0.78rem;
  color: var(--text-subtle);
  text-align: center;
  line-height: 1.7;
}

.work-modes strong { color: var(--text-muted); display: block; margin-bottom: 4px; }

.home-right { display: flex; flex-direction: column; gap: 20px; }

.hero-name {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-style: italic;
}

.hero-name span {
  font-size: 5.4rem;
  font-style: normal;
  font-weight: 900;
  display: block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.0;
  letter-spacing: -0.03em;
}

.hero-role {
  font-family: 'DM Sans', ui-sans-serif, sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  min-height: 1.8em;
}

.role-rotator .role-word {
  display: none;
  color: var(--accent-2);
}
.role-rotator .role-word.visible {
  display: inline;
  animation: fadeWord 0.4s ease;
}

@keyframes fadeWord {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-intro {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  width: 100%;
  border-left: 2px solid rgba(var(--accent-rgb), 0.3);
  padding-left: 16px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-outline:hover { border-color: rgba(var(--accent-rgb), 0.4); }

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  cursor: pointer;
}

.social-link:hover {
  color: var(--accent);
  border-color: rgba(var(--accent-rgb), 0.4);
  background: rgba(var(--accent-rgb), 0.06);
}

.section-placeholder {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 300px;
}

.section-placeholder .section-icon {
  font-size: 2.5rem;
  color: rgba(var(--accent-rgb), 0.3);
  margin-bottom: 8px;
}

.section-placeholder h2 {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.section-placeholder p {
  font-size: 0.95rem;
  color: var(--text-subtle);
  max-width: 400px;
  line-height: 1.7;
}

.section-placeholder .coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px dashed var(--surface-border);
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 8px;
}

.main-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.06) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.section { z-index: 1; }

/* mobile nav */
.nav-wrapper { position: relative; }

/* responsive */
@media (max-width: 900px) {
  .home-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .home-right { align-items: center; }
  .hero-intro { text-align: left; }
  .home-left { flex-direction: column; }
}

@media (max-width: 768px) {
  html, body { overflow: auto; height: auto; }

  #app { height: auto; min-height: 100vh; padding: 84px 12px 24px; overflow-x: hidden; }

  .nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--bg);
    padding: 0 12px;
    transition: box-shadow 0.25s ease;
  }

  .nav-wrapper.nav-scrolled {
    box-shadow: 0 2px 20px rgba(80, 50, 20, 0.13);
  }

  .main-wrapper {
    min-height: 70vh;
    overflow: visible;
  }

  .section {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto;
    padding: 28px 20px;
    display: none;
  }

  .section.active { display: flex; }

  .nav-links { display: none; }
  #nav-toggle { display: flex; }

  .hero-name { font-size: 2rem; }

  .home-grid { gap: 24px; }

  .avatar { width: 140px; height: 140px; }
  .avatar-initials { font-size: 2.2rem; }
}

@media (max-width: 480px) {
  .section { padding: 20px 16px; }
  .btn { padding: 10px 18px; font-size: 0.85rem; }
}

/* projects */
.projects-section {
  align-items: flex-start;
  padding-top: 40px;
}

.projects-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.projects-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.projects-header { display: flex; flex-direction: column; gap: 8px; }

.projects-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.project-card {
  background: var(--bg-2);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform 0.2s ease;
}

.project-card:hover {
  border-color: rgba(var(--accent-rgb), 0.3);
  transform: translateY(-2px);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--surface-border);
}

.project-meta {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.project-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(var(--accent-rgb), 0.08);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.project-title {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.project-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.project-links { margin-top: 4px; }

.btn-sm {
  padding: 7px 14px;
  font-size: 0.78rem;
}

.projects-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 7px;
}

.projects-note i { color: var(--accent); opacity: 0.6; font-size: 0.75rem; }

.project-year {
  font-size: 0.72rem;
  color: var(--text-subtle);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: -4px;
}

.js-open-modal { cursor: pointer; }

.project-thumb--nda {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(var(--accent-rgb), 0.05);
  border-bottom: 1px solid var(--surface-border);
  color: var(--text-subtle);
}
.project-thumb--nda i { font-size: 1.4rem; opacity: 0.45; }
.project-thumb--nda span { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; opacity: 0.45; }

.project-thumb { position: relative; }
.thumb-count {
  position: absolute;
  bottom: 7px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .projects-grid { grid-template-columns: 1fr; }
  .projects-top-row { flex-direction: column; align-items: flex-start; gap: 14px; }
  .projects-ctas { width: 100%; }
}

/* project modal */
.pmodal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(24, 14, 6, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.pmodal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.pmodal-overlay[hidden] { display: none !important; }

.pmodal-box {
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  width: 100%;
  max-width: 860px;
  height: min(88vh, 560px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.22s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.22);
}
.pmodal-overlay.is-open .pmodal-box {
  transform: translateY(0) scale(1);
}

.pmodal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 10;
  background: var(--bg);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.15s, border-color 0.15s;
}
.pmodal-close:hover { color: var(--text); border-color: var(--accent); }

.pmodal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.pmodal-gallery {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border-right: 1px solid var(--surface-border);
}

.pgallery-track {
  display: flex;
  height: 100%;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.pgallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pgallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(var(--bg-rgb, 245,237,224), 0.85);
  border: 1px solid var(--surface-border);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text);
  transition: background 0.15s;
  z-index: 2;
}
.pgallery-btn:hover { background: var(--bg); }
.pgallery-prev { left: 10px; }
.pgallery-next { right: 10px; }
.pgallery-btn:disabled { opacity: 0.3; cursor: default; }

.pgallery-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}
.pgallery-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.pgallery-dot.active {
  background: #fff;
  transform: scale(1.25);
}

.pmodal-nda-thumb {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(var(--accent-rgb), 0.05);
  border-right: 1px solid var(--surface-border);
  color: var(--text-subtle);
}
.pmodal-nda-thumb i { font-size: 2rem; opacity: 0.35; }
.pmodal-nda-thumb span { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.4; }

.pmodal-info {
  padding: 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.pmodal-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pmodal-title {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
  margin-top: 2px;
}

.pmodal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.pmodal-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
}
.pmodal-bullets li {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.pmodal-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.pmodal-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
}

@media (max-width: 640px) {
  .pmodal-inner { grid-template-columns: 1fr; }
  .pmodal-gallery { height: 200px; border-right: none; border-bottom: 1px solid var(--surface-border); }
  .pmodal-nda-thumb { height: 160px; border-right: none; border-bottom: 1px solid var(--surface-border); }
  .pmodal-info { padding: 18px 20px; }
  .pmodal-title { font-size: 1.05rem; }
  .pmodal-box { height: min(92vh, 600px); }
}

/* about */
.about-section {
  align-items: flex-start;
  padding-top: 40px;
}

.about-wrap {
  width: 100%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.about-header {
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.about-title {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
}

.about-lead {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 380px;
}

.about-block {
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.about-block p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.78;
}

.block-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-2);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--surface-border);
  width: 100%;
  margin-bottom: 4px;
}

.about-skills {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-skills-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.about-skills > .block-label {
  margin-bottom: 16px;
}

.skill-group {
  margin-bottom: 14px;
}

.skill-group-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 7px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.skill-tag:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.25);
  color: var(--accent);
}

.skill-tag i {
  font-size: 0.72rem;
  color: var(--accent);
  opacity: 0.8;
}

/* Strengths */
.strengths-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--surface-border);
}

.strengths-wrap > .block-label {
  margin-bottom: 16px;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.strength-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--transition), background var(--transition);
}

.strength-card:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.04);
}

.strength-icon {
  font-size: 1.1rem;
  color: var(--accent);
  opacity: 0.85;
}

.strength-card strong {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.strength-card p {
  font-size: 0.77rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin: 0;
}

/* About responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-title { font-size: 2rem; }
  .about-lead { max-width: 100%; }
  .strengths-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .about-section { padding-top: 28px; }
  .strengths-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .strengths-grid { grid-template-columns: 1fr; }
}

/* why hire me */
.why-section {
  align-items: flex-start;
  padding-top: 40px;
}

.why-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-top-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.why-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-process {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 18px 24px;
  background: rgba(var(--accent-rgb), 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: var(--radius);
}

.why-step {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.why-step-n {
  font-family: 'Space Grotesk', ui-sans-serif, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  opacity: 0.7;
}

.why-step strong {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.why-step span {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.55;
}


.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 22px 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color var(--transition), background var(--transition);
}

.why-card:hover {
  border-color: rgba(var(--accent-rgb), 0.28);
  background: rgba(var(--accent-rgb), 0.03);
}

.why-card.wide {
  grid-column: span 2;
}

.why-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  font-size: 0.9rem;
}

.why-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.why-card-body strong {
  font-family: 'Fraunces', ui-serif, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.why-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.why-list li {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.5;
}

.why-list li i {
  color: var(--accent);
  font-size: 0.75rem;
  width: 14px;
  flex-shrink: 0;
  opacity: 0.85;
}

.why-ctas {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.why-card-subtle {
  border-style: dashed;
  background: rgba(var(--accent-rgb), 0.02);
}

/* Why Hire responsive */
@media (max-width: 768px) {
  .why-section { padding-top: 28px; }
  .why-top-row { flex-direction: column; align-items: flex-start; }
  .why-process { flex-direction: column; gap: 14px; padding: 16px 18px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card.wide { grid-column: span 1; }
}

/* contact */
.contact-section {
  align-items: flex-start;
  padding-top: 40px;
}

.contact-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Top row: header left, availability card right */
.contact-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: start;
}

.contact-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-lead {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
}

/* Availability card */
.contact-availability-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  max-width: 280px;
}

.avail-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5a7a3a;
}

.avail-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6a9044;
  animation: blink 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

.avail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.avail-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 9px;
}

.avail-list li i {
  color: var(--accent);
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* Bottom row: CTA + tiles */
.contact-bottom {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.contact-cta-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  white-space: nowrap;
}

.contact-email-note {
  font-size: 0.78rem;
  color: var(--text-subtle);
  font-style: italic;
}

.contact-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.social-pill:hover {
  background: rgba(var(--accent-rgb), 0.08);
  border-color: rgba(var(--accent-rgb), 0.28);
  color: var(--accent);
}

/* Info tiles */
.contact-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
}

.contact-tile > i {
  color: var(--accent);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
  opacity: 0.85;
}

.contact-tile div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-tile strong {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-tile span {
  font-size: 0.81rem;
  color: var(--text-muted);
}

/* Contact responsive */
@media (max-width: 900px) {
  .contact-top    { grid-template-columns: 1fr; }
  .contact-bottom { grid-template-columns: 1fr; }
  .contact-availability-card { max-width: 100%; }
  .contact-section { padding-top: 28px; }
}

@media (max-width: 600px) {
  .contact-tiles { grid-template-columns: 1fr; }
}

/* back to top */
#back-to-top {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 18px;
  z-index: 199;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 0.82rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(var(--accent-rgb), 0.38);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.2s ease;
}

#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#back-to-top:hover { transform: translateY(-2px); }
#back-to-top:active { transform: translateY(0); }

@media (max-width: 768px) {
  #back-to-top { display: flex; }
}
