/* ============================================
   KINETIC — Designer Resume (Growth Tier)
   Electric Blue + Warm Amber / Deep navy
   Fonts: Albert Sans (display+body) + Source Code Pro (meta)
   Structure: Centered command bar nav, split-screen hero, horizontal-scroll portfolio
   ============================================ */

:root {
  --bg: #f7f6f3;
  --bg2: #edeae4;
  --surface: #ffffff;
  --border: #ddd8ce;
  --border2: #cfc9be;
  --text: #282830;
  --bright: #0a0f1e;
  --dim: #74736a;
  --accent: #3b82f6;
  --accent2: #d4903c;
  --gradient: linear-gradient(135deg, var(--accent), var(--accent2));
  --glow: rgba(59, 130, 246, 0.16);
  --glow2: rgba(212, 144, 60, 0.16);
  --dark: #0a0f1e;
  --dark2: #121728;
  --dark-s: #1a2035;
  --blue-bg: #3b82f6;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans, 'Albert Sans', system-ui, sans-serif);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

/* ── COMMAND BAR NAV ───────────────────────── */

.cmd-bar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 6px 5px 12px;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(10, 15, 30, 0.08);
}

.cb-brand { display: flex; align-items: center; gap: 7px; padding-right: 8px; border-right: 1px solid var(--border); margin-right: 4px; }
.cb-logo { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.cb-name { font-weight: 700; font-size: 0.82rem; color: var(--bright); white-space: nowrap; }

.cb-links { display: flex; gap: 2px; }

.cb-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--dim);
  padding: 6px 11px;
  border-radius: 100px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}

.cb-link:hover { color: var(--accent); background: rgba(59, 130, 246, 0.06); }

.cb-cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  padding: 6px 16px;
  border-radius: 100px;
  margin-left: 2px;
  transition: background 0.2s var(--ease);
  white-space: nowrap;
}

.cb-cta:hover { background: var(--accent2); }

/* ── MOBILE NAV ────────────────────────────── */

.mob-bar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 54px;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.mob-brand { display: flex; align-items: center; gap: 7px; }
.mob-logo { width: 26px; height: 26px; border-radius: 8px; }
.mob-name { font-weight: 700; font-size: 0.88rem; color: var(--bright); }

.mob-btn {
  display: flex; flex-direction: column; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 4px;
}

.mob-btn span {
  display: block; width: 20px; height: 2px;
  background: var(--bright); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.mob-btn.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.mob-btn.active span:nth-child(2) { opacity: 0; }
.mob-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4px); }

.mob-menu {
  display: none;
  position: fixed;
  top: 54px; left: 0; right: 0;
  z-index: 99;
  background: rgba(247, 246, 243, 0.97);
  backdrop-filter: blur(14px);
  padding: 12px 16px;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border);
}

.mob-menu.open { display: flex; }

.mm-link {
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.mm-link:hover { background: rgba(59, 130, 246, 0.06); color: var(--accent); }

/* ── HERO — SPLIT SCREEN ──────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  /* clip, not hidden: hidden makes this a scroll container and strands the view()-timeline .rv reveal at progress 1 */
  overflow: clip;
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.02;
  pointer-events: none;
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

.hero-dark {
  background: var(--dark);
  display: flex;
  align-items: center;
  padding: 80px clamp(28px, 4vw, 64px) 60px;
}

.hero-dark-inner { max-width: 480px; margin-left: auto; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.tag-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

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

@media (prefers-reduced-motion: reduce) {
  .tag-dot { animation: none; }
}

.tag-text {
  font-family: 'Source Code Pro', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.hero-name {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 6px;
  animation: fadeUp 0.7s var(--ease) both;
}

.hero-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
  animation: fadeUp 0.7s 0.08s var(--ease) both;
}

.hero-rule {
  width: 48px; height: 3px;
  background: var(--gradient);
  border-radius: 3px;
  margin-bottom: 16px;
  animation: ruleW 0.5s 0.16s var(--ease) both;
}

@keyframes ruleW { from { width: 0; } to { width: 48px; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-sum {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 18px;
  animation: fadeUp 0.7s 0.18s var(--ease) both;
}

.hero-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.26s var(--ease) both;
}

.hm {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.hm:hover { border-color: var(--accent); color: var(--accent); }
.hm svg { color: var(--accent); flex-shrink: 0; }

.btn-cv {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  animation: fadeUp 0.7s 0.34s var(--ease) both;
}

.btn-cv:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
  background: var(--accent2);
}

.hero-light {
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 60px;
}

.hero-photo-wrap {
  width: min(320px, 80%);
  aspect-ratio: 5/6;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10, 15, 30, 0.12);
}

.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* ── BLOCKS ────────────────────────────────── */

.blk {
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px clamp(20px, 5vw, 64px);
}

.blk-alt { background: var(--bg2); }

.blk-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.blk-n {
  font-family: 'Source Code Pro', monospace;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0.4;
  font-weight: 600;
}

.blk-t {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--bright);
  letter-spacing: -0.01em;
}

/* ── SKILLS ────────────────────────────────── */

.sk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.sk-card {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.sk-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(10, 15, 30, 0.05);
  border-color: var(--accent);
}

.sk-grp {
  display: block;
  font-family: 'Source Code Pro', monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--accent2);
  font-weight: 600;
}

.sk-name { display: block; font-weight: 700; font-size: 0.88rem; color: var(--bright); margin-bottom: 8px; }
.sk-track { height: 5px; background: var(--bg2); border-radius: 5px; overflow: clip; }

.sk-fill {
  height: 100%; background: var(--gradient); border-radius: 5px;
  font-size: 0; color: transparent; transform-origin: left;
}

/* ── TIMELINE ──────────────────────────────── */

.tl { position: relative; padding-left: 28px; }

.tl::before {
  content: '';
  position: absolute;
  left: 7px; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), var(--border));
}

.tl-item { position: relative; margin-bottom: 18px; }
.tl-item:last-child { margin-bottom: 0; }

.tl-dot {
  position: absolute; left: -24px; top: 16px;
  width: 10px; height: 10px;
  background: var(--accent); border: 3px solid var(--bg2);
  border-radius: 50%; z-index: 1;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}

.tl-item:hover .tl-dot { box-shadow: 0 0 0 5px var(--glow); transform: scale(1.15); }

.tl-card {
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tl-item:hover .tl-card {
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(10, 15, 30, 0.05);
  border-color: var(--accent);
}

.tl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.tl-co { font-size: 0.95rem; font-weight: 700; color: var(--bright); }
.tl-when { font-family: 'Source Code Pro', monospace; font-size: 0.68rem; color: var(--dim); }
.tl-role { font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.tl-desc { font-size: 0.82rem; color: var(--text); line-height: 1.6; }

/* ── EDUCATION ─────────────────────────────── */

.ed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.ed-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.ed-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(10, 15, 30, 0.05); border-color: var(--accent); }

.ed-school { font-size: 0.92rem; font-weight: 700; color: var(--bright); margin-bottom: 2px; }
.ed-deg { font-size: 0.82rem; font-weight: 600; color: var(--accent); margin-bottom: 3px; }
.ed-when { display: block; font-family: 'Source Code Pro', monospace; font-size: 0.62rem; color: var(--dim); margin-bottom: 6px; }
.ed-note { font-size: 0.78rem; color: var(--text); line-height: 1.6; }

/* ── DARK SECTIONS ─────────────────────────── */

.s-dark { background: var(--dark); color: #d0cdc6; }
.s-dark .blk-n { color: var(--accent); opacity: 0.45; }
.s-dark .blk-t { color: #f0ede6; }

/* ── DESIGN TOOLS ──────────────────────────── */

.dt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 10px;
}

.dt-card {
  padding: 16px;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.25s var(--ease), border-color 0.3s var(--ease), box-shadow 0.25s var(--ease);
}

.dt-card:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.dt-name { display: block; font-weight: 700; font-size: 0.88rem; color: #f0ede6; margin-bottom: 2px; transition: color 0.2s var(--ease); }
.dt-card:hover .dt-name { color: var(--accent); }

.dt-cat {
  display: block; font-family: 'Source Code Pro', monospace;
  font-size: 0.55rem; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--accent2); margin-bottom: 10px;
}

.dt-track { height: 4px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: clip; }
.dt-fill { height: 100%; background: var(--gradient); border-radius: 4px; font-size: 0; color: transparent; transform-origin: left; }

/* ── CASE STUDIES ──────────────────────────── */

.cs-list { display: grid; gap: 24px; }

.cs-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cs-card:nth-child(even) { direction: rtl; }
.cs-card:nth-child(even) > * { direction: ltr; }

.cs-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(10, 15, 30, 0.07); border-color: var(--accent); }

.cs-media { position: relative; overflow: hidden; min-height: 230px; }
.cs-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cs-card:hover .cs-img { transform: scale(1.05); }

.cs-ov {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 15, 30, 0.7), transparent);
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 16px; opacity: 0; transition: opacity 0.3s var(--ease);
}

.cs-card:hover .cs-ov { opacity: 1; }

.cs-btn {
  padding: 6px 16px; background: var(--accent); color: #fff;
  font-size: 0.75rem; font-weight: 700; border-radius: 8px;
  transform: translateY(8px); transition: transform 0.3s var(--ease);
}

.cs-card:hover .cs-btn { transform: translateY(0); }

.cs-body { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.cs-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }

.cs-pill {
  font-family: 'Source Code Pro', monospace; font-size: 0.58rem;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent);
  padding: 3px 8px; border: 1px solid rgba(59, 130, 246, 0.18); border-radius: 5px;
}

.cs-title { font-size: 1.12rem; font-weight: 800; color: var(--bright); margin-bottom: 6px; transition: color 0.2s var(--ease); }
.cs-card:hover .cs-title { color: var(--accent); }
.cs-desc { font-size: 0.82rem; color: var(--text); line-height: 1.6; margin-bottom: 10px; }

.cs-out {
  display: flex; align-items: baseline; gap: 5px;
  padding: 6px 10px; background: rgba(59, 130, 246, 0.06);
  border-radius: 6px; align-self: flex-start;
}

.cs-out-lbl { font-family: 'Source Code Pro', monospace; font-size: 0.55rem; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.cs-out-val { font-size: 0.78rem; font-weight: 700; color: var(--accent); }

/* ── PORTFOLIO — blue accent band + horizontal scroll ── */

/* clip, not hidden: hidden makes this a scroll container and strands the view()-timeline .rv reveal at progress 1 */
.s-blue { background: var(--blue-bg); color: #fff; overflow: clip; }
.s-blue .blk-n { color: rgba(255, 255, 255, 0.3); }
.s-blue .blk-t { color: #fff; }

.fo-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 0 clamp(20px, 5vw, 64px) 40px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}

.fo-scroll::-webkit-scrollbar { height: 6px; }
.fo-scroll::-webkit-scrollbar-track { background: transparent; }
.fo-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.25); border-radius: 6px; }

.fo-card {
  flex: 0 0 300px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  overflow: hidden;
  scroll-snap-align: start;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.fo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

.fo-thumb { position: relative; overflow: hidden; aspect-ratio: 10/7; }
.fo-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.fo-card:hover .fo-img { transform: scale(1.06); }

.fo-ov {
  position: absolute; inset: 0;
  background: rgba(10, 15, 30, 0.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s var(--ease);
}

.fo-card:hover .fo-ov { opacity: 1; }

.fo-link {
  padding: 7px 18px; background: #fff; color: var(--accent);
  font-size: 0.75rem; font-weight: 700; border-radius: 8px;
  transform: translateY(8px); transition: transform 0.3s var(--ease);
}

.fo-card:hover .fo-link { transform: translateY(0); }

.fo-info { padding: 16px 18px; }
.fo-cat { font-family: 'Source Code Pro', monospace; font-size: 0.56rem; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); }
.fo-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 3px 0 4px; }
.fo-desc { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── SERVICES ──────────────────────────────── */

.sv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.sv-card {
  position: relative; padding: 24px 20px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.sv-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(10, 15, 30, 0.06); border-color: var(--accent); }

.sv-stripe {
  position: absolute; left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--gradient);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease);
}

.sv-card:hover .sv-stripe { transform: scaleY(1); }

.sv-ico { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; margin-bottom: 10px; }
.sv-name { font-size: 1rem; font-weight: 700; color: var(--bright); margin-bottom: 2px; transition: color 0.2s var(--ease); }
.sv-card:hover .sv-name { color: var(--accent); }
.sv-sub { font-family: 'Source Code Pro', monospace; font-size: 0.62rem; color: var(--dim); margin-bottom: 8px; }
.sv-body { font-size: 0.82rem; color: var(--text); line-height: 1.6; margin-bottom: 8px; }
.sv-price { display: block; font-size: 1.05rem; font-weight: 800; color: var(--accent); margin-bottom: 8px; }
.sv-more { font-size: 0.72rem; font-weight: 700; color: var(--accent); transition: color 0.2s var(--ease); }
.sv-more:hover { color: var(--accent2); }

/* ── TESTIMONIALS ──────────────────────────── */

.tm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.tm-card {
  padding: 22px;
  background: var(--dark2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.tm-card:hover { transform: translateY(-3px); border-color: rgba(59, 130, 246, 0.18); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

.tm-q { color: rgba(59, 130, 246, 0.2); margin-bottom: 8px; }
.tm-text { font-size: 0.88rem; line-height: 1.7; color: #c0bdb6; margin-bottom: 14px; }
.tm-who { display: flex; align-items: center; gap: 9px; }
.tm-av { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.06); }
.tm-name { display: block; font-weight: 700; font-size: 0.82rem; color: #f0ede6; }
.tm-role { display: block; font-family: 'Source Code Pro', monospace; font-size: 0.6rem; color: rgba(255,255,255,0.4); }

/* ── SOCIAL ────────────────────────────────── */

.soc-center { text-align: center; padding-top: 36px; padding-bottom: 36px; }

.soc-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.soc-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 16px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.soc-chip:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 5px 14px var(--glow); border-color: var(--accent); }
.soc-chip svg { color: var(--accent); }

/* ── CONTACT ───────────────────────────────── */

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 36px;
  align-items: start;
}

.ct-intro { font-size: 1rem; color: var(--text); line-height: 1.7; margin-bottom: 18px; }

.ct-detail {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; color: var(--text); margin-bottom: 8px;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.ct-detail:hover { color: var(--accent); transform: translateX(4px); }
.ct-detail svg { color: var(--accent); flex-shrink: 0; }

.ct-map { font-size: 0.72rem; font-weight: 700; color: var(--accent); transition: color 0.2s var(--ease); }
.ct-map:hover { color: var(--accent2); }

.ct-form { display: flex; flex-direction: column; gap: 10px; }
.ct-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.ct-in, .ct-ta {
  width: 100%; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text);
  font-family: inherit; font-size: 0.85rem; outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.ct-in::placeholder, .ct-ta::placeholder { color: var(--dim); }
.ct-in:focus, .ct-ta:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--glow); }
.ct-ta { resize: vertical; min-height: 100px; }

.ct-send {
  align-self: flex-start; padding: 11px 28px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 0.82rem;
  border: none; border-radius: 10px; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.ct-send:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 6px 18px var(--glow); background: var(--accent2); }

/* ── FOOTER ────────────────────────────────── */

footer { background: var(--surface); border-top: 1px solid rgba(255,255,255,0.04); }

.ft {
  max-width: 1080px; margin: 0 auto;
  padding: 28px clamp(20px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}

.ft-left { display: flex; align-items: center; gap: 8px; }
.ft-logo { width: 20px; height: 20px; border-radius: 5px; }
.ft-tag { font-size: 0.75rem; color: #5a5a52; }

.ft-icons { display: flex; gap: 7px; }

.ft-icons a {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--radius, 7px);
  background: var(--wb-tint, rgba(255,255,255,0.04)); color: var(--text, #5a5a52);
  transition: color 0.2s var(--ease), background 0.2s var(--ease), transform 0.2s var(--ease);
}

.ft-icons a:hover { color: var(--accent); background: var(--wb-tint, rgba(59,130,246,0.08)); transform: translateY(-2px); }

.ft-copy { font-family: 'Source Code Pro', monospace; font-size: 0.6rem; color: #3a3a34; }

/* ── REVEAL ────────────────────────────────── */
/* Scroll-driven reveal, progressive enhancement only. The resting state is
   FULLY VISIBLE and lives outside every guard — a browser with no scroll
   timeline (or a same-origin preview iframe, where the timeline resolves to
   null) must never strand this content behind a rule-level hidden state.
   The hidden from-state lives ONLY inside @keyframes. Only opacity and
   transform animate — nothing reflows. */
.rv { opacity: 1; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }

    /* 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 the viewport. */
    :is(.sk-grid,.tl,.ed-grid,.dt-grid,.cs-list,.fo-scroll,.sv-grid,.tm-grid,.soc-row)>.rv:nth-child(2) { animation-range: entry 8% entry 46%; }
    :is(.sk-grid,.tl,.ed-grid,.dt-grid,.cs-list,.fo-scroll,.sv-grid,.tm-grid,.soc-row)>.rv:nth-child(3) { animation-range: entry 16% entry 54%; }
    :is(.sk-grid,.tl,.ed-grid,.dt-grid,.cs-list,.fo-scroll,.sv-grid,.tm-grid,.soc-row)>.rv:nth-child(4) { animation-range: entry 24% entry 62%; }
    :is(.sk-grid,.tl,.ed-grid,.dt-grid,.cs-list,.fo-scroll,.sv-grid,.tm-grid,.soc-row)>.rv:nth-child(5) { animation-range: entry 32% entry 70%; }
    :is(.sk-grid,.tl,.ed-grid,.dt-grid,.cs-list,.fo-scroll,.sv-grid,.tm-grid,.soc-row)>.rv:nth-child(n+6) { animation-range: entry 40% entry 78%; }

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

    @keyframes rv-in { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; } }
    @keyframes rv-fill-in { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}

/* ── RESPONSIVE ────────────────────────────── */

@media (max-width: 960px) {
  .cmd-bar { display: none; }
  .mob-bar { display: flex; }

  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-dark { padding: 80px 20px 40px; }
  .hero-dark-inner { max-width: none; margin: 0; text-align: center; }
  .hero-metas { justify-content: center; }
  .btn-cv { margin: 0 auto; }
  .hero-light { padding: 0 20px 40px; }
  .hero-photo-wrap { width: min(260px, 80%); margin: 0 auto; }

  .cs-card { grid-template-columns: 1fr; }
  .cs-card:nth-child(even) { direction: ltr; }
  .cs-media { min-height: 180px; }

  .ct-grid { grid-template-columns: 1fr; gap: 24px; }
  .ct-pair { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .blk { padding: 48px 16px; }
  .sk-grid, .dt-grid, .sv-grid, .tm-grid, .ed-grid { grid-template-columns: 1fr; }
  .fo-card { flex: 0 0 260px; }
  .ft { flex-direction: column; text-align: center; }
}

/* 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; }

/* Palette roles (BrandColourRoles, 2026-10-06): brand-coloured text on a band this theme draws dark keeps a lightness floor; text on a brand fill follows the fill. */
:where(.hero-dark) .hero-title { color: oklch(from var(--accent) max(l, 0.75) c h); }

/* 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 {
  --accent: #256cde; /* was #3b82f6 */
  --dim: #68675f; /* was #74736a */
  --blue-bg: #0032a1; /* was #3b82f6 */
}
.fo-cat { color: oklch(from rgba(255, 255, 255, 0.5) calc(l + 0.07) c h / calc(min(1, alpha + 0.21))); }

/* 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. */
.sk-grp { color: oklch(from var(--accent2) min(l, 0.567) c h / alpha); }
