/*
	timeline.css
	- the "Our Story" page (timeline.php). Loaded only on that page - see inc/header.php.
	- one gold axis runs from the sun's reflection in the hero, down the spine through
		the decade chapters, into the closing band.
	- everything that moves is optional. Time-based ambience sits behind
		prefers-reduced-motion; scroll-driven effects also behind @supports (animation-timeline).
		Without either, the page reads complete.
	- every class and keyframe is prefixed tl- so nothing here can touch the rest of the theme.
*/

/*
	theme adjustments, scoped to this page
	- [outerwrapper] uses overflow-x:hidden, which makes it a scroll container that never
		scrolls: position:sticky and scroll()/view() timelines would bind to it and stand
		still. clip trims the same overflow without creating a scroll container.
	- the site header keeps its full-height box at the top of the viewport after its nav has
		slid away; that invisible box sat over the decade bar and swallowed clicks on it.
		Only the nav itself (which carries the autonav strip) stays hit-testable.
	- the page starts with its own decade bar, so the autonav needs no gap below it.
*/
[outerwrapper]:has(.tl-page){overflow-x:clip;}
body:has(.tl-page) > header{pointer-events:none;}
body:has(.tl-page) > header > nav{pointer-events:auto;}
[autonav]:has(+ .tl-page){margin-bottom:0;}
@media (prefers-reduced-motion: reduce){
	html:has(.tl-page){scroll-behavior:auto;}
}

/*------------------
	PAGE
------------------*/
.tl-page{
	--tl-gut:40px;
	--tl-axis:50%;
	--tl-hz:170px;
	--tl-scene-h:420px;
	--tl-navy:var(--coastal-navy, #273751);
	--tl-sand:var(--light-sand, #F5F2E8);
	--tl-gold:var(--bright-gold, #C2A152);
	--tl-gold-ink:#7E6326;
	--tl-teal:var(--deep-teal, #33647E);
	--tl-mist:#EDF4F3;
	--tl-aqua:var(--bright-aqua, #BBD8DC);
	--tl-muted:#3B4A63;
	--tl-grey:#5E5E66;

	position:relative;
	/* full bleed out of the theme's 1600px wrapper */
	width:100vw;max-width:100vw;
	margin-left:calc(50% - 50vw);
	font-family:var(--sans2, 'Sofia Pro', 'Poppins', system-ui, sans-serif);
	font-weight:400;
	line-height:1.5;
	color:var(--tl-navy);
	background:var(--tl-sand);
}

/* neutralise the theme's element styles inside the page (zero-specificity, so classes win) */
:where(.tl-page) :is(p, h1, h2, h3, figure, figcaption){margin:0;}
:where(.tl-page) p{font-size:inherit;line-height:inherit;font-weight:inherit;}
:where(.tl-page) :is(h1, h2, h3){font:inherit;color:inherit;hyphens:manual;}
:where(.tl-page) a{color:inherit;}
:where(.tl-page) section{margin:0;padding:0;z-index:auto;}
.tl-page a:focus-visible{outline:2px solid var(--tl-teal);outline-offset:3px;}

.tl-serif{font-family:var(--serif, 'Palatino LT Pro', 'Palatino Linotype', 'Book Antiqua', Georgia, serif);font-weight:500;}
.tl-script{font-family:var(--script, 'Brittany Signature'), 'Snell Roundhand', cursive;font-weight:400;}

/*------------------
	DECADE NAV
	- itself a small timeline: past decades filled, the current one gold
	- below 1200px: a bar that sticks under the site header (timeline.js keeps --tl-top at
		the header's bottom edge) and scrolls sideways on phones
	- 1200px and up: a dial of years on the right edge that turns the current decade to
		9 o'clock; it fades out past the last decade
------------------*/
.tl-nav{
	position:sticky;top:var(--tl-top, 0px);z-index:20;
	background:rgba(255,255,255,.97);
	border-top:1px solid rgba(39,55,81,.08);
	border-bottom:1px solid rgba(39,55,81,.1);
}
.tl-track{
	position:relative;max-width:1260px;min-height:60px;margin:0 auto;padding:0 var(--tl-gut);
	display:flex;align-items:center;justify-content:center;gap:2px;
	overflow-x:auto;scrollbar-width:none;
}
.tl-track::-webkit-scrollbar{display:none;}
.tl-page .tl-era-link{
	position:relative;display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:0 14px;
	font-size:17px;line-height:1;letter-spacing:.02em;color:var(--tl-grey);text-decoration:none;white-space:nowrap;
	font-variant-numeric:lining-nums;transition:color .4s;
}
.tl-page .tl-era-link:focus-visible{outline-offset:-2px;}
.tl-tick{flex:none;width:7px;height:7px;border-radius:50%;border:1px solid rgba(39,55,81,.4);transition:background .4s, border-color .4s, box-shadow .4s;}
.tl-era-link::after{content:'';position:absolute;left:31px;right:14px;bottom:7px;height:1px;background:var(--tl-gold);transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.2,.75,.2,1);}
.tl-page .tl-era-link:hover{color:var(--tl-navy);}
.tl-era-link:hover::after{transform:scaleX(1);}
.tl-page .tl-era-link[data-state="past"]{color:var(--tl-muted);}
.tl-era-link[data-state="past"] .tl-tick{background:var(--tl-gold);border-color:var(--tl-gold);}
.tl-page .tl-era-link[data-state="now"]{color:var(--tl-navy);}
.tl-era-link[data-state="now"] .tl-tick{background:var(--tl-gold);border-color:var(--tl-gold);box-shadow:0 0 0 4px rgba(194,161,82,.24);}
.tl-era-link[data-state="now"]::after{transform:scaleX(1);}

/*
	the dial (1200px and up)
	- a ring of years whose centre sits on the right edge of the screen, so its left half shows
	- the wheel turns so the current decade lands at 270deg (9 o'clock, facing the content),
		where a gold diamond marks the spot. Later decades wait below, earlier ones turn away above.
	- each year is anchored on the ring and reads in towards the centre, so the current one
		can grow without moving anything else
	- dressed as a compass: the needle is fixed (a lubber line) and the card turns under it.
		Bezel graduations turn with the years; a faint west point of a compass rose fans in
		behind the current one.
	- timeline.js sets --off (position from the current decade) and --dist (its absolute value)
		on each link and --tl-at (the current decade's index) on the page root; the PHP renders
		them as if the first decade were current
*/
.tl-bezel{display:none;}
@media (min-width: 1200px){
	/* keep the timeline clear of the dial, on both sides so the spine stays centred */
	.tl-page{--tl-rail-w:170px;--tl-r:150px;--tl-step:26deg;}
	.tl-page .tl-era-in{max-width:min(1260px, calc(100vw - 2 * var(--tl-rail-w)));}

	/* hidden until the hero's waves have scrolled past, and again after the last decade
	   (timeline.js sets data-rail); drifts in from the edge */
	.tl-nav{
		position:fixed;top:50%;right:0;width:0;height:0;
		background:none;border:0;
		opacity:0;visibility:hidden;translate:40px 0;
		transition:opacity .6s ease, visibility .6s, translate 1.2s cubic-bezier(.16,1,.3,1);
	}
	.tl-page[data-rail="on"] .tl-nav{opacity:1;visibility:visible;translate:0 0;}
	.tl-track{
		position:absolute;left:0;top:0;z-index:0;width:0;height:0;min-height:0;
		margin:0;padding:0;max-width:none;overflow:visible;display:block;
	}
	/* the ring: a frosted disc with a gold edge */
	.tl-track::before{
		content:'';position:absolute;z-index:-2;
		left:calc(-1 * var(--tl-r));top:calc(-1 * var(--tl-r));
		width:calc(2 * var(--tl-r));height:calc(2 * var(--tl-r));border-radius:50%;
		border:1px solid rgba(194,161,82,.55);
		background:rgba(255,255,255,.6);
		-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
		/* a slightly brighter bezel band, closed by a thin inner ring */
		box-shadow:inset 0 0 0 13px rgba(255,255,255,.35), inset 0 0 0 14px rgba(194,161,82,.28);
	}
	/* the west point of a compass rose, fanning in from the needle */
	.tl-track::after{
		content:'';position:absolute;z-index:-1;
		left:calc(-1 * var(--tl-r));top:-26px;width:var(--tl-r);height:52px;
		background:linear-gradient(90deg, rgba(194,161,82,.22), rgba(194,161,82,.02));
		clip-path:polygon(0 50%, 100% 0, 100% 100%);
	}
	/* bezel graduations: 6deg minor, 30deg major, hairline-thin; they turn with the years */
	.tl-bezel{
		display:block;position:absolute;z-index:-1;pointer-events:none;
		left:calc(-1 * var(--tl-r));top:calc(-1 * var(--tl-r));
		width:calc(2 * var(--tl-r));height:calc(2 * var(--tl-r));border-radius:50%;
		transform:rotate(calc(var(--tl-at, 0) * var(--tl-step)));
		transition:transform .9s cubic-bezier(.16,1,.3,1);
	}
	.tl-bezel::before,
	.tl-bezel::after{content:'';position:absolute;inset:0;border-radius:50%;}
	.tl-bezel::before{
		background:repeating-conic-gradient(rgba(126,99,38,.3) 0 .3deg, transparent .3deg 6deg);
		-webkit-mask:radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
		mask:radial-gradient(closest-side, transparent calc(100% - 5px), #000 calc(100% - 5px));
	}
	.tl-bezel::after{
		background:repeating-conic-gradient(rgba(126,99,38,.5) 0 .4deg, transparent .4deg 30deg);
		-webkit-mask:radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 11px));
		mask:radial-gradient(closest-side, transparent calc(100% - 11px), #000 calc(100% - 11px));
	}
	/* the needle at 270deg: fixed, like a compass's lubber line */
	.tl-nav::after{
		content:'';position:absolute;left:calc(-1 * var(--tl-r) - 11px);top:-3px;width:24px;height:6px;
		background:linear-gradient(90deg, var(--tl-gold-ink), var(--tl-gold) 50%, #EAE0C4 50%, #F5F2E8);
		clip-path:polygon(0 50%, 46% 0, 100% 50%, 46% 100%);
		transform-origin:0 50%;
	}
	/* the needle settles with a small quiver each time the decade changes (timeline.js) */
	.tl-nav.tl-swing::after{animation:tl-needle .9s cubic-bezier(.2,.6,.3,1) both;}
	.tl-page .tl-era-link{
		position:absolute;left:0;top:0;min-height:40px;padding:0;gap:10px;
		font-size:15px;letter-spacing:.06em;
		transform-origin:0 0;
		transform:rotate(calc(var(--off, 0) * -1 * var(--tl-step))) translate(calc(18px - var(--tl-r)), -50%);
		opacity:clamp(0, 1 - var(--dist, 0) * .26, 1);
		transition:transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease, color .5s ease, font-size .5s cubic-bezier(.16,1,.3,1);
	}
	.tl-page .tl-era-link:is(:hover, :focus-visible){opacity:1;}
	.tl-era-link::after{display:none;}
	/* the tick is a short radial mark from the ring inwards */
	.tl-tick{
		width:10px;height:1px;border:0;border-radius:0;background:rgba(39,55,81,.35);
		transition:width .6s cubic-bezier(.16,1,.3,1), background .4s;
	}
	.tl-era-link[data-state] .tl-tick{box-shadow:none;}
	.tl-era-link[data-state="past"] .tl-tick{background:var(--tl-gold);}
	.tl-page .tl-era-link[data-state="now"]{font-size:24px;color:var(--tl-gold-ink);}
	.tl-era-link[data-state="now"] .tl-tick{width:22px;background:var(--tl-gold);}
	.tl-era-link:hover .tl-tick{background:var(--tl-gold);}
}
@media (min-width: 1200px) and (prefers-reduced-motion: reduce){
	.tl-nav, .tl-page .tl-era-link, .tl-tick, .tl-bezel{transition:none;}
	.tl-nav.tl-swing::after{animation:none;}
}
@keyframes tl-needle{0%{rotate:0deg}30%{rotate:-7deg}60%{rotate:4deg}82%{rotate:-1.5deg}100%{rotate:0deg}}

/*------------------
	HERO
	- the sun on the horizon; its reflection becomes the spine
------------------*/
.tl-hero{position:relative;overflow:hidden;overflow:clip;background:var(--tl-sand);padding-top:88px;}
.tl-hero-copy{max-width:960px;margin:0 auto;padding:0 var(--tl-gut);text-align:center;}
.tl-eyebrow{font-size:12px;line-height:1.3;letter-spacing:.28em;text-transform:uppercase;color:var(--tl-grey);}
.tl-hero-script{margin-top:22px;font-size:64px;line-height:1;color:var(--tl-gold-ink);}
.tl-page .tl-hero-title{margin:8px auto 0;max-width:880px;font-size:76px;line-height:1.04;letter-spacing:-.015em;text-wrap:balance;}
.tl-lede{margin:28px auto 0;max-width:600px;font-size:18px;line-height:1.65;color:var(--tl-muted);}
.tl-lede + .tl-lede{margin-top:14px;}
.tl-scene{position:relative;height:var(--tl-scene-h);margin-top:32px;}
.tl-sun-sink{position:absolute;left:var(--tl-axis);top:calc(var(--tl-hz) + 6px);width:0;height:0;z-index:1;}
.tl-sun-rise{position:absolute;left:0;top:0;width:0;height:0;}
.tl-sun{position:absolute;left:-160px;top:-160px;overflow:visible;}
.tl-sun circle{transform-box:fill-box;transform-origin:center;}
.tl-ripple{opacity:0;}
.tl-sea{position:absolute;left:0;right:0;top:var(--tl-hz);bottom:0;z-index:2;}
.tl-layer{position:absolute;left:0;right:0;bottom:0;overflow:hidden;overflow:clip;}
.tl-l1{top:0;}.tl-l2{top:16%;}.tl-l3{top:34%;}.tl-l4{top:54%;}.tl-l5{top:72%;}
.tl-wave{position:absolute;left:0;top:0;width:200%;height:100%;display:block;}
.tl-ray{position:absolute;left:var(--tl-axis);top:calc(var(--tl-hz) + 6px);bottom:0;width:2px;margin-left:-1px;background:var(--tl-gold);transform-origin:top;z-index:3;}
.tl-glints{position:absolute;left:var(--tl-axis);top:calc(var(--tl-hz) + 6px);margin-left:-120px;overflow:visible;z-index:3;}

/*------------------
	TIMELINE
------------------*/
.tl-body{position:relative;isolation:isolate;view-timeline-name:--tl-body;}
.tl-spine{position:absolute;top:0;bottom:0;left:var(--tl-axis);width:2px;margin-left:-1px;background:rgba(39,55,81,.12);z-index:1;}
.tl-spine-fill{position:absolute;left:0;top:0;width:100%;height:100%;background:var(--tl-gold);}
.tl-spine-tip{display:none;position:absolute;left:50%;top:100%;width:28px;height:28px;margin:-14px 0 0 -14px;border-radius:50%;border:1px solid rgba(194,161,82,.6);}
.tl-spine-tip::before{content:'';position:absolute;left:50%;top:50%;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--tl-gold);box-shadow:0 0 0 3px rgba(255,255,255,.85);}
.tl-spine-tip::after{content:'';position:absolute;inset:-1px;border-radius:50%;border:1px solid rgba(194,161,82,.5);opacity:0;}
/* scroll-margin adds to the theme's 150px scroll-padding-top: a jump back up brings the
   header and its autonav strip back over the bar, and the chapter pin must clear all three */
.tl-page .tl-era{position:relative;background:var(--tl-bg);padding-block:120px;scroll-margin-top:24px;}
.tl-t-white{--tl-bg:#FFFFFF;}
.tl-t-sand{--tl-bg:var(--tl-sand);}
.tl-t-mist{--tl-bg:var(--tl-mist);}
.tl-era-in{max-width:1260px;margin:0 auto;padding:0 var(--tl-gut);display:flex;flex-direction:column;gap:104px;}

/* chapter opener */
.tl-chap{position:relative;display:flex;justify-content:center;}
.tl-chap-pin{position:absolute;left:50%;top:-30px;width:11px;height:11px;margin-left:-5.5px;background:var(--tl-bg);border:1.5px solid var(--tl-gold);rotate:45deg;z-index:3;}
.tl-chap-mark{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;padding:12px 40px 8px;background:var(--tl-bg);text-align:center;}
.tl-page .tl-chap-lock{position:relative;padding-top:18px;font-size:inherit;line-height:inherit;font-weight:500;}
.tl-chap-the{position:absolute;left:-30px;top:-6px;z-index:1;font-size:46px;line-height:1;color:var(--tl-gold-ink);rotate:-8deg;}
.tl-chap-clip{display:block;overflow:hidden;overflow:clip;padding:6px 0;}
.tl-chap-num{display:block;font-size:168px;line-height:.92;letter-spacing:-.025em;color:var(--tl-navy);font-variant-numeric:lining-nums;}
.tl-orn{display:block;overflow:visible;}
.tl-orn path{stroke-dasharray:60;stroke-dashoffset:0;}
.tl-chap-orn{margin:22px auto 0;}
.tl-chap-sum{margin-top:18px;max-width:440px;font-size:17px;line-height:1.65;color:var(--tl-muted);}

/* entries */
.tl-dot{position:relative;z-index:3;width:16px;height:16px;border-radius:50%;background:var(--tl-bg);border:2px solid var(--tl-gold);box-shadow:0 0 0 6px var(--tl-bg);}
.tl-yr{font-size:21px;line-height:1.3;letter-spacing:.06em;color:var(--tl-gold-ink);font-variant-numeric:lining-nums;}
.tl-page .tl-entry h3{margin:10px 0 0;font-size:34px;line-height:1.18;letter-spacing:-.005em;text-wrap:balance;}
.tl-bd{margin-top:14px;max-width:440px;font-size:17px;line-height:1.7;color:var(--tl-muted);}

/* entry with a photo: a spread across the spine */
.tl-spread{display:grid;grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr);align-items:center;}
.tl-ph{grid-row:1;min-width:0;}
.tl-spread .tl-dot{grid-row:1;grid-column:2;justify-self:center;}
.tl-tx{grid-row:1;position:relative;min-width:0;max-width:440px;}
.tl-pl .tl-ph{grid-column:1;}
.tl-pl .tl-tx{grid-column:3;justify-self:start;}
.tl-pr .tl-ph{grid-column:3;}
.tl-pr .tl-tx{grid-column:1;justify-self:end;}
.tl-tx::before{content:'';position:absolute;top:50%;width:28px;height:1px;background:rgba(194,161,82,.7);}
.tl-pl .tl-tx::before{left:-40px;}
.tl-pr .tl-tx::before{right:-40px;}
.tl-ph-mat{position:relative;isolation:isolate;}
.tl-ph-mat::before{content:'';position:absolute;z-index:-1;border:1px solid rgba(194,161,82,.55);}
.tl-pl .tl-ph-mat::before{inset:14px 14px -14px -14px;}
.tl-pr .tl-ph-mat::before{inset:14px -14px -14px 14px;}
.tl-ph-frame{position:relative;overflow:hidden;overflow:clip;aspect-ratio:4 / 3;max-width:100%;background:#E4E0D3;}
.tl-page .tl-ph-img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;}
.tl-ph figcaption{display:flex;align-items:center;gap:12px;margin-top:28px;font-size:13px;line-height:1.5;color:var(--tl-grey);}
.tl-cap-rule{flex:none;width:24px;height:1px;background:var(--tl-gold);}

/* entry without a photo: a framed plate set on the spine */
.tl-plate{display:grid;justify-items:center;}
.tl-plate .tl-dot{grid-area:1 / 1;align-self:start;margin-top:-8px;}
.tl-pl-card{
	grid-area:1 / 1;position:relative;z-index:2;width:100%;max-width:620px;padding:60px 64px 56px;
	background:var(--tl-bg);border:1px solid rgba(194,161,82,.7);outline:1px solid rgba(194,161,82,.35);outline-offset:-9px;
	text-align:center;
}
.tl-page .tl-pl-card h3{font-size:42px;line-height:1.15;}
.tl-pl-card .tl-orn{margin:20px auto 0;}
.tl-pl-card .tl-bd{margin:18px auto 0;max-width:460px;font-size:18px;}
.tl-pl-card .tl-bd + .tl-bd{margin-top:12px;}

/*------------------
	CLOSING BAND
------------------*/
.tl-page .tl-cta{position:relative;overflow:hidden;overflow:clip;background:var(--tl-navy);color:#FFFFFF;view-timeline-name:--tl-cta;}
.tl-page .tl-cta-img{position:absolute;left:0;top:-8%;width:100%;height:116%;max-width:none;object-fit:cover;object-position:center 40%;display:block;}
.tl-cta-veil{position:absolute;inset:0;background:rgba(39,55,81,.8);}
.tl-cta-line{position:absolute;left:var(--tl-axis);top:0;width:2px;height:120px;margin-left:-1px;background:var(--tl-gold);transform-origin:top;z-index:2;}
.tl-cta-sun{position:absolute;left:var(--tl-axis);top:120px;width:30px;height:30px;margin:-15px 0 0 -15px;border-radius:50%;border:1px solid rgba(194,161,82,.75);z-index:2;}
.tl-cta-sun::before{content:'';position:absolute;left:50%;top:50%;width:12px;height:12px;margin:-6px 0 0 -6px;border-radius:50%;background:var(--tl-gold);}
.tl-cta-copy{position:relative;z-index:2;max-width:820px;margin:0 auto;padding:184px var(--tl-gut) 128px;text-align:center;}
.tl-cta-script{font-size:52px;line-height:1;color:var(--tl-gold);}
.tl-page .tl-cta-title{margin:14px auto 0;max-width:760px;font-size:50px;line-height:1.12;letter-spacing:-.01em;text-wrap:balance;color:#FFFFFF;}
.tl-cta-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 36px;margin-top:40px;}
.tl-page .tl-btn{display:inline-flex;align-items:center;min-height:52px;padding:0 32px;background:var(--tl-sand);color:var(--tl-navy);text-decoration:none;font-size:13px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;transition:background .3s;}
.tl-page .tl-btn:hover{background:#FFFFFF;}
.tl-page .tl-cta-back{display:inline-flex;align-items:center;gap:10px;min-height:44px;color:var(--tl-sand);text-decoration:none;font-size:13px;line-height:1.2;letter-spacing:.16em;text-transform:uppercase;}
.tl-cta-back span{border-bottom:1px solid rgba(194,161,82,.7);padding-bottom:3px;transition:border-color .3s;}
.tl-cta-back:hover span{border-bottom-color:var(--tl-sand);}

/*------------------
	MOTION
------------------*/
@keyframes tl-up{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@keyframes tl-sunrise{from{transform:translateY(120px)}to{transform:none}}
@keyframes tl-ring-in{from{opacity:0;transform:scale(.8)}to{opacity:1;transform:none}}
@keyframes tl-ripple{0%{opacity:.55;transform:scale(1)}100%{opacity:0;transform:scale(3.6)}}
@keyframes tl-draw-y{from{transform:scaleY(0)}to{transform:none}}
@keyframes tl-fade{from{opacity:0}to{opacity:1}}
@keyframes tl-shimmer{0%,100%{opacity:.2}50%{opacity:1}}
@keyframes tl-drift{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes tl-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}
@keyframes tl-tip-pulse{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(2)}}
@keyframes tl-sink{from{translate:0 0}to{translate:0 90px}}
@keyframes tl-fill{from{height:0%}to{height:100%}}
@keyframes tl-tip{from{top:0%}to{top:100%}}
@keyframes tl-dot-pass{
	0%,47%{background:var(--tl-bg);transform:scale(1);box-shadow:0 0 0 6px var(--tl-bg),0 0 0 6px rgba(194,161,82,0)}
	50.5%{background:#C2A152;transform:scale(1.45);box-shadow:0 0 0 6px var(--tl-bg),0 0 0 13px rgba(194,161,82,.24)}
	56%,100%{background:#C2A152;transform:scale(1);box-shadow:0 0 0 6px var(--tl-bg),0 0 0 6px rgba(194,161,82,0)}
}
@keyframes tl-pin-pass{0%,49%{background:var(--tl-bg)}51%,100%{background:#C2A152}}
@keyframes tl-num-up{from{transform:translateY(105%)}to{transform:none}}
@keyframes tl-the-in{from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
@keyframes tl-draw-orn{from{stroke-dashoffset:60}to{stroke-dashoffset:0}}
@keyframes tl-rise{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@keyframes tl-wipe-l{from{clip-path:inset(0 0 0 100%)}to{clip-path:inset(0 0 0 0)}}
@keyframes tl-wipe-r{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes tl-zoom{from{scale:1.22}to{scale:1.06}}
@keyframes tl-par{from{translate:0 -3%}to{translate:0 3%}}
@keyframes tl-par-cta{from{translate:0 -5%}to{translate:0 5%}}
@keyframes tl-plate-in{from{opacity:0;translate:0 26px;outline-offset:0px}to{opacity:1;translate:0 0;outline-offset:-9px}}
@keyframes tl-pop{from{opacity:0;scale:.4}to{opacity:1;scale:1}}

/* time-based ambience: sunrise, drifting sea, shimmering reflection */
@media (prefers-reduced-motion: no-preference){
	.tl-hero-copy > *{animation:tl-up 1.2s cubic-bezier(.2,.75,.2,1) both;}
	.tl-hero-copy > :nth-child(2){animation-delay:.12s;}
	.tl-hero-copy > :nth-child(3){animation-delay:.24s;}
	.tl-hero-copy > :nth-child(n+4){animation-delay:.4s;}
	.tl-sun-rise{animation:tl-sunrise 3.4s cubic-bezier(.16,1,.3,1) .3s both;}
	.tl-ring{animation:tl-ring-in 1.8s cubic-bezier(.2,.75,.2,1) both;}
	.tl-ring.tl-k1{animation-delay:1.3s;}
	.tl-ring.tl-k2{animation-delay:1.55s;}
	.tl-ring.tl-k3{animation-delay:1.8s;}
	.tl-ripple{animation:tl-ripple 8s cubic-bezier(.2,.6,.3,1) 2.6s infinite;}
	.tl-ripple.tl-r2{animation-delay:6.6s;}
	.tl-ray{animation:tl-draw-y 2s cubic-bezier(.65,0,.35,1) 1.4s both;}
	.tl-glints{animation:tl-fade 1.6s ease-out 2.6s both;}
	.tl-glints line{animation:tl-shimmer 3.6s ease-in-out infinite;}
	.tl-glints line:nth-child(2n){animation-duration:2.8s;animation-delay:-1.1s;}
	.tl-glints line:nth-child(3n){animation-duration:4.4s;animation-delay:-2.3s;}
	.tl-glints line:nth-child(5n){animation-delay:-.6s;}
	.tl-wave{animation:tl-drift 100s linear infinite;}
	.tl-w2{animation-duration:80s;animation-direction:reverse;}
	.tl-w3{animation-duration:60s;}
	.tl-w4{animation-duration:46s;animation-direction:reverse;}
	.tl-w5{animation-duration:120s;}
	.tl-l4{animation:tl-bob 8s ease-in-out infinite;}
	.tl-spine-tip::after{animation:tl-tip-pulse 2.8s ease-out infinite;}
}

/* scroll-driven: the page reads complete without any of this */
@supports (animation-timeline: view()){
	@media (prefers-reduced-motion: no-preference){
		.tl-sun-sink{animation:tl-sink linear both;animation-timeline:scroll();animation-range:0px 640px;}
		.tl-spine-fill{animation:tl-fill linear both;animation-timeline:--tl-body;animation-range:cover 50vh cover calc(100% - 50vh);}
		.tl-spine-tip{display:block;animation:tl-tip linear both;animation-timeline:--tl-body;animation-range:cover 50vh cover calc(100% - 50vh);}
		.tl-dot{animation:tl-dot-pass linear both;animation-timeline:view();animation-range:cover 0% cover 100%;}
		.tl-chap-pin{animation:tl-pin-pass linear both;animation-timeline:view();animation-range:cover 0% cover 100%;}
		.tl-chap{view-timeline-name:--tl-chap;}
		.tl-chap-num{animation:tl-num-up cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-chap;animation-range:entry 0% entry 75%;}
		.tl-chap-the{animation:tl-the-in cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-chap;animation-range:entry 35% entry 95%;}
		.tl-chap-orn path{animation:tl-draw-orn ease-out both;animation-timeline:--tl-chap;animation-range:entry 45% entry 100%;}
		.tl-chap-sum{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-chap;animation-range:entry 50% entry 100%;}
		.tl-entry{view-timeline-name:--tl-entry;}
		.tl-entry .tl-yr{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-entry;animation-range:entry 20% entry 70%;}
		.tl-entry h3{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-entry;animation-range:entry 28% entry 80%;}
		.tl-entry .tl-orn path{animation:tl-draw-orn ease-out both;animation-timeline:--tl-entry;animation-range:entry 40% entry 90%;}
		.tl-entry .tl-bd{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-entry;animation-range:entry 36% entry 92%;}
		.tl-entry figcaption{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-entry;animation-range:entry 60% entry 100%;}
		.tl-pl .tl-ph-frame{animation:tl-wipe-l cubic-bezier(.7,0,.25,1) both;animation-timeline:--tl-entry;animation-range:entry 0% entry 80%;}
		.tl-pr .tl-ph-frame{animation:tl-wipe-r cubic-bezier(.7,0,.25,1) both;animation-timeline:--tl-entry;animation-range:entry 0% entry 80%;}
		.tl-ph-img{animation:tl-zoom cubic-bezier(.2,.75,.2,1) both, tl-par linear both;animation-timeline:--tl-entry, view();animation-range:entry 0% entry 100%, cover 0% cover 100%;}
		.tl-pl-card{animation:tl-plate-in cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-entry;animation-range:entry 0% entry 60%;}
		.tl-cta-img{animation:tl-par-cta linear both;animation-timeline:view();animation-range:cover 0% cover 100%;}
		.tl-cta-line{animation:tl-draw-y cubic-bezier(.65,0,.35,1) both;animation-timeline:--tl-cta;animation-range:entry 0% entry 35%;}
		.tl-cta-sun{animation:tl-pop cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-cta;animation-range:entry 30% entry 50%;}
		.tl-cta-copy > *{animation:tl-rise cubic-bezier(.2,.75,.2,1) both;animation-timeline:--tl-cta;animation-range:entry 40% entry 85%;}
		@media (max-width: 760px){
			.tl-pl .tl-ph-frame{animation-name:tl-wipe-r;}
		}
	}
}

/*------------------
	PHONE
	- single column, spine on the left
------------------*/
@media (max-width: 760px){
	.tl-page{--tl-gut:20px;--tl-axis:calc(var(--tl-gut) + 24px);--tl-hz:128px;--tl-scene-h:320px;}
	.tl-track{justify-content:flex-start;padding:0 8px;min-height:56px;}
	.tl-page .tl-era-link{padding:0 12px;font-size:16px;}
	.tl-era-link::after{left:29px;right:12px;}
	.tl-hero{padding-top:56px;}
	.tl-hero-copy{text-align:left;}
	.tl-hero-script{margin-top:18px;font-size:48px;}
	.tl-page .tl-hero-title{margin-left:0;font-size:44px;line-height:1.08;}
	.tl-lede{margin-left:0;font-size:17px;}
	.tl-sun{transform:scale(.72);}
	.tl-page .tl-era{padding-block:80px;scroll-margin-top:0;}
	.tl-era-in{gap:64px;}
	.tl-chap{justify-content:flex-start;padding-left:48px;}
	.tl-chap-pin{left:24px;top:54px;}
	.tl-chap-mark{align-items:flex-start;padding:0;text-align:left;background:transparent;}
	.tl-page .tl-chap-lock{padding-top:14px;}
	.tl-chap-the{left:4px;top:-14px;font-size:36px;}
	.tl-chap-num{font-size:84px;}
	.tl-chap-orn{margin:18px 0 0;}
	.tl-chap-sum{font-size:16px;}
	.tl-page .tl-entry h3{font-size:28px;}
	.tl-bd{font-size:16px;}
	.tl-spread{grid-template-columns:48px minmax(0,1fr);row-gap:24px;align-items:start;}
	.tl-pl .tl-ph,.tl-pr .tl-ph{grid-column:2;grid-row:1;}
	.tl-pl .tl-tx,.tl-pr .tl-tx{grid-column:2;grid-row:2;justify-self:stretch;max-width:none;}
	.tl-spread .tl-dot{grid-row:2;grid-column:1;align-self:start;margin-top:5px;}
	.tl-pl .tl-tx::before,.tl-pr .tl-tx::before{left:-20px;right:auto;top:13px;width:12px;}
	.tl-pl .tl-ph-mat::before,.tl-pr .tl-ph-mat::before{inset:10px -10px -10px 10px;}
	.tl-ph figcaption{margin-top:22px;}
	.tl-plate{grid-template-columns:48px minmax(0,1fr);justify-items:stretch;}
	.tl-plate .tl-dot{grid-area:1 / 1;justify-self:center;margin-top:41px;}
	.tl-pl-card{grid-area:1 / 2;padding:36px 28px 32px;text-align:left;}
	.tl-page .tl-pl-card h3{font-size:30px;}
	.tl-pl-card .tl-orn{margin:18px 0 0;}
	.tl-pl-card .tl-bd{margin:16px 0 0;font-size:16px;}
	.tl-cta-line{height:88px;}
	.tl-cta-sun{top:88px;}
	.tl-cta-copy{padding:140px var(--tl-gut) 88px calc(var(--tl-gut) + 48px);text-align:left;}
	.tl-cta-script{font-size:40px;}
	.tl-page .tl-cta-title{margin-left:0;font-size:32px;}
	.tl-cta-actions{justify-content:flex-start;gap:12px 28px;}
}
