/*
Theme Name: Syndicate – Version 2 (Modern Silks)
Description: A bright, sporty and premium theme for a thoroughbred racing syndicate: bold condensed type, square edges and a racing-silks accent colour. Home, About and Contact pages, horse listings and an enquiry form that emails you and keeps every lead in wp-admin. All copy, images and colours are editable in Appearance → Customize.
Version: 2.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: syndicate
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--ink: #0e0e0e;
	--ink-2: color-mix(in srgb, var(--ink) 88%, #fff);
	--paper: #f4f2ed;
	--white: #fff;
	--text: var(--ink);
	--muted: #66645f;
	--line: color-mix(in srgb, var(--ink) 14%, transparent);
	--line-strong: var(--ink);
	--on-dark: #f4f2ed;
	--on-dark-muted: rgba(244, 242, 237, .68);
	--line-dark: rgba(255, 255, 255, .18);
	--accent: #1e3ae8;
	--accent-ink: #fff;
	--error: #c4231b;

	--font: "Archivo", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1320px;
	--gutter: clamp(16px, 3.4vw, 48px);
	--section: clamp(80px, 10vw, 150px);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 76px;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
	margin: 0; padding-top: var(--header-h);
	background: var(--paper); color: var(--text);
	font: 400 17px/1.65 var(--font); font-stretch: 100%;
	-webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; }

h1, h2, h3, h4 {
	margin: 0 0 .4em;
	font-family: var(--font); font-weight: 750; font-stretch: 68%;
	line-height: .9; letter-spacing: -.005em; text-transform: uppercase;
}
h1 em, h2 em, h3 em, .statement em, .mission__statement em, .ticker em { font-style: normal; color: var(--accent); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; z-index: 100; top: 12px; left: 12px; padding: 12px 18px; background: var(--ink); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ==========================================================================
   Type helpers
   ========================================================================== */
.display { font-size: clamp(3.6rem, 9.6vw, 10rem); line-height: .86; }
.h1 { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: .88; }
.h2 { font-size: clamp(2.6rem, 5.6vw, 5.6rem); }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); line-height: 1.6; }
.muted { color: var(--muted); }

.eyebrow {
	display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px;
	font: 700 12px/1.2 var(--font); letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; background: var(--accent); flex: none; }
.section--dark .eyebrow, .section--accent .eyebrow, .is-dark .eyebrow { color: var(--on-dark); }
.section--accent .eyebrow::before { background: var(--white); }

/* ==========================================================================
   Buttons & links
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 22px;
	min-height: 60px; padding: 0 22px 0 26px;
	border: 1.5px solid transparent; border-radius: 0;
	font: 700 14px/1 var(--font); font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(5px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--ink); color: var(--white); }
.section--dark .btn--primary:hover, .cta-split__panel .btn--primary:hover, .site-footer .btn--primary:hover { background: var(--white); color: var(--ink); }
.btn--ghost, .btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--ink); color: var(--white); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--accent); }
.btn--sm { min-height: 46px; padding: 0 16px 0 20px; font-size: 13px; gap: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; }

.link-arrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 700 14px/1 var(--font); font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase;
	text-decoration: none; padding-bottom: 6px; border-bottom: 2px solid var(--accent);
	transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 16px; color: var(--accent); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
	background: var(--paper); color: var(--ink);
	border-bottom: 1px solid var(--line);
	transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { background: color-mix(in srgb, var(--paper) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .35); }
.site-header > .wrap { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; justify-self: start; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__q1 { fill: var(--accent); }
.brand__q2 { fill: var(--ink); }
.brand__name { font: 800 22px/1 var(--font); font-stretch: 68%; letter-spacing: .02em; text-transform: uppercase; }
.custom-logo { max-height: 44px; width: auto; }

.primary-nav ul { list-style: none; display: flex; gap: 6px; }
.primary-nav a {
	display: block; padding: 10px 16px; text-decoration: none;
	font: 700 13px/1 var(--font); font-stretch: 85%; letter-spacing: .12em; text-transform: uppercase;
	transition: background-color .25s, color .25s;
}
.primary-nav a:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.primary-nav .current-menu-item > a, .primary-nav .current_page_item > a { background: var(--ink); color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 10px; justify-self: end; }

.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1.5px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; place-items: center; }
.nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 18px; height: 2px; background: currentColor; transition: transform .35s var(--ease); }
.nav-toggle__bars { position: relative; transform: translateY(-3px); }
.nav-toggle__bars::before { content: ""; position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }

.mobile-menu {
	position: fixed; inset: var(--header-h) 0 0; z-index: 45;
	display: flex; flex-direction: column; justify-content: space-between;
	padding: 24px var(--gutter) calc(28px + env(safe-area-inset-bottom));
	background: var(--paper); color: var(--ink);
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity .35s var(--ease), visibility .35s, transform .35s var(--ease);
	overflow-y: auto;
}
.admin-bar .mobile-menu { top: calc(var(--header-h) + 46px); }
.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; text-decoration: none; font: 800 clamp(2.6rem, 13vw, 3.6rem)/1 var(--font); font-stretch: 65%; text-transform: uppercase; }
.mobile-menu li a::after { content: "→"; font-size: .5em; font-stretch: 100%; color: var(--accent); }
.mobile-menu .current-menu-item a, .mobile-menu .current_page_item a { color: var(--accent); }
.mobile-menu__foot { display: grid; gap: 20px; margin-top: 32px; }
.mobile-menu__contact { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.mobile-menu__contact a { text-decoration: none; }

@media (max-width: 959px) {
	.site-header > .wrap { grid-template-columns: 1fr auto; }
	.primary-nav { display: none; }
	.nav-toggle { display: grid; }
}
@media (min-width: 960px) { .mobile-menu { display: none; } }
@media (max-width: 599px) { .header-cta { display: none; } :root { --header-h: 68px; } }

/* ==========================================================================
   Split hero
   ========================================================================== */
.hero {
	display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	min-height: max(620px, calc(100svh - var(--header-h)));
	border-bottom: 1px solid var(--line);
}
.hero__content {
	display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
	padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(32px, 4vw, 48px) max(var(--gutter), calc((100vw - var(--wrap)) / 2));
}
.hero__content > div:first-child > * { animation: rise 1s var(--ease) both; }
.hero__content > div:first-child > :nth-child(2) { animation-delay: .08s; }
.hero__content > div:first-child > :nth-child(3) { animation-delay: .16s; }
.hero__content > div:first-child > :nth-child(4) { animation-delay: .24s; }
.hero__title { margin-bottom: 32px; }
.hero__text { max-width: 520px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.hero__facts li { list-style: none; padding: 18px 18px 0 0; font: 700 13px/1.35 var(--font); font-stretch: 85%; letter-spacing: .08em; text-transform: uppercase; }
.hero__facts li + li { padding-left: 18px; border-left: 1px solid var(--line); }
.hero__facts span { display: block; color: var(--accent); margin-bottom: 6px; }

.hero__media { position: relative; overflow: hidden; background: var(--ink); }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: reveal-img 1.4s var(--ease) both; }
.hero__badge {
	position: absolute; left: 0; bottom: 0; z-index: 1;
	padding: 22px 26px; background: var(--accent); color: var(--accent-ink);
	font: 700 12px/1.2 var(--font); letter-spacing: .18em; text-transform: uppercase;
}
.hero__badge em { display: block; font: 800 46px/.9 var(--font); font-stretch: 65%; font-style: normal; letter-spacing: 0; margin-top: 6px; }

/* Inner page hero */
.hero--page { min-height: max(520px, 72svh); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero--page .hero__content { justify-content: flex-end; }
.hero--plain { display: block; min-height: 0; }
.hero--plain .hero__content { display: block; padding-top: clamp(56px, 8vw, 110px); padding-bottom: 48px; }
.hero--plain .hero__title { margin: 0; }

@media (max-width: 899px) {
	.hero, .hero--page { grid-template-columns: 1fr; min-height: 0; }
	.hero__content { padding: 40px var(--gutter) 32px; }
	.hero__media { aspect-ratio: 4 / 3.4; order: 2; }
	.hero--page .hero__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 559px) {
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__facts { grid-template-columns: 1fr; }
	.hero__facts li, .hero__facts li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
	.hero__facts span { margin: 0; }
}

@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes reveal-img { from { clip-path: inset(0 0 0 100%); transform: scale(1.08); } to { clip-path: inset(0); transform: none; } }

/* Ticker */
.ticker { overflow: hidden; background: var(--accent); color: var(--accent-ink); border-bottom: 1px solid var(--line); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker__group { display: flex; align-items: center; flex: none; }
.ticker__item { display: flex; align-items: center; gap: 28px; padding: 20px 28px 20px 0; font: 800 clamp(1.4rem, 2.6vw, 2.2rem)/1 var(--font); font-stretch: 65%; text-transform: uppercase; white-space: nowrap; }
.ticker__item::after { content: ""; width: 12px; height: 12px; background: currentColor; transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section--dark p, .section--accent p { color: inherit; opacity: .82; }
.section--accent h2 em { color: inherit; text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .1em; }

.section-head {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end;
	margin-bottom: clamp(44px, 6vw, 80px);
}
.section-head h2 { margin: 0; }
.section-head__aside { display: grid; gap: 24px; justify-items: start; }
.section-head__aside p { color: var(--muted); }
.section--dark .section-head__aside p, .section--accent .section-head__aside p { color: inherit; }
@media (max-width: 859px) { .section-head { grid-template-columns: 1fr; } }

/* Intro */
.intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); align-items: start; }
.intro__head { grid-column: 1 / 7; }
.intro__head h2 { margin: 0; }
.intro__body { grid-column: 8 / 13; padding-top: 44px; }
.intro__body .link-arrow { margin-top: 32px; }
.intro__media { grid-column: 1 / -1; margin-top: clamp(48px, 6vw, 88px); }
.frame { position: relative; overflow: hidden; background: var(--ink); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.frame--wide { aspect-ratio: 21 / 9; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame__caption {
	position: absolute; right: 0; bottom: 0; padding: 14px 18px; background: var(--paper);
	font: 700 12px/1 var(--font); letter-spacing: .16em; text-transform: uppercase;
}
@media (max-width: 899px) {
	.intro__head, .intro__body { grid-column: 1 / -1; }
	.intro__body { padding-top: 0; }
	.frame--wide { aspect-ratio: 4 / 3; }
}

/* Benefit rows */
.rows { list-style: none; border-top: 1.5px solid var(--ink); }
.row {
	display: grid; grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr); gap: 24px; align-items: baseline;
	padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--line);
	transition: padding .4s var(--ease), background-color .4s;
}
.row__num { font: 700 14px/1 var(--font); letter-spacing: .14em; color: var(--accent); }
.row h3 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.4rem); transition: color .3s; }
.row p { color: var(--muted); max-width: 520px; }
.row:hover { padding-left: 16px; padding-right: 16px; background: var(--white); }
.row:hover h3 { color: var(--accent); }
.section--dark .row { border-color: var(--line-dark); }
@media (max-width: 767px) {
	.row { grid-template-columns: 1fr; gap: 10px; }
	.row:hover { padding-left: 0; padding-right: 0; background: none; }
}

/* Statement */
.statement { position: relative; min-height: max(560px, 88vh); display: flex; align-items: flex-end; background: var(--ink); overflow: hidden; }
.statement__media { position: absolute; inset: 0; }
.statement__media img { width: 100%; height: 100%; object-fit: cover; }
.statement blockquote {
	position: relative; margin: 0 0 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	width: min(720px, calc(100% - var(--gutter))); padding: clamp(32px, 4vw, 56px);
	background: var(--paper); border-top: 8px solid var(--accent);
}
.statement p { font: 800 clamp(2.2rem, 4.6vw, 4.4rem)/.92 var(--font); font-stretch: 66%; text-transform: uppercase; margin: 0 0 24px; }
.statement cite { font: 700 12px/1 var(--font); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: var(--muted); }

/* Horses */
.horses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.horse-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); transition: border-color .3s, transform .5s var(--ease); }
.horse-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.horse-card__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--ink); }
.horse-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.horse-card:hover .horse-card__media img { transform: scale(1.05); }
.horse-card__media::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.horse-card__name { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; margin: 0; color: var(--white); font-size: clamp(2.4rem, 3.4vw, 3.2rem); }
.badge {
	position: absolute; top: 0; left: 0; z-index: 1; padding: 10px 14px;
	background: var(--accent); color: var(--accent-ink);
	font: 700 11.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase;
}
.badge--limited { background: #ff5a1f; color: #fff; }
.badge--soon { background: var(--white); color: var(--ink); }
.badge--full { background: var(--ink); color: var(--white); }
.horse-card__body { flex: 1; display: flex; flex-direction: column; padding: 22px 22px 24px; }
.horse-card__pedigree { margin: 0 0 16px; font: 700 12px/1.4 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.horse-card__excerpt { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.specs { margin: 0 0 22px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.horse-card__cta { margin-top: auto; }
.horse-card__cta .btn { width: 100%; }
@media (max-width: 959px) { .horses { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 639px) { .horses { grid-template-columns: 1fr; } }
.horses-empty { padding: 48px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* Steps (timeline) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: currentColor; opacity: .35; }
.step { position: relative; padding-top: 52px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 24px; height: 24px; background: currentColor; }
.step__num { display: block; margin-bottom: 18px; font: 800 clamp(4rem, 7vw, 6.5rem)/.8 var(--font); font-stretch: 62%; color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.section--accent .step__num { -webkit-text-stroke-color: var(--accent-ink); }
.step h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
@media (max-width: 767px) {
	.steps { grid-template-columns: 1fr; padding-left: 40px; }
	.steps::before { left: 11px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
	.step { padding-top: 0; }
	.step::before { left: -40px; }
}

/* CTA split */
.cta-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: max(520px, 72vh); background: var(--ink); color: var(--on-dark); }
.cta-split__panel { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(56px, 7vw, 110px) var(--gutter) clamp(56px, 7vw, 110px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.cta-split__panel .eyebrow { color: var(--on-dark); }
.cta-split__panel h2 { max-width: 12ch; margin-bottom: 24px; }
.cta-split__panel p { max-width: 460px; color: var(--on-dark-muted); margin-bottom: 40px; }
.cta-split__media { position: relative; overflow: hidden; }
.cta-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 859px) { .cta-split { grid-template-columns: 1fr; } .cta-split__media { aspect-ratio: 16 / 10; } }

/* ==========================================================================
   About
   ========================================================================== */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.story__aside { position: sticky; top: calc(var(--header-h) + 40px); }
.story__aside h2 { margin-bottom: 0; }
.story__media { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 859px) { .story { grid-template-columns: 1fr; } .story__aside { position: static; } }

.entry { font-size: 18px; line-height: 1.75; }
.entry > :first-child { margin-top: 0; }
.entry > p:first-child { font-size: clamp(1.4rem, 2.1vw, 1.85rem); line-height: 1.35; font-weight: 600; letter-spacing: -.01em; margin-bottom: 1.1em; }
.entry h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-top: 1.4em; }
.entry h3 { font-size: 1.8rem; margin-top: 1.4em; }
.entry ul, .entry ol { padding-left: 1.2em; margin-bottom: 1.4em; }
.entry a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.entry blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 6px solid var(--accent); font-size: 1.4rem; font-weight: 600; }
.entry--narrow { max-width: 780px; }

.mission { display: grid; gap: clamp(56px, 8vw, 110px); }
.mission__statement { margin: 0; font: 800 clamp(2.4rem, 5.4vw, 5.4rem)/.92 var(--font); font-stretch: 64%; text-transform: uppercase; max-width: 26ch; }
.section--accent .mission__statement { opacity: 1; }
.section--accent .mission__statement em { color: var(--ink); }
.values { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.value { border-top: 2px solid currentColor; padding-top: 24px; }
.value h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin-bottom: 12px; }
@media (max-width: 767px) { .values { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); border-bottom: 1px solid var(--line); }
.contact-head__text { padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 5vw, 64px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.contact-head__text h1 { margin-bottom: 28px; }
.contact-head__intro > div > * { animation: rise 1s var(--ease) both; }
.contact-head__intro > div > :nth-child(2) { animation-delay: .08s; }
.contact-head__intro > div > :nth-child(3) { animation-delay: .16s; }
.contact-head__text p { max-width: 560px; color: var(--muted); }
.contact-head__media { position: relative; overflow: hidden; background: var(--ink); min-height: 320px; }
.contact-head__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 899px) { .contact-head { grid-template-columns: 1fr; } .contact-head__media { min-height: 0; aspect-ratio: 16 / 9; } }

.contact-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside h2 { font-size: clamp(2rem, 3vw, 2.6rem); margin-bottom: 28px; }
@media (max-width: 899px) { .contact-main { grid-template-columns: 1fr; } .contact-aside { order: 2; } }

.next-steps { list-style: none; counter-reset: next; border-top: 1.5px solid var(--ink); }
.next-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.next-steps li::before { counter-increment: next; content: "0" counter(next); font: 800 28px/1 var(--font); font-stretch: 65%; color: var(--accent); }
.next-steps strong { display: block; color: var(--ink); font: 800 22px/1 var(--font); font-stretch: 68%; text-transform: uppercase; margin-bottom: 6px; }

.contact-details { margin: 40px 0 0; display: grid; gap: 18px; font-size: 16px; }
.contact-details dt { font: 700 11.5px/1.3 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.contact-details dd { margin: 0; font-weight: 600; }
.contact-details a { text-decoration: none; }
.contact-details a:hover { color: var(--accent); }

.form-card { background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--accent); padding: clamp(28px, 4vw, 56px); }
.form-card > h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-bottom: 8px; }
.form-card > .muted { margin-bottom: 32px; }

/* Form */
.enquiry-form { display: grid; gap: 26px; }
.field label { display: block; margin-bottom: 6px; font: 700 12px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; }
.field label span { color: var(--accent); }
.field input {
	width: 100%; height: 56px; padding: 0 2px;
	border: 0; border-bottom: 2px solid var(--line); border-radius: 0; background: transparent;
	font: 500 20px/1 var(--font); color: var(--ink);
	transition: border-color .25s;
	-webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: #b2b0aa; font-weight: 400; }
.field input:hover { border-color: color-mix(in srgb, var(--ink) 40%, transparent); }
.field input:focus { outline: none; border-color: var(--accent); }
.field--error input { border-color: var(--error); }
.field__error { margin: 8px 0 0; color: var(--error); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 559px) { .form-row { grid-template-columns: 1fr; } }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
.form-note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--accent); }
.enquiry-form .btn { margin-top: 8px; min-height: 64px; }

.interest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: color-mix(in srgb, var(--accent) 9%, var(--white)); border-left: 4px solid var(--accent); font-size: 15px; }
.interest strong { font-weight: 700; }
.interest a { font-size: 13px; color: var(--muted); }

.notice { padding: 16px 20px; font-size: 15px; line-height: 1.55; }
.notice--error { background: #fdecea; color: #7d1a14; border-left: 4px solid var(--error); }

.form-success__icon { width: 64px; height: 64px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 28px; }
.form-success__icon svg { width: 28px; height: 28px; }
.form-success h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); margin-bottom: 16px; }
.form-success p { color: var(--muted); margin-bottom: 32px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 15px; padding-top: clamp(64px, 8vw, 104px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand h2 { color: var(--on-dark); font-size: clamp(2.4rem, 4vw, 3.6rem); max-width: 12ch; margin-bottom: 28px; }
.footer-brand h2 em, .cta-split h2 em, .section--dark h2 em { color: color-mix(in srgb, var(--accent) 55%, #fff); }
.footer-brand p { max-width: 380px; margin-bottom: 28px; }
.footer-col h2 { font: 700 12px/1.2 var(--font); letter-spacing: .18em; text-transform: uppercase; font-stretch: 100%; color: var(--on-dark); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--on-dark); }
.socials { display: flex; gap: 8px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); transition: background-color .25s, border-color .25s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials svg { width: 17px; height: 17px; }
.footer-legal { padding: 28px 0; display: grid; gap: 16px; font-size: 13px; line-height: 1.6; }
.footer-legal p { max-width: 820px; margin: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); }
.footer-wordmark {
	display: block; margin: 0 0 -.12em; padding: 0 var(--gutter);
	font: 800 clamp(3rem, 12.5vw, 15rem)/.8 var(--font); font-stretch: 62%; text-transform: uppercase;
	white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .22);
	user-select: none;
}
@media (max-width: 859px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-top { grid-template-columns: 1fr; } }

/* Sticky mobile CTA */
.mobile-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
.mobile-cta .btn { width: 100%; }
.mobile-cta.is-visible { transform: none; }
.menu-open .mobile-cta { transform: translateY(110%); }
@media (min-width: 768px) { .mobile-cta { display: none; } }
@media (max-width: 767px) { .site-footer { padding-bottom: 84px; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="2"] { transition-delay: .08s; }
.js [data-reveal="3"] { transition-delay: .16s; }
.js [data-reveal="4"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.ticker__track { animation: none; }
	.js [data-reveal] { opacity: 1; transform: none; }
}
