/* ============================================================
   ABOUT PAGE — Styles
   HtmlColor.Codes · about.css
   ============================================================ */

:root {
  --brand: #e8400a;
  --brand-bg: rgba(232,64,10,.09);
  --brand-border: rgba(232,64,10,.22);
  --bg: #ffffff;
  --bg2: #f7f7f7;
  --bg3: #efefef;
  --border: #e0e0e0;
  --text: #111111;
  --text2: #444444;
  --muted: #777777;
  --card: #ffffff;
  --nav-bg: rgba(255,255,255,.96);
  --shadow: 0 2px 14px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 36px rgba(0,0,0,.13);
  --radius: 12px;
  --radius-lg: 18px;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
  --fs-nav: 16px;
  --fs-body: 21px;
  --fs-small: 16px;
  --fs-h1: 52px;
  --fs-h2: 40px;
  --fs-h3: 26px;
}

html.dark {
  --bg: #111111; --bg2: #1a1a1a; --bg3: #252525;
  --border: #333333; --text: #eeeeee; --text2: #cccccc; --muted: #888888;
  --card: #1a1a1a; --nav-bg: rgba(17,17,17,.96);
  --shadow: 0 2px 14px rgba(0,0,0,.4); --shadow-lg: 0 8px 36px rgba(0,0,0,.6);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  font-size: var(--fs-body);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .25s, color .25s;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--sans); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.15;
  -webkit-font-smoothing: antialiased;
}
code {
  font-family: var(--mono); font-size: .84em;
  background: var(--bg3); padding: 2px 6px;
  border-radius: 4px; color: var(--brand);
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 62px; box-shadow: var(--shadow); gap: 12px;
}
.nav-logo { font-weight: 700; font-size: 1.1rem; letter-spacing: -.5px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav-logo .hash { color: var(--brand); font-size: 1.35rem; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  display: flex; align-items: center; gap: 5px; padding: 6px 11px;
  border-radius: 8px; font-size: var(--fs-nav); font-weight: 600;
  color: var(--text2); transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg3); color: var(--brand); }
.nav-links svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.theme-toggle { display: flex; align-items: center; background: var(--bg3); border: 1.5px solid var(--border); border-radius: 50px; padding: 3px; gap: 2px; }
.tbtn { width: 30px; height: 30px; border-radius: 50px; border: none; background: transparent; cursor: pointer; font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background .2s; color: var(--muted); }
.tbtn.act { background: var(--brand); color: #fff; }

/* ── BREADCRUMB ── */
.breadcrumb { max-width: 1100px; margin: 0 auto; padding: 14px 24px 0; font-size: var(--fs-small); color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.breadcrumb a { color: var(--brand); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ── HERO / INTRO ── */
.about-hero {
  max-width: 1100px; margin: 0 auto;
  padding: 56px 24px 52px;
  display: grid; grid-template-columns: 1fr 320px;
  gap: 60px; align-items: center;
}
.hero-left .badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--brand-bg); color: var(--brand);
  border: 1px solid var(--brand-border); border-radius: 50px;
  padding: 4px 14px; font-size: var(--fs-small); font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; margin-bottom: 18px;
}
.hero-left h1 {
  font-size: var(--fs-h1); font-weight: 700;
  letter-spacing: -.04em; margin-bottom: 20px; line-height: 1.12;
}
.hero-left h1 em { color: var(--brand); font-style: normal; }
.hero-left .lead {
  font-size: var(--fs-body); color: var(--text2);
  line-height: 1.74; margin-bottom: 28px;
}
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--brand); color: white;
  padding: 11px 22px; border-radius: 9px;
  font-weight: 700; font-size: var(--fs-small); font-family: var(--sans);
  transition: opacity .2s, transform .15s; cursor: pointer; border: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-ghost {
  background: transparent; border: 1.5px solid var(--border); color: var(--text2);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); opacity: 1; }

/* Profile card */
.profile-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px;
  box-shadow: var(--shadow-lg); text-align: center;
}
.profile-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #ff8c42 100%);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; font-weight: 700; color: white;
  letter-spacing: -.02em; font-family: var(--sans);
  border: 4px solid var(--bg3);
  flex-shrink: 0;
}
.profile-name { font-size: var(--fs-h3); font-weight: 700; margin-bottom: 4px; }
.profile-title { font-size: var(--fs-small); color: var(--brand); font-weight: 700; margin-bottom: 14px; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 18px; }
.ptag {
  padding: 3px 10px; border-radius: 20px; background: var(--bg3);
  border: 1px solid var(--border); font-size: .72rem; font-weight: 700;
  color: var(--muted); letter-spacing: .04em; text-transform: uppercase;
}
.profile-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pstat {
  background: var(--bg2); border-radius: 9px; padding: 10px 8px; text-align: center;
}
.pstat .n { font-size: 1.3rem; font-weight: 700; color: var(--brand); letter-spacing: -.03em; }
.pstat .l { font-size: .68rem; color: var(--muted); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-top: 2px; }

/* ── DIVIDER ── */
.hr { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ── STORY SECTION ── */
.story-section { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.story-section h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 16px; }
.story-intro { font-size: var(--fs-body); color: var(--text2); max-width: 760px; line-height: 1.75; margin-bottom: 40px; }

.story-timeline { display: flex; flex-direction: column; gap: 0; position: relative; }
.story-timeline::before {
  content: ''; position: absolute; left: 23px; top: 0; bottom: 0;
  width: 2px; background: var(--border);
}
.timeline-item { display: flex; gap: 22px; padding-bottom: 36px; position: relative; }
.timeline-item:last-child { padding-bottom: 0; }
.tl-dot {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--brand-bg); border: 2px solid var(--brand-border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.2rem; z-index: 1;
  background: var(--card);
}
.tl-dot.active { background: var(--brand); border-color: var(--brand); }
.tl-dot.active span { filter: brightness(10); }
.tl-body { flex: 1; padding-top: 6px; }
.tl-label { font-size: .72rem; font-weight: 700; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 4px; }
.tl-body h3 { font-size: var(--fs-body); font-weight: 700; margin-bottom: 8px; }
.tl-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.68; }

/* ── MISSION SECTION ── */
.mission-section {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 60px 24px;
}
.mission-inner { max-width: 1100px; margin: 0 auto; }
.mission-inner h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 16px; }
.mission-inner .lead { font-size: var(--fs-body); color: var(--text2); max-width: 760px; line-height: 1.75; margin-bottom: 40px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.val-icon { font-size: 1.8rem; margin-bottom: 12px; }
.value-card h3 { font-size: var(--fs-body); font-weight: 700; margin-bottom: 7px; }
.value-card p { font-size: var(--fs-small); color: var(--muted); line-height: 1.65; }

/* ── SKILLS / EXPERTISE ── */
.skills-section { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.skills-section h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 16px; }
.skills-intro { font-size: var(--fs-body); color: var(--text2); max-width: 760px; line-height: 1.75; margin-bottom: 36px; }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.skill-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.skill-card h3 { font-size: var(--fs-nav); font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.skill-card h3 span { font-size: 1.1rem; }
.skill-bar-wrap { display: flex; flex-direction: column; gap: 9px; }
.skill-row { display: flex; flex-direction: column; gap: 4px; }
.skill-meta { display: flex; justify-content: space-between; font-size: var(--fs-small); }
.skill-name { font-weight: 600; color: var(--text2); }
.skill-pct { font-weight: 700; color: var(--brand); font-family: var(--mono); font-size: .8rem; }
.skill-track { height: 6px; background: var(--bg3); border-radius: 3px; overflow: hidden; }
.skill-fill { height: 100%; border-radius: 3px; background: var(--brand); transition: width 1s ease; }

/* ── TOOLS WE USE ── */
.tools-section { max-width: 1100px; margin: 0 auto; padding: 0 24px 60px; }
.tools-section h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 16px; }
.tools-intro { font-size: var(--fs-body); color: var(--text2); max-width: 760px; line-height: 1.75; margin-bottom: 32px; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.tool-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px;
  text-align: center; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.tool-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tool-icon { font-size: 1.6rem; margin-bottom: 7px; }
.tool-name { font-size: var(--fs-small); font-weight: 700; color: var(--text); }
.tool-cat { font-size: .68rem; color: var(--muted); margin-top: 2px; font-weight: 600; letter-spacing: .04em; }

/* ── WHAT WE BUILT ── */
.built-section {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 60px 24px;
}
.built-inner { max-width: 1100px; margin: 0 auto; }
.built-inner h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 16px; }
.built-inner .lead { font-size: var(--fs-body); color: var(--text2); max-width: 760px; line-height: 1.75; margin-bottom: 36px; }
.built-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.built-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
  display: flex; gap: 14px; align-items: flex-start;
  transition: transform .2s, box-shadow .2s;
}
.built-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.built-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--brand-bg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.built-icon svg { width: 20px; height: 20px; stroke: var(--brand); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.built-body h3 { font-size: var(--fs-nav); font-weight: 700; margin-bottom: 5px; }
.built-body p { font-size: var(--fs-small); color: var(--muted); line-height: 1.6; }

/* ── SITE STATS ── */
.stats-band { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg2); }
.stats-inner { max-width: 1100px; margin: 0 auto; padding: 44px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.stat-item { text-align: center; padding: 0 24px; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-item .n { font-size: 2rem; font-weight: 700; color: var(--brand); letter-spacing: -.04em; }
.stat-item .l { font-size: var(--fs-small); color: var(--muted); font-weight: 600; margin-top: 3px; }

/* ── PROSE ── */
.prose-section { max-width: 1100px; margin: 0 auto; padding: 60px 24px; }
.prose { max-width: 820px; }
.prose h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; margin-bottom: 14px; margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--fs-body); font-weight: 700; margin: 28px 0 8px; color: var(--brand); }
.prose p { font-size: var(--fs-body); color: var(--text2); margin-bottom: 16px; line-height: 1.79; }
.prose ul,.prose ol { font-size: var(--fs-body); color: var(--text2); padding-left: 22px; line-height: 1.82; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose strong { color: var(--text); font-weight: 700; }
.callout {
  background: var(--brand-bg); border-left: 4px solid var(--brand);
  border-radius: 0 9px 9px 0; padding: 16px 20px; margin: 22px 0;
  font-size: var(--fs-body); color: var(--text2); line-height: 1.72;
}
.callout strong { color: var(--brand); }

/* ── CONTACT / CTA ── */
.cta-section {
  background: var(--brand); padding: 60px 24px; text-align: center;
}
.cta-inner { max-width: 640px; margin: 0 auto; }
.cta-inner h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -.04em; color: white; margin-bottom: 14px; }
.cta-inner p { font-size: var(--fs-body); color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.btn-white { background: white; color: var(--brand); border: none; }
.btn-white:hover { opacity: .92; }
.btn-outline-white { background: transparent; border: 2px solid rgba(255,255,255,.5); color: white; }
.btn-outline-white:hover { border-color: white; opacity: 1; }

/* ── FOOTER ── */
.ft-wrap { border-top: 1px solid var(--border); background: var(--bg2); }
footer { padding: 44px 24px 28px; max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
footer h4 { font-size: var(--fs-small); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 7px; }
footer ul li a { font-size: var(--fs-small); color: var(--muted); transition: color .15s; font-weight: 500; }
footer ul li a:hover { color: var(--brand); }
.ft-brand p { font-size: var(--fs-small); color: var(--muted); margin-top: 7px; max-width: 210px; line-height: 1.55; }
.ft-bottom { border-top: 1px solid var(--border); padding: 16px 24px; text-align: center; font-size: var(--fs-small); color: var(--muted); max-width: 1100px; margin: 0 auto; }

/* ── AD SLOT ── */
.ad-slot { max-width: 1100px; margin: 40px auto; padding: 0 24px; text-align: center; }
.ad-slot-inner { min-height: 90px; background: var(--bg2); border: 1px dashed var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: var(--fs-small); color: var(--muted); }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .profile-card { max-width: 360px; }
  .nav-links { display: none; }
  :root { --fs-h1: 36px; --fs-h2: 28px; --fs-body: 18px; }
}
@media (max-width: 560px) {
  nav { padding: 0 16px; }
  .about-hero { padding: 36px 16px 32px; }
  .prose-section,.story-section,.skills-section,.tools-section { padding: 44px 16px; }
  .stat-item { border-right: none; padding: 12px; }
  :root { --fs-h1: 30px; --fs-h2: 24px; }
}