/* Lime Fresh Design: shared styles (split out of the one-page concept-switch.html, 2026-09-24) */
/* Self-hosted fonts (was Google Fonts — removed the external render-blocking
   request + HTML->googleapis->gstatic dependency chain). Latin subset only. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('/assets/fonts/bricolage-grotesque-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/hanken-grotesk-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/ibm-plex-mono-500.woff2') format('woff2');
}
/* ============================================================
   Three looks, one page. Each look is a block of tokens.
   Switch with the pill at the bottom — choice is remembered,
   and ?look=warm in the URL forces a look for a shared link.
   ============================================================ */
:root,
:root[data-look="fresh"] {
  --paper: #f3f6ef;  --paper-2: #e9eee1;  --paper-3: #dfe6d5;
  --ink: #14201a;     --ink-2: #47554c;    --muted: #606c64;
  --line: rgba(20, 32, 26, .12);  --line-2: rgba(20, 32, 26, .07);
  --green: #2fb56a;   --green-deep: #17743f;  --green-soft: #dcefe0;
  --amber: #2f9e8b;   --amber-deep: #1f7f6f;  --amber-soft: #d7efe9;
  --card: #fbfcf9;
  --shadow: 0 30px 60px -34px rgba(20, 32, 26, .40);
  --shadow-sm: 0 10px 30px -18px rgba(20, 32, 26, .35);
  --strip-bg: #14201a;  --strip-fg: #f3f6ef;
  --panel-bg: #14201a;  --panel-fg: #f3f6ef;
  --btn-fg: #05130b;
  --radius: 14px;  --btn-radius: 100px;
  --grain-op: 0;   --h-case: none;  --h-track: -.025em;

  --f-display: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, monospace;
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 60px);
}

:root[data-look="warm"] {
  --paper: #f4efe4;  --paper-2: #eae3d2;  --paper-3: #e0d8c2;
  --ink: #23271f;     --ink-2: #51574a;    --muted: #696454;
  --line: rgba(35, 39, 31, .14);  --line-2: rgba(35, 39, 31, .07);
  --green: #3f7d4a;   --green-deep: #2f5d3a;  --green-soft: #e0e9d4;
  --amber: #e0913c;   --amber-deep: #b06d1f;  --amber-soft: #f4e3ca;
  --card: #fbf7ec;
  --shadow: 0 34px 64px -36px rgba(40, 30, 12, .42);
  --shadow-sm: 0 14px 32px -20px rgba(40, 30, 12, .4);
  --strip-bg: #e0913c;  --strip-fg: #2c1c07;
  --panel-bg: #23271f;  --panel-fg: #f4efe4;
  --btn-fg: #ffffff;
  --radius: 20px;  --btn-radius: 100px;
  --grain-op: .05;  --h-case: none;  --h-track: -.02em;
}

:root[data-look="bold"] {
  --paper: #14140f;  --paper-2: #1c1c15;  --paper-3: #26261d;
  --ink: #f4f2e9;     --ink-2: #b7b6a8;    --muted: #8a897b;
  --line: rgba(244, 242, 233, .15);  --line-2: rgba(244, 242, 233, .06);
  --green: #b6f24d;   --green-deep: #cbf87e;  --green-soft: rgba(182, 242, 77, .15);
  --amber: #f2a341;   --amber-deep: #f6bd73;  --amber-soft: rgba(242, 163, 65, .16);
  --card: #1c1c15;
  --shadow: 0 32px 60px -32px rgba(0, 0, 0, .7);
  --shadow-sm: 0 14px 32px -22px rgba(0, 0, 0, .6);
  --strip-bg: #b6f24d;  --strip-fg: #14140f;
  --panel-bg: #24241c;  --panel-fg: #f4f2e9;
  --btn-fg: #14140f;
  --radius: 6px;  --btn-radius: 4px;
  --grain-op: 0;  --h-case: uppercase;  --h-track: -.01em;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: clamp(15px, .35vw + 14px, 17px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* cross-fade only while a look is being switched */
html.theming, html.theming * {
  transition: background-color .3s ease, border-color .3s ease, color .28s ease, box-shadow .3s ease, fill .3s ease !important;
}
::selection { background: var(--green-soft); color: var(--ink); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-display); font-optical-sizing: auto; font-weight: 600; line-height: 1.05; letter-spacing: var(--h-track); margin: 0; text-wrap: balance; }
h1 { text-transform: var(--h-case); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; border-radius: 3px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.eyebrow { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-deep); display: inline-flex; align-items: center; gap: .7em; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: var(--green); }

.grain { position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: var(--grain-op); mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; background: var(--green); color: var(--btn-fg); font-family: var(--f-body); font-weight: 600; font-size: .95rem; padding: 12px 22px; border: 0; border-radius: var(--btn-radius); cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.btn:hover { filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); filter: none; }
.nav .btn { color: var(--btn-fg); }

/* header */
.head { position: sticky; top: 0; z-index: 60; background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.head[data-scrolled] { border-color: var(--line); }
.head__in { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: inline-flex; align-items: center; font-family: var(--f-display); font-weight: 700; font-size: 1.24rem; letter-spacing: -.02em; }
.brand__txt em { font-style: normal; font-weight: 500; color: var(--green-deep); }
.brand__txt .brand__d { font-weight: 400; color: var(--ink-2); }
@media (max-width: 420px) { .brand { font-size: 1.06rem; } }
.brand svg { flex: none; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.4vw, 24px); margin-left: auto; }
.nav a { color: var(--ink-2); font-weight: 500; font-size: .95rem; transition: color .16s; }
.nav a:hover { color: var(--ink); }
.burger { display: none; }

/* hero */
.hero { padding-block: clamp(22px, 4vw, 52px) clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 0; top: -30%; right: -10%; width: 55%; height: 120%;
  background: radial-gradient(closest-side, var(--green-soft), transparent 72%); opacity: .7; pointer-events: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1.12fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.7rem, 6.2vw, 4.9rem); font-weight: 700; letter-spacing: -.04em; line-height: .99; margin: 0; }
/* the "Macclesfield web design studio" eyebrow lives inside the H1 so search engines read it as part of the headline */
.hero h1 .h1-kicker { display: flex; width: fit-content; margin-bottom: 22px; font-weight: 400; line-height: 1.5; text-transform: uppercase; }
/* no fade-in here: an animating child holds back the H1's Largest Contentful Paint by ~1s */
.hero h1 .h1-kicker { animation: none; }
.hero h1 .hl { position: relative; white-space: nowrap; }
.hero h1 .hl::after { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .07em; height: .34em; z-index: -1;
  background: var(--green); border-radius: 3px; transform: scaleX(0); transform-origin: left; animation: wipe .5s cubic-bezier(.2,.7,.3,1) .55s forwards; }
@keyframes wipe { to { transform: scaleX(1); } }
.hero__sub { margin-top: 26px; font-size: 1.14rem; color: var(--ink-2); max-width: 44ch; }
.hero__sub b { color: var(--green-deep); font-weight: 600; }
.hero__note { margin-top: 14px; color: var(--muted); max-width: 48ch; font-size: .95rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__trust { display: flex; gap: clamp(18px, 3vw, 40px); margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.hero__trust div { display: flex; flex-direction: column; }
.hero__trust b { font-family: var(--f-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.hero__trust span { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* hero browser mockup + mugshot */
.stage { position: relative; padding: 6px 6px 46px; perspective: 1000px; }
.stage__tilt { transform-style: preserve-3d; transition: transform .3s cubic-bezier(.2,.7,.3,1); will-change: transform; }
.win { background: var(--card); border: 1px solid var(--line); border-radius: calc(var(--radius) + 2px); box-shadow: var(--shadow); overflow: hidden; }
.win__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.win__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.win__bar i:first-child { background: var(--green); }
.win__url { margin-left: 10px; flex: 1; height: 20px; border-radius: 100px; background: var(--paper); border: 1px solid var(--line); font-family: var(--f-mono); font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; padding: 0 11px; }
.win__url::before { content: ""; width: 8px; height: 8px; border-radius: 2px; border: 1.5px solid var(--green); }
.win__screen { padding: 22px 24px 26px; }
.wn { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.wn__logo { width: 66px; height: 13px; border-radius: 4px; background: var(--ink); }
.wn__links { display: flex; gap: 11px; }
.wn__links i { width: 28px; height: 7px; border-radius: 3px; background: var(--line); }
.wh { max-width: 76%; }
.wh__eye { display: block; width: 84px; height: 8px; border-radius: 3px; background: var(--green); margin-bottom: 15px; }
.wh__h { display: block; height: 18px; border-radius: 5px; background: var(--ink); margin-bottom: 10px; }
.wh__h.s { width: 60%; }
.wh__p { display: block; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 18%, transparent); margin: 12px 0; width: 92%; }
.wh__btn { display: inline-block; width: 104px; height: 32px; border-radius: 100px; background: var(--green); margin-top: 10px; }
.wc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.wc > i { height: 66px; border-radius: 9px; background: var(--paper-2); border: 1px solid var(--line-2); display: block; }
.wc > i:nth-child(2) { background: var(--amber-soft); }
.win--phone { position: absolute; right: -8px; bottom: 20px; width: 128px; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); transform: translateZ(40px); }
.win--phone .win__screen { padding: 15px; }
.win--phone .wn { margin-bottom: 16px; }
.win--phone .wn__logo { width: 42px; height: 10px; }
.win--phone .wn__burger { width: 17px; height: 10px; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.win--phone .wh { max-width: 100%; }
.win--phone .wh__h { height: 13px; }
.win--phone .wh__p { width: 100%; }
.win--phone .wh__btn { width: 100%; height: 28px; }
.win--phone .pimg { height: 74px; border-radius: 9px; background: var(--green-soft); margin-top: 14px; }

/* running strip */
.strip { background: var(--strip-bg); color: var(--strip-fg); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; padding: 14px 0; }
.strip .eyebrow { color: var(--strip-fg); }
.strip .eyebrow::before { background: var(--strip-fg); }
.strip p { font-weight: 600; }
.strip a { margin-left: auto; color: var(--strip-fg); font-weight: 700; font-size: .9rem; border-bottom: 2px solid color-mix(in srgb, var(--strip-fg) 40%, transparent); }
.strip a:hover { border-color: var(--strip-fg); }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.sec--tint { background: var(--paper-2); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 52px); }
.sec__head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-top: 14px; max-width: 16ch; }
.sec__head p { color: var(--muted); max-width: 40ch; }
.link { color: var(--green-deep); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: .3em; }
.link:hover { gap: .6em; }

/* what I do */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; background: var(--card); border-radius: var(--radius); padding: 28px 28px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--green); }
.card:nth-child(2)::before { background: var(--amber); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__n { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); }
.card__ico { width: 44px; height: 44px; border-radius: var(--radius); background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin: 14px 0 16px; }
.card:nth-child(2) .card__ico { background: var(--amber-soft); color: var(--amber-deep); }
.card__ico svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.32rem; margin-bottom: 9px; }
.card p { color: var(--ink-2); font-size: .96rem; }
.card ul { list-style: none; margin: 15px 0 0; padding: 15px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 8px; }
.card li { color: var(--muted); font-size: .8rem; padding: 4px 10px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); }
.card--tech { background: var(--panel-bg); color: var(--panel-fg); grid-column: 1 / -1; display: grid; grid-template-columns: 44px 1fr auto; gap: 8px 20px; align-items: center; padding: 24px 28px; }
.card--tech::before { background: var(--amber); }
.card--tech .card__ico { margin: 0; background: color-mix(in srgb, currentColor 14%, transparent); color: var(--amber); }
.card--tech h3 { color: var(--panel-fg); font-size: 1.15rem; margin: 0; }
.card--tech p { color: color-mix(in srgb, var(--panel-fg) 72%, transparent); font-size: .92rem; margin-top: 3px; }
.card--tech .link { color: var(--amber); white-space: nowrap; }

/* work */
.work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); transition: transform .2s ease, box-shadow .2s ease; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tile--feat { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.tile__frame { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 12px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.tile__frame i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.tile__frame span { margin-left: 8px; font-family: var(--f-mono); font-size: 9px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.tile__shot { flex: 1; aspect-ratio: 16/11; background: linear-gradient(150deg, var(--paper-3), var(--paper-2)); position: relative; display: grid; place-items: center; overflow: hidden; }
.tile--feat .tile__shot { aspect-ratio: 16/10; }
.tile__shot b { font-family: var(--f-display); font-weight: 600; color: var(--ink-2); font-size: 1.1rem; }
.tile--feat .tile__shot b { font-size: 1.7rem; }
.tile__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, color-mix(in srgb, var(--paper) 55%, transparent) 50%, transparent 60%); opacity: 0; transition: opacity .3s; }
.tile:hover .tile__shot::after { opacity: 1; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; }
.tile__shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile__meta b { font-family: var(--f-display); font-weight: 600; font-size: 1rem; }
.tile__meta span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.work__note { margin-top: 22px; font-size: .84rem; color: var(--muted); font-family: var(--f-mono); }

/* full-bleed album — two rows of framed photos drifting opposite ways */
.gallery { padding-block: clamp(48px, 7vw, 92px); background: var(--paper-2); border-block: 1px solid var(--line); overflow: hidden; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px 24px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 42px); }
.gallery__head p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -.02em; margin-top: 12px; max-width: 24ch; }
.gallery__tools { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; justify-content: flex-end; }
.galleryhint { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--green-deep); font-size: .95rem; font-style: italic; font-weight: 500; white-space: nowrap; }
.galleryhint__arr { width: 44px; height: 24px; flex: none; color: var(--green-deep); transform: translateY(5px); animation: nudge 1.5s ease-in-out 3; }
.gallerypick { display: inline-flex; align-items: center; gap: 3px; padding: 5px; border-radius: 100px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.gallerypick button { border: 0; background: transparent; cursor: pointer; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 8px 14px; border-radius: 100px; transition: background .18s ease, color .18s ease; }
.gallerypick button:hover { color: var(--ink); }
.gallerypick button[aria-pressed="true"] { background: var(--green); color: var(--btn-fg); }
@media (max-width: 620px) {
  .gallery__head { justify-content: flex-start; }
  .gallery__tools { justify-content: flex-start; }
  .galleryhint__arr { transform: rotate(58deg) translateY(2px); animation: none; }
}

/* gallery style: grid */
:root[data-gallery="grid"] .marquee { display: block; overflow: visible; cursor: default;
  max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad);
  -webkit-mask-image: none; mask-image: none; }
:root[data-gallery="grid"] .marquee + .marquee { margin-top: clamp(16px, 2.4vw, 28px); }
:root[data-gallery="grid"] .marquee__track { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(14px, 2vw, 22px); padding-inline: 0; transform: none !important; }
:root[data-gallery="grid"] .photo { width: auto; margin: 0; transform: none !important; }
:root[data-gallery="grid"] .photo[data-clone] { display: none; }
:root[data-gallery="grid"] .photo:hover { transform: translateY(-4px) !important; }

/* gallery style: reel — big horizontal filmstrips you scroll / drag / swipe */
:root[data-gallery="reel"] .marquee { display: block; overflow-x: auto; overflow-y: hidden; cursor: grab;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; overscroll-behavior-x: contain; }
:root[data-gallery="reel"] .marquee::-webkit-scrollbar { display: none; }
:root[data-gallery="reel"] .marquee__track { transform: none !important; padding-inline: var(--pad); }
:root[data-gallery="reel"] .photo { width: clamp(240px, 56vw, 460px); margin: 0; transform: none !important; }
:root[data-gallery="reel"] .photo[data-clone] { display: none; }
:root[data-gallery="reel"] .photo:hover { transform: none !important; }
.marquee { display: flex; overflow: hidden; touch-action: pan-y; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee.is-held { cursor: grabbing; }
.marquee + .marquee { margin-top: clamp(14px, 2vw, 24px); }
.marquee__track { display: flex; flex: none; gap: clamp(16px, 2.5vw, 30px); padding-inline: clamp(8px, 1.25vw, 15px);
  will-change: transform; }
.photo { flex: none; width: clamp(190px, 24vw, 280px); margin: 6px 0; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 10px 10px 32px; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease; }
.photo:nth-child(odd) { transform: rotate(-1.7deg); }
.photo:nth-child(even) { transform: rotate(1.5deg); }
.marquee:not(.is-held) .photo:hover { box-shadow: var(--shadow); transform: rotate(0) scale(1.03); }
.photo:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 3px; }
.photo__img { aspect-ratio: 4/3; border-radius: max(4px, calc(var(--radius) - 5px)); overflow: hidden;
  background: var(--paper-3) center / cover no-repeat; }
.photo__real { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: .62rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-2); text-align: center; }


@media (prefers-reduced-motion: reduce) {
  .marquee { cursor: default; }
  .photo[data-clone] { display: none; }
}

/* lightbox — a photo popped open */
.lbox { position: fixed; inset: 0; z-index: 10000; display: none; place-items: center; padding: 6vw;
  background: color-mix(in srgb, var(--ink) 76%, transparent); backdrop-filter: blur(4px); }
.lbox.is-open { display: grid; }
.lbox__inner { position: relative; width: 100%; max-width: 640px; background: var(--card); border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px); padding: 16px 16px 46px; box-shadow: var(--shadow); }
.lbox__img { aspect-ratio: 4/3; border-radius: max(4px, calc(var(--radius) - 4px));
  background-color: var(--paper-3); background-size: cover; background-position: center; background-repeat: no-repeat; }
.lbox__cap { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-mono);
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.lbox__x { position: absolute; top: -16px; right: -16px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.2rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.lbox__x:hover { background: var(--paper-2); }
.lbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer;
  box-shadow: var(--shadow-sm); display: grid; place-items: center; }
.lbox__nav:hover { background: var(--paper-2); }
.lbox__nav--prev { left: -18px; }
.lbox__nav--next { right: -18px; }
@media (max-width: 560px) { .lbox__nav--prev { left: 8px; } .lbox__nav--next { right: 8px; } .lbox__x { top: 8px; right: 8px; } }
/* keep a real cursor over the open lightbox */
.lbox-on .cur-dot, .lbox-on .cur-ring { display: none !important; }
.lbox-on, .lbox-on * { cursor: auto !important; }
.lbox-on .lbox button { cursor: pointer !important; }


/* approach */
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: 64px 1fr 1fr; gap: clamp(20px, 3vw, 48px); align-items: center; padding: clamp(26px, 3.4vw, 46px) 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row__n { font-family: var(--f-mono); color: var(--green-deep); font-size: .82rem; }
.row h3 { font-size: clamp(1.5rem, 2.4vw, 2.05rem); margin-bottom: 12px; }
.row p { color: var(--ink-2); }
.row__aside { color: var(--muted); font-size: .95rem; }
.row__aside .chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.chip { font-family: var(--f-mono); font-size: .72rem; padding: 6px 11px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); }

/* process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.step { background: var(--card); padding: 28px 24px; position: relative; }
.step__n { font-family: var(--f-mono); font-size: .8rem; color: var(--green-deep); }
.step:nth-child(4) .step__n { color: var(--amber-deep); }
.step h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: .92rem; }

/* pricing */
.price { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.pcol h3 { font-size: 1.2rem; margin-bottom: 14px; }
.pcol dl { margin: 0; border-top: 2px solid var(--ink); }
.pcol .r { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pcol dt { color: var(--ink-2); font-size: .94rem; }
.pcol dd { margin: 0; font-weight: 700; font-family: var(--f-display); font-size: .95rem; white-space: nowrap; }
.pcol .fine { margin-top: 14px; font-size: .82rem; color: var(--muted); }
.pnote { margin-top: clamp(28px, 3vw, 44px); padding-top: 20px; border-top: 2px solid var(--ink); color: var(--ink-2); }
.pnote b { color: var(--ink); }

/* about */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 8px; }
.about p { color: var(--ink-2); font-size: 1.06rem; margin-top: 16px; max-width: 56ch; }
.about .btn { margin-top: 26px; }
.portrait { position: relative; aspect-ratio: 4/5; border-radius: calc(var(--radius) + 4px); border: 6px solid var(--card); box-shadow: var(--shadow);
  overflow: hidden; transform: rotate(-1.6deg); }
.portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait::after { content: "Macclesfield"; position: absolute; right: -10px; bottom: 22px; background: var(--panel-bg); color: var(--panel-fg);
  font-family: var(--f-mono); font-size: .6rem; letter-spacing: .06em; padding: 5px 10px; border-radius: 100px; transform: rotate(3deg); }
.about .photo-credit { font-family: var(--f-mono); font-size: .62rem; color: var(--muted); text-align: right; margin-top: 10px; max-width: none; }
.photo-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.photo-credit a:hover { color: var(--ink-2); }

/* footer */
.foot { border-top: 1px solid var(--line); background: var(--panel-bg); color: var(--panel-fg); }
.foot__cta { display: grid; grid-template-columns: 1fr minmax(320px, 1fr); gap: clamp(28px, 5vw, 60px); align-items: start; padding-block: clamp(48px, 7vw, 88px); }
.foot__cta .eyebrow { color: var(--amber); }
.foot__cta .eyebrow::before { background: var(--amber); }
.foot__cta h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); margin-top: 12px; color: var(--panel-fg); }
.foot__cta p { color: color-mix(in srgb, var(--panel-fg) 70%, transparent); margin-top: 14px; max-width: 40ch; }
.foot__act { display: flex; flex-direction: column; gap: 12px; }
.foot__act .btn { justify-content: center; }
.foot__act .btn--ghost { color: var(--panel-fg); background: var(--panel-bg); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--panel-fg) 30%, transparent); }
.foot__act .btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--panel-fg); }

/* contact form */
.cform { display: grid; gap: 12px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cform label { display: block; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .08em; text-transform: uppercase;
  color: color-mix(in srgb, var(--panel-fg) 62%, transparent); margin-bottom: 6px; }
.cform label span { text-transform: none; letter-spacing: 0; }
.cform input, .cform textarea {
  width: 100%; font-family: var(--f-body); font-size: .95rem; color: var(--panel-fg);
  background: color-mix(in srgb, var(--panel-fg) 7%, var(--panel-bg));
  border: 1px solid color-mix(in srgb, var(--panel-fg) 22%, transparent);
  border-radius: calc(var(--radius) - 4px); padding: 12px 14px; cursor: text;
  transition: border-color .18s, background .18s; }
.cform textarea { resize: vertical; min-height: 104px; }
.cform input::placeholder, .cform textarea::placeholder { color: color-mix(in srgb, var(--panel-fg) 36%, transparent); }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--green);
  background: color-mix(in srgb, var(--panel-fg) 12%, var(--panel-bg)); }
.cform button[type="submit"] { margin-top: 2px; }
.cform button[disabled] { opacity: .6; }
.cform__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot__cta .cform__msg { margin: 2px 0 0; max-width: none; font-size: .9rem; }
.foot__cta .cform__msg:empty { display: none; }
.foot__cta .cform__msg[data-state="ok"] { color: var(--green); }
.foot__cta .cform__msg[data-state="err"] { color: var(--amber); }
.foot__cta .cform__note { margin: 4px 0 0; max-width: none; font-family: var(--f-mono); font-size: .66rem;
  letter-spacing: .04em; color: color-mix(in srgb, var(--panel-fg) 55%, transparent); }
.cform__note a { color: var(--panel-fg); }
@media (max-width: 620px) { .cform__row { grid-template-columns: 1fr; } }
.foot__bar { border-top: 1px solid color-mix(in srgb, var(--panel-fg) 16%, transparent); display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; padding-block: 22px; font-family: var(--f-mono); font-size: .76rem; color: color-mix(in srgb, var(--panel-fg) 60%, transparent); }

/* look switcher — sits at the top of the page, above the hero */
.lookbar { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 14px; padding-top: 18px; }
.lookhint { display: inline-flex; align-items: center; gap: 4px; margin: 0; color: var(--green-deep);
  font-size: .98rem; font-style: italic; font-weight: 500; white-space: nowrap; }
.lookhint__arr { width: 48px; height: 26px; flex: none; color: var(--green-deep); transform: translateY(5px);
  animation: nudge 1.5s ease-in-out 3; }
@keyframes nudge { 0%, 100% { transform: translateY(5px); } 50% { transform: translateY(5px) translateX(5px); } }
.lookpick { display: inline-flex; align-items: center; gap: 3px; padding: 5px; border-radius: 100px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.lookpick button { border: 0; background: transparent; cursor: pointer; font-family: var(--f-mono);
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  padding: 10px 20px; border-radius: 100px; transition: background .18s ease, color .18s ease; }
.lookpick button:hover { color: var(--ink); }
.lookpick button[aria-pressed="true"] { background: var(--green); color: var(--btn-fg); }
@media (max-width: 680px) {
  .lookbar { justify-content: center; flex-wrap: wrap; gap: 4px; }
  .lookhint { width: 100%; flex-direction: column; justify-content: center; gap: 2px; }
  .lookhint__arr { transform: rotate(105deg); animation: none; }
}
@media (max-width: 420px) { .lookpick button { padding: 10px 15px; font-size: .78rem; } }

/* cursor */
.cur-dot, .cur-ring { display: none; position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9999; border-radius: 50%; will-change: transform; }
.cur-dot { width: 6px; height: 6px; background: var(--green-deep); }
.cur-ring { width: 34px; height: 34px; border: 1.5px solid var(--green); transition: border-color .2s, opacity .2s; }
.has-cur .cur-dot, .has-cur .cur-ring { display: block; }
@media (pointer: fine) { .has-cur, .has-cur a, .has-cur button, .has-cur [data-mag] { cursor: none; } }

/* reveal */
.rise { opacity: 0; transform: translateY(22px); }
.rise.in { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,1.15,.4,1); }

/* ============================================================
   Motion. Hero intro is pure CSS (no waiting on JS, no LCP hit);
   scroll choreography lives in /assets/js/motion.js (GSAP) and the
   hero dot-field in /assets/js/hero3d.js (three.js, desktop only).
   ============================================================ */
.hero h1 .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero h1 .w > span { display: inline-block; }
.win__typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; }
@keyframes wordUp { from { transform: translateY(112%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes winIn { from { opacity: 0; transform: translateY(46px) scale(.96); } }
@keyframes phoneIn { from { opacity: 0; transform: translate3d(34px, 50px, 40px); } to { transform: translateZ(40px); } }
@keyframes barIn { from { opacity: 0; transform: scaleX(0); } }
@keyframes popIn { from { opacity: 0; transform: translateY(12px) scale(.92); } }
@keyframes typing { from { max-width: 0; } to { max-width: 22ch; } }
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow { animation: fadeUp .8s cubic-bezier(.16,1,.3,1) .05s both; }
  .hero__sub  { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .45s both; }
  .hero__note { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .55s both; }
  .hero__cta  { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .65s both; }
  .hero__trust { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) .75s both; }
  .hero h1 .hl::after { animation-delay: 1s; }
  .win:not(.win--phone) { animation: winIn 1.1s cubic-bezier(.16,1,.3,1) .25s both; }
  .win--phone { animation: phoneIn 1.1s cubic-bezier(.16,1,.3,1) .9s both; }
  .win__typed { animation: typing 1s steps(21, end) .7s both; }
  .assemble .wn__logo, .assemble .wn__links i, .assemble .wh > span:not(.wh__btn) { transform-origin: left; animation: barIn .8s cubic-bezier(.16,1,.3,1) both; }
  .assemble .wh__btn, .assemble .wc > i { animation: popIn .7s cubic-bezier(.34,1.4,.64,1) both; }
  .assemble .wn__logo { animation-delay: .55s; }
  .assemble .wn__links i:nth-child(1) { animation-delay: .62s; }
  .assemble .wn__links i:nth-child(2) { animation-delay: .67s; }
  .assemble .wn__links i:nth-child(3) { animation-delay: .72s; }
  .assemble .wh > :nth-child(1) { animation-delay: .72s; }
  .assemble .wh > :nth-child(2) { animation-delay: .8s; }
  .assemble .wh > :nth-child(3) { animation-delay: .88s; }
  .assemble .wh > :nth-child(4) { animation-delay: .96s; }
  .assemble .wh > :nth-child(5) { animation-delay: 1.06s; }
  .assemble .wc > i:nth-child(1) { animation-delay: 1.12s; }
  .assemble .wc > i:nth-child(2) { animation-delay: 1.2s; }
  .assemble .wc > i:nth-child(3) { animation-delay: 1.28s; }
}
/* the headline itself only animates on desktop — on phones it's the LCP element, so it paints straight away */
@media (min-width: 941px) and (prefers-reduced-motion: no-preference) {
  .hero h1 .w > span { animation: wordUp 1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(.12s + var(--i) * .08s); }
}

/* three.js dot fields: behind the hero copy (faded towards the headline) and behind the contact footer */
.field3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.8s ease; }
.field3d.on { opacity: 1; }
.foot { position: relative; overflow: hidden; }
.foot > .wrap { position: relative; z-index: 1; }
.foot3d {
  -webkit-mask-image: linear-gradient(180deg, transparent 22%, #000 68%, #000 84%, rgba(0,0,0,.3) 100%), linear-gradient(90deg, #000 38%, rgba(0,0,0,.3) 62%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 22%, #000 68%, #000 84%, rgba(0,0,0,.3) 100%), linear-gradient(90deg, #000 38%, rgba(0,0,0,.3) 62%);
  mask-composite: intersect; }
.hero3d {
  -webkit-mask-image: linear-gradient(180deg, transparent 12%, #000 62%), linear-gradient(90deg, rgba(0,0,0,.28) 18%, #000 56%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(180deg, transparent 12%, #000 62%), linear-gradient(90deg, rgba(0,0,0,.28) 18%, #000 56%);
  mask-composite: intersect; }

/* "taking on work" live dot */
.strip .eyebrow::before { display: none; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--pulse, var(--green)); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
:root[data-look="bold"] .pulse { --pulse: var(--strip-fg); }
@keyframes ping { 75%, 100% { transform: scale(2.8); opacity: 0; } }

/* micro-interactions */
.btn { position: relative; isolation: isolate; overflow: hidden; }
.btn:not(.btn--ghost)::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.38) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.65,0,.35,1); }
.btn:not(.btn--ghost):hover::before { transform: translateX(120%); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1.5px; background: var(--green);
  transform: scaleX(0); transform-origin: right; transition: transform .4s cubic-bezier(.65,0,.35,1); }
.nav a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.link { transition: gap .3s cubic-bezier(.34,1.56,.64,1); }
.card__ico { transition: transform .55s cubic-bezier(.34,1.56,.64,1); }
.card:hover .card__ico { transform: translateY(-3px) rotate(-8deg) scale(1.06); }
.tile__frame i { transition: background-color .3s ease; }
.tile:hover .tile__frame i:nth-child(1) { background: var(--green); }
.tile:hover .tile__frame i:nth-child(2) { background: var(--amber); }
.cform label { transition: color .2s ease; }
.cform div:focus-within > label { color: var(--panel-fg); }

/* hooks driven by motion.js (sensible defaults when it isn't running) */
.eyebrow::before { transform: scaleX(var(--eb, 1)); transform-origin: left; }
.head::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green);
  transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.gs .row { position: relative; border-top-color: transparent; }
.gs .row::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--line);
  transform: scaleX(var(--draw, 1)); transform-origin: left; }
.gs .pcol dl { position: relative; border-top-color: transparent; }
.gs .pcol dl::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--ink);
  transform: scaleX(var(--draw, 1)); transform-origin: left; }
.gs .steps { position: relative; }
.gs .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; z-index: 1; background: var(--green);
  transform: scaleX(var(--prog, 0)); transform-origin: left; pointer-events: none; }
.gs .step__n { display: inline-block; padding: 3px 10px; border-radius: 100px; box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .45s ease, color .45s ease, box-shadow .45s ease; }
.gs .step.lit .step__n { background: var(--green); color: var(--btn-fg); box-shadow: none; }
.sl-mask { padding-bottom: .12em; margin-bottom: -.12em; }
.has-ind { position: relative; }
.has-ind button { position: relative; z-index: 1; }
.has-ind button[aria-pressed="true"] { background: transparent; }
.pick-ind { position: absolute; top: 0; left: 0; border-radius: 100px; background: var(--green); pointer-events: none; }
[tabindex="-1"]:focus { outline: none; }

/* look switch: new look wipes in as a circle from the button (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }

/* responsive */
@media (max-width: 940px) {
  .hero__in { grid-template-columns: 1fr; }
  .stage { max-width: 560px; margin-inline: auto; }
  .cards { grid-template-columns: 1fr; }
  .card--tech { grid-column: auto; grid-template-columns: 44px 1fr; }
  .card--tech .link { grid-column: 2; }
  .work { grid-template-columns: 1fr 1fr; }
  .tile--feat { grid-column: span 2; grid-row: auto; }
  .steps, .price { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 40px 1fr; }
  .row__aside { grid-column: 2; }
  .about, .foot__cta { grid-template-columns: 1fr; }
  .portrait { max-width: 340px; }
  .nav { display: none; }
  .burger { display: inline-flex; flex-direction: column; gap: 5px; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--card); align-items: center; justify-content: center; cursor: pointer; }
  .burger span { width: 20px; height: 2px; background: var(--ink); }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper); border-bottom: 1px solid var(--line); padding: 10px var(--pad) 18px; }
  .nav.open a { padding: 12px 4px; font-size: 1.05rem; }
  .head__in { position: relative; }
}
@media (max-width: 620px) {
  .work { grid-template-columns: 1fr; }
  .tile--feat { grid-column: auto; }
  .steps, .price { grid-template-columns: 1fr; }
  .hero__trust { flex-wrap: wrap; gap: 18px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition-duration: .01ms !important; }
  .rise { opacity: 1 !important; transform: none !important; }
  .hero h1 .hl::after { transform: scaleX(1); }
  .cur-dot, .cur-ring { display: none !important; }
  .has-cur, .has-cur a, .has-cur button { cursor: auto; }
}

/* ============================================================
   Inner pages (services / work / about / contact), 2026-09-24.
   Built only from the look tokens, so Fresh / Warm / Bold all apply.
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 18px; padding: 0; list-style: none;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5em; opacity: .5; }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--green-deep); }
.phero { padding-block: clamp(24px, 4vw, 44px) clamp(44px, 6vw, 76px); }
.phero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; margin-top: 18px; max-width: 17ch; }
.phero__lead { margin-top: 22px; font-size: 1.14rem; color: var(--ink-2); max-width: 58ch; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.prose { max-width: 66ch; }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 40px 0 12px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 26px 0 6px; }
.prose p { color: var(--ink-2); margin-top: 12px; }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px;
  border-left: 2px solid var(--green-deep); border-bottom: 2px solid var(--green-deep); transform: rotate(-45deg); }

.facts { position: sticky; top: 96px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.facts h3 { font-size: 1.15rem; margin-bottom: 10px; }
.facts dl { margin: 0; }
.facts .r { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.facts .btn { width: 100%; justify-content: center; margin-top: 20px; }

.shot { margin: 0 0 clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.shot img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

a.tile { display: block; color: inherit; }
a.tile--feat { display: flex; }
.work--all { grid-template-columns: repeat(3, 1fr); }
.card__link { color: inherit; }
.card__link:hover { color: var(--green-deep); }
.card h3 .card__link::after { content: " \2192"; color: var(--green-deep); }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  background: var(--panel-bg); color: var(--panel-fg); border-radius: calc(var(--radius) + 4px); padding: clamp(28px, 4vw, 48px); }
.cta-band h2 { color: var(--panel-fg); font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin-top: 8px; color: color-mix(in srgb, var(--panel-fg) 72%, transparent); max-width: 52ch; }

.nav a[aria-current="page"] { color: var(--ink); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.foot__nav a { color: inherit; }
.foot__nav a:hover { color: var(--panel-fg); }

@media (max-width: 940px) {
  .split { grid-template-columns: 1fr; }
  .facts { position: static; }
  .work--all { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) { .work--all { grid-template-columns: 1fr; } }
