/* ==========================================================================
   Amtex Yarns — front-end styles
   Palette drawn from the Amtex cone mark: ink lettering, maple-leaf red,
   silver cone wraps, and the ecru of undyed wool.
   ========================================================================== */

:root {
	--ink: #16171a;
	--graphite: #3a3c41;
	--muted: #6d6b66;
	--silver: #a9a9a6;
	--line: #dcd6ca;
	--stone: #e7e2d8;
	--ecru: #f5f2ec;
	--paper: #ffffff;
	--red: #d52b1e;
	--red-ink: #b3221a;

	--f-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--f-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;

	--gutter: clamp(20px, 4.2vw, 72px);
	--wide: 1320px;
	--text: 760px;
	--section: clamp(72px, 10vw, 160px);
	--header-h: 92px;
	--topbar-h: 0px;
	--ease: cubic-bezier(.2, .7, .1, 1);
}
.has-topbar { --topbar-h: 38px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--graphite);
	font: 400 17px/1.7 var(--f-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--red-ink); }
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

h1, h2, h3, h4, h5, h6 {
	color: var(--ink);
	font-family: var(--f-sans);
	font-weight: 300;
	line-height: 1.08;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(44px, 6.4vw, 96px); letter-spacing: -.025em; line-height: 1.0; }
h2 { font-size: clamp(34px, 4.4vw, 64px); }
h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 400; letter-spacing: -.005em; line-height: 1.25; }
h4 { font-size: 19px; font-weight: 500; }
h1 em, h2 em, h3 em, .amx-serif {
	font-family: var(--f-serif);
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
}
p { margin: 0 0 1.2em; text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.amx-skip {
	position: fixed; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px;
	background: var(--ink); color: #fff; transition: top .2s;
}
.amx-skip:focus { top: 12px; color: #fff; }

/* Eyebrow: small uppercase label with a red rule, used above headings. */
.amx-eyebrow {
	display: flex; align-items: center; gap: 14px;
	margin: 0 0 22px;
	color: var(--ink);
	font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
	line-height: 1.4;
}
.amx-eyebrow::before { content: ""; flex: 0 0 28px; height: 1px; background: var(--red); }
.has-text-align-center.amx-eyebrow, .amx-statement .amx-eyebrow { justify-content: center; }
.amx-lede, .has-large-font-size { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.6; color: var(--graphite); }

/* --------------------------------------------------------------------------
   Buttons — default is the reference site's uppercase "FIND OUT MORE" link
   -------------------------------------------------------------------------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 18px 36px; align-items: center; margin: 34px 0 0; }
.wp-block-buttons.is-content-justification-center, .has-text-align-center + .wp-block-buttons { justify-content: center; }
.wp-block-button { margin: 0; }
.wp-block-button__link {
	position: relative;
	display: inline-flex; align-items: center; gap: 14px;
	padding: 6px 0;
	border: 0; border-radius: 0;
	background: none;
	color: var(--ink);
	font: 500 13px/1.2 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
.wp-block-button__link::after {
	content: ""; width: 44px; height: 1px; background: currentColor;
	transition: width .45s var(--ease), background .3s;
}
.wp-block-button__link:hover { color: var(--red-ink); }
.wp-block-button__link:hover::after { width: 72px; background: var(--red); }
.wp-block-button__link .amx-arrow { display: none; }

.is-style-solid .wp-block-button__link,
.is-style-outline .wp-block-button__link,
.is-style-light .wp-block-button__link {
	padding: 18px 30px;
	transition: background .3s, color .3s, border-color .3s;
}
.is-style-solid .wp-block-button__link::after,
.is-style-outline .wp-block-button__link::after,
.is-style-light .wp-block-button__link::after { display: none; }
.is-style-solid .wp-block-button__link .amx-arrow,
.is-style-outline .wp-block-button__link .amx-arrow { display: block; }
.is-style-solid .wp-block-button__link { background: var(--ink); color: #fff; }
.is-style-solid .wp-block-button__link:hover { background: var(--red-ink); color: #fff; }
.is-style-outline .wp-block-button__link { border: 1px solid currentColor; color: var(--ink); }
.is-style-outline .wp-block-button__link:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.is-style-light .wp-block-button__link { background: #fff; color: var(--ink); }
.is-style-light .wp-block-button__link:hover { background: var(--red); color: #fff; }

.amx-arrow { width: 22px; height: 11px; flex: none; transition: transform .35s var(--ease); }
a:hover > .amx-arrow, button:hover > .amx-arrow { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.amx-topbar {
	height: var(--topbar-h);
	display: flex; align-items: center; justify-content: center;
	padding: 0 var(--gutter);
	background: var(--ink); color: rgba(255, 255, 255, .78);
	font-size: 13px; letter-spacing: .02em;
	transition: margin-top .4s var(--ease);
}
.amx-topbar p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amx-topbar a { display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; color: #fff; font-weight: 500; text-decoration: none; }
.amx-topbar a:hover { color: #fff; text-decoration: underline; }
.amx-topbar .amx-arrow { width: 16px; }

.amx-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	color: var(--ink);
	transition: transform .45s var(--ease);
}
.amx-header__bar {
	position: relative;
	height: var(--header-h);
	display: flex; align-items: center; gap: 32px;
	padding: 0 var(--gutter);
	background: var(--paper);
	border-bottom: 1px solid transparent;
	transition: background .35s, color .35s, height .35s var(--ease), border-color .35s, box-shadow .35s;
}
.amx-main { padding-top: calc(var(--header-h) + var(--topbar-h)); }
.has-hero .amx-main { padding-top: 0; }

/* Transparent over a hero until the page scrolls. */
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-header__bar { background: transparent; color: #fff; }
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-header__bar::before {
	content: ""; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none;
	background: linear-gradient(to bottom, rgba(10, 10, 12, .45), rgba(10, 10, 12, 0));
}
.amx-header.is-scrolled .amx-header__bar { --header-h: 74px; border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .25); }
.amx-header.is-scrolled { transform: translateY(calc(-1 * var(--topbar-h))); }
.amx-header.is-hidden { transform: translateY(calc(-100% - 2px)); }

/* Logo */
.amx-logo { display: inline-flex; align-items: center; gap: 14px; flex: none; color: inherit; text-decoration: none; }
.amx-logo:hover { color: inherit; }
.amx-logo-mark { width: auto; height: 58px; transition: height .35s var(--ease); }
.is-scrolled .amx-logo-mark { height: 48px; }
.amx-logo-img { max-height: 58px; width: auto; }
.amx-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.amx-logo__name { font-size: 17px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; }
.amx-logo__tag { margin-top: 5px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .6; }

.amx-logo-cone { fill: #fff; }
.amx-logo-ink { fill: var(--ink); }
.amx-logo-leaf { fill: var(--red); }

/* Inverted mark (over imagery, dark footer). */
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-logo-mark,
.amx-footer .amx-logo-mark { --mk: #fff; }
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-logo-cone,
.amx-footer .amx-logo-cone { fill: rgba(255, 255, 255, .04); }
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-logo-ink,
.amx-footer .amx-logo-ink { fill: #fff; }

/* Primary nav */
.amx-nav { margin-left: auto; }
.amx-nav__list, .amx-nav__list ul { list-style: none; margin: 0; padding: 0; }
.amx-nav__list { display: flex; gap: clamp(18px, 2.2vw, 40px); }
.amx-nav__list > li { position: relative; }
.amx-nav__list > li > a {
	position: relative; display: block; padding: 34px 0;
	font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
	color: inherit;
}
.is-scrolled .amx-nav__list > li > a { padding: 26px 0; }
.amx-nav__list > li > a::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: 26px; height: 1px; background: var(--red);
	transition: right .4s var(--ease);
}
.is-scrolled .amx-nav__list > li > a::after { bottom: 20px; }
.amx-nav__list > li:hover > a::after,
.amx-nav__list > li:focus-within > a::after,
.amx-nav__list > .current-menu-item > a::after,
.amx-nav__list > .current-menu-ancestor > a::after,
.amx-nav__list > .current_page_parent > a::after { right: 0; }
.amx-nav__list > li > a:hover { color: inherit; }
.amx-nav__list .menu-item-has-children > a { padding-right: 14px; }
.amx-nav__list .menu-item-has-children > a::before {
	content: ""; position: absolute; right: 0; top: 50%; width: 5px; height: 5px; margin-top: -4px;
	border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); opacity: .7;
}
.amx-nav__list .sub-menu {
	position: absolute; left: -26px; top: 100%; min-width: 240px;
	padding: 16px 0;
	background: var(--paper); color: var(--ink);
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .3);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.amx-nav__list li:hover > .sub-menu,
.amx-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.amx-nav__list .sub-menu a {
	display: block; padding: 9px 26px;
	font-size: 15px; text-decoration: none; color: var(--graphite);
	transition: color .2s, padding .3s var(--ease);
}
.amx-nav__list .sub-menu a:hover, .amx-nav__list .sub-menu .current-menu-item > a { color: var(--red-ink); padding-left: 32px; }

.amx-header__tools { display: flex; align-items: center; gap: 14px; }
.amx-nav + .amx-header__tools { margin-left: 8px; }
.amx-iconbtn {
	display: grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 0; background: none; color: inherit; cursor: pointer;
}
.amx-iconbtn svg { width: 21px; height: 21px; }
.amx-header__cta {
	padding: 13px 22px;
	border: 1px solid currentColor; background: none; color: inherit;
	font: 500 12px/1 var(--f-sans); letter-spacing: .18em; text-transform: uppercase;
	cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.amx-header__cta:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.has-hero .amx-header:not(.is-scrolled):not(.is-menu) .amx-header__cta:hover { background: #fff; border-color: #fff; color: var(--ink); }

.amx-burger { display: none; position: relative; width: 42px; height: 42px; margin-right: -9px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.amx-burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.amx-burger span:first-child { top: 16px; }
.amx-burger span:last-child { top: 25px; }
.amx-burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.amx-burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1180px) {
	.amx-nav, .amx-header__bar > .amx-header__tools .amx-header__cta { display: none; }
	.amx-burger { display: block; }
	.amx-header__tools, .amx-nav + .amx-header__tools { margin-left: auto; }
}
@media (max-width: 600px) {
	:root { --header-h: 72px; }
	.has-topbar { --topbar-h: 34px; }
	.amx-topbar { font-size: 12px; }
	.amx-topbar p { display: flex; justify-content: center; }
	.amx-topbar p { font-size: 0; }
	.amx-topbar a { font-size: 12px; margin: 0; }
	.amx-header__bar { gap: 12px; }
	.amx-header__tools { gap: 4px; }
	.amx-logo-mark { height: 46px; }
	.amx-logo__tag { display: none; }
	.amx-logo__name { font-size: 15px; letter-spacing: .24em; }
}

/* Overlays: menu + search */
.amx-overlay {
	position: fixed; inset: 0; z-index: 90;
	background: var(--paper); color: var(--ink);
	overflow-y: auto;
	opacity: 0; transition: opacity .35s;
}
.amx-overlay.is-open { opacity: 1; }
.amx-overlay[hidden] { display: none; }
.amx-menu { padding: calc(var(--header-h) + var(--topbar-h) + 24px) var(--gutter) 40px; }
.amx-menu__inner { max-width: var(--wide); margin: 0 auto; display: flex; flex-direction: column; min-height: 100%; }
.amx-menu__list, .amx-menu__list ul { list-style: none; margin: 0; padding: 0; }
.amx-menu__list > li { border-bottom: 1px solid var(--line); }
.amx-menu__list > li > a {
	display: block; padding: 18px 0;
	font-size: clamp(26px, 5vw, 40px); font-weight: 300; letter-spacing: -.01em; text-decoration: none;
}
.amx-menu__list .menu-item-has-children { position: relative; }
.amx-menu__list .amx-sub-toggle {
	position: absolute; right: 0; top: 14px; width: 48px; height: 48px;
	border: 0; background: none; cursor: pointer; color: var(--ink);
}
.amx-menu__list .amx-sub-toggle::before, .amx-menu__list .amx-sub-toggle::after {
	content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1.5px; background: currentColor; transition: transform .3s;
}
.amx-menu__list .amx-sub-toggle::after { transform: rotate(90deg); }
.amx-menu__list .amx-sub-toggle[aria-expanded="true"]::after { transform: rotate(0); }
.amx-menu__list .sub-menu { display: none; padding: 0 0 18px; }
.amx-menu__list .is-open > .sub-menu { display: block; }
.amx-menu__list .sub-menu a { display: block; padding: 8px 0 8px 2px; font-size: 18px; color: var(--graphite); text-decoration: none; }
.amx-menu__foot { margin-top: auto; padding-top: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; }
.amx-menu__foot p { margin: 0; }
.amx-menu__foot a { text-decoration: none; }

.amx-search { z-index: 120; display: grid; place-items: center; padding: var(--gutter); }
.amx-search__inner { width: min(900px, 100%); }
.amx-searchform { display: flex; align-items: center; border-bottom: 1px solid var(--ink); }
.amx-searchform input {
	flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; outline: 0;
	font: 300 clamp(26px, 4vw, 52px)/1.2 var(--f-sans); color: var(--ink);
}
.amx-searchform input::placeholder { color: var(--silver); }
.amx-searchform button { width: 56px; height: 56px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.amx-searchform button .amx-arrow { width: 32px; height: 16px; margin: auto; }

.amx-close {
	position: absolute; right: var(--gutter); top: 28px; width: 44px; height: 44px;
	border: 0; background: none; cursor: pointer; color: var(--ink);
}
.amx-close::before, .amx-close::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); }
.amx-close::after { transform: rotate(-45deg); }

/* Contact dialog */
.amx-dialog {
	width: min(860px, calc(100% - 32px)); max-height: calc(100% - 32px);
	padding: clamp(28px, 5vw, 64px);
	border: 0; background: var(--paper); color: var(--graphite);
	box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45);
}
.amx-dialog::backdrop { background: rgba(22, 23, 26, .72); backdrop-filter: blur(3px); }
.amx-dialog[open] { animation: amx-rise .45s var(--ease); }
.amx-dialog h2 { font-size: clamp(32px, 4vw, 48px); }
.amx-dialog__lede { max-width: 560px; }
.amx-dialog .amx-close { top: 18px; right: 18px; }
@keyframes amx-rise { from { opacity: 0; transform: translateY(24px); } }

/* --------------------------------------------------------------------------
   Content layout — blocks sit on a text column; alignwide / alignfull break out
   -------------------------------------------------------------------------- */
.amx-content > * {
	max-width: calc(var(--text) + 2 * var(--gutter));
	margin-left: auto; margin-right: auto;
	padding-left: var(--gutter); padding-right: var(--gutter);
}
.amx-content > .alignwide { max-width: calc(var(--wide) + 2 * var(--gutter)); }
.amx-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
.amx-content > :first-child:not(.alignfull) { margin-top: var(--section); }
.amx-content > .alignwide, .amx-content > .wp-block-columns { margin-top: var(--section); margin-bottom: var(--section); }
.amx-content > .amx-section:not([class*="is-style-"]) + .alignwide, .amx-content > .amx-marquee + .alignwide, .amx-content > .alignwide + .alignwide { margin-top: 0; }
.amx-content > .alignwide + .alignwide { padding-top: 0; }
.amx-content > :last-child:not(.alignfull) { margin-bottom: var(--section); }

/* Prose pages (legal, articles) */
.amx-content--prose { padding-bottom: 20px; }
.amx-content--prose > :first-child { margin-top: 0; }
.amx-content--prose h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.amx-content--prose h3 { margin-top: 1.4em; }
.amx-content--prose ul, .amx-content--prose ol { padding-left: calc(var(--gutter) + 1.2em); }
.amx-content--prose li { margin-bottom: .4em; }
.amx-content--prose a { color: var(--red-ink); }
.amx-content--prose blockquote {
	margin: 2em auto; border-left: 2px solid var(--red); padding-left: calc(var(--gutter) + 24px);
	font: italic 400 clamp(24px, 2.6vw, 32px)/1.35 var(--f-serif); color: var(--ink);
}

.amx-pagehead {
	max-width: calc(var(--wide) + 2 * var(--gutter));
	margin: 0 auto; padding: clamp(60px, 9vw, 130px) var(--gutter) clamp(40px, 5vw, 70px);
}
.amx-pagehead h1 { max-width: 15em; margin: 0; }
.amx-pagehead .amx-lede { max-width: 640px; margin-top: 26px; }
.amx-pagehead .amx-searchform { max-width: 720px; margin-top: 30px; }
.amx-pagehead--article { max-width: calc(var(--text) + 2 * var(--gutter) + 200px); }
.amx-pagehead--article h1 { font-size: clamp(38px, 5vw, 68px); }
.amx-pagehead--article .amx-eyebrow a { text-decoration: none; }
.amx-pagehead--article .amx-eyebrow span { color: var(--silver); margin: 0 6px; }
.amx-article__date { margin: 26px 0 0; color: var(--muted); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.amx-pagehead--404 { min-height: 60vh; display: flex; flex-direction: column; justify-content: center; }

/* --------------------------------------------------------------------------
   Hero slider (Group .amx-hero containing Cover blocks .amx-slide)
   -------------------------------------------------------------------------- */
.amx-hero {
	position: relative; overflow: hidden;
	height: 100vh; height: 100svh; min-height: 620px;
	margin: 0 !important; background: var(--ink); color: #fff;
}
.amx-hero > .wp-block-cover, .amx-hero > .amx-slide {
	position: absolute; inset: 0; min-height: 0 !important; height: 100%;
	margin: 0; padding: 0;
	opacity: 0; visibility: hidden;
	transition: opacity 1.3s ease, visibility 1.3s;
}
.amx-hero > .amx-slide:first-child, .amx-hero.is-ready > .amx-slide:first-child { opacity: 1; visibility: visible; }
.amx-hero.is-ready > .amx-slide { opacity: 0; visibility: hidden; }
.amx-hero.is-ready > .amx-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }

.wp-block-cover { position: relative; display: flex; overflow: hidden; }
.wp-block-cover__image-background, .wp-block-cover__video-background {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0;
}
.wp-block-cover__background { position: absolute; inset: 0; z-index: 1; }
.wp-block-cover__background.has-background-dim { opacity: .5; }
.wp-block-cover__background.has-background-dim-10 { opacity: .1; }
.wp-block-cover__background.has-background-dim-20 { opacity: .2; }
.wp-block-cover__background.has-background-dim-30 { opacity: .3; }
.wp-block-cover__background.has-background-dim-40 { opacity: .4; }
.wp-block-cover__background.has-background-dim-50 { opacity: .5; }
.wp-block-cover__background.has-background-dim-60 { opacity: .6; }
.wp-block-cover__background.has-background-dim-70 { opacity: .7; }
.wp-block-cover__background.has-background-dim-80 { opacity: .8; }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; }

.amx-slide .wp-block-cover__image-background { transform: scale(1.12); transition: transform 8s linear; }
.amx-slide.is-active .wp-block-cover__image-background { transform: scale(1); }
.amx-slide .wp-block-cover__inner-container {
	align-self: flex-end;
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
	padding: 0 var(--gutter) clamp(110px, 15vh, 170px);
}
.amx-slide .amx-eyebrow, .amx-pagehero .amx-eyebrow, .is-style-ink .amx-eyebrow, .amx-cta .amx-eyebrow { color: #fff; }
.amx-slide h1, .amx-slide h2 {
	max-width: 11.5em; margin: 0 0 24px; color: #fff;
	font-size: clamp(46px, 7vw, 108px); line-height: .98; letter-spacing: -.03em;
}
.amx-slide p:not(.amx-eyebrow) { max-width: 520px; color: rgba(255, 255, 255, .86); font-size: clamp(17px, 1.4vw, 20px); }
.amx-slide .wp-block-button__link, .amx-pagehero .wp-block-button__link { color: #fff; }
.amx-slide .wp-block-button__link:hover { color: #fff; }
.amx-slide .wp-block-button__link:hover::after { background: #fff; }

/* Staggered entrance of slide copy */
.amx-hero.is-ready .amx-slide .wp-block-cover__inner-container > * {
	opacity: 0; transform: translateY(26px);
	transition: opacity .9s ease, transform 1.1s var(--ease);
}
.amx-hero.is-ready .amx-slide.is-active .wp-block-cover__inner-container > * { opacity: 1; transform: none; }
.amx-hero.is-ready .amx-slide.is-active .wp-block-cover__inner-container > :nth-child(1) { transition-delay: .35s; }
.amx-hero.is-ready .amx-slide.is-active .wp-block-cover__inner-container > :nth-child(2) { transition-delay: .5s; }
.amx-hero.is-ready .amx-slide.is-active .wp-block-cover__inner-container > :nth-child(3) { transition-delay: .65s; }
.amx-hero.is-ready .amx-slide.is-active .wp-block-cover__inner-container > :nth-child(4) { transition-delay: .8s; }

.amx-hero__ui {
	position: absolute; z-index: 5; left: 0; right: 0; bottom: 0;
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
	padding: 0 var(--gutter) 44px;
	display: flex; align-items: center; gap: 28px; color: #fff;
}
.amx-hero__dots { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.amx-hero__dots button {
	position: relative; flex: 1; height: 26px; padding: 0; border: 0; background: none; cursor: pointer;
}
.amx-hero__dots button::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .35); }
.amx-hero__dots button i { position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: #fff; }
.amx-hero__dots button.is-active i { animation: amx-progress var(--amx-dur, 7s) linear forwards; }
.amx-hero.is-paused .amx-hero__dots button.is-active i { animation-play-state: paused; }
@keyframes amx-progress { to { width: 100%; } }
.amx-hero__arrows { display: flex; gap: 6px; }
.amx-hero__arrows button {
	width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%;
	background: none; color: #fff; cursor: pointer; transition: background .3s, border-color .3s;
}
.amx-hero__arrows button:hover { background: #fff; color: var(--ink); border-color: #fff; }
.amx-hero__arrows svg { width: 18px; height: 9px; margin: auto; }
.amx-hero__arrows .is-prev svg { transform: scaleX(-1); }
.amx-hero__scroll {
	margin-left: auto; display: flex; align-items: center; gap: 12px;
	font-size: 11px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: #fff;
}
.amx-hero__scroll:hover { color: #fff; }
.amx-hero__scroll::after { content: ""; width: 1px; height: 42px; background: linear-gradient(#fff, transparent); animation: amx-drip 2.2s ease-in-out infinite; }
@keyframes amx-drip { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 600px) { .amx-hero__arrows, .amx-hero__scroll { display: none; } .amx-hero__dots { max-width: none; } }

/* Interior page hero (Cover .amx-pagehero) */
.amx-pagehero.wp-block-cover {
	min-height: clamp(460px, 74vh, 760px) !important;
	margin: 0 !important; padding: 0;
	color: #fff; background: var(--ink);
}
.amx-pagehero .wp-block-cover__inner-container {
	align-self: flex-end;
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
	padding: calc(var(--header-h) + var(--topbar-h) + 40px) var(--gutter) clamp(48px, 7vw, 96px);
}
.amx-pagehero h1 { max-width: 12em; margin: 0; color: #fff; }
.amx-pagehero p:not(.amx-eyebrow) { max-width: 600px; margin: 24px 0 0; color: rgba(255, 255, 255, .86); font-size: clamp(17px, 1.4vw, 21px); }
.amx-pagehero .wp-block-cover__image-background { transform: scale(1.06); animation: amx-settle 2.4s var(--ease) forwards; }
@keyframes amx-settle { to { transform: scale(1); } }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.amx-section {
	padding: var(--section) var(--gutter) !important;
	margin-top: 0; margin-bottom: 0;
}
.amx-section > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.amx-section > .amx-narrow, .amx-section > p, .amx-section > h2, .amx-section > h3 { max-width: var(--wide); }
.amx-section > .wp-block-columns:not(:first-child), .amx-section > .wp-block-group:not(:first-child) { margin-top: clamp(40px, 5vw, 72px); }
.is-style-ecru { background: var(--ecru); }
.is-style-stone { background: var(--stone); }
.is-style-ink { background: var(--ink); color: rgba(255, 255, 255, .78); }
.is-style-ink h1, .is-style-ink h2, .is-style-ink h3, .is-style-ink h4, .is-style-ink strong { color: #fff; }
.is-style-ink .wp-block-button__link { color: #fff; }
.is-style-ink .wp-block-button__link:hover { color: #fff; }
.is-style-ink .wp-block-button__link:hover::after { background: var(--red); }
.is-style-ink .is-style-light .wp-block-button__link { color: var(--ink); }
.is-style-ink .is-style-light .wp-block-button__link:hover { color: #fff; }
.is-style-ink .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .5); }
.is-style-ink .is-style-outline .wp-block-button__link:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Section intro: eyebrow + heading + lede */
.amx-heading { max-width: var(--wide); }
.amx-heading > h2 { max-width: 13em; }
.amx-heading > p:not(.amx-eyebrow) { max-width: 620px; }
.amx-heading.has-text-align-center, .amx-heading.is-centered { text-align: center; }
.amx-heading.is-centered > * { margin-left: auto; margin-right: auto; }
.amx-heading.is-centered .amx-eyebrow { justify-content: center; }
.amx-heading.is-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(32px, 6vw, 120px); align-items: end; }
.amx-heading.is-split > .amx-eyebrow { grid-column: 1 / -1; }
.amx-heading.is-split > p:not(.amx-eyebrow) { margin-bottom: .6em; }
.amx-heading.is-split > .wp-block-buttons { justify-self: end; margin: 0 0 1.4em; }
@media (max-width: 860px) { .amx-heading.is-split > .wp-block-buttons { justify-self: start; margin-top: 8px; } }
@media (max-width: 860px) { .amx-heading.is-split { grid-template-columns: 1fr; } }

/* Statement band — big centred sentence */
.amx-statement { text-align: center; }
.amx-statement > * { max-width: 1040px; }
.amx-statement h2 { font-size: clamp(32px, 4vw, 58px); line-height: 1.14; margin-left: auto; margin-right: auto; }
.amx-statement p:not(.amx-eyebrow) { max-width: 640px; margin-left: auto; margin-right: auto; }
.amx-statement .wp-block-buttons { justify-content: center; }

/* Split image / text (Columns .amx-split) */
.wp-block-columns { display: flex; gap: clamp(28px, 4vw, 64px); }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column.is-vertically-aligned-center { align-self: center; }
.amx-split { align-items: center; gap: clamp(32px, 7vw, 128px) !important; }
.amx-split > .wp-block-column:first-child { flex: 1.12 1 0; }
.amx-split.is-style-split-reverse { flex-direction: row-reverse; }
.amx-split .wp-block-image { margin: 0; overflow: hidden; }
.amx-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.6s var(--ease); }
.amx-split:hover .wp-block-image img { transform: scale(1.03); }
.amx-split.is-landscape .wp-block-image img { aspect-ratio: 3 / 2; }
.amx-split h2 { font-size: clamp(34px, 4vw, 58px); }
.amx-split__text { max-width: 540px; }
@media (max-width: 860px) {
	.wp-block-columns { flex-direction: column; }
	.amx-split, .amx-split.is-style-split-reverse { flex-direction: column; align-items: stretch; }
	.amx-split .wp-block-image img { aspect-ratio: 4 / 3; }
}

/* Image placeholders (until replaced) get a subtle hover hint in the editor only — see editor.css */
.wp-block-image { margin: 0 0 1.2em; }
.wp-block-image figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* Card / tile grid (Columns .amx-tiles) */
.amx-tiles { gap: clamp(20px, 2.4vw, 36px) !important; }
.amx-tiles > .wp-block-column { display: flex; flex-direction: column; }
.amx-tiles .wp-block-image { position: relative; margin: 0 0 24px; overflow: hidden; }
.amx-tiles .wp-block-image img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.amx-tiles > .wp-block-column:hover .wp-block-image img { transform: scale(1.05); }
.amx-tiles h3 { margin-bottom: 10px; }
.amx-tiles p:not(.amx-eyebrow) { font-size: 16px; color: var(--muted); }
.amx-tiles .amx-eyebrow { margin-bottom: 12px; font-size: 11px; }
.amx-tiles .wp-block-buttons { margin-top: auto; padding-top: 10px; }
.amx-tiles.is-landscape .wp-block-image img { aspect-ratio: 3 / 2; }
@media (max-width: 1080px) and (min-width: 861px) { .amx-tiles { flex-wrap: wrap !important; } .amx-tiles > .wp-block-column { flex: 1 1 calc(50% - 36px); } }

/* Features / pillars — numbered text columns with a top rule */
.amx-features { gap: clamp(24px, 3vw, 48px) !important; }
.amx-features > .wp-block-column { padding-top: 28px; border-top: 1px solid var(--line); }
.is-style-ink .amx-features > .wp-block-column { border-color: rgba(255, 255, 255, .18); }
.amx-features h3 { margin-bottom: 14px; }
.amx-features p { font-size: 16px; }

/* Process steps (Group .amx-steps of Groups .amx-step) */
.amx-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.amx-step { position: relative; padding: 36px 28px 40px 0; border-bottom: 1px solid var(--line); }
.amx-step:not(:nth-child(4n)) { border-right: 1px solid var(--line); }
.amx-step:not(:nth-child(4n + 1)) { padding-left: 28px; }
.amx-step h3 { font-size: 22px; margin-bottom: 12px; }
.amx-step p { font-size: 15.5px; color: var(--muted); margin: 0; }
@media (max-width: 1080px) {
	.amx-steps { grid-template-columns: repeat(2, 1fr); }
	.amx-step:not(:nth-child(4n)) { border-right: 0; }
	.amx-step:not(:nth-child(4n + 1)) { padding-left: 0; }
	.amx-step:nth-child(odd) { border-right: 1px solid var(--line); }
	.amx-step:nth-child(even) { padding-left: 28px; }
}
@media (max-width: 600px) {
	.amx-steps { grid-template-columns: 1fr; }
	.amx-step:nth-child(odd) { border-right: 0; }
	.amx-step:nth-child(even) { padding-left: 0; }
}

/* Yarn collection grid (Group .amx-yarns of Groups .amx-yarn) */
.amx-yarns { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 64px) clamp(20px, 2.6vw, 40px); }
.amx-yarn { display: flex; flex-direction: column; }
.amx-yarn .wp-block-image { margin: 0 0 24px; overflow: hidden; background: var(--stone); }
.amx-yarn .wp-block-image img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.amx-yarn:hover .wp-block-image img { transform: scale(1.05); }
.amx-yarn .amx-eyebrow { font-size: 11px; margin-bottom: 12px; }
.amx-yarn h3 { margin-bottom: 10px; }
.amx-yarn > p:not(.amx-eyebrow) { font-size: 16px; color: var(--muted); }
.amx-yarn .wp-block-list, .amx-specs {
	list-style: none; margin: auto 0 0; padding: 16px 0 0; border-top: 1px solid var(--line);
	font-size: 14px; color: var(--graphite);
}
.amx-yarn .wp-block-list li, .amx-specs li { display: flex; gap: 10px; padding: 4px 0; }
.amx-yarn .wp-block-list strong, .amx-specs strong { flex: 0 0 92px; font-weight: 500; color: var(--ink); letter-spacing: .04em; }
@media (max-width: 1080px) { .amx-yarns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amx-yarns { grid-template-columns: 1fr; } }

/* People */
.amx-people { gap: 0 !important; border-top: 1px solid var(--line); }
.amx-people > .wp-block-column { padding: 30px 28px 34px 0; border-bottom: 1px solid var(--line); }
.amx-people > .wp-block-column + .wp-block-column { padding-left: 28px; border-left: 1px solid var(--line); }
.amx-people .amx-eyebrow { font-size: 11px; margin-bottom: 14px; }
.amx-people h3 { margin-bottom: 8px; }
.amx-people p:not(.amx-eyebrow) { margin: 0; font-size: 15.5px; }
.amx-people a { text-decoration: none; color: var(--red-ink); }
@media (max-width: 860px) { .amx-people > .wp-block-column + .wp-block-column { padding-left: 0; border-left: 0; } }

/* CTA band */
.amx-cta { position: relative; overflow: hidden; text-align: center; }
.amx-cta > * { max-width: 900px; }
.amx-cta h2 { color: #fff; margin-left: auto; margin-right: auto; }
.amx-cta p:not(.amx-eyebrow) { max-width: 580px; margin-left: auto; margin-right: auto; }
.amx-cta .amx-eyebrow { justify-content: center; }
.amx-cta .wp-block-buttons { justify-content: center; }
.amx-cta::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background: repeating-linear-gradient(-8deg, transparent 0 22px, rgba(255, 255, 255, .035) 22px 23px);
}

/* Fibre marquee */
.amx-marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.amx-marquee__track { display: flex; width: max-content; animation: amx-marquee 48s linear infinite; }
.amx-marquee:hover .amx-marquee__track { animation-play-state: paused; }
.amx-marquee__row { display: flex; align-items: center; }
.amx-marquee span { padding: 0 34px; white-space: nowrap; color: var(--ink); font: 300 clamp(26px, 3vw, 44px)/1 var(--f-sans); letter-spacing: -.01em; }
.amx-marquee span:nth-child(4n + 3) { font-family: var(--f-serif); font-style: italic; }
.amx-marquee i { width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
@keyframes amx-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .amx-marquee__track { animation: none; flex-wrap: wrap; } }
.amx-content > .amx-marquee { max-width: none; padding-left: 0; padding-right: 0; margin: 0; }

/* Contact page */
.amx-details { display: grid; gap: 30px; margin: 0; }
.amx-details > div { padding-top: 22px; border-top: 1px solid var(--line); }
.amx-details dt { margin-bottom: 8px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.amx-details dd { margin: 0; font-size: 17px; }
.amx-details a { text-decoration: none; }
.amx-details a:hover { text-decoration: underline; }
.amx-map { position: relative; width: 100%; height: clamp(360px, 38vw, 560px); background: var(--stone); filter: grayscale(1) contrast(1.05); transition: filter .6s; }
.amx-map:hover { filter: none; }
.amx-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.amx-content > .amx-map { max-width: none; padding: 0; margin: 0; }

/* Forms */
.amx-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.amx-form__grid p { margin: 0 0 22px; }
.amx-form__grid .is-wide { grid-column: 1 / -1; }
.amx-form label { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.amx-form input[type="text"], .amx-form input[type="email"], .amx-form input[type="tel"], .amx-form select, .amx-form textarea {
	width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--silver); border-radius: 0;
	background: transparent; color: var(--ink); font: 400 17px/1.4 var(--f-sans);
	transition: border-color .25s;
}
.amx-form select { appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2316171a'/%3E%3C/svg%3E") no-repeat right 4px center / 10px 6px; padding-right: 24px; }
.amx-form textarea { resize: vertical; min-height: 120px; }
.amx-form input:focus, .amx-form select:focus, .amx-form textarea:focus { outline: 0; border-color: var(--ink); }
.amx-form ::placeholder { color: var(--silver); }
.amx-form__consent label { display: flex; gap: 12px; align-items: flex-start; text-transform: none; letter-spacing: 0; font-size: 14px; font-weight: 400; color: var(--graphite); }
.amx-form__consent input { margin-top: 4px; accent-color: var(--ink); }
.amx-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.amx-form .wp-block-button { margin-top: 6px; }
.amx-form__notice { padding: 16px 20px; margin-bottom: 28px; font-size: 15px; }
.amx-form__notice.is-success { background: #eef3ec; color: #24452a; }
.amx-form__notice.is-error { background: #f9ecea; color: var(--red-ink); }
@media (max-width: 600px) { .amx-form__grid { grid-template-columns: 1fr; } }

.amx-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translateX(-50%);
	padding: 16px 24px; background: var(--ink); color: #fff; font-size: 15px;
	box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); animation: amx-rise .5s var(--ease);
}
.amx-toast.is-error { background: var(--red-ink); }

/* --------------------------------------------------------------------------
   News cards
   -------------------------------------------------------------------------- */
.amx-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.amx-cards--4 { grid-template-columns: repeat(4, 1fr); }
.amx-cards--2 { grid-template-columns: repeat(2, 1fr); }
.amx-card { display: flex; flex-direction: column; }
.amx-card[hidden] { display: none; }
.amx-card__media { display: block; overflow: hidden; margin-bottom: 22px; background: var(--stone); }
.amx-card__media img, .amx-card__ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.2s var(--ease); }
.amx-card:hover .amx-card__media img, .amx-card:hover .amx-card__ph { transform: scale(1.05); }
.amx-card__ph {
	display: block;
	background:
		radial-gradient(circle at 50% 46%, rgba(213, 43, 30, .9) 0 5px, transparent 6px),
		repeating-linear-gradient(-12deg, transparent 0 13px, rgba(22, 23, 26, .07) 13px 14px),
		var(--stone);
}
.amx-card__cat { margin: 0 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--red-ink); }
.amx-card__title { margin: 0 0 12px; font-size: clamp(20px, 1.7vw, 24px); }
.amx-card__title a { text-decoration: none; }
.amx-card__title a::after { content: ""; position: absolute; inset: 0; }
.amx-card { position: relative; }
.amx-card__date { margin: 0 0 18px; font-size: 13px; color: var(--muted); }
.amx-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.amx-card:hover .amx-card__more { color: var(--red-ink); }
.amx-card:hover .amx-card__more .amx-arrow { transform: translateX(4px); }
@media (max-width: 1080px) { .amx-cards, .amx-cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .amx-cards, .amx-cards--4, .amx-cards--2 { grid-template-columns: 1fr; } }

.amx-filters { display: flex; flex-wrap: wrap; gap: 8px 30px; margin: 0 0 48px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.amx-filters button {
	padding: 6px 0; border: 0; background: none; cursor: pointer; color: var(--muted);
	font: 500 12px/1 var(--f-sans); letter-spacing: .2em; text-transform: uppercase;
	border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.amx-filters button:hover { color: var(--ink); }
.amx-filters button.is-active { color: var(--ink); border-color: var(--red); }

.amx-featured, .amx-newsgrid, .amx-results {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter);
}
.amx-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-bottom: clamp(70px, 9vw, 130px); }
.amx-featured__media { display: block; overflow: hidden; background: var(--stone); }
.amx-featured__media img, .amx-featured__media .amx-card__ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.amx-featured h2 { font-size: clamp(30px, 3.4vw, 48px); }
.amx-featured h2 a { text-decoration: none; }
.amx-newsgrid { padding-bottom: var(--section); }
.amx-results { padding-bottom: var(--section); }
.amx-results ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.amx-results li { padding: 30px 0; border-bottom: 1px solid var(--line); }
.amx-results h2 { font-size: 28px; margin-bottom: 10px; }
.amx-results h2 a { text-decoration: none; }
.amx-empty { color: var(--muted); }
@media (max-width: 860px) { .amx-featured { grid-template-columns: 1fr; } }

.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 64px; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; text-decoration: none; border: 1px solid var(--line); font-size: 14px; }
.nav-links .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }

.amx-article__hero { max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto clamp(50px, 6vw, 90px); padding: 0 var(--gutter); }
.amx-article__hero img { width: 100%; max-height: 80vh; object-fit: cover; }
.amx-article__nav {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: var(--section) auto; padding: 0 var(--gutter);
	display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.amx-article__nav a { display: block; padding-top: 24px; border-top: 1px solid var(--line); text-decoration: none; font-size: 20px; color: var(--ink); }
.amx-article__nav a span { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.amx-article__nav .is-next { grid-column: 2; text-align: right; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.amx-footer { background: var(--ink); color: rgba(255, 255, 255, .66); font-size: 15px; }
.amx-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.amx-footer a:hover { color: #fff; text-decoration: underline; }
.amx-footer__top {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
	padding: clamp(64px, 8vw, 110px) var(--gutter) clamp(48px, 6vw, 80px);
	display: grid; grid-template-columns: 1.25fr 2fr 1fr; gap: clamp(36px, 5vw, 80px);
}
.amx-footer__brand .amx-logo { color: #fff; margin-bottom: 26px; }
.amx-footer__brand .amx-logo-mark { height: 76px; }
.amx-footer__brand p { max-width: 320px; }
.amx-footer__cols, .amx-footer__cols ul { list-style: none; margin: 0; padding: 0; }
.amx-footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.amx-footer__cols > li > a, .amx-footer__heading {
	display: block; margin: 0 0 18px;
	font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #fff;
}
.amx-footer__cols > li > a[href="#"] { pointer-events: none; }
.amx-footer__cols .sub-menu li { margin-bottom: 10px; }
.amx-footer__contact p { margin: 0 0 16px; }
.amx-footer__hours { color: rgba(255, 255, 255, .5); font-size: 14px; }
.amx-social { display: flex; gap: 8px; margin-top: 26px; }
.amx-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .24); border-radius: 50%; transition: background .3s, border-color .3s; }
.amx-social a:hover { background: #fff; border-color: #fff; }
.amx-social svg { width: 17px; height: 17px; fill: #fff; }
.amx-social a:hover svg { fill: var(--ink); }
.amx-footer__bottom {
	max-width: calc(var(--wide) + 2 * var(--gutter)); margin: 0 auto;
	padding: 26px var(--gutter) 34px; border-top: 1px solid rgba(255, 255, 255, .12);
	display: flex; flex-wrap: wrap; gap: 14px 34px; align-items: center;
	font-size: 13px; color: rgba(255, 255, 255, .5);
}
.amx-footer__bottom p { margin: 0; }
.amx-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; margin: 0; padding: 0; }
.amx-footer__legal a { color: rgba(255, 255, 255, .6); }
.amx-footer__made { margin-left: auto !important; display: flex; align-items: center; gap: 10px; }
.amx-footer__made svg { width: 16px; height: 16px; }
@media (max-width: 1080px) {
	.amx-footer__top { grid-template-columns: 1fr 1fr; }
	.amx-footer__nav { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 600px) {
	.amx-footer__top { grid-template-columns: 1fr; }
	.amx-footer__nav { grid-row: auto; }
	.amx-footer__cols { grid-template-columns: 1fr 1fr; }
	.amx-footer__made { margin-left: 0 !important; }
}

/* --------------------------------------------------------------------------
   Scroll reveal (classes added by JS, so content is visible without it)
   -------------------------------------------------------------------------- */
.amx-js .amx-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s ease, transform 1.2s var(--ease); }
.amx-js .amx-reveal.is-in { opacity: 1; transform: none; }
.amx-js .amx-reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); }
.amx-js .amx-reveal-img.is-in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
	.amx-js .amx-reveal, .amx-js .amx-reveal-img { opacity: 1; transform: none; clip-path: none; transition: none; }
	.amx-slide .wp-block-cover__image-background, .amx-pagehero .wp-block-cover__image-background { transform: none !important; transition: none; animation: none; }
}

/* WordPress core odds and ends */
.alignleft { float: left; margin: .3em 2em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 2em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 3em auto; }
.wp-block-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table td, .wp-block-table th { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.wp-block-table th { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); font-weight: 500; }
.has-ink-color { color: var(--ink); } .has-ink-background-color { background-color: var(--ink); }
.has-ecru-background-color { background-color: var(--ecru); } .has-stone-background-color { background-color: var(--stone); }
.has-white-color { color: #fff; } .has-maple-color { color: var(--red); }

@media (max-width: 360px) {
	.amx-logo { gap: 10px; }
	.amx-logo-mark { height: 40px; }
	.amx-logo__name { font-size: 13px; letter-spacing: .18em; }
}

/* --------------------------------------------------------------------------
   Certifications — logo + text rows (Columns .amx-cert inside .amx-certs)
   -------------------------------------------------------------------------- */
.amx-certs { border-top: 1px solid var(--line); }
.amx-cert { align-items: center; gap: clamp(28px, 5vw, 96px) !important; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.amx-cert > .amx-cert__logo { flex: 0 0 clamp(200px, 26%, 340px); }
.amx-cert__logo .wp-block-image { margin: 0; padding: clamp(18px, 2.4vw, 32px); background: var(--paper); border: 1px solid var(--line); }
.is-style-ecru .amx-cert__logo .wp-block-image { border-color: transparent; }
.amx-cert__logo img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; }
.amx-cert__body { max-width: 720px; }
.amx-cert__body .amx-eyebrow { font-size: 11px; margin-bottom: 14px; }
.amx-cert__body h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 300; margin-bottom: 14px; }
.amx-cert__body h3 em { color: var(--muted); }
.amx-cert__body p { margin-bottom: 0; }
.amx-cert__body .wp-block-buttons { margin-top: 22px; }
@media (max-width: 860px) {
	.amx-cert { flex-direction: column; align-items: stretch; }
	.amx-cert > .amx-cert__logo { flex: none; max-width: 300px; }
}

/* Home — certification logo strip */
.amx-logos-band { text-align: center; padding-top: clamp(56px, 7vw, 110px) !important; padding-bottom: clamp(56px, 7vw, 110px) !important; }
.amx-logos-band .amx-eyebrow { justify-content: center; }
.amx-logos { gap: clamp(16px, 3vw, 48px) !important; align-items: center; margin: 36px auto 0 !important; }
.amx-logos .wp-block-image { margin: 0; }
.amx-logos img { width: 100%; aspect-ratio: 2 / 1; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.amx-logos a:hover img, .amx-logos a:focus-visible img { filter: none; opacity: 1; }
.amx-logos-band .wp-block-buttons { justify-content: center; }
@media (max-width: 860px) {
	.amx-logos { flex-direction: row !important; flex-wrap: wrap; justify-content: center; }
	.amx-logos > .wp-block-column { flex: 0 0 calc(33.333% - 24px); }
}
@media (max-width: 600px) { .amx-logos > .wp-block-column { flex: 0 0 calc(50% - 16px); } }

/* Two plain white sections in a row share one gap instead of doubling it. */
.amx-content > .amx-section:not([class*="is-style-"]) + .amx-section:not([class*="is-style-"]):not(.amx-logos-band) { padding-top: 0 !important; }

/* --------------------------------------------------------------------------
   Fibre-origins globe ([amtex_globe]) — designed for the Ink section style
   -------------------------------------------------------------------------- */
.amx-globe {
	--globe-dot: 255, 255, 255;
	--globe-accent: #e0392b;
	--globe-text: #ffffff;
	--globe-rim: rgba(255, 255, 255, .16);
	--globe-marker: #f5f2ec;
	display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: clamp(28px, 5vw, 90px); align-items: center;
}
.amx-globe__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.amx-globe__list > li { border-bottom: 1px solid rgba(255, 255, 255, .16); }
.amx-globe__list button, .amx-globe__home {
	display: grid; grid-template-columns: 1fr;
	width: 100%; padding: 16px 0; border: 0; background: none; text-align: left; color: #fff; cursor: pointer;
	font: inherit;
}
.amx-globe__name { font-size: 19px; font-weight: 400; line-height: 1.3; transition: color .3s, transform .4s var(--ease); }
.amx-globe__place { margin-top: 3px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.amx-globe__list button:hover .amx-globe__name, .amx-globe__list .is-active .amx-globe__name { transform: translateX(4px); }
.amx-globe__list .is-active .amx-globe__place { color: rgba(255, 255, 255, .8); }
.amx-globe__panel p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); animation: amx-rise .5s var(--ease); }
.amx-globe__home { cursor: default; }
/* Red dot matching the globe's home marker. */
.amx-globe__home .amx-globe__name { display: flex; align-items: center; gap: 12px; }
.amx-globe__home .amx-globe__name::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--globe-accent); box-shadow: 0 0 0 3px var(--ink), 0 0 0 4.5px var(--globe-marker); }
.amx-globe__stage { position: relative; max-width: 720px; width: 100%; margin: 0 auto; }
.amx-globe__stage canvas { display: block; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; opacity: 0; transition: opacity 1s; }
.amx-globe.is-ready canvas { opacity: 1; }
.amx-globe.is-dragging canvas { cursor: grabbing; }
.amx-globe__hint { position: absolute; left: 0; right: 0; bottom: 4%; margin: 0; text-align: center; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .4); pointer-events: none; }
@media (max-width: 960px) {
	.amx-globe { grid-template-columns: 1fr; }
	.amx-globe__stage { order: -1; max-width: 560px; }
}
.amx-globe-band .amx-heading { margin-bottom: clamp(36px, 5vw, 70px); }
