/* ==========================================================================
   AYBORA GLOBAL — editorial art direction
   Everything below the hero. "Woven structures": the page is built from
   thread, weave drafts, registration marks and tech-pack drawing conventions.
   Colors and families come from the tokens in style.css; nothing here invents
   a new brand value.
   Loaded after style.css. One easing: --ag-ease-rev.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Editorial type scale
   Jost carries the page. Source Serif 4 italic is the only accent face and is
   applied to a single word inside a headline (.ag-it). Numerals are tabular.
   -------------------------------------------------------------------------- */
body .elementor .ag-sec .elementor-widget-heading .elementor-heading-title {
	margin: 0;
	text-wrap: balance;
}
body .elementor .ag-sec .elementor-widget-text-editor p {
	margin: 0 0 .9em;
	text-wrap: pretty;
}
body .elementor .ag-sec .elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.ag-t-display {
	font-size: clamp(2.7rem, 6vw, 5.8rem) !important;
	line-height: .94 !important;
	letter-spacing: -.035em !important;
	font-weight: 500;
}
.ag-t-h2 {
	font-size: clamp(2.1rem, 3.6vw, 3.4rem) !important;
	line-height: 1 !important;
	letter-spacing: -.028em !important;
	font-weight: 500;
}
.ag-t-h3 {
	font-size: clamp(1.4rem, 2.1vw, 1.95rem) !important;
	line-height: 1.14 !important;
	letter-spacing: -.02em !important;
	font-weight: 500;
}
.ag-t-lead {
	font-size: clamp(1.05rem, 1.35vw, 1.28rem) !important;
	line-height: 1.5 !important;
	letter-spacing: -.008em !important;
}
.ag-t-body  { font-size: 1.0625rem !important; line-height: 1.62 !important; }
.ag-t-small { font-size: .8125rem !important; line-height: 1.5 !important; }
.ag-t-index {
	font-size: .75rem !important;
	line-height: 1 !important;
	letter-spacing: .24em !important;
	text-transform: uppercase;
	font-weight: 500;
	font-variant-numeric: tabular-nums;
}
.ag-t-num {
	font-variant-numeric: tabular-nums lining-nums;
	font-feature-settings: "tnum" 1, "lnum" 1;
}

/* The serif italic accent, used sparingly — one word per headline at most. */
.ag-it {
	font-family: var(--ag-serif) !important;
	font-style: italic;
	font-weight: 400;
	letter-spacing: -.01em;
	padding-right: .06em;   /* keep the italic from clipping */
}

/* Outline numerals: stroke only, no fill, tabular. */
.ag-num-out {
	color: transparent !important;
	-webkit-text-stroke: 1px rgba(184, 151, 90, .62);
	text-stroke: 1px rgba(184, 151, 90, .62);
	font-weight: 500 !important;
	font-size: clamp(4.5rem, 10vw, 10rem) !important;
	line-height: .8 !important;
	letter-spacing: -.02em !important;
	font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   1. Section scaffolding
   Every section below the hero is full-bleed with a .ag-wrap inside, so the
   art can bleed past the measure while the text stays on the 12-col grid.
   -------------------------------------------------------------------------- */
body .elementor .ag-sec {
	position: relative;
	isolation: isolate;
	padding-block: clamp(88px, 8.5vw, 156px);
	padding-inline: 0;
	overflow: clip;
}
body .elementor .ag-sec--flush { padding-block: 0; }

body .elementor .e-con.ag-wrap {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1320px;
	margin-inline: auto;
	padding-inline: var(--ag-edge);
}

/* Registration marks at the corners of the measure. */
.ag-wrap::before {
	content: "";
	position: absolute;
	inset: -20px var(--ag-edge);
	z-index: 3;
	pointer-events: none;
	background:
		url("../art/mark-tl.svg") left top / 15px 15px no-repeat,
		url("../art/mark-tr.svg") right top / 15px 15px no-repeat,
		url("../art/mark-bl.svg") left bottom / 15px 15px no-repeat,
		url("../art/mark-br.svg") right bottom / 15px 15px no-repeat;
	opacity: .45;
	filter: invert(70%) sepia(20%) saturate(620%) hue-rotate(3deg) brightness(95%);
}
.ag-sec--dark .ag-wrap::before {
	filter: invert(94%) sepia(9%) saturate(420%) brightness(104%);
	opacity: .34;
}

/* Faint 12-column guide. Sits behind the content, stops at the eyebrow. */
.ag-sec::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0;
	bottom: 0;
	left: max(var(--ag-edge), calc((100% - 1320px) / 2 + var(--ag-edge)));
	right: max(var(--ag-edge), calc((100% - 1320px) / 2 + var(--ag-edge)));
	pointer-events: none;
	background-image: repeating-linear-gradient(
		to right,
		var(--ag-grid-line) 0 1px,
		transparent 1px 100%
	);
	background-size: calc(100% / var(--ag-cols)) 100%;
	opacity: .9;
}
.ag-sec--dark::after { --ag-grid-line: rgba(237, 230, 218, .07); }
.ag-sec--nogrid::after { display: none; }

/* Film grain on dark fields only: large flats stop reading as flat screen. */
.ag-sec--dark::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background-image: url("../art/grain.svg");
	background-size: 240px 240px;
	opacity: .05;
	mix-blend-mode: overlay;
}

/* Decorative SVG wrapper emitted by [aybora_art]. */
.ag-art { display: block; }
.ag-art svg { display: block; width: 100%; height: auto; }

/* The section index line: "03 / Service index". A technical label, not a kicker. */
.ag-sec__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--ag-hair);
	margin-bottom: clamp(40px, 4vw, 72px);
}
.ag-index {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ag-gold-deep);
}
.ag-sec--dark .ag-index { color: var(--ag-gold); }
.ag-index::before {
	content: "";
	width: 34px;
	height: 1px;
	background: currentColor;
	opacity: .55;
}
.ag-index__note { color: var(--ag-mist); letter-spacing: .02em; }

/* Hairlines used as structure inside a section. */
.ag-rule { height: 1px; background: var(--ag-hair); border: 0; margin: 0; }
.ag-sec--dark .ag-rule { background: var(--ag-hair-dark); }

.ag-measure-sm { max-width: 46ch; }
body .elementor .ag-measure-sm { max-width: 46ch !important; }
.ag-measure-md { max-width: 58ch; }

/* --------------------------------------------------------------------------
   2. Marquee — outline text, a continuous thread of words
   -------------------------------------------------------------------------- */
body .elementor .ag-mq {
	padding-block: 0;
	border-top: 1px solid var(--ag-hair-dark);
	border-bottom: 1px solid var(--ag-hair-dark);
	overflow: clip;
}
body .elementor .e-con.ag-mq__track {
	position: relative;
	z-index: 1;
	display: flex;
	width: max-content;
	will-change: transform;
	animation: ag-marquee 46s linear infinite;
}
.ag-mq__track > .elementor-element { flex: 0 0 auto; }
.ag-mq__item { padding: 22px 0; white-space: nowrap; }
body .elementor .ag-sec.ag-mq .elementor-heading-title {
	font-size: clamp(1.6rem, 3.4vw, 2.9rem) !important;
	line-height: 1 !important;
	letter-spacing: .04em !important;
	font-weight: 500;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px rgba(184, 151, 90, .55);
}
.ag-mq__dot {
	display: inline-block;
	width: 5px;
	height: 5px;
	margin-inline: .3em;
	background: var(--ag-gold);
	border-radius: 50%;
	vertical-align: middle;
	opacity: .9;
}
@keyframes ag-marquee {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

/* --------------------------------------------------------------------------
   3. Supply chain — pinned stage (class: ag-pin)
   Left: the station that is currently lit. Right: the route map.
   -------------------------------------------------------------------------- */
body .elementor .e-con.ag-pin {
	position: relative;
	height: auto;
	padding: 0;
	overflow: visible;
}
/* The stage used to be sticky inside a 320vh pin, with the scroll driving the
   four stations. It now runs itself, so it only needs to hold one screen. */
body .elementor .e-con.ag-pin__stage {
	position: relative;
	top: auto;
	z-index: 2;
	height: auto;
	min-height: min(100svh, 940px);
	display: grid;
	grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
	gap: clamp(24px, 4vw, 72px);
	align-items: center;
	padding-block: clamp(88px, 11vh, 148px);
	padding-inline: var(--ag-edge);
	max-width: 1320px;
	margin-inline: auto;
	box-sizing: border-box;
}
body .elementor .e-con.ag-pin__left {
	position: relative;
	display: grid;
	grid-template-columns: 1px minmax(0, 1fr);
	gap: 28px;
	align-items: stretch;
}
body .elementor .e-con.ag-pin__body { min-width: 0; }
/* Progress rail: a single gold hairline that fills as the chain advances. The
   fill is written by JS as --ag-p (station index / last index), so it moves in
   one smooth step per station rather than following the scroll. */
body .elementor .e-con.ag-pin__rail {
	position: relative;
	width: 1px;
	align-self: stretch;
	background: var(--ag-hair-dark);
}
.ag-pin__rail::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ag-gold);
	transform: scaleY(var(--ag-p, 0));
	transform-origin: top center;
	transition: transform .95s var(--ag-ease-rev);
}
body .elementor .e-con.ag-stations {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-content: center;
}

.ag-station {
	grid-area: 1 / 1;
	align-self: center;
	opacity: 0;
	visibility: hidden;
	transform: translate3d(0, 14px, 0);
	transition: opacity .7s var(--ag-ease-rev), transform .9s var(--ag-ease-rev), visibility 0s linear .7s;
}
.ag-station.is-on {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity .7s var(--ag-ease-rev), transform .9s var(--ag-ease-rev), visibility 0s;
}
body .elementor .ag-station .elementor-heading-title { text-align: left; }
.ag-station__num { margin-bottom: 18px !important; }
.ag-station__name { margin-bottom: 14px !important; }
.ag-station__body { max-width: 34ch; }

body .elementor .e-con.ag-pin__map {
	position: relative;
	width: 100%;
	align-self: center;
}
.ag-pin__map svg {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}
/* the route: dotted structure stays, one gold thread draws itself */
.ag-route__thread {
	stroke-dasharray: var(--ag-len, 2000);
	stroke-dashoffset: calc(var(--ag-len, 2000) * (1 - var(--ag-p, 0)));
}
.ag-route__st { opacity: .38; transition: opacity .6s var(--ag-ease-rev); }
.ag-route__st.is-on { opacity: 1; }
.ag-route__st--main.is-on circle:first-child {
	stroke-width: 1.6;
}

/* --------------------------------------------------------------------------
   The supply-chain rail
   Replaces the old rising route curve. One straight thread across the column,
   four knots in it (one per station), a gold shuttle that travels to the knot
   of the station on screen, and an arrowhead at the far end that says the
   thread keeps going. Everything is driven by --ag-p and .is-on, which
   assets/js/main.js sets on its own every few seconds.
   -------------------------------------------------------------------------- */
body .elementor .ag-pin__map .ag-art--rail { width: 100%; }

.ag-rail {
	position: relative;
	width: 100%;
	height: clamp(130px, 22vh, 210px);
}

/* A narrow band of plain weave behind the thread: the textile stays present
   without competing with the copy on the left. */
.ag-rail__band {
	position: absolute;
	inset: 0;
	background-color: var(--ag-gold);
	-webkit-mask-image: url("../art/weave-plain.svg");
	mask-image: url("../art/weave-plain.svg");
	-webkit-mask-size: 46px 46px;
	mask-size: 46px 46px;
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	opacity: .07;
	pointer-events: none;
}

.ag-rail__track {
	position: absolute;
	left: 0;
	right: 34px;
	top: 50%;
	height: 1px;
	background: var(--ag-hair-dark);
}

.ag-rail__fill {
	position: absolute;
	inset: 0;
	background: var(--ag-gold);
	transform: scaleX(var(--ag-p, 0));
	transform-origin: left center;
	transition: transform .95s var(--ag-ease-rev);
}

/* One knot per station, on the thread, with the place it stands for below it. */
.ag-rail__node {
	position: absolute;
	top: 50%;
	left: calc(var(--n, 0) / 3 * 100%);
	width: 9px;
	height: 9px;
	border: 1px solid rgba(184, 151, 90, .5);
	border-radius: 50%;
	background: var(--ag-dark);
	transform: translate(-50%, -50%);
	transition: background-color .6s var(--ag-ease-rev), border-color .6s var(--ag-ease-rev);
	color: var(--ag-mist);
}
.ag-rail__node.is-on {
	background: var(--ag-gold);
	border-color: var(--ag-gold);
}
/* a 1px fall from the knot down to its caption */
.ag-rail__node::after {
	content: "";
	position: absolute;
	top: 8px;
	left: 50%;
	width: 1px;
	height: 12px;
	margin-left: -.5px;
	background: currentColor;
	opacity: .3;
}

.ag-rail__cap {
	position: absolute;
	top: 26px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	font-size: .6875rem;
	font-weight: 500;
	letter-spacing: .16em;
	line-height: 1;
	text-transform: uppercase;
	color: inherit;
	opacity: .55;
	transition: color .6s var(--ag-ease-rev), opacity .6s var(--ag-ease-rev);
}
.ag-rail__node.is-on .ag-rail__cap {
	color: var(--ag-cream);
	opacity: 1;
}
/* the end captions must not hang off the measure */
.ag-rail__node[data-n="0"] .ag-rail__cap { left: 0; transform: none; }
.ag-rail__node[data-n="3"] .ag-rail__cap { left: auto; right: 0; transform: none; }

/* The shuttle: a small gold diamond riding the thread to the current station. */
.ag-rail__shuttle {
	position: absolute;
	top: 50%;
	left: calc(var(--ag-p, 0) * 100%);
	width: 10px;
	height: 10px;
	background: var(--ag-gold);
	transform: translate(-50%, -50%) rotate(45deg);
	box-shadow: 0 0 0 5px var(--ag-dark);
	transition: left .95s var(--ag-ease-rev);
}

/* The arrowhead: the thread does not stop here, it leaves the frame. */
.ag-rail__arrow {
	position: absolute;
	right: 4px;
	top: 50%;
	width: 8px;
	height: 8px;
	border-top: 1px solid var(--ag-gold);
	border-right: 1px solid var(--ag-gold);
	transform: translateY(-50%) rotate(45deg);
	opacity: .75;
}

@media (max-width: 1024px) {
	.ag-rail { height: 120px; }
}

/* --------------------------------------------------------------------------
   4. Service index — six rows, a different weave draft in each
   -------------------------------------------------------------------------- */
.ag-svc {
	display: block;
	border-top: 1px solid var(--ag-hair);
}
body .elementor .e-con.ag-svc__row {
	position: relative;
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr) 56px;
	gap: clamp(16px, 3vw, 48px);
	align-items: start;
	padding-block: clamp(26px, 3vw, 40px);
	padding-inline: 0;
	border-bottom: 1px solid var(--ag-hair);
	overflow: hidden;
	transition: padding .5s var(--ag-ease-rev);
}
@media (hover: hover) {
	body .elementor .e-con.ag-svc__row:hover { padding-left: 16px; }
}
.ag-svc__idx {
	color: var(--ag-gold-deep);
	padding-top: .45em;
}
/* The tool that belongs to the service — a monoline SVG painted by mask.
   One 24px grid, 1.25px stroke, gold; no icon font anywhere. */
body .elementor .e-con.ag-svc__meta { align-items: flex-start; gap: 18px; }
body .elementor .e-con.ag-ic {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
	background-color: var(--ag-gold-deep);
	-webkit-mask-image: var(--ic);
	mask-image: var(--ic);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	opacity: .8;
	transition: opacity .5s var(--ag-ease-rev), transform .6s var(--ag-ease-rev);
}
.ag-svc__row:hover .ag-ic { opacity: 1; transform: translateY(-2px); }
.ag-ic--spool     { --ic: url("../art/icon-spool.svg"); }
.ag-ic--shuttle   { --ic: url("../art/icon-shuttle.svg"); }
.ag-ic--needle    { --ic: url("../art/icon-needle.svg"); }
.ag-ic--container { --ic: url("../art/icon-container.svg"); }
.ag-ic--loupe     { --ic: url("../art/icon-loupe.svg"); }
.ag-ic--nodes     { --ic: url("../art/icon-nodes.svg"); }
.ag-svc__row .elementor-widget-heading .elementor-heading-title { text-align: left; }
body .elementor .e-con.ag-svc__main { display: grid; gap: 0; }
.ag-svc__title { margin-bottom: 12px !important; }
.ag-svc__desc { max-width: 62ch; }
.ag-svc__draft {
	margin-top: 16px !important;
	color: var(--ag-gold-deep) !important;
	opacity: .75;
}

/* The weave draft for this row, as an alpha mask painted with the brand gold.
   Revealed on view and again, denser, on hover; the threads shift position. */
.ag-svc__row::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0 !important;
	bottom: 0;
	left: auto !important;
	width: min(52%, 620px);
	background-color: var(--ag-gold);
	-webkit-mask-image: var(--pat, none);
	mask-image: var(--pat, none);
	-webkit-mask-size: 48px 48px;
	mask-size: 48px 48px;
	-webkit-mask-repeat: repeat;
	mask-repeat: repeat;
	-webkit-mask-position: 0 0;
	mask-position: 0 0;
	opacity: 0;
	transition: opacity 1s var(--ag-ease-rev), -webkit-mask-position 3s linear, mask-position 3s linear;
	pointer-events: none;
	z-index: 0;
}
.ag-svc__row.is-in::before {
	opacity: .2;
	-webkit-mask-position: 0 -96px;
	mask-position: 0 -96px;
}
@media (hover: hover) {
	.ag-svc__row:hover::before {
		opacity: .34;
		-webkit-mask-position: -96px 0;
		mask-position: -96px 0;
	}
}
/* the draft fades into the page instead of ending on a hard edge */
.ag-svc__row::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 48%;
	width: 150px;
	background: linear-gradient(to right, var(--ag-paper) 0%, rgba(247, 244, 238, 0) 100%);
	pointer-events: none;
	z-index: 0;
}
.ag-svc__row > .elementor-element { position: relative; z-index: 1; }

/* the six drafts */
.ag-svc__row--plain      { --pat: url("../art/weave-plain.svg"); }
.ag-svc__row--twill      { --pat: url("../art/weave-twill.svg"); }
.ag-svc__row--satin      { --pat: url("../art/weave-satin.svg"); }
.ag-svc__row--herringbone{ --pat: url("../art/weave-herringbone.svg"); }
.ag-svc__row--rib        { --pat: url("../art/weave-rib.svg"); }
.ag-svc__row--jacquard   { --pat: url("../art/weave-jacquard.svg"); }

/* Arrow: drawn with hairlines, no icon font. */
.ag-svc__arrow {
	position: relative;
	width: 34px;
	height: 34px;
	justify-self: end;
	align-self: center;
}
.ag-svc__arrow::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 1px;
	background: currentColor;
	transform-origin: left center;
	transition: transform .5s var(--ag-ease-rev);
}
.ag-svc__arrow::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 1px;
	width: 9px;
	height: 9px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
	transition: transform .5s var(--ag-ease-rev);
}
.ag-svc__row:hover .ag-svc__arrow::before { transform: scaleX(.62); }
.ag-svc__row:hover .ag-svc__arrow::after  { transform: translateY(-50%) rotate(45deg) translate(3px, -3px); }

/* --------------------------------------------------------------------------
   5. Partner statement — words scrubbed from 15 % to full
   -------------------------------------------------------------------------- */
body .elementor .ag-partner {
	min-height: 100vh;
	display: grid;
	place-items: center;
	overflow: clip;
}
body .elementor .e-con.ag-partner__mono {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
}
.ag-partner__mono-text { width: 100%; }
body .elementor .ag-partner__mono-text .elementor-heading-title {
	font-family: var(--ag-font) !important;
	font-weight: 600 !important;
	font-size: clamp(16rem, 44vw, 44rem) !important;
	line-height: .7 !important;
	letter-spacing: -.06em !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px rgba(237, 230, 218, .12);
	text-stroke: 1px rgba(237, 230, 218, .12);
	transform: translate3d(0, 8%, 0);
	white-space: nowrap;
	text-align: center;
}
.ag-partner__statement {
	position: relative;
	z-index: 1;
	max-width: 17ch;
	margin-inline: calc(100% / 12) 0;
}
.ag-partner__statement .elementor-heading-title {
	text-wrap: balance;
}
.ag-w { opacity: .15; transition: opacity .1s linear; }
.ag-partner.is-static .ag-w,
.ag-partner.is-done .ag-w { opacity: 1; }

/* --------------------------------------------------------------------------
   6. Network — three nodes on one thread
   -------------------------------------------------------------------------- */
body .elementor .e-con.ag-net__flow {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1.25fr 1fr;
	align-items: stretch;
	border-top: 1px solid var(--ag-hair);
	border-bottom: 1px solid var(--ag-hair);
}
/* The thread running along the base of the route.
   This is an Elementor container, and `.e-con { position: var(--position) }`
   loads after this file at the same specificity — so a plain `.ag-net__thread`
   lost, the thread stayed `relative`, and it sat in the grid as a fourth item:
   it took column one, pushed the three nodes along by one, and wrapped
   "Deliver" onto a second row. Hence the container-weight selector. */
body .elementor .e-con.ag-net__thread {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1px;
	background-image: linear-gradient(to right, var(--ag-gold) 0 10px, transparent 10px 22px);
	background-size: 22px 1px;
	background-repeat: repeat-x;
	opacity: .5;
	animation: ag-thread 2.6s linear infinite;
	pointer-events: none;
}
@keyframes ag-thread { to { background-position: 22px 0; } }

body .elementor .e-con.ag-net__node {
	position: relative;
	padding: 44px clamp(16px, 2.4vw, 34px) 36px;
	justify-content: space-between;
	gap: 14px;
	border-left: 1px solid var(--ag-hair);
}
body .elementor .e-con.ag-net__node:first-of-type { border-left: 0; }
body .elementor .e-con.ag-net__node .elementor-heading-title { text-align: left; }
body .elementor .e-con.ag-net__node--main {
	align-items: center;
	padding-block: 64px 52px;
}
body .elementor .e-con.ag-net__node--main .elementor-heading-title { text-align: center; }
body .elementor .e-con.ag-net__node--main > .elementor-element { position: relative; z-index: 2; }

/* slow ring pulse on Egypt — a hairline ring, not a glow */
.ag-net__node--main::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 204px;
	height: 204px;
	margin: -102px 0 0 -102px;
	border: 1px solid rgba(184, 151, 90, .45);
	border-radius: 50%;
	animation: ag-pulse 6.5s var(--ag-ease-rev) infinite;
	pointer-events: none;
	z-index: 1;
}
.ag-net__tag {
	margin-top: clamp(32px, 4vw, 56px) !important;
	max-width: 44ch;
}
@keyframes ag-pulse {
	0%   { transform: scale(.72); opacity: 0; }
	18%  { opacity: .7; }
	100% { transform: scale(1.35); opacity: 0; }
}

/* --------------------------------------------------------------------------
   7. Contact — editorial split, underline form
   -------------------------------------------------------------------------- */
.ag-contact__h { max-width: 16ch; }
.ag-contact__note { max-width: 42ch; }

/* contact details as a hairline-separated index, no icons */
body .elementor .ag-contact__list { border-top: 1px solid var(--ag-hair); }
body .elementor .ag-contact__list .elementor-icon-list-item {
	display: flex;
	align-items: center;
	min-height: 52px;
	margin: 0;
	padding: 14px 0;
	border-bottom: 1px solid var(--ag-hair);
}
body .elementor .ag-contact__list .elementor-icon-list-icon { display: none; }
body .elementor .ag-contact__list .elementor-icon-list-text {
	padding: 0;
	font-variant-numeric: tabular-nums;
}
body .elementor .ag-contact__list a { color: inherit; }

/* The form: underline fields, no boxes, square gold button. */
.ag-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.ag-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ag-form__field--full { grid-column: 1 / -1; }
.ag-form label {
	font-size: .6875rem;
	letter-spacing: .2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--ag-gold-deep);
}
.ag-form input,
.ag-form select,
.ag-form textarea {
	width: 100%;
	font-family: var(--ag-font);
	font-size: 1.0625rem;
	color: var(--ag-dark);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--ag-hair);
	border-radius: 0;
	padding: 4px 0 10px;
	min-height: 34px;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .4s var(--ag-ease-rev), box-shadow .4s var(--ag-ease-rev);
}
.ag-form select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' fill='none' stroke='%237F6438' stroke-width='1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 2px center;
	padding-right: 26px;
}
.ag-form textarea { min-height: 84px; resize: none; }
.ag-form input:focus,
.ag-form select:focus,
.ag-form textarea:focus {
	outline: none;
	border-bottom-color: var(--ag-gold);
	box-shadow: 0 1px 0 0 var(--ag-gold);
}
.ag-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.ag-form .ag-form__submit {
	grid-column: 1 / -1;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	font-family: var(--ag-font);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ag-dark);
	background: var(--ag-gold);
	border: 0;
	border-radius: 0;
	min-height: 54px;
	padding: 0 22px;
	cursor: pointer;
	transition: background-color .4s var(--ag-ease-rev), color .4s var(--ag-ease-rev);
}
.ag-form .ag-form__submit::after {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
	position: relative;
}
.ag-form .ag-form__submit:hover,
.ag-form .ag-form__submit:focus-visible { background: var(--ag-dark); color: var(--ag-cream); }
.ag-form .ag-form__submit:active { transform: translateY(1px); }

.ag-form__notice {
	grid-column: 1 / -1;
	padding: 14px 0;
	border-bottom: 1px solid var(--ag-hair);
	font-size: .9375rem;
}
.ag-form__notice--ok { color: #2F5A2A; }
.ag-form__notice--error { color: #8A2E22; }

/* --------------------------------------------------------------------------
   7b. Contact Form 7 — the same underline form
   The form template in inc/contact-form-7.php already speaks the .ag-form
   classes, so this block only skins what CF7 wraps around them: the field
   wrapper spans, the validation tips, the submit <input> (which cannot carry
   the decorative ::after line the native form uses) and the response line.
   -------------------------------------------------------------------------- */
.ag-form-cf7 .wpcf7,
.ag-form-cf7 .wpcf7-form { margin: 0; }
.ag-form-cf7 .ag-form p { margin: 0; }
.ag-form-cf7 .ag-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.ag-form-cf7 .ag-form__submit-row { grid-column: 1 / -1; margin: 0; }
/* CF7 wraps its hidden fields in a <fieldset>, which the browser frames. */
.ag-form-cf7 .hidden-fields-container { display: contents; border: 0; padding: 0; margin: 0; min-width: 0; }

.ag-form-cf7 .wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	font-size: .8125rem;
	line-height: 1.4;
	color: #8A2E22;
}

.ag-form-cf7 .ag-form input.ag-form__submit {
	display: inline-block;
	width: auto;
	min-height: 54px;
	padding: 0 58px 0 22px;
	border: 0;
	border-radius: 0;
	font-family: var(--ag-font);
	font-size: .875rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ag-dark);
	background-color: var(--ag-gold);
	background-image: linear-gradient(var(--ag-dark), var(--ag-dark));
	background-repeat: no-repeat;
	background-position: right 22px center;
	background-size: 22px 1px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .4s var(--ag-ease-rev), color .4s var(--ag-ease-rev);
}
.ag-form-cf7 .ag-form input.ag-form__submit:hover,
.ag-form-cf7 .ag-form input.ag-form__submit:focus-visible {
	color: var(--ag-cream);
	background-color: var(--ag-dark);
	background-image: linear-gradient(var(--ag-cream), var(--ag-cream));
}
.ag-form-cf7 .wpcf7-form.submitting input.ag-form__submit {
	opacity: .55;
	cursor: progress;
}
/* CF7 spins an invisible box next to the button; this form has no room for it. */
.ag-form-cf7 .wpcf7-spinner { display: none; }

.ag-form-cf7 .wpcf7-response-output {
	margin: 22px 0 0;
	padding: 14px 0;
	border: 0;
	border-top: 1px solid var(--ag-hair);
	font-size: .9375rem;
	line-height: 1.5;
	color: var(--ag-ink-soft);
}
.ag-form-cf7 .wpcf7-form.sent .wpcf7-response-output {
	color: #2F5A2A;
	border-top-color: rgba(47, 90, 42, .4);
}
.ag-form-cf7 .wpcf7-form.failed .wpcf7-response-output,
.ag-form-cf7 .wpcf7-form.invalid .wpcf7-response-output,
.ag-form-cf7 .wpcf7-form.spam .wpcf7-response-output {
	color: #8A2E22;
	border-top-color: rgba(138, 46, 34, .4);
}
.ag-form-cf7 .wpcf7-form.invalid input.wpcf7-not-valid,
.ag-form-cf7 .wpcf7-form.invalid select.wpcf7-not-valid,
.ag-form-cf7 .wpcf7-form.invalid textarea.wpcf7-not-valid {
	border-bottom-color: #B3462F;
	box-shadow: 0 1px 0 0 #B3462F;
}


body .elementor .e-con.ag-contact__side {
	border-left: 1px solid var(--ag-hair);
	padding-left: clamp(20px, 3vw, 56px);
}

/* --------------------------------------------------------------------------
   8. Footer — the wordmark as an outline, cropped by the bottom edge
   -------------------------------------------------------------------------- */
body .elementor .ag-footer { position: relative; overflow: clip; padding-bottom: 0; }
body .elementor .e-con.ag-footer__word {
	position: relative;
	display: block;
	width: 100%;
	margin-top: clamp(40px, 6vw, 88px);
	line-height: .74;
	pointer-events: none;
	user-select: none;
	overflow: hidden;
}
body .elementor .ag-footer__word-text .elementor-heading-title {
	display: block;
	font-family: var(--ag-font) !important;
	font-weight: 600 !important;
	font-size: clamp(4rem, 18vw, 17rem) !important;
	letter-spacing: -.045em !important;
	color: transparent !important;
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 1px rgba(237, 230, 218, .30);
	text-stroke: 1px rgba(237, 230, 218, .30);
	white-space: nowrap;
	transform: translateY(14%);
}

/* --------------------------------------------------------------------------
   9. Motion — one entrance, one easing
   -------------------------------------------------------------------------- */
.ag-rv {
	opacity: 0;
	transform: translate3d(0, 20px, 0);
	transition: opacity 1s var(--ag-ease-rev), transform 1.1s var(--ag-ease-rev);
}
.ag-rv.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   10. Reduced motion & small screens
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	.ag-mq__track { animation: none; }
	.ag-net__thread { animation: none; }
	.ag-net__node--main::before,
	.ag-net__node--main::after { animation: none; opacity: .35; }
	.ag-rv { opacity: 1; transform: none; transition: none; }
	.ag-w { opacity: 1; }
	.ag-station { transition: none; }
	.ag-route__thread { stroke-dashoffset: 0; }
	.ag-svc__row::before { transition: none; }
	.ag-mq__track { transform: none; }
}

@media (max-width: 1024px) {
	.ag-pin__stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: center; }
	.ag-pin__map { order: -1; max-width: 520px; }
	.ag-station__body { max-width: 46ch; }
	.ag-svc__row { grid-template-columns: 56px minmax(0, 1fr) 40px; }
	.ag-contact__side { border-left: 0; padding-left: 0; }
}

@media (max-width: 767px) {
	/* No pinning on phones: the four stations become a plain sequence. */
	body .elementor .e-con.ag-pin { height: auto !important; }
	body .elementor .e-con.ag-pin__stage {
		position: static !important;
		height: auto !important;
		display: block !important;
		padding-block: 72px !important;
	}
	body .elementor .e-con.ag-pin__map { display: none !important; }
	body .elementor .e-con.ag-pin__left { display: block !important; }
	body .elementor .e-con.ag-stations { display: block !important; }
	/* Container weight: Elementor drives margin and padding on `.e-con` through
	   its own custom properties, so the plain-class versions of these never
	   landed and the four stations stacked with no gap at all. */
	body .elementor .e-con.ag-station {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		display: grid !important;
		gap: 6px;
		margin-bottom: 0 !important;
		padding: 28px 0 28px 20px !important;
		border-left: 1px solid var(--ag-hair-dark);
	}
	/* One continuous rail down the sequence rather than four detached stubs. */
	body .elementor .e-con.ag-station + .ag-station { border-top: 1px solid var(--ag-hair-dark); }
	body .elementor .e-con.ag-pin__rail { display: none !important; }
	.ag-station__num { display: none !important; }

	body .elementor .e-con.ag-net__flow { grid-template-columns: 1fr !important; border-bottom: 0; }
	body .elementor .e-con.ag-net__thread { display: none; }
	body .elementor .e-con.ag-net__node {
		border-left: 0;
		border-top: 1px solid var(--ag-hair);
		padding-block: 24px !important;
	}
	body .elementor .e-con.ag-net__node--main { padding-block: 32px !important; align-items: flex-start !important; }
	body .elementor .e-con.ag-net__node .elementor-heading-title { text-align: left !important; }
	.ag-net__node--main::before,
	.ag-net__node--main::after { display: none; }

	.ag-form { grid-template-columns: 1fr; }
	body .elementor .e-con.ag-svc__row { grid-template-columns: 40px minmax(0, 1fr) !important; }
	.ag-svc__arrow { display: none; }
	.ag-svc__row::before { width: 100%; opacity: .1; }
	.ag-svc__row::after { display: none; }
	.ag-sec::after { left: var(--ag-edge); right: var(--ag-edge); }
	.ag-wrap::before { inset: -12px var(--ag-edge); background-size: 12px 12px; }
	.ag-index::before { width: 18px; }
}

/* Reduce Motion: the pinned stage becomes a plain sequence at every width.
   The route map stays — it is the artwork, not the motion. */
body.ag-static .ag-pin { height: auto !important; }
body.ag-static .ag-pin__stage {
	position: static !important;
	height: auto !important;
	display: block !important;
	padding-block: 88px !important;
}
body.ag-static .ag-pin__map { display: block !important; max-width: 620px; margin-bottom: 40px; }
body.ag-static .ag-pin__left { display: block !important; }
body.ag-static .ag-stations { display: block !important; }
body.ag-static .ag-station {
	position: static !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	margin-bottom: 40px;
	padding-left: 18px;
	border-left: 1px solid var(--ag-hair-dark);
}
body.ag-static .ag-pin__rail { display: none !important; }
body.ag-static .ag-station__num { display: none !important; }

/* --------------------------------------------------------------------------
   Supply chain stepper
   Four controls under the station copy. Numbered because the supply chain is
   an actual sequence — source, make, control, deliver — not a set.
   Layout: [ ‹ ] [ 01 SOURCE · 02 MAKE · 03 CONTROL · 04 DELIVER ] [ › ]
   The arrows sit outside the scrolling list so they are always on screen —
   on a phone the four labels scroll behind them.
   -------------------------------------------------------------------------- */
.ag-steps {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	width: 100%;        /* the stage column is shrink-to-fit; claim its width */
	max-width: 560px;
	margin-top: 36px;
}
.ag-steps__list {
	display: flex;
	flex: 1 1 auto;
	min-width: 0;
	gap: 0;
	border-top: 1px solid var(--ag-hair-dark);
}
.ag-steps__nav {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
}
/* The Elementor Kit styles every `button` as a gold pill (`.elementor-kit-N
   button`, specificity 0,1,1) and loads after this file, so a lone
   `.ag-steps__btn` ties and loses — the controls came out as stacked gold
   circles with the labels clipped. Two classes settle it, and the pill's
   background, radius and padding all have to be reset explicitly. */
.ag-steps .ag-steps__btn {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 4px;
	width: auto;
	min-width: 0;
	min-height: 64px;
	padding: 14px 10px 14px 0;
	border: 0;
	border-radius: 0;
	border-top: 1px solid transparent;
	margin: -1px 0 0;              /* sit the state line on the rule above */
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: var(--ag-mist);
	font-family: var(--ag-font);
	text-align: left;
	text-transform: none;
	letter-spacing: normal;
	line-height: 1.2;
	cursor: pointer;
	transition: color .4s var(--ag-ease-rev), border-color .4s var(--ag-ease-rev);
}
.ag-steps .ag-steps__btn:hover,
.ag-steps .ag-steps__btn:focus-visible,
.ag-steps .ag-steps__btn.is-on {
	background: transparent;
	background-color: transparent;
}
.ag-steps__n {
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	font-variant-numeric: tabular-nums;
	opacity: .65;
}
.ag-steps__t {
	font-size: .9375rem;
	font-weight: 500;
	letter-spacing: .01em;
}
.ag-steps .ag-steps__btn:hover,
.ag-steps .ag-steps__btn:focus-visible { color: var(--ag-cream); }
.ag-steps .ag-steps__btn.is-on {
	color: var(--ag-gold);
	border-top-color: var(--ag-gold);
}
.ag-steps .ag-steps__btn.is-on .ag-steps__n { opacity: 1; }

/* Prev / next. A bordered, labelled button at each end of the step list — a
   bare chevron asked the visitor to guess, so the word is on the button. The
   forward one pulses until someone touches the section; the movement itself
   then carries the invitation. */
.ag-steps .ag-steps__arrow {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: auto;
	min-width: 84px;
	height: 46px;
	min-height: 46px;
	margin: 0;
	padding: 0 15px;
	border: 1px solid rgba(184, 151, 90, .5);
	border-radius: 0;
	background: transparent;
	background-color: transparent;
	box-shadow: none;
	color: var(--ag-gold);
	font-family: var(--ag-font);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .35s var(--ag-ease-rev), border-color .35s var(--ag-ease-rev),
		color .35s var(--ag-ease-rev), opacity .35s var(--ag-ease-rev);
}
.ag-steps__arrow-label { white-space: nowrap; }

/* chevron: a 1px corner, drawn in CSS — prev on the left, next on the right */
.ag-steps .ag-steps__arrow::before,
.ag-steps .ag-steps__arrow--next::after {
	content: "";
	width: 8px;
	height: 8px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
}
.ag-steps .ag-steps__arrow::before { transform: rotate(-135deg); }
.ag-steps .ag-steps__arrow--next::before { display: none; }
.ag-steps .ag-steps__arrow--next::after { transform: rotate(45deg); }

.ag-steps .ag-steps__arrow:not(:disabled):hover,
.ag-steps .ag-steps__arrow:not(:disabled):focus-visible {
	background: var(--ag-gold);
	background-color: var(--ag-gold);
	border-color: var(--ag-gold);
	color: var(--ag-dark);
}
.ag-steps .ag-steps__arrow:disabled {
	color: var(--ag-mist);
	border-color: var(--ag-hair-dark);
	opacity: .4;
	cursor: default;
}
/* "There is more" — a pulse on the forward arrow, stopped on first use. */
.ag-steps .ag-steps__arrow.is-hint {
	animation: ag-step-hint 2.4s var(--ag-ease-rev) infinite;
}
@keyframes ag-step-hint {
	0%, 100% { border-color: rgba(184, 151, 90, .5); background-color: transparent; }
	50%      { border-color: var(--ag-gold); background-color: rgba(184, 151, 90, .18); }
}
.ag-steps .ag-steps__btn { min-width: 84px; }

@media (max-width: 767px) {
	.ag-steps { margin-top: 28px; gap: 14px; }
	.ag-steps__list {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	.ag-steps__list::-webkit-scrollbar { display: none; }
	.ag-steps .ag-steps__btn { flex: 0 0 auto; min-width: 84px; }
	.ag-steps .ag-steps__arrow { min-width: 76px; height: 44px; min-height: 44px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
	.ag-steps .ag-steps__btn { transition: none; }
	.ag-steps .ag-steps__arrow { transition: none; }
	.ag-steps .ag-steps__arrow.is-hint { animation: none; border-color: var(--ag-gold); }
}
