/* FoxTail Labs Software: site styles */
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("/assets/fonts/instrument.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #FCF6EE;
  --cream: #FAEFE2;
  --ink: #1B2226;
  --slate: #4A5559;
  --fox: #DE5414;
  --fox-ink: #A63C0A;
  --line: #E7D7C4;
  --ink-soft: #2A3439;
  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --text: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --wrap: 1160px;
  --gap: clamp(20px, 3vw, 32px);
  --section: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--fox-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fox); outline-offset: 3px; border-radius: 4px; }
p { margin: 0 0 1em; max-width: 66ch; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); margin: 0 0 .5em; line-height: 1.08; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); font-weight: 750; letter-spacing: -0.035em; max-width: 14ch; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); max-width: 22ch; }
h3 { font-size: 1.375rem; letter-spacing: -0.01em; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--slate); max-width: 52ch; }
.muted { color: var(--slate); }
.small { font-size: .9375rem; }

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; border: 2px solid var(--fox); background: var(--fox); color: var(--ink); font: 600 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { background: #E8692E; border-color: #E8692E; text-decoration: none; }
.btn-quiet { background: transparent; border-color: var(--ink); color: var(--ink); min-height: 40px; padding: 0 16px; }
.btn-quiet:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }
.text-link { font-weight: 600; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 246, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand img { width: 190px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a[data-nav] { color: var(--ink); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav a[data-nav]:hover { border-bottom-color: var(--line); }
.site-nav a[aria-current="page"] { border-bottom-color: var(--fox); }
.menu-toggle { display: none; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 10px; background: transparent; font: 600 .95rem var(--text); color: var(--ink); cursor: pointer; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gap) 20px; background: var(--paper); border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a[data-nav] { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--fox-ink); }
  .site-nav .btn { margin-top: 16px; }
  .brand img { width: 160px; }
}

/* Sections */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .section-head { grid-template-columns: 1fr; } }
.band { background: var(--cream); border-block: 1px solid var(--line); }
.band.section + .section, .section + .section.band { padding-top: var(--section); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(16px, 3vw, 32px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .lead { margin-top: 20px; }
.hero-note { margin-top: 18px; font-size: .9375rem; color: var(--slate); }

/* Full-width video hero */
.hero-video { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--cream); min-height: clamp(520px, 78vh, 760px); display: flex; align-items: center; padding-block: clamp(72px, 10vw, 128px); }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 34, 38, .94) 0%, rgba(27, 34, 38, .82) 38%, rgba(27, 34, 38, .35) 75%, rgba(27, 34, 38, .25) 100%), linear-gradient(0deg, rgba(27, 34, 38, .55), transparent 35%); }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; display: block; }
.hero-inner { position: relative; }
.hero-video h1 { color: var(--cream); }
.hero-video .lead { color: rgba(250, 239, 226, .82); margin-top: 20px; }
.brand-word { color: var(--fox); font-weight: 700; font-size: 1.18em; }
.lead-em { color: var(--cream); font-weight: 700; }
.btn-ghost { background: transparent; border-color: rgba(250, 239, 226, .7); color: var(--cream); }
.btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
@media (max-width: 760px) { .hero-media::after { background: linear-gradient(0deg, rgba(27, 34, 38, .92) 10%, rgba(27, 34, 38, .7) 100%); } .hero-bg { object-position: 80% 50%; } }

/* Portal preview (the hero's centrepiece) */
.portal-preview { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 22px; box-shadow: 0 24px 60px -24px rgba(27, 34, 38, .45); position: relative; }
.pp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid rgba(250, 239, 226, .14); }
.pp-top strong { font: 700 1.05rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--cream); }
.pp-top span { font-size: .8125rem; color: rgba(250, 239, 226, .65); }
.pp-top .pp-badge { font-size: .8125rem; font-weight: 600; color: var(--ink); background: var(--cream); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.phases { list-style: none; margin: 18px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; counter-reset: phase; }
.phases li { counter-increment: phase; font-size: .75rem; color: rgba(250, 239, 226, .6); }
.phases li::before { content: ""; display: block; height: 6px; border-radius: 3px; background: rgba(250, 239, 226, .16); margin-bottom: 8px; }
.phases li.done::before { background: var(--cream); }
.phases li.now::before { background: var(--fox); }
.phases li.now { color: var(--cream); font-weight: 600; }
.pp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pp-card { background: var(--ink-soft); border-radius: 12px; padding: 14px 16px; }
.pp-card h3 { font: 600 .8125rem/1.3 var(--text); letter-spacing: 0; color: rgba(250, 239, 226, .65); margin: 0 0 8px; }
.pp-card p { margin: 0; font-size: .9375rem; line-height: 1.45; color: var(--cream); }
.pp-card .pp-meta { margin-top: 10px; font-size: .78rem; color: rgba(250, 239, 226, .55); }
.pp-files { list-style: none; padding: 0; margin: 0; font-size: .875rem; }
.pp-files li { white-space: nowrap; display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid rgba(250, 239, 226, .1); }
.pp-files li:first-child { border-top: 0; padding-top: 0; }
.pp-files span { color: rgba(250, 239, 226, .55); }
.pp-bill { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pp-bill p { font-size: .9375rem; }
.pp-paid { font-size: .8125rem; font-weight: 600; color: #9BD3A4; white-space: nowrap; }
.pp-caption { margin: 12px 4px 0; font-size: .8125rem; color: var(--slate); }
@media (max-width: 520px) { .pp-grid { grid-template-columns: 1fr; } .phases li { font-size: 0; } }

/* Service rows */
.service-list { border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--gap); padding: 28px 0; border-bottom: 1px solid var(--line); }
.service h3 { margin: 0; }
.service p { margin: 0 0 10px; color: var(--slate); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 12px 0 0; padding: 0; }
.tags li { font-size: .8125rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); }
.band .tags li { background: var(--paper); }
@media (max-width: 760px) { .service { grid-template-columns: 1fr; gap: 8px; } }

/* Product features */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.product + .product { margin-top: clamp(56px, 8vw, 96px); }
.product.flip .product-copy { order: 2; }
@media (max-width: 880px) { .product { grid-template-columns: 1fr; } .product.flip .product-copy { order: 0; } }
.product-kind { font-size: .9375rem; font-weight: 600; color: var(--fox-ink); margin: 0 0 10px; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; max-width: 58ch; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--fox); border-bottom: 2.5px solid var(--fox); transform: rotate(-45deg); }

/* App mockups (illustrations, not screenshots) */
.mock { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; box-shadow: 0 18px 40px -28px rgba(27, 34, 38, .4); font-size: .8125rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--cream); border-bottom: 1px solid var(--line); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar span { margin-left: 10px; color: var(--slate); font-size: .75rem; }
.mock-body { padding: 16px; display: grid; gap: 12px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stat { background: var(--paper); border-radius: 10px; padding: 10px 12px; }
.mock-stat b { display: block; font: 700 1.15rem/1.2 var(--display); color: var(--ink); }
.mock-stat small { color: var(--slate); }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { text-align: left; font-weight: 600; color: var(--slate); padding: 6px 8px; border-bottom: 1px solid var(--line); }
.mock-table td { padding: 8px; border-bottom: 1px solid #F1E6D8; color: var(--ink); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.pill.due { background: #FDE3D3; color: #8A3208; }
.pill.paid { background: #DDF0E0; color: #24603A; }
.pill.transit { background: #E1ECF5; color: #23506F; }
.pill.late { background: #FBE0DE; color: #8E2A22; }
.mock-caption { margin: 10px 2px 0; font-size: .8125rem; color: var(--slate); }

/* Process steps (a real sequence, so numbered) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.steps li { counter-increment: step; padding: 22px 24px 26px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); display: block; font: 700 2rem/1 var(--display); color: var(--fox); margin-bottom: 10px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--slate); font-size: 1rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }
.work-item { display: flex; flex-direction: column; padding: 28px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line); }
.work-item.live { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.work-item.live h3, .work-item.live a { color: var(--cream); }
.work-item.live p { color: rgba(250, 239, 226, .78); }
.work-item p { color: var(--slate); }
.work-item .product-kind { margin-bottom: 6px; }
.work-item.live .product-kind { color: #F2A47E; }
.work-item .text-link { margin-top: auto; padding-top: 8px; }
.work-shot { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin: -28px -28px 24px; border-radius: 13px 13px 0 0; border-bottom: 1px solid var(--line); }
.work-item.live .work-shot { border-bottom-color: rgba(250, 239, 226, .12); }
.work-shot.pixel { image-rendering: pixelated; }

/* CTA band */
.cta { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 4vw, 48px); align-items: center; }
.cta img { width: 88px; }
.cta h2 { margin-bottom: 6px; max-width: none; }
.cta p { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } .cta img { width: 64px; } }

/* Page header (inner pages) */
.page-head { padding-block: clamp(48px, 7vw, 88px) clamp(32px, 5vw, 56px); }
.page-head h1 { max-width: 18ch; }
.page-head .lead { margin-top: 16px; }
.crumbs { font-size: .9375rem; margin-bottom: 18px; }
.crumbs a { color: var(--slate); }

/* Two-column prose */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--gap); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.updated { color: var(--slate); font-size: .9375rem; }

/* Facts list */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin: 0; }
.facts div { border-top: 2px solid var(--ink); padding-top: 14px; }
.facts dt { font: 700 1.15rem/1.3 var(--display); margin-bottom: 6px; }
.facts dd { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr; } }

/* Form */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 880px) { .form-grid { grid-template-columns: 1fr; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .9375rem; }
label .opt { font-weight: 400; color: var(--slate); }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #CDBBA6; border-radius: 10px; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus { outline: 3px solid rgba(222, 84, 20, .35); outline-offset: 0; border-color: var(--fox); }
textarea { min-height: 160px; resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 14px 16px; border-radius: 10px; display: none; }
.form-status.ok { display: block; background: #DDF0E0; color: #1E4F30; }
.form-status.err { display: block; background: #FBE0DE; color: #7A231C; }
.aside-box { background: var(--cream); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.aside-box h2 { font-size: 1.35rem; }
.aside-box ol { padding-left: 1.2em; margin: 0 0 1em; }
.aside-box li { margin-bottom: .5em; color: var(--slate); }

/* Footer */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); }
.footer-brand img { width: 200px; margin-bottom: 14px; }
.footer-brand p { color: var(--slate); max-width: 36ch; }
.footer-nav { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr); gap: var(--gap); }
.footer-nav h2 { font: 600 .9375rem/1.4 var(--text); letter-spacing: 0; color: var(--slate); margin: 0 0 10px; }
.footer-nav a { display: block; color: var(--ink); text-decoration: none; padding: 4px 0; overflow-wrap: anywhere; }
.footer-nav a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; padding: 28px 0; margin-top: 40px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--slate); }
.footer-base p { margin: 0; }
.footer-base a { color: var(--slate); }
@media (max-width: 760px) { .footer-grid, .footer-nav { grid-template-columns: 1fr; } }

/* 404 */
.notfound { text-align: left; }
.notfound img { width: 120px; margin-bottom: 24px; }

/* Utilities (no inline styles, so the CSP can stay strict) */
.fig { margin: 0; }
.flush { margin: 0; }
.after-list { margin-top: 24px; }
.btn-start { justify-self: start; }
.product-name { font-size: 2rem; }
.section.section-tight { padding-top: 0; }
.form-note { grid-column: 1 / -1; }

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq-item { border: 1px solid var(--line); border-radius: 12px; background: var(--cream); padding: 0 22px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-family: var(--display); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--fox); font-size: 1.5rem; line-height: 1; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item summary:focus-visible { outline: 2px solid var(--fox); outline-offset: 4px; border-radius: 4px; }
.faq-item p { margin: 0 0 20px; color: var(--slate); }
.portal-support { margin-top: 18px; color: var(--slate); max-width: 52ch; }
.aside-stack { display: grid; gap: 20px; align-content: start; }
.aside-box ul { padding-left: 1.2em; margin: 0; }
.support-hours { margin: 0 0 1em; color: var(--ink); }

/* Services page: jump links */
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.jump a { font-size: .9375rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px; transition: background .15s, color .15s; }
.jump a:hover { background: var(--ink); color: var(--paper); }
[id] { scroll-margin-top: 88px; }

/* Services page: core service cards */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.svc-card { position: relative; display: flex; flex-direction: column; padding: 28px 28px 24px; background: var(--cream); border: 1px solid var(--line); border-radius: 14px; border-top: 4px solid var(--fox); }
.svc-num { font: 700 .875rem/1 var(--display); color: var(--fox-ink); letter-spacing: .04em; margin-bottom: 14px; }
.svc-card h3 { font-size: 1.35rem; margin-bottom: 10px; }
.svc-card p { margin: 0 0 10px; color: var(--slate); }
.svc-card .svc-fit { font-size: .9375rem; color: var(--ink); padding-left: 12px; border-left: 2px solid var(--line); margin-top: 4px; }
.svc-card .tags { margin-top: auto; padding-top: 12px; }
.svc-card .tags li { background: var(--paper); }
@media (max-width: 760px) { .svc-grid { grid-template-columns: 1fr; } }

/* Services page: upgrade cards (dropdowns) */
.up-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 16px; align-items: start; }
.up-card[open] { grid-column: 1 / -1; }
@media (max-width: 980px) { .up-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .up-grid { grid-template-columns: 1fr; } }
.up-card { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .15s; }
.up-card:hover { border-color: #D9BFA3; }
.up-card[open] { border-color: var(--fox); box-shadow: 0 18px 40px -30px rgba(27, 34, 38, .45); }
.up-card summary { list-style: none; cursor: pointer; display: grid; gap: 6px; padding: 22px 52px 22px 22px; position: relative; }
.up-card summary::-webkit-details-marker { display: none; }
.up-card summary::after { content: ""; position: absolute; right: 22px; top: 26px; width: 10px; height: 10px; border-right: 2.5px solid var(--fox); border-bottom: 2.5px solid var(--fox); transform: rotate(45deg); transition: transform .2s; }
.up-card[open] summary::after { transform: rotate(-135deg); top: 31px; }
.up-card summary:focus-visible { outline: 3px solid var(--fox); outline-offset: 2px; border-radius: 14px; }
.up-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fox-ink); }
.up-title { font: 700 1.2rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.up-hook { font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.up-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px var(--gap); margin: 0 22px; padding: 18px 0 24px; border-top: 1px solid var(--line); }
.up-body .up-note { grid-column: 1 / -1; }
@media (max-width: 640px) { .up-body { grid-template-columns: 1fr; } }
.up-body h4 { font: 600 .8125rem/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 14px 0 8px; }
.up-body h4 { margin-top: 0; }
.up-note { justify-self: start; margin: 0 0 10px; font-size: .9375rem; font-weight: 600; color: #8A3208; background: #FDE3D3; border-radius: 10px; padding: 10px 12px; }
.up-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.up-list li { position: relative; padding-left: 18px; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.up-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--fox); }

/* Services page: industries */
.ind-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.ind-chips a { font-size: .875rem; font-weight: 600; color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); }
.ind-chips a:hover { border-color: var(--fox); color: var(--fox-ink); }
.ind-list { display: grid; gap: 12px; }
.ind { border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s; }
.ind:hover { border-left-color: #E9A67F; }
.ind[open] { border-left-color: var(--fox); }
.ind summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 20px 56px 20px 24px; position: relative; }
.ind summary::-webkit-details-marker { display: none; }
.ind summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--fox); font: 400 1.6rem/1 var(--text); }
.ind[open] summary::after { content: "\2013"; }
.ind summary:focus-visible { outline: 3px solid var(--fox); outline-offset: 2px; border-radius: 10px; }
.ind-name { font: 700 1.2rem/1.25 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.ind-who { font-size: .9375rem; color: var(--slate); }
.ind-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); padding: 20px 24px 26px; margin: 0 24px; padding-inline: 0; border-top: 1px solid var(--line); }
.ind-body h4 { font: 600 .8125rem/1.3 var(--text); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); margin: 0 0 12px; }
.ind-body .checks { margin: 0; gap: 9px; }
.ind-body .checks li { font-size: .9375rem; line-height: 1.5; }
@media (max-width: 760px) { .ind-body { grid-template-columns: 1fr; } }
