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

:root {
  --gold: #c8b97a;
  --gold-light: #deca8e;
  --bg: #0a0a08;
  --text: #e8e4d9;
  --text-muted: rgba(232, 228, 217, 0.45);
  --text-faint: rgba(232, 228, 217, 0.25);
  --text-dim: rgba(232, 228, 217, 0.2);
  --border: rgba(232, 228, 217, 0.08);
  --border-light: rgba(232, 228, 217, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(200, 185, 122, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 185, 122, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 0.5px solid var(--border-light);
}

.nav-sig {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.nav-print-contact {
  display: none;
  gap: 2rem;
  font-size: 0.8rem;
}

.hero {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem 4rem;
  max-width: 900px;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.12) 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.hero-tag,
.hero-headline,
.hero-type-line,
.hero-sub,
.hero-actions {
  position: relative;
  z-index: 1;
}

.hero-type-line {
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  min-height: 1.4em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.hero-type-prompt {
  color: rgba(200, 185, 122, 0.35);
  user-select: none;
}

.hero-type-text {
  color: var(--text);
}

.hero-tag {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 0.5px;
  background: var(--gold);
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #f0ede3;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
}

.hero-sub {
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 520px;
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--gold);
  color: var(--bg);
  padding: 0.75rem 1.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
  text-decoration: none;
}

.hero-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: rgba(232, 228, 217, 0.6);
  padding: 0.75rem 1.75rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 0.5px solid rgba(232, 228, 217, 0.2);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
  text-decoration: none;
}

.hero-cta-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--gold);
  animation: blink 1s step-end infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

.vt-type-line {
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  min-height: 1.4em;
  display: flex;
  align-items: center;
  gap: 0.4em;
}

.vt-type-prompt {
  color: rgba(212,196,106,0.4);
  user-select: none;
}

.vt-type-text {
  color: var(--text);
}

.vt-type-cursor {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--gold);
  animation: blink 0.9s step-end infinite;
  vertical-align: text-bottom;
}

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

  50% {
    opacity: 0
  }
}

.gh-wall-wrap {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
}

.gh-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gh-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, rgba(200, 185, 122, 0.3), transparent);
}

.gh-grid {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  flex-wrap: wrap;
  max-width: 100%;
}

section {
  position: relative;
  z-index: 1;
  padding: 4rem 2rem;
}

.section-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: linear-gradient(to right, rgba(200, 185, 122, 0.3), transparent);
}

.exp-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 0.5px solid rgba(232, 228, 217, 0.06);
  position: relative;
  transition: padding-left 0.2s ease;
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.exp-item:hover::before {
  transform: scaleY(1);
}

.exp-item:hover {
  padding-left: 1rem;
}

.exp-period {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 217, 0.3);
  margin-bottom: 0.5rem;
}

.exp-company {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.exp-title {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 300;
  color: #f0ede3;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.exp-content {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.exp-content:hover .exp-title,
.exp-content:hover .exp-desc {
  opacity: 0.8;
}

.exp-desc {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-bottom: 0;
}

.exp-expand-btn {
  display: none;
}

.exp-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.exp-details.open {
  max-height: 600px;
  opacity: 1;
}

.exp-details-inner {
  padding-top: 0.85rem;
}

.exp-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem;
}

.exp-bullets li {
  font-size: 0.76rem;
  line-height: 1.85;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
}

.exp-bullets li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
  font-size: 0.65rem;
}

.exp-stack {
  font-size: 0.68rem;
  color: var(--text-faint);
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: #f0ede3;
  line-height: 1.1;
}

.contact-headline strong {
  font-weight: 700;
  font-style: normal;
  color: var(--gold);
}

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

.contact-link {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: rgba(232, 228, 217, 0.4);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--gold);
}

.contact-link i {
  font-size: 14px;
}

footer {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid var(--border);
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: flex-end;
}

.gh-footer-link {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(232, 228, 217, 0.25);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.gh-footer-link:hover {
  color: var(--gold);
}

.gh-footer-link i {
  font-size: 15px;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.d1 { animation-delay: 0.1s; }
.d2 { animation-delay: 0.25s; }
.d3 { animation-delay: 0.4s; }
.d4 { animation-delay: 0.55s; }
.d5 { animation-delay: 0.7s; }

.testimonial-item {
  padding: 2rem 0;
  position: relative;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.testimonial-item:hover .testimonial-preview {
  opacity: 0.8;
}

.testimonial-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.testimonial-attribution {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 300;
  color: #f0ede3;
}

.testimonial-role {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
}

.testimonial-preview {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-top: 1rem;
  font-style: italic;
}

.testimonial-preview::before {
  content: '\201C';
  color: var(--gold);
  margin-right: 0.1em;
}

.testimonial-preview::after {
  content: '\2026';
  color: var(--text-dim);
}

.testimonial-expand-btn {
  display: none;
}

.testimonial-details {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
}

.testimonial-details.open {
  max-height: 800px;
  opacity: 1;
}

.testimonial-full {
  font-size: 0.78rem;
  line-height: 1.9;
  color: var(--text-muted);
  margin-top: 0.85rem;
  font-style: italic;
  border-left: 1.5px solid rgba(200, 185, 122, 0.25);
  padding-left: 1.25rem;
}

.testimonial-full::before {
  content: '\201C';
  color: var(--gold);
  margin-right: 0.1em;
}

.testimonial-full::after {
  content: '\201D';
  color: var(--gold);
  margin-left: 0.1em;
}

.testimonial-footer {
  margin-top: 1.5rem;
}

.linkedin-link {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.linkedin-link:hover {
  color: var(--gold);
}

.linkedin-link i {
  font-size: 13px;
}

@media (max-width: 600px) {
  .exp-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .exp-item:hover {
    padding-left: 0.5rem;
  }

  .contact-links {
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media print {
  .hero,
  .gh-wall-wrap {
    display: none !important;
  }

  :root {
    --bg: #ffffff;
    --text: #000000;
    --gold: #000000;
    --gold-light: #000000;
    --border: #000000;
    --border-light: #000000;
    --text-muted: rgba(0,0,0,0.45);
    --text-faint: rgba(0,0,0,0.25);
    --text-dim: rgba(0,0,0,0.2);
  }

  body {
    background: var(--bg) !important;
    color: var(--text) !important;
  }

  .nav-print-contact {
    display: flex !important;
  }

  .nav-print-contact a {
    color: var(--text) !important;
    text-decoration: none;
  }

  .contact-headline,
  footer {
    display: none !important;
  }

  a {
    color: var(--gold) !important;
  }

  body::before,
  body::after,
  .hero::after,
  .gh-label::after,
  .section-label::after {
    display: none !important;
  }

  .gh-label,
  .section-label {
    border-bottom: 0.5px solid var(--border);
    padding-bottom: 0.5rem;
  }
}