/* ============================================================
   Pitch package — shared design system
   Cravely aesthetic: minimal B&W, Plus Jakarta Sans,
   generous whitespace, rounded cards, orange accent only
   for active states.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Colors — LIGHT mode */
  --bg:           #FAFAFA;   /* page background */
  --card:         #FFFFFF;   /* cards, content blocks */
  --card-soft:    #F2F2F2;   /* secondary cards, fields, totals row */
  --ink:          #000000;   /* primary text, CTAs */
  --ink-soft:     #1A1A1A;   /* body text */
  --gray-1:       #6B7280;   /* secondary text */
  --gray-2:       #9CA3AF;   /* subtitle, placeholder, meta */
  --gray-3:       #D1D5DB;   /* borders, dividers */
  --gray-4:       #E5E7EB;   /* faint borders */
  --accent:       #FF8C00;   /* active state only — sparing */
  --accent-soft:  #FFF1DD;
  --red:          #EF4444;   /* destructive (delete) */
  --shadow-card:  0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-nav:   0 -4px 20px rgba(0, 0, 0, 0.10);
  --shadow-strong:0 8px 32px rgba(0, 0, 0, 0.12);
  /* Inverse — text on ink-colored backgrounds (CTAs, dark cards) */
  --on-ink:       #FFFFFF;
  --on-ink-soft:  rgba(255, 255, 255, 0.85);
  --on-ink-muted: rgba(255, 255, 255, 0.70);
  --on-ink-dim:   rgba(255, 255, 255, 0.60);
  --on-ink-low:   rgba(255, 255, 255, 0.50);
  --on-ink-faint: rgba(255, 255, 255, 0.15);

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Radii */
  --r-sm:   8px;
  --r-md:   12px;
  --r-lg:   16px;
  --r-xl:   20px;
  --r-2xl:  24px;
  --r-pill: 999px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 56px;
  --s-10: 72px;
  --s-11: 96px;
}

[data-theme="dark"] {
  /* Colors — DARK mode */
  --bg:           #0A0A0A;
  --card:         #161616;
  --card-soft:    #1F1F1F;
  --ink:          #FFFFFF;
  --ink-soft:     #F5F5F5;
  --gray-1:       #A1A1AA;
  --gray-2:       #71717A;
  --gray-3:       #3F3F46;
  --gray-4:       #27272A;
  --accent:       #FF9F2E;
  --accent-soft:  rgba(255, 159, 46, 0.12);
  --shadow-card:  0 2px 8px rgba(0, 0, 0, 0.50);
  --shadow-nav:   0 -4px 20px rgba(0, 0, 0, 0.60);
  --shadow-strong:0 8px 32px rgba(0, 0, 0, 0.65);
  --on-ink:       #0A0A0A;
  --on-ink-soft:  rgba(0, 0, 0, 0.85);
  --on-ink-muted: rgba(0, 0, 0, 0.70);
  --on-ink-dim:   rgba(0, 0, 0, 0.60);
  --on-ink-low:   rgba(0, 0, 0, 0.50);
  --on-ink-faint: rgba(0, 0, 0, 0.15);
}

body { transition: background-color 0.25s ease, color 0.25s ease; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; }

/* ---------- Base ---------- */
html { font-size: 16px; }
body {
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ---------- Page layout ---------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--s-11) var(--s-7) var(--s-11);
}
@media (max-width: 720px) {
  .page { padding: var(--s-9) var(--s-5) var(--s-9); }
}

/* ---------- Header ---------- */
.name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.75rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.role-line {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-1);
  margin-top: var(--s-3);
}
.contact-line {
  font-size: 0.875rem;
  color: var(--gray-1);
  margin-top: var(--s-4);
  line-height: 1.75;
}
.contact-line .sep {
  margin: 0 var(--s-2);
  color: var(--gray-3);
}
.contact-line a {
  color: var(--ink-soft);
  font-weight: 500;
  transition: color 0.15s;
}
.contact-line a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
.section {
  margin-top: var(--s-9);
}
.section-label {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-5);
}
.section-rule {
  display: none;
}

/* ---------- Lead text ---------- */
.lead {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

p { margin-bottom: var(--s-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink); }

/* ---------- Skills list (pill chips) ---------- */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  list-style: none;
}
.skills li {
  background: var(--card);
  border: 1px solid var(--gray-4);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Work entries (rounded cards) ---------- */
.work-entry {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  margin-bottom: var(--s-4);
  box-shadow: var(--shadow-card);
}
.work-entry:last-child { margin-bottom: 0; }

.work-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}
.work-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.work-meta {
  font-size: 0.8125rem;
  color: var(--gray-1);
  font-weight: 500;
}
.work-link {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color 0.15s, border-color 0.15s;
}
.work-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.work-body {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.work-stack {
  font-size: 0.8125rem;
  color: var(--gray-1);
  margin-top: var(--s-3);
  line-height: 1.55;
}
.work-stack strong { font-weight: 600; color: var(--ink); }

/* ---------- Education ---------- */
.edu-line {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

/* ---------- [FILL IN] marker ---------- */
.fill-in {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-size: 0.85em;
  font-weight: 500;
}

/* ---------- Proposal / Portfolio specific ---------- */
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-1);
  margin-bottom: var(--s-4);
}

.h-display {
  font-family: var(--font);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.h-section {
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}

.callout {
  background: var(--card-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  margin: var(--s-5) 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.numbered-list {
  counter-reset: step;
}
.numbered-list li {
  position: relative;
  padding: var(--s-4) 0 var(--s-4) var(--s-9);
  border-bottom: 1px solid var(--gray-4);
  counter-increment: step;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.numbered-list li:last-child { border-bottom: 0; }
.numbered-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: var(--s-4);
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.footer-note {
  margin-top: var(--s-11);
  padding-top: var(--s-5);
  border-top: 1px solid var(--gray-4);
  font-size: 0.8125rem;
  color: var(--gray-1);
  line-height: 1.6;
}

/* ---------- Portfolio: project cards with images ---------- */
.project {
  background: var(--card);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  margin-bottom: var(--s-5);
  box-shadow: var(--shadow-card);
}
@media (max-width: 720px) {
  .project { padding: var(--s-5); }
}
.project:last-child { margin-bottom: 0; }

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  margin-bottom: var(--s-3);
  flex-wrap: wrap;
}
.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.project-role {
  font-size: 0.8125rem;
  color: var(--gray-1);
  font-weight: 500;
}
.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  margin-top: var(--s-2);
}
.project-link:hover { color: var(--accent); border-bottom-color: var(--accent); }

.project-desc {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: var(--s-3);
}

.project-stack {
  font-size: 0.8125rem;
  color: var(--gray-1);
  line-height: 1.6;
  margin-top: var(--s-4);
  padding-top: var(--s-4);
  border-top: 1px solid var(--gray-4);
}
.project-stack strong { color: var(--ink); font-weight: 600; }

.hero-shot {
  margin: var(--s-5) calc(-1 * var(--s-4));
  background: var(--card-soft);
  border-radius: var(--r-lg);
  padding: var(--s-7) var(--s-5);
  display: flex;
  justify-content: center;
  overflow: hidden;
}
.hero-shot img {
  max-height: 540px;
  width: auto;
  max-width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-strong);
}
@media (max-width: 720px) {
  .hero-shot { margin: var(--s-4) 0; padding: var(--s-5) var(--s-3); }
  .hero-shot img { max-height: 380px; }
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-4);
}
.shot-grid img {
  width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  background: var(--card-soft);
  display: block;
}

.capabilities-band {
  margin-top: var(--s-9);
  padding: var(--s-9) var(--s-6);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-xl);
  text-align: center;
}
.capabilities-band h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on-ink);
}
.capabilities-band .sub {
  font-size: 0.9375rem;
  color: var(--on-ink-muted);
  margin-top: var(--s-3);
  margin-bottom: var(--s-5);
}
.capabilities-band .list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--on-ink);
}
.capabilities-band .list .dot {
  color: var(--on-ink-dim);
}

.contact-footer {
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--gray-4);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.contact-footer .left .h {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.contact-footer .left .sub {
  font-size: 0.875rem;
  color: var(--gray-1);
  margin-top: var(--s-2);
}
.contact-footer .right {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.8;
  text-align: right;
}
.contact-footer .right a { font-weight: 500; }
.contact-footer .right a:hover { color: var(--accent); }

/* ============================================================
   KARGUL-STYLE PORTFOLIO
   Large left-aligned hero, full-bleed showcases, pricing,
   FAQ, footer CTA. Used by portfolio.html.
   ============================================================ */

.page-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--s-11) var(--s-7) var(--s-11);
}
@media (max-width: 720px) {
  .page-wide { padding: var(--s-9) var(--s-5) var(--s-9); }
}

/* ---------- Hero block ---------- */
.hero-block {
  padding: var(--s-10) 0 var(--s-9);
  max-width: 880px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-1);
  padding: 6px var(--s-3);
  border: 1px solid var(--gray-4);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-6);
}
.hero-stats {
  font-size: 0.9375rem;
  color: var(--gray-1);
  margin-bottom: var(--s-5);
  font-weight: 500;
}
.hero-headline {
  font-size: clamp(2.5rem, 7vw, 5.25rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--ink);
}
.hero-headline .accent { color: var(--gray-2); }
.hero-sub {
  font-size: 1.25rem;
  color: var(--gray-1);
  margin-top: var(--s-5);
  max-width: 600px;
  line-height: 1.45;
}
.hero-ctas {
  display: flex;
  gap: var(--s-3);
  margin-top: var(--s-7);
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px var(--s-5);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 0;
  cursor: pointer;
  transition: transform 0.1s, background 0.15s;
  text-decoration: none;
}
.btn-primary:hover { background: #1a1a1a; }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 14px var(--s-5);
  background: transparent;
  color: var(--ink);
  border-radius: var(--r-pill);
  border: 1px solid var(--gray-3);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  text-decoration: none;
}
.btn-secondary:hover { background: var(--card-soft); border-color: var(--gray-1); }

/* ---------- Showcase (stacked project blocks) ---------- */
.showcase {
  margin-top: var(--s-10);
}
.showcase-section-h {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--s-7);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--gray-4);
}
.showcase-section-h h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.showcase-section-h .count {
  font-size: 0.8125rem;
  color: var(--gray-2);
  font-weight: 500;
}

.showcase-item {
  margin-bottom: var(--s-10);
}
.showcase-item:last-child { margin-bottom: 0; }

.showcase-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s-4);
  margin-bottom: var(--s-5);
  flex-wrap: wrap;
}
.showcase-tag {
  display: inline-block;
  padding: 6px var(--s-3);
  background: var(--card-soft);
  border-radius: var(--r-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.showcase-meta-right {
  font-size: 0.8125rem;
  color: var(--gray-2);
  font-weight: 500;
  text-align: right;
}
.showcase-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
  margin: var(--s-2) 0 var(--s-3);
}
.showcase-tagline {
  font-size: 1.125rem;
  color: var(--gray-1);
  max-width: 680px;
  line-height: 1.45;
  margin-bottom: var(--s-6);
}

.showcase-cover {
  width: 100%;
  background: var(--card-soft);
  border-radius: var(--r-xl);
  padding: var(--s-9) var(--s-7);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: var(--s-6);
}
.showcase-cover img {
  max-height: 540px;
  width: auto;
  max-width: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-strong);
}
@media (max-width: 720px) {
  .showcase-cover { padding: var(--s-5) var(--s-4); }
  .showcase-cover img { max-height: 380px; }
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--s-3);
  margin-bottom: var(--s-6);
}
.showcase-grid img {
  width: 100%;
  border-radius: var(--r-md);
  background: var(--card-soft);
  display: block;
  box-shadow: var(--shadow-card);
}

.showcase-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
@media (max-width: 720px) {
  .showcase-body { grid-template-columns: 1fr; gap: var(--s-5); }
}
.showcase-body p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.showcase-stack {
  background: var(--card-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  font-size: 0.875rem;
  color: var(--gray-1);
  line-height: 1.6;
}
.showcase-stack strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 4px; margin-top: var(--s-3); }
.showcase-stack strong:first-child { margin-top: 0; }

/* ---------- Services list (with checkmarks) ---------- */
.services-block {
  margin-top: var(--s-10);
  padding: var(--s-10) 0;
  border-top: 1px solid var(--gray-4);
  border-bottom: 1px solid var(--gray-4);
}
.services-block .block-h {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: var(--s-7);
}
.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-3) var(--s-7);
}
.services-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--gray-4);
  font-size: 1rem;
  color: var(--ink-soft);
}
.services-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- Pricing tiers ---------- */
.pricing-block {
  margin-top: var(--s-10);
}
.pricing-block .block-h {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
.pricing-block .block-sub {
  font-size: 1.0625rem;
  color: var(--gray-1);
  margin-top: var(--s-3);
  max-width: 600px;
  line-height: 1.5;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-7);
}
.pricing-card {
  background: var(--card);
  border: 1px solid var(--gray-4);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card.most-popular {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}
.most-popular-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--ink);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pricing-tier-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-1);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.most-popular .pricing-tier-name { color: var(--on-ink-dim); }
.pricing-price {
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--s-3) 0 var(--s-2);
  line-height: 1;
}
.most-popular .pricing-price { color: var(--on-ink); }
.pricing-price-suffix {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-1);
}
.most-popular .pricing-price-suffix { color: var(--on-ink-muted); }
.pricing-desc {
  font-size: 0.9375rem;
  color: var(--gray-1);
  margin-top: var(--s-2);
  line-height: 1.5;
}
.most-popular .pricing-desc { color: var(--on-ink-muted); }
.pricing-features {
  list-style: none;
  margin: var(--s-5) 0;
  padding: var(--s-4) 0 0;
  border-top: 1px solid var(--gray-4);
  flex: 1;
}
.most-popular .pricing-features { border-top-color: var(--on-ink-faint); }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.most-popular .pricing-features li { color: var(--on-ink-soft); }
.pricing-features .check-mini {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--ink);
}
.most-popular .pricing-features .check-mini { color: var(--accent); }
.pricing-cta {
  margin-top: auto;
}

/* ---------- FAQ ---------- */
.faq-block {
  margin-top: var(--s-10);
  padding-top: var(--s-9);
  border-top: 1px solid var(--gray-4);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-9);
}
@media (max-width: 720px) {
  .faq-block { grid-template-columns: 1fr; gap: var(--s-5); }
}
.faq-h {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.faq-sub {
  font-size: 0.9375rem;
  color: var(--gray-1);
  margin-top: var(--s-3);
  line-height: 1.5;
}
.faq-list { list-style: none; }
.faq-item {
  border-bottom: 1px solid var(--gray-4);
}
.faq-item details { padding: var(--s-4) 0; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 12px;
  height: 12px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 6px;
}
.faq-item .answer {
  padding-top: var(--s-3);
  font-size: 0.9375rem;
  color: var(--gray-1);
  line-height: 1.6;
}

/* ---------- Footer CTA block ---------- */
.footer-cta-block {
  margin-top: var(--s-11);
  padding: var(--s-10) 0 var(--s-9);
  border-top: 1px solid var(--gray-4);
  text-align: left;
}
.footer-cta-h {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  max-width: 760px;
}
.footer-cta-sub {
  font-size: 1.125rem;
  color: var(--gray-1);
  margin-top: var(--s-5);
  max-width: 540px;
  line-height: 1.45;
}
.footer-cta-meta {
  margin-top: var(--s-7);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-5);
}
.footer-cta-ctas { display: flex; gap: var(--s-3); flex-wrap: wrap; }
.footer-meta-info {
  font-size: 0.8125rem;
  color: var(--gray-1);
  line-height: 1.8;
  text-align: right;
}
.footer-meta-info a { color: var(--ink); font-weight: 500; }

/* ============================================================
   PROPOSAL-SPECIFIC
   ============================================================ */

.observation {
  padding: var(--s-5) 0 var(--s-5) var(--s-6);
  border-left: 2px solid var(--ink);
  margin-bottom: var(--s-5);
}
.observation:last-child { margin-bottom: 0; }
.observation .number {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.observation h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: var(--s-2);
  line-height: 1.25;
}
.observation p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-top: var(--s-3);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.plan-item {
  padding: var(--s-5);
  background: var(--card);
  border: 1px solid var(--gray-4);
  border-radius: var(--r-lg);
}
.plan-item .num {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: var(--s-3);
  display: block;
}
.plan-item h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
}
.plan-item p {
  font-size: 0.9375rem;
  color: var(--gray-1);
  line-height: 1.5;
}

.phase-list {
  list-style: none;
  margin-top: var(--s-5);
  counter-reset: phase;
}
.phase-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--gray-4);
  counter-increment: phase;
}
.phase-list li:last-child { border-bottom: 0; }
.phase-list li::before {
  content: 'Phase ' counter(phase);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-1);
  white-space: nowrap;
}
.phase-list .phase-body h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.phase-list .phase-body p {
  font-size: 0.9375rem;
  color: var(--gray-1);
  margin-top: 4px;
  line-height: 1.5;
}
.phase-list .phase-duration {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-5);
}
.next-step {
  padding: var(--s-5);
  background: var(--card);
  border: 1px solid var(--gray-4);
  border-radius: var(--r-lg);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, transform 0.1s;
}
.next-step:hover { border-color: var(--ink); }
.next-step:active { transform: scale(0.99); }
.next-step .icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.next-step .label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-1);
  font-weight: 700;
}
.next-step h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-top: -4px;
}
.next-step p {
  font-size: 0.8125rem;
  color: var(--gray-1);
  line-height: 1.5;
  margin: 0;
}

.recommend-card {
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  margin-top: var(--s-5);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
@media (max-width: 720px) {
  .recommend-card { grid-template-columns: 1fr; gap: var(--s-4); padding: var(--s-5); }
}
.recommend-card .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 700;
}
.recommend-card h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--on-ink);
  letter-spacing: -0.02em;
  margin-top: var(--s-3);
  line-height: 1.15;
}
.recommend-card .desc {
  font-size: 0.9375rem;
  color: var(--on-ink-muted);
  margin-top: var(--s-3);
  line-height: 1.5;
}
.recommend-card .price-block { text-align: right; }
@media (max-width: 720px) {
  .recommend-card .price-block { text-align: left; }
}
.recommend-card .price {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--on-ink);
  line-height: 1;
}
.recommend-card .price-suffix {
  font-size: 0.875rem;
  color: var(--on-ink-dim);
  margin-top: var(--s-2);
}
.recommend-card .schedule {
  font-size: 0.8125rem;
  color: var(--on-ink-soft);
  margin-top: var(--s-3);
  line-height: 1.5;
}

.proposal-section {
  margin-top: var(--s-10);
}
.proposal-section .h-large {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s-5);
  max-width: 720px;
}
.proposal-section .sub {
  font-size: 1.0625rem;
  color: var(--gray-1);
  line-height: 1.5;
  margin-bottom: var(--s-5);
  max-width: 640px;
}
.proposal-section p {
  font-size: 1.0625rem;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 720px;
}

.proposal-section ul.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--gray-4);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.proposal-section ul.benefit-list li:last-child { border-bottom: 0; }
.proposal-section ul.benefit-list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--on-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  position: fixed;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--gray-4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-card);
  transition: background 0.15s, border-color 0.15s, transform 0.1s, color 0.15s;
}
.theme-toggle:hover { background: var(--card-soft); border-color: var(--gray-3); }
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle .moon { display: block; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
@media print { .theme-toggle { display: none; } }

/* Dark-mode tweaks for specific components */
[data-theme="dark"] .showcase-cover {
  /* Cre8 dark cover stays effectively dark in both modes */
  background: #050505 !important;
}
[data-theme="dark"] .pricing-card.most-popular {
  /* In dark mode this card uses --ink (white). Borders/text already flip via --on-ink. */
  box-shadow: 0 8px 24px -8px rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .doc-nav {
  background: rgba(10, 10, 10, 0.85);
}

/* ---------- Doc nav (between cv/proposal/portfolio) ---------- */
.doc-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-4);
  padding: var(--s-3) var(--s-5);
  display: flex;
  justify-content: center;
  gap: var(--s-2);
}
.doc-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-1);
  padding: 6px var(--s-3);
  border-radius: var(--r-pill);
  transition: color 0.15s, background 0.15s;
}
.doc-nav a:hover { color: var(--ink); background: var(--card-soft); }
.doc-nav a.current {
  color: var(--on-ink);
  background: var(--ink);
}
@media print {
  .doc-nav { display: none; }
}

/* ---------- Print ---------- */
@media print {
  @page {
    size: A4;
    margin: 18mm 16mm;
  }
  html { font-size: 11pt; }
  body { background: white; color: var(--ink); }
  .page { padding: 0; max-width: none; }
  .name { font-size: 26pt; }
  .h-display { font-size: 22pt; }
  .h-section { font-size: 14pt; }
  .section { margin-top: 20pt; }
  .work-entry, .project {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid var(--gray-4);
  }
  .capabilities-band, .contact-footer { break-inside: avoid; }
  .hero-shot img { max-height: 320px; }
  .shot-grid { grid-template-columns: repeat(3, 1fr); }
  .numbered-list li { break-inside: avoid; }
  .fill-in {
    background: none;
    color: var(--accent);
    border: 1px dashed var(--accent);
    padding: 0 4px;
  }
  a { color: inherit; }
  .work-link { color: var(--ink); border-bottom-color: var(--ink); }
}
