/* Your Neighbor's Electrician: page CSS on top of the kit in assets/.
   Colours and type are set in the :root block of each page's <head>. */

/* the two typefaces, served from this folder (no outside font service) */
@font-face { font-family: "Zilla Slab"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/zilla-slab-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Zilla Slab"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/zilla-slab-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Rethink Sans"; font-weight: 400 600; font-style: normal; font-display: swap; src: url("assets/fonts/rethink-sans-latin-wght-normal.woff2") format("woff2"); }

/* ---- sections shift as you scroll (site.js sets --enter and --exit, 0 to 1, on each section) ----
   A section's content rises into place as it arrives and settles back, smaller and fainter, as the
   next one takes over. At rest (the section filling the screen) nothing is transformed.
   Off under "reduce motion" and without script. */
html.shift main > section[data-shift] > .wrap,
html.shift footer.closing[data-shift] > .wrap {
  transform: translate3d(0, calc((1 - var(--enter, 1)) * 64px + var(--exit, 0) * 64px), 0);
  opacity: calc(1 - var(--exit, 0) * 0.7);
  will-change: transform, opacity;
}
/* the moving content stays inside its own section, so it never lies on a neighbour */
html.shift main > section[data-shift] { overflow: clip; }
@media (prefers-reduced-motion: reduce) {
  html.shift main > section[data-shift] > .wrap,
  html.shift footer.closing[data-shift] > .wrap { transform: none; opacity: 1; }
}

/* ---- hero: the four facts stay on a phone too, two by two, so the first screen is not half empty ---- */
@media (max-width: 639px) { .hero--statement .hero__facts { display: grid; margin-top: var(--s-6); } }

/* ---- nav: the logo and the name on one line ---- */
.nav__logo { white-space: nowrap; }
.nav__mark { display: block; width: auto; height: 32px; margin-right: var(--s-2); }

/* ---- about me: the portrait beside the statement ---- */
.about-photo { margin: 0; overflow: hidden; display: block; position: relative; }
.about-photo > img { display: block; width: 100%; height: auto; }
@media (max-width: 1023px) { .about-photo { margin-top: var(--s-6); max-width: 360px; } }
@media (max-width: 639px) { .about-photo { max-width: 300px; } }

/* ---- services: the list is the owner's to edit, so from 1024px the section may grow past one screen ---- */
@media (min-width: 1024px) { #services { height: auto; min-height: calc(var(--h, 1) * 100svh); } #services .wrap > .fill { flex: 1 0 auto; }
  /* the list sets the row's height; the photograph fills what the list leaves */
  #services .frame--photo { position: relative; min-height: 320px; } #services .frame--photo > img { position: absolute; inset: 0; } }
#services .rows > li { padding-block: 10px; }
#services .section-head { margin-bottom: var(--s-6); }
#services .rows > li:first-child { padding-top: 0; }
#services .frame--photo { display: block; overflow: hidden; }
#services .frame--photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 1023px) { #services .frame--photo { aspect-ratio: 4 / 3; margin-top: var(--s-6); } }

/* ---- service area: the drawing ---- */

/* ---- contact: what sits under the two buttons ---- */
.contact-lines { display: grid; gap: var(--s-2); margin: 0; padding: 0; list-style: none; }
.contact-lines a { overflow-wrap: anywhere; }

/* ---- showcase page ---- */
#work { height: auto; min-height: 100svh; }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-7) var(--gutter, 24px); margin: 0; padding: 0; list-style: none; }
@media (max-width: 1023px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .work-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); } }
.work-grid .tile p { margin: 0; max-width: 46ch; }
.work-tag { position: absolute; left: var(--s-3); top: var(--s-3); padding: var(--s-1) var(--s-3); border-radius: var(--r-sm);
  background: var(--ink); color: var(--bg); font-size: var(--t-label); font-weight: 500; }
.work-note { margin: 0 0 var(--s-6); }
.work-grid .tile__head > h2 { font: 500 var(--t-card)/1.3 var(--font-text); letter-spacing: -0.01em; }
#work .section-head > h1 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: var(--t-h2); line-height: 1.1; letter-spacing: var(--display-tracking); }

/* ======================================================================
   QUICK TAB BAR: the header grows a second row holding every page and section.
   --bar-h is the logo row, --tab-h the tab row; --nav (the kit's header height) is their sum,
   so every section's top padding follows. */
:root { --bar-h: 72px; --tab-h: 44px; --nav: calc(var(--bar-h) + var(--tab-h)); --padt: calc(var(--nav) + 48px); }
@media (max-width: 639px) { :root { --bar-h: 56px; --nav: calc(var(--bar-h) + var(--tab-h)); --padt: calc(var(--nav) + 40px); } }
.nav__bar { height: var(--bar-h); }
.tabbar { height: var(--tab-h); border-top: 1px solid var(--line); background: var(--bg); }
.tabbar > .wrap { height: 100%; }
.tabbar__list { display: flex; align-items: stretch; height: 100%; margin: 0; padding: 0; list-style: none; gap: var(--s-1);
  overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabbar__list::-webkit-scrollbar { display: none; }
.tabbar__list li { display: flex; flex: none; }
.tabbar__tab { position: relative; display: inline-flex; align-items: center; padding: 0 var(--s-3); font-size: 14.5px; font-weight: 500;
  color: var(--muted); white-space: nowrap; transition: color var(--dur, 150ms) var(--ease, ease); }
.tabbar__tab:hover { color: var(--ink); }
/* the strip scrolls sideways, which would clip an outside ring: draw the keyboard ring inside the tab */
.tabbar__tab:focus-visible { outline: 2px solid var(--ink); outline-offset: -5px; border-radius: 8px; }
.tabbar__tab::after { content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 0; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease, ease); }
.tabbar__tab.is-active, .tabbar__tab[aria-current="page"] { color: var(--ink); }
.tabbar__tab.is-active::after, .tabbar__tab[aria-current="page"]::after { transform: scaleX(1); }
/* the tabs replace the words that used to sit in the logo row on a desktop; a phone keeps its menu button */
@media (min-width: 1024px) { .nav__links { display: none; } .nav__actions { margin-left: auto; } }
@media (max-width: 639px) { .tabbar__tab { padding: 0 var(--s-2); } .tabbar__tab::after { left: var(--s-2); right: var(--s-2); } }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tabbar__tab::after { transition: none; } }

/* ======================================================================
   SCROLL CUE: a blinking "Scroll" with an arrow, bottom centre of the first screen. */
.scroll-cue { position: absolute; left: 50%; bottom: max(28px, 5svh); z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  transform: translateX(-50%); padding: 12px 20px; border-radius: 999px; pointer-events: auto;
  background: #fffaf0; color: #1c1b33; border: 2.5px solid #1c1b33; box-shadow: 3px 3px 0 #1c1b33;
  font: 600 13px/1 var(--font-text); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: opacity 300ms var(--ease, ease), visibility 300ms; }
.scroll-cue:focus-visible { outline: 3px solid #1f2f55; outline-offset: 3px; }
.scroll-cue__arrow { flex: none; width: 16px; height: 16px; animation: cue-nudge 1.5s ease-in-out 3; }
/* the arrow nudges three times, then stays still (anything moving longer than 5 seconds needs a way to stop it) */
.journey:not(.journey--live) .scroll-cue { display: none; }
.scroll-cue.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes cue-nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue__arrow { animation: none; } }

/* THE LANDING: the first screen is only the drawing, the tabs and the cue. Its card (the page's h1 and intro)
   stays in the page for search engines and screen readers and appears if a keyboard user tabs into it;
   in the plain list (no script, reduce motion) it shows as the first card. */
.journey--live .jcard--landing:not(:focus-within) { clip-path: inset(50%); width: 1px !important; height: 1px; overflow: hidden; padding: 0; border: 0; box-shadow: none; }

/* ======================================================================
   THE JOURNEY: a cartoon cutaway house; a glowing wire runs through it as you scroll.
   Live mode (journey.js adds .journey--live): a tall section holds one sticky stage; scroll moves the camera.
   Without script, or with "reduce motion": the cards are a plain stacked list and the drawing is hidden. */
main > section.journey { height: auto; padding: var(--nav) 0 0; display: block; background: #9ccfe8; }
.jstage { position: relative; }
.jworld { display: none; }
.jcards { display: grid; gap: var(--s-5); padding: var(--s-6) var(--gut, 24px) var(--s-8); max-width: 640px; margin: 0 auto; }
.jcard { background: #fffaf0; color: #1c1b33; border: 2px solid #1c1b33; border-radius: 20px; padding: 22px 24px;
  box-shadow: 0 3px 0 #1c1b33, 0 22px 44px -18px rgba(31, 47, 85, 0.45); }
.jcard h1, .jcard h2 { margin: 0 0 var(--s-3); font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; line-height: 1.08; color: #1c1b33; }
.jcard h1 { font-size: clamp(30px, 3.4vw, 46px); }
.jcard h2 { font-size: clamp(26px, 2.6vw, 36px); }
.jcard p { margin: 0 0 var(--s-3); color: #1c1b33; }
.jcard__eyebrow { display: flex; align-items: center; gap: 8px; font: 600 12px/1 var(--font-text); letter-spacing: 0.14em; text-transform: uppercase; color: #9a3f33 !important; margin-bottom: var(--s-3) !important; }
/* a small lit 'bulb' before each stop name, the same amber as the wire */
.jcard__eyebrow::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: #ffb703; box-shadow: 0 0 0 3px rgba(255, 183, 3, 0.25); }
.jcard__list, .jcard__contact { display: grid; gap: var(--s-2); margin: 0 0 var(--s-2); padding: 0; list-style: none; }
.jcard__contact { margin-top: var(--s-3); font-size: 14.5px; }
.jcard__contact a { color: #1f2f55; overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 3px; }
.jcard .btn-row { margin-top: var(--s-3); }

/* the drawing's parts */
.j-o { stroke: #1c1b33; stroke-width: 5; stroke-linejoin: round; stroke-linecap: round; }
.jlabel { font: 700 15px var(--font-text); fill: #1c1b33; letter-spacing: 0.08em; }
/* lights switch on at once, like real ones: a fade would repaint the whole glow on every frame of it.
   glows: soft wide strokes and faint discs, never blur filters or blend modes (both repaint slowly on phones) */
.jlit__halo { fill: none; stroke: #ffd166; stroke-width: 22; stroke-opacity: 0.34; stroke-linecap: butt; stroke-linejoin: round; }
.jlit__core { fill: none; stroke: #ffb703; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.jspark__halo { fill: #ffe58a; opacity: 0.45; }
.jbranch { stroke: #1c1b33; stroke-width: 8; }
.jbranch.on { stroke: #ffb703; }
.jglow { pointer-events: none; }
.on > .jglow, .jglow.on { opacity: 0.42 !important; }
.jshopwin.on > .jglow { opacity: 0.9 !important; }
.jlantern.on > .jglow, .jpath.on > .jglow { opacity: 0.55 !important; }
.jled { fill: #5c6670; stroke: #1c1b33; stroke-width: 2.5; }
.jled.on { fill: #ffb703; }
.jled--ev.on { fill: #3ddc84; }
.jsigntext { font: 700 40px var(--font-text); letter-spacing: 0.12em; fill: #4a4f66; paint-order: stroke; stroke: transparent; stroke-width: 12; stroke-linejoin: round; }
.jsign.on .jsigntext { fill: #ffd166; stroke: rgba(255, 209, 102, 0.3); }
.jphone { cursor: pointer; }
.jring { opacity: 0; } .jring.on { opacity: 1; }
/* the fan, the phone and its ring marks are small layers of their own (journey.js); they move as whole layers,
   so the graphics chip does it without repainting: spin, rattle, blink */
.jfloat.is-on .jfloat--spin { animation: jspin 0.9s linear infinite; }
.jfloat.is-on .jfloat--shake { transform-origin: 50% 22%; animation: jshake 0.5s ease-in-out infinite; }
.jfloat.is-on .jfloat--blink { animation: jringblink 0.7s steps(2, jump-none) infinite; }
@keyframes jspin { to { transform: rotate(360deg); } }
@keyframes jringblink { 50% { opacity: 0.25; } }
@keyframes jshake { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
/* each runs only while its chapter is on screen, and nothing runs once the journey has scrolled away */
.jfloats:not([data-ch="2"], [data-ch="3"]) .jfloat--spin, .jfloats:not([data-ch="6"]) :is(.jfloat--shake, .jfloat--blink), .j-off .jfloat__art { animation-play-state: paused !important; }
.journey--live .jfloats { position: absolute; inset: 0; pointer-events: none; }
.journey--live .jfloat { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.journey--live .jfloat__art { display: block; max-width: none; overflow: visible; will-change: transform; }
.journey--live .jfloat .jphone { pointer-events: auto; }
.jfloats { display: none; } .journey--live .jfloats { display: block; }
@media (prefers-reduced-motion: reduce) { .jfloat__art { animation: none !important; } }

/* LIVE. journey.js adds .journey--live, then .jl-side (landscape: the card on the left, the scene on the right)
   or .jl-bottom (portrait: the scene up top, the card at the foot), and .jl-compact on a short screen. */
main > section.journey.journey--live { height: 840vh; height: 840svh; background: #94c184; }
main > section.journey.journey--live.jl-bottom { height: 910vh; height: 910svh; }
.journey--live .jstage { position: -webkit-sticky; position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); overflow: hidden; background: #8fd0f2; }
.journey--live .jworld { display: block; position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; backface-visibility: hidden; }
.journey--live .jcards { position: absolute; inset: 0; display: block; padding: 0; max-width: none; margin: 0; pointer-events: none; }
.journey--live .jcard { position: absolute; opacity: 0; pointer-events: none; will-change: opacity, transform; overflow: auto; overscroll-behavior: contain; }
.journey--live .jcard.is-on { pointer-events: auto; }
.journey--live.jl-side .jcard { left: clamp(16px, 4vw, 72px); top: 50%; width: min(460px, 40vw); max-height: calc(100% - 32px); transform: translateY(-50%); }
.journey--live.jl-bottom { --jbar: 0px; }
.journey--live.jl-bottom .jcard { left: 12px; right: 12px; top: auto; max-width: 600px; max-height: calc(100% - 24px - var(--jbar));
  bottom: calc(12px + var(--jbar) + env(safe-area-inset-bottom, 0px)); padding: 16px 18px; box-shadow: 0 3px 0 #1c1b33, 0 16px 32px -14px rgba(31, 47, 85, 0.45); }
@media (min-width: 640px) { .journey--live.jl-bottom .jcard { left: 24px; right: auto; width: min(600px, calc(100% - 48px)); } }
/* on a phone the Call/Text bar sits under the cards that have no call buttons of their own */
@media (max-width: 639px) { .journey--live.jl-bottom { --jbar: 64px; } .journey--live.jl-bottom .jcard:has(.btn-row) { --jbar: 0px; } }
.journey--live.jl-bottom .jcard h1 { font-size: 27px; } .journey--live.jl-bottom .jcard h2 { font-size: 24px; }
.journey--live.jl-bottom .jcard p, .journey--live.jl-bottom .jcard li { font-size: 15px; line-height: 1.45; }
.journey--live.jl-bottom .jcard__contact { font-size: 14px; gap: 4px; }
/* a short screen (a phone on its side, a small laptop window): tighter cards */
.journey--live.jl-compact .jcard { padding: 12px 16px; }
.journey--live.jl-compact .jcard h1 { font-size: 22px; } .journey--live.jl-compact .jcard h2 { font-size: 20px; }
.journey--live.jl-compact .jcard p, .journey--live.jl-compact .jcard li { font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.journey--live.jl-compact .jcard__eyebrow { margin-bottom: 6px !important; }
/* the two call buttons side by side in a card, so a phone keeps room for the drawing */
.jcard .btn-row { flex-direction: row; flex-wrap: wrap; align-items: center; width: auto; gap: 10px; }
.jcard .btn-row > .btn { flex: 0 0 auto; width: auto; padding-inline: 14px; font-size: 15px; }
.jcard .btn-row > .btn--primary { flex: 1 1 auto; }
.jcard .btn-row > .btn--secondary { background: transparent; border-color: color-mix(in oklab, #1c1b33 35%, transparent); text-decoration: none; color: #1f2f55; }
.jcard h1, .jcard h2 { hyphens: manual; -webkit-hyphens: manual; }
/* a phone on its side: drop the tab row so the stage keeps its height */
@media (orientation: landscape) and (max-height: 500px) { :root { --tab-h: 0px; } .tabbar { display: none; } }

/* the phone's Call/Text bar: the call button gets the wider share, so its number never touches the edges at 360px */
@media (max-width: 639px) {
  .actionbar { grid-auto-flow: row; grid-template-columns: 1.45fr 1fr; grid-auto-columns: auto; }
  .actionbar .btn { padding-inline: 10px; font-size: 15px; }
}

/* a phone on its side: everything a step smaller so the longest cards fit without scrolling inside */
.journey--live.jl-compact.jl-side .jcard { width: min(460px, 46vw); padding: 10px 14px; box-shadow: 4px 4px 0 #1c1b33; border-width: 2.5px; }
.journey--live.jl-compact .jcard h1, .journey--live.jl-compact .jcard h2 { margin-bottom: 6px; }
.journey--live.jl-compact .jcard h1 { font-size: 20px; } .journey--live.jl-compact .jcard h2 { font-size: 19px; }
.journey--live.jl-compact .jcard p, .journey--live.jl-compact .jcard li { font-size: 13.5px; line-height: 1.35; }
.journey--live.jl-compact .jcard__list { gap: 4px; }
.journey--live.jl-compact .jcard .btn-row { margin-top: 6px; }
.journey--live.jl-compact .jcard .btn { height: 40px; }
.journey--live.jl-compact .jcard__contact { margin-top: 6px; gap: 2px; font-size: 13px; }
.journey--live.jl-compact .jcard__contact li:last-child { display: none; }

/* ======================================================================
   SHOWCASE SWITCH: while <html> has data-showcase-page="off", every link to the showcase is hidden.
   The page itself and showcase/projects.js still work; delete the attribute on both pages to bring it back. */
html[data-showcase-page="off"] [data-showcase-link] { display: none !important; }

/* ======================================================================
   THE MASCOT: drawn from the logo. journey.js places and sizes him; he bobs while he stands. Only in live mode. */
.jhero { display: none; }
.journey--live .jhero { display: block; position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; pointer-events: none; z-index: 1; }
.jhero__flip, .jhero__bob { width: 100%; height: 100%; }
.jhero__art { display: block; width: 100%; height: 100%; overflow: visible; }
.jhero .hp { display: none; }
.jhero[data-pose="stand"] .hp--stand, .jhero[data-pose="wave"] .hp--wave, .jhero[data-pose="point"] .hp--point,
.jhero[data-pose="bulb"] .hp--bulb, .jhero[data-pose="tool"] .hp--tool, .jhero[data-pose="plug"] .hp--plug,
.jhero[data-pose="thumb"] .hp--thumb, .jhero[data-pose="fly"] .hp--fly { display: inline; }
.journey--live .jhero:not([data-pose="fly"]) .jhero__bob { animation: jhero-bob 2.6s ease-in-out infinite; }
.j-off .jhero__bob { animation-play-state: paused !important; }
@keyframes jhero-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3%); } }

/* the mascot's jobs: small loops on his arm and props (only while he stands still, in live mode) */
.jhero .ha, .jhero .ha--glow { transform-box: view-box; }
.ha--wave { transform-origin: 54px 4px; } .ha--point { transform-origin: -54px 0; } .ha--lift { transform-origin: 54px 0; }
.ha--twist { transform-origin: 54px 8px; } .ha--push { transform-origin: 54px 8px; } .ha--pump { transform-origin: 54px 6px; }
.ha--glow { transform-origin: 72px -82px; }
.journey--live:not(.j-off) .jhero[data-pose="wave"] .ha--wave { animation: ha-wave 1.1s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="point"] .ha--point { animation: ha-point 1.4s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="bulb"] .ha--lift { animation: ha-lift 2.2s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="bulb"] .ha--glow { animation: ha-glow 2.2s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="tool"] .ha--twist { animation: ha-twist 0.7s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="plug"] .ha--push { animation: ha-push 1.6s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero[data-pose="thumb"] .ha--pump { animation: ha-pump 1.2s ease-in-out infinite; }
.journey--live:not(.j-off) .jhero .ha--blink, .journey--live:not(.j-off) .jhero .ha--spark { animation: ha-blink 0.7s steps(2, jump-none) infinite; }
.journey--live:not(.j-off) .jhero[data-pose="fly"] .jhero__cape { transform-box: fill-box; transform-origin: 50% 0; animation: ha-cape 0.35s ease-in-out infinite alternate; }
@keyframes ha-wave { 0%, 100% { transform: rotate(-10deg); } 50% { transform: rotate(18deg); } }
@keyframes ha-point { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg); } }
@keyframes ha-lift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ha-glow { 0%, 40% { opacity: 0; transform: scale(.6); } 60%, 100% { opacity: .55; transform: scale(1); } }
@keyframes ha-twist { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes ha-push { 0%, 100% { transform: translateX(0); } 45%, 60% { transform: translateX(9px); } }
@keyframes ha-pump { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-6px) rotate(-8deg); } }
@keyframes ha-blink { 0% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ha-cape { from { transform: scaleY(1) skewX(0); } to { transform: scaleY(.92) skewX(-5deg); } }
/* he turns to face left by mirroring; the lightning bolt on his chest is mirrored back so it always reads like the logo */
.jhero__bolt { transform-box: view-box; transform-origin: 0 0; }
.jhero__flip.is-left .jhero__bolt { transform: scaleX(-1); }

/* TEXT LINKS: "Send a text" (sms:) opens Messages on phones but often does nothing on a computer,
   so on devices with a mouse it is hidden; Call, email and Instagram stay. */
@media (hover: hover) and (pointer: fine) { a[href^="sms:"] { display: none !important; } }

/* the service area is short: let it size to its text instead of filling a whole screen, so the closing block follows closely */
#area { min-height: 0 !important; height: auto !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
#about { min-height: 0 !important; height: auto !important; padding-bottom: clamp(48px, 6vw, 80px) !important; }
#area { padding-top: clamp(48px, 6vw, 80px) !important; }

/* THE MASK REVEAL: the logo's mask covers Daniel's head when the photo comes into view; as you scroll, an arm in
   his red sleeve reaches in, grabs it and rips it off (site.js moves both). Hidden without script and with reduced motion. */
.about-mask, .about-arm { display: none; }
.about-photo.is-masked .about-mask, .about-photo.is-masked .about-arm { display: block; position: absolute; pointer-events: none; max-width: none; transform-origin: 50% 50%; will-change: transform; }
.about-photo.is-masked .about-mask { left: 24.8%; top: 0.4%; width: 48%; height: auto; filter: drop-shadow(0 6px 10px rgba(28, 27, 51, 0.25)); }
.about-photo.is-masked .about-arm { left: 56%; top: 22%; width: 86%; height: auto; transform: translateX(120%); transform-origin: 100% 50%; }
