/* ─── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #fdf9f4;
  --surface:      #f5efe3;
  --surface-2:    #ede6d6;
  --border:       #ddd3bb;
  --border-light: #e8e0ce;
  --text:         #1c1510;
  --muted:        #7a6858;
  --muted-2:      #b09880;
  --accent:       #3d5a40;
  --accent-soft:  #3d5a4015;
  --accent-hover: #4e7052;
  --green:        #6a9b6e;
  --green-soft:   #6a9b6e15;
  --gold:         #c4880a;
  --gold-soft:    #c4880a15;
  --font-display: 'Lora', Georgia, serif;
  --font:         'Inter', system-ui, sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;
  --transition:   0.2s ease;
  --max-w:        1100px;
  --shadow-sm:    0 1px 3px rgba(28,21,16,0.06), 0 1px 2px rgba(28,21,16,0.04);
  --shadow:       0 4px 16px rgba(28,21,16,0.08), 0 2px 6px rgba(28,21,16,0.05);
  --shadow-lg:    0 12px 40px rgba(28,21,16,0.1), 0 4px 12px rgba(28,21,16,0.06);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
strong { color: var(--text); font-weight: 600; }

/* ─── Layout Helpers ────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-inner { padding: 7rem 0; }

.section-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-label::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(61,90,64,0.3);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(61,90,64,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--accent); }

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.btn-sm:hover { border-color: var(--accent); color: var(--accent); }

/* ─── Nav ───────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253,249,244,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 12px rgba(28,21,16,0.06);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0.15rem;
  flex: 1;
}

.nav-links a {
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
  color: var(--muted);
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

/* ─── Hero ──────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 62px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 75% 40%, rgba(61,90,64,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 80%, rgba(74,124,85,0.05) 0%, transparent 60%),
    var(--bg);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
  min-height: calc(100vh - 62px);
  padding: 5rem 0;
}

.hero-left { display: flex; flex-direction: column; }

/* ─── Hero Right Visual ─────────────────────────────────────── */
.hero-right {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-avatar {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 8px 40px rgba(61,90,64,0.25), 0 2px 8px rgba(61,90,64,0.15);
  position: relative;
  z-index: 2;
}
.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-float-card {
  position: absolute;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.65rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  z-index: 3;
  white-space: nowrap;
}

.hfc-label {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hfc-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

@keyframes float-a {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-8px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-6px); }
}
@keyframes float-c {
  0%, 100% { transform: translateY(-50%); }
  50%       { transform: translateY(calc(-50% - 7px)); }
}

.hfc-1 { top: 30px;  right: 20px; animation: float-a 4s ease-in-out infinite; }
.hfc-2 { bottom: 70px; right: 0;  animation: float-b 5s ease-in-out infinite 1s; }
.hfc-3 { top: 50%;  left: 0; transform: translateY(-50%); animation: float-c 4.5s ease-in-out infinite 0.5s; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74,124,85,0.2);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,124,85,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(74,124,85,0.08); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero-name span { color: var(--accent); }

.hero-title {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 580px;
}

.hero-personal {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-2);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-personal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--muted);
}

.hero-bio {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── Stats ─────────────────────────────────────────────────── */
#stats {
  background: var(--text);
  color: var(--bg);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat:last-child { border-right: none; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-plus { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.45;
}

/* ─── About ─────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.skills-group { margin-bottom: 1.75rem; }
.skills-group:last-child { margin-bottom: 0; }

.skills-heading {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  display: block;
  margin-bottom: 0.75rem;
}

.skill-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tag {
  padding: 0.3rem 0.75rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--muted);
  transition: all var(--transition);
}
.tag:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.tag-mono { font-family: var(--mono); font-size: 0.75rem; }

/* ─── Life Section ──────────────────────────────────────────── */
#life { background: var(--surface); }

#life h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.life-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
  max-width: 520px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.life-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.life-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.life-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.life-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.life-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

.life-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent-soft) 100%);
  border-color: rgba(61,90,64,0.2);
}

/* ─── Experience / Timeline ─────────────────────────────────── */
#experience h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 3rem;
}

.year-range {
  color: var(--muted);
  font-weight: 400;
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0;
}

.timeline {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
  padding: 0 0 3.5rem 2.5rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -6px;
  top: 5px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--bg);
  border: 2px solid var(--accent);
}

.role-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.role-dept {
  font-family: var(--mono);
  font-size: 0.73rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 1rem;
}

.role-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.role-bullets li {
  position: relative;
  padding-left: 1.3rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.72;
}

.role-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  opacity: 0.5;
  font-size: 0.8rem;
}

/* ─── Shipped ───────────────────────────────────────────────── */
#shipped { background: var(--surface); }

#shipped h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 3rem;
}

.shipped-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.shipped-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
}
.shipped-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.shipped-card--featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg) 0%, var(--accent-soft) 100%);
  border-color: rgba(61,90,64,0.25);
}

.shipped-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shipped-icon { color: var(--accent); font-size: 0.65rem; opacity: 0.6; }

.shipped-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: var(--surface);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.shipped-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.shipped-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.72;
  flex: 1;
}

/* Workiva product screenshot area */
.shipped-visual {
  width: 100%;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 0.25rem;
}

.shipped-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.shipped-visual-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
}

.shipped-visual-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.shipped-metrics {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.metric { display: flex; flex-direction: column; gap: 0.2rem; }

.metric-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.72rem;
  color: var(--muted-2);
  line-height: 1.3;
}

/* ─── Puzzlfy Showcase ──────────────────────────────────────── */
/* Colors extracted from actual Puzzlfy site */
:root {
  --pz-cream:  #f2ebe0;
  --pz-burg:   #7d2d2d;
  --pz-pink:   #bf8e96;
  --pz-teal:   #7ba8a8;
  --pz-gold:   #c9a87c;
  --pz-border: #e4d5c4;
}

.puzzlfy-showcase {
  background: var(--pz-cream);
  border: 1.5px solid var(--pz-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.puzzlfy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--pz-border);
  background: rgba(191,142,150,0.08);
}

.puzzlfy-brand { display: flex; align-items: baseline; gap: 1rem; }

.puzzlfy-wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pz-burg);
  letter-spacing: -0.02em;
}

.puzzlfy-role {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--pz-pink);
  letter-spacing: 0.05em;
}

.puzzlfy-social-link {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--pz-pink);
  border: 1px solid var(--pz-border);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  transition: all var(--transition);
  background: rgba(255,255,255,0.6);
}
.puzzlfy-social-link:hover { border-color: var(--pz-burg); color: var(--pz-burg); }

/* Hero: blob shapes + product photo side by side */
.puzzlfy-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0;
  border-bottom: 1px solid var(--pz-border);
  min-height: 260px;
  position: relative;
  overflow: hidden;
}

.puzzlfy-hero-blobs {
  position: relative;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

/* CSS organic blob shapes mirroring the actual Puzzlfy site */
.puzzlfy-hero-blobs::before,
.puzzlfy-hero-blobs::after {
  content: '';
  position: absolute;
  border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%;
  opacity: 0.55;
  pointer-events: none;
}

.puzzlfy-hero-blobs::before {
  width: 200px; height: 180px;
  background: var(--pz-teal);
  top: -40px; left: -50px;
  border-radius: 55% 45% 60% 40% / 50% 60% 40% 55%;
}

.puzzlfy-hero-blobs::after {
  width: 160px; height: 150px;
  background: var(--pz-gold);
  bottom: -30px; left: 30%;
  border-radius: 45% 55% 40% 60% / 60% 40% 55% 45%;
}

.puzzlfy-blob-pink {
  position: absolute;
  width: 140px; height: 130px;
  background: var(--pz-pink);
  bottom: -20px; left: 15%;
  border-radius: 50% 40% 55% 45% / 45% 60% 40% 55%;
  opacity: 0.5;
  pointer-events: none;
}

.puzzlfy-hero-text {
  position: relative;
  z-index: 1;
}

.puzzlfy-hero-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pz-burg);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.puzzlfy-hero-text p {
  font-size: 0.875rem;
  color: #8a6050;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 1rem;
}

.puzzlfy-tagline-pill {
  display: inline-block;
  background: rgba(125,45,45,0.1);
  border: 1px solid rgba(125,45,45,0.2);
  color: var(--pz-burg);
  font-size: 0.78rem;
  font-style: italic;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
}

/* Product photo panel */
.puzzlfy-product-photo {
  position: relative;
  overflow: hidden;
  border-left: 1px solid var(--pz-border);
}

.puzzlfy-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.puzzlfy-product-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background: linear-gradient(135deg, rgba(191,142,150,0.15) 0%, rgba(201,168,124,0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--pz-pink);
  font-size: 0.8rem;
  font-family: var(--mono);
}

.puzzlfy-process { padding: 2rem; border-bottom: 1px solid var(--pz-border); }

.puzzlfy-process-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pz-burg);
  margin-bottom: 1.5rem;
}

.puzzlfy-steps { display: flex; align-items: flex-start; }
.puzzlfy-step { flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }

.puzzlfy-step-divider {
  width: 1px; align-self: stretch;
  background: var(--pz-border);
  margin: 0 2rem; flex-shrink: 0;
}

.step-num {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--pz-burg);
  letter-spacing: 0.1em;
}

.puzzlfy-step h4 { font-size: 0.9rem; font-weight: 600; color: var(--pz-burg); }
.puzzlfy-step p  { font-size: 0.82rem; color: #8a6050; line-height: 1.6; }

.puzzlfy-examples { padding: 2rem; border-bottom: 1px solid var(--pz-border); }

.puzzlfy-examples-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pz-burg);
  margin-bottom: 1.25rem;
}

.puzzlfy-quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

.puzzlfy-quote {
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--pz-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.puzzlfy-quote-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }

.puzzlfy-quote div {
  font-size: 0.85rem;
  color: var(--pz-burg);
  font-style: italic;
  line-height: 1.45;
}

.puzzlfy-quote span {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--pz-pink);
  display: block;
  margin-top: 0.25rem;
}

.puzzlfy-footer {
  padding: 1.25rem 2rem;
  background: rgba(191,142,150,0.06);
}

.puzzlfy-stack { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }

.puzzlfy-stack-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--pz-pink);
  letter-spacing: 0.08em;
  margin-right: 0.25rem;
}

/* ─── Agent Factory Visual ──────────────────────────────────── */
.agent-factory-visual {
  background: #1a1c22 !important;
  border-color: #2a2d38 !important;
  padding: 1.25rem 1.5rem;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

.af-diagram {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
}

.af-models {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.af-model {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc;
}

.af-divider {
  width: 100%;
  height: 1px;
  background: #2a2d38;
}

.af-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.af-chip {
  font-family: var(--mono);
  font-size: 0.7rem;
  padding: 0.25rem 0.65rem;
  border-radius: 5px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  color: #6ee7b7;
}

.af-note {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: #4a4d5a;
  margin-top: 0.1rem;
  letter-spacing: 0.03em;
}

/* ─── Governance Visual ──────────────────────────────────────── */
.governance-visual {
  background: var(--accent-soft) !important;
  border-color: rgba(61,90,64,0.2) !important;
  padding: 1.25rem 1.5rem;
  justify-content: center;
}

.gov-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.gov-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.gov-check {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8rem;
  flex-shrink: 0;
  width: 16px;
}

/* ─── Projects ──────────────────────────────────────────────── */
#projects h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
}
.project-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-header h3 { font-size: 1.05rem; font-weight: 600; color: var(--text); }

.project-role {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted-2);
  flex-shrink: 0;
}

.project-card p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
  flex: 1;
}

.project-stack { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ─── Education ─────────────────────────────────────────────── */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.edu-card {
  display: flex;
  gap: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.edu-card:hover { border-color: var(--accent); box-shadow: var(--shadow); }

.edu-icon { color: var(--accent); font-size: 0.6rem; opacity: 0.7; margin-top: 0.4rem; flex-shrink: 0; }

.edu-body h3 { font-size: 0.95rem; font-weight: 600; color: var(--text); margin-bottom: 0.2rem; }

.edu-org {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--accent);
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.04em;
}

.edu-body p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ─── Contact ───────────────────────────────────────────────── */
#contact { border-top: 1px solid var(--border); }

.contact-inner { max-width: 620px; }

.contact-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1rem;
}

.contact-inner p { color: var(--muted); font-size: 0.95rem; margin-bottom: 2.5rem; }

.contact-links { display: flex; flex-direction: column; gap: 0.75rem; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateX(4px);
}

.contact-link-label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  width: 60px;
  flex-shrink: 0;
}

.contact-link-value { font-size: 0.9rem; color: var(--text); }

/* ─── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 2rem 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--mono);
}

footer .container span:first-child { color: rgba(255,255,255,0.6); }

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

/* ─── Responsive ────────────────────────────────────────────── */
/* ─── Hamburger ──────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  margin-left: 0.5rem;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; padding: 3rem 0; min-height: auto; }
  .hero-right { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .shipped-grid { grid-template-columns: 1fr; }
  .shipped-card--featured { grid-column: span 1; }
  .life-grid { grid-template-columns: repeat(2, 1fr); }
  .life-card--featured { grid-column: span 2; }
  .projects-grid { grid-template-columns: 1fr; }
  .edu-grid { grid-template-columns: 1fr; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none !important; }
  .nav-links {
    display: none;
    position: absolute;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 1.5rem 1rem;
    flex-direction: column;
    gap: 0;
    z-index: 99;
  }
  .nav-links.mobile-open { display: flex; }
  .nav-links li { list-style: none; }
  .nav-links a { display: block; padding: 0.75rem 0; font-size: 1rem; border-bottom: 1px solid var(--border-light); border-radius: 0; }
  .nav-links li:last-child a { border-bottom: none; }
  .puzzlfy-hero { grid-template-columns: 1fr; }
  .puzzlfy-product-photo { display: none; }
  .puzzlfy-steps { flex-direction: column; gap: 1.5rem; }
  .puzzlfy-step-divider { width: 100%; height: 1px; min-height: 0; margin: 0; }
  .puzzlfy-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .section-inner { padding: 4rem 0; }
  #hero { min-height: auto; padding-top: 62px; }
  .hero-layout { padding: 2.5rem 0 3rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.5rem 1rem; }
  .life-grid { grid-template-columns: 1fr; }
  .life-card--featured { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; }
  footer .container { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-personal { gap: 0.4rem; }
  .shipped-metrics { flex-direction: column; gap: 0.5rem; }
}
