/* Palmer Electric — Launch. Tokens from their logo: lime starburst + black lettering. Lime is a fill, never text on light. */
@font-face { font-family: 'Big Shoulders Display'; src: url(../fonts/big-shoulders.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Hanken Grotesk'; src: url(../fonts/hanken.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Cond Fallback'; src: local('Arial Narrow'), local('Arial'); size-adjust: 78%; ascent-override: 100%; }

:root {
  --ink: #141712; --ink-2: #23271F; --lime: #8DC63F; --lime-d: #7AB02F; --lime-ink: #3F5F12;
  --paper: #F3F4EE; --white: #FFFFFF; --stone: #E4E6DC; --line: #D8DBCE;
  --muted: #4B5045; --on-ink: #E6E9DF; --on-ink-2: #B4BAA9;
  --display: 'Big Shoulders Display', 'Cond Fallback', 'Arial Narrow', sans-serif;
  --body: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 8px; --r-media: 12px;
  --ease-out: cubic-bezier(.16, 1, .3, 1); --spring: cubic-bezier(.34, 1.4, .64, 1);
  --pad: clamp(20px, 5vw, 56px); --sec: clamp(64px, 9vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .98; letter-spacing: 0; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 5vw, 3.75rem); }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--r); z-index: 100; font-weight: 600; }
.skip:focus { top: 12px; }
.i { width: 1.2em; height: 1.2em; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 .82rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 4px; border-radius: 2px; background: var(--lime); }
.mini-h { font: 700 .82rem/1.2 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }

/* Buttons — CSS springs on press */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.4em; border-radius: var(--r); border: 0;
  font: 700 1.0625rem/1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--spring), background-color .2s ease-out, box-shadow .2s ease-out, color .2s ease-out; }
.btn:active { transform: scale(.97); transition-duration: .12s; }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(20, 23, 18, .12), 0 6px 18px -10px rgba(63, 95, 18, .8); }
.btn-lime:hover { background: var(--lime-d); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-line-light { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); }
.btn-sm { min-height: 44px; padding: 0 1.1em; font-size: 1rem; }
.btn-wide { width: 100%; }
@media (hover: hover) { .btn:hover { transform: translateY(-1px); } .btn:active { transform: scale(.97); } }
.link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; font-weight: 700; color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 3px; text-underline-offset: .3em; }
.link .i { transition: transform .35s var(--spring); }
.link:hover .i { transform: translateX(4px); }

/* Header — paper, logo on light (its black lettering needs a light ground) */
.site-header { background: var(--paper); position: relative; z-index: 20; border-top: 5px solid var(--lime); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 16px; }
.brand { display: flex; align-items: center; min-height: 44px; padding: 6px 0; }
.brand img { width: 88px; height: 60px; }
@media (min-width: 960px) { .brand img { width: 108px; height: 74px; } .hdr { min-height: 92px; } }
.nav { display: none; align-items: center; gap: 4px; }
.nav a:not(.btn) { text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; border-radius: 6px; transition: background-color .2s ease-out; }
.nav a:not(.btn):hover { background: var(--stone); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--lime); border-radius: 0; }
.nav .tel { margin-left: 8px; font-variant-numeric: tabular-nums; }
.nav .btn { margin-left: 8px; }
.burger { width: 48px; height: 48px; border: 0; background: transparent; color: var(--ink); cursor: pointer; display: grid; place-items: center; border-radius: 8px; }
.burger i, .burger i::before, .burger i::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .3s var(--ease-out), opacity .2s; }
.burger i::before, .burger i::after { content: ''; position: absolute; left: 0; }
.burger i::before { top: -7px; } .burger i::after { top: 7px; }
.burger[aria-expanded="true"] i { background: transparent; }
.burger[aria-expanded="true"] i::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] i::after { transform: translateY(-7px) rotate(-45deg); }
.mnav { background: var(--paper); border-top: 1px solid var(--line); padding: 8px 0 24px; }
.mnav a { display: flex; align-items: center; min-height: 52px; font: 800 1.75rem/1 var(--display); text-decoration: none; }
.mnav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 4px; text-underline-offset: .2em; }
.mnav-meta { margin: 12px 0 0; color: var(--muted); }
.mnav-meta a { display: inline-flex; min-height: 44px; font: 700 1.05rem var(--body); }
@media (min-width: 960px) { .nav { display: flex; } .burger, .mnav { display: none !important; } }

/* Hero — still photo: their truck, restored and graded B&W, sitting on the paper ground */
.hero { background: var(--paper); overflow: hidden; }
.hero-grid { display: grid; }
.hero-img { margin: 0 calc(var(--pad) * -1); order: -1; position: relative; }
.hero-img img { width: 100%; mix-blend-mode: multiply; aspect-ratio: 1600 / 852; object-fit: cover; }
.hero-img::after { content: ''; position: absolute; left: var(--pad); right: 30%; bottom: 0; height: 6px; border-radius: 3px; background: var(--lime); }
.hero-copy { padding: 14px 0 32px; }
.hero h1 { font-size: clamp(2.7rem, 11.5vw, 6rem); line-height: .92; max-width: 12ch; margin-bottom: .3em; }
.hero-sub { color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.2rem); max-width: 44ch; margin-bottom: 1.4em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .eyebrow { margin-bottom: 12px; }
@media (max-width: 767px) {
  .hero-cta .btn { flex: 1 1 0; padding: 0 .7em; font-size: 1rem; }
  .hero-cta .btn .i { display: none; }
}
@media (min-width: 768px) and (max-width: 1099px) { .hero-img { margin: 0; } .hero-img::after { left: 0; } .hero-copy { padding-top: 24px; } }
@media (min-width: 1100px) {
  .hero-grid { grid-template-columns: minmax(0, 46fr) minmax(0, 54fr); align-items: center; gap: 24px; min-height: min(calc(100svh - 98px), 700px); padding-top: 24px; padding-bottom: 40px; }
  .hero-img { order: 0; margin: 0 calc(var(--pad) * -1) 0 0; }
  .hero-img::after { left: 6%; right: 18%; bottom: -14px; }
  .hero-copy { padding: 0; }
  .hero h1 { font-size: clamp(4.6rem, 6.4vw, 6.4rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .fade-in { animation: fadeIn .9s var(--ease-out) .1s both; }
  @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } }
}

/* Trust strip */
.trust { background: var(--ink); color: var(--on-ink-2); }
.trust-list { list-style: none; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 24px; padding-bottom: 24px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; line-height: 1.35; }
.trust-list b { display: block; color: var(--white); font-weight: 700; font-size: 1rem; }
.trust-list a { color: var(--on-ink); display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.trust-list .i { color: var(--lime); width: 24px; height: 24px; margin-top: 1px; }
@media (min-width: 900px) { .trust-list { grid-template-columns: repeat(4, auto); justify-content: space-between; } }

/* Sections */
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 660px; margin-bottom: 36px; }
.sec-head p, .split-head p { color: var(--muted); }
.split { display: grid; gap: 36px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } .split-head { position: sticky; top: 32px; } }
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; }
.svc-list li { border-top: 1px solid var(--line); }
.svc-list li:last-child { border-bottom: 1px solid var(--line); }
.svc-list a { display: flex; gap: 18px; padding: 20px 4px; text-decoration: none; border-radius: 6px; transition: background-color .2s ease-out; }
.svc-list a:hover { background: var(--white); }
.svc-txt b { display: block; font: 700 1.45rem/1.1 var(--display); margin-bottom: .25em; }
.svc-txt span { color: var(--muted); }
.svc-ico { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 10px; background: var(--lime); color: var(--ink); }
.svc-ico .i { width: 24px; height: 24px; }
@media (min-width: 700px) { .svc-list { grid-template-columns: 1fr 1fr; column-gap: 32px; } .svc-list li:nth-last-child(2) { border-bottom: 1px solid var(--line); } }

/* Statement — the one loud moment */
.statement { background: var(--ink); color: var(--on-ink); padding: var(--sec) 0; position: relative; overflow: hidden; }
.statement-in { max-width: 1100px; }
.statement h2 { color: var(--lime); font-size: clamp(2.9rem, 8vw, 6.2rem); line-height: .92; max-width: 15ch; }
.statement p { font-size: 1.15rem; max-width: 56ch; margin: 0; }

/* About + leadership */
.about-grid { display: grid; gap: 48px; }
.about-copy > p { max-width: 58ch; }
.markets { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.markets li { display: flex; gap: 14px; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-weight: 600; }
.markets .i { width: 24px; height: 24px; color: var(--lime-ink); }
.about-copy .mini-h { margin-top: 32px; }
.people { background: var(--white); border-radius: var(--r-media); padding: clamp(24px, 3vw, 36px); align-self: start; box-shadow: 0 1px 2px rgba(20, 23, 18, .05); border-top: 5px solid var(--lime); }
.people ul, .people-list { list-style: none; margin: 0 0 20px; padding: 0; }
.people li, .people-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.people li b, .people-list li b { display: block; font: 700 1.5rem/1.1 var(--display); }
.people li span, .people-list li span { color: var(--muted); }
.people-note { display: flex; gap: 12px; margin: 0; color: var(--muted); font-size: .97rem; }
.people-note .i { width: 24px; height: 24px; color: var(--lime-ink); }
@media (min-width: 960px) { .about-grid { grid-template-columns: 7fr 4fr; gap: 80px; } }

/* Clients — typographic wall (no project photos exist) + rating */
.clients { background: var(--white); }
.client-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.client-list li { break-inside: avoid; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .9rem; line-height: 1.3; }
@media (min-width: 640px) { .client-list { column-gap: 40px; } .client-list li { font-size: 1.02rem; padding: 11px 0; } }
@media (min-width: 1000px) { .client-list { columns: 3; } }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; margin-top: 40px; padding-top: 28px; }
.rating > p:last-child { margin: 0; color: var(--muted); }
.score { display: flex; align-items: center; gap: 14px; margin: 0; }
.score .num { font: 800 3.6rem/1 var(--display); }
.stars { display: flex; gap: 2px; color: var(--lime-ink); }
.stars .i { width: 22px; height: 22px; fill: currentColor; }
.stars .hollow { fill: none; }

/* Office + map */
.visit-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .visit-grid { grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; } }
.visit-lede { color: var(--muted); max-width: 44ch; }
.office { margin: 0 0 16px; display: grid; }
.office > div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.office dt { display: flex; gap: 8px; align-items: center; color: var(--muted); font-weight: 600; }
.office dt .i { color: var(--lime-ink); }
.office dd { margin: 0; font-weight: 600; }
.office a { display: inline-flex; align-items: center; min-height: 44px; margin: -10px 0; }
.map { border-radius: var(--r-media); overflow: hidden; background: var(--stone); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Contact strip */
.strip { background: var(--ink); color: var(--white); padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.strip h2 { font-size: clamp(2.5rem, 5.5vw, 4rem); max-width: 18ch; }
.strip p { color: var(--on-ink); max-width: 52ch; }
.strip-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 520px) { .strip-cta .btn { flex: 1 1 100%; } }

/* Page hero (inner pages) — paper, with the lime rule */
.page-hero { background: var(--paper); padding: clamp(44px, 7vw, 96px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 9vw, 6rem); line-height: .92; max-width: 14ch; }
.page-hero p { color: var(--muted); max-width: 60ch; font-size: 1.1rem; margin: 0; }

/* Services page */
.offering { padding-top: 32px; }
.toolbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 16px; margin: 0 calc(var(--pad) * -1) 32px; padding: 10px var(--pad); background: rgba(243, 244, 238, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; padding: 2px; }
.toolbar-cta { display: none; flex: none; }
@media (min-width: 768px) { .toolbar-cta { display: inline-flex; } }
@media (max-width: 1023px) { .tabs { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 40px; } }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; min-height: 48px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font: 700 1rem var(--body); cursor: pointer; transition: background-color .2s ease-out, color .2s ease-out, border-color .2s ease-out, transform .35s var(--spring); }
.tabs button:hover { border-color: var(--ink); }
.tabs button:active { transform: scale(.97); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: inset 0 -3px 0 var(--lime); }
.panel h2 { font-size: clamp(2.3rem, 4.4vw, 3.2rem); }
.panel-lede { color: var(--muted); max-width: 62ch; font-size: 1.1rem; margin-bottom: 28px; }
.items { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.item { display: grid; grid-template-columns: 48px 1fr; gap: 6px 18px; background: var(--white); border-radius: var(--r-media); padding: 22px; box-shadow: 0 1px 2px rgba(20, 23, 18, .05); }
.item-body p { color: var(--muted); margin-bottom: .7em; max-width: 64ch; }
.item .price { grid-column: 2; margin: 0; font-weight: 700; }
.item .price a { display: inline-flex; align-items: center; min-height: 44px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.tags li { font-size: .85rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--paper); color: var(--muted); }
@media (min-width: 860px) { .item { grid-template-columns: 56px 1fr 220px; padding: 28px; align-items: start; } .item .price { grid-column: 3; text-align: right; } .item .svc-ico { width: 56px; height: 56px; } }
.safety { display: grid; gap: 28px; }
.safety-copy p { max-width: 62ch; color: var(--muted); }
.safety-copy p:first-child { color: var(--ink); font-size: 1.15rem; }
.safety-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.safety-facts li { display: flex; gap: 14px; background: var(--white); border-radius: var(--r-media); padding: 20px; border-left: 5px solid var(--lime); }
.safety-facts .i { width: 26px; height: 26px; color: var(--lime-ink); }
.safety-facts b { display: block; font: 700 1.35rem/1.1 var(--display); }
.safety-facts span { color: var(--muted); }
@media (min-width: 960px) { .safety { grid-template-columns: 7fr 5fr; gap: 56px; } }
.markets-band { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.markets-band .markets { max-width: 760px; }
@media (min-width: 760px) { .markets-band .markets { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.markets-band > p { color: var(--muted); margin: 16px 0 0; }

/* Contact page */
.contact-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } }
.form { background: var(--white); border-radius: var(--r-media); padding: clamp(22px, 4vw, 40px); box-shadow: 0 1px 2px rgba(20, 23, 18, .05), 0 16px 40px -28px rgba(20, 23, 18, .35); border-top: 5px solid var(--lime); }
.form h2 { font-size: 2.3rem; }
.row2 { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .row2 { grid-template-columns: 1fr 1fr; } }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: var(--r); border: 1.5px solid #B9BDAF; background: var(--white); color: var(--ink); font: 400 1.0625rem/1.4 var(--body); transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(141, 198, 63, .45); }
.field [aria-invalid="true"] { border-color: #A3271C !important; }
::placeholder { color: #6A6F62; }
.err { color: #A3271C; font-size: .92rem; font-weight: 600; margin: 6px 0 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .92rem; color: var(--muted); margin: 14px 0 0; }
.success { margin-top: 20px; padding: 20px; border-radius: var(--r); background: #E8F3DA; color: #2B4410; }
.success h3 { display: flex; gap: 8px; align-items: center; margin-bottom: .4em; }
.success p { margin: 0; }
.reach { display: grid; gap: 4px; margin-bottom: 32px; }
.reach-row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 4px; margin: 0; text-decoration: none; border-bottom: 1px solid var(--line); }
.reach-row .i { width: 26px; height: 26px; color: var(--lime-ink); }
.reach-row b { display: block; font-size: .9rem; color: var(--muted); font-weight: 600; }
.reach-row span { font-weight: 700; word-break: break-word; }
a.reach-row:hover span { text-decoration: underline; }
.side-h { font-size: 1.9rem; margin-top: 8px; }
.side-note { color: var(--muted); font-size: .97rem; }
.contact-side .map { margin-top: 20px; }

/* Prose (privacy) */
.prose { max-width: 720px; }
.prose h2 { font-size: 2rem; margin-top: 1.4em; }
.prose p { color: #383C33; }

/* Footer */
.foot { background: var(--ink); color: var(--on-ink-2); padding: 64px 0 32px; font-size: .97rem; }
.foot a { color: var(--on-ink); }
.foot-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.foot-brand { grid-column: 1 / -1; }
.foot-brand img { margin-bottom: 16px; background: var(--paper); border-radius: var(--r); padding: 10px 12px; width: 156px; height: auto; }
.foot-brand p { max-width: 40ch; }
.foot-h { font: 700 1.3rem var(--display); color: var(--white); margin-bottom: .5em; }
.foot-grid p a { display: inline-block; padding: 4px 0; }
.foot-legal { display: grid; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.foot-legal p { margin: 0; }
.foot-legal a { display: inline-flex; min-height: 44px; align-items: center; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 2fr 1.3fr 1.3fr 1fr; } .foot-brand { grid-column: auto; } .foot-legal { grid-template-columns: 2fr 1fr 1fr; align-items: center; } }

/* Sticky mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(20, 23, 18, .97); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .4); }
.actionbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--r); color: var(--white); text-decoration: none; font-weight: 700; font-size: .9rem; transition: transform .35s var(--spring), background-color .2s; }
.actionbar a:active { transform: scale(.95); }
.actionbar .i { width: 22px; height: 22px; }
.actionbar .primary { background: var(--lime); color: var(--ink); }
@media (max-width: 767px) { body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); } }
@media (min-width: 768px) { .actionbar { display: none; } }

/* Reveals — visible by default when JS is off */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
  .js .reveal.in { opacity: 1; transform: none; }
}
