/* ============================================================
   Inner pages: service, work, about, contact
   ============================================================ */

/* ---------- Breadcrumb ---------- */
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-faint); margin-bottom: 22px; }
.crumb a { color: var(--ink-soft); } .crumb a:hover { color: var(--cyan-ink); }
.crumb .sep { opacity: 0.5; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 52px); }
.page-hero .h1 { margin-top: 10px; max-width: 16ch; }
.page-hero .lede { margin-top: 20px; max-width: 60ch; }
.page-hero.center { text-align: center; }
.page-hero.center .h1, .page-hero.center .lede { margin-left: auto; margin-right: auto; }
.page-hero.center .crumb, .page-hero.center .eyebrow { justify-content: center; }
.page-hero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }
.page-hero.center .page-hero-cta { justify-content: center; }

/* ---------- Service page layout ---------- */
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.svc-intro .frame { aspect-ratio: 4/3.2; }
@media (max-width: 820px) { .svc-intro { grid-template-columns: 1fr; } }

.svc-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px,4vw,56px); align-items: center; }
@media (max-width: 820px) { .svc-hero-grid { grid-template-columns: 1fr; } }

.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 820px) { .detail-grid { grid-template-columns: 1fr; } }
.detail { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.detail .d-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--cyan-wash); color: var(--cyan-ink); display: grid; place-items: center; margin-bottom: 16px; }
.detail .d-ico svg { width: 20px; height: 20px; }
.detail h4 { font-size: 17px; margin-bottom: 8px; }
.detail p { font-size: 15px; color: var(--ink-soft); }

/* checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink); }
.checklist svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 3px; }
.checklist.two { grid-template-columns: 1fr 1fr; gap: 14px 32px; }
@media (max-width: 640px) { .checklist.two { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px,5vw,64px); align-items: center; }
.split.rev { grid-template-columns: 1.1fr 0.9fr; }
@media (max-width: 820px) { .split, .split.rev { grid-template-columns: 1fr; } }

/* ---------- Diagram: messy vs clean (line art) ---------- */
.diagram { padding: 30px; }
.dg-title { font-family: var(--font-head); font-size: 13px; font-weight: 600; color: var(--ink-soft); text-align: center; margin-bottom: 18px; letter-spacing: 0.02em; }
.dg-messy svg, .dg-clean svg { width: 100%; height: auto; display: block; }
.dg-messy path, .dg-messy line { stroke: var(--orange); stroke-width: 1.6; fill: none; opacity: 0.75; }
.dg-clean path, .dg-clean line { stroke: var(--cyan); stroke-width: 1.8; fill: none; }
.dg-node { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.4; }
.dg-label { font-family: var(--font-body); font-size: 11px; fill: var(--ink-soft); }

/* ---------- Real line-art illustrations (replace placeholder frames) ---------- */
.illo-frame { padding: 30px; }
.illo-frame svg { width: 100%; height: auto; display: block; }
.illo-c { stroke: var(--cyan); }
.illo-cf { fill: var(--cyan); }
.illo-o { stroke: var(--orange); }
.illo-of { fill: var(--orange); }
.illo-node { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.4; }
.illo-navy { fill: var(--navy); }
.illo-label { font-family: var(--font-body); font-size: 11.5px; fill: var(--ink-soft); }
.illo-label-lg { font-family: var(--font-head); font-size: 13px; font-weight: 600; fill: var(--ink-strong); }
.illo-dash { stroke-dasharray: 5 5; opacity: 0.55; }
.illo-ink { stroke: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink-strong); }
.faq-q .fq-ico { width: 24px; height: 24px; flex: none; position: relative; }
.faq-q .fq-ico::before, .faq-q .fq-ico::after { content: ""; position: absolute; background: var(--cyan); border-radius: 2px; transition: transform .3s; }
.faq-q .fq-ico::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .fq-ico::after { left: 11px; top: 4px; bottom: 4px; width: 2px; }
.faq-item.open .fq-ico::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { color: var(--ink-soft); font-size: 16px; padding-bottom: 22px; line-height: 1.6; }

/* ---------- Work page ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s, border-color .3s; }
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.work-card .wc-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-ink); }
.work-card h3 { margin: 12px 0 12px; font-size: 22px; }
.work-card .wc-problem { color: var(--ink-soft); font-size: 15.5px; }
.work-card .wc-built { margin-top: 16px; font-size: 15px; color: var(--ink); }
.work-card .wc-built strong { font-family: var(--font-head); font-weight: 600; }
.work-card .wc-outcome { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 12px; }
.work-card .wc-outcome .wo-n { font-family: var(--font-head); font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--orange-ink); line-height: 1; }
.work-card .wc-outcome .wo-l { font-size: 14px; color: var(--ink-soft); }
.work-card.nda { border-style: dashed; }
.work-card .nda-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ink-faint); background: var(--bg-tint); border: 1px solid var(--line); padding: 4px 10px; border-radius: 100px; align-self: flex-start; margin-top: 4px; }

.inhouse { background: var(--band-2); border-radius: var(--radius-lg); padding: clamp(30px,4vw,48px); }
.inhouse-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
@media (max-width: 700px) { .inhouse-grid { grid-template-columns: 1fr; } }
.inhouse-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 26px 24px; }
.inhouse-card h4 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.inhouse-card p { color: var(--on-band-soft); font-size: 15px; }
.inhouse-card .ih-ico { width: 40px; height: 40px; border-radius: 10px; background: rgba(76,192,255,0.14); color: var(--cyan-on-band); display: grid; place-items: center; margin-bottom: 16px; }
.inhouse-card .ih-ico svg { width: 20px; height: 20px; }

/* ---------- About ---------- */
.stat-row { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stat { padding: 32px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font-family: var(--font-head); font-size: clamp(30px,3.6vw,42px); font-weight: 600; letter-spacing: -0.02em; color: var(--ink-strong); line-height: 1; }
.stat .n .u { color: var(--cyan-ink); }
.stat .l { color: var(--ink-soft); font-size: 15px; margin-top: 12px; }
@media (max-width: 720px) { .stat-row { grid-template-columns: 1fr; } .stat { border-right: 0; border-bottom: 1px solid var(--line); } .stat:last-child { border-bottom: 0; } }

.how-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px,5vw,72px); align-items: start; }
.how-block .h2 { position: sticky; top: 100px; }
@media (max-width: 760px) { .how-block { grid-template-columns: 1fr; gap: 20px; } .how-block .h2 { position: static; } }

.founder { background: var(--band); border-radius: var(--radius-lg); overflow: hidden; }
.founder-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; }
.founder-photo { min-height: 100%; background: var(--band-2); }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-body { padding: clamp(32px,4vw,56px); }
.founder-body .eyebrow { color: var(--cyan-on-band); margin-bottom: 20px; }
.founder-body blockquote { margin: 0; font-family: var(--font-head); font-size: clamp(20px,2.4vw,28px); line-height: 1.35; letter-spacing: -0.02em; color: #fff; font-weight: 500; }
.founder-body .fb-note { margin-top: 22px; color: var(--on-band-soft); font-size: 16.5px; line-height: 1.6; }
.founder-sig { margin-top: 26px; }
.founder-sig .name { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: #fff; }
.founder-sig .role { font-size: 13px; color: var(--on-band-soft); margin-top: 2px; }
@media (max-width: 720px) { .founder-grid { grid-template-columns: 1fr; } .founder-photo { aspect-ratio: 4/3; } }

.where-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
@media (max-width: 720px) { .where-grid { grid-template-columns: 1fr; } }
.where-card { padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.where-card .wh-stage { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-ink); }
.where-card h4 { margin: 10px 0 8px; font-size: 18px; }
.where-card p { color: var(--ink-soft); font-size: 15px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px,5vw,56px); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; }
.fld { margin-bottom: 16px; }
.fld label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.fld input, .fld textarea { width: 100%; background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; color: var(--ink); font-family: var(--font-body); font-size: 15.5px; transition: border-color .2s, box-shadow .2s; }
.fld input:focus, .fld textarea:focus { outline: 0; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-wash); }
.fld textarea { resize: vertical; min-height: 110px; }
.contact-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-msg { margin-top: 14px; font-size: 14px; color: var(--cyan-ink); display: none; }
.form-msg.show { display: block; }
.form-msg.error { color: var(--orange-ink); }

.book-panel { background: var(--band); border-radius: var(--radius-lg); padding: clamp(30px,4vw,44px); position: relative; overflow: hidden; }
.book-panel .accent-line { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--cyan), var(--orange)); }
.book-panel h3 { color: #fff; font-size: 24px; }
.book-panel p { color: var(--on-band-soft); margin-top: 12px; font-size: 16px; }
.book-list { list-style: none; margin: 24px 0 28px; padding: 0; display: grid; gap: 13px; }
.book-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--on-band); font-size: 15.5px; }
.book-list svg { width: 19px; height: 19px; color: var(--cyan-on-band); flex: none; margin-top: 3px; }
.contact-direct { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 15px; color: var(--on-band-soft); }
.contact-direct a { color: #fff; border-bottom: 1px solid var(--cyan-on-band); }

/* ---------- Freshness stamp (AEO) ---------- */
.updated { margin-top: 18px; font-size: 13px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 7px; }
.updated::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); display: inline-block; }
