/* Pythonic Shariful — main stylesheet
   Orange theme (redesigned 2026-12-03 from Shariful's portrait): the
   page background IS the photo's vivid orange #F96A06 (in place of the
   old white), with near-black #14100C surfaces echoing the coat — black
   cards, black header pill, black buttons with warm-white text on orange;
   bright orange #FF8A3D accents on the black surfaces, amber #FFB347.
   Fonts: Plus Jakarta Sans / JetBrains Mono (mono for eyebrow labels only).
   Checklist (ui-ux-pro-max): contrast 4.5:1 for body text, visible focus,
   prefers-reduced-motion respected, responsive 375/768/1024/1440, SVG icons
   only (no emoji icons). Text on orange is near-black #14100C (~7:1);
   text on black surfaces is warm white #F7F1E9. */
:root {
  --bg: #F96A06;
  --bg-2: #E85A09;
  --surface: #14100C;
  --surface-2: #241C15;
  --ink: #14100C;
  --ink-deep: #0A0806;
  --ink-dark: #120E0B;
  --on-dark: #F7F1E9;
  --body: #2E1D10;
  --body-2: #3D2410;
  --accent: #FF8A3D;
  --accent-dark: #F96A06;
  --accent-bright: #FFB347;
  --amber: #FFB347;
  --accent-deep: #E85A09;
  --accent-text: #FF8A3D;
  --tint: #2A1A10;
  --tint-soft: #221610;
  --border: #3A2C20;
  --border-strong: #4A3626;
  --danger: #F87171;
  --radius: 20px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(20, 16, 12, .25), 0 4px 16px rgba(20, 16, 12, .25);
  --shadow-md: 0 8px 30px rgba(20, 16, 12, .30);
  --shadow-lg: 0 18px 48px rgba(20, 16, 12, .35);
  --transition: 200ms ease;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(1000px 520px at 50% -10%, rgba(255, 179, 71, .5), transparent 60%), var(--bg);
  color: var(--body);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.7;
  overflow-x: hidden;
}
img, canvas, video { max-width: 100%; }
a { color: #14100C; text-decoration: none; transition: color var(--transition); }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, details:focus-visible {
  outline: 3px solid #FFF7ED; outline-offset: 2px;
}
h1, h2, h3 { color: var(--ink); line-height: 1.12; margin: 0 0 .6rem; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.05; }
h2 { font-size: clamp(1.85rem, 4vw, 2.75rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.muted { color: var(--body-2); }
.small { font-size: .875rem; }
.mono { font-family: var(--font-mono); font-size: .85rem; }
.lead { font-size: 1.15rem; color: var(--body); max-width: 62ch; }
.center { text-align: center; }
.mt { margin-top: 1.5rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: #14100C; color: #FF8A3D; padding: .6rem 1rem; z-index: 100; border-radius: 0 0 12px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* Eyebrow — mono pill label (bright orange on dark, meets 4.5:1) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text);
  background: var(--tint); border-radius: 999px; padding: .45rem 1rem; margin-bottom: 1.25rem;
}
.eyebrow--dark { background: rgba(249, 106, 6, .14); color: var(--amber); }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Buttons — fully rounded pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.7rem; border-radius: 999px; cursor: pointer;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700;
  border: 1px solid transparent; transition: background var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: #14100C; color: #FFF7ED; box-shadow: 0 6px 16px rgba(20, 16, 12, .35); }
.btn-primary:hover { background: #000; }
.btn-gradient { background: linear-gradient(90deg, #14100C, #2A1A10); color: #FFF7ED; box-shadow: 0 8px 20px rgba(20, 16, 12, .35); }
.btn-gradient:hover { filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); box-shadow: none; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: rgba(20, 16, 12, .06); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-small { min-height: 40px; padding: .45rem 1.1rem; font-size: .92rem; }
.btn-block { width: 100%; }

/* Header — floating sticky centred pill bar */
.site-header { position: sticky; top: 0; z-index: 50; padding: 20px 16px 0; }
.header-pill {
  max-width: 1140px; margin: 0 auto; position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 64px; padding: 8px 10px 8px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  box-shadow: 0 10px 32px rgba(33, 61, 99, .10);
}
.brand { display: flex; align-items: center; gap: .6rem; color: var(--on-dark); font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-accent { color: var(--accent); }
.brand-avatar {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--tint); border: 1px solid var(--border);
}
.brand-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.nav-toggle { display: none; background: var(--tint-soft); border: 1px solid var(--border); border-radius: 50%; color: var(--on-dark); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }
.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a { color: var(--on-dark); font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.active { color: var(--accent); }
.nav-cta { color: #14100C !important; min-height: 44px; padding: .5rem 1.3rem; }
.nav-cta:hover { color: #14100C !important; }

/* Hero — centred, text-only, dotted grid + floating decor */
.hero { position: relative; overflow: hidden; padding: 5rem 0 3.5rem; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(20, 16, 12, .16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 82%);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 900px; margin: 0 auto 1.25rem; }
.hero-sub { font-size: 1.15rem; color: var(--body); max-width: 700px; margin: 0 auto 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin: 0 0 2rem; }
.hero-deco { position: absolute; z-index: 0; pointer-events: none; }
.hero-deco--diamond {
  width: 16px; height: 16px; border: 2px solid rgba(20, 16, 12, .55);
  transform: rotate(45deg); border-radius: 3px;
}
.hero-deco--circle { width: 22px; height: 22px; border: 2px solid rgba(255, 247, 237, .65); border-radius: 50%; }
.hero-deco--d1 { top: 22%; left: 7%; }
.hero-deco--d2 { top: 30%; right: 8%; }
.hero-deco--d3 { bottom: 24%; left: 12%; }
.hero-deco--d4 { bottom: 32%; right: 11%; }
/* Trust pills — small social pills under the hero CTAs */
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.trust-row a {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px;
  padding: .45rem 1.05rem; border: 1px solid var(--border); border-radius: 999px;
  background: var(--surface); color: var(--on-dark); font-size: .92rem; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: border-color var(--transition), color var(--transition);
}
.trust-row a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.trust-row svg { flex-shrink: 0; color: var(--accent-text); }
.trust-row a:hover svg { color: var(--accent); }
/* Gradient headline line — slowly shifting gradient */
.grad-text { background: linear-gradient(90deg, #FFFFFF, #FFD9B3, #FFFFFF); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: grad-shift 6s linear infinite; }
@keyframes grad-shift { to { background-position: 200% center; } }
/* Soft drifting orbs behind the hero */
.hero-orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); opacity: .45; pointer-events: none; animation: orb-drift 14s ease-in-out infinite alternate; }
.hero-orb--orange { width: 340px; height: 340px; background: rgba(20, 16, 12, .30); top: -80px; left: -60px; }
.hero-orb--amber { width: 300px; height: 300px; background: rgba(255, 179, 71, .45); bottom: -40px; right: -40px; animation-duration: 18s; animation-delay: -6s; }
@keyframes orb-drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
/* Split hero — copy left, portrait photo right (desktop) */
.hero-split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center; text-align: left; max-width: 1180px; margin: 0 auto; }
.hero-split h1 { font-size: clamp(2.4rem, 4.2vw, 3.5rem); margin-left: 0; margin-right: 0; }
.hero-split .hero-sub { margin-left: 0; margin-right: 0; }
.hero-split .hero-ctas, .hero-split .proof-row, .hero-split .trust-row { justify-content: flex-start; }
.hero-photo { margin: 0; text-align: center; }
.hero-photo img { width: 100%; max-width: 440px; height: auto; border-radius: 24px; box-shadow: 0 24px 60px rgba(20, 16, 12, .45), var(--shadow-lg); border: 4px solid #14100C; animation: float-y 6s ease-in-out infinite; }
@media (max-width: 1023px) {
  .hero-split { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .hero-split h1, .hero-split .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-split .hero-ctas, .hero-split .proof-row, .hero-split .trust-row { justify-content: center; }
  .hero-photo img { max-width: 340px; }
}
/* Hero visual — browser-frame terminal + floating proof cards */
.hero-visual { position: relative; max-width: 860px; margin: 2rem auto 0; text-align: left; }
.browser-frame { background: #120E0B; border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: .45rem; padding: .65rem 1rem; background: rgba(255, 255, 255, .05); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.browser-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.browser-dot:nth-child(1) { background: #F87171; }
.browser-dot:nth-child(2) { background: #FBBF24; }
.browser-dot:nth-child(3) { background: #34D399; }
.browser-url { margin-left: auto; font-family: var(--font-mono); font-size: .75rem; color: #8A7F72; }
.term-body { padding: 1.1rem 1.3rem 1.25rem; font-family: var(--font-mono); font-size: .88rem; line-height: 1.9; color: #D8CFC4; }
.term-body p { margin: 0; }
.term-cmd { color: #fff; font-weight: 600; }
.term-ok { color: #FF8A3D; font-weight: 700; }
.term-cursor { display: inline-block; width: 9px; height: 1.05em; background: #FF8A3D; vertical-align: text-bottom; animation: term-blink 1.1s steps(2, start) infinite; }
@keyframes term-blink { 50% { opacity: 0; } }
.float-card { position: absolute; display: flex; align-items: center; gap: .6rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: .65rem .9rem; box-shadow: var(--shadow-md); color: var(--on-dark); animation: float-y 5s ease-in-out infinite; }
.float-card svg { flex-shrink: 0; color: var(--accent-text); }
.float-card strong { display: block; font-size: .88rem; line-height: 1.25; }
.float-card span { display: block; font-size: .78rem; color: #C9BFB4; font-weight: 400; }
.float-card--left { top: 18px; left: -72px; }
.float-card--right { right: -72px; bottom: 26px; animation-delay: 2.5s; }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* Floating tool chips around the terminal */
.hero-chip { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: .45rem; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .45rem .9rem; font-size: .85rem; font-weight: 700; color: var(--on-dark); box-shadow: var(--shadow-md); animation: float-y 6s ease-in-out infinite; }
.hero-chip .dot { width: 9px; height: 9px; border-radius: 50%; }
.hero-chip--py { top: -16px; left: 6%; }
.hero-chip--py .dot { background: #3776AB; }
.hero-chip--tg { bottom: -16px; right: 8%; animation-delay: 3s; }
.hero-chip--tg .dot { background: #229ED9; }
@media (max-width: 1199px) { .float-card, .hero-chip { display: none; } }

/* Stats band — count-up numbers */
.stats-band { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; }
.stats-grid > div { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 1rem; }
.stats-grid > div + div { border-left: 1px solid var(--border); }
.stat-num-wrap { font-size: clamp(2.75rem, 6vw, 3.75rem); font-weight: 800; color: var(--on-dark); line-height: 1; letter-spacing: -.02em; }
.stat-suffix { color: var(--accent); }
.stat-label { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #A89C8E; margin-top: .6rem; }

/* Sections */
.section { padding: 6.5rem 0; }
.section-alt { background: #14100D; }
.section-head { margin-bottom: 3rem; max-width: 720px; }
.section-head--center { margin: 0 auto 3rem; text-align: center; }
.section-head--center .lead { margin: 0 auto; }
.section-head .lead { margin-bottom: 0; }
.page-head { padding: 5rem 0 1rem; text-align: center; }
.page-head .lead { margin: 0 auto; }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.25rem); }
.page-head .tags { justify-content: center; }
.page-head .hero-ctas { justify-content: center; }
.page-head .about-head-grid { text-align: left; }
.card h2 { font-size: 1.35rem; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 a, .card h2 a { color: var(--on-dark); }
.card h3 a:hover, .card h2 a:hover { color: var(--accent); text-decoration: none; }
.card-tag {
  display: inline-block; align-self: flex-start; font-family: var(--font-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
  background: var(--tint); border-radius: 999px; padding: .3rem .75rem; margin-bottom: .9rem;
}
.card-link { font-weight: 700; color: var(--accent); display: inline-block; margin-top: .5rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin: .8rem 0; }
.tag {
  background: #241C15; border: 1px solid var(--border); border-radius: 999px;
  padding: .25rem .75rem; font-size: .78rem; font-family: var(--font-mono); color: #C9BFB4;
}
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .55rem 1.15rem; border-radius: 999px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--on-dark); font-weight: 600; font-size: .92rem;
  min-height: 44px; display: inline-flex; align-items: center;
}
.filter-btn:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: #FFF7ED; color: #14100C; border-color: #FFF7ED; }

/* About / story */
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.story-photo { margin: 0 12px 12px 0; position: relative; }
.story-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(12px, 12px);
  background: #14100C; border-radius: var(--radius-lg); z-index: 0;
}
.story-photo img {
  position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; object-position: 50% 20%; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about-head-grid { display: grid; grid-template-columns: 300px 1fr; gap: 3rem; align-items: start; }
.about-photo { margin: 0 12px 12px 0; position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(12px, 12px);
  background: #14100C; border-radius: var(--radius-lg); z-index: 0;
}
.about-photo img {
  position: relative; z-index: 1; width: 100%; max-width: 300px; height: auto; aspect-ratio: 1; object-fit: cover; object-position: 50% 20%; display: block;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}



.mini-stats { display: flex; flex-wrap: wrap; gap: 2.5rem; margin: 1.75rem 0; }
.mini-stat-num { display: block; font-size: 1.9rem; font-weight: 800; color: var(--ink); line-height: 1.1; }
.mini-stat-label { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--body-2); }

/* Service icon — orange gradient square */
.svc-icon-box {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, #F96A06, #C2410C);
  color: #fff; box-shadow: 0 8px 18px rgba(249, 106, 6, .35);
}
.svc-icon-box .svc-icon { margin-bottom: 0; color: #fff; }
.svc-icon { color: var(--accent-text); margin-bottom: .75rem; display: block; }

/* Tools marquee */
.tools-section { padding: 3.5rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); overflow: hidden; }
.tools-label { text-align: center; font-family: var(--font-mono); font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #A89C8E; margin-bottom: 1.75rem; }
.tools-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.tools-track { display: flex; gap: .9rem; width: max-content; animation: marquee 32s linear infinite; }
.tools-marquee:hover .tools-track { animation-play-state: paused; }
.tool-chip {
  display: inline-flex; align-items: center; min-height: 48px; padding: .6rem 1.3rem;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  color: var(--on-dark); font-weight: 700; font-size: .95rem; white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.tool-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: .6rem; flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Process section — deeper black panel on the dark theme */
.section--dark {
  background: var(--ink-deep); color: #E6EDF5; position: relative; overflow: hidden;
}
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 26px 26px;
}
.section--dark .container { position: relative; z-index: 1; }
.section--dark h2 { color: #fff; }
.section--dark .lead { color: rgba(230, 237, 245, .75); }
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.process li {
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 1.75rem;
}
.process-num { color: var(--amber); font-weight: 700; font-size: 1.1rem; font-family: var(--font-mono); }
.process h3 { color: #fff; margin-top: .5rem; }
.process .muted { color: rgba(230, 237, 245, .72); }
.process-get { margin: .75rem 0 0; font-size: .95rem; color: #E6EDF5; }
.process-get strong { color: var(--amber); font-weight: 700; }

/* Featured work grid */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.work-grid .card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-grid .card-body { padding: 1.75rem; display: flex; flex-direction: column; flex: 1; }
.work-grid .card-body .muted { flex: 1; }
.work-more {
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
  background: linear-gradient(135deg, var(--tint-soft), var(--tint));
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 2rem; color: var(--on-dark); min-height: 200px;
  transition: border-color var(--transition), transform var(--transition);
}
.work-more:hover { border-color: var(--accent); transform: translateY(-3px); text-decoration: none; }
.work-more-num { font-size: 2.4rem; font-weight: 800; font-family: var(--font-mono); color: var(--accent-text); line-height: 1; }
.work-more-text { color: #C9BFB4; }
.work-more-link { font-weight: 700; color: var(--accent); }

/* Project visuals — dark terminal/dashboard mockups */
.pv { background: var(--ink-dark); border: 1px solid #3A2C20; border-radius: 14px; overflow: hidden; font-size: .88rem; color: #D8CFC4; }
.pv-bar { display: flex; align-items: center; gap: .4rem; padding: .6rem .85rem; background: #1D150E; border-bottom: 1px solid #3A2C20; }
.pv-dot { width: 10px; height: 10px; border-radius: 50%; background: #4A3626; flex-shrink: 0; }
.pv-dot:first-child { background: #F87171; }
.pv-dot:nth-child(3) { background: var(--amber); }
.pv-title { color: #8A7F72; margin-left: .4rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-body { padding: .95rem 1.05rem; }
.pv-term p { margin: 0 0 .35rem; font-family: var(--font-mono); font-size: .85rem; line-height: 1.55; color: #D8CFC4; }
.pv-term p:last-child { margin-bottom: 0; }
.pv-prompt { color: var(--amber); font-weight: 600; }
.pv-ok { color: var(--amber); font-weight: 700; }
.pv-warn { color: #F87171; font-weight: 700; }
.pv-dim { color: #8A7F72; }
.pv-kw { color: var(--amber); }
.pv-row { display: flex; align-items: center; gap: .7rem; padding: .45rem 0; }
.pv-row-label { font-weight: 600; min-width: 74px; font-size: .88rem; flex-shrink: 0; color: #D8CFC4; }
.pv-meter { flex: 1; min-width: 40px; height: 8px; background: #3A2C20; border-radius: 999px; overflow: hidden; }
.pv-meter span { display: block; height: 100%; background: var(--amber); border-radius: 999px; }
.pv-chip { font-family: var(--font-mono); font-size: .75rem; background: #1D150E; border: 1px solid #3A2C20; border-radius: 999px; padding: .15rem .6rem; white-space: nowrap; color: #D8CFC4; }
.pv-chip--ok { border-color: var(--amber); color: var(--amber); }
.pv-chip--warn { border-color: #F87171; }
.pv-foot { margin: .6rem 0 0; font-size: .78rem; color: #8A7F72; font-family: var(--font-mono); }
.pv-chat { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; margin-top: .7rem; }
.pv-chat-q { background: #1D150E; border: 1px solid #3A2C20; border-radius: 10px 10px 10px 2px; padding: .4rem .7rem; }
.pv-chat-a { align-self: flex-end; background: rgba(249, 106, 6, .14); border: 1px solid var(--amber); border-radius: 10px 10px 2px 10px; padding: .4rem .7rem; font-size: .8rem; }
p.pv-chat { font-family: var(--font-sans); font-size: .85rem; }
/* Visual bleeds to the top edge of its card */
.card-grid .card > .pv:first-child {
  margin: -2rem -2rem 1.5rem; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-width: 0 0 1px; border-color: #3A2C20;
}
.work-grid .card .pv { border-radius: 0; }
.card .pv--phone { border: none; border-bottom: 1px solid #3A2C20; background: var(--ink-dark); }
/* Phone-frame visual */
.pv--phone { background: var(--ink-dark); border: none; display: flex; justify-content: center; padding: .75rem 0; }
.pv-phone { width: 220px; background: var(--ink-dark); border: 1px solid #3A2C20; border-radius: 22px; padding: .9rem .9rem 1rem; box-shadow: 0 12px 28px rgba(0, 0, 0, .35); }
.pv-notch { width: 64px; height: 6px; border-radius: 999px; background: #3A2C20; margin: 0 auto .8rem; }
.pv-phone-title { font-weight: 700; margin: 0 0 .6rem; color: #fff; }
.pv-push { display: flex; gap: .5rem; align-items: center; background: #1D150E; border: 1px solid #3A2C20; border-radius: 10px; padding: .5rem .6rem; font-size: .82rem; margin-bottom: .7rem; color: #D8CFC4; }
.pv-push-tag { color: var(--amber); font-size: .7rem; }
/* Large visual on the project detail page */
.detail-visual { margin: 2rem 0 0; }
.pv--large .pv-body { padding: 1.25rem 1.4rem; font-size: 1rem; }
.pv--large .pv-term p { font-size: .92rem; }

/* FAQ accordion (native details/summary — works without JS, keyboard accessible) */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; margin-bottom: .75rem; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.25rem 1.5rem;
  font-weight: 700; font-size: 1.05rem; color: var(--on-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-chevron { flex-shrink: 0; color: var(--accent-text); transition: transform var(--transition); }
.faq-item[open ] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.35rem; color: #C9BFB4; }
.faq-answer p { margin: 0; }

/* Final CTA card — two columns, form on the right */
.cta-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px;
  box-shadow: var(--shadow-lg); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.cta-identity { margin: 1.5rem 0; }
.cta-identity-name { font-weight: 800; color: var(--on-dark); line-height: 1.3; }
.cta-identity-role { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #A89C8E; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .45rem 0; color: var(--ink); font-weight: 600; }
.check-list li svg { flex-shrink: 0; margin-top: .25rem; color: var(--accent); }

/* Timeline / split / skills (About page) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 2px solid #14100C; }
.timeline li { margin-bottom: 1.75rem; }
.timeline .mono { color: #14100C; font-weight: 600; }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 1.5rem; }
.skill { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.skill-head { display: flex; justify-content: space-between; font-weight: 700; color: var(--on-dark); margin-bottom: .5rem; }
.skill-bar { height: 8px; background: var(--tint); border-radius: 999px; overflow: hidden; }
.skill-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--amber)); border-radius: 999px; }
.skill p { margin: .5rem 0 0; color: #C9BFB4; }

/* Legacy CTA box (Services page) */
.cta-section { padding-top: 1rem; }
.cta-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.cta-box h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-box .hero-ctas { justify-content: center; margin-bottom: 0; }

/* Footer — dark gradient panel, rounded top corners */
.site-footer {
  background: linear-gradient(100deg, #080605 0%, #1A0E05 55%, #7C2D12 100%);
  color: rgba(255, 255, 255, .82);
  border-radius: 32px 32px 0 0;
  padding: 4rem 0 1.5rem; margin-top: 0;
}
.footer-tagline {
  font-family: var(--font-mono); font-size: .75rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase; color: var(--amber); margin-bottom: 2rem;
}
.site-footer .muted { color: rgba(255, 255, 255, .75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.5rem; }
.footer-brand { font-weight: 800; font-size: 1.25rem; color: #fff; }
.footer-heading { font-weight: 700; color: #fff; margin-bottom: .75rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .75); }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2.5rem; padding-top: 1.25rem;
  color: rgba(255, 255, 255, .85); font-size: .9rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }

/* Forms */
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.cta-card .form { border: none; box-shadow: none; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 700; color: var(--on-dark); margin-bottom: .35rem; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; border-radius: 12px;
  background: #241C15; color: var(--on-dark);
  border: 1px solid var(--border-strong); font-family: var(--font-sans); font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(249, 106, 6, .18); }
.field-error { color: var(--danger); font-size: .9rem; margin: .3rem 0 0; }
/* Honeypot: visually hidden via clipping (off-screen left:-9999px would
   expand the document's scrollable width and cause horizontal scroll). */
.hp-field { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.success-box { background: var(--surface); border: 1px solid var(--accent); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-alt { margin-top: 1.5rem; }
.contact-alt strong { color: var(--ink); }
.prose p { font-size: 1.1rem; color: var(--body); }

/* Flash */
.flash-wrap { padding-top: 1rem; }
.flash { border-radius: 12px; padding: .8rem 1rem; margin-bottom: .75rem; border: 1px solid var(--border); background: var(--surface); }
.flash-success { border-color: var(--accent); background: var(--tint-soft); color: var(--accent-text); }
.flash-error { border-color: var(--danger); background: #2A1210; color: #FCA5A5; }
.flash-warning { border-color: #D97706; background: #2A1E10; color: #FCD34D; }

/* Reveal animation — gated on .js so content is visible with JS disabled */
.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 300ms ease, transform 300ms ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* Responsive — breakpoints 375 / 768 / 1024 / 1440 */
@media (max-width: 1024px) {
  .card-grid, .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .cta-card { grid-template-columns: 1fr; gap: 2rem; padding: 2.25rem; }
  .story-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .hero { padding: 4.5rem 0 3.5rem; }
  .hero-deco { display: none; }
  .about-head-grid { grid-template-columns: 1fr; gap: 1.75rem; }
  .about-photo img { max-width: 240px; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
    box-shadow: var(--shadow-md); padding: .75rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .7rem 0; border-bottom: 1px solid var(--border); }
  .site-nav a.nav-cta { border-bottom: none; margin-top: .75rem; justify-content: center; }
  .card-grid, .skills-grid, .work-grid, .process, .split, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .cta-box { padding: 1.75rem 1.25rem; }
  .cta-card { padding: 1.75rem 1.25rem; }
  .stats-grid { gap: .6rem; }
  .stat-num-wrap { font-size: 2.25rem; }
  .site-footer { padding: 3rem 0 1.5rem; }
}
@media (max-width: 375px) {
  .hero-ctas .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .stats-grid > div + div { border-left: none; border-top: 1px solid var(--border); padding-top: 1.5rem; }
  .trust-row a { font-size: .85rem; }
  .container { padding: 0 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .tools-track { animation: none; }
}

/* Orange theme — text on black surfaces (cards, forms, FAQ, black sections) */
.card h2, .card h3 { color: var(--on-dark); }
.card p, .cta-card .muted, .cta-box .muted, .form .muted, .skill .muted, .success-box p { color: #C9BFB4; }
.section-alt h2 { color: var(--on-dark); }
.section-alt .lead { color: #C9BFB4; }
.cta-box h2 { color: var(--on-dark); }
.cta-box .lead { color: #C9BFB4; }
.cta-box .btn-primary { background: var(--accent); color: #14100C; }
.cta-box .btn-primary:hover { background: var(--accent-bright); }
.form .btn-primary { background: var(--accent); color: #14100C; box-shadow: 0 6px 16px rgba(249, 106, 6, .35); }
.form .btn-primary:hover { background: var(--accent-bright); }
.site-nav a.nav-cta { background: var(--accent) !important; color: #14100C !important; }
.site-nav a.nav-cta:hover { background: var(--accent-bright) !important; color: #14100C !important; }
.cta-card .check-list li { color: var(--on-dark); }
.split .check-list li svg { color: #14100C; }
.success-box h2 { color: var(--on-dark); }
/* About social row — was unstyled; black pills like the hero trust pills */
.social-row { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.social-row a { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .45rem 1.05rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--on-dark); font-size: .92rem; font-weight: 600; }
.social-row a:hover { border-color: var(--accent); color: var(--accent); }
.social-row svg { width: 16px; height: 16px; color: var(--accent-text); flex-shrink: 0; }

/* Subtle motion — smooth in-page scroll + hover lifts (2026-12-03) */
html { scroll-behavior: smooth; }
.hero-photo { transition: transform 400ms ease; }
.hero-photo.reveal.visible:hover { transform: translateY(-6px); }
.hero-photo img { transition: box-shadow 400ms ease; }
.hero-photo:hover img { box-shadow: 0 32px 70px rgba(20, 16, 12, .5), var(--shadow-lg); }
.story-photo img, .about-photo img { transition: transform 400ms ease, box-shadow 400ms ease; }
.story-photo img:hover, .about-photo img:hover { transform: scale(1.02); }

/* UI audit fixes (2026-12-03) — 44px minimum tap targets on links */
.card-link { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
