/*
  The site's type and spacing: Geist throughout, one type system and one spacing system.
  Loaded after every other stylesheet (the theme Sass and the WordPress CSS are not edited; this file overrides them).
  Every rule starts html:root, which carries the same weight as the html[data-type] selectors these rules had while they were
  one of four preview states (tag type-preview-four-states), so they win exactly where they did then.

  Sections: 1 faces · 2 family · 4 the type system · 5 the spacing system · 6 the November 29 tidy-ups · 7 the sections batch ·
  8 the body width (one 1100px column for every page, the contact section and the footer; the black button)
  9 follow-ups (purple, the phone menu button) · 10 the page scale (Video, Experiences, AI, Strategy; the openings of Method and About)
  11 the client logo strip · 12 the top edge under Safari's status bar
  (section 3 belonged to a preview state that is gone; the numbers are kept so earlier notes still point at the right place)
*/

/* ---------- 1. Faces: self-hosted, unmodified files from Vercel's geist npm package 1.9.2 (SIL OFL 1.1, licence beside them) ---------- */

@font-face { font-family: "PM Geist"; src: url("/assets/type/fonts/geist/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: block; }
@font-face { font-family: "PM Geist"; src: url("/assets/type/fonts/geist/Geist-Italic-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: block; }

/* ---------- 2. Family: Pangea, Euclid Circular A, Kantumruy Pro and (links page) Inter all become Geist ---------- */

html:root { --f-sans: "PM Geist", sans-serif; }

/* !important only for the family, so the swap reaches every rule and inline style; icon fonts and the
   Instagram embed placeholder (Instagram's own markup, replaced by its embed on the live site) are left alone */
html:root body,
html:root body *:not(.instagram-media, .instagram-media *, [class*="icon"], .dashicons) { font-family: var(--f-sans) !important; }

/* ---------- 4. The type system ---------- */

/*
  Scale (phone < 782px / desktop >= 782px, where the theme switches too). One line height and one tracking per step.
     step        phone   desktop   line height   tracking    used for
     numerals    128     192       1             -0.03em     Method step numbers
     hero        theme's own sizes (50 / 80 / 140 / 160)    home hero, untouched apart from tracking
     masthead    44      120  *    1.05          -0.03em     Method and service page titles
     title       44      88   *    1.05          -0.03em     page, post, project, blog and archive titles
     h2          36      64        1.1           -0.03em     section titles everywhere, post h2
     h2-list     28      48        1.1           -0.025em    the Originals list on the home page (.front-projects__subtitle)
     h3          24      36        1.2           -0.02em     card titles, subheads, post h3, home service captions
     lead        22      36        1.4           -0.015em    intro paragraphs, project subtitle
     h4          18      24        1.25          -0.01em     blog card titles, newsletter, minor headings
     body        16      24        1.5 (posts 1.6) 0         running text
     label       15      18        1.3           0           navigation, buttons, links that act as buttons, categories, meta
     small       14      15        1.5           0           footer details, captions
     micro       13      14        1.3           +0.06em     uppercase footer headings
   * masthead, title and numerals scale with the window between the two (clamp), as the theme's own breakpoints did.
  Weights: display and headings 400 · body 400 · labels and navigation 500 · strong in text 600.
  Emphasis: italic at the weight of its text. Bold inside headings and display type is dropped (the heading is the emphasis).
  Rhythm in running text: paragraphs 1em apart; space before a heading is 3x (h2) or 2x (h3) the paragraph gap,
  after it 1x (h2) or 0.67x (h3), so a heading always sits closer to its own text than to the text above.
*/
html:root {
	--fs-num: clamp(128px, 13.333vw, 192px);
	--fs-masthead: clamp(44px, 8.333vw, 120px);
	--fs-title: clamp(44px, 6.111vw, 88px);
	--fs-h2: 36px; --fs-h2-list: 28px; --fs-h3: 24px; --fs-lead: 22px; --fs-h4: 18px;
	--fs-body: 16px; --fs-label: 15px; --fs-small: 14px; --fs-micro: 13px;
	--lh-display: 1.05; --lh-h2: 1.1; --lh-h3: 1.2; --lh-lead: 1.4; --lh-h4: 1.25; --lh-body: 1.5; --lh-reading: 1.6; --lh-label: 1.3; --lh-small: 1.5;
	--ls-display: -0.03em; --ls-h2-list: -0.025em; --ls-h3: -0.02em; --ls-lead: -0.015em; --ls-h4: -0.01em; --ls-micro: 0.06em;
	--w-display: 400; --w-body: 400; --w-label: 500; --w-strong: 600;
	--gap: 16px; --before-h2: 48px; --after-h2: 16px; --before-h3: 32px; --after-h3: 12px;
}
@media (min-width: 782px) {
	html:root {
		--fs-h2: 64px; --fs-h2-list: 48px; --fs-h3: 36px; --fs-lead: 36px; --fs-h4: 24px;
		--fs-body: 24px; --fs-label: 18px; --fs-small: 15px; --fs-micro: 14px;
		--gap: 24px; --before-h2: 72px; --after-h2: 24px; --before-h3: 48px; --after-h3: 16px;
	}
}

/* -- weights and emphasis -- */
html:root body { font-weight: var(--w-body); }
html:root body :is(strong, b) { font-weight: var(--w-strong); }
html:root body :is(em, i) { font-weight: inherit; }
html:root body :is(strong em, em strong, b em, em b, strong i, i strong) { font-weight: var(--w-strong); }
/* large text: emphasis is the italic alone, at the weight of the text */
html:root body :is(h1, h2, h3, h4, h5, h6, .hero__title, .has-large-font-size, .project-subtitle, .front-projects__subtitle, .priceless-nav__message) :is(strong, b, em, i) {
	font-weight: inherit;
}
html:root body :is(h1, h2, h3, h4, h5, h6) { font-weight: var(--w-display); }

/* -- display -- */
html:root .hero__title-span { letter-spacing: var(--ls-display); font-weight: var(--w-display); }
html:root body .number-list__num { font-size: var(--fs-num); line-height: 1; letter-spacing: var(--ls-display); font-weight: var(--w-display); }
html:root body :is(.method-hero__title, .service__title) {
	font-size: var(--fs-masthead); line-height: var(--lh-display); letter-spacing: var(--ls-display);
}
html:root body :is(.entry-title:not(.service__title), .post__title, .blog__title, .page-title, .project-title) {
	font-size: var(--fs-title); line-height: var(--lh-display); letter-spacing: var(--ls-display);
}

/* -- headings -- */
html:root body :is(h1, h2, h3) { text-wrap: balance; }
@media (min-width: 782px) { html:root body :is(h1, h2, h3) em { white-space: nowrap; } }
html:root body :is(.entry-content h2, .project-content h1, .project-content h2, .query__title, .projects-grid__title, .blog-slider__title,
	.front-projects__title, .widgettitle, .widget-title, .page-content h2) {
	font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-display);
}
html:root body .front-projects__subtitle { font-size: var(--fs-h2-list); line-height: var(--lh-h2); letter-spacing: var(--ls-h2-list); }
html:root body :is(.entry-content h3, .project-content h3, .projects-grid-item__title, .number-list__title, .priceless-nav__message) {
	font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3);
}
html:root body :is(.entry-content :is(h4, h5, h6), .project-content :is(h4, h5, h6), .blog-slider-post__title, .blog-article__title, .newsletter__title) {
	font-size: var(--fs-h4); line-height: var(--lh-h4); letter-spacing: var(--ls-h4);
}

/* -- text -- */
html:root body :is(.has-large-font-size, .project-subtitle) { font-size: var(--fs-lead) !important; line-height: var(--lh-lead); letter-spacing: var(--ls-lead); } /* WordPress sets the preset size with !important, at 36px even on phones */
html:root body :is(.entry-content, .project-content, .page-content, .number-list__lead, .method-hero__content) :is(p:not(.has-large-font-size), li, blockquote, td, th, dd, dt),
html:root body :is(.query__text, .method-hero__subtitle, .front-projects__caption, .callout-box) {
	font-size: var(--fs-body); line-height: var(--lh-body); letter-spacing: 0;
}
html:root body.single-post .entry-content :is(p:not(.has-large-font-size), li, blockquote, td, th) { line-height: var(--lh-reading); }
html:root body .hero__title-caption { line-height: 1.25; letter-spacing: 0; }
/* The desktop caption sits in a box beside "Designing"; the theme gives the box 300px, which fitted the old four-line caption
   (its longest line 293px, so 7px from the D). The caption is now "Priceless Misc is a production and technology studio."
   (November 30, 2026), longest line 201px at this size: 8.7em keeps the same 7px to the D instead of 99px. If the caption's
   words change, re-measure its longest line and set this to that plus 7px. */
@media (min-width: 1280px) { html:root body .hero__title-caption { max-width: 8.7em; } }
/* The caption stands one word space from "Designing", the same space that separates the words of the big title (Justin,
   November 30, 2026). A space in the title is 0.221em of the title's size (35px at 160px, letter-spacing included); the caption's
   box already leaves 8px after its longest line, so the margin is the space less those 8px. */
@media (min-width: 1280px) { html:root body .hero__title-caption + .hero__title-span { margin-left: calc(0.221em - 8px); } }
html:root body .hero__title-caption--mobile { font-size: var(--fs-lead); line-height: var(--lh-lead); letter-spacing: var(--ls-lead); }

/* -- labels: navigation, buttons, links that act as buttons, categories, meta, form labels -- */
html:root body :is(.main-navigation a, .header-link, .front-services__link, .blog-slider__link, .front-projects__link, .link--underline,
	.wp-block-button__link, .gform_button, .blog-slider-post__figcaption, .blog-article__figcaption, .cat-link, .entry-meta, .entry-meta *, .tag-cloud-link,
	.priceless-nav__title, .gfield_label, .gform-field-label, .newsletter input[type="submit"], .gform_footer input) {
	font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--w-label); letter-spacing: 0; font-style: normal;
}
html:root body :is(.entry-meta, .entry-meta *) { font-weight: var(--w-body); }
html:root body .wp-block-button__link :is(strong, b) { font-weight: inherit; }
html:root body .wp-block-buttons.has-custom-font-size .wp-block-button__link { font-size: inherit; line-height: inherit; } /* a button set large on purpose keeps its size */
/* forms: Gravity Forms' own rules are more specific, so these repeat its wrapper classes */
html:root body .gform_wrapper.gravity-theme :is(.gfield_label, .gform-field-label) { font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--w-label); }
html:root body .gform_wrapper.gravity-theme :is(.gform-field-label--type-sub, .gfield_required, .gfield_required_text) { font-size: var(--fs-small); font-weight: var(--w-body); }
html:root body .front-services__link { line-height: inherit; } /* its line height positions the arrow below it */
html:root body .tag-cloud-link { font-size: var(--fs-label) !important; } /* WordPress writes the tag cloud size inline */

/* -- footer and small text -- */
html:root body :is(.contact__detail, .site-footer__social, .site-footer__copyright, figcaption.wp-element-caption, .wp-block-image figcaption) {
	font-size: var(--fs-small); line-height: var(--lh-small); font-weight: var(--w-body); letter-spacing: 0;
}
html:root body .site-footer__title { font-size: var(--fs-micro); line-height: var(--lh-label); font-weight: var(--w-label); letter-spacing: var(--ls-micro); }

/* -- rhythm in running text (only paragraphs, lists and headings that follow one another; blocks with their own spacing are left alone) -- */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(p, ul, ol):not([style*="margin"]):not(.callout-box) {
	margin-top: 0; margin-bottom: var(--gap);
}
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h1, h2):not([style*="margin"]) { margin-bottom: var(--after-h2); }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h3, h4, h5, h6):not([style*="margin"]) { margin-bottom: var(--after-h3); }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(p, ul, ol) + :is(h1, h2):not([style*="margin"]) { margin-top: var(--before-h2); }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(p, ul, ol, h1, h2) + :is(h3, h4, h5, h6):not([style*="margin"]) { margin-top: var(--before-h3); }
html:root body :is(.entry-content, .project-content) :is(ul, ol) > li + li { margin-top: calc(var(--gap) / 3); }

/* ---------- 5. The spacing system ---------- */

/*
  Space, measure, size and alignment within the existing blocks, on top of section 4. No copy, colour, motion or structure changes.

  Spacing scale (one set of steps for every gap; each step about 1.5x the one before):
     --sp-1  4    --sp-2  8    --sp-3  12    --sp-4  16    --sp-5  24    --sp-6  32    --sp-7  48    --sp-8  72    --sp-9  96    --sp-10  144
  Roles (phone / desktop >= 782px), all taken from the scale:
     --gutter      20 / 30     page side margin (phone was 15 for content and 30 for the header; now one edge)
     --gap         16 / 24     paragraph to paragraph, list to paragraph (section 4's --gap)
     --s-tight      8 / 8      label to its field, caption to its image
     --s-item       8 / 12     list item to list item, card title to its meta
     --s-media     32 / 48     image, gallery, video or embed to the text before and after it
     --s-block     32 / 48     boxes, quotes, button rows and other blocks inside running text
     --s-section   72 / 96     between whole sections
     headings: before an h2 3x --gap, after it 1x; before an h3 2x, after it 0.5x (section 4, unchanged)
  Width (changed November 29, 2026, section 6.5): in a post or page every block shares one left edge and one width, the width
  of its images: text, lists, quotes, boxes and buttons fall into the column the images define. The 70-character measure
  (34x the body size; 544 / 816px) is kept only where a page is text alone (Thanks, 404 and "Nothing found").
*/
html:root {
	--sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 72px; --sp-9: 96px; --sp-10: 144px;
	--gutter: 20px; --s-tight: var(--sp-2); --s-item: var(--sp-2); --s-media: var(--sp-6); --s-block: var(--sp-6); --s-section: var(--sp-8);
	--measure: calc(var(--fs-body) * 34); --measure-lead: calc(var(--fs-lead) * 26);
}
@media (min-width: 782px) {
	html:root { --gutter: 30px; --s-item: var(--sp-3); --s-media: var(--sp-7); --s-block: var(--sp-7); --s-section: var(--sp-9); }
}

/* -- 5.1 page edges: one side margin on phones (header, content, form and footer all start 20px in). The content, the contact
   section and the footer now take their edges from the body width (section 8), which is 20px in on phones as well -- */
@media (max-width: 767px) {
	html:root body :is(.site-header, .container) {
		padding-left: var(--gutter) !important; padding-right: var(--gutter) !important;
	}
}
/* category, tag and author archives and the 404 page had no container at all; they are on the body width (section 8) */

/* -- 5.2 measure: only text-only pages (Thanks, 404, "Nothing found") and the Method hero and steps keep a 70-character line;
   everywhere else text takes the column's width (6.5) -- */
html:root body.page-id-902 .entry-content :is(p:not(.has-large-font-size), ul, ol, blockquote),
html:root body .page-content :is(p:not(.has-large-font-size), ul, ol, blockquote),
html:root body :is(.number-list__lead, .method-hero__content) > p {
	max-width: var(--measure);
}
/* centred text stays centred */
html:root body :is(.entry-content, .project-content, .page-content) :is(p, h2, h3, h4).has-text-align-center { margin-left: auto; margin-right: auto; }

/* -- 5.3 images, galleries, video and embeds in running text: never touching the text around them -- */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(figure, .wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-embed, .wp-block-media-text, iframe, video):not([style*="margin"]) {
	margin-top: var(--s-media); margin-bottom: var(--s-media);
}
/* image-and-text rows (Video's "Problems We Solve", Technology and Strategy lists) are one list: rows 24px apart, the list as a whole
   a media gap from the text around it */
html:root body :is(.entry-content, .wp-block-group__inner-container, .wp-block-column) > .wp-block-media-text:not([style*="margin"]):has(+ .wp-block-media-text, + .wp-block-spacer + .wp-block-media-text) { margin-bottom: var(--sp-5); }
html:root body :is(.entry-content, .wp-block-group__inner-container, .wp-block-column) > :is(.wp-block-media-text, .wp-block-spacer) + .wp-block-media-text:not([style*="margin"]) { margin-top: var(--sp-5); }
/* stacked on phones (WordPress stacks them below 600px), the text kept an 8% side inset meant for the side-by-side layout,
   so it started 28px right of every other line on the page */
@media (max-width: 600px) {
	html:root body .wp-block-media-text.is-stacked-on-mobile > .wp-block-media-text__content { padding-left: 0; padding-right: 0; padding-top: var(--sp-4); }
}
/* a heading sits closer to the image it introduces than the image sits to the text after it */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h2, h3, h4) + :is(figure, .wp-block-image, .wp-block-gallery, .wp-block-video, .wp-block-embed, .wp-block-media-text):not([style*="margin"]) {
	margin-top: var(--sp-5);
}
html:root body :is(.entry-content, .project-content, .page-content) :is(figure > figcaption, .wp-element-caption) { margin-top: var(--s-tight); margin-bottom: 0; }
/* a gallery's own images keep the gallery's gap, not the block margin above */
html:root body .wp-block-gallery > figure.wp-block-image { margin-top: 0; margin-bottom: 0; }

/* -- 5.4 rhythm in running text: the same gap for the same relationship, whatever comes before -- */
/* section 4 spaced headings after paragraphs and lists only; after an image, box or quote they fell back to the theme's 75px */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :not(h1, h2, h3, h4, h5, h6) + :is(h1, h2):not([style*="margin"]) { margin-top: var(--before-h2); }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :not(h1, h2, h3, h4, h5, h6) + :is(h3, h4, h5, h6):not([style*="margin"]) { margin-top: var(--before-h3); }
/* a subhead straight under its section heading reads as the heading's second line ("Cinematographer / The Visual Storyteller"):
   8px under it, so heading and subhead sit closer to each other than to the video or text they introduce */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h1, h2):has(+ :is(h3, h4, h5, h6)):not([style*="margin"]) { margin-bottom: var(--sp-2); }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h1, h2) + :is(h3, h4, h5, h6):not([style*="margin"]) { margin-top: 0; }
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(h1, h2, h3, h4, h5, h6):first-child { margin-top: 0; }
/* WordPress spacer blocks were set by hand at 40, 41, 50, 51, 59, 60, 62 and 75px, on top of the margins around them. They now
   take no height, and whatever follows one starts a block gap (or its heading gap) below the text before it. The 0 and 15px
   spacers are layout and are left alone; the home page's spacers belong to its pinned sections and are not touched. */
html:root body:not(.home) :is(.entry-content, .wp-block-group__inner-container, .wp-block-column, .wp-block-group) > .wp-block-spacer:not([style*="height:0"], [style*="height:15px"]) { height: 0 !important; margin: 0; }
html:root body:not(.home) :is(.entry-content, .wp-block-group__inner-container, .wp-block-column, .wp-block-group) > .wp-block-spacer:not([style*="height:0"], [style*="height:15px"]) + :not(h1, h2, h3, h4, h5, h6):not([style*="margin"]) { margin-top: var(--s-block); }
/* paragraphs set in bold on their own act as subheads on About and in two older posts (Video 101 and Taking the Machine Out of
   the Man, also shown on the archive pages): space them as h3s, closer to their text than to the text above.
   Only these pages: elsewhere a bold-only paragraph is an emphasised sentence, not a heading. */
html:root body :is(.page-id-16, .post-924, .post-926) .entry-content > p:has(> strong:only-child):not(:first-child) { margin-top: var(--before-h3); margin-bottom: var(--after-h3); }
html:root body .page-id-902 .entry-content > p:has(> strong:only-child):has(+ :is(ol, ul)) { margin-top: var(--before-h3); margin-bottom: var(--after-h3); } /* Thanks: "What's Next?" */

/* plain groups (rows of text, text beside an embed) kept their last paragraph's margin inside a flex row, or none at all:
   text after a group touched it (Authentic Influencer Marketing). A group now ends with one paragraph gap. */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-column) > .wp-block-group:not(.has-background):not([style*="margin"]) { margin-bottom: var(--gap); }
html:root body :is(.entry-content, .project-content, .page-content) .wp-block-group.is-layout-flex > :is(p, ul, ol):last-child { margin-bottom: 0; }

/* text beside an Instagram embed (Authentic Influencer Marketing, also on archive pages): on phones the two stayed side by side
   and the embed ran 74px off the right edge, cut off. They stack, the embed one media gap below the text. */
@media (max-width: 781px) {
	html:root body .entry-content .wp-block-group.is-nowrap:has(> .instagram-media) { flex-direction: column; align-items: stretch; gap: var(--s-media); }
	html:root body .entry-content .wp-block-group.is-nowrap > .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; }
}

/* -- 5.5 lists: no extra padding above and below (the theme gave every list 25px), markers hang just outside the text edge -- */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-column) > :is(ul, ol):not([style*="padding"]) {
	padding-top: 0; padding-bottom: 0; padding-left: 1.25em;
}
/* lists inside layout groups (Technology's "Capabilities" columns) had the same 25px padding */
html:root body :is(.entry-content, .project-content, .page-content) :is(ul, ol):not(.blocks-gallery-grid, .wp-block-gallery *):not([style*="padding"]) { padding-top: 0; padding-bottom: 0; }
html:root body :is(.entry-content, .project-content, .page-content) :is(ul, ol) > li { margin-bottom: 0; }
html:root body :is(.entry-content, .project-content, .page-content) :is(ul, ol) > li + li { margin-top: var(--s-item); }
html:root body :is(.entry-content, .project-content, .page-content) :is(ul, ol) > li::marker { font-variant-numeric: tabular-nums; }
html:root body :is(.entry-content, .project-content, .page-content) li > :is(ul, ol) { margin-top: var(--s-item); margin-bottom: 0; padding-block: 0; }

/* -- 5.6 quotes and boxes: even padding inside, one block gap outside, nothing touching their edges -- */
html:root body :is(.entry-content, .project-content, .page-content) blockquote:not([style*="padding"]) {
	margin-top: var(--s-block); margin-bottom: var(--s-block); padding: var(--sp-5); box-sizing: border-box;
}
html:root body :is(.entry-content, .project-content, .page-content) > :is(.wp-block-group.has-background, .callout-box, .value-box, .cta-box):not([style*="margin"]) {
	margin-top: var(--s-block); margin-bottom: var(--s-block);
}
/* boxes take the column's full width (6.5) */
html:root body :is(.entry-content, .project-content, .page-content) :is(.wp-block-group.has-background, .callout-box, .value-box, .cta-box):not([style*="padding"]) { padding: var(--sp-6); }
@media (max-width: 781px) {
	html:root body :is(.entry-content, .project-content, .page-content) :is(.wp-block-group.has-background, .callout-box, .value-box, .cta-box):not([style*="padding"]) { padding: var(--sp-5); }
}
html:root body :is(blockquote, .wp-block-group.has-background, .wp-block-group.has-background > .wp-block-group__inner-container, .callout-box, .value-box, .cta-box) > :first-child { margin-top: 0; }
html:root body :is(blockquote, .wp-block-group.has-background, .wp-block-group.has-background > .wp-block-group__inner-container, .callout-box, .value-box, .cta-box) > :last-child { margin-bottom: 0; }
/* boxes that centre their contents (WordPress "justify centre" groups) also centre each line, so a paragraph that now wraps inside
   the narrower box does not turn ragged-left */
html:root body :is(.entry-content, .project-content, .page-content) .wp-block-group.is-content-justification-center > :is(p, h2, h3, h4) { text-align: center; }
/* button rows inside running text */
html:root body :is(.entry-content, .project-content, .page-content, .wp-block-group__inner-container, .wp-block-group) > .wp-block-buttons:not([style*="margin"]) { margin-top: var(--s-block); margin-bottom: var(--s-block); }
html:root body :is(.wp-block-group.has-background, .callout-box, .cta-box) .wp-block-buttons:not([style*="margin"]) { margin-top: var(--sp-5); margin-bottom: 0; }

/* -- 5.7 page and post headers -- */
/* service pages (Video, Technology, Strategy): the title sat at 60px, the image at 170px and the text at 200px. One left edge, 170px. */
@media (min-width: 768px) {
	html:root body .service__content > .entry-content { padding-left: 0; padding-right: 0; }
}
/* the 120px title stood 22px above the featured image (its own negative margins pull the image up) */
html:root body .service__featured-figure { margin-top: var(--sp-5); }
/* posts: the category tag was centred over a left-aligned title, and title, date and image were 50 to 75px apart.
   Tag, title and date now share the post column's left edge; the date sits close under the title. */
html:root body .post__header > :is(.post__category, .post__title, .post__meta) { max-width: 1100px; margin-left: auto; margin-right: auto; text-align: left; }
html:root body .post__category { padding-bottom: var(--sp-5); }
html:root body .post__title { margin-bottom: 0; }
html:root body .post__meta { margin-top: var(--sp-5); margin-bottom: 0; }
html:root body .post__figure { margin-top: var(--s-media); }
html:root body .post__header { padding-bottom: 0; }
html:root body.single .entry-content { margin-top: var(--s-media); }
/* projects: the title column shrank to its longest word ("Stranger / Things / S4 / Trailer / Launch", one per line) */
@media (min-width: 768px) {
	html:root body .project-intro { gap: var(--sp-7); }
	html:root body .project-intro > .project-title { flex: 0 0 42%; }
	html:root body .project-intro > .project-subtitle { flex: 1 1 0; margin-top: 0; }
}
/* on phones the title and introduction stack with no gap at all: the introduction touched the title's last line */
@media (max-width: 767px) {
	html:root body .project-intro { padding-bottom: var(--sp-6); }
	html:root body .project-intro > .project-subtitle { margin-top: var(--sp-4); margin-bottom: 0; }
}
/* Method: the title stood 75px above its own introduction */
html:root body .method-hero__title { margin-bottom: var(--sp-7); }
/* archives and 404: the title was 200px above the first post; posts ran into one another */
html:root body:is(.archive, .error404) .page-header { padding-top: var(--sp-7); padding-bottom: 0; margin-bottom: var(--before-h2); }
html:root body:is(.archive, .error404) .page-title { margin-bottom: 0; }
html:root body.archive #primary article > .entry-header:empty { padding: 0; } /* empty, but 100 to 150px tall */
html:root body.archive #primary article + article { margin-top: var(--s-section); }
html:root body.archive #primary article > .entry-content { padding-left: 0; padding-right: 0; }

/* -- 5.8 home -- */
/* the Originals section's edges: the body width (section 8.2) */
/* "See all" sat centred against the section title; it now shares the title's baseline */
html:root body :is(.blog-slider__header, .front-projects__header) { align-items: baseline; }

/* the menu that opens from the hamburger (below 1150px, where the theme switches to it): its links were 15px type in 20px-tall
   boxes, 25px apart, and 5px off the logo's edge. Now on the logo's edge, at the h3 size, each a 44px tap target, no gaps between. */
@media (max-width: 1149px) {
	html:root body .main-navigation { padding-left: var(--gutter); padding-right: var(--gutter); }
	html:root body .main-navigation #primary-menu > li { margin-bottom: 0; }
	html:root body .main-navigation #primary-menu a { padding: var(--sp-2) 0; font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--w-body); letter-spacing: var(--ls-h3); }
}

/* -- 5.9 Method -- */
/* each big numeral sat centred on its whole step, below the step's title; it now lines up with the title */
@media (min-width: 768px) {
	html:root body .number-list__item { align-items: flex-start; }
	html:root body .number-list__num { margin-top: var(--sp-6); }
}
/* the step title and its text were inline blocks side by side whenever both fit: now that the text keeps a measure they would,
   so each takes its own line, as they always appeared */
html:root body :is(.number-list__title, .number-list__lead) { display: block; }
/* "Here's how our approach can transform your business": the two columns of each row had different widths, so the second
   column started at a different place on every row. Equal columns, one gutter. (Method only: other pages use this layout for image and text.) */
html:root body.page-id-124 .entry-content .wp-block-group.is-nowrap:has(> p) > p { flex: 1 1 0; margin: 0; }
html:root body.page-id-124 .entry-content .wp-block-group.is-nowrap:has(> p) { gap: var(--sp-7); align-items: flex-start; }
/* on phones the two columns were 150 to 170px wide, 18 to 20 characters a line: they stack, one paragraph gap apart */
@media (max-width: 781px) {
	html:root body.page-id-124 .entry-content .wp-block-group.is-nowrap:has(> p) { flex-direction: column; gap: var(--gap); }
	html:root body.page-id-124 .entry-content .wp-block-group.is-nowrap:has(> p) > p { flex: none; }
}
/* rows 48px apart: the rows' own 18px gaps took a 40px spacer between them (76px) */
html:root body.page-id-124 .entry-content .wp-block-group.is-vertical { gap: var(--sp-5); }
html:root body.page-id-124 .entry-content .wp-block-group.is-vertical > .wp-block-spacer[style*="height:0"] { flex-basis: 0 !important; height: 0 !important; }

/* -- 5.10 Video: the "Book Discovery Call" button was centred under left-aligned text -- */
html:root body.page-id-126 .entry-content > .wp-block-buttons.is-content-justification-center { justify-content: flex-start; }

/* -- 5.11 cards (blog index, home and Video blog sliders): a title sits closer to its own image than to the next row -- */
html:root body .blog__grid { row-gap: var(--sp-7); }
html:root body :is(.blog-article__figure, .blog-slider-post__figure) { margin-bottom: var(--sp-4); }
html:root body :is(.blog-article__title, .blog-slider-post__title) { margin-top: 0; margin-bottom: 0; }
html:root body .projects-grid-item__title { margin-top: var(--sp-4); }
/* category tags on images: even padding, clear of the image edge */
html:root body :is(.blog-article__figcaption, .blog-slider-post__figcaption, .cat-link) { padding: var(--sp-1) var(--sp-3); line-height: var(--lh-label); }

/* -- 5.12 contact form: each label belongs to its field, the button follows the last field -- */
html:root body .gform_wrapper.gravity-theme .gfield_label { margin-bottom: var(--s-tight); }
html:root body .query__form .gform_wrapper.gravity-theme .gform_fields { row-gap: var(--sp-6); }
html:root body .query__form .gform_wrapper.gravity-theme .gfield { padding-top: 0; }
html:root body .query__form .gform_wrapper.gravity-theme .gform_footer { margin-top: var(--sp-6); padding: 0; }
html:root body .query__form .gform_wrapper.gravity-theme .gform_footer .gform_button { margin-top: 0 !important; } /* Gravity Forms sets 75px with !important */
/* the newsletter "Submit" link was 24px on phones and 18px on desktop: label size at both */
html:root body .gform_wrapper.gravity-theme .newsletter__form .gform_button.button { font-size: var(--fs-label); line-height: var(--lh-label); }
/* the heading beside the form starts on the same line as the first label */
html:root body .query__title { margin-top: 0; margin-bottom: var(--sp-5); }

/* -- 5.13 footer -- */
/* the copyright sat 30px right of the footer's edge and 3px under the newsletter form; its edges are now the body width's (8.3) */
html:root body .site-footer__copyright { margin-top: var(--sp-7); }
html:root body .newsletter__title { margin-bottom: var(--sp-4); }
html:root body .site-footer__title { margin-bottom: var(--sp-4); }
html:root body .contact__detail { margin-top: 0; margin-bottom: var(--s-tight); }

/* -- 5.14 404 page: widgets one block apart, each title close to its list, search field and button apart -- */
html:root body.error404 :is(.widget, .widget_search, .search-form) { margin-top: 0; margin-bottom: var(--s-media); }
html:root body.error404 :is(.widgettitle, .widget-title) { margin-top: 0; margin-bottom: var(--after-h2); }
html:root body.error404 .widget ul { padding-top: 0; padding-bottom: 0; }
html:root body.error404 .widget li + li { margin-top: var(--s-item); }
html:root body.error404 .search-form { display: flex; gap: var(--sp-2); align-items: stretch; }
/* the search field and button inherited the page's 24 to 36px base size */
html:root body:is(.error404, .archive) .search-form :is(input, button) { font-size: var(--fs-label); line-height: var(--lh-label); padding: var(--sp-2) var(--sp-3); }

/* -- 5.15 details -- */
/* intros and short paragraphs: no single word on the last line */
html:root body :is(.has-large-font-size, .project-subtitle, .method-hero__subtitle, .query__text, .hero__title-caption, .number-list__lead p, .entry-content p) { text-wrap: pretty; }
html:root body :is(h4, h5, h6, .blog-article__title, .blog-slider-post__title, .projects-grid-item__title, .newsletter__title) { text-wrap: balance; }
/* underlined links: see 6.4 */

/* ---------- 6. November 29, 2026 tidy-ups (Justin's list after reviewing "Geist, spaced") ---------- */

/* -- 6.1 page titles (About, Thanks, the e-commerce page) were centred while every other page's title starts on the left:
   left-aligned, on the text's left edge (both on the body width, section 8) -- */
html:root body.page-template-default .entry-header .entry-title { text-align: left; }

/* -- 6.2 footer: plain black instead of #212121 (the logo and "Work with us" are black). Its text, links and icons are white;
   the email field's underline (#5c5c5c) reads better on black than it did on #212121 -- */
html:root body .site-footer { background-color: #000; }

/* -- 6.3 the floating header (from 1150px, once scrolled): logo and links sat 12px from the top edge; now 24px.
   Below 1150px the header does not float; it gets the same padding while stuck, before it scrolls away -- */
html:root body .site-header--fixed { padding-top: var(--sp-5); }

/* -- 6.4 underlined links: one underline for every underlined link (header "Work with us", "See all" and "See more",
   the newsletter "Submit"), a little further from the text than before. The theme drew most of them as a 2px bar 3px
   above the box's bottom edge, which sat on the descenders; it is now a text underline, the same distance below the
   baseline whatever the size or line height. Set once here. -- */
html:root { --link-line: 2px; --link-offset: 0.3em; }
html:root body :is(.header-link, .header-link__menu > a, .blog-slider__link, .projects-grid__link, .front-projects__link, .link--underline,
	.gform_wrapper.gravity-theme .newsletter__form .gform_button.button) {
	text-decoration-line: underline; text-decoration-thickness: var(--link-line); text-underline-offset: var(--link-offset);
	text-decoration-skip-ink: auto;
}
html:root body :is(.header-link, .header-link__menu > a, .blog-slider__link, .projects-grid__link, .front-projects__link, .link--underline,
	.gform_wrapper.gravity-theme .newsletter__form .gform_button.button)::after { content: none; }
/* the menu's "Work with us" has #212121 text and drew its bar in black: the underline keeps that colour */
html:root body .header-link__menu > a { text-decoration-color: #000; }
html:root body .header-link__menu > a:is(:hover, :focus, :active) { text-decoration-color: rgba(0, 0, 0, 0.8); }

/* -- 6.5 one width per column (posts, pages, projects and the archives that show whole posts). Justin's rule: the images
   define the column's width, and text, lists, quotes, boxes, buttons and embeds fall into that same width, on the same left
   edge. The 70-character measure is gone from these pages (5.2 keeps it only on text-only pages). -- */
/* single images fill the column. WordPress centred many at their file's size (1024px in an 1100px column) or at a size set by
   hand (Your Story); they now run edge to edge, like the featured image above them */
html:root body :is(.entry-content, .project-content) > :is(figure.wp-block-image, div.wp-block-image) { width: 100%; max-width: none; }
html:root body :is(.entry-content, .project-content) > div.wp-block-image > figure { display: block; width: 100%; margin-left: 0; margin-right: 0; }
html:root body :is(.entry-content, .project-content) > div.wp-block-image > figure > figcaption { display: block; }
html:root body :is(.entry-content, .project-content) > :is(figure.wp-block-image, div.wp-block-image):not(:has(img[src*="handy-machine-learning"], img[src*="bubble-gum-computer-monitor"], img[src*="transistor-team-work"], img[src*="kit-workspace-with-analytics"], img[src$="/2024/06/image-3.jpeg"], img[src*="rrrgif-1.gif"])) img {
	display: block; width: 100% !important; height: auto !important;
}
/* except images whose file is narrower than the column, which would blur if stretched: the illustrations in Taking the Machine
   Out of the Man (three are 800px GIFs; the fourth matches them), the 790px crew image in Who's Who and the 800px GIF in NFCU x
   Red River Run. They keep the size they were given and move from the centre to the column's left edge. */
html:root body :is(.entry-content, .project-content) > :is(figure.wp-block-image, div.wp-block-image):has(img[src*="handy-machine-learning"], img[src*="bubble-gum-computer-monitor"], img[src*="transistor-team-work"], img[src*="kit-workspace-with-analytics"], img[src$="/2024/06/image-3.jpeg"], img[src*="rrrgif-1.gif"]) img {
	display: block; margin-left: 0; margin-right: auto; max-width: 100%;
}
/* the same for the 800px GIF in The Curation Comeback, which sits centred in a one-column layout with its caption: both move to the
   left edge */
html:root body.postid-1473 .entry-content .wp-block-column > .wp-block-group.is-content-justification-center:has(> figure.wp-block-image) { justify-content: flex-start; }
html:root body.postid-1473 .entry-content .wp-block-column > p.has-text-align-center { text-align: left; margin-left: 0; }
/* boxes (call-outs, calls to action, value boxes, tinted groups) and quotes: the column's full width wherever they sit, with the
   same padding (5.6). In The Curation Comeback the first of the three strategy boxes sat inside an extra group, so it missed the
   box rules and ran wider than the other two. */
html:root body :is(.entry-content, .project-content) :is(.wp-block-group.has-background, .callout-box, .value-box, .cta-box, blockquote.wp-block-quote):not(:is(.wp-block-group.has-background, .callout-box, .value-box, .cta-box, .wp-block-column, .wp-block-media-text) *) {
	width: 100%; max-width: none; margin-left: 0; margin-right: 0; box-sizing: border-box;
}
/* numbered lists started 48px further in than bulleted lists (a theme margin on ol only): both now hang their markers
   just left of the text, from the same edge */
html:root body :is(.entry-content, .project-content) ol:not([style*="margin"]) { margin-left: 0; }

/* -- 6.6 Stranger Things gallery (now JPEG, see README): the carousel gives every slide the same width (272px at 1440), so the
   280px-tall photos were squeezed sideways. Each photo now fills its slide without distortion, cropped at the edges. The
   carousel itself is unchanged. -- */
html:root body .slideshow--equal-height .slideshow__img { width: 100%; object-fit: cover; }

/* ---------- 7. The sections batch (November 29, 2026, second list): the Experiences photo pair and the hero's rotating word ---------- */

/* -- 7.1 Experiences: two photos from the Novant Health jump challenge as one pair in the page header, in place of the single
   featured photo. Desktop: the wide photo (4:3) and the tall one (3:4) share the column at the same height (16:9 column split),
   the tall one dropped by one section step; the caption sits under the wide photo, level with the tall one's foot.
   Phone: the wide photo across the column, the tall one under it on the right, the caption beside its foot. -- */
html:root body .featured-pair {
	display: grid; grid-template-columns: minmax(0, 16fr) minmax(0, 9fr); column-gap: var(--sp-5); align-items: start;
	padding: 100px 0 50px; /* the space the single photo had above and below it (a blank line of the header's pre-wrap text) */
}
html:root body .featured-pair > img { display: block; width: 100%; height: auto; }
html:root body .featured-pair__wide { grid-column: 1; grid-row: 1; }
html:root body .featured-pair__tall { grid-column: 2; grid-row: 1 / span 2; margin-top: var(--sp-9); }
html:root body .featured-pair__caption { grid-column: 1; grid-row: 2; align-self: end; margin: 0; }
@media (max-width: 781px) {
	html:root body .featured-pair { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); column-gap: var(--sp-4); row-gap: var(--sp-4); padding: 45px 0 22px; }
	html:root body .featured-pair__wide { grid-column: 1 / -1; }
	html:root body .featured-pair__tall { grid-column: 2; grid-row: 2; margin-top: 0; }
	html:root body .featured-pair__caption { grid-column: 1; grid-row: 2; }
}

/* -- 7.2 The hero's rotating word ("bold [digital] future"; script and fits in FrontPage.astro). The slot is an inline box exactly as
   wide as the first word, which stays in it as the heading's real text; the rotating words are drawn over it, absolutely placed,
   so the line never re-measures. The stage clips at the slot's sides (so a word can never touch "bold" or "future") and a little
   above and below the line, so words rise into and out of the slot. Transform and opacity only: no layout shift. -- */
html:root body .hero__title-span .hero-word,
html:root body .hero__title-span .hero-word * { font-style: normal; font-weight: var(--w-display); }
html:root body .hero-word { position: relative; display: inline-block; }
html:root body .hero-word.is-drawn > .hero-word__base { opacity: 0; }
html:root body .hero-word__stage { position: absolute; inset: 0; clip-path: inset(-0.12em 0 -0.28em 0); pointer-events: none; }
html:root body .hero-word__word { position: absolute; top: 0; white-space: nowrap; }
/* large phones (416 to 449px wide): "bold digital future" just fits on one line there, leaving no room for a wider word, so
   human and curious were skipped. Capped at 7em (350px at the phones' 50px), "future" breaks to its own line as it already
   does below 416px, and all five words rotate. Below 416px the cap changes nothing. Applies to every mode, classic included */
@media (max-width: 449px) {
	html:root body .hero__title-row + .hero__title-row > .hero__title-span { max-width: 7em; }
}
/* the rotation since November 30, 2026 (late): the words beside the slot are wrapped by the script so they can glide (inline-block:
   same line breaks, and transformable); the stage reaches 1em past each side and its clip, set by the script, is the room the
   word takes; the edge probe tells the script the page's side margin. The classic mode (/?hero=classic) uses only the rules above */
html:root body .hero__title-span .hero-word__side { display: inline-block; font-style: normal; font-weight: var(--w-display); }
html:root body .hero-word.is-flow > .hero-word__stage { left: -1em; right: -1em; }
html:root body .hero-word__probe { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
html:root body .hero-word__edge { position: absolute; left: 0; top: 0; width: var(--body-edge); height: 0; visibility: hidden; pointer-events: none; }

/* ---------- 8. The body width (November 29, 2026, third list: one width for every page, the footer and the contact section) ---------- */

/*
  One column for the whole site: the one Video, Experiences, AI and the posts already shared.
     --body-max    1100px     the column's widest
     --body-edge   20 / 60    the least side margin: phones / from 768px (the theme's tablet step)
     --body-inset  the side padding that puts a full-width element's content on the column:
                   max(--body-edge, (100% - --body-max) / 2), the % being the element's own containing block (the window's width
                   for every element it is used on), so the column is 1100px centred, or the window less two edges when narrower.
  On the column: every content page and post (title, text, images, boxes), project pages, Method, About, Strategy, Thanks, the
  e-commerce page, 404, category, tag and author pages, the home page's text sections, the "Tell your story" section and the
  footer's content. The AI page draws the same column itself (ai.css: min(1100px, 100% - 2 x 60px), 20px on phones).
  Deliberate exceptions, each either edge to edge or explained:
     the header           the site's frame, at the window's edges (--gutter: 20 / 30)
     the home hero         its large type runs wider than the column (the composition is built on the window)
     the pinned scroller   edge to edge (Video, Experiences, AI on the home page)
     logo strips, the Stranger Things gallery   edge to edge
     the footer's black    edge to edge; only its content is on the column
     the blog index        a grid of cards on the page's side margins (--body-edge) without the 1100px limit
     (service-page titles no longer run past the column: section 10)
     carousels' slides     start on the column's left edge and may run on past its right edge to the window (blog slider on phones)
*/
html:root { --body-max: 1100px; --body-edge: 20px; --body-inset: max(var(--body-edge), (100% - var(--body-max)) / 2); }
@media (min-width: 768px) { html:root { --body-edge: 60px; } }

/* nothing sits past the window's edge: the soft gradients and the logo strips ran up to 1,400px off the right side, so phones could
   be dragged sideways. clip, not hidden: it makes no scroll container, so sticky and pinned sections behave as before */
html:root body #page { overflow-x: clip; }

/* -- 8.1 content pages and posts: the page's frame (#primary) takes the column; the wrappers inside it lose their own side padding -- */
html:root body:not(.home, .blog) #primary { max-width: none; margin-inline: 0; padding-inline: var(--body-inset) !important; box-sizing: border-box; }
html:root body:not(.home) #primary :is(.container, .container-narrow, .method__container) { max-width: none; padding-left: 0 !important; padding-right: 0 !important; }
html:root body:not(.home) #primary :is(.entry-content, .project-content, .page-content, .entry-header) { padding-left: 0; padding-right: 0; }
/* archives and 404: the 1100px limit they had is the column's own now */
html:root body:is(.archive, .error404) #primary :is(.page-header, article, .error-404, .no-results) { max-width: none; margin-inline: 0; box-sizing: border-box; }
/* service pages' titles stay inside the column (section 10); until November 29, 2026 (fourth list) they could run on past its right
   edge to the window's margin, which from about 1,600px wide put "your audience" and "hearts and minds." up to 290px past the column */

/* -- 8.2 home: the text sections (the line under the scroller and its button, See Our Impact, Blog, Originals) on the column -- */
html:root body.home :is(.frontpage__container, .front-projects__container) { max-width: none; padding-left: var(--body-inset) !important; padding-right: var(--body-inset) !important; box-sizing: border-box; }
html:root body.home .frontpage__container > .entry-content { padding-left: 0; padding-right: 0; }

/* -- 8.3 the "Tell your story" section and the footer: their content on the column, the footer's black still edge to edge -- */
html:root body :is(.query__container, .site-footer__container, .site-footer > .container) {
	max-width: none; padding-left: var(--body-inset) !important; padding-right: var(--body-inset) !important; box-sizing: border-box;
}

/* -- 8.4 Method: the numbered steps ran the window's full width (up to 1,566px), numerals 30px in; they are on the column now,
   the numeral centred in its own column at the left, then the rule, then the text, one large gap (48px) from the rule -- */
html:root body .number-list { width: auto; max-width: none; left: 0; transform: none; padding-left: 0; padding-right: 0; }
html:root body .number-list__item { padding-left: 0; padding-right: 0; }
@media (max-width: 767px) { html:root body .number-list__right { padding-left: 0 !important; padding-right: 0 !important; } }
@media (min-width: 768px) { html:root body .number-list__right { padding: var(--sp-7) 0 var(--sp-7) var(--sp-7) !important; } }

/* -- 8.5 blog index: the grid of cards on the page's side margins. Four cards a row took 22% each, so the row stopped 70px short
   of the right margin at 1440; they now fill it, one gap (32px) apart -- */
html:root body.blog #primary { max-width: none; padding-left: var(--body-edge) !important; padding-right: var(--body-edge) !important; box-sizing: border-box; }
html:root body .blog__grid { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: var(--sp-6); }
@media (min-width: 768px) { html:root body .blog__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
html:root body .blog__grid > .blog-article { width: auto; }

/* -- 8.6 the contact form's "Work with Us" button: black (the footer's and the logo's #000), white label, the hero's "See our work"
   arrow turned to point right (ContactForm.astro). 56px tall on desktop, 52 on phones (label line + 16px above and below).
   Hover: a step lighter (#212121, the headings' near-black) and the arrow moves 4px on. Keyboard focus: a 2px black ring 4px out.
   Pressed: #333. The theme's button turned transparent with purple text on hover and focus; that is replaced here. -- */
html:root body .gform_wrapper.gravity-theme .gform_button.query__submit {
	display: inline-flex; align-items: center; gap: var(--sp-3); min-height: 48px; margin: 0 !important;
	padding: var(--sp-4) var(--sp-6); border: 0; border-radius: 4px; background-color: #000; color: #fff;
	cursor: pointer; transition: background-color 0.2s ease-out;
}
html:root body .gform_wrapper.gravity-theme .gform_button.query__submit:is(:hover, :focus-visible) { background-color: #212121; color: #fff; }
html:root body .gform_wrapper.gravity-theme .gform_button.query__submit:active { background-color: #333; }
html:root body .gform_wrapper.gravity-theme .gform_button.query__submit:focus { outline: none; }
html:root body .gform_wrapper.gravity-theme .gform_button.query__submit:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
html:root body .query__submit-arrow { display: block; flex: none; width: 0.85em; height: 0.85em; transition: transform 0.2s ease-out; }
html:root body .query__submit:is(:hover, :focus-visible) .query__submit-arrow { transform: translateX(4px); }
html:root body .query__submit:hover .query__submit-arrow path { fill: currentColor; } /* the theme turns icons in buttons purple on hover */
@media (prefers-reduced-motion: reduce) {
	html:root body .query__submit-arrow { transition: none; }
	html:root body .query__submit:is(:hover, :focus-visible) .query__submit-arrow { transform: none; }
}

/* -- 8.7 the contact form's edges: the name field ended 5px short of the fields under it (Gravity Forms pads the first of a
   name's sub-fields for a second one this form does not have) -- */
html:root body .gform_wrapper.gravity-theme .ginput_container--name.gf_name_has_1 > .name_first { padding-right: 0; }
/* the one line under the button when the form did not send, or without scripts (ContactForm.astro): the labels' size in the
   body weight and text grey, the address underlined; not the page's paragraph size */
html:root body .gform_wrapper.gravity-theme .pm-form-status {
	margin: var(--sp-4) 0 0; font-size: var(--fs-label); line-height: var(--lh-label); font-weight: var(--w-body); letter-spacing: 0; color: #5c5c5c;
}
html:root body .gform_wrapper.gravity-theme .pm-form-status a { font: inherit; letter-spacing: inherit; color: inherit; text-decoration: underline; }
/* phones: what is typed in the fields is 16px (Gravity Forms set 15px), so Safari on iPhone does not zoom the page when a field is
   tapped (it does below 16px, and zoom is allowed since November 30, 2026). Only the text size; the boxes keep their size */
@media (max-width: 767px) {
	html:root body .gform_wrapper.gravity-theme .gfield :is(input:not([type="hidden"]), textarea) { font-size: 16px; }
}

/* -- 8.8 the footer's contact list: half the footer from 768px and a quarter from 960px (310 and 275px on the column), so the
   address broke onto a second line. It takes its own width, its longest line ending on the column's right edge -- */
@media (min-width: 768px) {
	html:root body .site-footer__col2 { width: auto; flex: 0 0 auto; }
	/* the newsletter column: as wide as the contact section's left column above it (half the column less half its 60px gap),
	   so the email field ends where the "Tell your story" text column does */
	html:root body .site-footer__col1 { width: auto; flex: 0 1 calc((100% - 60px) / 2); min-width: 0; }
	html:root body .newsletter { padding-right: 0; }
}
/* the two addresses (November 30, 2026): from 768px they are one column and the phone, email and Instagram another beside it,
   the same 60px apart as the "Tell your story" section's columns; on phones they stack, the addresses first -- */
@media (min-width: 768px) {
	html:root body .site-footer__contact { display: flex; align-items: flex-start; column-gap: 60px; }
}
/* the newsletter's email field: its text sat 8px inside the column's edge (the field is a bare underline, so the text is what
   reads as its edge) and, on phones, the field stopped 31px short of the right edge (8vw kept free for a column beside it) */
html:root body .gform_wrapper.gravity-theme .newsletter__form .gfield input { padding-left: 0; padding-right: 0; border-left-width: 0; border-right-width: 0; }
@media (max-width: 767px) { html:root body .newsletter { padding-right: 0; } }
/* two half-width fields side by side (Company Name, Monthly marketing Budget): when one label wraps (from 960 to about 1100px)
   its field dropped below its neighbour's. Each half field sits on the row's foot, so the two fields always line up */
html:root body .gform_wrapper.gravity-theme .gfield--width-half { align-self: end; }

/* -- 8.9 a project title with no introduction beside it (Force Block) kept the 42% meant for sharing the row, and on the column
   that set it one word to a line: alone, it takes the row -- */
@media (min-width: 768px) { html:root body .project-intro > .project-title:only-child { flex: 1 1 auto; } }

/* -- 8.10 tap targets: the footer's "Submit" (32px tall) and "Instagram" (21px) and the "See all" links (20px) were too small to tap
   reliably. Each gets a 44px-tall hit area from padding, taken back by an equal negative margin, so nothing moves -- */
html:root body .gform_wrapper.gravity-theme .newsletter__form .gform_button.button { padding-block: 6px; margin-block: -6px !important; }
html:root body a.site-footer__social { padding-block: 11px; margin-block: -11px 1px; } /* its own 12px bottom margin, less the padding */
html:root body :is(.blog-slider__link, .front-projects__link, .projects-grid__link) { display: inline-block; padding-block: 12px; margin-block: -12px; }

/* -- 8.11 home: the Originals list kept 200px of empty space under its last picture, plus the section's own 75px, so the
   "Tell your story" heading stood 469px below it (389 on phones) where every other page has 158 (98). Both are gone: the gap is
   now 194 (114), the contact section's own space. Checked: the list still pins and highlights each project at the same scroll
   positions, Motion Sound included -- */
html:root body .front-projects__column-2 .front-projects__wrapper { padding-bottom: 0; }
html:root body.home .front-projects__container { padding-bottom: 0; }

/* -- 8.11b the "not found" page: the search box under its first sentence was removed (search needed WordPress); the first list
   ("Recent Posts") keeps the same space above it as the lists below have between them (twice the gap: 48px, 32px on phones) -- */
html:root body .error-404 .page-content > p + .widget { margin-top: calc(var(--gap) * 2); }

/* -- 8.12 edges found in the review (impeccable and nudge): a post's category tag sat 15px right of its title (the theme moves
   every category tag 15px in, which is right for the tags laid over card pictures and wrong in a post's header); on phones
   Method's numerals were centred over text that starts on the column's edge: they start on the edge too -- */
html:root body .post__category .cat-link { left: 0; top: 0; }
@media (max-width: 767px) { html:root body .number-list__num { text-align: left; } }

/* ============================================================================================================================
   9. November 29, 2026, follow-ups: the remaining purple, and the phone menu button's tap area
   ============================================================================================================================ */

/* -- 9.1 the theme's purple (#5e5bff) is gone. Near-black (#212121, the headings' colour) for rules and field edges on the page;
   pure black (#000, the "Work with Us" button's colour) where a dark button changes on hover and focus. The coloured category
   tags and the soft lavender in background gradients and boxes are part of the design and stay. -- */
/* the dark buttons (the home page's "Work with us" under the scroller, Video's "Book Discovery Call", the buttons in posts): they
   turned transparent with purple text on hover and keyboard focus. They now darken to the contact button's black, white label
   kept, with the contact button's 2px black ring for keyboard focus. Pressed: near-black. */
html:root body .wp-block-button__link { border-color: transparent; }
html:root body .wp-block-button__link:is(:hover, :focus, :focus-visible) { background-color: #000; color: #fff; border-color: transparent; }
html:root body .wp-block-button__link:active { background-color: #212121; color: #fff; }
html:root body .wp-block-button__link:focus { outline: none; }
html:root body .wp-block-button__link:focus-visible { outline: 2px solid #000; outline-offset: 4px; }
html:root body .wp-block-button__link:is(:hover, :focus, :active) .icon path { fill: currentColor; }
/* the rule on the left of quotes in posts (3px) and the divider on About (1px) */
html:root body blockquote { border-left-color: #212121; }
html:root body hr { background-color: #212121; }
/* the contact form's fields when focused: a purple edge with WordPress's blue 2px ring around it. Now a 2px near-black edge
   (the 1px border darkened, plus a 1px ring), clearly visible against the field's #fbfbfb and the page's white */
html:root body .gform_wrapper.gravity-theme .gfield :is(input, textarea, select):focus {
	border-color: #212121; box-shadow: 0 0 0 1px #212121; outline: none;
}
/* the newsletter field sits on the black footer, where black would not show: its focus keeps the white underline and gets a
   2px white ring (it had WordPress's blue ring) */
html:root body .gform_wrapper.gravity-theme .newsletter__form .gfield :is(input, textarea):focus {
	border-color: transparent; border-bottom-color: #fff; box-shadow: 0 0 0 2px #fff; outline: none;
}

/* -- 9.2 the phone menu button (below 1150px) was a 30 by 20px target. An invisible 44 by 44 area is added around it (centred
   on the three lines, which do not move), and keyboard focus draws a 2px black ring round that area (the theme removed the
   focus outline). The header's "Work with us" beside it was 20px tall: padding makes its tap area 44px tall, taken back by
   an equal negative margin so nothing moves. -- */
@media (max-width: 1149px) {
	html:root body .menu-toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); }
	html:root body .menu-toggle:focus-visible::before { outline: 2px solid #000; outline-offset: -2px; }
	html:root body .site-header .header-link { padding-block: 12.25px; margin-block: -12.25px; }
}

/* ============================================================================================================================
   10. The page scale (November 29, 2026, fourth list): Video, Experiences and AI cut from the same cloth
   ============================================================================================================================ */

/*
  One scale for the three service pages, taken from the AI page (the one Justin likes). The AI page's own styles (ai.css) read
  these tokens, so a change here moves all three. Strategy uses the service template and follows it too. Method and About take
  the title, its position and the opening's rhythm, not the body scale. Phone < 782px / desktop >= 782px (the type breakpoint).
     role            phone   desktop                    line height   tracking    colour
     title (h1)      44      clamp(44, 6.95vw, 100)     1.02          -0.035em    #212121, the keyword in italic at the same weight
     lead            21      28                         1.4           -0.015em    #212121, at most 7 of 12 columns (632px at full width)
     h2 (section)    34      56                         1.08          -0.03em     #212121
     h3 (item)       21      28                         1.25          -0.015em    #212121
     body            17      20                         1.55          -0.003em    #5c5c5c, paragraphs 0.85em apart, at most 680px wide
                                                                                    (578 on phones): about 72 characters a line
  Weight 400 throughout (strong in text 600). The title's size is one continuous ramp: 44px up to 633px wide, 100px from 1,439px.
  Space, all from the spacing scale (section 5):
     open-top        105     136     #content's top (75px under the window's top) to the title: the title's top is 180 / 211px
     open-step        32      48     title to what follows it (picture, photo pair, or paragraph and hand), and picture to lead
     section          96     144     the opening's last block to the first section, and between sections (before every h2)
     head             32      48     a section heading to its first item, text or picture
     item             32      48     item to item inside a section (before an h3)
     after an h3      12      16     an item's heading to its text (section 4's --after-h3; 24 to a picture, 5.3)
  The title never runs past the body column: it wraps, balanced (text-wrap: balance), inside it.
*/
html:root {
	--pg-fs-title: clamp(44px, 6.95vw, 100px); --pg-lh-title: 1.02; --pg-ls-title: -0.035em;
	--pg-fs-lead: 21px; --pg-lh-lead: 1.4; --pg-ls-lead: -0.015em;
	--pg-fs-h2: 34px; --pg-lh-h2: 1.08; --pg-ls-h2: -0.03em;
	--pg-fs-h3: 21px; --pg-lh-h3: 1.25; --pg-ls-h3: -0.015em;
	--pg-fs-body: 17px; --pg-lh-body: 1.55; --pg-ls-body: -0.003em; --pg-para: 0.85em;
	--pg-ink: #212121; --pg-text: #5c5c5c;
	--pg-open-top: 105px; --pg-open-step: var(--sp-6); --pg-section: var(--sp-9); --pg-head: var(--sp-6); --pg-item: var(--sp-6);
	--pg-lead-measure: calc((100% - 11 * 24px) / 12 * 7 + 6 * 24px); /* the AI page's columns 1 to 7 of 12 (24px gaps) */
	--pg-measure: calc(var(--pg-fs-body) * 34); /* running text: about 72 characters (578px on phones, 680 on desktop) */
}
@media (min-width: 782px) {
	html:root {
		--pg-fs-lead: 28px; --pg-fs-h2: 56px; --pg-fs-h3: 28px; --pg-fs-body: 20px;
		--pg-open-top: 136px; --pg-open-step: var(--sp-7); --pg-section: var(--sp-10); --pg-head: var(--sp-7); --pg-item: var(--sp-7);
	}
}

/* -- 10.1 the titles: Video, Experiences, Strategy (service template), Method and About take the AI page's title -- */
html:root body :is(.service__title, .method-hero__title, .page-id-16 .entry-header .entry-title) {
	font-size: var(--pg-fs-title); line-height: var(--pg-lh-title); letter-spacing: var(--pg-ls-title); font-weight: var(--w-display);
	color: var(--pg-ink); text-wrap: balance;
}
html:root body .service__title em { font-style: italic; font-weight: inherit; }

/* -- 10.2 the service pages' opening: title, picture, lead, then the first section. The theme set the header's white space to
   pre-wrap (its line breaks and tab made blank lines) and gave the title negative margins of -0.33em and -0.66em; the opening is
   now spaced here, the same steps as the AI page's -- */
html:root body.page-template-services #main { padding-top: 0; }
html:root body .service { padding-top: 0; }
html:root body .service__header { white-space: normal; }
html:root body .service__title { margin: var(--pg-open-top) 0 0; max-width: none; white-space: normal; }
html:root body .service__featured-figure { margin: var(--pg-open-step) 0 0; }
html:root body .service__featured-figure.featured-pair { padding: 0; }
html:root body .service__content { margin-top: var(--pg-open-step); padding-top: 0; }

/* -- 10.3 the service pages' text roles on the scale above (Video, Experiences, Strategy). The tokens of sections 4 and 5 are reset
   on the page, so every rule that reads them (headings, text, rhythm, the cards' section titles) follows -- */
html:root body.page-template-services {
	--fs-h2: var(--pg-fs-h2); --lh-h2: var(--pg-lh-h2);
	--fs-h3: var(--pg-fs-h3); --lh-h3: var(--pg-lh-h3); --ls-h3: var(--pg-ls-h3);
	--fs-lead: var(--pg-fs-lead); --lh-lead: var(--pg-lh-lead); --ls-lead: var(--pg-ls-lead);
	--fs-body: var(--pg-fs-body); --lh-body: var(--pg-lh-body);
	--gap: calc(var(--pg-fs-body) * 0.85);
	--before-h2: var(--pg-section); --after-h2: var(--pg-head); --before-h3: var(--pg-item);
}
html:root body.page-template-services .service__content :is(h2, h3, h4) { color: var(--pg-ink); } /* h3s were WordPress's #1d2327 */
html:root body.page-template-services .service__content .entry-content :is(p, li):not(.has-large-font-size) { letter-spacing: var(--pg-ls-body); }
/* the lead: near-black, the AI page's measure from 600px (phones: the column) */
html:root body.page-template-services .service__content .entry-content > p.has-large-font-size:first-child { color: var(--pg-ink); margin: 0; }
@media (min-width: 600px) {
	html:root body.page-template-services .service__content .entry-content > p.has-large-font-size:first-child { max-width: var(--pg-lead-measure); }
}
/* running text keeps the AI page's measure. At 20px across the whole 1,100px column a line ran to about 120 characters (at the old
   24px, about 100). Pictures, image-and-text rows, the video rows, boxes and buttons keep the column's full width (6.5) */
html:root body.page-template-services .service__content :is(.entry-content, .wp-block-group__inner-container) > :is(p, ul, ol):not(.has-large-font-size, .has-text-align-center) { max-width: var(--pg-measure); }
/* image-and-text rows with the picture on the right (Video's "Problems We Solve", Experiences' first section, Strategy): the text
   sat 8% (about 60px) inside the column's edge, so it lined up with nothing; it starts on the column's edge, as every other line
   does. Rows with the picture on the left keep their gap between picture and text. Phones already stack them (5.3) */
@media (min-width: 601px) {
	html:root body.page-template-services .wp-block-media-text.has-media-on-the-right > .wp-block-media-text__content { padding-left: 0; }
}
/* the opening ends a section gap above whatever starts the first section (an h2 on Video and Strategy, a group headed by an h3 on
   Experiences) */
html:root body.page-template-services .service__content .entry-content > p.has-large-font-size:first-child + * { margin-top: var(--pg-section); }
/* a section heading is followed by its first item, text or picture at one gap (it was 8px to an h3 under it and 24px to a picture) */
html:root body.page-template-services .service__content .entry-content > h2:not([style*="margin"]) { margin-bottom: var(--pg-head); }
html:root body.page-template-services .service__content .entry-content > h2 + :is(h3, h4, figure, .wp-block-image, .wp-block-media-text):not([style*="margin"]) { margin-top: 0; }
/* the sections that are blocks rather than headings: the logo strip ("Brands That Trust Us" and its logos), See Our Impact and
   Blog. Each starts a section gap below what comes before; their own 75px of padding is gone, and the strip's label sits a heading
   gap above its logos */
html:root body.page-template-services .entry-content > p.has-text-align-center:has(+ .image-marquee):not([style*="margin"]) { margin-top: var(--pg-section); margin-bottom: 0; }
html:root body.page-template-services .entry-content > .image-marquee { padding-top: var(--pg-head); padding-bottom: 0; }
html:root body.page-template-services .entry-content > :is(.projects-grid, .blog-slider) { margin-top: var(--pg-section); padding-top: 0; padding-bottom: 0; }

/* -- 10.4 Method and About: the title's position and the opening's first step. Method keeps its two columns and big numerals;
   its introduction takes the lead's size and colour. About's title sat 100px above its first line; one step now -- */
html:root body .method-hero { padding-top: calc(var(--pg-open-top) - 75px); } /* #main is padded 75px */
html:root body .method-hero__title { margin-bottom: var(--pg-open-step); }
html:root body .method-hero__content > .method-hero__subtitle {
	font-size: var(--pg-fs-lead); line-height: var(--pg-lh-lead); letter-spacing: var(--pg-ls-lead); color: var(--pg-ink); margin: 0;
}
/* phones: the photo follows the introduction one step down, as on the other pages (the theme's 60px column gap) */
@media (max-width: 767px) { html:root body .method-hero { gap: var(--pg-open-step); } }
html:root body.page-id-16 .entry-header { padding-top: calc(var(--pg-open-top) - 75px); padding-bottom: 0; }
html:root body.page-id-16 .entry-header .entry-title { margin: 0 0 var(--pg-open-step); }

/* ---------- 11. The client logo strip (Home, Method, Video, Experiences), November 29, 2026 ----------
   Was a Swiper slideshow of slides narrower than the 120px-wide logos on phones (about 17px apart at 390, overlapping at 320),
   every logo forced to 120px wide whatever its shape. Now a CSS marquee (ImageMarquee.astro, sets with "kind": "logos"):
   - each logo sits in a slot exactly as wide and tall as its ink (transparent margins in the files are trimmed off by
     "trim" in src/data/marquees.json), so the gap below is the white space you see between two logos;
   - sizes give each logo about the same area of ink: width = sqrt(width/height) x --logo-u, capped at 2.3u wide and 0.8u
     tall, times an optional per-logo "scale"; all centred on one line;
   - one gap between logos: 60px on phones (about two thirds of a logo), 11.5% of the window from 522px, 192px at most
     (the gap was 168px at 1440 and stays 166);
   - the row is 120px tall, as the slideshow was, so the space above and below is unchanged;
   - two copies of the list slide left by one copy's width, linear, then repeat: no seam, no script, nothing to restart
     when Safari's toolbar resizes the window. One logo passes every 5s (--logo-time), as before;
   - reduced motion: no movement, the logos wrap into centred rows. */
html:root body .logo-strip {
	--logo-u: clamp(54px, 48px + 1.4vw, 70px);
	--logo-gap: clamp(60px, 11.5vw, 192px);
	--logo-row: 120px;
	--logo-time: 5s;
}
html:root body .logo-strip .logo-strip__window { display: flex; height: var(--logo-row); overflow: hidden; max-width: none; margin: 0; } /* the theme gives .container-full-width > div a 1566px limit */
html:root body .logo-strip ul.logo-strip__track {
	display: flex; flex: none; align-items: center; margin: 0; padding: 0; list-style: none;
	animation: pm-logo-strip calc(var(--n) * var(--logo-time)) linear infinite;
}
html:root body .logo-strip li.logo-strip__logo {
	position: relative; flex: none; margin: 0 var(--logo-gap) 0 0; padding: 0;
	width: calc(var(--w) * var(--logo-u)); aspect-ratio: var(--r);
}
html:root body .logo-strip li.logo-strip__logo::before { content: none; } /* list markers from post styles; the class and type selectors outrank post lists' li + li spacing */
html:root body .logo-strip li.logo-strip__logo img { position: absolute; max-width: none; margin: 0; filter: grayscale(100%); }
@keyframes pm-logo-strip { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
	html:root body .logo-strip .logo-strip__window { height: auto; min-height: var(--logo-row); justify-content: center; align-items: center; padding-inline: var(--body-inset, 20px); }
	html:root body .logo-strip ul.logo-strip__track { animation: none; flex: 0 1 auto; flex-wrap: wrap; justify-content: center; row-gap: 40px; column-gap: calc(var(--logo-gap) * 0.6); }
	html:root body .logo-strip ul.logo-strip__track[aria-hidden] { display: none; }
	html:root body .logo-strip li.logo-strip__logo { margin: 0; }
}

/* ---------- 12. The page's edges under Safari's bars (phones and tablets), November 29, 2026 ----------
   Safari (iOS 26 and 27) paints its status bar from one solid colour, here the page's white (#fefefe), and starts the page just
   below it; the glows behind page openings started at full strength right there, so there was a hard line under the bar.
   Scrolled, content passes under the bar and Safari blurs it, so nothing is needed there.
   - .pm-top-fade (first thing in #content, which holds every glow and is their stacking context, z-index 3): the page's
     white over the glows at the top of the page, easing out over --top-fade
     on a smoothstep curve (no edge where it ends), so the page meets the bar in the bar's own colour. It sits above the glows
     and below the header; nothing else on any page reaches into that stretch (the titles start at 180px). It scrolls away
     with the page. During a page transition it is its own layer, held (transitions.css), so the glows' cross-fade never
     shows a line.
   - The footer: Safari paints the band below the page's end (toolbar collapsed) and an overscroll past it from one colour,
     the page's white, which showed as a white band under the black footer. It takes that colour live from a real element
     fixed at the bottom edge with at least 5px showing (a transparent one does not count, so mid-page content still runs on
     under Safari's glass toolbar). While the footer covers the bottom 80px of the window (html.pm-at-foot, set by the script
     in Base.astro), .pm-edge--bottom is black. As the toolbar collapses or expands, Safari also draws nothing for a moment in
     a strip just above it, and the body's colour showed through as a white sliver; so the body (behind #page, which paints
     its own white) is black too. Safari then takes the status bar's colour from the body as well, so .pm-edge--top keeps it
     white. Not during a page transition, when #page has no background and the body would show through.
     Checked in the iOS 27.2 simulator: no white band or sliver at the bottom, the status bar white throughout.
   Desktops (a mouse) get none of this: there is no status bar and the page looks as before. */
html:root body .pm-top-fade, html:root body .pm-edge { display: none; pointer-events: none; }
@media (hover: none) and (pointer: coarse) {
	html:root body .pm-top-fade {
		--top-fade: 120px;
		display: block; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: var(--top-fade);
		background: linear-gradient(to bottom, rgb(254 254 254 / 1), rgb(254 254 254 / 0.972) 10%, rgb(254 254 254 / 0.896) 20%,
			rgb(254 254 254 / 0.784) 30%, rgb(254 254 254 / 0.648) 40%, rgb(254 254 254 / 0.5) 50%, rgb(254 254 254 / 0.352) 60%,
			rgb(254 254 254 / 0.216) 70%, rgb(254 254 254 / 0.104) 80%, rgb(254 254 254 / 0.028) 90%, rgb(254 254 254 / 0));
	}
	html:root body .pm-edge { display: block; position: fixed; z-index: 50; left: 0; right: 0; height: 12px; background-color: transparent; }
	html:root body .pm-edge--top { top: -7px; }
	html:root body .pm-edge--bottom { bottom: -7px; }
	html.pm-at-foot:root body .pm-edge--top { background-color: #fefefe; }
	html.pm-at-foot:root body .pm-edge--bottom { background-color: #000; }
	html.pm-at-foot:not(.pm-vt-out, .pm-vt-in):root body { background-color: #000; }
}

/* ---------- 13. The service pages' glows: one shape moving across Video, Experiences and AI, November 29, 2026 ----------
   Justin: "Video is perfect the way it is. Experiences ... more in the center, and then AI ... off to the right ... they need to
   feel like extensions of each other ... similarly sized, just different colors."
   Video's glow is the reference and is not touched: the theme's .radial--top (a circle 120vw across, its centre 10vw above the
   page top) with the old Customizer's `.page-id-126 .radial { opacity: .5; left: 300px }`, so its centre sits 300px from the
   left at every width. Experiences and AI take exactly that circle, the same colour stops (Radial.astro) and the same 0.5
   strength (measured as each glow's colour difference from the page's white, CIEDE2000, straight below its centre), in their
   own colours:
   - Experiences (.radial--top-centre, experiences.md): centre in the middle of the window, at 0.46 (its magenta at 0.5 measured
     up to 2 units stronger than Video through the title; at 0.46 within 0.8 from 150px down).
   - AI (.radial--top-right, src/pages/ai/index.astro): centre 300px from the right, Video's position mirrored. Its colours
     (orange #ff8a2a, deep orange #f2602a, peach #eda563 at the edge) are chosen to differ from the page's white by as much as
     Video's blues do (CIEDE2000 at the centre 22.8 against 22.7, at the 0.38 stop 17.9 against 18.6).
     The stronger 0.7 shown at /ai/?glow=strong was not chosen; that switch was removed on November 29, 2026.
   On phones Video's fixed 300px puts its centre right of the middle (300 of 390), so the mirror puts AI left of it: the order
   runs right, centre, left there, and every centre stays inside the window. Around 600px wide the three meet in the middle.
   The top 120px still eases from white on touch screens (section 12): .pm-top-fade sits above every .radial. */
html:root .radial--top-centre, html:root .radial--top-right {
	width: 120vw; height: 120vw; top: -70vw; right: auto; transform: translateX(-50%); opacity: .5;
}
html:root .radial--top-centre { left: 50%; opacity: .46; } /* its magenta is more saturated than Video's blue: 0.46 measures the same */
html:root .radial--top-right { left: calc(100% - 300px); }
