/* Improve Fitness: dark and direct. "Private" in outline (seen but not shown), "Public" filled in yellow.
   Every photo is a black and yellow duotone with a dot screen, like a printed poster; tap it to see it in colour.
   Colours and fonts come from theme.json; these variables are short names for them. */
:root {
	--ink: var(--wp--preset--color--ink, #141515);
	--coal: var(--wp--preset--color--coal, #1f2120);
	--graphite: var(--wp--preset--color--graphite, #4b4d4c);
	--steel: var(--wp--preset--color--steel, #a7aba8);
	--chalk: var(--wp--preset--color--chalk, #f1f2ef);
	--sign: var(--wp--preset--color--sign, #f6c52f);
	--display: var(--wp--preset--font-family--display, Anton, Impact, sans-serif);
	--body: var(--wp--preset--font-family--body, Archivo, Arial, sans-serif);
	--wide: var(--wp--preset--font-family--wide, Michroma, Arial, sans-serif);
	--gut: 20px;
	--sec: clamp(4.5rem, 10vw, 8rem);
	--top: var(--wp-admin--admin-bar--height, 0px);
	color-scheme: dark;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(80px + var(--top)); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--chalk); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid var(--sign); outline-offset: 3px; }
::selection { background: var(--sign); color: var(--ink); }

/* Spacing is set here, section by section, not by the editor's default gaps */
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content > .if-sec, .site-main > .if-sec, .site-main > * { margin-block: 0; }
.if-sec .wp-block-group > *, .if-sec.wp-block-group > * { margin-block: 0; }
.if-sec .wp-block-image, .if-sec figure { margin: 0; }
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: max(var(--gut), env(safe-area-inset-left, 0px)); padding-right: max(var(--gut), env(safe-area-inset-right, 0px)); box-sizing: border-box; }

h1, h2, h3 { text-wrap: balance; }
.if-sec h2 { font: 400 clamp(2.6rem, 6.5vw, 5.2rem)/1 var(--display); text-transform: uppercase; }
.label, .if-sec .label { display: block; font: 400 .74rem/1.5 var(--wide); letter-spacing: .07em; color: var(--steel); text-transform: none; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); max-width: 34ch; }
.y { color: var(--sign); }
.sec-head { display: grid; gap: .8rem; margin-bottom: clamp(2rem, 4vw, 3rem) !important; }
.sec-head p { color: var(--steel); }

/* Buttons: yellow fill by default, "Outline" style for the second action */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.wp-block-buttons > .wp-block-button { margin: 0; }
:root .wp-element-button, :root .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; min-height: 52px; padding: .7rem 1.6rem; border: 2px solid transparent; border-radius: 0; background: var(--sign); color: var(--ink); font: 700 1rem/1.2 var(--body); font-stretch: 108%; text-decoration: none; transition: background-color .18s, color .18s, border-color .18s; }
:root .wp-element-button:hover, :root .wp-block-button__link:hover { background: var(--chalk); color: var(--ink); }
:root .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--chalk); border: 2px solid var(--chalk); padding: .7rem 1.6rem; }
:root .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--chalk); color: var(--ink); }
:root .btn-small .wp-block-button__link { min-height: 44px; padding: .45rem 1.1rem; font-size: .95rem; }
.btn-wide { width: 100%; }

/* Header: sticky; on phones it hides when scrolling down and comes back when scrolling up */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: var(--top); z-index: 20; transition: transform .3s ease; }
.wp-site-blocks > header.wp-block-template-part.is-hidden { transform: translateY(-110%); }
.site-header { position: relative; isolation: isolate; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 21 21 / .94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.header-row { position: relative; display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.header-row > * { margin: 0 !important; }
.logo { display: block; flex: none; }
.logo svg { display: block; width: 132px; height: auto; }
.logo-sub { font: 400 17px var(--wide); letter-spacing: 5px; fill: var(--chalk); }
.site-header .wp-block-navigation { margin-left: auto !important; gap: 1.75rem; font-weight: 500; }
.site-header .wp-block-navigation .wp-block-navigation-item__content { padding: .5rem 0; border-bottom: 2px solid transparent; text-decoration: none; }
.site-header .wp-block-navigation .wp-block-navigation-item__content:hover { border-color: var(--sign); }
/* Menu button: two bars, white and a shorter yellow one, like the line in the logo. Close: the same two bars crossed.
   The words "Menu" and "Close" stay in the button for screen readers, just not drawn. */
.site-header .wp-block-navigation__responsive-container-open, .site-header .wp-block-navigation__responsive-container-close { position: relative; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: transparent; font-size: 0; line-height: 0; cursor: pointer; }
.site-header .wp-block-navigation__responsive-container-open svg, .site-header .wp-block-navigation__responsive-container-close svg { display: none; }
.site-header .wp-block-navigation__responsive-container-open::before, .site-header .wp-block-navigation__responsive-container-open::after, .site-header .wp-block-navigation__responsive-container-close::before, .site-header .wp-block-navigation__responsive-container-close::after { content: ""; position: absolute; right: 8px; height: 3px; transition: width .2s ease, transform .2s ease; }
.site-header .wp-block-navigation__responsive-container-open::before { top: 16px; width: 28px; background: var(--chalk); }
.site-header .wp-block-navigation__responsive-container-open::after { top: 25px; width: 18px; background: var(--sign); }
.site-header .wp-block-navigation__responsive-container-open:hover::after { width: 28px; }
.site-header .wp-block-navigation__responsive-container-close::before, .site-header .wp-block-navigation__responsive-container-close::after { top: 20px; right: 9px; width: 26px; }
.site-header .wp-block-navigation__responsive-container-close::before { background: var(--chalk); transform: rotate(45deg); }
.site-header .wp-block-navigation__responsive-container-close::after { background: var(--sign); transform: rotate(-45deg); }
.site-header .wp-block-navigation__responsive-container.is-menu-open { padding: calc(1rem + var(--top)) var(--gut) 2rem; background: var(--ink) !important; color: var(--chalk) !important; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem; align-items: stretch; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; align-items: stretch; }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--coal); }
.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: .85rem 0; font: 400 2.4rem/1 var(--display); text-transform: uppercase; border: 0; }
.site-header .wp-block-navigation__responsive-container-close { position: absolute; top: 10px; right: var(--gut); }
.header-cta { display: none !important; }
@media (min-width: 900px) {
	.header-row { min-height: 70px; }
	.header-cta { display: flex !important; }
}

/* Duotone photos */
.duo { position: relative; isolation: isolate; overflow: hidden; background: var(--sign); }
.wp-block-image.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.3) brightness(.92); mix-blend-mode: multiply; }
.duo::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle, rgb(20 21 21 / .5) .8px, transparent 1.25px) 0 0 / 4px 4px; transition: opacity .35s; }
.duo.reveal { cursor: pointer; }
.duo.reveal:hover img, .duo.reveal:focus-visible img, .duo.reveal.on img { filter: none; mix-blend-mode: normal; }
.duo.reveal:hover::after, .duo.reveal:focus-visible::after, .duo.reveal.on::after { opacity: 0; }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(1.75rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
.hero-title { position: relative; z-index: 2; pointer-events: none; font-weight: 400; }
.hero-title .label { margin-bottom: 1rem; }
.fit { display: block; width: max-content; font: 400 min(15vw, 12rem)/.96 var(--display); text-transform: uppercase; white-space: nowrap; }
.l1.fit, .m1.fit { color: transparent; -webkit-text-stroke: 2px var(--chalk); }
.l2.fit, .m2.fit { position: relative; color: var(--sign); }
.m2.fit { line-height: .9; }
.hero-photo { order: 3; aspect-ratio: 4 / 3; }
.hero-photo img { object-position: 50% 8%; }
.hero-photo::before { content: ""; position: absolute; z-index: 2; top: 14px; right: 14px; width: clamp(44px, 5vw, 72px); aspect-ratio: 70 / 74; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 74'%3E%3Cpath d='M6 40L27 66L64 5' fill='none' stroke='%23141515' stroke-width='11' stroke-linecap='square'/%3E%3C/svg%3E") center / contain no-repeat; }
.hero-photo figcaption { position: absolute; z-index: 2; left: 10px; bottom: 10px; margin: 0; padding: .2rem .6rem; background: var(--ink); color: var(--chalk); font-size: .8rem; font-weight: 700; }
.hero-foot { order: 2; display: grid; gap: 1.3rem; justify-items: start; }
.status { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.status::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--graphite); }
.status.is-open::before { background: var(--sign); box-shadow: 0 0 0 4px rgb(246 197 47 / .2); }
@media (min-width: 900px) {
	.hero-in { grid-template-columns: minmax(0, 1fr) clamp(240px, 23vw, 360px); grid-template-areas: "title photo" "foot photo"; column-gap: clamp(2rem, 4vw, 4rem); row-gap: 2rem; align-items: end; }
	.hero-title { grid-area: title; }
	.hero-photo { grid-area: photo; align-self: stretch; aspect-ratio: auto; min-height: 380px; }
	.wp-block-image.hero-photo img { position: absolute; inset: 0; }
	.hero-foot { grid-area: foot; }
}

/* Entrance sequence: only while the script puts .play on <body>. Without it, everything shows complete. */
@media (prefers-reduced-motion: no-preference) {
	.play .logo path, .play .logo circle { stroke-dasharray: 1; animation: if-draw .7s var(--d, 0s) cubic-bezier(.6,0,.2,1) backwards; }
	@keyframes if-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
	/* The outline (::before) gives way exactly where the fill (::after) arrives, so the filled letters
	   never carry the outline's extra pixel and look the same weight as when the animation ends. */
	.play .l2.fit { color: transparent; }
	.play .l2.fit::before, .play .l2.fit::after, .manifesto.armed .m2.fit::before, .manifesto.armed .m2.fit::after { content: attr(data-text); position: absolute; inset: 0; }
	.play .l2.fit::before, .manifesto.armed .m2.fit::before { color: transparent; -webkit-text-stroke: 2px var(--sign); }
	.play .l2.fit::after, .manifesto.armed .m2.fit::after { color: var(--sign); }
	.play .l2.fit::before { animation: if-unfill 1.1s .35s cubic-bezier(.65,0,.25,1) both; }
	.play .l2.fit::after { animation: if-fill 1.1s .35s cubic-bezier(.65,0,.25,1) both; }
	@keyframes if-fill { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
	@keyframes if-unfill { from { clip-path: inset(-4px -4px -4px -4px); } to { clip-path: inset(-4px -4px -4px 100%); } }
	.play .hero-photo::before { animation: if-tick .55s 1.35s cubic-bezier(.6,0,.2,1) backwards; }
	@keyframes if-tick { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
	.hero-photo img { animation: if-drift 16s ease-in-out infinite alternate; }
	@keyframes if-drift { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-2%, 1%); } }
	.hero-photo { animation: if-lift .9s cubic-bezier(.2,.8,.2,1) backwards; }
	@keyframes if-lift { from { transform: translateY(30px); } }
	.status.is-open::before { animation: if-pulse 2s ease-in-out infinite; }
	@keyframes if-pulse { 50% { box-shadow: 0 0 0 8px rgb(246 197 47 / 0); } }
}

/* Ticker */
.ticker { background: var(--sign); color: var(--ink); overflow: hidden; padding-block: .9rem; }
.ticker-in { display: flex; width: max-content; gap: 2.5rem; margin: 0; font: 400 clamp(1.6rem, 3.4vw, 2.6rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.ticker-in span { display: inline-flex; align-items: center; gap: 2.5rem; }
.ticker-in span::after { content: ""; width: .5em; height: .5em; background: var(--ink); clip-path: polygon(0 55%, 18% 37%, 38% 58%, 82% 8%, 100% 25%, 38% 92%); }
@media (prefers-reduced-motion: no-preference) { .ticker-in.is-ready { animation: if-slide 40s linear infinite; } @keyframes if-slide { to { transform: translateX(-50%); } } }

/* Studio */
.studio { padding-block: var(--sec) 0; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.studio-copy { display: grid; gap: 1.1rem; align-content: start; max-width: 32rem; }
.studio-copy > p:last-child { color: var(--steel); font-size: 1.1rem; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: min(60vw, 240px); gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gut)) !important; padding-inline: var(--gut); }
.strip::-webkit-scrollbar { display: none; }
.strip > * { scroll-snap-align: start; }
.strip .duo { aspect-ratio: 9 / 14; }
@media (min-width: 900px) {
	.studio-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: end; }
	.strip { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; margin: 0 !important; padding: 0; gap: 1rem; }
	.strip > :nth-child(2) { transform: translateY(-2rem); }
}

/* Training options: each row is a link (to the form now, to its own page later) */
.training { padding-block: var(--sec); }
.services { border-top: 1px solid var(--graphite); }
.service { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 30px; gap: .4rem 1.5rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--graphite); transition: background-color .25s, color .25s, padding .25s; }
.service::after { content: ""; grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; background: var(--sign); clip-path: polygon(0 55%, 18% 37%, 38% 58%, 82% 8%, 100% 25%, 38% 92%); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .3s; }
.service:hover::after, .service:focus-within::after { opacity: 1; transform: none; }
.if-sec .s-name { font: 400 clamp(2.3rem, 6vw, 4.6rem)/1 var(--display); text-transform: uppercase; }
.s-name a { text-decoration: none; }
.s-name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.s-text { grid-column: 1; color: var(--steel); max-width: 44ch; transition: color .25s; }
@media (min-width: 900px) {
	.service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 40px; padding: 1.1rem 0; }
	.s-text { grid-column: 2; grid-row: 1; }
	.service::after { grid-column: 3; grid-row: 1; width: 36px; height: 36px; }
}
@media (hover: hover) {
	.service:hover { background: var(--sign); color: var(--ink); padding-inline: 1.25rem; }
	.service:hover .s-text { color: var(--ink); }
	.service:hover::after { background: var(--ink); }
}

/* Results */
.results { background: var(--coal); padding-block: var(--sec); }
.results-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.results-copy { display: grid; gap: 1rem; align-content: start; }
.results-copy > p:not(.label):not(.ig-handle) { color: var(--steel); }
.result { max-width: 400px; }
.btn-ig { margin-top: .6rem; }
:root .btn-ig .wp-block-button__link { gap: .6rem; }
.btn-ig .wp-block-button__link::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='.6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Ccircle cx='17.4' cy='6.6' r='.6'/%3E%3C/svg%3E") center / contain no-repeat; }
.ig-handle { font: 400 .74rem/1.5 var(--wide); letter-spacing: .07em; }
.ba { position: relative; }
.ba::before, .ba::after { position: absolute; z-index: 2; bottom: 10px; padding: .2rem .6rem; font-size: .8rem; font-weight: 700; pointer-events: none; }
.ba::before { content: "Before"; left: 10px; background: var(--ink); color: var(--chalk); }
.ba::after { content: "After"; right: 10px; background: var(--chalk); color: var(--ink); }
.result-cap { padding-top: .9rem; font-size: 1.05rem; }
.result-cap:empty { display: none; }
@media (min-width: 900px) { .results-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* Motto: same idea as the hero, outline above and yellow fill below */
.manifesto { padding-block: var(--sec); border-top: 1px solid var(--graphite); overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
	.manifesto.armed .m2.fit { color: transparent; }
	.manifesto.armed .m2.fit::after { clip-path: inset(0 100% 0 0); }
	.manifesto.armed.in .m2.fit::before { animation: if-unfill 1.2s cubic-bezier(.65,0,.25,1) both; }
	.manifesto.armed.in .m2.fit::after { animation: if-fill 1.2s cubic-bezier(.65,0,.25,1) both; }
}

/* Free trial booking */
.book { background: var(--sign); color: var(--ink); padding-block: var(--sec); }
.book-grid { display: grid; gap: 2.5rem; }
#trial { display: grid; gap: 1.75rem; min-width: 0; }
#trial h2 { margin: 0; }
.book-intro { margin: -.75rem 0 0; font-size: 1.15rem; }
.book fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.book legend { padding: 0; font-weight: 700; font-size: 1.1rem; margin-bottom: .7rem; }
.book legend small { margin-left: .4rem; font-weight: 500; font-size: .9rem; opacity: .65; }
.book :focus-visible { outline-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 48px; padding: .5rem 1.1rem; border: 2px solid var(--ink); font-weight: 600; box-sizing: border-box; }
.chip svg { width: 0; height: 16px; fill: none; stroke: var(--sign); stroke-width: 4; transition: width .2s, margin .2s; }
.chip input:checked + span { background: var(--ink); color: var(--sign); }
.chip input:checked + span svg { width: 18px; margin-right: .5rem; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) { .chip input:not(:checked):hover + span { background: rgb(20 21 21 / .1); } }
.msg { display: grid; gap: 1rem; align-content: start; justify-items: start; min-width: 0; padding: clamp(1.25rem, 3vw, 2rem); background: var(--ink); color: var(--chalk); }
.msg p { margin: 0; }
.bubble { width: 100%; font-size: 1.2rem; min-height: 8.5em; text-wrap: pretty; }
.msg-alt a { font-weight: 700; }
.msg :focus-visible { outline-color: var(--sign); }
@media (min-width: 900px) { .book-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 4rem; align-items: center; } }

/* Hours and location */
.visit { padding-block: var(--sec); }
.visit-grid { display: grid; gap: 3.5rem; }
.hours h2 { margin-bottom: 1rem !important; }
.week { margin-top: 1.75rem; display: grid; gap: .5rem; font-variant-numeric: tabular-nums; }
.day { display: grid; grid-template-columns: 2.9rem minmax(0, 1fr); align-items: center; gap: .9rem; }
.day b { font-weight: 500; }
.day.is-today b { font-weight: 800; color: var(--sign); }
.track { position: relative; height: 40px; background: var(--coal); }
.track > span { position: absolute; inset-block: 0; display: flex; align-items: center; padding-inline: .6rem; background: var(--graphite); font-size: .88rem; font-weight: 600; white-space: nowrap; box-sizing: border-box; }
.track u { text-decoration: none; }
.day.is-today .track > span { background: var(--sign); color: var(--ink); }
.track > span.out { padding: 0; }
.track > span.out u { position: absolute; left: calc(100% + .6rem); color: var(--chalk); }
.track em { position: absolute; left: .6rem; top: 50%; translate: 0 -50%; font-style: normal; font-size: .88rem; }
.track i { position: absolute; inset-block: -4px; width: 3px; margin-left: -1px; background: var(--chalk); }
.where { display: grid; grid-template-columns: minmax(0, 140px) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.where .duo { aspect-ratio: 9 / 16; }
.where-text { display: grid; gap: 1rem; justify-items: start; }
.if-sec .where-text h3 { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--display); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 5rem; } .where { grid-template-columns: 170px minmax(0, 1fr); } }

/* Service pages */
.service-hero { padding-block: clamp(2.5rem, 7vw, 6rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--graphite); }
.service-hero .wrap { display: grid; gap: 1.3rem; justify-items: start; }
.if-sec .service-title { font: 400 clamp(3rem, 11vw, 9rem)/.95 var(--display); text-transform: uppercase; }
.service-hero .wp-block-post-excerpt__excerpt { margin: 0; }
.svc-intro, .svc-points, .svc-faq { padding-block: var(--sec) 0; }
.svc-faq { padding-bottom: var(--sec); }
.svc-grid { display: grid; gap: 2.5rem; }
.svc-copy { display: grid; gap: 1.1rem; align-content: start; max-width: 36rem; }
.svc-copy p { color: var(--steel); font-size: 1.1rem; }
.svc-photo { aspect-ratio: 4 / 5; max-width: 420px; }
@media (min-width: 900px) { .svc-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; align-items: center; } .svc-photo { justify-self: end; width: 100%; } }
.ticks { list-style: none; margin: 2rem 0 0 !important; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--graphite); max-width: 52rem; }
.ticks li { display: flex; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid var(--graphite); font-size: 1.15rem; }
.ticks li::before { content: ""; flex: none; width: .9em; height: .9em; background: var(--sign); clip-path: polygon(0 55%, 18% 37%, 38% 58%, 82% 8%, 100% 25%, 38% 92%); }
.faq { border-bottom: 1px solid var(--graphite); max-width: 52rem; }
.svc-faq h2 + .faq { margin-top: 2rem !important; border-top: 1px solid var(--graphite); }
.faq summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-weight: 700; font-size: 1.15rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; color: var(--sign); font: 400 1.6rem/1 var(--display); }
.faq[open] summary::after { content: "–"; }
.faq > :not(summary) { padding-bottom: 1.2rem; color: var(--steel); max-width: 60ch; }

/* Plain pages (privacy policy and the like) */
.prose-page { padding-block: clamp(2.5rem, 7vw, 6rem) var(--sec); }
.prose-page h1, .prose-page .wp-block-query-title { font: 400 clamp(2.6rem, 8vw, 6rem)/1 var(--display); text-transform: uppercase; margin-bottom: 2rem !important; }
.if-sec .prose > * + * { margin-block-start: 1.1rem; }
.prose h2 { font-size: clamp(1.8rem, 4vw, 2.6rem) !important; margin-block-start: 2.5rem !important; }
.prose h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-block-start: 2rem !important; }
.prose a { color: var(--sign); }
.prose p, .prose li { max-width: 68ch; }
.post-list { display: grid; gap: 2.5rem; list-style: none; padding: 0; }
.post-list h2 { font-size: clamp(1.8rem, 4vw, 2.8rem) !important; }
.post-list h2 a { text-decoration: none; }
.not-found { padding-block: clamp(4rem, 12vw, 10rem); }
.not-found .wrap { display: grid; gap: 1.3rem; justify-items: start; }
.not-found h1 { font: 400 clamp(3.5rem, 14vw, 11rem)/.95 var(--display); }

/* Footer */
.site-footer { padding-block: clamp(3rem, 6vw, 5rem) 2rem; border-top: 1px solid var(--graphite); overflow: hidden; }
.site-footer .wrap > * { margin: 0; }
.f-claim { font: 400 clamp(1.6rem, 3.5vw, 2.4rem)/1.05 var(--display); text-transform: uppercase; color: var(--steel); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: 2rem !important; color: var(--steel); }
.footer-row > * { margin: 0 !important; }

/* Quick contact bar on phones */
.bar { position: fixed; inset: auto 0 0; z-index: 25; margin: 0 !important; padding: .6rem var(--gut) calc(.6rem + env(safe-area-inset-bottom, 0px)); background: var(--ink); border-top: 1px solid var(--graphite); }
.bar .wp-block-buttons { display: grid; grid-template-columns: 1fr auto; gap: .6rem; }
.bar .wp-block-button__link { width: 100%; min-height: 48px; }
@media (min-width: 900px) { .bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 76px; } html { scroll-padding-top: calc(72px + var(--top)); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ticker-in { flex-wrap: wrap; width: auto; justify-content: center; white-space: normal; }
}

/* In the editor the big lines can't be measured by the script, so they get a fixed size */
.editor-styles-wrapper .fit { font-size: clamp(3rem, 9vw, 8rem); white-space: normal; width: auto; }
.editor-styles-wrapper .bar { position: static; }
