/*
  Table 7 Pro  component styles.
  Colour, type and spacing come from theme.json as --wp--preset--* variables.
  No brand hex is written in this file. If a colour is wrong, fix theme.json.
*/

:root {
	--t7-ink: var(--wp--preset--color--ink);
	--t7-charcoal: var(--wp--preset--color--charcoal);
	--t7-gold: var(--wp--preset--color--gold);
	--t7-gold-antique: var(--wp--preset--color--gold-antique);
	--t7-cream: var(--wp--preset--color--cream);
	--t7-ivory: var(--wp--preset--color--ivory);

	/* Gold as line work */
	--t7-edge: color-mix(in srgb, var(--t7-gold) 35%, transparent);
	--t7-edge-card: color-mix(in srgb, var(--t7-gold) 25%, transparent);
	--t7-rule: color-mix(in srgb, var(--t7-gold) 22%, transparent);

	/* Text. Alpha floors set for WCAG AA on ink. */
	--t7-text-body: color-mix(in srgb, var(--t7-ivory) 78%, transparent);
	--t7-text-mute: color-mix(in srgb, var(--t7-ivory) 68%, transparent);
	--t7-text-caption: color-mix(in srgb, var(--t7-ivory) 60%, transparent);
	--t7-gold-soft: color-mix(in srgb, var(--t7-gold) 78%, transparent);

	--t7-white: var(--wp--preset--color--white);

	--t7-track-label: 0.24em;
	--t7-track-wide: 0.3em;
	--t7-shell: 1240px;
	--t7-gutter: clamp(1.125rem, 4vw, 3rem);

	/* Motion. Both curves decelerate. Nothing here overshoots or bounces:
	   on a black and gold identity that reads cheap instantly. */
	--t7-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--t7-ease-slow: cubic-bezier(0.16, 1, 0.3, 1);

	/* Spacing scale, owned here on purpose. WordPress core's default
	   spacingScale overrides a theme's spacingSizes, so preset spacing
	   silently rendered at core's values instead of the design's. */
	--t7-s1: 0.75rem;
	--t7-s2: 1.25rem;
	--t7-s3: 2rem;
	--t7-s4: 3.5rem;
	--t7-s5: 5rem;
	--t7-s6: 7rem;

	/* Shared top padding for every hero and page head. The home hero, the two
	   photographic heroes and the plain interior page heads all used different
	   values and sat at different heights; this is the single source. It is
	   deliberately small: the sticky header is 120px and every hero starts
	   144px down the page, so the kicker clears it without help. */
	--t7-hero-pad-top: clamp(1.25rem, 2.6vw, 2.25rem);
}

/* ── Base ─────────────────────────────────────────────────────────────── */

/* The sticky header would otherwise land on top of an anchored section. */
html { scroll-padding-top: 6rem; }

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	background: var(--t7-ink);
	color: var(--t7-ivory);
	-webkit-font-smoothing: antialiased;
}

:focus { outline: none; }

:focus-visible {
	outline: 2px solid var(--t7-gold);
	outline-offset: 2px;
}

::selection { background: color-mix(in srgb, var(--t7-gold) 28%, transparent); }

img { max-width: 100%; height: auto; }

.t7-main > section { position: relative; }

/* Shared shell. Every section aligns to one measure.
   padding-inline lives here, not on the root: theme.json root padding does not
   reach these full-width sections, which left content flush to the screen edge
   on mobile and clipped the header button. */
.t7-hero__inner,
.t7-offer__grid,
.t7-offer__note,
.t7-section__head,
.t7-steps__grid,
.t7-features__grid,
.t7-website__inner,
.t7-pricing__card,
.t7-close__inner,
.t7-pagehead__inner,
.t7-shots__list,
.t7-contact-hero__inner,
.t7-plan__inner,
.t7-feat__groups,
.t7-soon__list,
.t7-faq__list,
.t7-inds__grid,
.t7-how__grid,
.t7-who__inner,
.t7-quote__inner,
.t7-header__inner,
.t7-footer__inner {
	/* Required, not decorative. This rule pairs width:100% with a gutter, which
	   only works under border-box. Core already sets that on .wp-block-group, so
	   every shell element inherited it except .t7-offer__note, a bare paragraph,
	   which rendered 36px wider than the viewport and gave the whole page a
	   horizontal scroll on mobile. There is no global reset in this file. */
	box-sizing: border-box;
	max-width: calc(var(--t7-shell) + (2 * var(--t7-gutter)));
	margin-inline: auto;
	width: 100%;
	padding-inline: var(--t7-gutter);
}

.t7-kicker {
	margin: 0 0 var(--t7-s2);
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
	line-height: 1.6;
}

.t7-lede {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75;
	color: var(--t7-text-body);
	max-width: 62ch;
}

/* The rule between sections is a pseudo element rather than a border so it can
   draw itself in from the left as the section arrives, and so it can fade out
   to the right instead of stopping dead at the viewport edge. */
.t7-section {
	padding-block: var(--t7-s6);
	position: relative;
}

.t7-section::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline: 0;
	height: 1px;
	transform-origin: left center;
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--t7-gold) 42%, transparent) 0%,
		color-mix(in srgb, var(--t7-gold) 16%, transparent) 58%,
		transparent 100%);
}

.t7-section__head { margin-bottom: var(--t7-s4); }

.t7-section__title {
	margin: 0;
	max-width: 20ch;
}

.t7-main p { color: var(--t7-text-body); }

/*
  Every grid below is a core group block, so WordPress still tags it
  is-layout-flow and hands each child after the first a 24px block-gap margin.
  Setting display:grid overrides the layout's own display but not those child
  margins, so item two onwards sat 24px lower than item one inside its own
  track, and the feature grid's row gaps came out uneven. Gap owns the spacing
  here, so clear the inherited margin.
*/
.t7-offer__grid > *,
.t7-steps__grid > *,
.t7-features__grid > *,
.t7-shots__list > *,
.t7-pagehead__inner > *,
.t7-contact__grid > *,
.t7-contact-hero__inner > *,
.t7-contact__aside > *,
.t7-feat__groups > *,
.t7-faq__list > *,
.t7-inds__grid > *,
.t7-how__grid > *,
.t7-who__inner > *,
.t7-soon__list > *,
.t7-footer__cols > * {
	margin-block-start: 0;
}

/* ── Header ───────────────────────────────────────────────────────────── */

/* No rule under the header. The blurred ink panel is the only separation, and
   with JS it is not even there until the page moves, so the header starts as
   part of the hero photograph rather than a bar sitting on top of it. */
.t7-header {
	padding-block: var(--t7-s2);
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--t7-ink) 90%, transparent);
	backdrop-filter: blur(10px);
	transition: background-color .45s var(--t7-ease), backdrop-filter .45s var(--t7-ease);
}

/* Only drop the panel when we know JS is running to put it back on scroll. */
.t7-js .t7-header:not(.is-stuck) {
	background: transparent;
	backdrop-filter: none;
}

.t7-header__inner { gap: var(--t7-s3); }

/* The logo must never be squeezed by whatever sits next to it. Without this the
   header's flex row shrank the mark to 113px at 390px and 44px at 320px, which
   is smaller than the wordmark's tagline can survive. */
.t7-header__logo { flex: 0 0 auto; }
.t7-header__logo img { width: 190px; height: auto; }

.t7-header__right { gap: var(--t7-s3); }

/* Scroll progress. Pure CSS where scroll timelines exist, absent where they do
   not, so it costs no JavaScript either way. */
.t7-progress {
	position: fixed;
	inset-block-start: 0;
	inset-inline: 0;
	height: 2px;
	z-index: 60;
	pointer-events: none;
	transform: scaleX(0);
	transform-origin: 0 50%;
	background: linear-gradient(90deg, var(--t7-gold-antique), var(--t7-gold));
}

@supports (animation-timeline: scroll()) {
	.t7-progress {
		animation: t7-progress linear forwards;
		animation-timeline: scroll(root block);
	}
}

@keyframes t7-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.t7-nav a {
	position: relative;
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--t7-text-mute);
	text-decoration: none;
	transition: color .35s var(--t7-ease);
}

.t7-nav a:hover { color: var(--t7-gold); }

/* Gold hairline wipes in under the link from the left, and back out to the
   right on the way off, so the direction reads as intentional. */
.t7-nav a::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: -0.4rem;
	height: 1px;
	background: var(--t7-gold);
	transform: scaleX(0);
	transform-origin: right center;
	transition: transform .4s var(--t7-ease);
}

.t7-nav a:hover::after,
.t7-nav a:focus-visible::after {
	transform: scaleX(1);
	transform-origin: left center;
}

/* ── Mobile menu overlay ──────────────────────────────────────────────── */

/* The "Book a demo" item exists for the overlay only. The header already has
   its own CTA button whenever the links are shown inline. */
.t7-nav .wp-block-navigation__responsive-container:not(.is-menu-open) .t7-nav__cta {
	display: none;
}

/* backdrop-filter on an ancestor makes it the containing block for fixed
   descendants, so the stuck header would trap the overlay inside its own bar.
   Core puts has-modal-open on <html> while the overlay is open. */
.has-modal-open .t7-header,
.has-modal-open.t7-js .t7-header:not(.is-stuck) {
	backdrop-filter: none;
	background: transparent;
}

.t7-nav .wp-block-navigation__responsive-container-open,
.t7-nav .wp-block-navigation__responsive-container-close {
	color: var(--t7-gold);
	padding: 0.375rem;
	border-radius: 50%;
	transition: color .35s var(--t7-ease), background-color .35s var(--t7-ease), transform .5s var(--t7-ease);
}

.t7-nav .wp-block-navigation__responsive-container-open svg,
.t7-nav .wp-block-navigation__responsive-container-close svg {
	width: 32px;
	height: 32px;
}

/* Three bars, drawn rather than core's two-line SVG. Top and bottom are one
   pseudo-element (the bottom is its box-shadow); the middle is shorter and
   right-aligned, and stretches to full width on hover. The button keeps the
   same 44px box and core's aria-label. */
.t7-nav .wp-block-navigation__responsive-container-open {
	position: relative;
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	padding: 0;
}

.t7-nav .wp-block-navigation__responsive-container-open svg { display: none; }

.t7-nav .wp-block-navigation__responsive-container-open::before,
.t7-nav .wp-block-navigation__responsive-container-open::after {
	content: "";
	position: absolute;
	right: 10px;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.t7-nav .wp-block-navigation__responsive-container-open::before {
	left: 10px;
	top: 13px;
	box-shadow: 0 16px 0 currentColor;
}

.t7-nav .wp-block-navigation__responsive-container-open::after {
	left: 18px;
	top: 21px;
	transition: left .45s var(--t7-ease);
}

.t7-nav .wp-block-navigation__responsive-container-open:is(:hover, :focus-visible)::after { left: 10px; }

.t7-nav .wp-block-navigation__responsive-container-open:hover,
.t7-nav .wp-block-navigation__responsive-container-close:hover {
	background-color: color-mix(in srgb, var(--t7-gold) 12%, transparent);
}

.t7-nav .wp-block-navigation__responsive-container-close:hover { transform: rotate(90deg); }

.t7-nav .wp-block-navigation__responsive-container.is-menu-open {
	background:
		radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--t7-gold) 14%, transparent) 0%, transparent 55%),
		radial-gradient(90% 60% at 0% 100%, color-mix(in srgb, var(--t7-gold-antique) 10%, transparent) 0%, transparent 60%),
		linear-gradient(180deg, var(--t7-charcoal) 0%, var(--t7-ink) 70%);
	color: var(--t7-ivory);
	padding: var(--t7-s2) var(--t7-gutter) var(--t7-s4);
}

/* A drawn gold rule under the close button, echoing the section rules. */
.t7-nav .is-menu-open .wp-block-navigation__responsive-dialog {
	position: relative;
	padding-top: calc(var(--t7-s4) + var(--t7-s1));
	margin-top: 0;
}

.t7-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: var(--t7-s4);
	height: 1px;
	background: linear-gradient(90deg, var(--t7-gold) 0%, var(--t7-edge) 60%, transparent 100%);
	transform-origin: left center;
}

.t7-nav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: 0;
	right: 0;
}

.t7-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	align-items: stretch;
	padding-top: 0;
}

.t7-nav .is-menu-open .wp-block-navigation-item__content { box-sizing: border-box; }

.t7-nav .is-menu-open .wp-block-navigation-item__content:focus-visible {
	outline: 1px solid var(--t7-edge);
	outline-offset: 2px;
}

.t7-nav .is-menu-open .wp-block-navigation__container {
	counter-reset: t7-menu;
	width: 100%;
	gap: 0;
	align-items: stretch;
}

.t7-nav .is-menu-open .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid var(--t7-rule);
}

.t7-nav .is-menu-open .wp-block-navigation-item:not(.t7-nav__cta) { counter-increment: t7-menu; }

.t7-nav .is-menu-open .wp-block-navigation-item__content {
	display: flex;
	align-items: baseline;
	gap: var(--t7-s2);
	width: 100%;
	padding-block: var(--t7-s2);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2.5rem, 11vw, 3.5rem);
	font-weight: 500;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: none;
	color: var(--t7-ivory);
	transition: color .4s var(--t7-ease), transform .5s var(--t7-ease);
}

/* Gold index numbers, an editorial touch that also gives the eye a left rail. */
.t7-nav .is-menu-open .wp-block-navigation-item:not(.t7-nav__cta) .wp-block-navigation-item__content::before {
	content: counter(t7-menu, decimal-leading-zero);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.75rem;
	letter-spacing: var(--t7-track-label);
	color: var(--t7-gold-soft);
	transform: translateY(-0.6em);
	transition: color .4s var(--t7-ease);
}

/* The inline hairline underline gives way to a gold arrow that slides in. */
.t7-nav .is-menu-open .wp-block-navigation-item:not(.t7-nav__cta) .wp-block-navigation-item__content::after {
	content: "\2192";
	position: static;
	height: auto;
	margin-inline-start: auto;
	background: none;
	font-family: var(--wp--preset--font-family--body);
	font-size: 1.5rem;
	color: var(--t7-gold);
	opacity: 0;
	transform: translateX(-0.75rem);
	transition: opacity .4s var(--t7-ease), transform .5s var(--t7-ease);
}

.t7-nav .is-menu-open .wp-block-navigation-item:not(.t7-nav__cta) .wp-block-navigation-item__content:is(:hover, :focus-visible, :active, [aria-current]) {
	color: var(--t7-gold);
	transform: translateX(0.375rem);
}

.t7-nav .is-menu-open .wp-block-navigation-item__content:is(:hover, :focus-visible, :active, [aria-current])::before { color: var(--t7-gold); }

.t7-nav .is-menu-open .wp-block-navigation-item:not(.t7-nav__cta) .wp-block-navigation-item__content:is(:hover, :focus-visible, :active, [aria-current])::after {
	opacity: 1;
	transform: none;
}

/* The CTA closes the list as a full width gold button. */
.t7-nav .is-menu-open .t7-nav__cta {
	border-bottom: 0;
	margin-top: var(--t7-s3);
}

.t7-nav .is-menu-open .t7-nav__cta .wp-block-navigation-item__content {
	justify-content: center;
	padding: 1.125rem var(--t7-s3);
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--t7-ink);
	background: linear-gradient(135deg, var(--t7-gold) 0%, var(--t7-gold-antique) 100%);
	border-radius: 2px;
}

.t7-nav .is-menu-open .t7-nav__cta .wp-block-navigation-item__content::after { content: none; }

.t7-nav .is-menu-open .t7-nav__cta .wp-block-navigation-item__content:is(:hover, :focus-visible, :active) {
	color: var(--t7-ink);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px -12px color-mix(in srgb, var(--t7-gold) 70%, transparent);
}

/* Entrance. Scoped to .t7-motion like every other reveal, so with no JS or
   with reduced motion the menu simply appears, finished. Only transform and
   opacity move, and nothing overshoots. */
@media (prefers-reduced-motion: no-preference) {
	.t7-motion .t7-nav .wp-block-navigation__responsive-container.is-menu-open {
		animation: t7-menu-in .6s var(--t7-ease) both;
	}

	.t7-motion .t7-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
		animation: t7-menu-rule .9s var(--t7-ease-slow) .15s both;
	}

	.t7-motion .t7-nav .is-menu-open .wp-block-navigation__responsive-container-close {
		animation: t7-menu-close .6s var(--t7-ease) .1s both;
	}

	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item {
		animation: t7-menu-item .7s var(--t7-ease) both;
	}

	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item:nth-child(1) { animation-delay: .18s; }
	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .25s; }
	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .32s; }
	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .39s; }
	.t7-motion .t7-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .5s; }
}

@keyframes t7-menu-in {
	from { opacity: 0; transform: translateY(-1.5%); }
	to { opacity: 1; transform: none; }
}

@keyframes t7-menu-rule {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

@keyframes t7-menu-close {
	from { opacity: 0; transform: rotate(-90deg); }
	to { opacity: 1; transform: none; }
}

@keyframes t7-menu-item {
	from { opacity: 0; transform: translateY(1.25rem); }
	to { opacity: 1; transform: none; }
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

/* One selector only, deliberately. Every button anchor in this theme carries
   BOTH wp-block-button__link and wp-element-button, so a second
   `.wp-block-button.t7-btn .wp-element-button` rule is redundant, and at
   specificity (0,3,0) it silently beat every (0,2,0) override below it. That
   is why the header CTA rendered at full base size on every screen and the
   responsive rules never applied. Do not reintroduce it. */
.t7-btn .wp-block-button__link {
	/* A button label that wraps has already failed. Without this the header CTA
	   collapsed to one character per line rather than pushing the layout. */
	white-space: nowrap;
	position: relative;
	overflow: hidden;
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.8125rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	padding: 1rem 2.125rem;
	border-radius: 0;
	border: 1px solid transparent;
	transition:
		background-color .35s var(--t7-ease),
		color .35s var(--t7-ease),
		border-color .35s var(--t7-ease),
		transform .35s var(--t7-ease);
}

.t7-btn .wp-block-button__link:hover { transform: translateY(-2px); }
.t7-btn .wp-block-button__link:active { transform: translateY(0); }

.t7-btn--primary .wp-block-button__link {
	background: linear-gradient(180deg, #E2C25C, var(--t7-gold-antique));
	color: #16140F;
	border: none;
}

/* A single slow sheen crosses the gold on hover. One pass, no loop: a button
   that glints forever looks like a banner ad. */
.t7-btn--primary .wp-block-button__link::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	transform: translateX(-130%);
	transition: transform .9s var(--t7-ease-slow);
	background: linear-gradient(105deg,
		transparent 38%,
		color-mix(in srgb, var(--t7-white) 40%, transparent) 50%,
		transparent 62%);
}

.t7-btn--primary .wp-block-button__link:hover::after { transform: translateX(130%); }

.t7-btn--primary .wp-block-button__link:hover { background: linear-gradient(180deg, #E9CD74, #C08D3D); }
.t7-btn--primary .wp-block-button__link:active { background: linear-gradient(180deg, #C9A94A, #A5762F); }

.t7-btn--secondary .wp-block-button__link {
	background: transparent;
	color: var(--t7-gold);
	border-color: var(--t7-gold);
}

.t7-btn--secondary .wp-block-button__link:hover { background: color-mix(in srgb, var(--t7-gold) 10%, transparent); }
.t7-btn--secondary .wp-block-button__link:active { background: color-mix(in srgb, var(--t7-gold) 18%, transparent); }

.t7-header__cta .wp-block-button__link { padding: 0.75rem 1.5rem; letter-spacing: 0.16em; }

/* ── Hero ─────────────────────────────────────────────────────────────── */

.t7-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(27rem, 64vh, 39rem);
	/* Top padding is deliberately lighter than the bottom. The sticky header is
	   120px and the hero starts 144px down, so the copy already clears it with
	   room to spare, and the old 72px top just pushed the hero taller. */
	padding-block: var(--t7-hero-pad-top) clamp(2.5rem, 5vw, 4rem);
	overflow: hidden;
}

/* Photograph sits behind the copy and fades out to the left, so the text
   never competes with it. The image itself is decorative, hence alt="". */
.t7-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.t7-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 50%;
}

.t7-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			var(--t7-ink) 0%,
			var(--t7-ink) 38%,
			color-mix(in srgb, var(--t7-ink) 88%, transparent) 57%,
			color-mix(in srgb, var(--t7-ink) 50%, transparent) 76%,
			color-mix(in srgb, var(--t7-ink) 16%, transparent) 100%),
		linear-gradient(180deg,
			var(--t7-ink) 0%,
			color-mix(in srgb, var(--t7-ink) 30%, transparent) 20%,
			color-mix(in srgb, var(--t7-ink) 30%, transparent) 68%,
			var(--t7-ink) 100%);
}

.t7-hero__inner {
	position: relative;
	z-index: 1;
	/* No max-width of its own: it inherits the shared shell width and gutter so
	   the copy starts on exactly the same left line as the header logo. The
	   measure is controlled on the title and sub instead. */
}

.t7-hero__title {
	margin: 0 0 var(--t7-s3);
	max-width: 16ch;
}

.t7-hero__sub {
	margin: 0 0 var(--t7-s4);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.7;
	color: var(--t7-text-body);
	/* Explicit measure, not ch: Lora's ch resolves far wider than expected and
	   ran this copy across the lit part of the hero photograph. */
	max-width: 38rem;
}

.t7-hero__actions { gap: var(--t7-s2); }

/* Real product evidence laid over the photograph: a live customer's guest
   booking page, on the device a guest would actually book from. Sized by
   HEIGHT rather than width so it can never outgrow the hero and get cropped by
   the section's overflow, and pinned to the right where the photograph is lit,
   so it reads as standing on the table rather than floating over it. */
/* Centred with top/bottom and flex, deliberately NOT with translateY(-50%):
   this element is a child of .t7-hero__inner, so it inherits the t7-rise
   entrance, and that keyframe ends on `transform: none`, which would wipe a
   centring transform and drop the frame half its own height. */
.t7-hero__device {
	position: absolute;
	right: var(--t7-gutter);
	top: 0;
	bottom: 0;
	display: flex;
	/* flex-start, not center. Centred in the hero box the frame sat 131px below
	   the kicker and read as sliding off the bottom of the section. Top aligned
	   it starts on the same line as the copy does.

	   Still flex alignment rather than a translate: this element is a child of
	   .t7-hero__inner so it inherits the t7-rise entrance, and that keyframe
	   ends on `transform: none`, which would wipe any centring transform. */
	align-items: flex-start;
	/* Core tags .t7-hero__inner is-layout-flow and hands every child after the
	   first a 24px block-gap margin. It still applies to an absolutely
	   positioned box, so `top: 0` resolved 24px low and the frame sat one gap
	   below the kicker instead of level with it. */
	margin-block-start: 0;
	z-index: 1;
	/* Decorative placement only. The copy underneath must stay selectable and
	   the buttons must stay clickable if the frame ever overlaps them. */
	pointer-events: none;
}

.t7-hero__device img {
	display: block;
	width: auto;
	height: clamp(19rem, 34vw, 27rem);
	filter: drop-shadow(0 1.25rem 2.5rem color-mix(in srgb, #000 62%, transparent));
}

/* ── Offer strip ──────────────────────────────────────────────────────── */

.t7-offer {
	padding-block: var(--t7-s4);
	border-block: 1px solid var(--t7-rule);
	background: var(--t7-charcoal);
}

.t7-offer__grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--t7-s3);
}

.t7-offer__item {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	gap: 0.375rem;
	padding-inline: var(--t7-s2);
	border-left: 1px solid var(--t7-edge-card);
}

.t7-offer__item:first-child { border-left: 0; padding-left: 0; }

.t7-offer__figure {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.1;
	color: var(--t7-gold);
	font-feature-settings: 'tnum';
}

.t7-offer__label {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: var(--t7-text-caption);
}

.t7-offer__note {
	margin: var(--t7-s3) auto 0;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	color: var(--t7-text-caption);
}

/* ── Steps ────────────────────────────────────────────────────────────── */

.t7-steps__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--t7-s4);
}

.t7-step { display: flex; flex-direction: column; gap: 0.75rem; }

.t7-step__num {
	position: relative;
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	color: var(--t7-gold-soft);
	font-feature-settings: 'tnum';
	padding-bottom: 0.75rem;
}

/* Pseudo element, not a border, so it can draw in behind the number. */
.t7-step__num::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	inset-block-end: 0;
	height: 1px;
	background: var(--t7-rule);
	transform-origin: left center;
}

.t7-step__title { margin: 0; }

/* ── Feature cards ────────────────────────────────────────────────────── */

.t7-features__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--t7-s3);
}

.t7-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 1rem;
	padding: var(--t7-s3);
	border: 1px solid var(--t7-edge-card);
	transition:
		border-color .5s var(--t7-ease),
		background-color .5s var(--t7-ease),
		transform .5s var(--t7-ease);
}

/* A short gold tick opens out from the middle of the top edge on hover.
   Cheaper on the eye than a glow, and it belongs to an identity built on line
   work. It grows from the centre because the card is a symmetrical composition:
   anchored to a corner it would pull against everything else in the box. */
.t7-card::after {
	content: "";
	position: absolute;
	inset-block-start: -1px;
	inset-inline-start: 50%;
	width: 0;
	height: 1px;
	background: var(--t7-gold);
	transform: translateX(-50%);
	transition: width .55s var(--t7-ease);
}

.t7-card:hover,
.t7-card:focus-within {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--t7-gold) 55%, transparent);
	background: color-mix(in srgb, var(--t7-gold) 4%, transparent);
}

.t7-card:hover::after,
.t7-card:focus-within::after { width: 3.5rem; }

.t7-card__title { margin: 0; font-size: 1.125rem; }

.t7-card p { margin: 0; font-size: 0.9375rem; line-height: 1.7; }

.t7-icon {
	width: 28px;
	height: 28px;
	color: var(--t7-gold);
	stroke: currentColor;
	stroke-width: 1.5;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform .5s var(--t7-ease);
}

.t7-card:hover .t7-icon { transform: scale(1.09); }

/* ── Free website ─────────────────────────────────────────────────────── */

.t7-website__inner {
	padding: var(--t7-s4);
	margin-inline: auto;
	border: 1px solid var(--t7-edge);
	background: var(--t7-charcoal);
}

.t7-website__inner .t7-section__title { margin-bottom: var(--t7-s2); }

/* ── Pricing ──────────────────────────────────────────────────────────── */

.t7-pricing__card { text-align: center; }

.t7-pricing__card .t7-kicker,
.t7-close__inner .t7-kicker { margin-inline: auto; }

.t7-pricing__title {
	margin: 0 0 var(--t7-s2);
	font-size: var(--wp--preset--font-size--xx-large);
}

.t7-pricing__card .t7-lede,
.t7-close__inner .t7-lede { margin-inline: auto; }

.t7-pricing__card .wp-block-buttons,
.t7-close__actions { justify-content: center; margin-top: var(--t7-s3); }

/* ── Close ────────────────────────────────────────────────────────────── */

.t7-close__inner { text-align: center; }
.t7-close__inner .t7-section__title { margin-inline: auto; margin-bottom: var(--t7-s2); }
.t7-close__actions { gap: var(--t7-s2); }

/* ── Footer ───────────────────────────────────────────────────────────── */

.t7-footer {
	padding-block: var(--t7-s5) var(--t7-s3);
	border-top: 1px solid var(--t7-rule);
	background: var(--t7-charcoal);
}

.t7-footer__top { margin-bottom: var(--t7-s4); }

.t7-footer__logo img { width: 210px; height: auto; }

.t7-footer__strap {
	margin: var(--t7-s2) 0 0;
	max-width: 46ch;
	font-size: 0.9375rem;
	color: var(--t7-text-mute);
}

.t7-footer__cols {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--t7-s3);
	padding-bottom: var(--t7-s4);
	border-bottom: 1px solid var(--t7-rule);
}

.t7-footer__label {
	margin: 0 0 1rem;
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
}

.t7-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.t7-footer__list a {
	font-size: 0.9375rem;
	color: var(--t7-text-mute);
	text-decoration: none;
	text-underline-offset: 0.3em;
	text-decoration-thickness: 1px;
	transition: color .35s var(--t7-ease);
}

.t7-footer__list a:hover {
	color: var(--t7-gold);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--t7-gold) 45%, transparent);
}

.t7-footer__colophon {
	margin: var(--t7-s3) 0 0;
	text-align: center;
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-wide);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
}

/* ── Interior pages ───────────────────────────────────────────────────── */

/* The generic page template's single section sits directly under the header, so
   it behaves like a page head rather than like a mid page section: it takes the
   shared hero padding, and it drops the section rule, which was otherwise drawn
   as a gold line immediately beneath the header at y=144. That line under the
   header is the exact thing the header design was built to avoid. */
.t7-page { padding-block: var(--t7-hero-pad-top) var(--t7-s5); }

.t7-page::before { content: none; }

.t7-page__title { margin-bottom: var(--t7-s3); }

/* Page head. By default an interior page carries no photograph, so the header
   sits on plain ink and the top rule would land immediately under it. Hence no
   .t7-section here: the padding is set directly and there is nothing to draw. */
.t7-pagehead { padding-block: var(--t7-hero-pad-top) var(--t7-s5); }

/* ── Page head with a photograph ──────────────────────────────────────── */

/*
  The --media modifier gives an interior page the same treatment as the home
  hero: the photograph sits behind the copy and is washed out to ink on the
  left, so the text never competes with it. Reuses the home hero's image set
  rather than a second one, so it costs no extra bytes on a repeat visit.

  min-height is what makes it read as a photograph rather than as a stripe. The
  page head's own padding alone leaves too little of the frame visible for the
  table setting to be legible at all.
*/
.t7-pagehead--media {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(20rem, 42vh, 28rem);
	/* Lighter on top than a plain page head, matching the home hero. The sticky
	   header is 120px and this section starts 144px down, so the kicker already
	   clears it; the inherited 7rem just pushed the whole hero down the page. */
	padding-block: var(--t7-hero-pad-top) var(--t7-s5);
}

.t7-pagehead__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.t7-pagehead__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Same framing as the home hero: the lit part of the table sits right of
	   centre, which is the half the copy does not occupy. */
	object-position: 72% 50%;
}

/*
  Two gradients, not one. The horizontal pass clears the left for the copy; the
  vertical pass closes the top under the sticky header and the bottom into the
  section that follows, so the photograph has no hard edge anywhere. This is a
  heavier wash than the home hero on purpose: that hero carries two lines of
  display type, this carries a three line paragraph at body size, which needs
  more ground under it to hold AA.
*/
.t7-pagehead__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			var(--t7-ink) 0%,
			var(--t7-ink) 42%,
			color-mix(in srgb, var(--t7-ink) 90%, transparent) 60%,
			color-mix(in srgb, var(--t7-ink) 58%, transparent) 78%,
			color-mix(in srgb, var(--t7-ink) 22%, transparent) 100%),
		linear-gradient(180deg,
			var(--t7-ink) 0%,
			color-mix(in srgb, var(--t7-ink) 34%, transparent) 22%,
			color-mix(in srgb, var(--t7-ink) 34%, transparent) 64%,
			var(--t7-ink) 100%);
}

.t7-pagehead--media .t7-pagehead__inner {
	position: relative;
	z-index: 1;
}

/* Constrain the measure on the copy, never on the inner: the inner carries the
   shared shell, so capping it would re-centre the block and pull the copy off
   the left rag the header logo sets.

   Set in rem, not ch. .t7-lede's own 62ch measure resolves past the full shell
   in Lora, so the paragraph ran the whole 1240px and sat straight across the
   lit glasses and candle. This is the same trap .t7-hero__sub documents. */
.t7-pagehead--media .t7-lede { max-width: 38rem; }

.t7-pagehead--media .t7-pagehead__title { max-width: 14ch; }

/* Below this the photograph has no clear half left to give the copy, so it is
   washed almost flat and kept only as texture behind the type. */
@media (max-width: 782px) {
	.t7-pagehead--media { min-height: clamp(17rem, 38vh, 22rem); }

	.t7-pagehead__media img { object-position: 64% 50%; }

	/* The wash below is near flat, so there is no lit half left to avoid and
	   the copy takes the full column back. */
	.t7-pagehead--media .t7-lede,
	.t7-pagehead--media .t7-pagehead__title { max-width: none; }

	.t7-pagehead__media::after {
		background:
			linear-gradient(90deg,
				var(--t7-ink) 0%,
				color-mix(in srgb, var(--t7-ink) 93%, transparent) 55%,
				color-mix(in srgb, var(--t7-ink) 78%, transparent) 100%),
			linear-gradient(180deg,
				var(--t7-ink) 0%,
				color-mix(in srgb, var(--t7-ink) 62%, transparent) 30%,
				var(--t7-ink) 100%);
	}
}

.t7-pagehead__title {
	margin: 0 0 var(--t7-s3);
	max-width: 18ch;
}

/* ── Screenshots ──────────────────────────────────────────────────────── */

.t7-shots__list {
	display: flex;
	flex-direction: column;
	gap: var(--t7-s5);
}

/* Caption left, screen right, the same way round every time. Alternating sides
   would fight the left rag that the hero and every section head already set. */
.t7-shot {
	display: grid;
	grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
	gap: var(--t7-s4);
	align-items: start;
	margin: 0;
}

/* The medium preset is 1rem, the same as body copy, which left the caption
   heading and its paragraph reading as one undifferentiated block. */
.t7-shot__title {
	margin: 0 0 var(--t7-s1);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--t7-cream);
}

.t7-shot__caption p {
	margin: 0;
	color: var(--t7-text-body);
}

.t7-shot__note {
	display: block;
	margin-top: var(--t7-s1);
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--t7-text-caption);
}

/* The frame does two jobs. It stops eleven pale screenshots reading as bright
   rectangles floating on black, and its chrome bar unifies captures whose
   aspect ratios range from 2:1 to 1:1.1. */
.t7-shot__frame {
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge-card);
	padding: var(--t7-s1);
	transition: border-color .5s var(--t7-ease);
}

.t7-shot__frame::before {
	content: "";
	display: block;
	height: 0.5rem;
	margin: 0 0 var(--t7-s1) 0.125rem;
	background-image: radial-gradient(circle, var(--t7-text-caption) 45%, transparent 46%);
	background-size: 1rem 0.5rem;
	background-repeat: repeat-x;
	width: 3rem;
	opacity: .55;
}

.t7-shot:hover .t7-shot__frame,
.t7-shot:focus-within .t7-shot__frame {
	border-color: color-mix(in srgb, var(--t7-gold) 45%, transparent);
}

.t7-shot__frame img {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Contact hero ─────────────────────────────────────────────────────── */

/*
  The form sits in the first fold, over the photograph, rather than in a section
  below a separate page head. So the head is compact on purpose: kicker, one
  short line of display type and a two line lede, which puts the top of the form
  at roughly 560px on a 1440 wide screen and inside the first fold on a laptop.

  This is not .t7-section: that class carries 7rem of block padding and draws a
  gold rule across its top edge, and a rule immediately under the header is the
  thing the header design was built to avoid.
*/
.t7-contact-hero {
	position: relative;
	overflow: hidden;
	/* Top padding is deliberately tight. Every 8px here pushes the form's first
	   input further down, and the target is that the input is reachable without
	   scrolling on a 1280x800 laptop, which is the smallest common desktop. */
	padding-block: var(--t7-hero-pad-top) var(--t7-s6);
}

.t7-contact-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.t7-contact-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 72% 22%;
}

/*
  Three passes, and all three are load bearing now that a form sits on top.

  1. Horizontal, clearing the left where the copy and the form live.
  2. Vertical, closing the top under the sticky header and taking the image to
     solid ink well before the foot of the section, so the form's lower fields
     and the privacy line are on flat ground.
  3. A flat ink veil over everything, because a form is not a headline: input
     borders, placeholder text and a 13px privacy line all have to stay legible
     against whatever part of the photograph they land on, and a photograph is
     not uniform. The veil is what makes the image read as a texture behind the
     page rather than as competition with it.
*/
.t7-contact-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg,
			var(--t7-ink) 0%,
			color-mix(in srgb, var(--t7-ink) 93%, transparent) 44%,
			color-mix(in srgb, var(--t7-ink) 68%, transparent) 66%,
			color-mix(in srgb, var(--t7-ink) 38%, transparent) 100%),
		linear-gradient(180deg,
			var(--t7-ink) 0%,
			color-mix(in srgb, var(--t7-ink) 28%, transparent) 16%,
			color-mix(in srgb, var(--t7-ink) 58%, transparent) 60%,
			var(--t7-ink) 92%),
		color-mix(in srgb, var(--t7-ink) 20%, transparent);
}

.t7-contact-hero__inner {
	position: relative;
	z-index: 1;
}

.t7-contact-hero__head { margin-bottom: var(--t7-s3); }

.t7-contact-hero__title {
	margin: 0 0 var(--t7-s2);
	max-width: 14ch;
}

.t7-contact-hero__lede {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.7;
	color: var(--t7-text-body);
	/* rem, not ch. .t7-lede's 62ch resolves past the full shell in Lora and ran
	   this copy across the lit half of the photograph. */
	max-width: 36rem;
}

/* The form's own controls already carry a charcoal ground, but the panel behind
   them needs to sit on something too, or the labels and the privacy line float
   directly on the photograph. */
.t7-contact-hero .t7-contact__form,
.t7-contact-hero .t7-contact-card {
	backdrop-filter: blur(3px);
}

@media (max-width: 782px) {
	.t7-contact-hero { padding-block: var(--t7-hero-pad-top) var(--t7-s5); }
	.t7-contact-hero__media img { object-position: 62% 22%; }
	.t7-contact-hero__lede { max-width: none; }

	/* No clear half left at this width, so the photograph is washed to texture. */
	.t7-contact-hero__media::after {
		background:
			linear-gradient(180deg,
				var(--t7-ink) 0%,
				color-mix(in srgb, var(--t7-ink) 66%, transparent) 22%,
				var(--t7-ink) 72%),
			color-mix(in srgb, var(--t7-ink) 55%, transparent);
	}
}

/* ── Contact ──────────────────────────────────────────────────────────── */

/*
  Form first, contact routes beside it. The drafted copy led with WhatsApp, but
  a SaaS contact page earns its keep by capturing enquiries, so the form takes
  the wide column and the routes sit in a rail next to it rather than below it.
  Both are on one screen at desktop width.
*/
.t7-contact__grid {
	display: grid;
	/* 60:40, form to contact details. Was 1fr plus a fixed 22rem rail, which
	   resolved to roughly 70:30 and left the details column tighter than the
	   content wanted: the support address alone is a 409px unbreakable string.
	   Both tracks carry minmax(0, ...) so a long word shrinks the track rather
	   than pushing the grid past the shell. */
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: var(--t7-s4);
	align-items: start;
}

.t7-contact__title {
	margin: 0 0 var(--t7-s2);
	max-width: 20ch;
	/* Kept for the heading outline, but sized down: at display size it pushed
	   the first field out of the first fold for a label the H1 already gives. */
	font-size: 1.125rem;
	letter-spacing: 0.02em;
	color: var(--t7-cream);
}

.t7-contact__intro {
	margin: 0 0 var(--t7-s3);
	color: var(--t7-text-body);
	max-width: 52ch;
}

.t7-contact__aside {
	display: grid;
	/* minmax(0, 1fr), not the implicit "auto" track. An auto track sizes to its
	   content rather than to the column it sits in, so the cards pushed this
	   rail out to 458px inside a 352px grid column and put 6px of horizontal
	   scroll on the page at 1440px and 27px at 1024px. */
	grid-template-columns: minmax(0, 1fr);
	gap: var(--t7-s2);
}

/* ── Contact cards ────────────────────────────────────────────────────── */

/*
  Named .t7-contact-card, not .t7-card. That class already belongs to the home
  page feature cards, which are a centred composition with their own gold tick
  and lift on hover. Reusing it here silently repainted those: this block's
  background and border won on source order, and its hover rule dropped their
  translateY. These cards are left ragged like the rest of the interior pages,
  so they are a different component rather than a variant.
*/

.t7-contact-card {
	/* Required, not decorative. This is a bare <div> from a wp:html block, so it
	   inherits nothing from core's .wp-block-group rule, and there is no global
	   reset in this file. Without it the 20px padding and 1px border are added
	   outside the width and the card overflows its own grid track. */
	box-sizing: border-box;
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge-card);
	padding: var(--t7-s2);
	transition: border-color .5s var(--t7-ease);
}

.t7-contact-card:hover,
.t7-contact-card:focus-within { border-color: color-mix(in srgb, var(--t7-gold) 45%, transparent); }

.t7-contact-card--quiet { background: transparent; }

.t7-contact-card__label {
	margin: 0 0 var(--t7-s1);
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
	line-height: 1.6;
}

.t7-contact-card__lead {
	margin: 0 0 0.35rem;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	/* "support@table7pro.co.uk" is one unbreakable 409px string at this size,
	   inside a 312px content box, so it ran 30px past the viewport at 1200px
	   and 6px at 1024px. This only engages when a string genuinely cannot fit,
	   so the short leads beside it still sit on one line. */
	overflow-wrap: anywhere;
}

.t7-contact-card__lead a {
	color: var(--t7-cream);
	text-decoration: none;
	border-bottom: 1px solid var(--t7-edge);
	transition: border-color .3s var(--t7-ease), color .3s var(--t7-ease);
}

.t7-contact-card__lead a:hover {
	color: var(--t7-gold);
	border-bottom-color: var(--t7-gold);
}

.t7-contact-card__meta {
	margin: 0 0 0.6rem;
	font-size: 0.8125rem;
	letter-spacing: 0.04em;
	color: var(--t7-text-caption);
}

.t7-contact-card__note {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

.t7-contact-card__cta { margin: var(--t7-s1) 0 0; }

.t7-contact-card__cta a {
	display: inline-block;
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold);
	text-decoration: none;
	border-bottom: 1px solid var(--t7-edge);
	padding-bottom: 0.2rem;
	transition: border-color .3s var(--t7-ease);
}

.t7-contact-card__cta a:hover { border-bottom-color: var(--t7-gold); }

/* ── Fluent Forms, restyled to the identity ───────────────────────────── */

/*
  Fluent Forms ships a light theme with rounded controls. Everything below
  repaints it onto ink and gold.

  Scoping is deliberate, not decorative. The plugin's own selectors run to
  (0,3,1) (".ff-default .ff-el-form-check label.ff-el-form-check-label"), and
  its stylesheets are enqueued after the theme's, so a single class would lose
  on both specificity and order. Every rule here is prefixed with the page
  wrapper plus the plugin's form class to sit one level above whatever it
  ships. Nothing here needs !important.

  The form's own "cssClassName" setting is NOT used as the hook. Fluent Forms
  6.2 keeps that value in the form's JSON config and never renders it as a
  class on the form element, so a stylesheet scoped to it matches nothing.
  Verified against the live page on 2026-08-29.
*/
.t7-contact__form .fluentform { margin: 0; }

.t7-contact__form .fluentform .ff-el-group { margin-bottom: var(--t7-s2); }

.t7-contact__form .fluentform .ff-el-input--label label {
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
	font-weight: 400;
	line-height: 1.6;
	margin-bottom: 0.5rem;
}

.t7-contact__form .fluentform .ff-el-is-required.asterisk-right label:after { color: var(--t7-gold); }

.t7-contact__form .fluentform .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge-card);
	border-radius: 0;
	color: var(--t7-cream);
	/* 16px floor. Anything smaller makes iOS Safari zoom the page on focus. */
	font-size: 1rem;
	font-family: inherit;
	line-height: 1.6;
	height: auto;
	padding: 0.85rem 1rem;
	box-shadow: none;
	transition: border-color .3s var(--t7-ease), background .3s var(--t7-ease);
}

.t7-contact__form .fluentform textarea.ff-el-form-control { resize: vertical; min-height: 9rem; }

.t7-contact__form .fluentform .ff-el-form-control::placeholder { color: var(--t7-text-caption); opacity: 1; }

.t7-contact__form .fluentform .ff-el-form-control:focus {
	border-color: var(--t7-gold);
	background: color-mix(in srgb, var(--t7-charcoal) 70%, var(--t7-ink));
	box-shadow: none;
}

/* The native arrow renders near black on a near black control in Chrome, so
   the caret is drawn from two gradients instead. */
.t7-contact__form .fluentform select.ff-el-form-control {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, var(--t7-gold-soft) 50%),
		linear-gradient(135deg, var(--t7-gold-soft) 50%, transparent 50%);
	background-position: calc(100% - 1.15rem) center, calc(100% - 0.8rem) center;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
	background-repeat: no-repeat;
	padding-right: 2.5rem;
}

.t7-contact__form .fluentform select.ff-el-form-control option {
	background: var(--t7-charcoal);
	color: var(--t7-cream);
}

/* First and last name. The plugin already flexes this row with a 15px gap;
   this only retunes the gap to the spacing scale and stacks it on mobile. */
.t7-contact__form .frm-fluent-form .ff-t-container { gap: var(--t7-s2); }
.t7-contact__form .frm-fluent-form .ff-t-container > * { margin-block-start: 0; }

/* Consent. The input sits inside the label, followed by a bare span, so the
   label is the flex container rather than a sibling of the box. */
.t7-contact__form .fluentform .ff-el-form-check { margin-bottom: 0; }

.t7-contact__form .fluentform .ff-el-form-check label.ff-el-form-check-label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	margin-bottom: 0;
	font-size: 0.8125rem;
	line-height: 1.65;
	letter-spacing: 0;
	text-transform: none;
	color: var(--t7-text-body);
	cursor: pointer;
}

.t7-contact__form .fluentform .ff-el-form-check-label .ff-el-form-check-input {
	appearance: none;
	position: static;
	top: 0;
	flex: 0 0 auto;
	width: 1.15rem;
	height: 1.15rem;
	margin: 0.1rem 0 0;
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge);
	border-radius: 0;
	cursor: pointer;
	transition: background .2s var(--t7-ease), border-color .2s var(--t7-ease);
}

.t7-contact__form .fluentform .ff-el-form-check-label .ff-el-form-check-input:checked {
	background: var(--t7-gold);
	border-color: var(--t7-gold);
	/* A tick drawn from one gradient, so the box needs no extra element. */
	background-image: linear-gradient(45deg, transparent 58%, var(--t7-ink) 58%);
}

/* Submit. Matches .t7-btn--primary rather than importing it, because the
   plugin renders a bare <button> and not the core button block markup. */
.t7-contact__form .fluentform form.frm-fluent-form .ff-btn-submit {
	display: inline-block;
	width: auto;
	background: linear-gradient(180deg, var(--t7-gold), var(--t7-gold-antique));
	color: var(--t7-ink);
	border: 0;
	border-radius: 0;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	line-height: 1.2;
	padding: 1.05rem 2.2rem;
	cursor: pointer;
	transition: background .3s var(--t7-ease), transform .3s var(--t7-ease);
}

.t7-contact__form .fluentform form.frm-fluent-form .ff-btn-submit:hover {
	background: linear-gradient(180deg, #E9CD74, #C08D3D);
	transform: translateY(-2px);
	color: var(--t7-ink);
}

.t7-contact__form .fluentform form.frm-fluent-form .ff-btn-submit:active { transform: translateY(0); }

/* Validation. The plugin's danger colour is a mid red that fails contrast on
   ink, so it is overridden with a desaturated coral that clears AA. */
.t7-contact__form .fluentform .error,
.t7-contact__form .fluentform .error-text,
.t7-contact__form .fluentform .text-danger {
	color: #E8927C;
	font-size: 0.8125rem;
	margin-top: 0.4rem;
}

.t7-contact__form .fluentform .ff-el-is-error .ff-el-form-control { border-color: #E8927C; }

.t7-contact__form .fluentform .ff-el-is-error .ff-el-form-check-label,
.t7-contact__form .fluentform .ff-el-is-error .ff-el-form-check-label a { color: #E8927C; }

/* Confirmation, shown in place of the form. */
.t7-contact__form .ff-message-success {
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge);
	border-left: 2px solid var(--t7-gold);
	padding: var(--t7-s3);
	color: var(--t7-text-body);
}

.t7-contact__form .ff-message-success p { margin: 0 0 var(--t7-s1); }
.t7-contact__form .ff-message-success p:last-child { margin: 0; }
.t7-contact__form .ff-message-success a { color: var(--t7-gold); }

/* The privacy line sits outside the form, because putting a link inside the
   consent label makes Fluent Forms emit the raw anchor markup into that
   input's aria-label, which a screen reader then reads out as source. */
.t7-contact__form .t7-form__privacy {
	margin: var(--t7-s2) 0 0;
	font-size: 0.8125rem;
	line-height: 1.7;
	color: var(--t7-text-caption);
}

.t7-contact__form .t7-form__privacy a { color: var(--t7-gold); }

/* ── Contact, responsive ──────────────────────────────────────────────── */

/* The rail drops under the form before the form itself gets uncomfortably
   narrow. Below this the two columns fight for the same measure. */
@media (max-width: 900px) {
	.t7-contact__grid { grid-template-columns: minmax(0, 1fr); gap: var(--t7-s4); }
	.t7-contact__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
	.t7-contact__aside { grid-template-columns: minmax(0, 1fr); }
	/* The plugin stacks this row by adding .mobile from JS, but only below its
	   own breakpoint, which does not match this layout's. */
	.t7-contact__form .frm-fluent-form .ff-t-container { display: block; }
	.t7-contact__form .frm-fluent-form .ff-t-cell + .ff-t-cell { margin-top: var(--t7-s2); }
}

/* ── Pricing ──────────────────────────────────────────────────────────── */

/*
  One card, one price, both payment terms inside it. The brief was "one price,
  everything included", so there is deliberately no plan comparison table here:
  a grid of tiers is the exact thing this product is positioned against.
*/
.t7-plan__card {
	box-sizing: border-box;
	border: 1px solid var(--t7-edge);
	background: var(--t7-charcoal);
	padding: var(--t7-s4);
}

.t7-plan__eyebrow {
	margin: 0 0 var(--t7-s3);
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
}

.t7-plan__prices {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--t7-s3);
}

.t7-price {
	box-sizing: border-box;
	padding: var(--t7-s3);
	border: 1px solid var(--t7-edge-card);
	background: color-mix(in srgb, var(--t7-ink) 55%, transparent);
}

/* The yearly option is the one being recommended, so it carries the gold edge.
   Nothing else changes: same list, same system, only the term differs. */
.t7-price--best { border-color: color-mix(in srgb, var(--t7-gold) 55%, transparent); }

.t7-price__label {
	margin: 0 0 var(--t7-s2);
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-text-caption);
	display: flex;
	align-items: center;
	gap: 0.6rem;
	flex-wrap: wrap;
}

.t7-price__flag {
	color: var(--t7-ink);
	background: var(--t7-gold);
	padding: 0.25rem 0.55rem;
	letter-spacing: 0.12em;
	font-size: 0.625rem;
}

.t7-price__figure {
	margin: 0 0 var(--t7-s1);
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(2.75rem, 6vw, 4rem);
	line-height: 1;
	color: var(--t7-cream);
	display: flex;
	align-items: baseline;
	gap: 0.15rem;
	flex-wrap: wrap;
}

.t7-price__cur { font-size: 0.5em; }

.t7-price__per {
	font-size: 0.8125rem;
	font-family: inherit;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-text-caption);
	margin-left: 0.5rem;
}

.t7-price__note {
	margin: 0;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

.t7-plan__vat {
	margin: var(--t7-s2) 0 0;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--t7-text-caption);
}

.t7-plan__lists {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--t7-s4);
	margin-top: var(--t7-s4);
	padding-top: var(--t7-s3);
	border-top: 1px solid var(--t7-rule);
}

.t7-plan__label {
	margin: 0 0 var(--t7-s2);
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-gold-soft);
}

.t7-plan__cta { margin: var(--t7-s4) 0 0; }

/* Each term carries its own Stripe Payment Link. The button rule is shared
   with .t7-plan__cta so both read as the one primary style. */
.t7-price__cta { margin: var(--t7-s2) 0 0; }

/* Once the pay buttons exist, the demo is the softer route, so it drops to a
   sentence with a plain gold link rather than a second gold block. */
.t7-plan__cta--secondary {
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

.t7-plan__cta.t7-plan__cta--secondary a {
	display: inline;
	background: none;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: var(--t7-gold);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.t7-plan__cta.t7-plan__cta--secondary a:hover {
	background: none;
	transform: none;
	color: var(--t7-cream);
}

.t7-plan__cta a,
.t7-price__cta a,
.t7-price__cta .t7-plan-start {
	display: inline-block;
	background: linear-gradient(180deg, var(--t7-gold), var(--t7-gold-antique));
	color: var(--t7-ink);
	text-decoration: none;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	padding: 1.05rem 2.2rem;
	border: none;
	cursor: pointer;
	transition: background .3s var(--t7-ease), transform .3s var(--t7-ease);
}

.t7-plan__cta a:hover,
.t7-price__cta a:hover,
.t7-price__cta .t7-plan-start:hover {
	background: linear-gradient(180deg, #E9CD74, #C08D3D);
	transform: translateY(-2px);
}

/* ── Tick lists ───────────────────────────────────────────────────────── */

/* Shared by the pricing card and the features page. The marker is a pseudo
   element rather than a list-style, so it can be gold while the text is not,
   and so the "never charged" list can swap it for a rule without new markup. */
.t7-ticks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: var(--t7-s1);
}

.t7-ticks li {
	position: relative;
	padding-left: 1.6rem;
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

.t7-ticks li::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	inset-block-start: 0.62em;
	width: 0.7rem;
	height: 0.35rem;
	border-inline-start: 1px solid var(--t7-gold);
	border-block-end: 1px solid var(--t7-gold);
	transform: rotate(-45deg);
}

.t7-ticks li strong { color: var(--t7-cream); font-weight: 500; }

/* A tick would be wrong on a list of things you are not charged for. */
.t7-ticks--never li::before {
	inset-block-start: 0.85em;
	width: 0.7rem;
	height: 0;
	border-inline-start: 0;
	border-block-end: 1px solid var(--t7-text-caption);
	transform: none;
}

/* ── Features ─────────────────────────────────────────────────────────── */

.t7-feat__groups {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--t7-s4);
}

.t7-feat__group { min-width: 0; }

.t7-feat__title {
	margin: 0 0 var(--t7-s2);
	padding-bottom: var(--t7-s1);
	border-bottom: 1px solid var(--t7-rule);
	font-size: 1.125rem;
	color: var(--t7-cream);
}

/* ── Coming soon ──────────────────────────────────────────────────────── */

/*
  Visually separated from the live features on purpose. Everything above is
  what a customer buys today; this is not, and the page must never let the two
  read as one list. Hence the dashed edge and the muted ground.
*/
.t7-soon__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
	gap: var(--t7-s3);
}

.t7-soon__item {
	box-sizing: border-box;
	padding: var(--t7-s3);
	border: 1px dashed var(--t7-edge-card);
	background: color-mix(in srgb, var(--t7-charcoal) 45%, transparent);
}

.t7-soon__title {
	margin: 0 0 var(--t7-s1);
	font-size: 1.125rem;
	color: var(--t7-gold-soft);
}

.t7-soon__note {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.t7-faq__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--t7-s3) var(--t7-s4);
}

.t7-faq__item { min-width: 0; }

.t7-faq__q {
	margin: 0 0 0.5rem;
	font-size: 1rem;
	color: var(--t7-cream);
}

.t7-faq__a {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--t7-text-body);
}

/* ── Pricing and features, responsive ─────────────────────────────────── */

@media (max-width: 900px) {
	.t7-feat__groups,
	.t7-faq__list { grid-template-columns: minmax(0, 1fr); }
	.t7-plan__lists { grid-template-columns: minmax(0, 1fr); gap: var(--t7-s3); }
}

@media (max-width: 700px) {
	/* Two price boxes side by side stop being readable before the card does. */
	.t7-plan__prices { grid-template-columns: minmax(0, 1fr); }
	.t7-plan__card { padding: var(--t7-s3); }
	.t7-price { padding: var(--t7-s2); }
	.t7-plan__cta a,
	.t7-price__cta a,
	.t7-price__cta .t7-plan-start { display: block; width: 100%; text-align: center; }
}

/* ── Industries ───────────────────────────────────────────────────────── */

/*
  auto-fit rather than a fixed column count. The list is eleven items and will
  grow as the product picks up sectors, so a hand set three or four column grid
  would need editing every time one is added. minmax with a min() guard keeps a
  single item from overflowing its track on a narrow phone.
*/
.t7-inds__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
	gap: var(--t7-s2);
}

.t7-ind {
	box-sizing: border-box;
	padding: var(--t7-s2);
	border: 1px solid var(--t7-edge-card);
	background: color-mix(in srgb, var(--t7-charcoal) 60%, transparent);
	transition: border-color .5s var(--t7-ease), background-color .5s var(--t7-ease);
}

.t7-ind:hover {
	border-color: color-mix(in srgb, var(--t7-gold) 50%, transparent);
	background: var(--t7-charcoal);
}

.t7-ind__name {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	color: var(--t7-cream);
}

.t7-ind__note {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: var(--t7-text-caption);
}

/* ── How we work ──────────────────────────────────────────────────────── */

.t7-how__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--t7-s4);
}

.t7-how__item { min-width: 0; }

.t7-how__title {
	margin: 0 0 var(--t7-s1);
	padding-bottom: var(--t7-s1);
	border-bottom: 1px solid var(--t7-rule);
	font-size: 1.125rem;
	color: var(--t7-cream);
}

.t7-how__note {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--t7-text-body);
}

/* ── Who is behind it ─────────────────────────────────────────────────── */

.t7-who__inner p {
	max-width: 62ch;
	line-height: 1.8;
}

.t7-who__inner p + p { margin-top: var(--t7-s2); }

.t7-who__inner a {
	color: var(--t7-gold);
	text-decoration-color: color-mix(in srgb, var(--t7-gold) 45%, transparent);
}

@media (max-width: 900px) {
	.t7-how__grid { grid-template-columns: minmax(0, 1fr); gap: var(--t7-s3); }
}

/* ── Testimonial ──────────────────────────────────────────────────────── */

/*
  Five filled stars, the shape Google uses, drawn as inline SVG so the row costs
  no icon font, no external request and no JavaScript. Brand gold rather than
  Google's #FBBC04: the amber reads as a foreign object on a black and gold
  page, and the row is recognisable from its shape and count, not its exact hue.

  The row is one role="img" with a text label, not five decorative marks. A
  screen reader announces "Rated 5 out of 5" once instead of listing five stars.
*/
.t7-quote__stars {
	display: flex;
	gap: 0.2rem;
	margin: 0 0 var(--t7-s2);
}

.t7-quote__stars svg {
	width: 1.15rem;
	height: 1.15rem;
	fill: var(--t7-gold);
	flex: 0 0 auto;
}



/*
  One real review, so it is set as a single large pull quote rather than as a
  card in a grid of three. A lone card in a slot built for several reads as two
  missing testimonials; a pull quote reads as a deliberate choice.

  The attribution links to the live system the reviewer is describing, which is
  a bespoke booking build rather than Table 7 Pro itself. The link is doing real
  work: a restaurant reading this can see exactly what was built and for whom,
  so the quote cannot be mistaken for a Table 7 Pro customer's.
*/
.t7-quote__figure {
	margin: 0;
	border-inline-start: 1px solid var(--t7-gold);
	padding-inline-start: var(--t7-s3);
}

.t7-quote__text {
	margin: 0 0 var(--t7-s3);
	padding: 0;
	border: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(1.5rem, 3.1vw, 2.25rem);
	line-height: 1.35;
	color: var(--t7-cream);
	/* Long enough to breathe, short enough to stay one thought per line. */
	max-width: 26ch;
}

.t7-quote__text p { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }

.t7-quote__by {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.t7-quote__name {
	font-size: 0.9375rem;
	color: var(--t7-cream);
	letter-spacing: 0.02em;
}

.t7-quote__role {
	font-size: 0.8125rem;
	color: var(--t7-text-body);
}

.t7-quote__src {
	font-size: 0.6875rem;
	letter-spacing: var(--t7-track-label);
	text-transform: uppercase;
	color: var(--t7-text-caption);
}

.t7-quote__link {
	margin-top: 0.4rem;
	align-self: start;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: var(--t7-gold);
	text-decoration: none;
	border-bottom: 1px solid var(--t7-edge);
	padding-bottom: 0.2rem;
	transition: border-color .3s var(--t7-ease);
}

.t7-quote__link:hover { border-bottom-color: var(--t7-gold); }

@media (max-width: 782px) {
	/* The 26ch measure is set for display sizes on a wide column. On a phone it
	   leaves the quote in a narrow ribbon down the left of the screen. */
	.t7-quote__text { max-width: none; }
	.t7-quote__figure { padding-inline-start: var(--t7-s2); }
}

/* ── Motion ───────────────────────────────────────────────────────────── */

/*
  Everything in this block is scoped to .t7-motion on <html>, which is set by an
  inline snippet in wp_head only when JavaScript runs AND the visitor has not
  asked for reduced motion. Nothing is hidden outside that gate, so a failed
  script or a motion sensitive visitor gets the finished page, not a blank one.

  Only transform and opacity are animated. Both composite on the GPU, so none
  of this costs a layout pass on a mid range phone in a restaurant doorway.
*/

/* Hero. Runs off the clock rather than the observer: it is above the fold and
   waiting for an intersection callback would show a visible hitch. */
@keyframes t7-rise {
	from { opacity: 0; transform: translate3d(0, 1.25rem, 0); }
	to { opacity: 1; transform: none; }
}

@keyframes t7-settle {
	from { transform: scale(1.055); }
	to { transform: scale(1); }
}

.t7-motion .t7-hero__inner > * {
	opacity: 0;
	animation: t7-rise .95s var(--t7-ease) forwards;
}

.t7-motion .t7-hero__inner > *:nth-child(1) { animation-delay: .10s; }
.t7-motion .t7-hero__inner > *:nth-child(2) { animation-delay: .22s; }
.t7-motion .t7-hero__inner > *:nth-child(3) { animation-delay: .34s; }
.t7-motion .t7-hero__inner > *:nth-child(4) { animation-delay: .46s; }
/* The device arrives last, after the buttons have settled. */
.t7-motion .t7-hero__inner > *:nth-child(5) { animation-delay: .58s; }

/* The photograph eases back to its resting size rather than arriving at it.
   Slow enough to read as a camera settling, not as a zoom effect. */
.t7-motion .t7-hero__media img {
	animation: t7-settle 2.6s var(--t7-ease-slow) forwards;
}

/* Section rules draw themselves in from the left. */
.t7-motion .t7-section::before {
	transform: scaleX(0);
	transition: transform 1.15s var(--t7-ease-slow);
}

.t7-motion .t7-section.is-in::before { transform: scaleX(1); }

/* Single elements. */
.t7-motion .t7-reveal {
	opacity: 0;
	transform: translate3d(0, 1.5rem, 0);
	transition:
		opacity .85s var(--t7-ease),
		transform .85s var(--t7-ease);
}

.t7-motion .t7-reveal.is-in { opacity: 1; transform: none; }

/* Groups. The container is observed once and its children stagger off it, so a
   six card grid costs one observer entry rather than six. */
.t7-motion .t7-reveal-group > * {
	opacity: 0;
	transform: translate3d(0, 1.5rem, 0);
	transition:
		opacity .8s var(--t7-ease),
		transform .8s var(--t7-ease);
}

.t7-motion .t7-reveal-group.is-in > * { opacity: 1; transform: none; }

.t7-motion .t7-reveal-group > *:nth-child(2) { transition-delay: .08s; }
.t7-motion .t7-reveal-group > *:nth-child(3) { transition-delay: .16s; }
.t7-motion .t7-reveal-group > *:nth-child(4) { transition-delay: .24s; }
.t7-motion .t7-reveal-group > *:nth-child(5) { transition-delay: .32s; }
.t7-motion .t7-reveal-group > *:nth-child(6) { transition-delay: .40s; }

/* Step numbers get their underline drawn after the step itself has landed. */
.t7-motion .t7-step__num::after {
	transform: scaleX(0);
	transition: transform .9s var(--t7-ease-slow) .3s;
}

.t7-motion .t7-reveal-group.is-in .t7-step__num::after { transform: scaleX(1); }

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
	/* Below this the sub heading's 38rem measure and the device start competing
	   for the same space, so the device stops being an overlay and joins the
	   flow under the buttons. It is still sitting on the hero photograph, it is
	   just no longer beside the copy. Left aligned, to hold the hero's rag. */
	/* Reordered visually with flex rather than moved in the markup, so the H1
	   stays the first thing in the source for crawlers and screen readers while
	   the device reads first on screen. margin-top is zeroed because core's
	   block-gap still targets this element as a later sibling in the DOM. */
	.t7-hero__inner {
		display: flex;
		flex-direction: column;
	}

	/* Centred on Nish's instruction, 2026-08-10. This is the one element allowed
	   to break the hero's left rag: it is an object sitting on the photograph
	   rather than a line of copy, so centring reads as placement, not as a
	   change of alignment. The copy underneath stays left ragged. */
	.t7-hero__device {
		position: static;
		display: block;
		order: -1;
		align-self: center;
		margin-top: 0;
		margin-bottom: var(--t7-s3);
	}

	.t7-hero__device img { width: min(52vw, 13rem); height: auto; }

	.t7-offer__grid { grid-template-columns: repeat(3, 1fr); row-gap: var(--t7-s3); }
	.t7-offer__item:nth-child(4) { border-left: 0; padding-left: 0; }
	.t7-features__grid { grid-template-columns: repeat(2, 1fr); }
	.t7-steps__grid { gap: var(--t7-s3); }

	/* Below this the caption column is too narrow to hold a sentence, so the
	   caption goes above its screen instead of beside it. */
	.t7-shot { grid-template-columns: 1fr; gap: var(--t7-s2); }
	.t7-shots__list { gap: var(--t7-s4); }
}

@media (max-width: 782px) {
	.t7-section { padding-block: var(--t7-s5); }
	.t7-pagehead { padding-block: var(--t7-hero-pad-top) var(--t7-s3); }
	/* .t7-page is also a .t7-section, and the rule above it in this block resets
	   every section's padding, so it has to be restated here or the generic page
	   template springs back to 80px on mobile while every other head sits at 20. */
	.t7-page { padding-block: var(--t7-hero-pad-top) var(--t7-s3); }

	.t7-offer__grid { grid-template-columns: repeat(2, 1fr); }
	.t7-offer__item { border-left: 0; padding-left: 0; }

	.t7-steps__grid,
	.t7-features__grid,
	.t7-footer__cols { grid-template-columns: 1fr; }

	.t7-website__inner { padding: var(--t7-s3); }

	.t7-header__logo img { width: 168px; }

	.t7-hero { min-height: clamp(26rem, 62vh, 34rem); }
	.t7-hero__media img { object-position: 64% 50%; }

	.t7-hero__media::after {
		background: linear-gradient(180deg,
			color-mix(in srgb, var(--t7-ink) 82%, transparent) 0%,
			color-mix(in srgb, var(--t7-ink) 88%, transparent) 45%,
			var(--t7-ink) 100%);
	}

	/* The call to action must never be more than one tap away. */
	.t7-header__cta .wp-block-button__link {
		padding: 0.625rem 0.875rem;
		font-size: 0.6875rem;
		letter-spacing: 0.1em;
		white-space: nowrap;
	}

	.t7-header__inner { gap: var(--t7-s1); }
	.t7-header__right { gap: var(--t7-s1); }

	/* Agency rule, all projects: buttons stay auto width on mobile and fit their
	   text. They wrap onto their own line rather than stretching edge to edge,
	   which also keeps the hero's deliberate left rag intact. */
	.t7-hero__actions,
	.t7-close__actions { flex-wrap: wrap; row-gap: var(--t7-s2); }
}

/* Core's navigation block only collapses to a toggle below 600px, but this
   header needs the toggle from 959px down: below that the five links plus the
   CTA are wider than the shell, and the header ran 35px past the viewport at
   768px, which is iPad portrait. It did not show up before the logo was pinned
   with flex: 0 0 auto, because the logo was silently absorbing the overflow by
   shrinking. Fixing the logo exposed the real problem underneath.

   The bound was 782px until 2026-08-29 and that was too low. Between 783px and
   959px the nav stayed expanded and the CTA absorbed the shortfall instead of
   the page doing so: at 783px to 850px "Book a demo" wrapped to one character
   per line and rendered 62px wide by 235px tall, and at 900px it was still
   three lines. Only 783px to 812px overflowed, so an overflow-only check passed
   at 834px and the broken button shipped. Measured, the full nav needs 960px.
   Check this band by the CTA's rendered box, not by document scrollWidth. */
@media (min-width: 600px) and (max-width: 959px) {
	.t7-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}

	.t7-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

@media (max-width: 480px) {
	.t7-offer__grid { grid-template-columns: 1fr 1fr; gap: var(--t7-s2); }
}

/* Only the very narrowest phones. At 320px the logo, the toggle and the CTA
   share 284px once the gutters are taken out, which the 168px mark does not
   fit into. The mark gives back a little and the button gives back more, so
   the logo stays the larger of the two. Above 360px neither needs to. */
@media (max-width: 360px) {
	.t7-header__logo img { width: 138px; }

	/* The larger menu icon costs 20px over core's; at 320px the header has
	   only 11px of slack, so the toggle gives some of it back here. */
	.t7-nav .wp-block-navigation__responsive-container-open { width: 32px; height: 32px; }
	.t7-nav .wp-block-navigation__responsive-container-open::before { left: 5px; right: 5px; top: 9px; box-shadow: 0 12px 0 currentColor; }
	.t7-nav .wp-block-navigation__responsive-container-open::after { left: 11px; right: 5px; top: 15px; }
	.t7-nav .wp-block-navigation__responsive-container-open:is(:hover, :focus-visible)::after { left: 5px; }

	.t7-header__cta .wp-block-button__link {
		padding: 0.5rem 0.625rem;
		letter-spacing: 0.06em;
	}
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		transition-duration: 0.001ms !important;
	}

	/* The progress bar is scroll driven, so collapsing its duration would fill
	   it to 100% and leave a gold bar pinned across the top. Remove it instead.
	   The .t7-motion gate already keeps every other reveal out of this media
	   query's way, because it is never applied when reduced motion is set. */
	.t7-progress { display: none; }
}

/* ── Welcome (Stripe return page) ─────────────────────────────────────── */

.t7-welcome__steps {
	list-style: none;
	margin: var(--t7-s4) 0 0;
	padding: 0;
	display: grid;
	gap: var(--t7-s3);
	counter-reset: t7-step;
}

.t7-welcome__steps > li {
	margin-block-start: 0;
	position: relative;
	padding-left: 3rem;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: var(--t7-text-body);
}

.t7-welcome__steps > li::before {
	counter-increment: t7-step;
	content: counter(t7-step);
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 2rem;
	height: 2rem;
	display: grid;
	place-items: center;
	border: 1px solid color-mix(in srgb, var(--t7-gold) 55%, transparent);
	color: var(--t7-gold);
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.125rem;
}

.t7-welcome__steps strong { color: var(--t7-cream); font-weight: 600; }

.t7-checkout-overlay {
	position: fixed;
	inset: 0;
	background: color-mix(in srgb, var(--t7-ink) 85%, transparent);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	padding: var(--t7-s2);
}

.t7-checkout-modal {
	position: relative;
	background: var(--t7-ink);
	border: 1px solid var(--t7-edge-card);
	border-radius: 0.5rem;
	max-width: 480px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	padding: var(--t7-s3);
}

.t7-checkout-close {
	position: absolute;
	top: var(--t7-s1);
	right: var(--t7-s1);
	background: none;
	border: none;
	color: var(--t7-ivory);
	font-size: 1.5rem;
	cursor: pointer;
}

.t7-checkout-form {
	display: flex;
	flex-direction: column;
	gap: var(--t7-s2);
}

.t7-checkout-form label {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	color: var(--t7-text-body);
	font-size: 0.875rem;
}

.t7-checkout-form input {
	background: var(--t7-charcoal);
	border: 1px solid var(--t7-edge);
	border-radius: 0.25rem;
	color: var(--t7-ivory);
	padding: 0.5rem 0.75rem;
}

.t7-checkout-error {
	color: #e07a7a;
	font-size: 0.875rem;
}

.t7-checkout-submit {
	background: linear-gradient(180deg, #e2c25c, var(--t7-gold-antique));
	border: none;
	border-radius: 0.25rem;
	color: var(--t7-ink);
	font-weight: 600;
	padding: 0.75rem;
	cursor: pointer;
}

/* Base button reset only. The primary gold styling lives on
   .t7-price__cta .t7-plan-start above, matching the old <a> CTA look;
   this bare rule must not reintroduce an underlined-link appearance. */
.t7-plan-start {
	font: inherit;
	cursor: pointer;
}
