/* Photricity 8: global styles. Tokens, base, components, header and navigation, shared sections, footer.
   Section-specific styles (hero, process, work, spec, lab, about, quote) load only where used. */
@font-face { font-family: "Outfit Fallback"; src: local("Arial"); size-adjust: 100%; ascent-override: 100%; descent-override: 26%; line-gap-override: 0%; }
@font-face { font-family: "Instrument Fallback"; src: local("Arial"); size-adjust: 97%; ascent-override: 96%; descent-override: 25%; }
/* reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:where(h1, h2, h3, h4) { text-wrap: balance; }
:where(p) { text-wrap: pretty; }
/* tokens */
:root {
  --white: #FFFFFF; --grey-50: #F6F7F9; --grey-100: #EEF0F3; --grey-200: #E2E5EA; --grey-300: #CBD0D8;
  --grey-400: #8A929E; --grey-500: #6B7280; --grey-600: #4B5563; --grey-900: #111318;
  --night-950: #0B0D12; --night-900: #12151C; --night-800: #1A1F29; --night-700: #262C38; --night-600: #3A4150;
  --night-300: #A7B0C0; --night-100: #E8ECF2;
  --amber-200: #FFD9A3; --amber-300: #FFBB66; --amber-400: #FFA53D; --amber-500: #FF7A1A; --amber-700: #A84500; --amber-edge: #E08A1E;
  --cyan-300: #5CE1E6; --cyan-700: #0E7490;
  --success-d: #4ADE80; --success-l: #15803D; --error-d: #FB7185; --error-l: #BE123C;
  --font-display: "Outfit", "Outfit Fallback", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Instrument Fallback", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --step--1: clamp(0.875rem, 0.85rem + 0.1vw, 0.9375rem);
  --step-0: clamp(1.0625rem, 1.03rem + 0.12vw, 1.125rem);
  --step-1: clamp(1.1875rem, 1.1rem + 0.45vw, 1.4375rem);
  --step-2: clamp(1.5rem, 1.35rem + 0.7vw, 2rem);
  --step-3: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem);
  --step-4: clamp(2.375rem, 1.9rem + 2.4vw, 4rem);
  --step-5: clamp(2.75rem, 1.6rem + 5.4vw, 6.5rem);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px;
  --space-7: 48px; --space-8: 64px; --space-9: 96px; --space-10: 128px; --space-11: 160px;
  --gutter: clamp(20px, 4vw, 40px);
  --wrap: 1200px; --wrap-wide: 1440px;
  --section-pad: clamp(72px, 10vw, 160px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --ease-spring: linear(0, 0.009, 0.035 2.1%, 0.141, 0.281 6.7%, 0.723 12.9%, 0.938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, 0.991, 0.977 51%, 0.974 53.8%, 0.975 57.1%, 0.997 69.8%, 1.003 76.9%, 1);
  --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms; --dur-4: 600ms; --dur-5: 1200ms;
  --notch: 10px;
  --header-h: 72px;
}
.band-dark  { --bg: var(--night-950); --surface: var(--night-800); --fg: var(--night-100); --fg-2: var(--night-300); --fg-3: #8B93A3; --line: var(--night-700); --link: var(--amber-300); --eyebrow: var(--amber-300); --focus: var(--cyan-300); --input-line: var(--night-600); --error: var(--error-d); --success: var(--success-d); color-scheme: dark; }
.band-white { --bg: var(--white); --surface: var(--white); --fg: var(--grey-900); --fg-2: var(--grey-600); --fg-3: var(--grey-500); --line: var(--grey-200); --link: var(--amber-700); --eyebrow: var(--amber-700); --focus: var(--cyan-700); --input-line: var(--grey-400); --error: var(--error-l); --success: var(--success-l); color-scheme: light; }
.band-grey  { --bg: var(--grey-50); --surface: var(--white); --fg: var(--grey-900); --fg-2: var(--grey-600); --fg-3: var(--grey-500); --line: var(--grey-200); --link: var(--amber-700); --eyebrow: var(--amber-700); --focus: var(--cyan-700); --input-line: var(--grey-400); --error: var(--error-l); --success: var(--success-l); color-scheme: light; }
/* base */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.65; font-weight: 400;
  background: var(--white); color: var(--grey-900);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.band-dark, .band-white, .band-grey { background: var(--bg); color: var(--fg); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--fg); }
h1 { font-size: var(--step-5); font-weight: 800; line-height: .95; letter-spacing: -0.02em; }
h2 { font-size: var(--step-4); font-weight: 750; line-height: 1.02; letter-spacing: -0.015em; }
h3 { font-size: var(--step-2); font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h4 { font-size: clamp(1.25rem, 1.15rem + .4vw, 1.5rem); font-weight: 650; line-height: 1.25; }
p { max-width: 68ch; }
a { color: var(--link); text-decoration-line: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness var(--dur-1), color var(--dur-1); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus, var(--cyan-700)); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--amber-200); color: var(--night-950); }
code, kbd, .mono { font-family: var(--font-mono); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* block gap: designed sections set their own rhythm, so core's flow margins are zeroed inside them.
   Same specificity as core's :root :where(.is-layout-flow) > * rule; this sheet loads after it. */
:root :where(.band-dark, .band-white, .band-grey, .site-header, .site-footer, .p8-sections) > *,
:root :where(.band-dark, .band-white, .band-grey, .site-header, .site-footer) :where(:not(.prose, .prose *)) > * { margin-block: 0; }
/* layout */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2 * var(--gutter), var(--wrap-wide)); margin-inline: auto; }
.section { padding-block: var(--section-pad); position: relative; }
.section-head { display: grid; gap: var(--space-4); margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head p:not(:is(.eyebrow, .is-style-eyebrow)) { color: var(--fg-2); font-size: var(--step-1); line-height: 1.5; }
.band-white + .band-white, .band-grey + .band-grey, .band-white + .band-grey, .band-grey + .band-white { border-top: 1px solid var(--grey-200); }
/* components */
:root :is(.eyebrow, .is-style-eyebrow) { font-family: var(--font-mono); font-weight: 500; font-size: clamp(.8125rem, .79rem + .1vw, .875rem); letter-spacing: .12em; text-transform: uppercase; color: var(--eyebrow); }
:is(.eyebrow, .is-style-eyebrow)::before { content: "// "; opacity: .7; }
:is(.lead, .is-style-lead) { font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); }

/* Buttons: beveled chip. ::before = edge, ::after = fill */
:is(.btn, .wp-block-button__link) {
  --h: 48px; --px: 24px; --fs: .875rem;
  --btn-edge: var(--amber-400); --btn-bg: var(--amber-400); --btn-fg: var(--night-950);
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  min-height: var(--h); padding: 0 var(--px); min-width: 44px;
  font-family: var(--font-display); font-weight: 650; font-size: var(--fs); letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: var(--btn-fg); text-decoration: none; white-space: nowrap;
  translate: var(--mx, 0) var(--my, 0);
  transition: translate var(--dur-3) var(--ease-out), color var(--dur-1), filter var(--dur-2);
}
:is(.btn, .wp-block-button__link)::before, :is(.btn, .wp-block-button__link)::after {
  content: ""; position: absolute; z-index: -1;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  transition: background-color var(--dur-1), background-position 900ms var(--ease-in-out);
}
:is(.btn, .wp-block-button__link)::before { inset: 0; background: var(--btn-edge); }
:is(.btn, .wp-block-button__link)::after {
  inset: 1px; --n: calc(var(--notch) - .5px);
  clip-path: polygon(var(--n) 0, 100% 0, 100% calc(100% - var(--n)), calc(100% - var(--n)) 100%, 0 100%, 0 var(--n));
  background-color: var(--btn-bg);
  background-image: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.6) 50%, transparent 62%);
  background-size: 260% 100%; background-repeat: no-repeat; background-position: 130% 0;
}
:is(.btn, .wp-block-button__link).is-sheen::after { background-position: -40% 0; }
:is(.btn, .wp-block-button__link) .arrow { transition: translate var(--dur-2) var(--ease-out); }
:is(.btn, .wp-block-button__link):hover { --btn-bg: var(--amber-300); --btn-edge: var(--amber-300); }
:is(.btn, .wp-block-button__link):hover .arrow { translate: 4px 0; }
:is(.btn, .wp-block-button__link):active { --btn-bg: var(--amber-500); --btn-edge: var(--amber-500); translate: var(--mx, 0) calc(var(--my, 0px) + 1px); }
.band-dark :is(.btn-primary, .wp-block-button:not(.is-style-secondary, .is-style-ghost) > .wp-block-button__link) { filter: drop-shadow(0 8px 24px rgba(255,165,61,.28)); }
.band-dark :is(.btn-primary, .wp-block-button:not(.is-style-secondary, .is-style-ghost) > .wp-block-button__link):hover { filter: drop-shadow(0 10px 30px rgba(255,165,61,.45)); }
.band-white :is(.btn-primary, .wp-block-button:not(.is-style-secondary, .is-style-ghost) > .wp-block-button__link), .band-grey :is(.btn-primary, .wp-block-button:not(.is-style-secondary, .is-style-ghost) > .wp-block-button__link), .light-ui :is(.btn-primary, .wp-block-button:not(.is-style-secondary, .is-style-ghost) > .wp-block-button__link) { --btn-edge: var(--amber-edge); filter: drop-shadow(0 1px 0 rgba(17,19,24,.10)) drop-shadow(0 6px 10px rgba(255,140,30,.30)); }
:is(.btn, .wp-block-button__link):focus-visible { outline-offset: 4px; }
:is(.btn-secondary, .is-style-secondary > .wp-block-button__link) { --btn-edge: var(--amber-300); --btn-bg: var(--bg, var(--night-950)); --btn-fg: var(--amber-200); }
:is(.btn-secondary, .is-style-secondary > .wp-block-button__link)::after { inset: 1.5px; }
:is(.btn-secondary, .is-style-secondary > .wp-block-button__link):hover { --btn-edge: var(--amber-300); --btn-bg: color-mix(in srgb, var(--bg, var(--night-950)), var(--amber-300) 10%); }
.band-white :is(.btn-secondary, .is-style-secondary > .wp-block-button__link), .band-grey :is(.btn-secondary, .is-style-secondary > .wp-block-button__link), .light-ui :is(.btn-secondary, .is-style-secondary > .wp-block-button__link) { --btn-edge: var(--grey-900); --btn-fg: var(--grey-900); --btn-bg: var(--bg, #fff); }
.band-white :is(.btn-secondary, .is-style-secondary > .wp-block-button__link):hover, .band-grey :is(.btn-secondary, .is-style-secondary > .wp-block-button__link):hover, .light-ui :is(.btn-secondary, .is-style-secondary > .wp-block-button__link):hover { --btn-edge: var(--grey-900); --btn-bg: var(--grey-100); }
:is(.btn-secondary, .is-style-secondary > .wp-block-button__link):active { --btn-bg: var(--grey-200); --btn-edge: var(--grey-900); }
.band-dark :is(.btn-secondary, .is-style-secondary > .wp-block-button__link):active { --btn-bg: var(--night-800); --btn-edge: var(--amber-300); }
:is(.btn-ghost, .is-style-ghost > .wp-block-button__link) { --btn-edge: transparent; --btn-bg: transparent; --btn-fg: var(--fg); }
:is(.btn-ghost, .is-style-ghost > .wp-block-button__link):hover { --btn-edge: transparent; --btn-bg: color-mix(in srgb, var(--fg) 7%, transparent); }
:is(.btn, .wp-block-button__link)[disabled], :is(.btn, .wp-block-button__link)[aria-disabled="true"] { --btn-bg: var(--grey-200); --btn-edge: var(--grey-200); --btn-fg: var(--grey-500); cursor: not-allowed; filter: none; }
:is(.btn-sm, .btn-sm > .wp-block-button__link) { --h: 40px; --px: 16px; --fs: .8125rem; }
:is(.btn-lg, .btn-lg > .wp-block-button__link) { --h: 56px; --px: 28px; --fs: .9375rem; }
:is(.btn-xl, .btn-xl > .wp-block-button__link) { --h: 64px; --px: 36px; --fs: 1rem; }

.text-link { position: relative; font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500; color: var(--link); display: inline-block; padding-left: 1.6em; }
.text-link::before { content: "→" / ""; position: absolute; left: 0; top: 0; text-decoration: none; transition: translate var(--dur-2) var(--ease-out); }
.text-link:hover::before { translate: 3px 0; }

.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 2.4vw, 32px);
  transition: translate var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3); }
.band-white .card, .band-grey .card { box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 12px 32px -16px rgba(17,19,24,.16); }
@media (hover: hover) {
  .card.is-link:hover { translate: 0 -4px; }
  .band-white .card.is-link:hover, .band-grey .card.is-link:hover { border-color: var(--grey-300); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 20px 40px -18px rgba(17,19,24,.22); }
}
@property --angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.band-dark .card { background: var(--night-800); }
.band-dark .card::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 55%, var(--amber-300) 70%, var(--cyan-300) 82%, transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity var(--dur-3);
}
.band-dark .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--cx, 50%) var(--cy, 50%), rgba(255,187,102,.10), transparent 60%);
  opacity: 0; transition: opacity var(--dur-3);
}
@media (hover: hover) and (pointer: fine) {
  .band-dark .card:hover::before { opacity: 1; animation: spin-border 6s linear infinite; }
  .band-dark .card:hover::after { opacity: 1; }
}
@keyframes spin-border { to { --angle: 360deg; } }

.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); color: var(--grey-600); }
.band-dark .tag { background: transparent; border: 1px solid var(--night-700); color: var(--night-300); }

.divider { position: relative; height: 0; z-index: 2; max-width: none !important; width: 100%; margin-inline: 0 !important; } /* full-bleed: it sits straight inside the constrained post content */
.divider svg { position: absolute; left: 0; width: 100%; height: clamp(28px, 4.5vw, 64px); top: 0; translate: 0 -50%; overflow: visible; }
.divider path { fill: none; stroke: var(--amber-300); stroke-width: 2; vector-effect: non-scaling-stroke; }
.google-auto-placed { max-width: 100%; overflow: hidden; } /* AdSense auto ads: a 1200px iframe can briefly sit in a 0-width slot and widen the page */
/* header and navigation */
/* Header */
.skip, .skip-link.screen-reader-text:focus { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--amber-400); color: var(--night-950); padding: 10px 16px; font-weight: 600; transition: top var(--dur-2); }
.skip:focus, .skip-link.screen-reader-text:focus { top: 12px; clip: auto; clip-path: none; width: auto; height: auto; overflow: visible; text-decoration: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); transition: height var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out), background-color var(--dur-3), border-color var(--dur-3); border-bottom: 1px solid transparent; }
.site-header[data-theme="dark"] { --fg: var(--night-100); --fg-2: var(--night-300); --focus: var(--cyan-300); --bg: var(--night-950); color: var(--night-100); }
.site-header[data-theme="light"] { --fg: var(--grey-900); --fg-2: var(--grey-600); --focus: var(--cyan-700); --bg: #fff; color: var(--grey-900); }
.site-header.is-scrolled { --header-h: 60px; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.site-header.is-scrolled[data-theme="dark"] { background: rgba(11,13,18,.72); border-color: rgba(38,44,56,.8); }
.site-header.is-scrolled[data-theme="light"] { background: rgba(255,255,255,.80); border-color: var(--grey-200); }
.header-inner { height: 100%; display: flex; align-items: center; gap: var(--space-6); }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--fg); text-decoration: none; }
.brand svg { flex: none; width: 46px; height: auto; }
.brand .brackets { fill: currentColor; }
.brand-text { display: grid; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; letter-spacing: .14em; }
.brand-sub { font-family: var(--font-mono); font-size: .625rem; letter-spacing: .28em; color: var(--fg-2); margin-top: 5px; }
/* One nav: a row with click/hover dropdowns on desktop, a full-screen panel with accordions under 960px */
.nav { margin-left: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-list > li { position: relative; }
.nav-list > li > a, .sub-toggle { position: relative; display: inline-flex; align-items: center; gap: 7px; color: var(--fg); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; padding-block: 8px; background: none; border: 0; cursor: pointer; }
.nav-list > li > a::after, .sub-toggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--amber-400); scale: 0 1; transform-origin: left; transition: scale var(--dur-3) var(--ease-out); }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after, .sub-toggle:hover::after, .sub-toggle[aria-expanded="true"]::after { scale: 1 1; }
.chev { width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; translate: 0 -2px; opacity: .7; transition: rotate var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out); }
.sub-toggle[aria-expanded="true"] .chev { rotate: 225deg; translate: 0 2px; }
.sub { position: absolute; top: 100%; left: -14px; z-index: 3; min-width: 248px; margin-top: 12px; padding: 8px; background: var(--white); color: var(--grey-900); border: 1px solid var(--grey-200); border-radius: 14px; box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 24px 48px -20px rgba(17,19,24,.35);
  visibility: hidden; opacity: 0; translate: 0 -4px; transition: opacity var(--dur-2) var(--ease-out), translate var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2); }
.sub::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* hover bridge: no gap between parent and panel */
.sub { list-style: none; display: grid; gap: 2px; counter-reset: subn; }
.sub > li { counter-increment: subn; }
/* caption ("// services") comes from the submenu block description, or its label */
.sub[data-cap]::before { content: "// " attr(data-cap) / ""; display: block; margin: 0; padding: 6px 12px 6px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); }
.sub-toggle[aria-expanded="true"] ~ .sub { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
.sub-cap { margin: 0; padding: 6px 12px 6px; font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); }
.sub a { display: flex; align-items: baseline; gap: 12px; padding: 9px 12px; border-radius: 8px; color: var(--grey-900); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9688rem; white-space: nowrap; transition: background-color var(--dur-1); }
.sub a:hover, .sub a:focus-visible { background: var(--grey-100); }
.sub a:focus-visible { outline: 2px solid var(--cyan-700); outline-offset: 0; }
.sub a::before { content: counter(subn, decimal-leading-zero) / ""; flex: none; }
.sub-n, .sub a::before { font-family: var(--font-mono); font-size: .6875rem; font-weight: 400; color: var(--amber-700); }
.nav-extra { display: none; }
.menu-btn { display: none; order: 3; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--fg); position: relative; z-index: 2; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: background-color var(--dur-2), rotate var(--dur-3) var(--ease-out), top var(--dur-3) var(--ease-out), width var(--dur-3); }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -7px; } .menu-btn span::after { top: 7px; width: 14px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { top: 0; rotate: 45deg; }
.menu-btn[aria-expanded="true"] span::after { top: 0; width: 22px; rotate: -45deg; }
@media (width < 960px) {
  .js .menu-btn { display: inline-flex; }
  .site-header .header-cta { display: none; }
  .js .nav { position: fixed; inset: 0; z-index: 1; margin: 0; padding: calc(var(--header-h) + 32px) var(--gutter) max(32px, env(safe-area-inset-bottom)); background: var(--night-950); color: var(--night-100); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
    visibility: hidden; opacity: 0; translate: 0 -8px; transition: opacity var(--dur-3) var(--ease-out), translate var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3); }
  .js .nav.is-open { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; }
  .js .nav-list { display: grid; align-items: start; gap: 6px; }
  .js .nav-list > li { opacity: 0; translate: 0 12px; transition: opacity var(--dur-4) var(--ease-out), translate var(--dur-4) var(--ease-out); }
  .js .nav.is-open .nav-list > li { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 60ms + 80ms); }
  .js :is(.nav-list > li > a, .sub-toggle) { font-weight: 750; font-size: 2.25rem; letter-spacing: -0.01em; text-transform: none; color: var(--night-100); padding-block: 4px; gap: 14px; }
  .js :is(.nav-list > li > a, .sub-toggle)::after { display: none; }
  .js .chev { width: 11px; height: 11px; border-width: 0 2.5px 2.5px 0; translate: 0 -4px; }
  .js .sub-toggle[aria-expanded="true"] .chev { translate: 0 3px; }
  .js .sub { position: static; display: none; visibility: visible; opacity: 1; translate: none; min-width: 0; margin: 0; padding: 4px 0 12px 2px; background: none; border: 0; border-radius: 0; box-shadow: none; color: inherit; }
  .js .sub::before, .js .sub::after { display: none; }
  .js .sub-toggle[aria-expanded="true"] ~ .sub { display: grid; }
  .js .sub a { padding: 8px 0; font-size: 1.25rem; font-weight: 600; color: var(--night-300); border-radius: 0; gap: 14px; }
  .js .sub a:hover, .js .sub a:focus-visible { background: none; color: var(--night-100); }
  .js .sub a:focus-visible { outline-color: var(--cyan-300); outline-offset: 2px; }
  .js .sub a::before, .js .sub-n { color: var(--amber-300); }
  .js .nav-extra { display: grid; gap: 14px; margin-top: auto; padding-top: 32px; }
  .nav-extra :is(.btn, .wp-block-button__link) { width: 100%; }
  .nav-contact { display: flex; flex-wrap: wrap; gap: 18px; font-family: var(--font-mono); font-size: .875rem; }
  .nav-contact a { color: var(--amber-300); }
  .site-header.menu-open { --fg: var(--night-100); --fg-2: var(--night-300); --focus: var(--cyan-300); color: var(--night-100); background: transparent !important; border-color: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
  .site-header.menu-open .brand { position: relative; z-index: 2; }
  /* no JS: the list stays a scrollable row and submenus show as plain lists */
  :root:not(.js) .nav-list { overflow-x: auto; }
}
/* no JS on desktop: submenus open on hover/focus-within */
@media (width >= 960px) { :root:not(.js) .has-sub:is(:hover, :focus-within) .sub { visibility: visible; opacity: 1; translate: 0 0; transition-delay: 0s; } }
html.menu-locked { overflow: hidden; }
/* core/navigation extras the theme doesn't use */
.p8-nav .wp-block-navigation__submenu-icon, .p8-nav .wp-block-navigation-item__description { display: none; }
.p8-nav, .p8-nav > .nav-list { margin: 0; padding: 0; list-style: none; }
.nav .p8-nav { display: block; }
.p8-nav .wp-block-navigation-item__content { color: inherit; }

/* marquee */
/* Shared marquee (used by .q-marquee) */
.marquee { --gap: 56px; display: flex; overflow: hidden; gap: var(--gap); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee ul { display: flex; flex-shrink: 0; gap: var(--gap); min-width: 100%; justify-content: space-around; animation: marquee 48s linear infinite; list-style: none; padding: 0; }
.marquee:hover ul { animation-play-state: paused; }
.marquee li { font-family: var(--font-display); font-weight: 650; font-size: 1.125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--grey-500); white-space: nowrap; transition: color var(--dur-2); }
.marquee li:hover { color: var(--grey-900); }
@keyframes marquee { to { translate: calc(-100% - var(--gap)) 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
/* testimonials */
.quotes { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.quote { display: grid; gap: 22px; align-content: space-between; }
.quote blockquote p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); line-height: 1.4; letter-spacing: -0.005em; color: var(--fg); max-width: none; }
.quote.big { grid-row: span 2; background: var(--night-950); border-color: var(--night-950); color: var(--night-100); }
.quote.big blockquote p { color: var(--night-100); font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.32; }
.quote .qmark { font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .6; color: var(--amber-400); height: 34px; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: .8125rem; color: var(--fg-3); }
.quote.big figcaption { color: var(--night-300); }
.quote figcaption b { font-family: var(--font-body); font-size: 1rem; color: var(--fg); font-weight: 600; }
.quote.big figcaption b { color: #fff; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grey-100); color: var(--grey-900); font-family: var(--font-display); font-weight: 700; font-size: .875rem; }
.quote.big .avatar { background: var(--amber-400); color: var(--night-950); }
.stars { color: var(--amber-400); letter-spacing: 2px; font-size: .875rem; }
.q-marquee { margin-top: 28px; --gap: 16px; }
.q-marquee ul { animation-duration: 70s; }
.q-marquee li { font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 1rem; color: var(--grey-600); white-space: nowrap; padding: 12px 18px; border: 1px solid var(--grey-200); border-radius: 999px; background: var(--grey-50); }
.q-marquee li b { color: var(--grey-900); font-weight: 600; margin-left: 8px; }
.q-marquee li:hover { color: var(--grey-900); }
@media (width < 960px) { .quotes { grid-template-columns: 1fr; } .quote.big { grid-row: auto; } }
/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grid .section-head { position: sticky; top: 110px; }
.included { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.included li { display: flex; gap: 12px; align-items: baseline; color: var(--fg-2); font-size: 1rem; }
.included li::before { content: ""; flex: none; width: 8px; height: 8px; translate: 0 -1px; background: var(--amber-400); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.faq { border-top: 1px solid var(--grey-200); }
.faq details { border-bottom: 1px solid var(--grey-200); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: 16px; align-items: center; padding: 22px 0; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--amber-700); }
.faq .pm { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--grey-300); position: relative; transition: rotate var(--dur-3) var(--ease-out), background-color var(--dur-2); }
.faq .pm::before, .faq .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; translate: -50% -50%; }
.faq .pm::after { rotate: 90deg; transition: rotate var(--dur-3) var(--ease-out); }
.faq details[open] .pm { background: var(--amber-400); border-color: var(--amber-400); color: var(--night-950); }
.faq details[open] .pm::after { rotate: 0deg; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-3) var(--ease-out), content-visibility var(--dur-3) allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq .ans { padding: 0 44px 24px 0; color: var(--fg-2); }
@media (width < 960px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-head { position: static; } }
/* post cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { padding: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.post .thumb { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--grey-100); }
.post .thumb img { display: block; width: 100%; height: 100%; object-fit: contain; transition: scale var(--dur-4) var(--ease-out); }
.post:hover .thumb img { scale: 1.03; }
.post .body { padding: 18px 12px 14px; display: grid; gap: 10px; align-content: start; }
.post .cat { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-700); }
.post h3 { font-size: 1.25rem; line-height: 1.3; }
.post:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--amber-edge); }
.section-foot { margin-top: 40px; display: flex; justify-content: center; }
.about-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.build-more { margin-top: var(--space-4); }

@media (width < 960px) { .posts { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (width < 600px) {
  .posts { grid-template-columns: 1fr; gap: 12px; }
  .post { grid-template-columns: 104px 1fr; grid-template-rows: auto; align-items: center; gap: 4px; padding: 10px; }
  .post .thumb { border-radius: 8px; }
  .post .body { padding: 4px 8px; gap: 6px; }
  .post h3 { font-size: 1.0625rem; }
}
/* final CTA and option tiles */
.cta { overflow: clip; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1100px, 120vw); aspect-ratio: 2; translate: -50% -45%; background: radial-gradient(closest-side, rgba(255,165,61,.22), transparent); pointer-events: none; }
.cta-inner { position: relative; display: grid; justify-items: center; text-align: center; gap: 20px; }
.cta h2 { font-size: var(--step-5); font-weight: 800; letter-spacing: -0.02em; line-height: .98; }
.cta :is(.lead, .is-style-lead) { max-width: 56ch; }
.starter { width: 100%; max-width: 980px; margin-top: 24px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.cta-alt { font-family: var(--font-mono); font-size: .875rem; color: var(--night-300); margin-top: 10px; }
.cta-alt a { color: var(--amber-300); }
@media (width < 960px) { .starter { grid-template-columns: repeat(2, 1fr); } .starter .tile:last-child { grid-column: 1 / -1; } }

/* Option tiles (CTA + quote) */
.tile { position: relative; display: grid; gap: 10px; justify-items: start; text-align: left; padding: 18px; min-height: 120px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); transition: border-color var(--dur-2), translate var(--dur-3) var(--ease-out), background-color var(--dur-2), box-shadow var(--dur-2); }
.tile svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tile svg .a { stroke: var(--amber-edge); }
.band-dark .tile svg .a { stroke: var(--amber-300); }
.tile .tt { font-family: var(--font-display); font-weight: 650; font-size: 1.0625rem; line-height: 1.2; }
.tile .td { font-size: .875rem; color: var(--fg-2); line-height: 1.45; }
.tile kbd { position: absolute; top: 12px; right: 12px; font-size: .6875rem; padding: 2px 6px; border-radius: 4px; border: 1px solid var(--line); color: var(--fg-3); }
.tile:hover { border-color: var(--amber-300); translate: 0 -2px; }
.band-dark .tile:hover { background: var(--night-700); }
.tile[aria-checked="true"], .tile[aria-pressed="true"] { border-color: var(--amber-edge); box-shadow: inset 0 0 0 1px var(--amber-edge); background: color-mix(in srgb, var(--amber-200) 22%, var(--surface)); }
/* footer */
/* 13 Blueprint footer */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 112px); padding-bottom: 32px; overflow: clip; border-top: 1px solid var(--night-700); }
.site-footer::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(92,225,230,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(92,225,230,.045) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(transparent, #000 30%); pointer-events: none; }
.foot-contact { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-bottom: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--night-700); }
.foot-contact h2 { font-size: var(--step-3); }
.foot-contact .ways { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.foot-contact .way { display: grid; gap: 2px; font-family: var(--font-mono); font-size: .75rem; color: var(--night-300); text-transform: uppercase; letter-spacing: .08em; }
.foot-contact .way a { font-family: var(--font-body); font-size: 1.0625rem; color: var(--night-100); text-transform: none; letter-spacing: 0; text-decoration: none; }
.foot-contact .way a:hover { color: var(--amber-300); text-decoration: underline; }
.foot-cols { position: relative; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: clamp(40px, 5vw, 64px); }
.foot-about p { color: var(--night-300); font-size: .9375rem; max-width: 34ch; margin-top: 14px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--night-700); color: var(--night-100); transition: border-color var(--dur-2), color var(--dur-2); }
.social a:hover { border-color: var(--amber-300); color: var(--amber-300); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-col h3 { font-family: var(--font-mono); font-weight: 500; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-300); margin-bottom: 16px; }
.foot-col ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.foot-col a { display: inline-block; padding-block: 6px; color: var(--night-300); text-decoration: none; font-size: .9688rem; transition: color var(--dur-1); }
.foot-col a:hover { color: #fff; text-decoration: underline; }
@media (width < 1024px) { .foot-cols { grid-template-columns: repeat(2, 1fr); } .foot-about { grid-column: 1 / -1; } }

.blueprint { position: relative; margin-inline: auto; width: min(100% - 2 * var(--gutter), var(--wrap-wide)); padding-block: 8px 24px; }
.bp-svg { width: 100%; height: auto; overflow: visible; }
.bp-line { stroke: var(--cyan-300); stroke-opacity: .28; stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.bp-label { fill: var(--cyan-300); fill-opacity: .55; font-family: var(--font-mono); font-size: 34px; letter-spacing: 1px; text-transform: uppercase; }
.bp-outline { fill: rgba(92,225,230,0); stroke: var(--cyan-300); stroke-opacity: .55; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; transition: fill var(--dur-3), stroke-opacity var(--dur-3); }
.bp-bolt { stroke: var(--amber-300); stroke-opacity: .9; fill: rgba(255,187,102,.14); }
.bp-hit { fill: transparent; }
.bp-anchors { opacity: 0; transition: opacity var(--dur-2); pointer-events: none; }
.bp-anchors rect { fill: var(--night-950); stroke: var(--amber-300); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.bp-anchors circle { fill: var(--amber-300); }
.bp-handles { stroke: var(--amber-300); stroke-opacity: .7; stroke-width: 1; vector-effect: non-scaling-stroke; fill: none; }
@media (hover: hover) and (pointer: fine) {
  .bp-glyph:hover .bp-anchors { opacity: 1; }
  .bp-glyph:hover .bp-outline { stroke-opacity: 1; fill: rgba(92,225,230,.06); }
}
.js .blueprint.armed .bp-line { stroke-dashoffset: 1; }
.js .blueprint.armed .bp-label { opacity: 0; }
.js .blueprint.armed .bp-outline { stroke-dashoffset: 1; }
.js .blueprint.armed .bp-bolt { fill: rgba(255,187,102,0); }
.js .blueprint.armed.drawn .bp-line { stroke-dashoffset: 0; transition: stroke-dashoffset 400ms var(--ease-out); }
.js .blueprint.armed.drawn .bp-label { opacity: 1; transition: opacity 600ms 300ms; }
.js .blueprint.armed.drawn .bp-outline { stroke-dashoffset: 0; transition: stroke-dashoffset 1200ms var(--ease-in-out) calc(400ms + var(--i, 0) * 80ms), fill var(--dur-3), stroke-opacity var(--dur-3); }
.js .blueprint.armed.drawn .bp-bolt { fill: rgba(255,187,102,.14); transition: stroke-dashoffset 900ms var(--ease-in-out) 300ms, fill 600ms 1100ms; }
.bp-glyph { --i: 0; }
.bp-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .6875rem; color: rgba(92,225,230,.6); letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }
.legal { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 24px; border-top: 1px solid var(--night-700); font-size: .875rem; color: var(--night-300); }
.legal .made { margin: 0; color: var(--night-300); }
.legal .logo-txt .emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; font-weight: 400; margin-inline: -.04em; }
.legal .logo-txt { font-family: var(--font-mono); font-size: 1.0625em; font-weight: 600; color: var(--night-100); white-space: nowrap; letter-spacing: .02em; }
@media (width < 640px) { .bp-label { display: none; } }

/* Mobile bottom bar */
.mbar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: none; grid-template-columns: 1fr auto auto; gap: 8px; padding: 8px; border-radius: 16px; background: rgba(11,13,18,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--night-700); box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); translate: 0 140%; transition: translate var(--dur-4) var(--ease-out); }
.mbar.is-on { translate: 0 0; }
.mbar :is(.btn, .wp-block-button__link) { width: 100%; }
.mbar .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--night-700); color: var(--night-100); }
.mbar .ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (width < 960px) { .mbar { display: grid; } .site-footer { padding-bottom: 104px; } }
@media (hover: none) { .bp-caption span:last-child { display: none; } }
/* particle field, shared by .hero and .page-hero */
/* Hero field: depth-layered particle canvas (hero-bg.js) + a soft amber wash at the art */
.hero-field { position: absolute; inset: 0; pointer-events: none; translate: 0 calc(var(--sy, 0) * 0.18px); background: radial-gradient(ellipse 38% 44% at 72% 46%, rgba(255,165,61,.07), transparent 70%); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero-bg.is-ready { opacity: 1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-3); }
/* inner pages: page hero, breadcrumb */
.page-hero { position: relative; overflow: clip; display: grid; align-items: end; min-height: min(68svh, 640px); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 96px)); padding-bottom: clamp(56px, 8vw, 104px); }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--night-950)); pointer-events: none; }
.page-hero .hero-field { background: radial-gradient(ellipse 40% 60% at 82% 40%, rgba(255,165,61,.06), transparent 70%); }
.page-hero-copy { position: relative; z-index: 2; display: grid; gap: var(--space-5); justify-items: start; max-width: 860px; }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem); line-height: 1; max-width: 18ch; }
.page-hero h1 .accent { color: var(--amber-300); display: block; }
.page-hero :is(.lead, .is-style-lead) { max-width: 56ch; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 0; font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; }
.crumbs li:not(:last-child)::after { margin: 0 10px; opacity: 1; color: var(--night-600); }
.crumbs a { color: var(--night-300); text-decoration: none; }
.crumbs a:hover { color: var(--amber-300); }
.crumbs [aria-current="page"] { color: var(--amber-300); }
@media (width < 960px) { .page-hero { min-height: 0; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; } .page-hero-copy { gap: var(--space-4); } }
.mini-quotes { list-style: none; padding: 0; margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mini-quotes li { display: grid; gap: 10px; align-content: space-between; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; color: var(--fg); }
.mini-quotes b { font-family: var(--font-mono); font-weight: 400; font-size: .8125rem; color: var(--fg-3); }
@media (width < 960px) { .mini-quotes { grid-template-columns: 1fr; } }

/* ---------- WordPress block adaptations ---------- */
/* main wrapper and full-bleed sections */
.wp-site-blocks { overflow-x: clip; }
main.wp-block-group, .p8-sections { margin: 0; }
.p8-sections > .alignfull, main > .alignfull { max-width: none; margin-inline: 0; }
.section.alignfull, .hero.alignfull, .page-hero.alignfull { width: 100%; }
.wrap.is-layout-flow, .wrap-wide.is-layout-flow { max-width: none; }

/* paragraphs and lists styled as components (block styles) */
/* text links: a paragraph whose links get the mono arrow treatment, several links sit in a row */
.is-style-text-link, .about-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
:is(.is-style-text-link, .about-links) a { position: relative; font-family: var(--font-mono); font-size: var(--step--1); font-weight: 500; color: var(--link); display: inline-block; padding-left: 1.6em; }
:is(.is-style-text-link, .about-links) a::before { content: "→" / ""; position: absolute; left: 0; top: 0; text-decoration: none; transition: translate var(--dur-2) var(--ease-out); }
:is(.is-style-text-link, .about-links) a:hover::before { translate: 3px 0; }
p.text-link { display: block; width: fit-content; }
.is-style-included { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.is-style-included li { display: flex; gap: 12px; align-items: baseline; color: var(--fg-2); font-size: 1rem; }
.is-style-included li::before { content: ""; flex: none; width: 8px; height: 8px; translate: 0 -1px; background: var(--amber-400); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); color: var(--grey-600); }
.band-dark .chips li { background: transparent; border: 1px solid var(--night-700); color: var(--night-300); }

/* buttons block: rows of buttons */
.wp-block-buttons.hero-actions, .wp-block-buttons.is-layout-flex { gap: var(--space-4); }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button__link { height: auto; word-break: normal; border-radius: 0; }

/* whole-card links: the heading link stretches over its card */
.is-link { position: relative; }
.is-link :is(h2, h3, h4) a { color: inherit; text-decoration: none; }
.is-link :is(h2, h3, h4) a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.is-link :is(h2, h3, h4) a:focus-visible { outline: none; }
.is-link:has(:is(h2, h3, h4) a:focus-visible) { outline: 2px solid var(--focus, var(--cyan-700)); outline-offset: 3px; }

/* testimonials: core/quote cards */
.wp-block-quote.quote { margin: 0; }
.quote > p { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.5rem); line-height: 1.4; letter-spacing: -0.005em; color: var(--fg); max-width: none; }
.quote.big > p { color: var(--night-100); font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem); line-height: 1.32; }
.quote.big::before { content: "“" / ""; display: block; font-family: var(--font-display); font-weight: 800; font-size: 5rem; line-height: .6; color: var(--amber-400); height: 34px; }
.quote cite { display: flex; align-items: center; gap: 12px; font-style: normal; font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--fg); }
.quote.big cite { color: #fff; }
.quote.big { color: var(--night-100); }
.band-dark .quote:not(.big) { background: var(--night-800); }

/* marquee: a core/list with the "marquee" style; p8.js clones it for the loop */
.is-style-marquee { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.marquee .is-style-marquee { flex-wrap: nowrap; }
.q-marquee li :is(b, strong) { color: var(--grey-900); font-weight: 600; margin-left: 8px; }
.is-style-marquee li { font-size: 1rem; color: var(--grey-600); padding: 12px 18px; border: 1px solid var(--grey-200); border-radius: 999px; background: var(--grey-50); }
.marquee-wrap { margin-top: 28px; }

/* mini quotes: core/list with the "mini-quotes" class */
.mini-quotes li :is(b, strong) { font-family: var(--font-mono); font-weight: 400; font-size: .8125rem; color: var(--fg-3); display: block; }

/* FAQ: core/details blocks inside a .faq group */
.faq > .wp-block-details { border-bottom: 1px solid var(--grey-200); interpolate-size: allow-keywords; margin: 0; }
.faq summary { position: relative; }
.faq summary::after { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--grey-300);
  background: linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat, linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: background-size var(--dur-3) var(--ease-out), background-color var(--dur-2); }
.faq details[open] > summary::after { background-color: var(--amber-400); border-color: var(--amber-400); color: var(--night-950); background-size: 12px 1.5px, 1.5px 0; }
.faq details > :not(summary) { padding-right: 44px; color: var(--fg-2); }
.faq details > :last-child:not(summary) { padding-bottom: 24px; }
.faq details > * + :not(summary) { margin-top: 12px; }

/* post cards: Query Loop with the .posts class on the post template */
.wp-block-post-template.posts { list-style: none; padding: 0; margin: 0; }
.posts > li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; transition: translate var(--dur-3) var(--ease-out), border-color var(--dur-2), box-shadow var(--dur-3); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 12px 32px -16px rgba(17,19,24,.16); }
.band-dark .posts > li { background: var(--night-800); box-shadow: none; }
@media (hover: hover) { .posts > li:hover { translate: 0 -4px; border-color: var(--grey-300); box-shadow: 0 1px 2px rgba(17,19,24,.06), 0 20px 40px -18px rgba(17,19,24,.22); } }
.posts .wp-block-post-featured-image { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px; background: var(--grey-100); }
.posts .wp-block-post-featured-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: scale var(--dur-4) var(--ease-out); }
.posts > li:hover .wp-block-post-featured-image img { scale: 1.03; }
.posts .card-body { padding: 18px 12px 14px; display: grid; gap: 10px; align-content: start; }
.posts .wp-block-post-terms, .posts .wp-block-post-date { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-700); }
.posts .wp-block-post-terms a { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.posts .wp-block-post-terms a:hover { text-decoration: underline; }
.posts .wp-block-post-title { font-size: 1.25rem; line-height: 1.3; }
.posts .wp-block-post-title a { color: inherit; text-decoration: none; }
.posts .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.posts > li:hover .wp-block-post-title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--amber-edge); }
.posts .wp-block-post-excerpt { color: var(--fg-2); font-size: .9688rem; }
.posts .wp-block-post-excerpt__more-text { display: none; }
@media (width < 600px) {
  .posts > li { grid-template-columns: 104px 1fr; grid-template-rows: auto; align-items: center; gap: 4px; padding: 10px; }
  .posts .wp-block-post-featured-image { border-radius: 8px; }
  .posts .card-body { padding: 4px 8px; gap: 6px; }
  .posts .wp-block-post-title { font-size: 1.0625rem; }
  .posts .wp-block-post-excerpt { display: none; }
}
.p8-pagination { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; font-family: var(--font-mono); font-size: .875rem; }
.p8-pagination :is(a, .current) { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--fg); }
.p8-pagination .current { background: var(--grey-900); color: #fff; border-color: var(--grey-900); }
.p8-pagination a:hover { border-color: var(--amber-edge); }

/* page and post heroes built from the title (templates) */
.page-hero .wp-block-post-title, .page-hero .wp-block-query-title { font-size: clamp(2.5rem, 1.5rem + 3.4vw, 4.75rem); line-height: 1; max-width: 18ch; font-weight: 800; letter-spacing: -0.02em; }
.page-hero.is-post .wp-block-post-title { font-size: clamp(2.25rem, 1.4rem + 2.8vw, 4rem); max-width: 22ch; }
.page-hero .wp-block-post-excerpt, .page-hero .wp-block-term-description { font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); max-width: 56ch; }
.page-hero .wp-block-post-excerpt__more-link { display: none; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-2); }
.post-meta a { color: var(--amber-300); text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }
.post-meta > * + *::before { content: "/" / ""; margin-right: 18px; color: var(--night-600); }
.page-hero.is-short { min-height: 0; }

/* prose: page and post content outside the designed sections */
.prose { padding-block: clamp(48px, 7vw, 96px); }
.prose > * { max-width: var(--wp--style--global--content-size, 720px); margin-inline: auto; }
.prose > .alignwide { max-width: var(--wp--style--global--wide-size, 1200px); }
.prose > .alignfull { max-width: none; }
.prose.wp-block-post-content > * + *, .prose > * + * { margin-block-start: 1.25em; }
.prose > :is(h2, h3, h4) { margin-block-start: 1.8em; }
.prose > :is(h2, h3, h4) + * { margin-block-start: .6em; }
.prose h2 { font-size: var(--step-3); }
.prose h3 { font-size: var(--step-2); }
.prose h4 { font-size: var(--step-1); }
.prose :is(p, li) { color: var(--grey-900); }
.prose :is(ul, ol):not([role="list"]) { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--amber-edge); }
.prose img { border-radius: 12px; }
.prose figcaption { font-size: .875rem; color: var(--grey-600); margin-top: 8px; }
.prose blockquote:not(.quote) { border-left: 3px solid var(--amber-400); padding: 4px 0 4px 24px; }
.prose blockquote:not(.quote) p { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); line-height: 1.45; }
.prose blockquote cite { display: block; margin-top: 8px; font-family: var(--font-mono); font-style: normal; font-size: .8125rem; color: var(--grey-600); }
.prose .wp-block-pullquote { border-block: 2px solid var(--grey-900); padding: 32px 0; text-align: center; }
.prose .wp-block-pullquote p { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); line-height: 1.3; }
.prose code:not(pre code) { font-size: .875em; padding: .12em .4em; border-radius: 6px; background: var(--grey-100); color: var(--grey-900); }
.prose pre { overflow-x: auto; }
.prose .wp-block-code code { white-space: pre; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.prose :is(th, td) { padding: 10px 12px; border-bottom: 1px solid var(--grey-200); text-align: left; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--grey-200); margin-block: 2.5em; }
.prose .wp-block-buttons { gap: var(--space-4); }
.prose .wp-block-columns { gap: clamp(20px, 3vw, 40px); }
.prose .wp-block-image { margin-inline: auto; }
.prose .aligncenter { margin-inline: auto; text-align: center; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose::after { content: ""; display: table; clear: both; }
/* legacy photricity7 classes still in older content */
.prose .has-2-columns, .prose .grid-md { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.prose .small { font-size: var(--step--1); }
.prose .nomargin { margin: 0; }
.prose .clear { clear: both; }
.prose .scroll { overflow-x: auto; }
.prose .link-list { list-style: none; padding: 0; }
.prose .auto-columns { columns: 16rem auto; column-gap: 32px; }
.prose .bullet { list-style: disc; }
.has-small-font-size { font-size: var(--wp--preset--font-size--small) !important; }

/* single post */
.single-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.post-cover { position: relative; z-index: 1; width: min(100%, 1000px); margin: clamp(-64px, -4vw, -32px) auto 0; }
.post-cover img { display: block; margin-inline: auto; width: min(100%, var(--cover-w, 1000px), calc(78svh * (var(--cover-ar, 2)))); height: auto; aspect-ratio: var(--cover-ar, auto); object-fit: initial; border-radius: 16px; box-shadow: var(--shadow-3, 0 24px 48px -24px rgba(9,11,16,.45)); }
@media (width < 600px) { .post-cover img { width: min(100%, var(--cover-w, 1000px)); border-radius: 12px; } }
.page-hero.is-post { padding-bottom: clamp(88px, 9vw, 128px); }
.page-hero .wp-block-post-terms a { color: inherit; text-decoration: none; }
.page-hero .wp-block-post-terms a:hover { text-decoration: underline; }
.post-foot { max-width: var(--wp--style--global--content-size, 720px); margin-inline: auto; padding-bottom: clamp(48px, 7vw, 96px); display: grid; gap: 28px; }
.post-foot .wp-block-post-terms { display: flex; flex-wrap: wrap; gap: 8px; }
.post-foot .wp-block-post-terms a { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--grey-100); color: var(--grey-600); text-decoration: none; }
.post-foot .wp-block-post-terms a:hover { background: var(--grey-200); color: var(--grey-900); }
.post-foot .wp-block-post-terms__separator { display: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--grey-200); padding-top: 28px; }
.post-nav a { display: block; font-family: var(--font-display); font-weight: 650; color: var(--grey-900); text-decoration: none; }
.post-nav a:hover { color: var(--amber-700); }
.post-nav .post-navigation-link-next { text-align: right; }
.post-nav .wp-block-post-navigation-link__label, .post-nav .wp-block-post-navigation-link__arrow-previous, .post-nav .wp-block-post-navigation-link__arrow-next { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--grey-500); }

.post-nav > div { display: flex; gap: 10px; align-items: baseline; }
.post-nav > .post-navigation-link-next { flex-direction: row-reverse; }
.post-nav a { display: grid; gap: 4px; }
.post-nav .post-navigation-link__label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-600); }
.post-nav [class*="__arrow-"] { color: var(--amber-700); }
.post-nav > div:empty { display: none; }

.comment-form { display: grid; gap: 16px; }
.comment-form :is(input[type="text"], input[type="email"], input[type="url"], textarea), .wp-block-search__input { width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--grey-400); background: #fff; font-size: 1rem; }
.comment-form :is(input, textarea):focus-visible, .wp-block-search__input:focus-visible { outline: none; border-color: var(--cyan-700); box-shadow: 0 0 0 3px rgba(14,116,144,.22); }
.comment-form label { display: block; font-weight: 600; font-size: .9688rem; margin-bottom: 6px; }
.comment-form input[type="submit"], .wp-block-search__button { --btn-edge: var(--amber-edge); --btn-bg: var(--amber-400); --btn-fg: var(--night-950); min-height: 52px; padding: 0 24px; border: 0; border-radius: 0; cursor: pointer; font-family: var(--font-display); font-weight: 650; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--night-950); background: var(--amber-400); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.comment-form input[type="submit"]:hover, .wp-block-search__button:hover { background: var(--amber-300); }

/* search form */
.wp-block-search__inside-wrapper { display: flex; gap: 10px; }
.wp-block-search__label { font-weight: 600; margin-bottom: 8px; display: block; }
.page-hero .wp-block-search { width: min(100%, 560px); }
.page-hero .wp-block-search__input { background: var(--night-900); border-color: var(--night-600); color: var(--night-100); }

/* 404 */
.lost { display: grid; gap: 16px; }
.lost-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.lost-code { font-family: var(--font-mono); font-size: .875rem; color: var(--cyan-300); }

/* product pages (themes, plugins) */
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- utilities (last) ---------- */
.js .reveal { opacity: 0; translate: 0 24px; transition: opacity var(--dur-4) var(--ease-out), translate var(--dur-4) var(--ease-out); transition-delay: calc(var(--d, 0) * 60ms); }
.js .reveal.in { opacity: 1; translate: 0 0; }
.js .divider svg { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.js .divider.in svg { clip-path: inset(0 0 0 0); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-6 { margin-top: var(--space-6); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .divider svg { clip-path: none; }
  .marquee { overflow-x: auto; mask-image: none; }
  .marquee ul { animation: none; }
  .marquee ul[aria-hidden="true"] { display: none; }
  .hero-art .layer, .hero-field { translate: none !important; }
  .js .hero-art .chip, .js .mark :is(.ho, .hg, .hl, .ha) { animation: none; }
  .js .hero h1 { animation: none; }
  .js .blueprint.armed :is(.bp-line, .bp-outline) { stroke-dashoffset: 0; }
  .js .blueprint.armed .bp-label { opacity: 1; }
  .code .caret { animation: none; }
}
[hidden] { display: none !important; }
/* projects (photricity8-core post type) */
.projects-query .posts .wp-block-post-featured-image { aspect-ratio: 1.22; }
.projects-query .posts .wp-block-post-featured-image img { object-position: top; }
.proj-domain { font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .04em; color: var(--fg-2); margin: 0; }
.page-hero .proj-domain { color: var(--night-300); font-size: 1rem; }
.project-cover { width: min(100%, 880px); }
.project-cover img { background: var(--grey-100); }
