/* Atomic theme v0.3. Tokens first, then base, layout, components, sections.

   Scaling: phones and tablets use a normal 16px root and fluid type.
   From 1024px wide up, the root font size is tied to the screen width
   (1rem = 16px at a 1440px-wide screen), and every size on the page is in rem,
   so a laptop, a desktop and a 4K TV all show the same composition at a
   different scale. On screens wider than 2:1 the height sets the scale instead,
   so the first screen never spills off the bottom. */

/* Headline font: Locator (brand), served by the Adobe Fonts kit enqueued in functions.php. */
@font-face {
	font-family: "Public Sans";
	src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Public Sans";
	src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2");
	font-weight: 100 900;
	font-style: italic;
	font-display: swap;
}

:root {
	--ink: #0e2233;
	--ink-2: #17344b;
	--paper: #f2f5f7;
	--white: #ffffff;
	--blue: #1e9fda;
	--blue-deep: #0b6fa4;
	--lime: #c5d82b;
	--slate: #4e6273;
	--line: #d5dee5;

	--font-display: "locator-web", "Avenir Next", system-ui, sans-serif;
	--font-body: "Public Sans", "Segoe UI", system-ui, sans-serif;

	--step-hero: clamp(3.1rem, 1.4rem + 7.4vw, 8.5rem);
	--step-title: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);
	--step-3: clamp(1.4rem, 1.2rem + .8vw, 1.85rem);
	--step-lead: clamp(1.1rem, 1rem + .35vw, 1.3rem);

	--shell: 80rem;
	--gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
	--section: clamp(4.5rem, 3rem + 6vw, 9rem);
	--header: 4.75rem;
	--radius-s: .625rem;
	--radius-l: 1.375rem;
	--ease: cubic-bezier(.22, .8, .2, 1);
}

/* The scaling system: one picture from laptop to TV. */
html { font-size: 100%; }
@media (min-width: 1024px) {
	html { font-size: max(.9375rem, min(calc(100vw / 90), calc(100vh / 45))); }
	:root {
		--step-hero: min(8.5rem, 15vh);
		--step-title: 3.5rem;
		--step-3: 1.85rem;
		--step-lead: 1.3rem;
		--gutter: 2.5rem;
		--section: 9rem;
	}
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.04; letter-spacing: -.015em; margin: 0; font-weight: 650; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--ink); color: var(--white); padding: .75rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.shell-narrow { max-width: 51.25rem; }

/* Buttons and links */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: 2.875rem; padding: 0 1.25rem; border-radius: 999px;
	font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
	border: 2px solid transparent; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-lg { min-height: 3.5rem; padding: 0 1.6rem; font-size: 1.0625rem; }
.btn-solid { background: var(--ink); color: var(--white); }
.btn-solid:hover { background: var(--blue-deep); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: var(--white); }
.btn:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.arrow { width: 1.25rem; height: 1.25rem; flex: none; }
.text-link .arrow { transition: transform .3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.is-scrolled { background: rgba(242, 245, 247, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.brand img { width: 2.25rem; height: 2.25rem; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.01em; font-weight: 400; }
.brand-name strong { font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-list { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.mega-top { display: inline-flex; align-items: center; gap: .3rem; text-decoration: none; font: 500 1rem var(--font-body); color: var(--ink); padding: .5rem 0; border: 0; border-radius: 0; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); cursor: pointer; white-space: nowrap; }
.mega-top:hover, .current-menu-item > .mega-top, .is-branch > .mega-top, .is-open > .mega-top { background-size: 100% 2px; }
.nav-actions { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 1.1rem; height: 1.1rem; color: var(--blue-deep); }
.nav-login { display: none; }
.nav-toggle { display: none; }

@media (max-width: 1179px) {
	.nav-toggle { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: 0 .9rem; border: 2px solid var(--ink); border-radius: 999px; background: transparent; color: var(--ink); font: 600 1rem var(--font-body); cursor: pointer; }
	.nav-toggle-bars { width: 18px; height: 2px; background: currentColor; position: relative; }
	.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; }
	.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
	.site-nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.5rem; padding: 1.5rem var(--gutter) 2rem; background: var(--paper); box-shadow: 0 12px 30px rgba(14, 34, 51, .12); transform: translateY(-120%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; max-height: calc(100svh - var(--header)); overflow-y: auto; }
	.site-nav.is-open { transform: none; visibility: visible; }
	.nav-list { flex-direction: column; gap: 0; }
	.mega-top { display: flex; width: 100%; justify-content: space-between; font-size: 1.35rem; font-family: var(--font-display); padding: .7rem 0; background: none; }
	.nav-actions { flex-direction: column; align-items: stretch; gap: .75rem; }
	.nav-actions .btn { min-height: 3rem; }
	.nav-phone { justify-content: center; min-height: 3rem; border: 2px solid var(--ink); border-radius: 999px; }
	.nav-login { display: block; text-align: center; padding: .5rem; }
}

/* Mega menu. Content comes from the Atomic Mega Menu plugin, markup from inc/menu.php.
   Phones and tablets: an accordion inside the menu drawer. 1180px and up: full-width panels. */
.mega-icon { flex: none; width: 1rem; height: 1rem; }
.mega-icon.is-chevron { width: .85rem; height: .85rem; color: var(--slate); transition: transform .35s var(--ease); }
.is-open > .mega-trigger .is-chevron { transform: rotate(180deg); }
.mega-head { margin: 0 0 .6rem; font: 600 .75rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--slate); }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.mega-link { position: relative; display: block; text-decoration: none; color: var(--ink); border-radius: var(--radius-s); }
.mega-label { display: flex; align-items: center; gap: .4rem; font-weight: 600; }
.mega-label .mega-icon { color: var(--blue-deep); }
.mega-label .is-arrow { opacity: 0; transform: translateX(-.35rem); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.mega-label .is-out { width: .8rem; height: .8rem; opacity: .55; }
.mega-link:hover .is-arrow, .mega-link:focus-visible .is-arrow { opacity: 1; transform: none; }
.mega-link.is-current .mega-label { color: var(--blue-deep); }
.mega-desc { display: block; margin-top: .15rem; font-size: .875rem; line-height: 1.4; color: var(--slate); }
.mega-sub { margin: .6rem 0 .2rem; font-weight: 700; font-size: .875rem; }
.mega-note { font-size: .9rem; line-height: 1.45; color: var(--slate); }
.mega-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; margin: 0; }
.mega-all { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--blue-deep); text-decoration: none; transition: gap .3s var(--ease); }
.mega-all:hover { gap: .7rem; }
.mega-quick { font-size: .9375rem; color: var(--slate); text-decoration: none; }
.mega-quick:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.mega-scrim { display: none; }

@media (max-width: 1179px) {
	.mega-item { border-bottom: 1px solid var(--line); }
	.mega-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .4s var(--ease), visibility 0s .4s; }
	.mega-item.is-open > .mega-panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
	.mega-clip { min-height: 0; overflow: hidden; }
	.mega-inner { padding: .25rem 0 1.25rem; display: grid; gap: 1.25rem; }
	.mega-cols { display: grid; gap: 1.25rem; }
	.mega-head { margin-bottom: .35rem; }
	.mega-link { padding: .35rem 0; }
	.mega-label { font-weight: 500; font-size: 1.0625rem; }
	.mega-desc, .mega-promo { display: none; }
}
@media (min-width: 480px) and (max-width: 1179px) {
	.mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
}
@media (min-width: 640px) and (max-width: 1179px) {
	.mega-cols { grid-template-columns: repeat(min(var(--cols), 3), minmax(0, 1fr)); }
}

@media (min-width: 1180px) {
	.site-header.has-mega { background: var(--white); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.mega-panel { position: absolute; left: 0; right: 0; top: 100%; visibility: hidden; pointer-events: none; transition: visibility 0s .45s; }
	.mega-item.is-open > .mega-panel { visibility: visible; pointer-events: auto; transition-delay: 0s; }
	.mega-clip { position: relative; max-height: calc(100vh - var(--header) - 3rem); overflow-y: auto; overscroll-behavior: contain; background: var(--white); border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-l) var(--radius-l); box-shadow: 0 2.5rem 4rem -1.5rem rgba(14, 34, 51, .35); clip-path: inset(0 0 100% 0 round 0 0 var(--radius-l) var(--radius-l)); transition: clip-path .5s var(--ease); }
	.mega-item.is-open .mega-clip { clip-path: inset(0 0 0 0 round 0 0 var(--radius-l) var(--radius-l)); }
	.mega-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3rem; padding-block: 2.25rem 1.75rem; }
	.mega-inner.has-promo { grid-template-columns: minmax(0, 1fr) 21rem; }
	.mega-cols { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.5rem; align-content: start; }
	.mega-head { padding-left: .85rem; }
	.mega-link { padding: .6rem .85rem; transition: background-color .25s var(--ease); }
	.mega-link::before { content: ""; position: absolute; left: 0; top: .7rem; bottom: .7rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--blue), var(--lime)); transform: scaleY(0); transition: transform .3s var(--ease); }
	.mega-link:hover, .mega-link:focus-visible { background: var(--paper); }
	.mega-link:hover::before, .mega-link:focus-visible::before, .mega-link.is-current::before { transform: none; }
	.mega-foot { grid-column: 1 / -1; padding: 1.25rem .85rem 0; border-top: 1px solid var(--line); }

	/* Promo card: a real project photo over the brand glow. */
	.mega-promo { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-l); background: var(--ink); color: var(--white); }
	.mega-promo::after { content: ""; position: absolute; inset: auto -20% -40% 20%; height: 70%; z-index: -1; background: radial-gradient(closest-side, rgba(30, 159, 218, .45), transparent), radial-gradient(closest-side at 80% 60%, rgba(197, 216, 43, .3), transparent); pointer-events: none; }
	.mega-promo-photo { flex: 1 1 auto; min-height: 9rem; overflow: hidden; }
	.mega-promo-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
	.mega-item.is-open .mega-promo-photo img { transform: scale(1); }
	.mega-promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: .65rem; padding: 1.15rem 1.35rem 1.4rem; }
	.mega-promo p { margin: 0; font-size: .9375rem; line-height: 1.5; color: rgba(255, 255, 255, .8); }
	.mega-promo p strong { display: block; margin-bottom: .2rem; font: 700 1.2rem/1.2 var(--font-display); color: var(--white); }
	.mega-promo .mega-eyebrow { font: 600 .7rem/1.3 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lime); }
	.mega-promo .btn { min-height: 2.75rem; margin-top: .35rem; padding-inline: 1.2rem; font-size: .9375rem; }
	.mega-promo .btn-ghost { color: var(--white); }
	.mega-inner.is-wide { grid-template-columns: minmax(0, 1fr) 36rem; }
	.is-wide .mega-promo { flex-direction: row; align-self: start; }
	.is-wide .mega-promo-photo { flex: 0 0 42%; min-height: 0; }
	.is-wide .mega-promo-copy { padding: 1.5rem 1.5rem 1.6rem; }
	.mega-cols.is-single .mega-links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }

	/* Contents rise in one after another as the panel opens. */
	.mega-head, .mega-links > li, .mega-promo, .mega-foot { opacity: 0; transform: translateY(.6rem); transition: opacity .35s var(--ease), transform .5s var(--ease); }
	.mega-item.is-open .mega-head, .mega-item.is-open .mega-links > li { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 22ms + 90ms); }
	.mega-item.is-open .mega-promo { opacity: 1; transform: none; transition-delay: 160ms; }
	.mega-item.is-open .mega-foot { opacity: 1; transform: none; transition-delay: 260ms; }

	.mega-scrim { display: block; position: absolute; top: 100%; left: 0; right: 0; height: 100vh; z-index: -1; background: rgba(14, 34, 51, .3); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
	.site-header.has-mega .mega-scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
	.mega-clip, .mega-panel, .mega-head, .mega-links > li, .mega-promo, .mega-foot, .mega-promo-photo img { transition: none !important; }
}

/* Homepage */
.home { position: relative; overflow-x: clip; }
.section-head { max-width: 51.25rem; display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; }
.section-head-row .section-title { max-width: 47.5rem; }
.section-title { font-size: var(--step-title); text-wrap: balance; }
.section-lead { font-size: var(--step-lead); color: var(--slate); max-width: 60ch; }

/* Opening: big type, and real client work already in view. On wider screens the
   work grows to fill the screen as you scroll, then hands off to a dark message. */
.opening { position: relative; }
.opening-stage { position: relative; }
.hero-glow { position: absolute; width: 46vmax; height: 46vmax; left: 62%; top: 0; border-radius: 50%; pointer-events: none; z-index: 0;
	background: radial-gradient(circle at 50% 50%, rgba(30, 159, 218, .2), rgba(197, 216, 43, .12) 38%, transparent 66%); filter: blur(10px); transform: translate(-50%, -40%); }
.opening-copy { position: relative; z-index: 2; display: grid; gap: clamp(1.25rem, .8rem + 1.6vw, 2.25rem); padding-top: clamp(2rem, 1rem + 4vw, 3.5rem); }
.hero-kicker { font-weight: 600; color: var(--blue-deep); font-size: 1rem; }
.hero-kicker .dot { display: inline-block; vertical-align: .12em; margin-right: .7rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .25rem rgba(197, 216, 43, .3); }
/* FWD: Thinking, the blog and newsletter, set like a forwarded email subject line */
.fwd { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-display); font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.fwd-tag { display: inline-block; padding: .2em .5em .16em; border-radius: .4em; background: var(--ink); color: var(--lime); font: 700 .78em/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .06em; }
.fwd-kicker { font-size: 1.2rem; margin-bottom: .85rem; }
.hero-kicker.fwd-kicker { font-size: 1.3rem; }
.hero-title { font-size: var(--step-hero); font-weight: 700; letter-spacing: -.045em; line-height: .9; max-width: 13ch; }
.hero-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .word > span { display: inline-block; will-change: transform; }
/* The last hero word wears the Atomic blue to green. Darker shades than the logo keep it readable on the light page. */
.hero-title .accent { background: linear-gradient(90deg, var(--blue-deep), #178bc4 40%, #6e8a0f) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
/* With motion it lands in ink first, then the color sweeps across (background moves from 0% to 100%). */
.motion-ok .hero-title .accent { background-image: linear-gradient(90deg, var(--ink) 0 20%, var(--blue-deep) 66.7%, #178bc4 80%, #6e8a0f 100%); background-size: 300% 100%; }

/* Brand line under the header that fills as the page scrolls */
.scroll-line { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--blue), var(--lime)); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

/* Dark bands: a soft glow that stays with you (sticky) and turns from blue to green as you scroll through */
[data-glow-band] { position: relative; isolation: isolate; }
.band-glow { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.band-glow > div { position: sticky; top: 0; height: 100vh; }
.band-glow span { position: absolute; left: 50%; top: 50%; width: 80vmax; height: 80vmax; transform: translate(-50%, -50%); border-radius: 50%; }
.band-glow .is-blue { background: radial-gradient(circle, rgba(30, 159, 218, .26), rgba(30, 159, 218, 0) 60%); }
.band-glow .is-lime { background: radial-gradient(circle, rgba(197, 216, 43, .2), rgba(197, 216, 43, 0) 60%); opacity: 0; }
.band-glow .band-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; filter: grayscale(.2) contrast(1.08); mix-blend-mode: luminosity; transform-origin: 50% 40%; }
.band-glow .band-veil { left: 0; top: 0; width: 100%; height: 100%; transform: none; border-radius: 0; background: radial-gradient(120% 90% at 50% 50%, rgba(14, 34, 51, .35), rgba(14, 34, 51, .82) 70%, var(--ink) 100%), linear-gradient(180deg, var(--ink), rgba(14, 34, 51, 0) 18%, rgba(14, 34, 51, 0) 82%, var(--ink)); }

/* Headlines that fill with the brand gradient as they scroll in (fully filled without motion) */
[data-fill] { background: linear-gradient(90deg, var(--blue) 0%, var(--lime) 50%, rgba(255, 255, 255, .22) 50%) 0 0 / 200% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion-ok [data-fill] { background-position: 100% 0; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem clamp(2rem, 1rem + 4vw, 6rem); align-items: end; }
.hero-lead { font-size: var(--step-lead); color: var(--slate); max-width: 50ch; }
.hero-ask { display: grid; gap: .75rem; justify-items: end; }
.pill { display: flex; align-items: center; gap: .5rem; background: var(--white); border-radius: 999px; padding: .4rem .4rem .4rem 1.4rem; box-shadow: 0 1px 0 var(--line), 0 18px 40px -22px rgba(14, 34, 51, .45); border: 1px solid var(--line); max-width: 35rem; width: 100%; }
.pill input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1.05rem var(--font-body); color: var(--ink); min-height: 3rem; }
.pill input::placeholder { color: #5f7282; }
.pill input:focus { outline: none; }
.pill:focus-within { box-shadow: 0 0 0 3px rgba(30, 159, 218, .35), 0 18px 40px -22px rgba(14, 34, 51, .45); }
.pill-btn { display: inline-flex; align-items: center; gap: .45rem; min-height: 3.25rem; padding: 0 1.4rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font: 600 1rem var(--font-body); cursor: pointer; white-space: nowrap; transition: background-color .25s var(--ease); }
.pill-btn:hover { background: var(--blue-deep); }
.pill-btn .arrow { transition: transform .3s var(--ease); }
.pill-btn:hover .arrow { transform: translateX(3px); }
.hero-note { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.25rem; font-size: .95rem; color: var(--slate); max-width: 35rem; }
.hero-note a { font-weight: 600; color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Proof strip under the opening */
.proof { border-bottom: 1px solid var(--line); background: var(--white); }
.proof-list { list-style: none; margin: 0; padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .9rem 2.5rem; color: var(--slate); font-size: .98rem; }
.proof-list strong { font-family: var(--font-display); color: var(--ink); font-size: 1.35rem; margin-right: .35rem; font-variant-numeric: tabular-nums; }
@media (min-width: 861px) { .proof-list { display: grid; grid-template-columns: repeat(4, auto); } }

@media (max-width: 860px) {
	.hero-foot { grid-template-columns: 1fr; }
	.hero-ask { justify-items: stretch; }
	.hero-note { justify-content: flex-start; }
}
@media (max-width: 480px) {
	.pill { flex-direction: column; align-items: stretch; border-radius: 1.4rem; padding: .5rem; }
	.pill input { padding: 0 .75rem; }
	.pill-btn { justify-content: center; }
	.proof-list { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Client results: what each client built with Atomic, with a result once they share one. */
.opening { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.results { padding: var(--section) 0; }
.results-head-copy { display: grid; gap: 1rem; max-width: 47.5rem; }
.story-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.story { display: flex; flex-direction: column; background: var(--ink); color: var(--white); border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 1.5rem 3rem -2rem rgba(14, 34, 51, .6); }
.story-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-2); }
.story-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.story:hover .story-media img { transform: scale(1.04); }
.story-body { display: flex; flex-direction: column; gap: .6rem; padding: 1.4rem 1.4rem 1.6rem; flex: 1; }
.story-metric { font-size: .95rem; color: #b9cbd8; }
.story-metric strong { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--lime); letter-spacing: -.03em; margin-bottom: .2rem; }
.story-tag { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fb4cc; }
.story-name { font-size: 1.35rem; line-height: 1.12; }
.story-what { color: #c7d4de; font-size: .98rem; }
.story-link { margin-top: auto; padding-top: .6rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--white); text-decoration: none; font-size: .95rem; }
.story-link .arrow { width: 1.1rem; height: 1.1rem; transition: transform .3s var(--ease); }
.story-link:hover .arrow { transform: translateX(4px); }
.story-link.is-soon { color: var(--lime); }
.story-credit { margin-top: 1rem; font-size: .8rem; color: var(--slate); }
.story-credit a { color: inherit; }
.quotes { list-style: none; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1.6rem; display: flex; flex-direction: column; gap: 1.4rem; }
.quote-card blockquote { margin: 0; }
.quote-card blockquote p { font-size: 1.05rem; line-height: 1.55; }
.quote-card blockquote p::before { content: "\201C"; color: var(--blue); font-family: var(--font-display); font-size: 2.6rem; line-height: 0; vertical-align: -.45em; margin-right: .15em; }
.quote-who { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.quote-avatar { flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .95rem; }
.quote-who p { display: grid; line-height: 1.3; }
.quote-who span { color: var(--slate); font-size: .92rem; }
/* Google reviews: live rating on the left, reviews gliding past on the right */
.greviews { margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; padding-top: clamp(2rem, 1.5rem + 1.5vw, 3rem); border-top: 1px solid var(--line); }
.greviews-score { display: grid; gap: .45rem; justify-items: start; }
.greviews-num { font-family: var(--font-display); font-weight: 700; font-size: 4.5rem; line-height: .9; letter-spacing: -.04em; }
.greviews-stars, .greview-stars { display: flex; gap: .15rem; color: #f4b400; }
.greviews-stars .star { width: 1.35rem; height: 1.35rem; }
.greview-stars .star { width: 1rem; height: 1rem; }
.greviews-count { color: var(--slate); }
.greviews-score .text-link { margin-top: .4rem; }
.greviews-rail { display: flex; overflow: hidden; outline: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.greviews-rail:focus-visible { box-shadow: 0 0 0 3px var(--blue); border-radius: var(--radius-l); }
.greviews-track { list-style: none; margin: 0; padding: .25rem 1.25rem .25rem 0; display: flex; gap: 1.25rem; flex: none; }
.motion-ok .greviews-track { animation: greviews-glide 70s linear infinite; }
.greviews-rail:hover .greviews-track, .greviews-rail:focus-within .greviews-track { animation-play-state: paused; }
@keyframes greviews-glide { to { transform: translateX(-100%); } }
html:not(.motion-ok) .greviews-rail { overflow-x: auto; }
html:not(.motion-ok) .greviews-track[aria-hidden] { display: none; }
.greview { flex: none; width: min(24rem, 82vw); display: flex; flex-direction: column; gap: 1.1rem; padding: 1.6rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.greview blockquote { margin: 0; }
.greview blockquote p { font-size: 1.05rem; line-height: 1.55; }
.greview blockquote p::before { content: "\201C"; color: var(--blue); font-family: var(--font-display); font-size: 2.6rem; line-height: 0; vertical-align: -.45em; margin-right: .15em; }
.greview.is-client blockquote { margin-top: .35rem; }
/* Long reviews: first six lines, then Read more. While one is open the strip pauses. */
.js-reviews .greview.is-long:not(.is-open) blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; line-clamp: 6; overflow: hidden; }
.greview-more { align-self: flex-start; margin-top: -.35rem; padding: .2rem 0; border: 0; background: none; font: 600 .95rem var(--font-body); color: var(--blue-deep); cursor: pointer; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.greview-more:hover { color: var(--ink); }
.greviews-rail.is-paused .greviews-track { animation-play-state: paused; align-items: flex-start; }
.greview-who { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.greview-who p { display: grid; line-height: 1.3; }
.greview-who span { color: var(--slate); font-size: .92rem; }
.greview-avatar { position: relative; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 700; font-size: .95rem; overflow: hidden; }
.greview-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.greviews-source { grid-column: 2; font-size: .8rem; color: var(--slate); }
@media (max-width: 860px) {
	.greviews { grid-template-columns: minmax(0, 1fr); }
	.greviews-score { grid-template-columns: auto auto; align-items: center; column-gap: 1rem; justify-content: start; }
	.greviews-num { grid-row: span 2; font-size: 3.6rem; }
	.greviews-score .text-link { grid-column: 1 / -1; }
	.greviews-source { grid-column: 1; }
}
@media (max-width: 1100px) { .story-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
	.story-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) .5rem; scrollbar-width: none; }
	.story { flex: 0 0 82%; scroll-snap-align: start; }
}

/* Services */
.services { padding: var(--section) 0; }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--line); }
.service-row a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) auto; gap: 1.5rem 3rem; align-items: center; padding: clamp(1.4rem, 1rem + 1.2vw, 2.2rem) 0; text-decoration: none; position: relative; }
.service-name { font-size: var(--step-3); font-weight: 600; transition: transform .45s var(--ease); }
.service-row a:hover .service-name, .service-row a:focus-visible .service-name { transform: translateX(.6rem); }
.service-desc { color: var(--slate); }
.service-go { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease); }
.service-row a:hover .service-go { background: var(--lime); border-color: var(--lime); transform: rotate(-45deg); }
@media (max-width: 760px) { .service-row a { grid-template-columns: minmax(0, 1fr) auto; } .service-desc { grid-column: 1 / -1; grid-row: 2; } }

/* Work: desktop monitors, each scrolling through the client's full homepage */
.work { background: var(--ink); color: var(--white); padding: var(--section) 0; overflow: clip; }
.work .section-title { color: var(--white); }
.work .text-link { color: var(--white); }
.work-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(3rem, 2rem + 3vw, 5.5rem); }
.work-head .section-title { max-width: 16ch; }
.showcase { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(5rem, 3rem + 7vw, 10rem); }
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.project.is-flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.project.is-flip .device-pair { order: 2; }
.project-kicker { color: #8fb4cc; font-size: .95rem; font-weight: 600; letter-spacing: .02em; margin: 0 0 .7rem; }
.project-name { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.2rem); line-height: 1.02; letter-spacing: -.02em; font-weight: 700; margin: 0 0 1rem; max-width: 14ch; }
.project-desc { color: #b9cbd8; font-size: 1.05rem; max-width: 38ch; margin: 0 0 1.25rem; }
.project-tags { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.project-tags li { font-size: .85rem; font-weight: 600; color: #d7e3ec; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .3rem .85rem; }
.project-note { font-weight: 600; color: var(--lime); }
.work-head-copy { display: grid; gap: 1rem; max-width: 44rem; }
.work .section-lead { color: #a9bccb; }

/* A phone beside each monitor: every site is built for phones first. */
.device-pair { position: relative; }
/* Corners are a share of the phone's own size (width / height), so they stay subtle at every scale. */
.phone { position: absolute; z-index: 2; right: -4%; bottom: 7%; width: 21%; margin: 0; padding: .8%; background: #0b141c; border-radius: 9% / 4.2%; box-shadow: 0 2rem 3rem -1rem rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .14); }
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 6% / 2.8%; }
.project.is-flip .phone { right: auto; left: -4%; }

.monitor { margin: 0; display: grid; justify-items: center; filter: drop-shadow(0 3rem 3.75rem rgba(0, 0, 0, .45)); }
.monitor-body { width: 100%; background: linear-gradient(160deg, #22313d, #0a131b 60%); border-radius: clamp(.625rem, 1.4vw, 1.25rem); padding: clamp(.45rem, 1vw, .875rem) clamp(.45rem, 1vw, .875rem) 0; position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.monitor-cam { position: absolute; top: clamp(.15rem, .4vw, .3rem); left: 50%; width: .3rem; height: .3rem; margin-left: -.15rem; border-radius: 50%; background: #2e4252; }
.monitor-screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .25rem; background: #fff; outline: none; }
.monitor-screen:focus-visible { box-shadow: 0 0 0 3px var(--lime); }
.browser-bar { position: absolute; inset: 0 0 auto 0; z-index: 2; height: clamp(1.1rem, 2.2vw, 1.875rem); display: flex; align-items: center; gap: .3rem; padding: 0 .6rem; background: #eef1f4; border-bottom: 1px solid #d7dde3; }
.browser-bar i { width: .45rem; height: .45rem; border-radius: 50%; background: #c9d1d8; flex: none; }
.browser-bar i:first-child { background: #f06a5f; } .browser-bar i:nth-child(2) { background: #f5bf4f; } .browser-bar i:nth-child(3) { background: #5fc454; }
.browser-bar span { margin: 0 auto; transform: translateX(-.9rem); font: 500 clamp(.55rem, .45rem + .3vw, .75rem)/1 var(--font-body); color: #5b6b78; background: #fff; border-radius: 99px; padding: .3em 1.4em; }
.screen-view { position: absolute; inset: clamp(1.1rem, 2.2vw, 1.875rem) 0 0 0; overflow: hidden; }
.screen-view img { display: block; width: 100%; height: auto; will-change: transform; }
.monitor-chin { height: clamp(1rem, 2.6vw, 2.25rem); background: linear-gradient(#cfd6dc, #aeb8c1); margin: 0 calc(-1 * clamp(.45rem, 1vw, .875rem)); border-radius: 0 0 clamp(.625rem, 1.4vw, 1.25rem) clamp(.625rem, 1.4vw, 1.25rem); margin-top: clamp(.45rem, 1vw, .875rem); }
.monitor-neck { width: 16%; height: clamp(2.1rem, 6vw, 5rem); background: linear-gradient(90deg, #8e99a3, #d3dade 45%, #9aa5ae); clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.monitor-foot { width: 34%; height: clamp(.4rem, .8vw, .7rem); background: linear-gradient(#d3dade, #96a1aa); border-radius: .2rem .2rem .6rem .6rem; }

/* Without the scroll animation, visitors scroll inside the screen themselves. */
html:not(.motion-ok) .screen-view { overflow-y: auto; }

@media (max-width: 900px) {
	.project, .project.is-flip { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
	.project.is-flip .device-pair { order: 0; }
	.phone { width: 25%; right: -1%; }
	.project.is-flip .phone { left: auto; right: -1%; }
	.project-name { max-width: none; }
}

/* Software */
.software { padding: var(--section) 0; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.product { display: grid; align-content: start; gap: 0; text-decoration: none; background: var(--white); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.product:hover { transform: translateY(-4px); box-shadow: 0 1.9rem 3.75rem -2.25rem rgba(14, 34, 51, .5); }
.product-media { aspect-ratio: 16 / 8; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.product-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.product:hover .product-media img { transform: scale(1.03); }
.product-copy { padding: clamp(1.4rem, 1rem + 1vw, 2rem); display: grid; gap: .6rem; }
.product-name { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); font-weight: 650; }
.product-copy p { color: var(--slate); }
.product-copy .product-price { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; }
.product-soon { font-weight: 600; color: var(--blue-deep) !important; }
.product-text { background: var(--paper); }
.product-text .product-copy { padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.6rem); }
@media (max-width: 760px) { .product-grid { grid-template-columns: 1fr; } }

/* Custom builds: plugins and tools we wrote because nothing off the shelf did the job */
.build { background: var(--ink); color: var(--white); padding: var(--section) 0; overflow: clip; }
.build-head { display: grid; gap: 1.2rem; max-width: 62rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4.5rem); }
.build-kicker { font-weight: 600; color: #8fb4cc; }
.build-title { font-size: clamp(2.6rem, 1.4rem + 5vw, 5.6rem); font-weight: 700; line-height: .98; letter-spacing: -.035em; max-width: 15ch; padding-bottom: .06em; }
.build .section-lead { color: #b9cbd8; }
.build-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.build-card { position: relative; display: grid; align-content: start; gap: .6rem; padding: 1.6rem 1.5rem 1.7rem; border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(25, 51, 74, .96), rgba(17, 39, 58, .96)); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 1.5rem 3rem -1.5rem rgba(4, 12, 20, .7); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); overflow: hidden; transition: border-color .4s var(--ease); }
.build-card:hover { border-color: rgba(255, 255, 255, .26); }
.build-line { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--lime)); transform-origin: 0 50%; }
.build-for { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #8fb4cc; }
.build-card h3 { font-size: 1.4rem; line-height: 1.15; }
.build-card p:last-child { color: #d3dee7; font-size: .98rem; }
.build-foot { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.build-foot p { font-family: var(--font-display); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 1000px) { .build-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .build-grid { grid-template-columns: 1fr; } }

/* Cost */
.cost { padding: 0 0 var(--section); }
.cost-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; background: linear-gradient(var(--ink), var(--ink)) var(--gutter) 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat; padding-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.cost-intro { display: grid; gap: 1.1rem; justify-items: start; }
.cost-list { margin: 0; display: grid; }
.cost-list div { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cost-list dt { font-weight: 600; }
.cost-list dd { margin: 0; color: var(--slate); font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .cost-grid { grid-template-columns: 1fr; } }

/* Process */
.process { padding: 0 0 var(--section); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.step { display: grid; gap: .6rem; align-content: start; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--blue-deep); }
.step h3 { font-size: 1.5rem; }
.step p { color: var(--slate); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Quote */
.voice { padding: 0 0 var(--section); }
.quote { margin: 0; max-width: 62.5rem; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--font-display); font-size: clamp(2rem, 1.2rem + 3vw, 3.8rem); line-height: 1.08; letter-spacing: -.025em; font-weight: 500; }
.quote p::before { content: "\201C"; color: var(--blue); }
.quote p::after { content: "\201D"; color: var(--blue); }
.quote figcaption { margin-top: 1.25rem; color: var(--slate); font-weight: 600; }

/* Posts: cards shared by the homepage, the blog and related articles */
.insights { padding: 0 0 var(--section); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, .8rem + 1.5vw, 2rem); }
.post-card a { display: grid; grid-template-rows: auto 1fr; height: 100%; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.post-card a:hover { border-color: #b9c7d2; box-shadow: 0 1.5rem 3rem -1.75rem rgba(14, 34, 51, .45); transform: translateY(-2px); }
.post-card-media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ink-2); }
.post-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover .post-card-media img { transform: scale(1.04); }
.post-card-fallback { position: absolute; inset: 0; display: grid; place-items: end start; padding: 1.25rem; background: radial-gradient(circle at 85% 15%, rgba(197, 216, 43, .35), transparent 45%), radial-gradient(circle at 15% 90%, rgba(30, 159, 218, .45), transparent 55%), var(--ink); }
.post-card-fallback span { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.05; letter-spacing: -.02em; color: var(--white); max-width: 12ch; }
.post-card-body { display: grid; align-content: start; gap: .6rem; padding: 1.25rem 1.35rem 1.5rem; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .85rem; color: var(--slate); }
.post-card-cat { font-weight: 600; color: var(--blue-deep); }
.post-card-title { font-size: 1.25rem; line-height: 1.22; letter-spacing: -.01em; text-wrap: balance; }
.post-card a:hover .post-card-title { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-card-excerpt { color: var(--slate); font-size: .975rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card.is-lead { grid-column: 1 / -1; }
.post-card.is-lead a { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: none; }
.post-card.is-lead .post-card-media { aspect-ratio: auto; min-height: 22rem; }
.post-card.is-lead .post-card-body { align-content: center; gap: .9rem; padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.post-card.is-lead .post-card-title { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1.08; letter-spacing: -.025em; }
.post-card.is-lead .post-card-excerpt { -webkit-line-clamp: 4; font-size: 1.05rem; }
.post-card.is-lead .text-link { justify-self: start; margin-top: .4rem; }
.post-date { color: var(--slate); font-size: .9rem; }
@media (max-width: 1000px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
	.post-card.is-lead a { grid-template-columns: 1fr; }
	.post-card.is-lead .post-card-media { aspect-ratio: 3 / 2; min-height: 0; }
}
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* Start */
.start { background: var(--white); padding: var(--section) 0; border-top: 1px solid var(--line); }
.start-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.start-copy { display: grid; gap: 1.25rem; align-content: start; }
.start-phone a { font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.4rem); font-weight: 650; text-decoration: none; border-bottom: 3px solid var(--lime); }
.start-ways { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .6rem; color: var(--slate); }
.start-ways strong { color: var(--ink); }
.start-ways a { display: inline-block; padding-block: .45rem; margin-block: -.45rem; }
.start-form { background: var(--paper); border-radius: var(--radius-l); padding: clamp(1.25rem, .9rem + 1.5vw, 2rem); align-self: start; }
.start-form.is-flash { box-shadow: 0 0 0 3px var(--lime); transition: box-shadow .4s var(--ease); }
.form-pending { color: var(--slate); }
@media (max-width: 860px) { .start-grid { grid-template-columns: 1fr; } }

/* Cursor follower (desktop pointers only) */
.cursor { position: fixed; left: 0; top: 0; width: 1.125rem; height: 1.125rem; margin: -.5625rem 0 0 -.5625rem; border-radius: 50%; pointer-events: none; z-index: 90; opacity: 0;
	border: 2px solid var(--blue); background: rgba(197, 216, 43, .25); transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s var(--ease), opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; background: rgba(197, 216, 43, .18); border-color: var(--lime); }
.cursor.is-dark { border-color: var(--lime); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Phone action bar: Call, Chat, Quote, always one thumb away. */
.action-bar { display: none; }
@media (max-width: 767px) {
	.action-bar { position: fixed; z-index: 60; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom, 0px)); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .4rem; padding: .4rem; border-radius: 999px; background: rgba(14, 34, 51, .95); box-shadow: 0 12px 30px -10px rgba(14, 34, 51, .6); transform: translateY(160%); transition: transform .4s var(--ease); }
	.action-bar.is-shown { transform: none; }
	.action-bar a, .action-bar button { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3rem; border-radius: 999px; border: 0; background: transparent; color: var(--white); font: 600 1rem var(--font-body); text-decoration: none; cursor: pointer; }
	.action-bar .is-main { background: var(--lime); color: var(--ink); }
	.action-bar svg { width: 1.1rem; height: 1.1rem; }
	body { padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px)); }
	/* Call Atomic chatbot: on phones the bar's Chat button opens it, so its own round launcher is hidden. */
	body .atc-btn { display: none !important; }
	/* 16px text stops iPhones zooming the page when the message box is tapped. */
	body .atc-foot input { font-size: 16px !important; }
}

/* Interior pages */
.page-hero { padding: clamp(3rem, 2rem + 4vw, 6rem) 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-hero .shell { display: grid; gap: 1rem; }
.page-title { font-size: var(--step-title); max-width: 22ch; }

/* Rich inner pages: breadcrumbs, a big answer-first hero, then content blocks */
.page-hero.is-rich { position: relative; overflow: clip; padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(3rem, 2rem + 4vw, 6rem); border-bottom: 1px solid var(--line); }
.page-hero.is-rich .hero-glow { left: 78%; top: 10%; }
.page-hero-in { position: relative; z-index: 1; display: grid; gap: clamp(1rem, .8rem + 1vw, 1.6rem); justify-items: start; }
.page-hero.is-rich .page-title { font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.6rem); font-weight: 700; letter-spacing: -.04em; line-height: .95; max-width: 16ch; }
.page-hero.is-rich .page-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.page-hero.is-rich .page-title .word > span { display: inline-block; }
.page-hero.is-rich .page-title .accent { background: linear-gradient(90deg, var(--blue-deep), #178bc4 40%, #6e8a0f) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion-ok .page-hero.is-rich .page-title .accent { background-image: linear-gradient(90deg, var(--ink) 0 20%, var(--blue-deep) 66.7%, #178bc4 80%, #6e8a0f 100%); background-size: 300% 100%; }
.page-answer { font-size: var(--step-lead); color: var(--slate); max-width: 58ch; }
.page-answer strong { color: var(--ink); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: .4rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9rem; color: var(--slate); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: #9aabb8; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }

.pblock { padding: var(--section) 0 0; }
.pblock + .start, .pblock-builds + .start { margin-top: var(--section); }
.pblock-builds { margin-top: var(--section); }
.pblock-builds + .pblock { padding-top: var(--section); }
.pblock-more { margin-top: 1.75rem; }
.pblock-quotes .quotes, .pblock-quotes .greviews { margin-top: 0; }
.pblock-quotes .greviews { border-top: 0; padding-top: 0; }

.point-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.point { position: relative; display: grid; align-content: start; gap: .55rem; padding: 1.6rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden; }
.point::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--lime)); }
.point h3 { font-size: 1.3rem; line-height: 1.15; }
.point p { color: var(--slate); }
.point a, .faq-answer a, .ptext a, .ptable-note a, .section-lead a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.point-grid.is-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.point-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point.is-link { padding: 0; }
.point.is-link a { display: grid; align-content: start; gap: .55rem; height: 100%; padding: 1.6rem 1.5rem 4.75rem; color: inherit; text-decoration: none; }
.point.is-link h3 { padding-right: 1rem; }
.point.is-link .link-go { position: absolute; left: 1.5rem; bottom: 1.35rem; display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.point.is-link { transition: border-color .3s var(--ease), box-shadow .3s var(--ease); }
.point.is-link:hover { border-color: #b9c7d2; box-shadow: 0 1.5rem 3rem -1.75rem rgba(14, 34, 51, .45); }
.point.is-link:hover .link-go { background: var(--ink); border-color: var(--ink); color: var(--white); transform: translateX(3px); }
.point.is-link a:hover h3 { text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.pblock-reviews .greviews { margin-top: 0; border-top: 0; padding-top: 0; }
@media (max-width: 1000px) { .point-grid, .point-grid.is-four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .point-grid, .point-grid.is-four, .point-grid.is-two { grid-template-columns: 1fr; } }

.ptext { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.5rem clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.ptext-body { display: grid; gap: 1.1rem; font-size: 1.1rem; color: var(--slate); }
@media (max-width: 860px) { .ptext { grid-template-columns: 1fr; } }

.ptable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); }
.ptable { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 38rem; }
.ptable th, .ptable td { text-align: left; vertical-align: top; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.ptable thead th { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--paper); }
.ptable tbody tr:last-child > * { border-bottom: 0; }
.ptable tbody th { font-weight: 650; }
.ptable td { color: var(--slate); }
.ptable td:last-child { color: var(--ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Phones: each table row becomes a small card, so the price column never hides off-screen. */
@media (max-width: 640px) {
	.ptable-wrap { overflow: visible; border: 0; background: none; }
	.ptable { min-width: 0; }
	.ptable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.ptable, .ptable tbody, .ptable tr, .ptable th, .ptable td { display: block; }
	.ptable tr { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 1rem 1.1rem; margin-bottom: .75rem; }
	.ptable th, .ptable td { padding: 0; border: 0; }
	.ptable tbody th { font-size: 1.05rem; margin-bottom: .4rem; }
	.ptable td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-top: 1px solid var(--line); }
	.ptable td::before { content: attr(data-label); flex: none; max-width: 45%; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--slate); padding-top: .15rem; }
	.ptable td:last-child { white-space: normal; }
	.ptable tbody tr:last-child > * { border-bottom: 0; }
}
.ptable-note { margin-top: 1rem; color: var(--slate); font-size: .95rem; max-width: 70ch; }

.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 1.5rem clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.faq-list { border-top: 1px solid var(--ink); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 650; letter-spacing: 0; line-height: 1.35; }
.faq-icon { flex: none; position: relative; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line); transition: background-color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 2px; margin: -1px 0 0 -.4rem; background: var(--ink); }
.faq-icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.faq[open] .faq-icon { background: var(--lime); border-color: var(--lime); }
.faq[open] .faq-icon::after { transform: rotate(0deg); }
.faq summary:hover .faq-icon { border-color: var(--ink); }
.faq-answer { padding: 0 3rem 1.4rem 0; color: var(--slate); max-width: 64ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-answer { padding-right: 0; } }

.ways { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.way { display: grid; align-content: start; gap: .5rem; padding: 1.6rem 1.5rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.way-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-deep); }
.way-main { justify-self: start; font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; color: var(--ink); text-decoration: none; border: 0; border-bottom: 2px solid var(--lime); background: none; padding: 0 0 2px; cursor: pointer; overflow-wrap: anywhere; text-align: left; }
.way-note { color: var(--slate); font-size: .95rem; }
@media (max-width: 1000px) { .ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ways { grid-template-columns: 1fr; } }

/* Quote form (Gravity Forms), restyled to match the site */
.start-form .gform_wrapper.gravity-theme { margin: 0; }
.start-form .gform_wrapper.gravity-theme .gform_fields { grid-row-gap: .9rem; }
.start-form .gform_wrapper.gravity-theme .gfield_label { font: 600 .92rem var(--font-body); color: var(--ink); margin-bottom: .3rem; }
/* Every field shown up front is required, so the (Required) tags only add noise. */
.start-form .gform_wrapper.gravity-theme .gfield_required { display: none; }
.start-form .gform_wrapper.gravity-theme input[type="text"], .start-form .gform_wrapper.gravity-theme input[type="email"], .start-form .gform_wrapper.gravity-theme input[type="tel"], .start-form .gform_wrapper.gravity-theme input[type="url"], .start-form .gform_wrapper.gravity-theme select, .start-form .gform_wrapper.gravity-theme textarea {
	width: 100%; font: 500 1rem var(--font-body); color: var(--ink); background: var(--white); border: 1px solid #c3cfd8; border-radius: .7rem; padding: .65rem .9rem; min-height: 2.875rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.start-form .gform_wrapper.gravity-theme textarea { height: 5.5rem; min-height: 5.5rem; resize: vertical; }
.start-form .gform_wrapper.gravity-theme input:focus, .start-form .gform_wrapper.gravity-theme select:focus, .start-form .gform_wrapper.gravity-theme textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 159, 218, .25); }
.start-form .gform_wrapper.gravity-theme .gfield_description { font-size: .85rem; color: var(--slate); padding-top: .35rem; }
.start-form .gform_wrapper.gravity-theme .gsection { border-bottom: 0; border-top: 0; padding: 0; margin: 0; }
/* The optional details stay folded until the visitor asks for them. */
.start-form .gform_wrapper.gravity-theme .gfield.is-extra:not(.is-shown) { display: none; }
.form-more { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; padding: 0; border: 0; background: none; font: 600 .95rem var(--font-body); color: var(--blue-deep); cursor: pointer; text-align: left; }
.form-more:hover { color: var(--ink); }
.form-more-note { font-weight: 500; color: var(--slate); }
.form-more-icon { position: relative; flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; border: 1px solid #c3cfd8; background: var(--white); transition: transform .3s var(--ease); }
.form-more-icon::before, .form-more-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: .6rem; height: 2px; margin: -1px 0 0 -.3rem; background: currentColor; }
.form-more-icon::after { transform: rotate(90deg); transition: transform .3s var(--ease); }
.gsection.is-open .form-more-icon::after { transform: rotate(0); }
.form-more:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: .4rem; }
.start-form .gform_wrapper.gravity-theme .gsection_title { font: 600 1rem var(--font-body); color: var(--slate); }
.start-form .gform_wrapper.gravity-theme .gfield_checkbox { display: flex; flex-wrap: wrap; gap: .5rem; }
.start-form .gform_wrapper.gravity-theme .gchoice { position: relative; }
.start-form .gform_wrapper.gravity-theme .gchoice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.start-form .gform_wrapper.gravity-theme .gchoice label { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .35rem .9rem; border: 1px solid #c3cfd8; border-radius: 999px; background: var(--white); font-size: .92rem; font-weight: 500; cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease); max-width: none; margin: 0; }
.start-form .gform_wrapper.gravity-theme .gchoice input:checked + label { background: var(--ink); border-color: var(--ink); color: var(--white); }
.start-form .gform_wrapper.gravity-theme .gchoice input:focus-visible + label { box-shadow: 0 0 0 3px rgba(30, 159, 218, .35); }
.start-form .gform_wrapper.gravity-theme .gform_footer { margin: 1rem 0 0; padding: 0; }
.start-form .gform_wrapper.gravity-theme .gform_button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.6rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 1.05rem var(--font-body); cursor: pointer; transition: background-color .25s var(--ease); width: auto; }
.start-form .gform_wrapper.gravity-theme .gform_button:hover { background: var(--blue-deep); }
.start-form .gform_wrapper.gravity-theme .gfield_error input, .start-form .gform_wrapper.gravity-theme .gfield_error textarea { border-color: #c0392b; }
.start-form .gform_validation_errors { border-radius: .7rem; }
.form-thanks { display: grid; gap: .6rem; }
.form-thanks-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 650; }
.form-thanks a { color: var(--ink); text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
@media (max-width: 640px) { .start-form .gform_wrapper.gravity-theme .gform_button { width: 100%; } }
/* Blog list, topics and search */
.archive { padding: clamp(2.5rem, 2rem + 2vw, 4rem) 0 var(--section); }
.archive-empty { font-size: var(--step-lead); }
.blog-tools { display: grid; gap: 1rem; width: 100%; margin-top: .5rem; }
.chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font-size: .95rem; font-weight: 600; text-decoration: none; color: var(--ink); transition: border-color .25s var(--ease), background-color .25s var(--ease); }
.chips a:hover { border-color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.blog-search { display: flex; gap: .5rem; max-width: 30rem; }
.blog-search input[type="search"] { flex: 1; min-width: 0; min-height: 2.75rem; padding: 0 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font: 500 1rem var(--font-body); color: var(--ink); }
.blog-search input[type="search"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 159, 218, .25); }
.blog-search button { min-height: 2.75rem; padding: 0 1.25rem; border: 0; border-radius: 999px; background: var(--ink); color: var(--white); font: 600 1rem var(--font-body); cursor: pointer; }
.blog-search button:hover { background: var(--blue-deep); }
.pager .nav-links { display: flex; justify-content: center; gap: .5rem; margin-top: clamp(2.5rem, 2rem + 2vw, 4rem); flex-wrap: wrap; }
.pager .page-numbers { min-width: 2.75rem; min-height: 2.75rem; display: inline-grid; place-items: center; border-radius: 999px; text-decoration: none; border: 1px solid var(--line); background: var(--white); padding: 0 .9rem; font-weight: 600; }
.pager a.page-numbers:hover { border-color: var(--ink); }
.pager .current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager .dots { border-color: transparent; background: none; }

/* One article */
.post-hero { position: relative; overflow: clip; padding: clamp(2rem, 1rem + 3vw, 4rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.post-hero .hero-glow { left: 80%; top: 0; }
.post-hero-in { position: relative; z-index: 1; display: grid; gap: clamp(1rem, .8rem + 1vw, 1.5rem); justify-items: start; max-width: 60rem; }
.post-title { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; max-width: 22ch; }
.post-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.post-title .word > span { display: inline-block; }
.post-title .accent { background: linear-gradient(90deg, var(--blue-deep), #178bc4 40%, #6e8a0f) 0 0 / 100% 100% no-repeat; -webkit-background-clip: text; background-clip: text; color: transparent; }
.motion-ok .post-title .accent { background-image: linear-gradient(90deg, var(--ink) 0 20%, var(--blue-deep) 66.7%, #178bc4 80%, #6e8a0f 100%); background-size: 300% 100%; }
.post-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.25rem; color: var(--slate); font-size: .95rem; }
.post-meta > * + *::before { content: ""; display: inline-block; width: .3rem; height: .3rem; border-radius: 50%; background: var(--lime); vertical-align: .2em; margin-right: 1.25rem; }
.post-feature { margin-block: 0 clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 60rem; margin-inline: auto; }
.post-feature img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-l); background: var(--ink-2); }
.post-layout { max-width: 60rem; }
.prose { max-width: 42rem; margin-inline: 0; font-size: 1.125rem; line-height: 1.7; color: #1d3243; padding-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.55rem, 1.3rem + .9vw, 2.1rem); line-height: 1.15; letter-spacing: -.02em; margin-top: 2.1em; color: var(--ink); }
.prose h3 { font-size: 1.35rem; line-height: 1.25; margin-top: 1.8em; color: var(--ink); }
.prose h4 { font-size: 1.15rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + *, .prose h4 + * { margin-top: .6em; }
.prose a { color: var(--blue-deep); text-decoration: underline; text-decoration-color: rgba(11, 111, 164, .4); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--lime); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue-deep); }
.prose blockquote { margin-inline: 0; padding: .25rem 0 .25rem 1.4rem; border-left: 3px solid var(--lime); font-size: 1.2rem; color: var(--ink); }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-s); }
.prose figure, .prose .wp-caption { max-width: 100%; margin-inline: 0; }
.prose figcaption, .prose .wp-caption-text { font-size: .875rem; color: var(--slate); margin-top: .5rem; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose pre, .prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; }
.prose pre { overflow-x: auto; padding: 1rem 1.25rem; background: var(--ink); color: #e6eef3; border-radius: var(--radius-s); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.5em; }
.prose iframe, .prose video { max-width: 100%; }
@media (min-width: 761px) {
	.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 45%; }
	.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 45%; }
	.prose::after { content: ""; display: table; clear: both; }
}
.post-cta { max-width: 60rem; margin: 0 auto var(--section); background: var(--ink); color: var(--white); border-radius: var(--radius-l); padding: clamp(1.75rem, 1rem + 2.5vw, 3rem); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; position: relative; overflow: hidden; isolation: isolate; }
.post-cta::before { content: ""; position: absolute; z-index: -1; width: 30rem; height: 30rem; right: -8rem; top: -12rem; border-radius: 50%; background: radial-gradient(circle, rgba(30, 159, 218, .35), rgba(197, 216, 43, .15) 40%, transparent 68%); }
.post-cta > div { display: grid; gap: .6rem; }
.post-cta-kicker { color: var(--lime); font-weight: 600; font-size: .95rem; }
.post-cta-link { justify-self: start; display: inline-flex; align-items: center; gap: .4rem; margin-top: .3rem; color: var(--white); font-weight: 600; text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-cta-link:hover { color: var(--lime); }
.pblock-articles { padding-top: var(--section); }
.post-cta h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; }
.post-cta p { color: #cfdbe4; max-width: 46ch; }
@media (max-width: 760px) { .post-cta { grid-template-columns: 1fr; } }
.related { padding-top: 0; }
.related + .start { margin-top: var(--section); }

/* Footer */
.site-footer { background: var(--ink); color: #c7d4de; padding: clamp(3rem, 2rem + 3vw, 5rem) 0 2rem; }
.site-footer a { text-decoration: none; }
@media (pointer: coarse) { .site-footer li a, .site-footer p > a { display: inline-block; padding-block: .3rem; } }
.site-footer a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--lime); }
.site-footer .brand-name { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 2rem; }
.footer-head-gap { margin-top: 1.75rem; }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-head { font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: 0; margin-bottom: .8rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; }
.footer-base a { color: inherit; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: .2em; }
.footer-base a:hover { text-decoration-color: var(--lime); }
@media (max-width: 1100px) and (min-width: 861px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Search form */
.search-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.search-form input[type="search"] { min-height: 2.875rem; padding: 0 1rem; border: 1px solid var(--slate); border-radius: 999px; font: inherit; min-width: 16.25rem; }
.search-form input[type="submit"] { min-height: 2.875rem; padding: 0 1.25rem; border-radius: 999px; border: 0; background: var(--ink); color: var(--white); font: 600 1rem var(--font-body); cursor: pointer; }

/* Atomic's own photography: inner page heroes, photo bands and captions */
.page-hero-copy { display: grid; gap: clamp(1rem, .8rem + 1vw, 1.6rem); justify-items: start; min-width: 0; }
.page-hero.has-photo .page-hero-in { justify-items: stretch; gap: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
.page-photo { margin: 0; display: grid; gap: .75rem; min-width: 0; }
.page-photo-frame { position: relative; overflow: hidden; border-radius: var(--radius-l); aspect-ratio: 4 / 3; background: var(--ink-2); box-shadow: 0 2rem 4rem -2.25rem rgba(14, 34, 51, .5); }
.page-photo-frame img, .photo-tile img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.motion-ok .page-photo-frame img, .motion-ok .photo-tile img { top: -8%; height: 116%; }
@media (max-width: 1023px) { .page-photo.is-portrait .page-photo-frame { aspect-ratio: 1; } }
.pblock-photos { padding-top: calc(var(--section) * .55); }
.pblock-feature { padding-top: var(--section); }
.feature-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.pblock-feature.is-flip .feature-photo { order: 2; }
.feature-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-l); overflow: hidden; box-shadow: 0 2rem 4rem -2.5rem rgba(14, 34, 51, .55); }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature-copy { display: grid; gap: 1.1rem; justify-items: start; }
.feature-copy p { font-size: var(--step-lead); color: var(--slate); max-width: 38rem; }
.feature-copy .feature-kicker { font-size: 1rem; font-weight: 600; color: var(--blue-deep); }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } .pblock-feature.is-flip .feature-photo { order: 0; } }
.page-photo figcaption, .photo-credit { font-size: .875rem; line-height: 1.4; color: var(--slate); }
@media (min-width: 1024px) {
	.page-hero.has-photo .page-hero-in { grid-template-columns: minmax(0, 1.22fr) minmax(0, .78fr); align-items: center; gap: 4.5rem; }
	.page-hero.has-photo .page-title { font-size: 4.6rem; max-width: 14ch; }
	.page-hero.has-photo .page-photo-frame { aspect-ratio: 4 / 5; }
}

.pblock-photos .shell { display: grid; gap: .875rem; }
.photo-band { display: grid; gap: clamp(.625rem, .4rem + .8vw, 1rem); }
.photo-band.is-2 { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); }
.photo-band.is-3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.photo-tile { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-l); background: var(--ink-2); height: clamp(16rem, 8rem + 24vw, 32rem); }
.photo-band.is-3 .photo-tile { height: clamp(14rem, 7rem + 20vw, 26rem); }
.photo-tile img { object-position: center 22%; }
@media (max-width: 760px) {
	.photo-band.is-2, .photo-band.is-3 { grid-template-columns: 1fr 1fr; }
	.photo-band .photo-tile, .photo-band.is-3 .photo-tile { height: auto; aspect-ratio: 1; }
	.photo-band .photo-tile:first-child, .photo-band.is-2 .photo-tile { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* The reel: Atomic's photography (or video) playing like footage. It grows to the
   full width of the screen as it scrolls in, and pauses off screen or on request. */
.reel { position: relative; }
.pblock-reel { padding-top: var(--section); }
.reel-frame { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--white); min-height: clamp(34rem, 28rem + 18vw, 46rem); display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 1024px) { .reel-frame { min-height: 44rem; } }
.reel-media { position: absolute; inset: 0; z-index: -2; }
.reel-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.reel-slide.is-on { opacity: 1; }
.reel-slide img, .reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-slide.is-on img, .reel-slide.is-out img { animation: reel-drift 7.6s linear both; }
.reel-slide:nth-child(even).is-on img, .reel-slide:nth-child(even).is-out img { animation-name: reel-drift-back; }
.reel.is-held .reel-slide img { animation-play-state: paused; }
@keyframes reel-drift { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
@keyframes reel-drift-back { from { transform: scale(1.14) translate3d(1.5%, -.5%, 0); } to { transform: scale(1.03) translate3d(0, 0, 0); } }
.reel-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgba(14, 34, 51, .9) 0%, rgba(14, 34, 51, .66) 34%, rgba(14, 34, 51, 0) 70%), linear-gradient(0deg, rgba(14, 34, 51, .75) 0%, rgba(14, 34, 51, 0) 32%); }
.reel-copy, .reel-ui { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: var(--gutter); }
.reel-copy { display: grid; justify-items: start; gap: clamp(.9rem, .7rem + .6vw, 1.25rem); padding-block: 5rem 6.5rem; }
.reel-kicker { font-weight: 600; color: var(--lime); }
.reel-kicker .dot { display: inline-block; vertical-align: .12em; margin-right: .7rem; width: .5rem; height: .5rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 .25rem rgba(197, 216, 43, .3); }
.reel-title { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); font-weight: 700; letter-spacing: -.035em; line-height: 1; max-width: 13ch; text-wrap: balance; color: var(--white); }
.reel-text { font-size: var(--step-lead); color: #dbe5ec; max-width: 40ch; }
.reel-copy .btn { margin-top: .5rem; }
.reel-ui { position: absolute; left: 0; right: 0; bottom: clamp(1rem, .6rem + 1.2vw, 1.75rem); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1.25rem; }
.reel-credit { font-size: .875rem; line-height: 1.35; color: rgba(255, 255, 255, .78); }
/* One blue-to-lime line broken into segments: each segment shows its own slice of the
   same gradient, dim until its photo plays, then filled as the photo runs. */
.reel-ticks { --tw: 2.5rem; --tg: .5rem; list-style: none; margin: 0; padding: 0; display: flex; gap: var(--tg); }
.reel-ticks li { display: block; }
.reel-tick { display: grid; align-items: center; width: var(--tw); height: 2.75rem; padding: 0; border: 0; background: none; cursor: pointer; }
.reel-tick span { position: relative; display: block; height: 4px; border-radius: 4px; overflow: hidden; }
.reel-tick span::before, .reel-tick span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), var(--lime)); background-size: calc(var(--n) * var(--tw) + (var(--n) - 1) * var(--tg)) 100%; background-position: calc(var(--i) * (var(--tw) + var(--tg)) * -1) 0; }
.reel-tick span::before { opacity: .38; transition: opacity .25s var(--ease); }
.reel-tick span::after { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
.reel-tick:hover span::before { opacity: .75; }
.reel-tick:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 4px; }
.reel-ticks[hidden] { display: none; }
.reel-toggle { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); background: rgba(14, 34, 51, .35); color: var(--white); cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.reel-toggle[hidden] { display: none; }
.reel-toggle:hover { background: rgba(14, 34, 51, .7); border-color: var(--lime); }
.reel-toggle svg { width: 1.125rem; height: 1.125rem; fill: currentColor; }
.reel-toggle .i-play, .reel-toggle.is-paused .i-pause { display: none; }
.reel-toggle.is-paused .i-play { display: block; }
@media (max-width: 760px) {
	.reel-frame { justify-content: flex-end; min-height: 0; }
	.reel-media { bottom: auto; height: 23rem; }
	.reel-shade { background: linear-gradient(180deg, rgba(14, 34, 51, 0) 0, rgba(14, 34, 51, .15) 12rem, var(--ink) 23rem); }
	.reel-copy { padding-block: 18rem 6.5rem; }
	.reel-ui { grid-template-columns: minmax(0, 1fr) auto; }
	.reel-ticks { display: none; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
	.cursor { display: none; }
}
