/* The home page (patterns/home-*.php). Every rule is scoped under a home section class (.hero,
 * .statement, .story, .story-out, .designing, .teams, .stakes, .commit, .ins-band, .insights,
 * .vision) or the .sy-home pattern wrapper, so nothing reaches the inner pages. Tokens, type,
 * pills, links and the reveal on scroll (.rv) come from theme.css; the product window from
 * product.css. Keyframes carry a sy-home- or sy-story- prefix so they never replace a theme
 * keyframe of the same name. */

/* ---------- Pattern wrappers ----------
 * Each section sits in its own full-width group. The sections carry their own spacing, so the
 * groups and the block gap add none; the two sections that open with a margin set it through
 * the wrapper, so it outranks the layout rule that clears a first child's margin. */
.wp-block-group.sy-home { margin-block: 0; }
.wp-block-group.sy-home > * + * { margin-block-start: 0; }
.sy-home :where(*, *::before, *::after) { box-sizing: border-box; }
.sy-home :where(h1, h2, h3, p, ul, figure) { margin: 0; }
.sy-home :where(p) { text-wrap: pretty; }
.sy-home :where(img) { display: block; max-width: 100%; }

/* ---------- Hero: a rendered close-up of the product ----------
 * Three renders from one camera: the empty request bar, the typed request, and the policy check.
 * The typed render is revealed from the left in steps, like typing; the check fades in after it;
 * the shot pushes in slowly. Reduced motion shows the final frame. */
.hero { position: relative; height: 100vh; min-height: 720px; overflow: hidden; isolation: isolate; background: #C9CCCB; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
	background: linear-gradient(180deg, rgb(18 20 20 / 0.26) 0%, rgb(18 20 20 / 0) 14%, rgb(18 20 20 / 0) 64%, rgb(20 22 22 / 0.42) 82%, rgb(12 14 14 / 0.8) 100%); }
.hero .shot { position: absolute; inset: 0; animation: sy-home-push 26s ease-in-out infinite alternate; }
.hero .shot picture, .hero .shot img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero .shot img { object-fit: cover; object-position: 62% 40%; }
.hero .shot .typed { clip-path: inset(0 0 0 0); }
.hero .shot .checked { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
	.hero .shot .typed { clip-path: inset(0 92% 0 0); animation: sy-home-type 2.6s steps(30, end) 0.6s forwards; }
	.hero .shot .checked { opacity: 0; animation: sy-home-appear 900ms var(--ease) 3.6s forwards; }
}
/* Phone renders set the request on two lines, so it fades in rather than typing left to right. */
@media (max-width: 900px) { .hero .shot img { object-position: 50% 45%; } }
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) { .hero .shot .typed { clip-path: none; opacity: 0; animation: sy-home-appear 1.1s var(--ease) 0.5s forwards; } .hero .shot .checked { animation-delay: 2.2s; } }
@keyframes sy-home-type { to { clip-path: inset(0 0 0 0); } }
@keyframes sy-home-appear { to { opacity: 1; } }
@keyframes sy-home-push { from { transform: scale(1); } to { transform: scale(1.05) translateX(-1%); } }
@media (prefers-reduced-motion: reduce) { .hero .shot { animation: none; } }
.hero .hero-copy { position: absolute; z-index: 6; left: 0; right: 0; bottom: 64px; text-align: center; color: #fff; padding: 0 var(--gutter); }
.hero .hero-copy h1 { font-size: clamp(44px, 5.2vw, 84px); line-height: 1; letter-spacing: -0.04em; color: inherit; }
.hero .hero-copy .sub { margin-top: 26px; display: flex; gap: 18px; align-items: center; justify-content: center; font-size: 20px; text-wrap: balance; }

/* ---------- Statement ---------- */
.statement { padding: 128px var(--gutter) 64px; text-align: center; }
.statement p { margin: 26px auto 0; max-width: 52ch; font-size: 18px; color: var(--ink-2); }
.statement .eyebrow { display: block; margin-bottom: 20px; font-size: 15px; color: var(--ink-3); }
/* Three plain facts about what the product is, so no one reads it as a tool for one profession. */
.statement .pillars { margin: 72px auto 0; max-width: 1180px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: left; }
.statement .pillars div { padding-top: 18px; border-top: 1px solid var(--ink); }
.statement .pillars b { display: block; font-weight: 400; font-size: 21px; letter-spacing: -0.015em; }
.statement .pillars span { display: block; margin-top: 8px; max-width: 36ch; font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* ---------- One request, start to finish: one rendered film, played step by step on scroll ----------
 * The section is pinned while the reader scrolls through it. The film is one camera move through
 * four shots of the glass set; it rests at each step, and assets/js/story-film.js plays it from one
 * step to the next as the reader reaches the step. The film's cards are blank: live cards in the
 * page's language sit exactly over them while the film rests. A rail of four pills on the left
 * opens the step being shown; on a phone the step's words sit in a sheet at the bottom.
 * Without the film (no script, reduced motion, data saver, a slow connection) the four stills of
 * the same shots crossfade on scroll, each with its card. Without scroll-driven animation, or with
 * reduced motion, the last shot (the decision record) shows with its words. The stage clips (never
 * hides) its overflow, so the --story timeline keeps the page as its scroller. */
/* --rail is the open pill's width and --clear the space it takes from the left of the stage; the
 * wide frame is placed so the cards sit between --clear and the right edge, never under a pill. */
/* The timeline has no inset (the page's scroll padding would otherwise shift it), so the pills
 * and story-film.js agree on where each step starts. */
.story { position: relative; height: 420vh; view-timeline-name: --story; view-timeline-inset: 0px; --rail: 460px; --clear: calc(var(--rail) + 48px); --cap: 20px; }
@media (max-width: 1366px) { .story { --rail: 400px; } }
@media (max-width: 1100px) { .story { --rail: 340px; --cap: 17px; } }
@media (max-width: 1023px) { .story { --rail: 300px; --cap: 16px; } }
.story .story-pin { position: sticky; top: 0; height: 100vh; padding-top: 68px; box-sizing: border-box; }
.story .stage { position: relative; height: 100%; overflow: clip; background: #EFEFEC; container-type: size; }
/* The film box has the frame's own shape (16:9; 1:2 on tall screens) and covers the stage like
 * object-fit: cover, so the stills, the film and the cards share one set of coordinates. The wide
 * frame is placed so the cards' band (40% to 82.3% of its width) is centred in the space right of
 * --clear, within what cover allows. */
.story .film-box { position: absolute; inset: 0; }
@supports (width: 1cqw) {
	/* The wide frame covers the stage, but never grows larger than the stage can hold the cards'
	 * band: 21% to 87% of its height within the stage's height, and 40% to 82.3% of its width
	 * between --clear and the right edge, with the band able to start at --clear even when the
	 * frame cannot move. Where that leaves it smaller than the stage, its edges fade into the
	 * stage. The band is centred in that space, and a smaller frame stays inside. */
	.story .film-box { --w: min(max(100cqw, 100cqh * 16 / 9), 100cqh * 2.69, (100cqw - var(--clear) - 12px) / 0.423, (100cqw - var(--clear)) / 0.6); --h: calc(var(--w) * 9 / 16); inset: auto; width: var(--w); height: var(--h); aspect-ratio: auto;
		left: clamp(min(0px, 100cqw - var(--w)), (var(--clear) + 100cqw - 12px) / 2 - 0.6115 * var(--w), max(0px, 100cqw - var(--w)));
		top: clamp(min(0px, 100cqh - var(--h)), (100cqh - 0.66 * var(--h)) / 2 - 0.21 * var(--h), max(0px, 100cqh - var(--h))); }
}
@supports not (width: 1cqw) { .story .cards { display: none; } }
/* Soft edges for the stills and the film, so a frame smaller than the stage meets it without a
 * line (the set's background is the stage's colour). */
.story .frames, .story .film { -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 96%, transparent); mask-composite: intersect; }
.story .frames, .story .frames picture, .story .frames img, .story .film { position: absolute; inset: 0; width: 100%; height: 100%; }
.story .frames img { object-fit: cover; }
.story .frames picture { opacity: 0; }
.story .frames picture:last-child { opacity: 1; }
.story .film { object-fit: cover; opacity: 0; pointer-events: none; }

/* The cards, laid over the film's blank cards at the rectangles the render reports (as fractions
 * of the frame), with their words placed on the same layout. Sizes are in card widths (cqw). */
.story .cards { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.story .card { position: absolute; box-sizing: border-box; container-type: inline-size; overflow: clip; background: #FFFFFF; color: #0E1311; opacity: 0; letter-spacing: -0.012em; }
.story .card > span { position: absolute; left: 6.25cqw; right: 6.25cqw; }
.story .card--req { border-radius: 4.22% / 6.59%; }
.story .card--req .card-k { top: 7.2cqw; font-size: 3.9cqw; line-height: 1.2; color: #565D59; }
.story .card--req .card-t { top: 13.4cqw; font-size: 6.25cqw; line-height: 1.17; font-weight: 500; letter-spacing: -0.022em; text-wrap: balance; }
.story .card--req .card-chip { top: 34.375cqw; right: auto; display: flex; align-items: center; box-sizing: border-box; min-width: 70.3cqw; max-width: 87.5cqw; height: 10.16cqw; padding: 0 3.6cqw 0 2.8cqw; border-left: 0.94cqw solid #1E5A45; background: #EEEDEA; color: #0F2D26; font-size: 4.375cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.story .card--rec { border-radius: 3.86% / 5.19%; }
.story .card--rec > span { left: 5.71cqw; right: 5.71cqw; }
.story .card--rec .card-h { top: 6.4cqw; display: flex; align-items: center; gap: 2.1cqw; font-size: 4.71cqw; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.story .card--rec .card-h i { flex: none; width: 5.71cqw; height: 5.71cqw; border-radius: 50%; background: #1E5A45 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.8 10.1l2.8 3.2 5.6-6.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat; }
.story .card-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 3cqw; height: 12.5cqw; box-sizing: border-box; padding-top: 2.7cqw; border-top: 0.22cqw solid rgb(14 19 17 / 0.08); font-size: 3.86cqw; line-height: 1.2; white-space: nowrap; }
.story .card-row > span:first-child { color: #565D59; }
.story .card-row > span:last-child { min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.story .card-row:nth-child(2) { top: 16.43cqw; } .story .card-row:nth-child(3) { top: 28.93cqw; } .story .card-row:nth-child(4) { top: 41.43cqw; } .story .card-row:nth-child(5) { top: 53.93cqw; }
/* Card rectangles of the desktop film (1920 x 1080) and stills, from the render's rects.json. */
.story .card:nth-child(1) { left: 48.86%; top: 21.207%; width: 32.141%; height: 36.496%; }
.story .card:nth-child(2) { left: 44.562%; top: 31.271%; width: 37.712%; height: 42.821%; }
.story .card:nth-child(3) { left: 51.869%; top: 46.508%; width: 25.707%; height: 29.19%; }
.story .card:nth-child(4) { left: 40.028%; top: 44.938%; width: 31.712%; height: 41.915%; }
.story .card:last-child { opacity: 1; }

/* The rail: closed pills show the step; the open pill also carries the sentence. */
.story .captions { position: absolute; left: 24px; top: 50%; translate: 0 -50%; z-index: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.story .cap { display: grid; grid-template-rows: auto 0fr; max-width: 270px; padding: 12px 18px 12px; border-radius: 18px; overflow: clip; color: #fff;
	background-color: rgb(52 58 55 / 0.46); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.story .cap small { display: flex; align-items: center; gap: 10px; font-size: 15px; line-height: 1.3; white-space: nowrap; color: #fff; }
.story .cap small b { font-weight: 400; opacity: 0.66; font-variant-numeric: tabular-nums; }
/* Each pill carries the symbol etched on its part of the set: the device, the policy pane (a shield), the
 * approval pane (a person), the record. */
.story .cap small svg { flex: none; width: 17px; height: 17px; margin-right: -2px; }
.story .cap p { min-height: 0; width: calc(var(--rail) - 60px); margin: 0; padding-top: 0; font-size: var(--cap); line-height: 1.3; letter-spacing: -0.015em; color: #fff; text-wrap: pretty; opacity: 0; }
.story .cap:last-child { grid-template-rows: auto 1fr; max-width: var(--rail); background-color: rgb(22 28 25 / 0.76); }
.story .cap:last-child p { opacity: 1; padding-top: 10px; }

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.story .frames picture, .story .card, .story .cap, .story .cap p { animation-timing-function: linear; animation-fill-mode: both; animation-timeline: --story; animation-range: contain 0% contain 100%; }
		.story .frames picture:nth-child(1), .story .card:nth-child(1) { animation-name: sy-story-c1; } .story .cap:nth-child(1) { animation-name: sy-story-r1; } .story .cap:nth-child(1) p { animation-name: sy-story-q1; }
		.story .frames picture:nth-child(2), .story .card:nth-child(2) { animation-name: sy-story-c2; } .story .cap:nth-child(2) { animation-name: sy-story-r2; } .story .cap:nth-child(2) p { animation-name: sy-story-q2; }
		.story .frames picture:nth-child(3), .story .card:nth-child(3) { animation-name: sy-story-c3; } .story .cap:nth-child(3) { animation-name: sy-story-r3; } .story .cap:nth-child(3) p { animation-name: sy-story-q3; }
		.story .frames picture:nth-child(4), .story .card:nth-child(4) { animation-name: sy-story-c4; } .story .cap:nth-child(4) { animation-name: sy-story-r4; } .story .cap:nth-child(4) p { animation-name: sy-story-q4; }
		/* The stills crossfade without any zoom, so every card keeps exactly the place the frame's
		 * fit gives it. With the film, the film is the move: the stills and the card crossfades
		 * stop, and a card shows only while the film rests on its step (data-at, set by the script). */
		.story .stage.is-film .frames { visibility: hidden; }
		.story .stage.is-film .film { opacity: 1; }
		.story .stage.is-film .card { animation: none; opacity: 0; transition: none; }
		.story .stage.is-film[data-at="0"] .card:nth-child(1), .story .stage.is-film[data-at="1"] .card:nth-child(2),
		.story .stage.is-film[data-at="2"] .card:nth-child(3), .story .stage.is-film[data-at="3"] .card:nth-child(4) { opacity: 1; transition-duration: 0.32s; }
	}
}
@keyframes sy-story-c1 { 0%, 21% { opacity: 1; } 26%, 100% { opacity: 0; } }
@keyframes sy-story-c2 { 0%, 21% { opacity: 0; } 26%, 47% { opacity: 1; } 52%, 100% { opacity: 0; } }
@keyframes sy-story-c3 { 0%, 47% { opacity: 0; } 52%, 72% { opacity: 1; } 77%, 100% { opacity: 0; } }
@keyframes sy-story-c4 { 0%, 72% { opacity: 0; } 77%, 100% { opacity: 1; } }
/* Pills open and close one after the other. */
@keyframes sy-story-r1 { 0%, 21% { grid-template-rows: auto 1fr; max-width: var(--rail); background-color: rgb(22 28 25 / 0.76); } 24%, 100% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } }
@keyframes sy-story-r2 { 0%, 23% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } 26%, 47% { grid-template-rows: auto 1fr; max-width: var(--rail); background-color: rgb(22 28 25 / 0.76); } 50%, 100% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } }
@keyframes sy-story-r3 { 0%, 49% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } 52%, 72% { grid-template-rows: auto 1fr; max-width: var(--rail); background-color: rgb(22 28 25 / 0.76); } 75%, 100% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } }
@keyframes sy-story-r4 { 0%, 74% { grid-template-rows: auto 0fr; max-width: 270px; background-color: rgb(52 58 55 / 0.46); } 77%, 100% { grid-template-rows: auto 1fr; max-width: var(--rail); background-color: rgb(22 28 25 / 0.76); } }
@keyframes sy-story-q1 { 0%, 20% { opacity: 1; padding-top: 10px; } 22.5%, 100% { opacity: 0; padding-top: 0; } }
@keyframes sy-story-q2 { 0%, 24.5% { opacity: 0; padding-top: 0; } 27%, 46% { opacity: 1; padding-top: 10px; } 48.5%, 100% { opacity: 0; padding-top: 0; } }
@keyframes sy-story-q3 { 0%, 50.5% { opacity: 0; padding-top: 0; } 53%, 71% { opacity: 1; padding-top: 10px; } 73.5%, 100% { opacity: 0; padding-top: 0; } }
@keyframes sy-story-q4 { 0%, 75.5% { opacity: 0; padding-top: 0; } 78%, 100% { opacity: 1; padding-top: 10px; } }
/* Phone: the words of one step at a time, in a sheet at the bottom. */
@keyframes sy-story-k1 { 0%, 21% { opacity: 1; translate: 0 0; } 23.5%, 100% { opacity: 0; translate: 0 10px; } }
@keyframes sy-story-k2 { 0%, 23.5% { opacity: 0; translate: 0 10px; } 26%, 47% { opacity: 1; translate: 0 0; } 49.5%, 100% { opacity: 0; translate: 0 10px; } }
@keyframes sy-story-k3 { 0%, 49.5% { opacity: 0; translate: 0 10px; } 52%, 72% { opacity: 1; translate: 0 0; } 74.5%, 100% { opacity: 0; translate: 0 10px; } }
@keyframes sy-story-k4 { 0%, 74.5% { opacity: 0; translate: 0 10px; } 77%, 100% { opacity: 1; translate: 0 0; } }

/* Layout by the screen's shape, with one rule for the film, the stills and the cards:
 * - screens no wider than 21:20 (phones held upright, tablets in portrait, square windows) get
 *   the tall film and stills, and the step's words in a sheet across the
 *   bottom; the frame keeps the cards above that sheet;
 * - narrow screens that are wider than tall (landscape phones, small windows) keep the wide film,
 *   with the words in a narrow sheet on the left and the frame placed so the cards clear it.
 * story-film.js and the stills' <source media> use the same (max-aspect-ratio: 21/20) rule. */
@media (max-width: 900px) {
	.story { height: 380vh; }
	.story .story-pin { padding-top: 60px; }
}
@media (max-width: 900px), (max-aspect-ratio: 21/20) {
	/* --sheet-h fits the longest caption in English, German, French and Spanish at these widths. */
	.story { --sheet-h: 156px; }
	.story .captions { display: block; left: 12px; right: 12px; top: auto; bottom: 12px; translate: none; height: var(--sheet-h); }
	.story .cap, .story .cap:last-child { position: absolute; inset: 0; display: block; max-width: none; padding: 18px 20px; border-radius: 20px; color: var(--ink, #0E1311); opacity: 0;
		background-color: rgb(255 255 255 / 0.9); box-shadow: 0 10px 30px -12px rgb(14 19 17 / 0.3); }
	.story .cap:last-child { opacity: 1; }
	.story .cap small { font-size: 13px; color: #565D59; }
	.story .cap p, .story .cap:last-child p { width: auto; padding-top: 8px; font-size: 18px; color: #0E1311; opacity: 1; }
}
@media (max-width: 420px) {
	.story { --sheet-h: 184px; }
	.story .cap, .story .cap:last-child { padding: 16px 18px; }
	.story .cap p, .story .cap:last-child p { font-size: 16px; }
}
/* Tall stills and card rectangles: tall screens, and every compact screen (below). */
@media (max-aspect-ratio: 21/20), (max-width: 639px), (max-height: 499px) {
	@supports (width: 1cqw) {
		/* The tall frame keeps the cards inside the stage and above the caption sheet (--sheet).
		 * The cards' band is 17% to 66% of its height and 0.4% to 92.5% of its width. The frame
		 * covers the stage when that band fits, and otherwise shrinks until it does, its sides
		 * fading into the stage. It is placed so the band is centred across the stage and sits
		 * in the space above the sheet; a strip it leaves at the bottom is behind the sheet. */
		.story .film-box { --sheet: calc(var(--sheet-h) + 12px); --h: min(max(200cqw, 100cqh), (100cqh - var(--sheet)) / 0.52, 215cqw); --w: calc(var(--h) / 2); aspect-ratio: auto; width: var(--w); height: var(--h);
			left: max(min(100cqw - var(--w), (100cqw - var(--w)) / 2), min(50cqw - 0.4648 * var(--w), 0px)); top: min((100cqh - var(--sheet) - 0.49 * var(--h)) / 2 - 0.17 * var(--h), 0px); }
	}
	/* Card rectangles of the tall film (1008 x 2016) and stills. */
	.story .card:nth-child(1) { left: 4.752%; top: 19.164%; width: 75.359%; height: 24.066%; }
	.story .card:nth-child(2) { left: 17.054%; top: 35.92%; width: 65.891%; height: 21.043%; }
	.story .card:nth-child(3) { left: 25.035%; top: 33.056%; width: 67.487%; height: 21.552%; }
	.story .card:nth-child(4) { left: 0.43%; top: 35.137%; width: 85.562%; height: 31.807%; }
	/* The record's words a little larger on the tall film; they still fit the same rows. */
	.story .card--rec .card-h { font-size: 5.3cqw; }
	.story .card-row { font-size: 4.6cqw; }
}
@media (max-width: 900px) and (not (max-aspect-ratio: 21/20)) {
	.story { --clear: calc(30cqw + 36px); }
	.story .captions { right: auto; width: 30%; height: 200px; }
	.story .cap, .story .cap:last-child { padding: 14px 16px; }
	.story .cap p, .story .cap:last-child p { font-size: 16px; }
}
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		@media (max-width: 900px), (max-aspect-ratio: 21/20) {
			.story .cap p { animation: none; }
			.story .cap:nth-child(1) { animation-name: sy-story-k1; } .story .cap:nth-child(2) { animation-name: sy-story-k2; } .story .cap:nth-child(3) { animation-name: sy-story-k3; } .story .cap:nth-child(4) { animation-name: sy-story-k4; }
		}
	}
}

/* Compact screens, too small for the pinned story (under 500 px high, under 300 px across, or
 * wider than tall but under 640 px across): the story becomes a plain sequence in a column up to
 * 340 px wide, each step's tall still with its card, then the step's words. No pinning, no film
 * (story-film.js uses the same query). Below 300 px the cards are set as ordinary text boxes under
 * each still, so their words keep a readable size. */
@media (max-height: 499px), (max-width: 639px) and (not (max-aspect-ratio: 21/20)), (max-width: 299px) {
	:root .story { height: auto; }
	:root .story .story-pin { position: static; height: auto; padding: 24px clamp(8px, 4vw, 16px) 0; }
	:root .story .stage { display: grid; grid-template-columns: minmax(0, 340px); justify-content: center; gap: 0; height: auto; overflow: visible; container-type: normal; background: none; }
	:root .story .film-box, :root .story .frames, :root .story .cards, :root .story .captions { display: contents; }
	:root .story .film { display: none; }
	:root .story .frames picture { position: relative; inset: auto; display: block; width: 100%; height: auto; grid-column: 1; opacity: 1; animation: none; }
	:root .story .frames img { position: static; display: block; width: 100%; height: auto; animation: none; }
	:root .story .card { position: relative; grid-column: 1; align-self: start; justify-self: start; opacity: 1; animation: none; }
	:root .story .cap, :root .story .cap:last-child { position: relative; inset: auto; grid-column: 1; display: block; max-width: none; margin: 10px 0 28px; padding: 14px 16px; border-radius: 16px; opacity: 1; translate: none; animation: none;
		color: var(--ink, #0E1311); background-color: rgb(255 255 255 / 0.9); box-shadow: 0 10px 30px -12px rgb(14 19 17 / 0.3); }
	:root .story .cap small { font-size: 13px; color: #565D59; }
	:root .story .cap p, :root .story .cap:last-child p { width: auto; padding-top: 6px; font-size: 16px; line-height: 1.3; color: #0E1311; opacity: 1; animation: none; }
	:root .story .frames picture:nth-child(1), :root .story .card:nth-child(1) { grid-row: 1; } :root .story .cap:nth-child(1) { grid-row: 2; }
	:root .story .frames picture:nth-child(2), :root .story .card:nth-child(2) { grid-row: 3; } :root .story .cap:nth-child(2) { grid-row: 4; }
	:root .story .frames picture:nth-child(3), :root .story .card:nth-child(3) { grid-row: 5; } :root .story .cap:nth-child(3) { grid-row: 6; }
	:root .story .frames picture:nth-child(4), :root .story .card:nth-child(4) { grid-row: 7; } :root .story .cap:nth-child(4) { grid-row: 8; }
}

@media (max-width: 299px) {
	:root .story .card { position: relative; left: auto; top: auto; width: auto; height: auto; container-type: normal; margin: 8px 0 0; padding: 12px 14px; border-radius: 12px; box-shadow: 0 6px 20px -12px rgb(14 19 17 / 0.35); overflow-wrap: anywhere; }
	:root .story .card > span { position: static; display: block; }
	:root .story .card--req .card-k { font-size: 12px; }
	:root .story .card--req .card-t { margin-top: 2px; font-size: 15px; }
	:root .story .card--req .card-chip { display: block; min-width: 0; max-width: none; height: auto; margin-top: 8px; padding: 6px 10px; border-left-width: 3px; font-size: 13px; white-space: normal; }
	:root .story .card--rec .card-h { display: flex; gap: 8px; font-size: 14px; }
	:root .story .card--rec .card-h i { width: 16px; height: 16px; }
	:root .story .card-row { display: flex; flex-wrap: wrap; height: auto; margin-top: 6px; padding: 6px 0 0; border-top-width: 1px; font-size: 12.5px; white-space: normal; }
	:root .story .card-row > span:last-child { overflow: visible; }
	:root .story .cap small { flex-wrap: wrap; white-space: normal; }
	:root .story .cap { overflow-wrap: anywhere; }
	:root .story .frames picture:nth-child(1) { grid-row: 1; } :root .story .card:nth-child(1) { grid-row: 2; } :root .story .cap:nth-child(1) { grid-row: 3; }
	:root .story .frames picture:nth-child(2) { grid-row: 4; } :root .story .card:nth-child(2) { grid-row: 5; } :root .story .cap:nth-child(2) { grid-row: 6; }
	:root .story .frames picture:nth-child(3) { grid-row: 7; } :root .story .card:nth-child(3) { grid-row: 8; } :root .story .cap:nth-child(3) { grid-row: 9; }
	:root .story .frames picture:nth-child(4) { grid-row: 10; } :root .story .card:nth-child(4) { grid-row: 11; } :root .story .cap:nth-child(4) { grid-row: 12; }
}

/* The line under the story. */
.story-out { padding: 44px var(--gutter) 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.story-out p { font-size: 17px; max-width: 40ch; color: var(--ink-2); }

/* ---------- What we are designing (the product window: product.css) ---------- */
.designing { padding: 160px var(--gutter) 0; }
.designing .lede { margin-top: 24px; max-width: 52ch; font-size: 17px; color: var(--ink-2); }
.designing .shot-note { margin-top: 24px; font-size: 13px; color: var(--ink-3); }

/* ---------- Teams: an editorial split ---------- */
.teams { padding: 180px var(--gutter) 0; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.teams figure { margin: 0; aspect-ratio: 4 / 5; max-height: calc(100vh - 124px); overflow: clip; position: sticky; top: 92px; }
.teams figure img { width: 100%; height: 100%; object-fit: cover; }
/* A photograph of people, graded to sit with the renders, with the product's approval card on top. */
.teams .people img { filter: saturate(0.78) contrast(0.96) brightness(1.03); object-position: 82% 50%; }
.teams .appr-card { position: absolute; left: 6%; bottom: 6%; width: min(330px, 78%); padding: 18px 20px 20px; border-radius: 16px; background: rgb(255 255 255 / 0.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgb(14 19 17 / 0.06), 0 30px 60px -28px rgb(14 19 17 / 0.55); font-size: 14px; line-height: 1.4; color: var(--ink); }
.teams .appr-card small { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-3); }
.teams .appr-card small i { width: 7px; height: 7px; border-radius: 50%; background: #C99120; box-shadow: 0 0 0 4px rgb(201 145 32 / 0.16); }
.teams .appr-card b { display: block; margin: 8px 0 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.015em; }
/* The card's rows and buttons match the product window's (.kv2, .btn in product.css). */
.teams .appr-card .kv2 { display: flex; justify-content: space-between; gap: 1em; font-size: 13px; padding: 9px 0; border-top: 1px solid rgb(14 19 17 / 0.07); }
.teams .appr-card .kv2 em { font-style: normal; color: var(--ink-3); }
.teams .appr-card .acts { display: flex; gap: 8px; margin-top: 14px; }
.teams .appr-card .btn { font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid rgb(14 19 17 / 0.15); white-space: nowrap; }
.teams .appr-card .btn.dark { background: var(--pine); border-color: var(--pine); color: #fff; }
.teams .people.card-right .appr-card { left: auto; right: 6%; }
.teams .people.card-top .appr-card { top: 6%; bottom: auto; }
.teams .intro p { margin-top: 24px; max-width: 44ch; font-size: 17px; color: var(--ink-2); }
.teams .tlist { margin: 56px 0 0; padding: 0; list-style: none; }
.teams .tlist li { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 0 24px; border-top: 1px solid var(--line); }
.teams .tlist li:last-child { border-bottom: 1px solid var(--line); }
.teams .tlist b { font-weight: 400; font-size: 20px; letter-spacing: -0.015em; }
.teams .tlist span { font-size: 15px; line-height: 1.5; color: var(--ink-3); }

/* ---------- What is at stake ---------- */
.stakes { padding: 180px var(--gutter) 0; display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.stakes > p { position: sticky; top: 140px; align-self: start; font-size: 24px; line-height: 1.35; letter-spacing: -0.015em; max-width: 26ch; }
.stakes .slist > div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; padding: 26px 0 60px; border-top: 1px solid var(--line); }
.stakes .slist b { font-weight: 400; font-size: clamp(56px, 7vw, 112px); line-height: 0.86; letter-spacing: -0.055em; }
.stakes .slist strong { display: block; font-weight: 400; font-size: 19px; letter-spacing: -0.01em; }
.stakes .slist span { display: block; margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
.stakes .slist .src { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-3); max-width: 64ch; }

/* ---------- Commitments (dark) ---------- */
.sy-home > .commit { margin-top: 160px; background: #0C1412; color: #fff; padding: 112px var(--gutter) 128px; }
.commit h2 { max-width: 17ch; color: inherit; }
.commit h2 + p { margin-top: 22px; max-width: 46ch; font-size: 16px; color: rgb(255 255 255 / 0.74); }
.commit .c-head { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center; }
/* The same glass set at night; its left edge dissolves into the section. */
.commit .c-art { margin: 0; aspect-ratio: 16 / 10; overflow: clip; -webkit-mask-image: radial-gradient(75% 80% at 58% 52%, #000 52%, transparent 100%); mask-image: radial-gradient(75% 80% at 58% 52%, #000 52%, transparent 100%); }
.commit .c-art img { width: 100%; height: 100%; object-fit: cover; }
.commit .ic { display: block; width: 30px; height: 30px; margin-bottom: 18px; fill: none; stroke: #74CDA2; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.commit .grid6 { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(255 255 255 / 0.14); }
.commit .grid6 > div { min-width: 0; padding: 32px 32px 44px 0; border-bottom: 1px solid rgb(255 255 255 / 0.14); overflow-wrap: break-word; hyphens: auto; }
.commit .grid6 > div:not(:nth-child(3n+1)) { padding-left: 32px; border-left: 1px solid rgb(255 255 255 / 0.14); }
.commit .grid6 strong { display: block; font-weight: 400; font-size: 22px; letter-spacing: -0.015em; }
.commit .grid6 p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgb(255 255 255 / 0.74); max-width: 36ch; }

/* ---------- Insights ---------- */
/* A detail still of the same glass set; the words sit in its open space. The band clips (never
 * hides) its overflow, so the image's view() timeline keeps the page as its scroller. */
.ins-band { position: relative; height: 86vh; min-height: 560px; overflow: clip; color: var(--ink); background: #EFEFEC; isolation: isolate; }
.ins-band picture, .ins-band img { position: absolute; inset: -6% 0; width: 100%; height: 112%; z-index: -2; }
.ins-band img { object-fit: cover; object-position: 70% 50%; }
@supports (animation-timeline: view()) { .ins-band img { animation: sy-home-drift linear both; animation-timeline: view(); } @keyframes sy-home-drift { from { translate: 0 -3%; scale: 1.06; } to { translate: 0 3%; scale: 1; } } }
.ins-band .copy { position: absolute; left: var(--gutter); top: 50%; translate: 0 -50%; }
.ins-band small { font-size: 15px; color: var(--ink-3); }
.ins-band h2 { margin-top: 14px; max-width: 12ch; }
.insights { padding: 72px var(--gutter) 0; }
.insights .head { display: flex; flex-wrap: wrap; gap: 16px 24px; justify-content: space-between; align-items: center; }
.insights .ins { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.insights .ins article { display: flex; flex-direction: column; }
.insights .thumb { margin: 0 0 20px; aspect-ratio: 4 / 3; overflow: clip; background: #EFEFEC; }
.insights .thumb img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.7s var(--ease); }
.insights .ins article:hover .thumb img { scale: 1.035; }
.insights .ins small { font-size: 13px; color: var(--ink-3); }
.insights .ins h3 { margin-top: 10px; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; }
.insights .ins .more { margin-top: auto; padding-top: 18px; }
.insights .ins p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-3); }
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		/* Cards in a row fade in place, so their top lines stay level. */
		.insights .ins article.rv { animation-name: sy-home-fade; }
		.insights .ins article:nth-child(2) { animation-range: entry 8% entry 68%; }
		.insights .ins article:nth-child(3) { animation-range: entry 16% entry 76%; }
		@keyframes sy-home-fade { from { opacity: 0; } to { opacity: 1; } }
	}
}

/* ---------- Vision ---------- */
.sy-home > .vision { margin-top: 160px; padding: 0 var(--gutter); display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: end; }
.vision .eyebrow { display: block; font-size: 15px; color: var(--ink-3); }
.vision .lead { margin-top: 22px; max-width: 26ch; font-size: clamp(28px, 3vw, 44px); line-height: 1.14; letter-spacing: -0.025em; }
.vision .cols { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
/* The same set in late-afternoon window light: the one warm picture on the page. */
.vision .v-art { margin: 0; aspect-ratio: 5 / 4; overflow: clip; }
.vision .v-art img { width: 100%; height: 100%; object-fit: cover; }
.vision .cols p { font-size: 17px; color: var(--ink-2); }
.vision .sig { color: var(--ink-3); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 1100px) {
	.commit .grid6 { grid-template-columns: 1fr 1fr; }
	.commit .grid6 > div, .commit .grid6 > div:not(:nth-child(3n+1)) { padding: 22px 24px 32px 0; border-left: 0; }
	.commit .grid6 > div:nth-child(even) { padding-left: 24px; border-left: 1px solid rgb(255 255 255 / 0.14); }
}
@media (max-width: 900px) {
	.hero { min-height: 640px; }
	.hero .hero-copy { bottom: 40px; }
	.hero .hero-copy h1 { font-size: 42px; }
	.hero .hero-copy .sub { flex-direction: column; gap: 18px; font-size: 16px; }
	.hero .hero-copy .sub .pill { display: none; }
	.statement { padding: 96px var(--gutter) 72px; }
	.statement h2 br { display: none; }
	.statement .pillars { grid-template-columns: 1fr; gap: 22px; margin-top: 48px; }
	.story-out { flex-direction: column; align-items: flex-start; }
	.designing { padding-top: 110px; }
	.teams { grid-template-columns: 1fr; gap: 36px; padding-top: 110px; }
	.teams figure { position: static; }
	.teams .tlist { margin-top: 36px; }
	.teams .tlist li { grid-template-columns: 1fr; gap: 6px; }
	.stakes { grid-template-columns: 1fr; gap: 36px; padding-top: 110px; }
	.stakes .slist > div { grid-template-columns: 1fr; gap: 14px; padding-bottom: 40px; }
	.sy-home > .commit { margin-top: 110px; padding: 88px var(--gutter); }
	.commit .grid6 { margin-top: 48px; }
	.commit .c-head { grid-template-columns: 1fr; gap: 28px; }
	.commit .c-art { margin: 0 calc(var(--gutter) * -1); -webkit-mask-image: none; mask-image: none; }
	.commit .ic { width: 26px; height: 26px; margin-bottom: 12px; }
	.stakes > p { position: static; }
	.sy-home > .vision { grid-template-columns: 1fr; gap: 36px; margin-top: 96px; }
	.commit .grid6 > div, .commit .grid6 > div:not(:nth-child(3n+1)), .commit .grid6 > div:nth-child(even) { padding: 18px 12px 24px 0; border-left: 0; }
	.commit .grid6 > div:nth-child(even) { padding-left: 12px; border-left: 1px solid rgb(255 255 255 / 0.14); }
	.commit .grid6 strong { font-size: 17px; }
	.commit .grid6 p { font-size: 14px; }
	.ins-band { height: 78vh; min-height: 520px; }
	.ins-band img { object-position: 50% 50%; }
	.ins-band .copy { top: 72px; translate: none; right: var(--gutter); }
	.insights .ins { grid-template-columns: 1fr; gap: 28px; }
	.vision .cols { grid-template-columns: 1fr; gap: 18px; margin-top: 32px; }
}
