/* ══════════════════════════════════════
   VELVET — Luxury Magazine Designer Portfolio
   Palette : Burgundy #120609 · Rose Gold #C9956C · Cream #F5EDE4
   Fonts   : Playfair Display (serif) + Manrope (sans)
   ══════════════════════════════════════ */

*, *::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:       #120609;
  --bg-2:     #1C0C10;
  --bg-3:     #251018;
  --cream:    #F5EDE4;
  --cream-2:  #E8D9CC;
  --rose:     #C9956C;
  --rose-l:   #DDB08C;
  --rose-d:   #A87550;
  --ink:      #F5EDE4;
  --ink-2:    #A89080;
  --ink-3:    #5C3F38;
  --border:   #2A1520;
  --border-2: #3A2030;
  --font-s:   'Playfair Display', serif;
  --font-b:   'Manrope', sans-serif;
  --nav-h:    64px;
  --wrap:     1160px;
  --r:        4px;
}

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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


/* ── Topbar ── */
.topbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 100;
  background: var(--wb-dark-surface, rgba(18,6,9,0.94));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}
.topbar-row {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.topbar-logo {
  font-family: var(--font-s);
  font-size: 20px; font-weight: 700;
  font-style: italic;
  color: var(--rose);
  letter-spacing: 0.01em;
}
.topbar-nav { display: flex; align-items: center; gap: 0; }
.topbar-nav a {
  font-family: var(--font-b);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-2); padding: 7px 14px;
  transition: color 0.2s;
}
.topbar-nav a:hover { color: var(--rose); }
.nav-cta {
  color: var(--bg) !important;
  background: var(--rose) !important;
  font-weight: 600 !important;
  padding: 8px 22px !important;
  margin-left: 10px;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--rose-l) !important; }

.topbar-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.topbar-toggle span { width: 22px; height: 1px; background: var(--ink); transition: transform 0.25s; }

@media (max-width: 820px) {
  .topbar-toggle { display: flex; }
  .topbar-nav {
    position: fixed; inset: var(--nav-h) 0 0 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg-2); padding: 1.5rem; gap: 4px;
    transform: translateX(100%); transition: transform 0.3s;
    border-top: 1px solid var(--border); overflow-y: auto;
  }
  .topbar-nav.open { transform: translateX(0); }
  .topbar-nav a { padding: 13px 16px; font-size: 14px; }
  .nav-cta { text-align: center; margin: 6px 0 0 !important; }
}


/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 32px;
  font-family: var(--font-b); font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-rose  { background: var(--rose); color: var(--bg); }
.btn-rose:hover { background: var(--rose-l); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--rose); color: var(--rose); }
.btn-full { width: 100%; justify-content: center; }


/* ══════════════════════════════════════
   HERO — Full viewport centered editorial
   ══════════════════════════════════════ */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex; flex-direction: column;
  position: relative; overflow:clip;
}

/* Background decorative orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  background: var(--background, radial-gradient(circle, rgba(201,149,108,0.12) 0%, transparent 70%));
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: -80px;
  width: 360px; height: 360px;
  background: var(--background, radial-gradient(circle, rgba(201,149,108,0.07) 0%, transparent 70%));
  pointer-events: none;
}

/* Top: full-width photo behind text */
.hero-stage {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  min-height: calc(100vh - var(--nav-h) - 120px);
  position: relative;
}

/* Left column: vertical meta */
.hero-left {
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem,4vw,4rem);
  border-right: 1px solid var(--border);
  gap: 2rem;
}
.hero-contact-stack { display: flex; flex-direction: column; gap: 14px; }
.hcs-item {
  display: flex; flex-direction: column; gap: 2px;
}
.hcs-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.hcs-val { font-size: 13px; color: var(--ink-2); }
.hero-avail {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rose);
}
.avail-dot {
  width: 7px; height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50%      { box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

/* Center column: name + role */
.hero-center {
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  padding: clamp(2rem,4vw,4rem) clamp(1.5rem,3vw,3rem);
  position: relative;
}
/* Decorative roman numeral */
.hero-center::before {
  content: 'I';
  position: absolute; top: 2rem;
  font-family: var(--font-s);
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ink-3); text-transform: uppercase;
}
.hero-issue {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 24px;
}
.hero-name {
  font-family: var(--font-s);
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 8px;
}
.hero-name em {
  font-style: italic;
  color: var(--rose);
  display: block;
}
.hero-rule {
  width: 60px; height: 1px;
  background: var(--rose); opacity: 0.5;
  margin: 18px auto;
}
.hero-role {
  font-size: clamp(12px, 1.4vw, 14px);
  font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-2);
  margin-bottom: 8px;
}
.hero-chips {
  font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.05em; font-style: italic;
  font-family: var(--font-s);
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-top: 32px;
}

/* Right column: photo */
.hero-right {
  position: relative; overflow: hidden;
  background: var(--bg-3);
  border-left: 1px solid var(--border);
}
.hero-right img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.75;
  display: block;
}
.hero-right::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(18,6,9,0.4) 0%, transparent 40%);
  pointer-events: none;
}

/* Bottom strip: bio + stats */
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-top: 1px solid var(--border);
}
.hb-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--border);
}
.hb-cell:last-child { border-right: none; }
.hb-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 8px; display: block;
}
.hb-bio { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.hb-stat-num {
  font-family: var(--font-s);
  font-size: 36px; font-weight: 700;
  color: var(--rose); line-height: 1; margin-bottom: 4px;
}
.hb-stat-label {
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.06em;
}

@media (max-width: 900px) {
  .hero-stage { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { border-right: none; border-bottom: 1px solid var(--border); flex-direction: row; flex-wrap: wrap; padding: 1.5rem; }
  .hero-right { height: 360px; border-left: none; border-top: 1px solid var(--border); }
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .hb-cell:nth-child(2) { border-right: none; }
  .hb-cell:nth-child(3) { border-top: 1px solid var(--border); }
  .hb-cell:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
}
@media (max-width: 520px) {
  .hero-bottom { grid-template-columns: 1fr; }
  .hb-cell { border-right: none !important; border-top: 1px solid var(--border); }
  .hb-cell:first-child { border-top: none; }
}


/* ══════════════════════════════════════
   SECTION SHARED
   ══════════════════════════════════════ */
.seg { padding: 90px 0; border-bottom: 1px solid var(--border); }
.seg-alt { background: var(--bg-2); }

.seg-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 2.5rem;
  align-items: end;
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.seg-big-num {
  font-family: var(--font-s);
  font-size: clamp(72px, 10vw, 110px);
  font-weight: 700; font-style: italic;
  line-height: 1; color: var(--border-2);
  user-select: none;
}
.seg-head-right { padding-bottom: 6px; }
.seg-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 6px; display: block;
}
.seg-title {
  font-family: var(--font-s);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700; line-height: 1.1;
  color: var(--cream); letter-spacing: -0.01em;
}
.seg-title em { font-style: italic; color: var(--rose); }


/* ══════════════════════════════════════
   SKILLS
   ══════════════════════════════════════ */
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.skill-card {
  background: var(--bg);
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.skill-card:hover { background: var(--bg-2); }
.sk-top {
  display: flex; justify-content: space-between; align-items: flex-start;
}
.sk-cat {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose);
}
.sk-pct {
  font-family: var(--font-s);
  font-size: 30px; font-weight: 700; font-style: italic;
  color: var(--cream); line-height: 1;
}
.sk-name { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.sk-bar  { height: 1px; background: var(--border-2); overflow:clip; }
.sk-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-d), var(--rose-l));
  transform-origin: left;
  font-size: 0; color: transparent;
}


/* ══════════════════════════════════════
   EXPERIENCE
   ══════════════════════════════════════ */
.xp-list { display: flex; flex-direction: column; gap: 0; }
.xp-row {
  display: grid; grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.xp-row:first-child { border-top: 1px solid var(--border); }
.xp-row:hover { background: var(--bg-2); }
.xp-left {
  padding: 28px 20px 28px 0;
  border-right: 1px solid var(--border);
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.xp-period {
  font-family: var(--font-s); font-style: italic;
  font-size: 12px; color: var(--ink-3);
  text-align: right; line-height: 1.7;
}
.xp-right { padding: 28px 0 28px 28px; }
.xp-role {
  font-family: var(--font-s);
  font-size: 20px; font-weight: 700;
  color: var(--cream); margin-bottom: 3px;
}
.xp-co {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 12px;
}
.xp-desc { font-size: 13.5px; color: var(--ink-2); line-height: 1.7; }

@media (max-width: 580px) {
  .xp-row { grid-template-columns: 1fr; }
  .xp-left { border-right: none; border-bottom: 1px solid var(--border); padding: 16px 0; justify-content: flex-start; }
  .xp-right { padding: 16px 0; }
}


/* ══════════════════════════════════════
   EDUCATION
   ══════════════════════════════════════ */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.edu-card {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.2s;
}
.edu-card:hover { background: var(--bg-2); }
.edu-yr {
  font-family: var(--font-s); font-style: italic;
  font-size: 12px; color: var(--rose); display: block;
}
.edu-deg {
  font-family: var(--font-s);
  font-size: 18px; font-weight: 700;
  color: var(--cream); line-height: 1.2;
}
.edu-inst {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3);
}
.edu-note { font-size: 13px; color: var(--ink-2); line-height: 1.65; margin-top: 6px; }


/* ══════════════════════════════════════
   DESIGN TOOLS
   ══════════════════════════════════════ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.tool-card {
  background: var(--bg); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
  transition: background 0.2s;
}
.tool-card:hover { background: var(--bg-2); }
.tc-top { display: flex; align-items: center; gap: 14px; }
.tc-icon {
  width: 40px; height: 40px;
  background: var(--bg-3); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-s); font-style: italic;
  font-size: 14px; font-weight: 700; color: var(--rose);
  flex-shrink: 0;
}
.tc-name { font-size: 14px; font-weight: 600; color: var(--cream); }
.tc-cat  { font-size: 10px; color: var(--ink-3); letter-spacing: 0.06em; margin-top: 1px; }
.tc-bar  { height: 1px; background: var(--border-2); overflow:clip; }
.tc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--rose-d), var(--rose-l));
  transform-origin: left;
  font-size: 0; color: transparent;
}


/* ══════════════════════════════════════
   PORTFOLIO — Asymmetric grid
   ══════════════════════════════════════ */
.folio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  auto-rows: 280px;
}
/* Alternate wide/narrow layout via nth-child */
.folio-tile          { grid-column: span 7; }
.folio-tile:nth-child(even) { grid-column: span 5; }
.folio-tile:nth-child(3n)   { grid-column: span 12; }

.folio-tile {
  background: var(--bg-3);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative; min-height: 280px;
  transition: background 0.2s;
}
.ft-img {
  flex: 1; overflow: hidden; background: var(--bg-3);
  position: relative;
}
.ft-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.folio-tile:hover .ft-img img { transform: scale(1.06); }
/* Gradient overlay always visible */
.ft-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,6,9,0.85) 0%, transparent 55%);
  pointer-events: none;
}
.ft-body {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.ft-body-left { flex: 1; }
.ft-cat {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 4px; display: block;
}
.ft-name {
  font-family: var(--font-s);
  font-size: clamp(15px, 1.8vw, 20px); font-weight: 700;
  color: var(--cream); line-height: 1.2;
}
.ft-link {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--rose); border: 1px solid var(--rose);
  padding: 6px 14px; white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.ft-link:hover { background: var(--rose); color: var(--bg); }

@media (max-width: 700px) {
  .folio-tile, .folio-tile:nth-child(even), .folio-tile:nth-child(3n) {
    grid-column: span 12;
  }
}


/* ══════════════════════════════════════
   CASE STUDIES
   ══════════════════════════════════════ */
.case-list { display: flex; flex-direction: column; }
.case-row {
  display: grid; grid-template-columns: 0.4fr 0.6fr;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}
.case-row:first-child { border-top: 1px solid var(--border); }
.case-row:hover { background: var(--bg-2); }
.cr-img { overflow: hidden; min-height: 240px; background: var(--bg-3); }
.cr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.case-row:hover .cr-img img { transform: scale(1.04); }
.cr-body {
  padding: clamp(1.5rem,3vw,2.5rem);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px;
}
.cr-num {
  font-family: var(--font-s); font-style: italic;
  font-size: 11px; color: var(--rose); letter-spacing: 0.08em;
}
.cr-name {
  font-family: var(--font-s);
  font-size: clamp(18px,2.4vw,28px); font-weight: 700;
  color: var(--cream); line-height: 1.15;
}
.cr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--border-2);
  padding: 4px 12px;
}
.cr-text { font-size: 13.5px; color: var(--ink-2); line-height: 1.72; }
.cr-impact {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--ink-2);
  font-style: italic; font-family: var(--font-s);
}
.cr-impact-label { color: var(--rose); font-style: normal; font-weight: 700; margin-right: 6px; }
.cr-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--rose); margin-top: 4px;
  transition: gap 0.2s;
}
.cr-more:hover { gap: 14px; }

@media (max-width: 660px) {
  .case-row { grid-template-columns: 1fr; }
  .cr-img { min-height: 200px; }
  .cr-body { border-left: none; border-top: 1px solid var(--border); }
}


/* ══════════════════════════════════════
   SERVICES
   ══════════════════════════════════════ */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.svc-card {
  background: var(--bg); padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: background 0.2s;
}
.svc-card:hover { background: var(--bg-2); }
.svc-num {
  font-family: var(--font-s); font-style: italic;
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em;
}
.svc-ic { width: 44px; height: 44px; overflow: hidden; background: var(--bg-3); }
.svc-ic img { width: 100%; height: 100%; object-fit: cover; }
.svc-name {
  font-family: var(--font-s);
  font-size: 19px; font-weight: 700; color: var(--cream);
}
.svc-sub  { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); }
.svc-body { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; flex: 1; }
.svc-price {
  display: inline-flex; align-items: center;
  font-family: var(--font-s); font-size: 15px; font-weight: 700; font-style: italic;
  color: var(--rose); align-self: flex-start;
  border-bottom: 1px solid var(--rose); padding-bottom: 2px;
}


/* ══════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════ */
.rev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
}
.rev-card {
  background: var(--bg); padding: 32px;
  display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: background 0.2s;
}
.rev-card:hover { background: var(--bg-2); }
.rv-open-quote {
  font-family: var(--font-s); font-size: 72px; font-style: italic;
  color: var(--rose); opacity: 0.2; line-height: 1;
  position: absolute; top: 16px; left: 24px;
  pointer-events: none;
}
.rv-stars { font-size: 12px; color: var(--rose); letter-spacing: 4px; padding-top: 16px; }
.rv-text {
  font-family: var(--font-s); font-style: italic;
  font-size: 15px; color: var(--ink-2); line-height: 1.8; flex: 1;
}
.rv-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.rv-avi {
  width: 42px; height: 42px;
  object-fit: cover; border: 1px solid var(--border-2); flex-shrink: 0;
}
.rv-name { font-size: 14px; font-weight: 600; color: var(--cream); display: block; font-style: normal; }
.rv-role { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; }


/* ══════════════════════════════════════
   SOCIAL
   ══════════════════════════════════════ */
.social-seg { border-bottom: 1px solid var(--border); }
.social-row {
  display: flex; align-items: stretch;
}
.social-label-cell {
  padding: 20px 28px; border-right: 1px solid var(--border);
  display: flex; align-items: center;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-3); flex-shrink: 0;
  font-family: var(--font-s); font-style: italic;
}
.social-pills { display: flex; flex-wrap: wrap; }
.social-pill {
  display: inline-flex; align-items: center;
  padding: 20px 26px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--ink-2);
  border-right: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.social-pill:hover { color: var(--rose); background: var(--bg-2); }


/* ══════════════════════════════════════
   CONTACT
   ══════════════════════════════════════ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  border: 1px solid var(--border);
}
.cg-info {
  padding: clamp(2rem,4vw,3.5rem);
  border-right: 1px solid var(--border);
}
.cg-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--rose); margin-bottom: 10px; display: block;
}
.cg-heading {
  font-family: var(--font-s);
  font-size: clamp(30px,4.5vw,52px); font-weight: 700;
  line-height: 1.1; color: var(--cream); margin-bottom: 10px;
}
.cg-heading em { font-style: italic; color: var(--rose); }
.cg-sub {
  font-size: 13.5px; color: var(--ink-2); line-height: 1.75;
  margin-bottom: 36px;
}
.cg-items { display: flex; flex-direction: column; }
.cg-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 0; border-top: 1px solid var(--border);
}
.cg-item:last-child { border-bottom: 1px solid var(--border); }
.cg-icon {
  color: var(--rose); flex-shrink: 0; margin-top: 2px;
}
.cg-k {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); display: block; margin-bottom: 3px;
}
.cg-v { font-size: 13.5px; color: var(--ink-2); }

.cg-form {
  padding: clamp(2rem,4vw,3.5rem);
  display: flex; flex-direction: column; gap: 18px;
}
.cf { display: flex; flex-direction: column; gap: 6px; }
.cf label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.cf input, .cf textarea {
  width: 100%; background: var(--bg-2);
  border: 1px solid var(--border-2);
  padding: 12px 14px;
  font-family: var(--font-b); font-size: 14px; color: var(--cream);
  outline: none; transition: border-color 0.2s;
  border-radius: 0;
}
.cf input::placeholder, .cf textarea::placeholder { color: var(--ink-3); }
.cf input:focus, .cf textarea:focus { border-color: var(--rose); }
.cf textarea { resize: vertical; }

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .cg-info { border-right: none; border-bottom: 1px solid var(--border); }
}


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--wb-dark-surface, #1C0C10);
  border-top: 1px solid var(--border);
  padding: 0;
}
.footer-row {
  display: flex; align-items: stretch; justify-content: space-between;
}
.footer-copy {
  padding: 22px 0;
  font-size: 11px; color: var(--ink-3);
  letter-spacing: 0.05em;
}
.footer-links { display: flex; }
.footer-links a {
  font-size: 11px; color: var(--ink-3); letter-spacing: 0.08em;
  padding: 22px 24px; border-left: 1px solid var(--border);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--rose); }

/* 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` / `visibility: hidden` would stay in force with
   nothing left to reveal it. Keyframed, the base visible declaration simply
   wins — `visibility` animates discretely, which is exactly what this needs.
   The big section numerals (.seg-big-num) carry `.ao` in the markup, so they
   reveal on this same lane; they do not need a second effect of their own.
   Only opacity, visibility 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(.skill-grid, .xp-list, .edu-grid, .tool-grid, .folio-grid, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(2) { animation-range: entry 8% entry 46%; }
    :is(.skill-grid, .xp-list, .edu-grid, .tool-grid, .folio-grid, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(3) { animation-range: entry 16% entry 54%; }
    :is(.skill-grid, .xp-list, .edu-grid, .tool-grid, .folio-grid, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(4) { animation-range: entry 24% entry 62%; }
    :is(.skill-grid, .xp-list, .edu-grid, .tool-grid, .folio-grid, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(5) { animation-range: entry 32% entry 70%; }
    :is(.skill-grid, .xp-list, .edu-grid, .tool-grid, .folio-grid, .case-list, .svc-grid, .rev-grid) > .ao:nth-child(n+6) { animation-range: entry 40% entry 78%; }

    /* `.hero-rule` is an AUTHORED 50%-opacity hairline divider (line 230), not
       content. `ao-in` ends at `opacity: 1`, so putting it on this lane would
       overwrite the design value the moment the timeline ran — the divider would
       sit at 0.5 for a visitor with no scroll timeline and at 1.0 for everyone
       else. It reveals on transform alone and keeps its authored opacity in
       every condition. Only `animation-name` is overridden: a second `animation`
       SHORTHAND here would reset the timeline and range set above and drop the
       divider back onto the wall clock. */
    .hero-rule.ao { animation-name: ao-rise; }

    /* The bar grows along its own axis. The author's inline width stays the
       resting width, so the track never reflows while it fills. */
    .sk-fill, .tc-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; visibility: hidden; transform: translateY(22px); } to{opacity: 1; visibility: visible} }
    @keyframes ao-rise { from { transform: translateY(22px); } }
    @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 {
  --border-2: #816274; /* was #3A2030 */
}

/* 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: #a7867e; /* was #5C3F38 */
}
