/*
Theme Name: Tengency
Theme URI: https://tengency.com/
Author: Tengency
Author URI: https://tengency.com/
Description: Lightweight one-page block theme for Tengency — AI workflow systems for founders, agencies, and creators. Native Gutenberg blocks, self-hosted fonts, no page builder.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tengency
Tags: block-patterns, block-styles, editor-style, one-column, custom-colors, custom-menu, accessibility-ready
*/

/* ---------------------------------------------------------------------------
   1. Global foundation
   ------------------------------------------------------------------------ */

:root {
	--t-petrol: #0B3033;
	--t-parchment: #F3EFE5;
	--t-accent: #F1744F;
	--t-sea: #A9D1C5;
	--t-ink-soft: #33484A;
	--t-parchment-deep: #EDE8DA;
	--t-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--t-serif: 'Ibarra Real Nova', Georgia, serif;
	--t-sans: 'Schibsted Grotesk', 'Helvetica Neue', sans-serif;
	--t-gutter: clamp(20px, 4.5vw, 64px);
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* WordPress prints a default block-gap margin between template-level blocks
   and between siblings in flow groups; between two dark full-width sections
   it shows the parchment body as a light strip. Sections own their spacing
   via padding, and flex rows space children via gap, so zero it out. */
body .wp-site-blocks > * + * {
	margin-block-start: 0;
}

main.wp-block-group > * {
	margin-block-start: 0;
}

.ten-work__titlerow > *,
.ten-hero__actions > *,
.ten-cta__actions > *,
.ten-footer__top > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

::selection {
	background: var(--t-sea);
	color: var(--t-petrol);
}

a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--t-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* Keyframes shared by the hero diagram and closing-CTA path. */
@keyframes tflow {
	to { stroke-dashoffset: -160; }
}

@keyframes drawPath {
	to { stroke-dashoffset: 0; }
}

@keyframes nodeIn {
	from { opacity: 0; transform: scale(0.3); }
	to { opacity: 1; transform: scale(1); }
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Every animation and transition collapses to an instant, single run so all
   "both"-filled end states still apply and looping flows stop. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.001s !important;
		animation-delay: 0.001s !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001s !important;
	}
}

/* ---------------------------------------------------------------------------
   2. Shared utilities
   ------------------------------------------------------------------------ */

/* Content container: the design's 1280px column with fluid gutters. Used
   inside every full-width section instead of constrained layout so narrow
   max-width children (rules, headings, callouts) stay left-aligned. */
.ten-container {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--t-gutter);
	padding-right: var(--t-gutter);
}

.ten-container--narrow {
	max-width: 880px;
}

.ten-eyebrow {
	margin: 0 0 20px;
	font: 500 11px var(--t-mono);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(11, 48, 51, 0.55);
}

.ten-eyebrow--dash {
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(11, 48, 51, 0.65);
	margin-bottom: 26px;
}

.ten-eyebrow--dash::before {
	content: "";
	width: 28px;
	height: 1px;
	background: var(--t-accent);
}

.ten-on-dark .ten-eyebrow {
	color: rgba(243, 239, 229, 0.55);
}

.ten-fine {
	font: 500 10.5px var(--t-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(11, 48, 51, 0.5);
}

/* Vertical connector rule that introduces a section. */
.ten-rule {
	width: 1px;
	height: clamp(40px, 5vw, 64px);
	background: rgba(11, 48, 51, 0.25);
	position: relative;
	margin: 0 0 20px;
}

.ten-rule--tall {
	height: clamp(48px, 6vw, 80px);
}

.ten-rule::after {
	content: "";
	position: absolute;
	bottom: -3px;
	left: -2.5px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(11, 48, 51, 0.4);
}

.ten-on-dark .ten-rule {
	background: rgba(243, 239, 229, 0.3);
}

.ten-on-dark .ten-rule::after {
	background: rgba(243, 239, 229, 0.5);
}

/* Primary persimmon action button (core button block carries .ten-btn). */
.ten-btn .wp-block-button__link {
	font: 700 15px var(--t-sans);
	letter-spacing: 0.02em;
	background: var(--t-accent);
	color: var(--t-petrol);
	padding: 17px 30px;
	border-radius: 3px;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease;
}

.ten-btn .wp-block-button__link:hover {
	filter: brightness(0.96);
	color: var(--t-petrol);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(11, 48, 51, 0.2);
}

.ten-btn .wp-block-button__link:active {
	transform: translateY(0);
	box-shadow: none;
}

.ten-email-text {
	font: 500 13px var(--t-mono);
	color: rgba(11, 48, 51, 0.7);
	user-select: all;
	-webkit-user-select: all;
}

/* Monospace link with a growing underline (artifacta.io ↗, LinkedIn ↗). */
.ten-mono-link a {
	font: 600 13px var(--t-mono);
	letter-spacing: 0.05em;
	padding-bottom: 3px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 100% 1px;
	background-position: 0 100%;
	transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .25s ease;
}

.ten-mono-link a:hover {
	background-size: 100% 2px;
}

/* ---------------------------------------------------------------------------
   3. Fixed header
   ------------------------------------------------------------------------ */

.ten-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: rgba(243, 239, 229, 0);
	border-bottom: 1px solid rgba(11, 48, 51, 0);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	transition: background .35s ease, border-color .35s ease;
}

.ten-header.is-scrolled,
.ten-header:has(.wp-block-navigation__responsive-container.is-menu-open) {
	background: rgba(243, 239, 229, 0.96);
	border-bottom-color: rgba(11, 48, 51, 0.12);
}

.ten-header__bar {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--t-gutter);
	height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ten-wordmark,
.ten-wordmark:hover {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	color: var(--t-petrol);
	text-decoration: none;
}

.ten-wordmark__text {
	font: 600 22px/1 var(--t-serif);
	letter-spacing: -0.01em;
}

.ten-wordmark__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--t-accent);
	transform: translateY(-1px);
}

/* Scroll progress line under the header. */
.ten-progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: var(--t-accent);
	transform: scaleX(0);
	transform-origin: left center;
}

/* Core navigation block, desktop links. */
.ten-header .wp-block-navigation {
	gap: clamp(20px, 3vw, 42px);
}

.ten-header .wp-block-navigation .wp-block-navigation-item__content {
	font: 600 13.5px var(--t-sans);
	letter-spacing: 0.03em;
	padding-bottom: 3px;
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0% 1.5px;
	background-position: 0 100%;
	transition: background-size .35s cubic-bezier(.2, .7, .2, 1), color .25s ease;
}

.ten-header .wp-block-navigation .wp-block-navigation-item__content:hover {
	background-size: 100% 1.5px;
	color: var(--t-accent);
}

/* "Email Tengency" link inside the navigation styled as the CTA button. */
.ten-header .wp-block-navigation-item.ten-nav-cta .wp-block-navigation-item__content {
	font: 700 13.5px var(--t-sans);
	letter-spacing: 0.02em;
	background-color: var(--t-accent);
	background-image: none;
	color: var(--t-petrol);
	padding: 11px 20px;
	border-radius: 3px;
	transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s ease, filter .25s ease;
}

.ten-header .wp-block-navigation-item.ten-nav-cta .wp-block-navigation-item__content:hover {
	filter: brightness(0.96);
	color: var(--t-petrol);
	transform: translateY(-1.5px);
	box-shadow: 0 5px 14px rgba(11, 48, 51, 0.18);
}

/* Mobile menu toggle, styled like the design's MENU button. */
.ten-header .wp-block-navigation__responsive-container-open {
	background: none;
	border: 1px solid rgba(11, 48, 51, 0.25);
	border-radius: 3px;
	padding: 9px 14px;
	font: 700 12px var(--t-sans);
	letter-spacing: 0.12em;
	color: var(--t-petrol);
	cursor: pointer;
	text-transform: uppercase;
}

.ten-header .wp-block-navigation__responsive-container-open svg {
	display: none;
}

.ten-header .wp-block-navigation__responsive-container-open::after {
	content: "Menu";
}

/* Mobile overlay panel: parchment sheet with large serif links. */
.ten-header .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--t-parchment);
	padding: 96px var(--t-gutter) 24px;
}

.ten-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.ten-header .wp-block-navigation__responsive-container.is-menu-open ul.wp-block-navigation__container {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 4px;
	width: 100%;
}

.ten-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item:not(.ten-nav-cta) .wp-block-navigation-item__content {
	font: 500 28px var(--t-serif);
	letter-spacing: 0;
	padding: 12px 0;
	background-image: none;
	border-bottom: 1px solid rgba(11, 48, 51, 0.08);
	display: block;
	width: 100%;
}

.ten-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ten-nav-cta {
	margin-top: 18px;
}

.ten-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item.ten-nav-cta .wp-block-navigation-item__content {
	display: block;
	text-align: center;
	font-size: 14px;
	padding: 14px 20px;
}

.ten-header .wp-block-navigation__responsive-container-close {
	color: var(--t-petrol);
	font: 700 12px var(--t-sans);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid rgba(11, 48, 51, 0.25);
	border-radius: 3px;
	padding: 9px 14px;
}

.ten-header .wp-block-navigation__responsive-container-close svg {
	display: none;
}

.ten-header .wp-block-navigation__responsive-container-close::after {
	content: "Close";
}

/* ---------------------------------------------------------------------------
   4. Hero
   ------------------------------------------------------------------------ */

.ten-hero {
	padding-top: clamp(140px, 18vh, 200px);
	padding-bottom: clamp(72px, 10vw, 140px);
}

.ten-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(40px, 5vw, 80px);
}

.ten-hero__copy {
	flex: 1 1 480px;
	min-width: 300px;
}

.ten-hero__figure {
	flex: 1 1 400px;
	min-width: 300px;
	max-width: 580px;
	margin: 0;
}

.ten-display {
	margin: 0 0 30px;
	font: 500 clamp(50px, 7vw, 102px)/0.99 var(--t-serif);
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.ten-display em {
	font-style: italic;
	font-weight: 400;
}

.ten-hero__lead {
	margin: 0 0 44px;
	max-width: 44ch;
	font: 400 clamp(16px, 1.4vw, 19px)/1.6 var(--t-sans);
	color: var(--t-ink-soft);
	text-wrap: pretty;
}

.ten-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
}

/* Hero workflow diagram animation stages. */
.ten-diagram {
	width: 100%;
	height: auto;
	display: block;
}

.ten-diagram .ten-anim-draw {
	animation: drawPath 2.8s cubic-bezier(.65, 0, .25, 1) 0.2s both;
}

.ten-diagram .ten-anim-check {
	animation: drawPath .5s ease-out 2.9s both;
}

.ten-diagram .ten-anim-flow-a {
	animation: fadeIn .8s ease 2.5s both, tflow 9s linear 2.5s infinite;
}

.ten-diagram .ten-anim-flow-b {
	animation: fadeIn .8s ease 3.5s both, tflow 9s linear 3.5s infinite;
}

.ten-diagram .ten-anim-node {
	transform-box: fill-box;
	transform-origin: center;
	animation: nodeIn .7s cubic-bezier(.2, .9, .3, 1.3) both;
}

.ten-diagram .ten-anim-fade {
	animation: fadeIn .8s ease both;
}

.ten-figcaption {
	margin-top: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
	animation: fadeIn .8s ease 4.6s both;
}

.ten-figcaption .ten-diamond {
	width: 7px;
	height: 7px;
	border: 1.5px solid var(--t-accent);
	transform: rotate(45deg);
}

/* ---------------------------------------------------------------------------
   5. Section scaffolding
   ------------------------------------------------------------------------ */

.ten-section {
	padding-top: clamp(72px, 10vw, 140px);
	padding-bottom: clamp(72px, 10vw, 140px);
}

.ten-section--flush-top {
	padding-top: 0;
}

.ten-section--audiences {
	padding-top: 0;
	padding-bottom: clamp(64px, 9vw, 120px);
}

.ten-section--band {
	padding-top: clamp(56px, 8vw, 100px);
	padding-bottom: clamp(56px, 8vw, 100px);
}

.ten-section--about {
	padding-top: clamp(72px, 10vw, 130px);
	padding-bottom: clamp(72px, 10vw, 130px);
}

.ten-section--cta {
	padding-top: clamp(88px, 13vw, 180px);
	padding-bottom: clamp(88px, 13vw, 180px);
}

.ten-h2 {
	margin: 0 0 clamp(44px, 5.5vw, 72px);
	font-weight: 500;
	line-height: 1.08;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

/* ---------------------------------------------------------------------------
   6. Audience modules
   ------------------------------------------------------------------------ */

.ten-audiences__grid {
	gap: clamp(28px, 3.5vw, 52px);
}

.ten-section--audiences .ten-h2 {
	max-width: 22ch;
	font-size: clamp(32px, 4vw, 54px);
}

.ten-card {
	border-top: 2px solid var(--t-petrol);
	padding-top: 24px;
	transition: border-color .4s ease;
}

.ten-card:hover {
	border-top-color: var(--t-accent);
}

.ten-card h3 {
	margin: 0 0 12px;
	font: 500 27px var(--t-serif);
	letter-spacing: 0;
}

.ten-card p {
	margin: 0;
	font: 400 15px/1.65 var(--t-sans);
	color: var(--t-ink-soft);
	text-wrap: pretty;
}

.ten-callout {
	margin: clamp(40px, 4.5vw, 60px) 0 0;
	font: 400 17px/1.6 var(--t-sans);
	color: var(--t-ink-soft);
	max-width: 62ch;
	border-left: 2px solid var(--t-accent);
	padding-left: 20px;
}

/* ---------------------------------------------------------------------------
   7. Services — four-stage engagement (dark)
   ------------------------------------------------------------------------ */

.ten-services .ten-h2 {
	margin-bottom: 22px;
	max-width: 20ch;
	font-size: clamp(36px, 5vw, 68px);
	line-height: 1.04;
	letter-spacing: -0.022em;
}

.ten-services__lead {
	margin: 0 0 clamp(52px, 6.5vw, 90px);
	font: 400 16px/1.65 var(--t-sans);
	color: rgba(243, 239, 229, 0.75);
	max-width: 56ch;
	text-wrap: pretty;
}

.ten-stages {
	gap: clamp(36px, 3.5vw, 48px) clamp(24px, 2.5vw, 40px);
}

.ten-stage {
	position: relative;
	border-top: 1px solid rgba(243, 239, 229, 0.25);
	padding-top: 32px;
}

.ten-stage::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 0;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--t-petrol);
	border: 1.5px solid var(--t-sea);
	transition: background .6s ease;
}

.ten-stage.is-active::before {
	background: var(--t-sea);
}

.ten-stage--deploy::before {
	top: -8px;
	width: 11px;
	height: 11px;
	border-radius: 0;
	border-color: var(--t-accent);
	transform: rotate(45deg);
}

.ten-stage--deploy.is-active::before {
	background: var(--t-accent);
}

.ten-stage .ten-stage__num {
	margin: 0 0 14px;
	font: 500 44px/1 var(--t-serif);
	color: rgba(169, 209, 197, 0.25);
	transition: color .8s ease;
}

.ten-stage.is-active .ten-stage__num,
.ten-stage.is-active p.ten-stage__num {
	color: var(--t-sea);
}

.ten-stage--deploy .ten-stage__num,
.ten-stage--deploy p.ten-stage__num {
	color: rgba(241, 116, 79, 0.3);
}

.ten-stage--deploy.is-active .ten-stage__num,
.ten-stage--deploy.is-active p.ten-stage__num {
	color: var(--t-accent);
}

.ten-stage h3 {
	margin: 0 0 12px;
	font: 500 31px var(--t-serif);
	letter-spacing: 0;
}

.ten-stage p {
	margin: 0;
	font: 400 15px/1.65 var(--t-sans);
	color: rgba(243, 239, 229, 0.75);
	text-wrap: pretty;
}

/* ---------------------------------------------------------------------------
   8. Work — Artifacta
   ------------------------------------------------------------------------ */

.ten-work__titlerow {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 14px 22px;
	margin-bottom: 24px;
}

.ten-work__titlerow .ten-h2 {
	margin: 0;
	font-size: clamp(36px, 5vw, 68px);
	line-height: 1.02;
	letter-spacing: -0.022em;
}

.ten-badge {
	font: 700 10.5px var(--t-sans);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	background: var(--t-petrol);
	color: var(--t-parchment);
	padding: 6px 11px;
	border-radius: 2px;
}

.ten-work__intro {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(32px, 4vw, 64px);
	margin-bottom: clamp(44px, 5.5vw, 68px);
}

.ten-work__intro > p {
	flex: 1 1 340px;
	margin: 0;
	text-wrap: pretty;
}

.ten-work__desc {
	font: 400 17px/1.65 var(--t-sans);
	color: var(--t-ink-soft);
	max-width: 54ch;
}

.ten-work__problem {
	font: 400 15px/1.65 var(--t-sans);
	color: var(--t-ink-soft);
	max-width: 52ch;
	border-left: 2px solid var(--t-sea);
	padding-left: 20px;
}

.ten-work__problem strong {
	color: var(--t-petrol);
}

.ten-shots {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin-bottom: clamp(44px, 5.5vw, 68px);
}

.ten-shot {
	border: 1px solid rgba(11, 48, 51, 0.2);
	border-radius: 6px;
	overflow: hidden;
	background: var(--t-parchment-deep);
	transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}

.ten-shot:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 28px rgba(11, 48, 51, 0.12);
}

.ten-shot--wide {
	grid-column: 1 / -1;
}

.ten-shot__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 10px 14px;
	border-bottom: 1px solid rgba(11, 48, 51, 0.15);
	font: 500 11px var(--t-mono);
	color: rgba(11, 48, 51, 0.55);
}

.ten-shot__bar .ten-shot__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 1px solid rgba(11, 48, 51, 0.4);
	flex: none;
}

.ten-shot .wp-block-image {
	margin: 0;
}

.ten-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.ten-shot--wide img {
	aspect-ratio: 2 / 1;
}

.ten-flow {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 8px;
}

.ten-flow__chip {
	font: 500 12px var(--t-mono);
	border: 1px solid rgba(11, 48, 51, 0.3);
	border-radius: 3px;
	padding: 9px 13px;
	background: var(--t-parchment);
}

.ten-flow__chip--store {
	background: var(--t-sea);
}

.ten-flow__chip--viewer {
	background: none;
	border-style: dashed;
	border-color: rgba(11, 48, 51, 0.4);
}

.ten-flow__arrow {
	font: 500 13px var(--t-mono);
	color: var(--t-accent);
}

/* ---------------------------------------------------------------------------
   9. Credibility band
   ------------------------------------------------------------------------ */

.ten-credibility__quote {
	margin: 0;
	font: 400 clamp(21px, 2.5vw, 30px)/1.45 var(--t-serif);
	letter-spacing: -0.005em;
	text-wrap: balance;
	text-wrap: balance;
}

.ten-credibility .ten-eyebrow {
	margin-bottom: 22px;
	color: rgba(11, 48, 51, 0.6);
}

/* ---------------------------------------------------------------------------
   10. About the founder
   ------------------------------------------------------------------------ */

.ten-about__inner {
	display: flex;
	flex-wrap: wrap;
	gap: clamp(36px, 5vw, 80px);
	align-items: flex-start;
}

.ten-about__portrait {
	flex: 0 1 320px;
	min-width: 250px;
}

.ten-about__portrait .wp-block-image {
	margin: 0;
}

.ten-about__portrait img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 4px;
}

.ten-about__portrait .ten-fine {
	margin: 12px 0 0;
}

.ten-about__body {
	flex: 1 1 400px;
	min-width: 300px;
}

.ten-about__body .ten-h2 {
	margin: 0 0 8px;
	font-size: clamp(32px, 4vw, 50px);
	line-height: 1.06;
}

.ten-about__role {
	margin: 0 0 28px;
	font: 600 13px var(--t-sans);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(11, 48, 51, 0.6);
}

.ten-about__bio {
	margin: 0 0 18px;
	font: 400 16px/1.7 var(--t-sans);
	color: var(--t-ink-soft);
	max-width: 58ch;
	text-wrap: pretty;
}

.ten-about__bio--last {
	margin-bottom: 32px;
}

/* ---------------------------------------------------------------------------
   11. Closing CTA (dark)
   ------------------------------------------------------------------------ */

.ten-cta {
	position: relative;
	overflow: hidden;
}

.ten-cta__bgpath {
	position: absolute;
	right: -40px;
	top: 50%;
	transform: translateY(-50%);
	width: min(48vw, 560px);
	height: auto;
	opacity: 0.35;
	pointer-events: none;
}

.ten-cta__bgpath .ten-anim-flow {
	animation: tflow 9s linear infinite;
}

.ten-cta .ten-h2 {
	margin: 0 0 38px;
	font-size: clamp(40px, 6vw, 84px);
	line-height: 1.02;
	letter-spacing: -0.024em;
	max-width: 16ch;
	position: relative;
}

.ten-cta__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	position: relative;
}

.ten-cta__mail,
.ten-cta__mail a {
	font: 500 clamp(22px, 3vw, 40px) var(--t-serif);
	color: var(--t-accent);
	user-select: all;
	-webkit-user-select: all;
}

.ten-cta__mail a {
	border-bottom: 2px solid var(--t-accent);
	padding-bottom: 4px;
	transition: color .3s ease, border-color .3s ease;
}

.ten-cta__mail a:hover {
	color: var(--t-parchment);
	border-color: var(--t-parchment);
}

.ten-copy-btn {
	background: none;
	border: 1px solid rgba(243, 239, 229, 0.35);
	border-radius: 3px;
	color: var(--t-parchment);
	font: 600 12px var(--t-sans);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 10px 16px;
	cursor: pointer;
	transition: border-color .3s ease, transform .25s cubic-bezier(.2, .8, .2, 1);
}

.ten-copy-btn:hover {
	border-color: var(--t-parchment);
	transform: translateY(-1px);
}

.ten-copy-btn:active {
	transform: translateY(0);
}

.ten-cta__note {
	margin: 28px 0 0;
	font: 400 15px/1.6 var(--t-sans);
	color: rgba(243, 239, 229, 0.65);
	max-width: 48ch;
	text-wrap: pretty;
	position: relative;
}

/* ---------------------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------------------ */

.ten-footer {
	border-top: 1px solid rgba(243, 239, 229, 0.15);
	padding-top: clamp(36px, 5vw, 60px);
	padding-bottom: clamp(36px, 5vw, 60px);
}

.ten-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 28px;
}

.ten-footer__brand {
	max-width: 44ch;
}

.ten-footer .ten-wordmark,
.ten-footer .ten-wordmark:hover {
	color: var(--t-parchment);
}

.ten-footer .ten-wordmark__text {
	font-size: 20px;
}

.ten-footer .ten-wordmark__dot {
	width: 6px;
	height: 6px;
}

.ten-footer__desc {
	margin: 12px 0 0;
	font: 400 13.5px/1.6 var(--t-sans);
	color: rgba(243, 239, 229, 0.65);
}

.ten-footer__nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
	margin: 0;
}

.ten-footer__nav a {
	font: 600 13px var(--t-sans);
	color: var(--t-parchment);
	transition: color .25s ease;
}

.ten-footer__nav a:hover {
	color: var(--t-accent);
}

.ten-footer__copyright {
	font: 400 12.5px var(--t-sans);
	color: rgba(243, 239, 229, 0.5);
}

.ten-footer__meta {
	margin: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(243, 239, 229, 0.1);
	font: 500 10.5px var(--t-mono);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(243, 239, 229, 0.35);
}

/* ---------------------------------------------------------------------------
   13. Inner pages (privacy) and 404
   ------------------------------------------------------------------------ */

.ten-page {
	padding-top: clamp(140px, 16vh, 180px);
	padding-bottom: clamp(72px, 10vw, 140px);
	padding-left: var(--t-gutter);
	padding-right: var(--t-gutter);
}

.ten-page__title {
	font-size: clamp(36px, 5vw, 64px);
	margin: 0 0 16px;
}

.ten-page .ten-content {
	max-width: 68ch;
}

.ten-page .ten-content p,
.ten-page .ten-content li {
	color: var(--t-ink-soft);
	line-height: 1.7;
}

.ten-page .ten-content h2 {
	font-size: 27px;
	margin: 40px 0 12px;
}

.ten-404 {
	padding-top: clamp(160px, 24vh, 240px);
	padding-bottom: clamp(96px, 14vw, 180px);
}

.ten-404 .ten-container {
	padding-top: 0;
	padding-bottom: 0;
}

.ten-404 .ten-h2 {
	margin: 0 0 20px;
	font-size: clamp(44px, 6vw, 84px);
	line-height: 1.02;
	max-width: 18ch;
}

.ten-404__lead {
	margin: 0 0 40px;
	font: 400 17px/1.6 var(--t-sans);
	color: var(--t-ink-soft);
	max-width: 46ch;
	text-wrap: pretty;
}

/* Ghost secondary button (404 "Back to home"). */
.ten-btn--ghost .wp-block-button__link {
	background: none;
	border: 1px solid rgba(11, 48, 51, 0.35);
	color: var(--t-petrol);
	box-shadow: none;
}

.ten-btn--ghost .wp-block-button__link:hover {
	filter: none;
	border-color: var(--t-petrol);
	box-shadow: none;
}

/* ---------------------------------------------------------------------------
   14. Scroll reveals (JS adds the classes; CSS only describes the states)
   ------------------------------------------------------------------------ */

.ten-reveal-init {
	opacity: 0;
	transform: translateY(24px);
}

.ten-reveal-in {
	opacity: 1;
	transform: none;
	transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}

/* ---------------------------------------------------------------------------
   15. Small-screen adjustments
   ------------------------------------------------------------------------ */

@media (max-width: 781px) {
	.ten-audiences__grid.wp-block-columns,
	.ten-stages.wp-block-columns {
		gap: clamp(28px, 3.5vw, 52px);
	}
}
