/* ══════════════════════════════════════
   NOIR — Dark Luxury Editorial Designer Portfolio
   Palette : #0C0C0C obsidian · #F5F0E8 cream · #C8A96E champagne gold
   Fonts   : Fraunces (variable serif display) + Inter (body)
   ══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }

:root {
  --bg:        #0C0C0C;
  --bg-2:      #141414;
  --bg-3:      #1C1C1C;
  --bg-4:      #242424;
  --ink:        #F5F0E8;
  --ink-2:      #A09890;
  --ink-3:      #5A5550;
  --gold:       #C8A96E;
  --gold-dim:   #8A7248;
  --gold-pale:  rgba(200,169,110,0.08);
  --border:     rgba(200,169,110,0.12);
  --border-2:   rgba(245,240,232,0.06);
  --font-s: 'Fraunces', Georgia, serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --wrap:   1280px;
  --nav-h:  72px;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.ao { opacity: 1; }

/* ══════════════════════════════════════
   TOPBAR
   ══════════════════════════════════════ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--wb-dark-surface, rgba(12,12,12,0.85));
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.topbar-row {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-s); font-size: 20px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
}
.logo-n {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; color: var(--gold);
  font-family: var(--font-s);
}
.topbar-nav {
  display: flex; align-items: center; gap: 32px;
}
.topbar-nav li a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
  transition: color 0.2s;
}
.topbar-nav li a:hover,
.topbar-nav li a.active { color: var(--gold); }
.topbar-nav li:last-child a {
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 20px; border-radius: var(--radius, 2px);
  transition: background 0.2s, color 0.2s;
}
.topbar-nav li:last-child a:hover {
  background: var(--gold); color: var(--bg);
}
.topbar-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.topbar-toggle span {
  width: 22px; height: 1.5px; background: var(--ink); display: block;
  transition: all 0.3s;
}
@media (max-width: 768px) {
  .topbar-toggle { display: flex; }
  .topbar-nav {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    padding: 16px 0;
  }
  .topbar-nav.open { display: flex; }
  .topbar-nav li { width: 100%; }
  .topbar-nav li a { display: block; padding: 12px 24px; }
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 28px; font-size: 12px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: var(--radius, 2px); transition: all 0.25s; cursor: pointer;
}
.btn-gold {
  background: var(--gold); color: var(--bg);
}
.btn-gold:hover { background: #D4B87A; }
.btn-outline {
  border: 1px solid var(--border-2); color: var(--ink-2);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ══════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════ */
.seg { padding: 100px 0; border-bottom: 1px solid var(--border-2); }
.seg-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 60px; gap: 24px;
}
.seg-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.seg-eyebrow-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); flex-shrink: 0;
}
.seg-eyebrow-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
}
.seg-title {
  font-family: var(--font-s);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
}
.seg-title em { font-style: italic; color: var(--gold); }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  position: relative;
  overflow:clip;
}
/* Subtle radial glow behind photo */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: var(--background, radial-gradient(ellipse, rgba(200,169,110,0.06) 0%, transparent 70%));
  pointer-events: none;
}
/* Fine grid overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-2) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; opacity: 0.4;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  padding: 40px 24px;
}

/* Gold line top */
.hero-line-top {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  margin-bottom: 32px;
}

/* Availability pill */
.hero-avail {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  padding: 7px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 36px;
}
.avail-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #22C55E;
  animation: avail-pulse 2.4s ease-in-out infinite;
}
@keyframes avail-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* Circular profile photo */
.hero-photo-wrap {
  position: relative;
  width: 180px; height: 180px;
  margin-bottom: 36px;
}
.hero-photo-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  opacity: 0.5;
}
.hero-photo-ring-2 {
  position: absolute; inset: -18px;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.hero-photo-wrap img {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--bg-3);
}

/* Name */
.hero-name {
  font-family: var(--font-s);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}
.hero-name .name-second { color: var(--gold); font-style: italic; }

/* Role + chips */
.hero-role {
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 10px;
}
.hero-chips {
  font-family: var(--font-s); font-style: italic;
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--ink-2);
  margin-bottom: 32px;
}

/* Gold separator */
.hero-sep {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 28px; width: 320px;
}
.hero-sep-line { flex: 1; height: 1px; background: var(--border); }
.hero-sep-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Bio */
.hero-bio {
  font-size: 15px; color: var(--ink-2); line-height: 1.8;
  max-width: 560px; margin-bottom: 32px;
}

/* Buttons */
.hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  justify-content: center; margin-bottom: 48px;
}

/* Stats row */
.hero-stats {
  display: flex; gap: 0;
  border: 1px solid var(--border);
  border-radius: 2px; overflow: hidden;
}
.hst-item {
  padding: 18px 36px; text-align: center;
  border-right: 1px solid var(--border);
  background: var(--bg-2);
}
.hst-item:last-child { border-right: none; }
.hst-num {
  font-family: var(--font-s);
  font-size: 28px; font-weight: 700; font-style: italic;
  color: var(--gold); line-height: 1; display: block;
}
.hst-label {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  display: block; margin-top: 4px;
}

/* Gold line bottom */
.hero-line-bottom {
  width: 1px; height: 60px;
  background: linear-gradient(to top, transparent, var(--gold));
  margin-top: 36px;
}

@media (max-width: 640px) {
  .hero-sep { width: 100%; max-width: 320px; }
  .hero-stats { flex-direction: column; }
  .hst-item { border-right: none; border-bottom: 1px solid var(--border); }
  .hst-item:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════
   SKILLS
   ══════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border-2);
  border: 1px solid var(--border-2);
}
.skill-row {
  display: flex; align-items: center;
  padding: 20px 24px; gap: 20px;
  background: var(--bg);
  transition: background 0.2s;
}
.skill-row:hover { background: var(--bg-2); }
.skill-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  width: 56px; flex-shrink: 0;
}
.skill-name {
  font-size: 14px; font-weight: 500; color: var(--ink);
  flex: 1; min-width: 0;
}
.skill-bar-wrap {
  width: 100px; height: 2px;
  background: var(--bg-4); border-radius: 2px; flex-shrink: 0;
}
.skill-bar-fill {
  height: 100%; background: var(--gold); border-radius: 2px;
  transform-origin: left;
}
.skill-pct {
  font-size: 11px; font-weight: 600; color: var(--gold);
  font-family: var(--font-s); font-style: italic;
  width: 32px; text-align: right; flex-shrink: 0;
}

/* ══════════════════════════════════════
   EXPERIENCE
   ══════════════════════════════════════ */
.xp-list { display: flex; flex-direction: column; gap: 0; }
.xp-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-2);
  position: relative;
}
.xp-item:first-child { border-top: 1px solid var(--border-2); }
.xp-date {
  font-family: var(--font-s); font-style: italic;
  font-size: 13px; color: var(--gold);
  padding-top: 4px;
}
.xp-dot {
  position: absolute; left: 160px; top: 40px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  transform: translateX(-50%) translateX(20px);
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px var(--gold-dim);
}
.xp-content { padding-left: 20px; }
.xp-role {
  font-family: var(--font-s); font-size: 20px; font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 4px;
}
.xp-company {
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.xp-desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* ══════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--border-2);
  border: 1px solid var(--border-2);
}
.edu-card {
  background: var(--bg-2);
  padding: 36px 32px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.edu-card:hover { background: var(--bg-3); }
.edu-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.edu-card:hover::before { opacity: 1; }
.edu-years {
  font-family: var(--font-s); font-style: italic;
  font-size: 12px; color: var(--gold);
  margin-bottom: 14px;
}
.edu-degree {
  font-family: var(--font-s); font-size: 18px; font-weight: 700;
  color: var(--ink); line-height: 1.3; margin-bottom: 6px;
}
.edu-school {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 12px;
}
.edu-detail { font-size: 13px; color: var(--ink-2); }

/* ══════════════════════════════════════
   DESIGN TOOLS
   ══════════════════════════════════════ */
.tools-list {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.tool-item {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  min-width: 160px;
}
.tool-item:hover {
  border-color: var(--gold);
  background: var(--bg-3);
}
.tool-icon {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-s); font-size: 14px; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.tool-name {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.tool-cat {
  font-size: 10px; color: var(--ink-3); letter-spacing: 0.04em;
}

/* ══════════════════════════════════════
   PORTFOLIO
   ══════════════════════════════════════ */
.folio-scroll {
  display: flex; gap: 2px;
  overflow-x: auto; padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none; scrollbar-width: none;
}
.folio-scroll::-webkit-scrollbar { display: none; }
.folio-tile {
  flex: 0 0 360px; height: 480px;
  position: relative; overflow: hidden;
  scroll-snap-align: start;
  background: var(--bg-2);
  border: 1px solid var(--border-2);
  cursor: pointer;
}
.folio-tile:hover .folio-overlay { opacity: 1; }
.folio-tile:hover .folio-img { transform: scale(1.05); }
.folio-img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
  background: var(--bg-3);
}
.folio-overlay {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--wb-dark-surface, rgb(12,12,12)) 85%, transparent);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0; transition: opacity 0.4s ease;
}
.folio-num {
  font-family: var(--font-s); font-style: italic;
  font-size: 48px; font-weight: 700;
  color: var(--gold); opacity: 0.3;
  line-height: 1; margin-bottom: 8px;
}
.folio-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 6px;
}
.folio-title {
  font-family: var(--font-s); font-size: 22px; font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 16px;
}
.folio-link {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 2px; width: fit-content;
  transition: border-color 0.2s;
}
/* Bottom info strip (always visible) */
.folio-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 24px;
  background: linear-gradient(to top, rgba(12,12,12,0.9), transparent);
  display: flex; justify-content: space-between; align-items: flex-end;
}
.folio-info-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.folio-info-title {
  font-size: 13px; font-weight: 600; color: var(--ink);
}

/* ══════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════ */
.case-list { display: flex; flex-direction: column; gap: 0; }
.case-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 32px; align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-2);
  transition: background 0.2s;
}
.case-item:first-child { border-top: 1px solid var(--border-2); }
.case-num {
  font-family: var(--font-s); font-style: italic;
  font-size: 36px; font-weight: 700;
  color: var(--gold); opacity: 0.35;
  line-height: 1; padding-top: 6px;
}
.case-body {}
.case-meta { display: flex; gap: 20px; margin-bottom: 10px; flex-wrap: wrap; }
.case-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-3);
  background: var(--bg-3); padding: 4px 10px; border-radius: 2px;
}
.case-title {
  font-family: var(--font-s); font-size: 22px; font-weight: 700;
  color: var(--ink); line-height: 1.2; margin-bottom: 10px;
}
.case-desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 12px; }
.case-impact {
  font-size: 13px; color: var(--ink-2);
}
.case-impact strong { color: var(--gold); font-weight: 600; }
.case-link {
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold);
  white-space: nowrap; padding-top: 12px;
  display: flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.case-link:hover { gap: 10px; }

/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px; background: var(--border-2);
  border: 1px solid var(--border-2);
}
.svc-item {
  background: var(--bg);
  padding: 40px 36px;
  position: relative; overflow: hidden;
  transition: background 0.25s;
}
.svc-item:hover { background: var(--bg-2); }
.svc-item::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.svc-item:hover::after { transform: scaleX(1); }
.svc-num {
  font-family: var(--font-s); font-style: italic;
  font-size: 40px; font-weight: 700;
  color: var(--gold-dim);
  line-height: 1; margin-bottom: 20px;
  display: block;
}
.svc-name {
  font-family: var(--font-s); font-size: 20px; font-weight: 700;
  color: var(--ink); margin-bottom: 6px; line-height: 1.2;
}
.svc-subtitle {
  font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 16px;
}
.svc-desc { font-size: 14px; color: var(--ink-2); line-height: 1.7; margin-bottom: 20px; }
.svc-price {
  font-family: var(--font-s); font-style: italic;
  font-size: 18px; font-weight: 600; color: var(--gold);
}

/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px; background: var(--border-2);
  border: 1px solid var(--border-2);
}
.testi-card {
  background: var(--bg-2);
  padding: 40px 36px;
  position: relative;
}
.testi-quote-mark {
  font-family: var(--font-s);
  font-size: 80px; font-weight: 700;
  color: var(--gold); opacity: 0.15;
  line-height: 0.8;
  margin-bottom: 12px;
}
.testi-stars {
  font-size: 12px; color: var(--gold);
  margin-bottom: 16px; letter-spacing: 3px;
}
.testi-text {
  font-family: var(--font-s); font-style: italic;
  font-size: 16px; color: var(--ink-2);
  line-height: 1.8; margin-bottom: 28px;
}
.testi-author {
  display: flex; align-items: center; gap: 14px;
  border-top: 1px solid var(--border-2);
  padding-top: 20px;
}
.testi-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--bg-4);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-s); font-size: 14px; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.testi-name {
  font-size: 13px; font-weight: 600; color: var(--ink);
}
.testi-role {
  font-size: 11px; color: var(--ink-3); margin-top: 2px;
}

/* ══════════════════════════════════════
   SOCIAL
   ══════════════════════════════════════ */
.social-strip {
  padding: 64px 0;
  border-bottom: 1px solid var(--border-2);
  text-align: center;
}
.social-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px;
}
.social-links {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.social-link {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 24px;
  border: 1px solid var(--border-2); border-radius: 2px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.social-link:hover {
  border-color: var(--gold); color: var(--gold);
  background: var(--gold-pale);
}

/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-lede {
  font-family: var(--font-s);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.2;
  color: var(--ink); margin-bottom: 20px;
}
.contact-lede em { font-style: italic; color: var(--gold); }
.contact-sub { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin-bottom: 36px; }
.contact-items { display: flex; flex-direction: column; gap: 16px; }
.ci-item {
  display: flex; align-items: center; gap: 16px;
}
.ci-icon {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); flex-shrink: 0;
}
.ci-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ci-val { font-size: 14px; font-weight: 500; color: var(--ink); margin-top: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.cf-field {
  display: flex; flex-direction: column; gap: 6px;
}
.cf-label {
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-3);
}
.cf-input, .cf-textarea {
  background: var(--bg-2); border: 1px solid var(--border-2);
  color: var(--ink); font-family: var(--font-b); font-size: 14px;
  padding: 14px 18px; border-radius: 2px; outline: none;
  transition: border-color 0.2s;
}
.cf-input:focus, .cf-textarea:focus { border-color: var(--gold); }
.cf-textarea { resize: vertical; min-height: 120px; }
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  padding: 32px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em;
}
.footer-copy span { color: var(--gold); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-3);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }

/* Hide wire:loading elements before Livewire mounts (mirrors Livewire's runtime CSS) */
[wire\:loading],
[wire\:loading\.delay],
[wire\:loading\.inline-block],
[wire\:loading\.inline] { display: none; }

/* WoBooks empty-image guard (theme:editor-compliance --fix --scope=img-empty-guard):
   image_url('') renders <img src=""> until the owner uploads a photo — hide it
   instead of leaking the browser's broken-image icon + alt text onto the page. */
img[src=""], img:not([src]) { display: none !important; }


/* ══════════════════════════════════════
   ANIMATIONS — scroll-driven reveal, progressive enhancement only
   The resting state is FULLY VISIBLE and lives outside every guard, so a browser
   with no scroll timeline — or a blocked script, or a stylesheet that arrives
   late — can never strand the name, bio, CTAs or any section behind them. The
   hidden from-state lives ONLY inside the @keyframes, never in the rule:
   `@supports` proves the FEATURE exists, it does not prove the ViewTimeline is
   ACTIVE. Inside a same-origin iframe (every owner-facing preview surface) the
   timeline resolves to null, the animation effect is not applied, and a
   rule-level `opacity: 0` would stay in force with nothing left to reveal it.
   Keyframed, the base visible declaration simply wins.
   Only opacity and transform animate: nothing reflows.
   ══════════════════════════════════════ */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ao { animation: ao-in linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }

    /* Group stagger is an animation-RANGE shift, never a delay: a wall-clock
       delay on a scroll timeline finishes long before the visitor arrives.
       Both ends stay inside `entry`, so every reveal completes once the element
       has entered — an end anchored to `cover` would leave the LAST section of
       the page permanently part-transparent, because the visitor runs out of
       page to scroll before the range finishes. */
    :is(.skills-grid, .xp-list, .edu-grid, .tools-list, .folio-scroll, .case-list, .svc-grid, .testi-grid) > .ao:nth-child(2) { animation-range: entry 8% entry 46%; }
    :is(.skills-grid, .xp-list, .edu-grid, .tools-list, .folio-scroll, .case-list, .svc-grid, .testi-grid) > .ao:nth-child(3) { animation-range: entry 16% entry 54%; }
    :is(.skills-grid, .xp-list, .edu-grid, .tools-list, .folio-scroll, .case-list, .svc-grid, .testi-grid) > .ao:nth-child(4) { animation-range: entry 24% entry 62%; }
    :is(.skills-grid, .xp-list, .edu-grid, .tools-list, .folio-scroll, .case-list, .svc-grid, .testi-grid) > .ao:nth-child(5) { animation-range: entry 32% entry 70%; }
    :is(.skills-grid, .xp-list, .edu-grid, .tools-list, .folio-scroll, .case-list, .svc-grid, .testi-grid) > .ao:nth-child(n+6) { animation-range: entry 40% entry 78%; }

    /* The bar grows along its own axis. The author's inline width stays the
       resting width, so the track never reflows while it fills. */
    .skill-bar-fill { animation: bar-fill-in linear both; animation-timeline: view(); animation-range: entry 20% entry 90%; }

    /* The `to` keyframe deliberately omits `transform`, so the end state is the
       element's OWN underlying transform rather than a hard `none`. A filling
       scroll-driven animation outranks both author rules and inline styles, so a
       `to{}` permanently overrides every `:hover` lift and every
       JS-written transform on the same element for the rest of the page's life.
       Measured in Chrome 152: with `transform:none` a hovered card reports the
       identity matrix; with the implicit `to` it reports its real hover translate
       and its JS tilt matrix, while the reveal still runs on a ViewTimeline. */
    @keyframes ao-in { from { opacity: 0; transform: translateY(20px); } to{opacity: 1} }
    @keyframes bar-fill-in { from { transform: scaleX(0); } to{transform: scaleX(1)} }
  }
}

/* Own contrast (Weave item 54, theme:palette-stress --heal): with no palette, these read 4.5:1 on the theme's own
   backgrounds; each was proven by rendering the page. The palette block (html:root) still overrides the tokens. */
:root {
  --ink-3: #918c86; /* was #5A5550 */
}
