/* ============================================================ */
/* Shared styles for secondary pages (services, studio, etc.)   */
/* Light theme, on-brand with the homepage.                     */
/* ============================================================ */
:root {
  --paper: #ffffff; --paper-alt: #f4f7f3;
  --ink-black: #0a1410; --ink-body: #41514a; --ink-muted: #6a7a72;
  --green: #7fe6a8; --green-ink: #0f9150;
  --bg-0: oklch(0.14 0.025 155); --bg-1: oklch(0.18 0.03 155);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 400;
  color: var(--ink-body); -webkit-font-smoothing: antialiased; line-height: 1.6;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(127,230,168,0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(127,230,168,0.10), transparent 55%),
    var(--paper);
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
.mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, monospace; letter-spacing: 0.05em; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }

/* glass */
.liquid-glass-strong {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.55);
  -webkit-backdrop-filter: blur(40px); backdrop-filter: blur(40px);
  box-shadow: 0 6px 22px rgba(10,24,16,0.08), inset 0 1px 1px rgba(255,255,255,0.6);
}

/* nav */
.nav {
  position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 100;
  width: min(1080px, calc(100% - 2rem)); padding: 0.55rem 0.6rem 0.55rem 1.2rem;
  border-radius: 999px; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.nav .brand { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; letter-spacing: -0.03em; font-size: 1rem; color: var(--ink-black); }
.nav .brand img { width: 30px; height: 30px; object-fit: contain; display: block; }
.nav .brand span { white-space: nowrap; }
.nav-links { display: flex; gap: 0.3rem; font-size: 0.82rem; }
.nav-links a { padding: 0.45rem 0.8rem; border-radius: 999px; color: var(--ink-body); transition: color .2s ease, background .2s ease; }
.nav-links a:hover { color: var(--ink-black); background: rgba(10,20,16,0.06); }
.nav-cta { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 1.05rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: #052013; background: var(--green); box-shadow: 0 0 0 1px rgba(17,156,85,0.35), 0 6px 16px rgba(127,230,168,0.25); transition: transform .2s ease, background .2s ease; }
.nav-cta:hover { transform: scale(1.04); background: #92ecb6; }
/* language switcher (EN / ES) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(10,24,16,0.05); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.08); }
.lang-switch a { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.04em; padding: 0.3rem 0.55rem; border-radius: 999px; color: var(--ink-body); transition: color .2s ease, background .2s ease; }
.lang-switch a.active { background: var(--ink-black); color: #f4f7f3; }
.lang-switch a:not(.active):hover { color: var(--green-ink); }
@media (max-width: 760px) { .nav-links { display: none; } .nav .brand { font-size: 0.9rem; } .nav .brand img { width: 26px; height: 26px; } }

/* hero / sections */
.page-hero { padding: 9rem 0 2.5rem; }
.eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--green-ink); display: inline-flex; align-items: center; gap: 0.6rem; }
.eyebrow::before { content: ''; width: 26px; height: 1px; background: rgba(10,20,16,0.25); }
h1.page-title { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 500; letter-spacing: -0.045em; line-height: 1.02; margin: 1rem 0 1rem; color: var(--ink-black); max-width: 18ch; }
h1.page-title em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.lede { font-size: 1.12rem; color: var(--ink-body); max-width: 60ch; margin: 0 0 1.75rem; }
section { padding: 1.5rem 0; }
h2.section-h { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.03em; color: var(--ink-black); margin: 0 0 1rem; }
h2.section-h em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.prose p { font-size: 1.02rem; margin: 0 0 1rem; max-width: 64ch; }
.prose p em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--ink-black); }

/* buttons */
.btn-row { display: inline-flex; gap: 0.7rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.72rem 1.3rem; border-radius: 999px; font-size: 0.92rem; font-weight: 500; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: scale(1.03); }
.btn-primary { background: var(--green); color: #052013; font-weight: 600; box-shadow: 0 0 0 1px rgba(17,156,85,0.35), 0 6px 18px rgba(127,230,168,0.22); }
.btn-primary:hover { background: #92ecb6; }
.btn-ghost { background: rgba(10,20,16,0.05); color: var(--ink-black); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.1); }
.btn-ghost:hover { background: rgba(10,20,16,0.09); }

/* checklist */
.checklist { list-style: none; padding: 0; margin: 0.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1.5rem; max-width: 720px; }
.checklist li { position: relative; padding-left: 1.7rem; font-size: 0.98rem; }
.checklist li::before { content: ''; position: absolute; left: 0; top: 0.45rem; width: 0.7rem; height: 0.7rem; border-radius: 999px; background: var(--green-ink); box-shadow: 0 0 0 3px rgba(15,145,80,0.16); }
@media (max-width: 600px) { .checklist { grid-template-columns: 1fr; } }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.5rem; }
.step { background: var(--paper-alt); border-radius: 1.25rem; padding: 1.5rem 1.4rem; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.step .num { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--green-ink); }
.step h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink-black); margin: 0.5rem 0 0.4rem; }
.step p { font-size: 0.92rem; color: var(--ink-body); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* example image grid (placeholders to replace with real images) */
.example-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 0.5rem; }
.ex { position: relative; aspect-ratio: 4 / 3; border-radius: 1.1rem; overflow: hidden; background:
  repeating-linear-gradient(135deg, rgba(10,24,16,0.04) 0 2px, transparent 2px 14px),
  linear-gradient(140deg, #dcefe3, #bfe4cf);
  display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.ex img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex .ph { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(10,24,16,0.4); }
.ex.tall { aspect-ratio: 9 / 16; }
@media (max-width: 760px) { .example-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .example-grid { grid-template-columns: 1fr; } }

/* stats (studio page) */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-top: 0.5rem; }
.stat-box { background: var(--paper-alt); border-radius: 1.25rem; padding: 1.4rem 1.2rem; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.stat-box .big { font-size: 2.2rem; font-weight: 600; letter-spacing: -0.04em; color: var(--ink-black); line-height: 1; }
.stat-box .big em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.stat-box .lbl { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); margin-top: 0.5rem; }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr 1fr; } }

/* dark CTA band */
.cta-band { margin: 2rem 0 0; border-radius: 2rem; padding: 3rem 2rem; text-align: center; background: linear-gradient(160deg, #0c1611 0%, #0a1f14 60%, #0c2a1a 100%); box-shadow: 0 24px 64px rgba(8,24,16,0.25); }
.cta-band .eyebrow { color: var(--green); justify-content: center; }
.cta-band .eyebrow::before { background: rgba(255,255,255,0.25); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 500; letter-spacing: -0.04em; color: #f4f7f3; margin: 0.8rem auto 0.6rem; max-width: 20ch; }
.cta-band h2 em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green); font-weight: 400; }
.cta-band p { color: rgba(244,247,243,0.7); max-width: 48ch; margin: 0 auto 1.6rem; }
.cta-band .btn-ghost { background: rgba(255,255,255,0.08); color: #f4f7f3; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,0.14); }

/* cross-links to other services */
.more-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.75rem; }
.more-card { display: block; padding: 1.1rem 1.2rem; border-radius: 1rem; background: var(--paper-alt); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); transition: transform .25s ease, box-shadow .25s ease; }
.more-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(15,145,80,0.28), 0 10px 24px rgba(10,24,16,0.08); }
.more-card .mc-t { font-weight: 600; color: var(--ink-black); letter-spacing: -0.02em; }
.more-card .mc-a { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-ink); }
@media (max-width: 760px) { .more-services { grid-template-columns: 1fr; } }

/* media + body two-column (studio) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.split .media { aspect-ratio: 4 / 5; border-radius: 1.5rem; overflow: hidden; background:
  repeating-linear-gradient(135deg, rgba(10,24,16,0.04) 0 2px, transparent 2px 16px),
  linear-gradient(140deg, #dcefe3, #bfe4cf); display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.split .media img { position: relative; width: 100%; height: 100%; object-fit: cover; }
.split .media .ph { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(10,24,16,0.4); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ===== FAQ page (boxed card accordion) ===== */
.faq-wrap { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.faq-head { text-align: center; padding: 8.5rem 0 0; }
.faq-head .eyebrow { justify-content: center; }
.faq-head .eyebrow::before { display: none; }
.faq-head h1 { max-width: none; margin: 1rem auto 0.85rem; }
.faq-head .lede { margin: 0 auto; }

/* search + filter — hidden until JS enhances (no dead controls without JS) */
.faq-controls { display: none; flex-direction: column; gap: 1rem; margin-top: 2.25rem; }
.faq-search { position: relative; display: flex; align-items: center; }
.faq-search .ic { position: absolute; left: 1.15rem; width: 19px; height: 19px; color: var(--ink-muted); pointer-events: none; }
.faq-search input { width: 100%; height: 56px; padding: 0 4.5rem 0 3.1rem; border: none; border-radius: 16px; font-family: inherit; font-size: 1rem; color: var(--ink-black); background: #fff; box-shadow: 0 1px 3px rgba(10,24,16,0.04), 0 8px 24px rgba(10,24,16,0.06); transition: box-shadow .2s ease; }
.faq-search input::placeholder { color: var(--ink-muted); }
.faq-search input:focus { outline: none; box-shadow: inset 0 0 0 1.5px rgba(15,145,80,0.5), 0 0 0 4px rgba(15,145,80,0.12); }
.faq-search kbd { position: absolute; right: 1rem; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--ink-muted); background: var(--paper-alt); padding: 0.25rem 0.55rem; border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.1); }
.faq-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; justify-content: center; }
.faq-pills .lbl { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); margin-right: 0.2rem; }
.faq-pill { font-size: 0.85rem; font-weight: 500; color: var(--ink-body); padding: 0.5rem 1.05rem; border: none; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.12); transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
.faq-pill:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(15,145,80,0.35); color: var(--ink-black); }
.faq-pill.active { color: #f4f7f3; background: var(--ink-black); box-shadow: none; }

/* the boxes */
.faq-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.75rem; }
.faq-noresult { display: none; text-align: center; color: var(--ink-muted); padding: 2rem 0; }
details.faq-card { background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(10,24,16,0.04), 0 12px 32px rgba(10,24,16,0.07); transition: transform .25s ease, box-shadow .25s ease; overflow: hidden; scroll-margin-top: 6rem; }
details.faq-card:hover { transform: translateY(-2px); box-shadow: 0 3px 8px rgba(10,24,16,0.06), 0 20px 48px rgba(10,24,16,0.12); }
summary.faq-summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.35rem 1.55rem; }
summary.faq-summary::-webkit-details-marker { display: none; }
summary.faq-summary:focus-visible { outline: 2px solid #0f9150; outline-offset: -4px; border-radius: 16px; }
.faq-q { font-size: clamp(1.02rem, 2vw, 1.18rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.4; color: var(--ink-black); margin: 0; transition: color .2s ease; }
.faq-q em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
summary.faq-summary:hover .faq-q { color: var(--green-ink); }
/* + button → green − when open */
.faq-icon { flex: 0 0 auto; position: relative; width: 30px; height: 30px; border-radius: 999px; background: var(--paper-alt); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.08); transition: background .25s ease, box-shadow .25s ease; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 13px; height: 2px; border-radius: 2px; background: var(--ink-body); transform: translate(-50%,-50%); transition: opacity .25s ease, background .25s ease; }
.faq-icon::after { transform: translate(-50%,-50%) rotate(90deg); }
summary.faq-summary:hover .faq-icon { background: rgba(15,145,80,0.12); }
summary.faq-summary:hover .faq-icon::before, summary.faq-summary:hover .faq-icon::after { background: var(--green-ink); }
details.faq-card[open] .faq-icon { background: var(--green-ink); box-shadow: none; }
details.faq-card[open] .faq-icon::before, details.faq-card[open] .faq-icon::after { background: #fff; }
details.faq-card[open] .faq-icon::after { opacity: 0; }
/* answer opens inside the box */
.faq-a { overflow: hidden; }
.faq-a-inner { padding: 0 1.55rem 1.45rem; color: var(--ink-body); }
.faq-a-inner p { font-size: 0.98rem; line-height: 1.6; margin: 0 0 0.7rem; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); }
.faq-a-inner a { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }
.faq-a-inner ul { list-style: none; padding: 0; margin: 0.4rem 0 0.7rem; display: grid; gap: 0.5rem; }
.faq-a-inner li { position: relative; padding-left: 1.5rem; font-size: 0.95rem; }
.faq-a-inner li::before { content: ''; position: absolute; left: 0; top: 0.5rem; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--green-ink); box-shadow: 0 0 0 3px rgba(15,145,80,0.16); }
.faq-a-inner { animation: faqReveal .3s ease; }
@keyframes faqReveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) { .faq-head { padding-top: 7.5rem; } summary.faq-summary { padding: 1.1rem 1.2rem; } .faq-a-inner { padding: 0 1.2rem 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .faq-a-inner { animation: none; } }

/* ===== Blog article (The Cut) ===== */
.post-wrap { max-width: 740px; margin: 0 auto; padding: 0 1.5rem; }
.post-hero { padding: 8.5rem 0 0.5rem; }
.post-kicker { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-ink); }
.post-kicker a { color: var(--green-ink); }
.post-kicker a:hover { text-decoration: underline; text-underline-offset: 3px; }
.post-kicker .sep { opacity: 0.4; }
h1.post-title { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1.08; color: var(--ink-black); margin: 1rem 0 0.9rem; }
h1.post-title em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.post-standfirst { font-size: 1.12rem; line-height: 1.6; color: var(--ink-body); margin: 0 0 1.4rem; }
.post-meta { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; padding: 0.9rem 0 1.6rem; border-bottom: 1px solid rgba(10,24,16,0.1); font-size: 0.82rem; color: var(--ink-muted); }
.post-meta .avatar { width: 34px; height: 34px; border-radius: 999px; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.12); }
.post-meta .who { display: flex; flex-direction: column; line-height: 1.3; }
.post-meta .who .name { font-weight: 600; color: var(--ink-black); font-size: 0.86rem; }
.post-meta .dot { opacity: 0.45; }
.post-body { padding: 1.6rem 0 0.5rem; }
.post-body h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; color: var(--ink-black); margin: 2.2rem 0 0.8rem; }
.post-body h2 em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.post-body h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-black); margin: 1.7rem 0 0.55rem; }
.post-body p { font-size: 1.02rem; line-height: 1.72; color: var(--ink-body); margin: 0 0 1.05rem; }
.post-body strong { color: var(--ink-black); font-weight: 600; }
.post-body em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); }
.post-body ul { list-style: none; padding: 0; margin: 0.4rem 0 1.2rem; display: grid; gap: 0.55rem; }
.post-body li { position: relative; padding-left: 1.5rem; font-size: 0.99rem; line-height: 1.6; color: var(--ink-body); }
.post-body li::before { content: ''; position: absolute; left: 0; top: 0.55rem; width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--green-ink); box-shadow: 0 0 0 3px rgba(15,145,80,0.16); }
.post-body blockquote { margin: 1.6rem 0; padding: 1.1rem 1.4rem; border-left: 3px solid var(--green-ink); background: var(--paper-alt); border-radius: 0 1rem 1rem 0; font-family: 'Source Serif 4', serif; font-style: italic; font-size: 1.08rem; color: var(--ink-black); }
.post-fig { margin: 1.9rem 0; }
.post-fig .frame { position: relative; aspect-ratio: 16 / 9; border-radius: 1.25rem; overflow: hidden; display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(10,24,16,0.04) 0 2px, transparent 2px 14px), linear-gradient(140deg, #dcefe3, #bfe4cf); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.post-fig .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-fig .frame .ph { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(10,24,16,0.4); }
.post-fig figcaption { margin-top: 0.55rem; font-size: 0.8rem; color: var(--ink-muted); text-align: center; }
.post-faq { padding: 0.5rem 0 0; }
.post-faq .faq-h { font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 600; letter-spacing: -0.025em; color: var(--ink-black); margin: 2rem 0 0.4rem; }
.post-faq .faq-h em { font-family: 'Source Serif 4', serif; font-style: italic; color: var(--green-ink); font-weight: 400; }
.post-back { display: inline-flex; align-items: center; gap: 0.5rem; margin: 2.2rem 0 0; font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-body); padding: 0.55rem 1.05rem; border-radius: 999px; background: var(--paper-alt); box-shadow: inset 0 0 0 1px rgba(10,24,16,0.1); transition: color .2s ease, box-shadow .2s ease, transform .2s ease; }
.post-back:hover { color: var(--green-ink); transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(15,145,80,0.3); }
@media (max-width: 600px) { .post-hero { padding-top: 7.5rem; } }

/* article table of contents */
.post-toc { margin: 1.7rem 0 0.3rem; padding: 1.15rem 1.35rem 1.3rem; background: var(--paper-alt); border-radius: 1.1rem; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.07); }
.post-toc .toc-label { font-family: 'JetBrains Mono', monospace; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 0.65rem; }
.post-toc ol { margin: 0; padding: 0 0 0 1.25rem; display: grid; gap: 0.4rem; }
.post-toc li { font-size: 0.94rem; line-height: 1.5; color: var(--ink-body); }
.post-toc a { color: var(--ink-body); transition: color .15s ease; }
.post-toc a:hover { color: var(--green-ink); text-decoration: underline; text-underline-offset: 3px; }
.post-body h2[id], .post-faq[id] { scroll-margin-top: 6rem; }

/* article comparison table */
.post-body .tbl-wrap { margin: 1.6rem 0; overflow-x: auto; border-radius: 1rem; box-shadow: inset 0 0 0 1px rgba(10,24,16,0.08); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.5; background: #fff; }
.post-body th { text-align: left; font-weight: 600; color: var(--ink-black); background: var(--paper-alt); padding: 0.8rem 1rem; border-bottom: 1px solid rgba(10,24,16,0.1); }
.post-body td { padding: 0.75rem 1rem; color: var(--ink-body); border-bottom: 1px solid rgba(10,24,16,0.06); vertical-align: top; }
.post-body tr:last-child td { border-bottom: none; }
.post-body th:first-child, .post-body td:first-child { font-weight: 500; color: var(--ink-black); }

/* footer */
footer { border-top: 1px solid rgba(10,24,16,0.1); margin-top: 3rem; }
.foot { max-width: 1080px; margin: 0 auto; padding: 2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-muted); }
.foot .left { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot a:hover { color: var(--green-ink); }
.foot a.inline { color: var(--green-ink); text-decoration: underline; text-underline-offset: 2px; }

/* cookie banner */
.cookie-banner { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 300; width: min(680px, calc(100% - 2rem)); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: space-between; padding: 0.85rem 1.1rem; border-radius: 1rem; background: rgba(10,20,16,0.92); color: #eef4ef; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.10); font-size: 0.82rem; line-height: 1.45; transition: opacity .35s ease, transform .35s ease; }
.cookie-banner[hidden] { display: none; }
.cookie-banner.hide { opacity: 0; transform: translateX(-50%) translateY(18px); pointer-events: none; }
.cookie-banner a { color: #7fe6a8; text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner .cookie-text { flex: 1 1 320px; }
.cookie-accept { flex: 0 0 auto; padding: 0.5rem 1.15rem; border-radius: 999px; background: #7fe6a8; color: #052013; font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.cookie-accept:hover { transform: scale(1.04); background: #92ecb6; }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; text-align: left; } .cookie-accept { width: 100%; } }

/* accessibility */
.skip-link { position: fixed; top: 0.6rem; left: 0.6rem; z-index: 1000; padding: 0.6rem 1rem; border-radius: 0.6rem; background: #0a1410; color: #fff; font-size: 0.85rem; font-weight: 500; transform: translateY(-160%); transition: transform .2s ease; }
.skip-link:focus { transform: none; outline: 2px solid #7fe6a8; }
a:focus-visible, button:focus-visible, [tabindex]:focus-visible { outline: 2px solid #0f9150; outline-offset: 2px; border-radius: 4px; }
