/* =============================================
   PRO-FIX CONSTRUCTION — Design Tokens & Styles
   ============================================= */

/* ---- Google Fonts are loaded in HTML head ---- */

:root,
[data-theme='light'] {
  /* Type Scale */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* --- LIGHT MODE: Warm Stone & Gold palette --- */
  --color-bg: #f5f2ed;
  --color-surface: #faf8f4;
  --color-surface-2: #ffffff;
  --color-surface-offset: #ede9e2;
  --color-surface-offset-2: #e4dfd6;
  --color-surface-dynamic: #d8d3c9;
  --color-divider: #cdc9c0;
  --color-border: #c2bdb4;

  --color-text: #1a1714;
  --color-text-muted: #6b6560;
  --color-text-faint: #a9a49f;
  --color-text-inverse: #f9f6f2;

  /* Gold Accent */
  --color-primary: #a07828;
  --color-primary-hover: #7d5c18;
  --color-primary-active: #5c4110;
  --color-primary-highlight: #e8dfc9;

  /* Dark stone for hero bg */
  --color-stone-dark: #1c1a17;
  --color-stone-mid: #2e2b26;

  /* Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.625rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px oklch(0.15 0.02 60 / 0.10);
  --shadow-md: 0 4px 16px oklch(0.15 0.02 60 / 0.12);
  --shadow-lg: 0 12px 40px oklch(0.15 0.02 60 / 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

[data-theme='dark'] {
  --color-bg: #141210;
  --color-surface: #1a1815;
  --color-surface-2: #201e1a;
  --color-surface-offset: #1e1c19;
  --color-surface-offset-2: #242220;
  --color-surface-dynamic: #2e2c28;
  --color-divider: #2a2825;
  --color-border: #3a3835;
  --color-text: #e8e4dc;
  --color-text-muted: #8a857d;
  --color-text-faint: #5a5650;
  --color-text-inverse: #1a1815;
  --color-primary: #c9983a;
  --color-primary-hover: #deb05a;
  --color-primary-active: #ecc878;
  --color-primary-highlight: #3a3020;
  --color-stone-dark: #0e0d0c;
  --color-stone-mid: #1c1b18;
  --shadow-sm: 0 1px 3px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 16px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 40px oklch(0 0 0 / 0.5);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #141210;
    --color-surface: #1a1815;
    --color-surface-2: #201e1a;
    --color-surface-offset: #1e1c19;
    --color-surface-offset-2: #242220;
    --color-surface-dynamic: #2e2c28;
    --color-divider: #2a2825;
    --color-border: #3a3835;
    --color-text: #e8e4dc;
    --color-text-muted: #8a857d;
    --color-text-faint: #5a5650;
    --color-text-inverse: #1a1815;
    --color-primary: #c9983a;
    --color-primary-hover: #deb05a;
    --color-primary-active: #ecc878;
    --color-primary-highlight: #3a3020;
    --color-stone-dark: #0e0d0c;
    --color-stone-mid: #1c1b18;
  }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
}

.container--narrow {
  max-width: var(--content-default);
}

/* ============================================
   HEADER & NAV
   ============================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(from var(--color-stone-dark) l c h / 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid oklch(from var(--color-primary) l c h / 0.2);
  transition: box-shadow var(--transition-interactive);
}

.site-header--scrolled {
  box-shadow: 0 4px 24px oklch(0 0 0 / 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-8);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text-inverse);
  flex-shrink: 0;
}

[data-theme='light'] .site-header,
[data-theme='light'] .nav__logo {
  /* keep dark header regardless of theme */
}

.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav__logo-name {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f0e8d8;
}

.nav__logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #c8c2b8;
  transition: color var(--transition-interactive);
}

.nav__links a:hover {
  color: var(--color-primary);
}

.nav__cta {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-2) var(--space-6);
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.nav__cta:hover {
  background: var(--color-primary);
  color: var(--color-stone-dark);
}

.nav__theme-toggle {
  background: none;
  border: none;
  color: #c8c2b8;
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
  transition: color var(--transition-interactive);
}

.nav__theme-toggle:hover {
  color: var(--color-primary);
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #c8c2b8;
  cursor: pointer;
  padding: var(--space-2);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: var(--color-stone-dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('./assets/hero.png');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    oklch(0.1 0.02 60 / 0.95) 30%,
    oklch(0.1 0.02 60 / 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-block: clamp(var(--space-16), 10vw, var(--space-32));
  max-width: 760px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.hero__eyebrow::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--color-primary);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #f5f0e8;
  line-height: 1.08;
  margin-bottom: var(--space-8);
  letter-spacing: -0.01em;
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: #b8b0a4;
  max-width: 52ch;
  line-height: 1.7;
  margin-bottom: var(--space-10);
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  transition:
    background var(--transition-interactive),
    color var(--transition-interactive),
    border-color var(--transition-interactive),
    transform 120ms ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--color-primary);
  color: #1a1410;
  border-color: var(--color-primary);
}

.btn--primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
}

.btn--outline {
  background: transparent;
  color: #f5f0e8;
  border-color: rgba(245, 240, 232, 0.35);
}

.btn--outline:hover {
  border-color: rgba(245, 240, 232, 0.7);
  color: #fff;
}

.hero__stats {
  position: absolute;
  bottom: var(--space-12);
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  gap: var(--space-1);
  justify-content: flex-end;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-16));
}

.hero__stat {
  background: oklch(0.15 0.02 60 / 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.25);
  padding: var(--space-4) var(--space-6);
  text-align: center;
  border-radius: var(--radius-md);
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  display: block;
  line-height: 1;
}

.hero__stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a9390;
  margin-top: var(--space-1);
  display: block;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--color-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.section-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.services__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.services__header .section-eyebrow {
  justify-content: center;
}

.services__header .section-eyebrow::before {
  display: none;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform 200ms ease;
}

.service-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-5);
  color: var(--color-primary);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================
   PROJECTS
   ============================================ */

.projects {
  background: var(--color-bg);
}

.projects__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-4);
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-stone-dark);
  aspect-ratio: 4/3;
}

.project-card--featured {
  grid-column: span 7;
  aspect-ratio: 16/10;
}

.project-card--secondary {
  grid-column: span 5;
}

.project-card--wide {
  grid-column: span 5;
}

.project-card--tall {
  grid-column: span 7;
  aspect-ratio: 4/3;
}

.project-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1), opacity 400ms ease;
  opacity: 0.8;
}

.project-card:hover .project-card__img {
  transform: scale(1.05);
  opacity: 1;
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    oklch(0.1 0.02 60 / 0.92) 0%,
    oklch(0.1 0.02 60 / 0.3) 50%,
    transparent 100%
  );
  transition: opacity var(--transition-interactive);
}

.project-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8);
}

.project-card__category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.project-card__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: var(--space-2);
}

.project-card--featured .project-card__title {
  font-size: var(--text-xl);
}

.project-card__meta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #9a9390;
}

/* ============================================
   ABOUT / EXPERIENCE
   ============================================ */

.about {
  background: var(--color-stone-dark);
  color: var(--color-text-inverse);
}

[data-theme='light'] .about {
  --color-text: #f5f0e8;
  --color-text-muted: #b8b0a4;
}

[data-theme='dark'] .about {
  --color-text: #e8e4dc;
  --color-text-muted: #8a857d;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: center;
}

.about__img-wrap {
  position: relative;
}

.about__img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}

.about__img-badge {
  position: absolute;
  bottom: -var(--space-6);
  right: -var(--space-6);
  background: var(--color-primary);
  color: #1a1410;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.about__img-badge-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.about__img-badge-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.about__content .section-title {
  color: #f5f0e8;
}

.about__content .section-desc {
  color: #b8b0a4;
  margin-bottom: var(--space-8);
}

.about__points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.about__point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.about__point-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--color-primary);
}

.about__point-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #b8b0a4;
  line-height: 1.6;
}

/* ============================================
   EXPERIENCE TIMELINE
   ============================================ */

.experience {
  background: var(--color-surface);
}

.experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 0;
  width: 1px;
  background: var(--color-border);
}

.timeline__item {
  display: flex;
  gap: var(--space-6);
  padding-bottom: var(--space-8);
  position: relative;
}

.timeline__dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-surface);
  position: relative;
  z-index: 1;
  margin-top: 2px;
}

.timeline__content {}

.timeline__year {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.timeline__role {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.timeline__desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.skill-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}

.skill-item__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.skill-item__name svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.skill-item__bar-wrap {
  height: 4px;
  background: var(--color-surface-offset-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.skill-item__bar {
  height: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
}

.testimonials__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimonials__header .section-eyebrow {
  justify-content: center;
}

.testimonials__header .section-eyebrow::before {
  display: none;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-6);
}

.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--color-primary);
  line-height: 0.8;
  margin-bottom: var(--space-4);
  opacity: 0.6;
}

.testimonial-card__text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-surface-offset-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
}

.testimonial-card__location {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-2);
}

.star {
  color: var(--color-primary);
  font-size: 14px;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
  background: var(--color-stone-dark);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(var(--space-12), 6vw, var(--space-24));
  align-items: start;
}

.contact__info .section-title {
  color: #f5f0e8;
}

.contact__info .section-desc {
  color: #b8b0a4;
  margin-bottom: var(--space-10);
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}

.contact__detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid oklch(from var(--color-primary) l c h / 0.3);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.contact__detail-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.contact__detail-value {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #b8b0a4;
  text-decoration: none;
}

.contact__detail-value:hover {
  color: #f5f0e8;
}

/* Contact Form */
.contact__form-wrap {
  background: var(--color-stone-mid);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.15);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-8), 4vw, var(--space-12));
}

.form-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #f5f0e8;
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a9390;
  margin-bottom: var(--space-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: oklch(0.12 0.01 60 / 0.8);
  border: 1px solid #3a3835;
  border-radius: var(--radius-md);
  color: #e8e4dc;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #5a5650;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a07828' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.form-select option {
  background: #1a1815;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form__submit {
  width: 100%;
  margin-top: var(--space-2);
  justify-content: center;
  font-size: var(--text-sm);
}

.form__success {
  display: none;
  text-align: center;
  padding: var(--space-8);
  color: #6daa45;
  font-family: var(--font-body);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: #0e0c0a;
  border-top: 1px solid #2a2825;
  padding-block: var(--space-12);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer__brand-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #f0e8d8;
  margin-bottom: var(--space-3);
  letter-spacing: 0.04em;
}

.footer__brand-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #6b6560;
  line-height: 1.6;
  max-width: 36ch;
  margin-bottom: var(--space-6);
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__links a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: #6b6560;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid #2a2825;
  padding-top: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer__copy {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #4a4845;
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: #4a4845;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.footer__legal a:hover {
  color: var(--color-primary);
}

/* ============================================
   MOBILE NAV
   ============================================ */

.nav__mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-stone-dark);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
}

.nav__mobile-menu.is-open {
  display: flex;
}

.nav__mobile-menu a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: #f5f0e8;
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.nav__mobile-menu a:hover {
  color: var(--color-primary);
}

.nav__mobile-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: none;
  border: none;
  color: #9a9390;
  cursor: pointer;
  padding: var(--space-2);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
  .about__grid,
  .experience__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .about__img-wrap {
    max-width: 480px;
  }

  .projects__grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-card--featured,
  .project-card--secondary,
  .project-card--wide,
  .project-card--tall {
    grid-column: span 2;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav__links,
  .nav__cta,
  .nav__theme-toggle {
    display: none;
  }

  .nav__mobile-toggle {
    display: flex;
  }

  .hero__stats {
    flex-wrap: wrap;
    justify-content: center;
    bottom: var(--space-6);
  }

  .hero__stat {
    flex: 1;
    min-width: 100px;
  }

  .projects__grid {
    grid-template-columns: 1fr;
  }

  .project-card--featured,
  .project-card--secondary,
  .project-card--wide,
  .project-card--tall {
    grid-column: span 1;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}
