/* ================================================
   DeepConnects — Claude-style Light Theme
   Single stylesheet for homepage + inner pages
   ================================================ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ── Tokens ── */
:root {
  --bg:        #FAF9F5;
  --bg-alt:    #F0EEE6;
  --card:      #FFFFFF;
  --inset:     #FAF9F5;
  --accent:    #D97757;
  --accent-2:  #C25D3F;
  --cyan:      #D97757;   /* legacy alias so old var(--cyan) refs resolve to clay */
  --purple:    #7B2FFF;   /* retained for the side-quest accent only */
  --green:     #25D366;
  --text:      #1F1E1D;
  --text-2:    #44413B;
  --muted:     #6B6862;
  --faint:     #A8A39B;
  --border:    #E8E6DD;
  --border-2:  #DEDBD0;
  --shadow:        0 1px 2px rgba(20,18,15,.05), 0 1px 3px rgba(20,18,15,.06);
  --shadow-hover:  0 6px 20px rgba(20,18,15,.09);
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif:     'Fraunces', Georgia, 'Times New Roman', serif;
  --ease:      cubic-bezier(.77,0,.175,1);
}

html, body { width: 100%; min-height: 100%; }
body {
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-2);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
  overflow-x: hidden;
}
p { color: var(--muted); line-height: 1.75; }
a { color: var(--accent); text-decoration: none; }

/* Themed icon (references the sprite in includes/icons.php via <use>) */
.ic {
  width: 1em; height: 1em;
  display: inline-block; vertical-align: -.14em;
  color: var(--accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* Accessibility */
.skip-link {
  position: fixed; left: -9999px; top: 1rem;
  padding: .5rem 1rem; background: var(--text); color: #fff;
  border-radius: 6px; z-index: 9999; font-weight: 700;
}
.skip-link:focus { left: 1rem; }

/* Safety net: any leftover canvas stays hidden */
#canvas { display: none !important; }

/* ================================================
   HEADER
   ================================================ */
.h-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(250,249,245,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.h-logo { text-decoration: none; opacity: 1; transition: opacity .2s; display: flex; align-items: center; gap: .6rem; }
.h-logo:hover { opacity: .82; }

.h-avatar {
  width: 38px; height: 38px; min-width: 38px; max-width: 38px;
  border-radius: 50%; object-fit: cover; object-position: center 8%;
  border: 1.5px solid var(--border-2);
  box-shadow: 0 1px 3px rgba(20,18,15,.12);
  flex-shrink: 0; display: block; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.h-logo:hover .h-avatar { border-color: var(--accent); box-shadow: 0 2px 8px rgba(217,119,87,.25); }

.h-logo-text { display: flex; flex-direction: column; line-height: 1.08; letter-spacing: -.3px; }
.h-logo-text .h-logo-l1 { font-size: .95rem; font-weight: 700; color: var(--text); }
.h-logo-text .h-logo-l2 { font-size: .95rem; font-weight: 700; color: var(--accent); }

.h-menu { background: none; border: none; cursor: pointer; padding: .5rem; display: flex; flex-direction: column; gap: 5px; }
.h-menu span { display: block; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s, width .25s; transform-origin: center; }
.h-menu span:nth-child(1) { width: 22px; }
.h-menu span:nth-child(2) { width: 14px; }
.h-menu.open span:nth-child(1) { width: 20px; transform: translateY(3.3px) rotate(45deg); }
.h-menu.open span:nth-child(2) { width: 20px; transform: translateY(-3.3px) rotate(-45deg); }

/* ================================================
   FULLSCREEN MENU OVERLAY
   ================================================ */
.menu-overlay {
  position: fixed; inset: 0; z-index: 190;
  background: rgba(250,249,245,.98);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transform: translateY(-100%); transition: transform .6s var(--ease); pointer-events: none;
}
.menu-overlay.open { transform: translateY(0); pointer-events: all; }

.menu-nav { display: flex; flex-direction: column; align-items: center; gap: .2rem; margin-bottom: 3rem; }
.menu-link {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 7vw, 4rem); font-weight: 500;
  color: var(--faint); letter-spacing: -1px; line-height: 1.2;
  transition: color .25s; text-decoration: none; display: block;
}
.menu-link:hover { color: var(--text); }
.menu-link-wa { color: rgba(37,211,102,.5); }
.menu-link-wa:hover { color: var(--green); }

.menu-footer { display: flex; gap: 2rem; font-size: .82rem; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.menu-footer a { color: var(--muted); transition: color .2s; }
.menu-footer a:hover { color: var(--accent); }

/* Link entrance stagger */
.menu-nav .menu-link { opacity: 0; transform: translateY(20px); transition: color .25s, opacity .45s, transform .45s; }
.menu-overlay.open .menu-link:nth-child(1) { opacity: 1; transform: none; transition-delay: .05s; }
.menu-overlay.open .menu-link:nth-child(2) { opacity: 1; transform: none; transition-delay: .1s;  }
.menu-overlay.open .menu-link:nth-child(3) { opacity: 1; transform: none; transition-delay: .15s; }
.menu-overlay.open .menu-link:nth-child(4) { opacity: 1; transform: none; transition-delay: .2s;  }

/* ================================================
   SECTIONS (homepage)
   ================================================ */
main { position: relative; z-index: 10; }

.sec { padding: 5.5rem 1.5rem; display: flex; justify-content: center; }
.sec:first-child { padding-top: 8.5rem; }
.sec:nth-child(even) { background: var(--bg-alt); }

.sec-inner {
  max-width: 1040px; width: 100%;
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.sec.in-view .sec-inner { opacity: 1; transform: none; }

.sec-tag {
  display: block; font-family: var(--font);
  font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}

/* ── Typography ── */
h1 { font-family: var(--serif); font-size: clamp(2.6rem, 6.5vw, 4.6rem); font-weight: 500; line-height: 1.03; letter-spacing: -1.5px; margin-bottom: .75rem; color: var(--text); }
h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 500; line-height: 1.1; letter-spacing: -1px; margin-bottom: .85rem; color: var(--text); }
h3 { font-family: var(--font); font-size: 1.08rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; letter-spacing: -.01em; }

/* Liquid title is now a plain serif heading colour */
.liquid-title { color: var(--text); }

/* ── Profile photo ── */
.avatar-photo {
  width: 104px; height: 104px; border-radius: 50%; overflow: hidden;
  border: 1px solid var(--border-2); box-shadow: var(--shadow);
  margin-bottom: 1.5rem; flex-shrink: 0;
}
.avatar-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; display: block; border-radius: 50%; }

/* Avatar placeholder fallback */
.avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--accent);
  margin-bottom: 1.25rem; box-shadow: var(--shadow); flex-shrink: 0;
}

/* ── Status pill ── */
.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--card); border: 1px solid var(--border); color: var(--muted);
  padding: .35rem .9rem; border-radius: 50px;
  font-size: .72rem; font-weight: 600; letter-spacing: .3px; margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: blink 2.4s ease-in-out infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ── Intro subtitle ── */
.intro-sub { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--muted); margin-bottom: 2.25rem; max-width: 540px; line-height: 1.7; }

/* ── Stats ── */
.stats { display: flex; gap: 3rem; margin-bottom: 2.5rem; flex-wrap: wrap; justify-content: center; }
.stat-n { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--text); line-height: 1; margin-bottom: .25rem; }
.stat-l { font-size: .68rem; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; }

/* ── Intro CTA (coral text link) ── */
.intro-cta { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--accent); background: none; border: none; cursor: pointer; padding: 0; transition: gap .2s; }
.intro-cta:hover { gap: .8rem; }

/* ── Who cards ── */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.75rem; width: 100%; }
.who-card {
  display: flex; flex-direction: column; gap: .6rem;
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 2rem 1.75rem; text-decoration: none; text-align: left;
  box-shadow: var(--shadow); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.who-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.who-icon { font-size: 2rem; line-height: 1; }
.who-cta { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--accent); }
.who-card h3 { font-size: 1.12rem; }
.who-card p { font-size: .95rem; line-height: 1.7; }

/* ── Quote placeholder ── */
.quote-ph { margin-top: 1.5rem; border-left: 2px solid var(--border-2); padding-left: 1.25rem; text-align: left; }
.quote-ph p { font-size: .9rem; color: var(--faint); font-style: italic; }
.quote-ph cite { font-size: .72rem; color: var(--faint); margin-top: .4rem; display: block; }

/* ── Service cards ── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 1.75rem; width: 100%; align-items: stretch; }
.svc-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem 1.5rem; text-align: left; box-shadow: var(--shadow); transition: border-color .25s, box-shadow .25s, transform .25s; }
.svc-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.svc-num { font-family: var(--serif); font-size: .85rem; color: var(--accent); margin-bottom: .85rem; font-weight: 600; display: block; }
.svc-icon { font-size: 1.75rem; margin-bottom: .7rem; line-height: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .85rem; }
.svc-tag { font-size: .68rem; font-weight: 600; padding: .22rem .55rem; border-radius: 6px; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.18); color: var(--accent-2); }

/* ── Tools row ── */
.tools-row { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); width: 100%; justify-content: center; }
.tools-label { width: 100%; text-align: center; font-size: .65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.tool-chip { font-size: .72rem; padding: .25rem .6rem; border-radius: 6px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }

/* ── Project cards ── */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 1.75rem; width: 100%; align-items: stretch; }
.proj-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.6rem; text-align: left; box-shadow: var(--shadow); transition: border-color .25s, box-shadow .25s, transform .25s; display: flex; flex-direction: column; }
.proj-card:hover { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.proj-cat { align-self: flex-start; font-size: .58rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; padding: .2rem .5rem; border-radius: 6px; margin-bottom: .75rem; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.2); color: var(--accent-2); }
.proj-cat[data-cat="founder"] { background: rgba(31,30,29,.05); border-color: var(--border-2); color: var(--text-2); }
.proj-cat[data-cat="dev"] { background: rgba(180,120,20,.1); border-color: rgba(180,120,20,.28); color: #9A6A14; }
.proj-emoji { font-size: 1.6rem; margin-bottom: .65rem; line-height: 1; }
.proj-thumb { width: 100%; height: 96px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: var(--inset); display: block; margin-bottom: .85rem; }
.proj-card[data-href] { cursor: pointer; }
.proj-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: .55rem 0 .8rem; }
.proj-tag { font-size: .65rem; font-weight: 600; padding: .18rem .5rem; border-radius: 5px; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.16); color: var(--accent-2); }
.dev-badge { font-size: .6rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: rgba(180,120,20,.1); border: 1px solid rgba(180,120,20,.25); color: #9A6A14; padding: .14rem .42rem; border-radius: 5px; margin-left: .4rem; vertical-align: middle; }
.proj-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--accent); margin-top: auto; align-self: flex-start; }
.proj-link:hover { color: var(--accent-2); }

/* ── Placeholder card ── */
.ph { border: 1px dashed var(--border-2); border-radius: 12px; padding: 1.75rem; text-align: center; background: var(--inset); margin-top: 1.25rem; }
.ph-l { font-size: .62rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--faint); margin-bottom: .3rem; }
.ph-t { font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: .2rem; }
.ph-s { font-size: .78rem; color: var(--faint); line-height: 1.55; }

/* ── See-more link ── */
.see-more { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 600; color: var(--accent); transition: gap .2s; }
.see-more:hover { gap: .65rem; }

/* ── Contact section ── */
.contact-wrap { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-wrap h2 { font-size: clamp(2rem, 5vw, 3rem); }
.contact-wrap > p { font-size: 1.08rem; margin-bottom: 2.5rem; }

.btn-wa {
  display: inline-flex; align-items: center; gap: .65rem;
  background: var(--green); color: #fff; font-size: .98rem; font-weight: 600;
  padding: .9rem 1.8rem; border-radius: 12px; text-decoration: none;
  transition: transform .2s, box-shadow .25s; box-shadow: 0 2px 10px rgba(37,211,102,.25);
  margin-bottom: 1.75rem;
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); color: #fff; }

.btn-calendly {
  display: inline-flex; align-items: center; gap: .55rem;
  background: var(--accent); border: none; color: #fff; font-size: .92rem; font-weight: 600;
  padding: .8rem 1.65rem; border-radius: 12px; text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .25s; box-shadow: 0 2px 10px rgba(217,119,87,.25);
}
.btn-calendly:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(217,119,87,.35); color: #fff; }

.contact-links { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.contact-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .88rem; text-decoration: none; transition: color .2s; }
.contact-link:hover { color: var(--accent); }

.chips { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; background: var(--card); border: 1px solid var(--border); color: var(--muted); padding: .42rem .85rem; border-radius: 10px; font-size: .78rem; box-shadow: var(--shadow); }

.divider { width: 32px; height: 1px; background: var(--border-2); margin: 1.75rem auto; }
.credit { font-size: .75rem; color: var(--faint); }

/* ── Floating buttons ── */
.wa-float { position: fixed; bottom: 1.75rem; right: 1.75rem; z-index: 200; width: 54px; height: 54px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,.5); }
.cal-float { position: fixed; bottom: 1.75rem; left: 1.75rem; z-index: 200; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(217,119,87,.4); transition: transform .2s, box-shadow .2s; text-decoration: none; }
.cal-float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(217,119,87,.5); }

/* ================================================
   HOMEPAGE MOBILE
   ================================================ */
@media (max-width: 768px) {
  .who-grid, .svc-grid, .proj-grid { grid-template-columns: 1fr; }
  .stats { gap: 1.75rem; }
  .menu-link { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .h-bar { padding: .85rem 1.1rem; }
  .sec { padding: 4rem 1.1rem; }
  .sec:first-child { padding-top: 6.5rem; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .svc-grid, .proj-grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   INNER PAGES
   ================================================ */
.inner-wrap { max-width: 1040px; margin: 0 auto; padding: 7rem 2rem 5rem; display: flex; flex-direction: column; gap: 1.75rem; }

.ip-card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px;
  padding: 2.5rem; box-shadow: var(--shadow);
  opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease;
}
.ip-card.in-view { opacity: 1; transform: none; }
.ip-card[id] { scroll-margin-top: 6rem; }

.ip-label { display: block; font-size: .7rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 1rem; }

/* Hero — transparent, not a card, not full-viewport */
.ip-hero {
  text-align: center; min-height: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2.5rem; background: transparent; border: none; box-shadow: none;
}
.ip-hero h1 { margin-bottom: .6rem; }
.ip-hero > p { max-width: 620px; margin: 0 auto 2rem; font-size: 1.12rem; line-height: 1.7; color: var(--muted); }

/* CTA button row */
.ip-btn-row { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }

/* Inner-page buttons */
.btn-main { display: inline-flex; align-items: center; gap: .5rem; background: var(--green); color: #fff; font-size: .92rem; font-weight: 600; padding: .8rem 1.6rem; border-radius: 12px; text-decoration: none; transition: transform .2s, box-shadow .25s; box-shadow: 0 2px 10px rgba(37,211,102,.25); }
.btn-main:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(37,211,102,.35); color: #fff; }
.btn-ghost { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--border-2); color: var(--text); background: var(--card); font-size: .92rem; font-weight: 600; padding: .78rem 1.5rem; border-radius: 12px; text-decoration: none; transition: border-color .2s, color .2s; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Inner grids */
.ip-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 1.5rem; }
.ip-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.1rem; margin-top: 1.5rem; }

/* Item card */
.ip-item { background: var(--inset); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; transition: border-color .25s, box-shadow .25s, transform .2s; }
.ip-item:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.ip-item-icon { font-size: 1.6rem; line-height: 1; margin-bottom: .65rem; }
.ip-item h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.ip-item p { font-size: .93rem; }

/* Industry cloud */
.ind-cloud { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.25rem; }
.ind-tag { display: inline-flex; align-items: center; gap: .35rem; background: var(--inset); border: 1px solid var(--border); color: var(--text-2); padding: .45rem .9rem; border-radius: 10px; font-size: .82rem; font-weight: 500; }

/* Numbered steps */
.ip-steps { margin-top: 1.5rem; display: flex; flex-direction: column; }
.ip-step { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.35rem 0; border-bottom: 1px solid var(--border); }
.ip-step:last-child { border-bottom: none; }
.ip-step-n { width: 38px; height: 38px; border-radius: 50%; background: rgba(217,119,87,.1); border: 1px solid rgba(217,119,87,.25); color: var(--accent); font-family: var(--serif); font-size: .95rem; font-weight: 600; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ip-step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.ip-step p { font-size: .93rem; margin: 0; }

/* Checklist */
.ip-check { margin-top: 1.25rem; display: flex; flex-direction: column; gap: .6rem; list-style: none; }
.ip-check li { display: flex; gap: .7rem; align-items: flex-start; color: var(--text-2); font-size: .95rem; line-height: 1.6; }
.ip-check li::before { content: '✓'; color: var(--accent); font-weight: 700; font-size: .85rem; flex-shrink: 0; margin-top: .15rem; }

/* Outcome stat */
.ip-item-stat { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--accent); line-height: 1.1; margin-bottom: .45rem; letter-spacing: -.02em; }

/* Trait pills */
.ip-trait-grid { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.ip-trait { display: inline-flex; align-items: center; gap: .55rem; background: var(--inset); border: 1px solid var(--border); border-radius: 10px; padding: .7rem 1.1rem; font-size: .9rem; font-weight: 500; color: var(--text-2); transition: border-color .25s, background .25s; cursor: default; }
.ip-trait:hover { background: var(--card); border-color: var(--accent); }
.ip-trait-icon { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }

/* Pricing cards */
.ip-pricing { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; margin-top: 1.5rem; }
.ip-price-card { background: var(--inset); border: 1px solid var(--border); border-radius: 16px; padding: 2rem 1.75rem; }
.ip-price-card.featured { border-color: var(--accent); background: rgba(217,119,87,.05); }
.ip-price-type { display: block; font-size: .65rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: .65rem; }
.ip-price-card h3 { font-size: 1.1rem; margin-bottom: .55rem; }
.ip-price-card p { font-size: .93rem; margin-bottom: 1.25rem; }

/* FAQ accordion */
.ip-faq { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.ip-faq-item { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--inset); transition: border-color .2s, box-shadow .2s; }
.ip-faq-item:has(.ip-faq-q[aria-expanded="true"]) { border-color: var(--accent); box-shadow: var(--shadow); }
.ip-faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; background: none; border: none; color: var(--text); font-size: 1rem; font-weight: 600; line-height: 1.5; cursor: pointer; text-align: left; gap: 1rem; }
.ip-faq-q:hover { color: var(--accent); }
.ip-faq-icon { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border-2); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; transition: transform .3s var(--ease), background .3s, border-color .3s; }
.ip-faq-q[aria-expanded="true"] .ip-faq-icon { transform: rotate(45deg); background: rgba(217,119,87,.1); border-color: var(--accent); }
.ip-faq-a { max-height: 0; overflow: hidden; transition: max-height .38s ease, padding .38s ease; padding: 0 1.5rem; color: var(--muted); font-size: .94rem; line-height: 1.75; }
.ip-faq-a.open { max-height: 500px; padding-bottom: 1.25rem; }

/* Project cards (mywork) */
.pw-card { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
.pw-emoji { font-size: 2.8rem; line-height: 1; padding-top: .15rem; }
.pw-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin: .6rem 0 .75rem; }
.pw-tag { font-size: .65rem; font-weight: 600; padding: .2rem .5rem; border-radius: 5px; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.16); color: var(--accent-2); }
.pw-tag-dev { font-size: .65rem; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: rgba(180,120,20,.1); border: 1px solid rgba(180,120,20,.25); color: #9A6A14; padding: .2rem .5rem; border-radius: 5px; }
.pw-meta-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: .6rem 0 .75rem; }
.pw-result { margin-top: .9rem; background: rgba(217,119,87,.06); border: 1px solid rgba(217,119,87,.16); border-radius: 10px; padding: .85rem 1.1rem; font-size: .92rem; color: var(--text-2); line-height: 1.7; }
.pw-result strong { color: var(--accent-2); }
.pw-links { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: .9rem; }
.pw-link { display: inline-flex; align-items: center; gap: .3rem; font-size: .82rem; font-weight: 600; color: var(--accent); }
.pw-link:hover { color: var(--accent-2); }

/* CTA card */
.ip-cta { text-align: center; }
.ip-cta h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); margin-bottom: .6rem; }
.ip-cta > p { max-width: 500px; margin: 0 auto 2rem; }

/* Inner footer */
.ip-footer { position: relative; z-index: 10; border-top: 1px solid var(--border); padding: 2rem 0 2.5rem; margin-top: 1rem; background: var(--bg-alt); }
.ip-footer-inner { max-width: 1040px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.ip-footer-nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.ip-footer-nav a { font-size: .82rem; color: var(--muted); text-decoration: none; transition: color .2s; }
.ip-footer-nav a:hover { color: var(--accent); }
.ip-footer-copy { font-size: .75rem; color: var(--faint); }

/* Inner mobile */
@media (max-width: 768px) {
  .inner-wrap { padding: 5.5rem 1.1rem 3.5rem; gap: 1.25rem; }
  .ip-card { padding: 1.6rem 1.3rem; border-radius: 16px; }
  .ip-hero { padding: 1.5rem 1rem; }
  .ip-grid-3, .ip-grid-2 { grid-template-columns: 1fr; }
  .ip-pricing { grid-template-columns: 1fr; }
  .pw-card { grid-template-columns: 1fr; }
  .pw-emoji { font-size: 2rem; }
  .ip-footer-inner { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .ip-faq-q { font-size: .94rem; padding: .95rem 1.1rem; }
  .ip-faq-a.open { padding: 0 1.1rem 1rem; }
}

/* ================================================
   CONVERSION BLOCKS — About, Testimonial, Compare, Before/After
   ================================================ */
.about-bio { margin-top: 1.75rem; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 1.75rem; text-align: left; box-shadow: var(--shadow); width: 100%; }
.about-bio-photo { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; border: 1px solid var(--border-2); flex-shrink: 0; }
.about-bio-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 10%; }
.about-bio-name { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--text); letter-spacing: -.01em; margin-bottom: .1rem; }
.about-bio-role { font-size: .82rem; color: var(--accent); font-weight: 600; margin-bottom: .85rem; }
.about-bio p { font-size: .93rem; line-height: 1.75; color: var(--text-2); margin: 0; }

.testimonial { margin-top: 1.5rem; background: var(--inset); border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; padding: 1.4rem 1.6rem; text-align: left; }
.testimonial-quote { font-size: 1.02rem; font-style: italic; color: var(--text-2); line-height: 1.75; margin-bottom: .75rem; }
.testimonial-quote::before { content: '\201C'; color: var(--accent); font-size: 1.4rem; line-height: 0; vertical-align: -.3em; margin-right: .2rem; }
.testimonial-quote::after  { content: '\201D'; color: var(--accent); font-size: 1.4rem; line-height: 0; vertical-align: -.3em; margin-left:  .2rem; }
.testimonial-author { display: flex; align-items: center; gap: .65rem; }
.testimonial-author-init { width: 34px; height: 34px; border-radius: 50%; background: rgba(217,119,87,.12); border: 1px solid rgba(217,119,87,.25); color: var(--accent); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testimonial-author-name { font-size: .8rem; font-weight: 700; color: var(--text); }
.testimonial-author-role { font-size: .7rem; color: var(--muted); }

.risk-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; line-height: 1.6; }
.risk-note .ic { margin-right: .35em; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.ba-col { border-radius: 10px; padding: 1rem 1.1rem; }
.ba-col.before { background: rgba(190,60,60,.05); border: 1px solid rgba(190,60,60,.16); }
.ba-col.after  { background: rgba(217,119,87,.06); border: 1px solid rgba(217,119,87,.18); }
.ba-label { font-size: .6rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .5rem; display: block; }
.ba-col.before .ba-label { color: #B34B4B; }
.ba-col.after  .ba-label { color: var(--accent-2); }
.ba-col p { font-size: .9rem; color: var(--text-2); line-height: 1.6; margin: 0; }

.compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 1.5rem; align-items: start; }
.compare-col { border-radius: 14px; padding: 1.6rem 1.4rem; border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow); }
.compare-col.highlight { border-color: var(--accent); background: rgba(217,119,87,.05); position: relative; }
.compare-col.highlight::before { content: '★ Recommended'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .6rem; font-weight: 700; letter-spacing: .5px; padding: .22rem .65rem; border-radius: 20px; white-space: nowrap; }
.compare-who { font-size: .65rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: .6rem; }
.compare-col:not(.highlight) .compare-who { color: var(--muted); }
.compare-col.highlight .compare-who { color: var(--accent); }
.compare-col h3 { font-size: 1rem; margin-bottom: .85rem; }
.compare-list { list-style: none; display: flex; flex-direction: column; gap: .5rem; padding: 0; }
.compare-list li { font-size: .88rem; line-height: 1.55; padding-left: 1.3rem; position: relative; }
.compare-list li::before { position: absolute; left: 0; }
.compare-col:not(.highlight) .compare-list li { color: var(--muted); }
.compare-col:not(.highlight) .compare-list li::before { content: '✗'; color: rgba(190,60,60,.65); }
.compare-col.highlight .compare-list li { color: var(--text-2); }
.compare-col.highlight .compare-list li::before { content: '✓'; color: var(--accent); }

/* Collapsible case study */
.cs-toggle { display: inline-flex; align-items: center; gap: .45rem; margin-top: .9rem; background: rgba(217,119,87,.08); border: 1px solid rgba(217,119,87,.2); color: var(--accent); font-size: .82rem; font-weight: 700; padding: .5rem 1.1rem; border-radius: 8px; cursor: pointer; transition: background .2s, border-color .2s; }
.cs-toggle:hover { background: rgba(217,119,87,.14); border-color: var(--accent); }
.cs-arrow { display: inline-block; transition: transform .35s var(--ease); font-style: normal; }
.cs-toggle[aria-expanded="true"] .cs-arrow { transform: rotate(180deg); }
.cs-body { max-height: 0; overflow: hidden; transition: max-height .55s ease; margin-top: 0; }
.cs-body.open { max-height: 3000px; margin-top: 1.5rem; }

/* Screenshot grid */
.proj-screenshots { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; margin-top: 1rem; }
.proj-screenshot { border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 16/9; background: var(--inset); }
.proj-screenshot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proj-screenshot-label { font-size: .65rem; color: var(--muted); letter-spacing: .5px; margin-top: .35rem; text-align: center; }

/* Full screenshot (whole image shown, not cropped) */
.pw-shots { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.pw-shot { width: 100%; height: auto; display: block; border: 1px solid var(--border); border-radius: 10px; background: var(--inset); }
.pw-shot-label { font-size: .65rem; color: var(--muted); letter-spacing: .5px; margin-top: .35rem; text-align: center; }

/* Side-quest card */
.side-quest { border: 1px dashed rgba(123,47,255,.3); background: rgba(123,47,255,.04); }
.side-quest .ip-label { color: var(--purple); }
.sq-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1rem; margin-top: 1.25rem; }
.sq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.25rem; }
.sq-item h3 { font-size: 1rem; margin-bottom: .3rem; }
.sq-item p { font-size: .9rem; }
.sq-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.sq-link { font-size: .75rem; font-weight: 600; color: var(--muted); border: 1px solid var(--border-2); padding: .25rem .6rem; border-radius: 6px; text-decoration: none; transition: color .2s, border-color .2s; }
.sq-link:hover { color: var(--accent); border-color: var(--accent); }

@media (max-width: 768px) {
  .about-bio { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .compare-col.highlight::before { display: none; }
  .proj-screenshots { grid-template-columns: 1fr; }
  .sq-grid { grid-template-columns: 1fr; }
}

/* ================================================
   BREADCRUMBS (inner pages — matches BreadcrumbList schema)
   ================================================ */
.crumbs {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: -.5rem;
}
.crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--faint); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 500; }

/* ================================================
   COOKIE CONSENT BANNER (only renders when GA4 is configured)
   ================================================ */
.cc-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: auto;
  max-width: 360px;
  z-index: 300;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  padding: 1.1rem 1.25rem;
}
.cc-banner[hidden] { display: none; }
.cc-text { font-size: .85rem; color: var(--text-2); line-height: 1.6; margin-bottom: .85rem; }
.cc-actions { display: flex; gap: .6rem; }
.cc-btn { font-size: .82rem; font-weight: 600; padding: .5rem 1.1rem; border-radius: 9px; cursor: pointer; border: 1px solid var(--border-2); transition: background .2s, border-color .2s, color .2s; }
.cc-accept { background: var(--text); color: var(--bg); border-color: var(--text); }
.cc-accept:hover { background: var(--accent); border-color: var(--accent); }
.cc-decline { background: transparent; color: var(--muted); }
.cc-decline:hover { color: var(--text); border-color: var(--muted); }
@media (max-width: 768px) {
  .cc-banner { left: .9rem; right: .9rem; bottom: 5.5rem; max-width: none; }
}
