/* Alonzo Digital — loud and flat.
   Street-poster pages: whole fields of flat colour that meet edge to edge, the heaviest widest
   capitals Archivo has, and the app icons blown up into big tilted shapes.
   No shadows, no gradients, no outlines, square corners. One family: Archivo. */

:root {
    --bone: #efe9dc;
    --bone-2: #e4dccb;
    --navy: #13204a;
    --ink: #0e1838;
    --amber: #ffb31a;
    --red: #ef4b36;
    --on-navy: #efe9dc;
    --on-navy-soft: #c9ccd8;

    --edge: clamp(16px, 2.2vw, 32px);
    --gap: clamp(16px, 2vw, 32px);
    --frame: max(var(--edge), calc((100% - 1760px) / 2));
    --block: clamp(88px, 10vw, 168px);

    --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --step-small: 0.9375rem;
    --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
    --step-lead: clamp(1.25rem, 1rem + 0.9vw, 1.875rem);
    --step-head: clamp(2.25rem, 1.2rem + 4vw, 5.25rem);
    --step-poster: clamp(3.25rem, 11vw, 12.5rem);

    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bone);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--step-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 4px; }
button { font: inherit; color: inherit; }

::selection { background: var(--ink); color: var(--amber); }

:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; }
.field-navy :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }

.skip-link {
    position: absolute; left: var(--edge); top: var(--edge); z-index: 100;
    background: var(--ink); color: var(--bone); padding: 12px 16px; font-weight: 700; text-decoration: none;
}
.skip-link:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; }

.visually-hidden {
    position: absolute !important; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Fields and type ---------- */

.wrap, .board { padding-inline: var(--frame); }

.field-amber { background: var(--amber); color: var(--ink); }
.field-red { background: var(--red); color: var(--ink); }
.field-bone { background: var(--bone); color: var(--ink); }
.field-navy { background: var(--navy); color: var(--on-navy); }

.lead { font-size: var(--step-lead); line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.small { font-size: var(--step-small); }
.muted { opacity: 0.85; }

.hero-name, .poster-word, .sect-h, .page-h, .app-name, .oops-big, .blockmark, .wordmark {
    font-family: var(--font);
    font-weight: 900;
    font-stretch: 125%;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.poster-word { font-size: var(--step-poster); line-height: 0.86; }
.sect-h { font-size: var(--step-head); line-height: 0.95; }
.page-h { font-size: clamp(2rem, 1rem + 5.4vw, 7rem); line-height: 0.9; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    min-height: 56px; padding: 14px 24px;
    border: 0; border-radius: 0; cursor: pointer;
    font-weight: 800; font-stretch: 112%; font-size: 1.0625rem; line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-navy, .btn-ink { background: var(--navy); color: var(--bone); }
.btn-navy:hover, .btn-ink:hover { background: var(--ink); color: var(--amber); }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--bone); }
.btn-bone { background: var(--bone); color: var(--ink); }
.btn-bone:hover { background: var(--amber); }
.field-navy .btn-ink { background: var(--amber); color: var(--ink); }
.field-navy .btn-ink:hover { background: var(--bone); }
.btn-big { min-height: 68px; padding: 18px 32px; font-size: 1.25rem; }
.btn-small { min-height: 44px; padding: 10px 18px; font-size: 1rem; }

/* ---------- Top bar ---------- */

.topbar-row {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 80px; padding-block: 12px;
}
.wordmark { font-size: 1.25rem; text-decoration: none; line-height: 1; }
.topnav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 36px); font-weight: 700; }
.topnav a:not(.btn) { text-decoration: none; padding: 8px 0; position: relative; }
.topnav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 3px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 220ms var(--ease-out); }
.topnav a:not(.btn):hover::after, .topnav a[aria-current="page"]::after { transform: scaleX(1); }

/* ---------- Home: hero ---------- */

.hero { overflow: clip; }
.hero-grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
    min-height: calc(100svh - 80px); grid-template-rows: auto 1fr;
}
.hero-name {
    grid-column: 1 / -1;
    font-size: min(16.8vw, 18rem); line-height: 0.84;
    padding-top: clamp(8px, 2vw, 32px);
    transform-origin: 0 0;
}
.hero-name span { display: block; white-space: nowrap; }
.hero-copy {
    grid-column: 1 / 5; align-self: start;
    display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
    padding-top: clamp(28px, 3vw, 48px); padding-bottom: 48px;
}
.hero-say { font-size: var(--step-lead); line-height: 1.25; font-weight: 800; max-width: 22ch; }
.stage-note { min-height: 7.5em; }
.note p { max-width: 38ch; }
.note-foot { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-weight: 700; font-size: var(--step-small); }

.cluster { grid-column: 5 / -1; position: relative; margin-right: calc(-1 * var(--frame)); min-height: 380px; }
.big-icon {
    position: absolute; left: var(--x); top: var(--y); width: var(--s); aspect-ratio: 1;
    background: var(--icon-bg); display: block; overflow: hidden;
    rotate: var(--r);
    transition: rotate 320ms var(--ease-out), scale 320ms var(--ease-out), opacity 320ms var(--ease-out);
}
.big-icon img { width: 100%; height: 100%; object-fit: contain; }
.big-icon.pad img { padding: 14%; }
a.big-icon { cursor: pointer; }
a.big-icon:hover, a.big-icon:focus-visible { rotate: 0deg; scale: 1.05; z-index: 3; }
a.big-icon[aria-pressed="true"] { rotate: 0deg; scale: 1.08; z-index: 4; }
.has-choice .big-icon:not([aria-pressed="true"]) { opacity: 0.55; }

.i1 { --x: 0%; --y: 6%; --s: 25%; --r: -6deg; }
.i2 { --x: 15%; --y: 44%; --s: 21%; --r: 5deg; }
.i3 { --x: 29%; --y: 0%; --s: 19%; --r: 9deg; }
.i4 { --x: 40%; --y: 50%; --s: 16%; --r: -4deg; }
.i5 { --x: 53%; --y: 8%; --s: 22%; --r: 4deg; }
.i6 { --x: 66%; --y: 46%; --s: 24%; --r: -5deg; }
.i7 { --x: 80%; --y: 0%; --s: 19%; --r: 8deg; }

/* ---------- Home: apps ---------- */

.apps-head { padding-block: var(--block) clamp(56px, 6vw, 96px); }
.apps-head-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--gap); align-items: end; }
.apps-head .poster-word { grid-column: 1 / 8; color: var(--amber); }
.apps-tools { grid-column: 8 / -1; display: grid; gap: 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters[hidden] { display: none; }
.filters button {
    min-height: 48px; padding: 10px 18px; border: 0; border-radius: 0; cursor: pointer;
    background: var(--bone); color: var(--ink); font-weight: 800;
    transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--amber); }
.apps-jump { display: flex; flex-wrap: wrap; gap: 6px 22px; font-weight: 800; font-size: 1.125rem; }
.apps-jump a { text-decoration: none; }
.apps-jump a:hover { color: var(--amber); }

.app { overflow: clip; padding-top: var(--block); }
.app[hidden] { display: none; }
.app-grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
    grid-template-rows: auto auto 1fr; align-items: start;
}
.app-name { grid-column: 1 / -1; grid-row: 1; font-size: clamp(2.4rem, 9vw, 10rem); line-height: 0.88; }
#app-aisg .app-name { font-size: clamp(2.4rem, 7.4vw, 8.5rem); }
.app-mark {
    grid-column: 9 / -1; grid-row: 2 / span 2; justify-self: end; align-self: start;
    width: min(26vw, 400px); aspect-ratio: 1; background: var(--icon-bg);
    rotate: -5deg; margin-top: clamp(24px, 3vw, 48px); margin-bottom: clamp(40px, 5vw, 80px);
}
.app-mark img { width: 100%; height: 100%; object-fit: contain; }
.app-mark.pad img { padding: 14%; }
.app-copy { grid-column: 1 / 7; grid-row: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(40px, 5vw, 80px); }
.app-copy .lead { max-width: 30ch; }
.app-meta { font-weight: 700; }

.app.flip .app-mark { grid-column: 1 / 5; justify-self: start; rotate: 5deg; }
.app.flip .app-copy { grid-column: 6 / -1; }

.strip {
    display: flex; gap: 12px; align-items: flex-end;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity;
    padding-inline: var(--frame); scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip img, .strip video { height: clamp(320px, 34vw, 480px); width: auto; flex: none; scroll-snap-align: start; background: var(--bone-2); }
.strip video { aspect-ratio: 258 / 560; }

/* ---------- Home: who we are ---------- */

.who { padding-block: var(--block); overflow: clip; }
.who-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 64px var(--gap); align-items: start; }
.who-text { grid-column: 1 / 6; padding-top: 24px; display: grid; gap: 24px; justify-items: start; }
.who-text p:not(.lead) { max-width: 52ch; }
.who-pic { grid-column: 7 / -1; margin-right: calc(-1 * var(--frame)); rotate: 2deg; }
.who-pic img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.who-pic figcaption { background: var(--navy); color: var(--on-navy); padding: 18px 22px; font-weight: 600; max-width: 46ch; margin-top: -1px; }
.who-facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr 1.2fr 1.6fr; gap: var(--gap); }
.who-facts li { font-size: var(--step-lead); font-weight: 900; font-stretch: 112%; line-height: 1.15; }
.who-facts span { display: block; font-size: var(--step-small); font-weight: 600; font-stretch: 100%; margin-bottom: 6px; }

/* ---------- Home: the close ---------- */

.close { padding-block: var(--block); }
.close-grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap);
    min-height: min(78svh, 760px); align-content: space-between;
}
.close .poster-word { grid-column: 1 / -1; }
.close-say { grid-column: 1 / 7; align-self: end; max-width: 34ch; }
.close-acts { grid-column: 8 / -1; align-self: end; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.mail-link { font-weight: 800; font-size: var(--step-lead); }

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(56px, 7vw, 112px) 32px; }
.blockmark {
    display: flex; align-items: flex-end; gap: 4px;
    height: clamp(180px, 34svh, 360px);
    transform-origin: 50% 100%;
}
.blockmark span {
    flex: 1 1 0; height: var(--h); background: var(--c); color: var(--navy);
    display: flex; align-items: flex-end; justify-content: center;
    font-size: min(13vw, 15rem); line-height: 0.78; overflow: hidden;
}
.foot-grid {
    display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap);
    padding-top: 56px;
}
.foot-say { grid-column: 1 / 6; max-width: 26ch; }
.foot-list:nth-of-type(1) { grid-column: 6 / 8; }
.foot-list:nth-of-type(2) { grid-column: 8 / 10; }
.foot-contact { grid-column: 10 / -1; display: grid; gap: 10px; align-content: start; }
.site-footer h2 { font-size: var(--step-small); font-weight: 600; color: var(--on-navy-soft); margin-bottom: 12px; line-height: 1.4; }
.foot-contact h2 { margin-bottom: 2px; }
.foot-list li + li { margin-top: 6px; }
.foot-list a, .foot-list button, .foot-contact a { font-weight: 700; text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.foot-list a:hover, .foot-list button:hover, .foot-contact a:hover { color: var(--amber); }
html:not(.js) [data-consent-open] { display: none; }
.foot-legal { margin-top: 64px; font-size: var(--step-small); color: var(--on-navy-soft); max-width: 120ch; }

/* ---------- Inner pages ---------- */

.page-top { padding-block: clamp(48px, 6vw, 112px); overflow: clip; }
.page-top-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); align-items: center; }
.page-top-grid > .page-h { grid-column: 1 / -1; }
.page-top-text { grid-column: 1 / 7; display: grid; gap: 28px; align-self: center; }
.page-top-text .lead { max-width: 34ch; }
.page-top-pic { grid-column: 8 / -1; rotate: 4deg; max-width: 560px; justify-self: end; width: 100%; }
.page-top-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.make { padding-block: var(--block) 0; overflow: clip; }
.make-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; padding-bottom: clamp(48px, 6vw, 96px); }
.make-text { grid-column: 1 / 6; display: grid; gap: 20px; }
.make-pic { grid-column: 7 / -1; margin-right: calc(-1 * var(--frame)); }
.make-pic img { width: 100%; aspect-ratio: 896 / 560; object-fit: cover; }
.strip-wide { padding-bottom: 0; }

.how { padding-block: var(--block); }
.how-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 56px var(--gap); }
.how .poster-word { grid-column: 1 / -1; color: var(--amber); }
.how-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.how-list li { font-size: var(--step-lead); font-weight: 700; line-height: 1.3; padding: 36px 32px 44px; }
.how-list li:nth-child(1) { background: var(--bone); color: var(--ink); }
.how-list li:nth-child(2) { background: var(--amber); color: var(--ink); }
.how-list li:nth-child(3) { background: var(--red); color: var(--ink); }
.how-list li:nth-child(4) { background: var(--on-navy-soft); color: var(--ink); }

.details-band { padding-block: var(--block); }
.details-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: end; }
.details-grid .sect-h { grid-column: 1 / -1; }
.details { grid-column: 1 / 9; display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr); gap: 14px var(--gap); font-size: var(--step-lead); }
.details dt { font-size: var(--step-small); font-weight: 600; padding-top: 0.5em; }
.details dd { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.details-go { grid-column: 9 / -1; justify-self: end; }

.mail-block {
    grid-column: 8 / -1; justify-self: stretch; display: grid; gap: 10px;
    background: var(--navy); color: var(--bone); padding: clamp(24px, 3vw, 44px); text-decoration: none;
    rotate: -3deg; transition: rotate 260ms var(--ease-out), background-color 200ms;
}
.mail-block:hover { rotate: 0deg; background: var(--ink); }
.mail-block span { font-weight: 600; }
.mail-block strong { font-size: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem); font-weight: 900; font-stretch: 112%; overflow-wrap: break-word; line-height: 1.1; }

.contact-body { padding-block: var(--block); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 48px var(--gap); align-items: start; }
.form-tile { grid-column: 1 / 8; display: grid; gap: 32px; }
.contact-side { grid-column: 9 / -1; display: grid; gap: 0; }
.info-block { padding: 32px; display: grid; gap: 12px; }
.info-block h2 { font-size: var(--step-lead); font-weight: 900; font-stretch: 112%; line-height: 1.15; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-weight: 700; }
.field input, .field textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fffdf8;
    border: 3px solid var(--ink); border-radius: 0; padding: 14px 16px; min-height: 56px;
}
.field textarea { min-height: 200px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 4px solid var(--amber); outline-offset: 0; }
.was-validated .field input:invalid, .was-validated .field textarea:invalid { border-color: #b3261e; }
.form-note { margin-bottom: 24px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-status:empty { display: none; }
.form-status { padding: 16px 18px; margin-bottom: 20px; font-weight: 700; }
.form-status.ok { background: var(--navy); color: var(--bone); }
.form-status.error { background: var(--red); color: var(--ink); }
.text-link { font-weight: 700; }

.oops { padding-block: var(--block); }
.oops-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); min-height: 62svh; align-content: center; }
.oops-big { grid-column: 1 / -1; font-size: min(28vw, 26rem); line-height: 0.8; color: var(--navy); }
.oops-text { grid-column: 1 / 9; display: grid; gap: 24px; justify-items: start; }
.oops-text .lead { max-width: 40ch; }

/* Legal pages keep their own markup: a head board and a document board. */
.board { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gap); }
main > .board:first-child { background: var(--amber); padding-block: clamp(48px, 6vw, 112px); align-items: end; }
main > .board[lang="tr"]:first-child { background: var(--navy); color: var(--on-navy); }
main > .board + .board { padding-block: clamp(64px, 7vw, 120px); align-items: start; }
.page-head { grid-column: 1 / -1; display: grid; gap: 20px; }
.page-head h1 { font-weight: 900; font-stretch: 125%; text-transform: uppercase; letter-spacing: -0.02em; font-size: clamp(2rem, 0.9rem + 5vw, 6.5rem); line-height: 0.9; }
.page-head .small { font-weight: 600; }
.page-side { grid-column: 1 / 7; display: grid; gap: 12px; font-weight: 600; }
.brand-tile {
    grid-column: 1 / 6; justify-self: start; display: grid; gap: 18px; justify-items: start;
    padding: 28px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: var(--step-lead);
    rotate: 3deg; transition: rotate 260ms var(--ease-out);
}
.brand-tile:hover { rotate: 0deg; }
.brand-tile img { width: clamp(96px, 10vw, 160px); height: auto; background: #fff; }
.doc { grid-column: 1 / 9; }
.toc { grid-column: 9 / -1; position: sticky; top: 24px; background: var(--navy); color: var(--on-navy); padding: 28px; }
.toc h2 { font-weight: 900; font-stretch: 112%; font-size: 1.25rem; margin-bottom: 14px; }
.toc li + li { margin-top: 8px; }
.toc a { text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--amber); }
.prose { max-width: 70ch; }
.prose h2 { font-weight: 900; font-stretch: 112%; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; margin: 2em 0 0.6em; scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-weight: 800; font-size: 1.2rem; margin: 1.4em 0 0.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 1em; }
.prose li + li { margin-top: 0.4em; }
.prose a { font-weight: 700; }

/* ---------- Cookie choice ----------
   The first time, it is a navy band at the very top, so it covers nothing.
   Reopened from the footer, it floats in the corner as an amber block. */

.consent-wrap { display: none; background: var(--navy); color: var(--on-navy); }
.ask-consent .consent-wrap, .consent-wrap.is-open { display: block; }
.consent {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 32px;
    padding-block: 18px; font-weight: 600;
}
.consent a { color: inherit; }
.consent-actions { display: flex; gap: 8px; }
.consent-wrap.is-floating {
    position: fixed; z-index: 50; right: var(--edge); bottom: var(--edge);
    width: min(520px, calc(100vw - 2 * var(--edge)));
    background: var(--amber); color: var(--ink);
    animation: rise 420ms var(--ease-out) both;
}
.consent-wrap.is-floating .consent { grid-template-columns: 1fr; padding: 24px; }
.consent-wrap.is-floating .btn-amber { background: var(--navy); color: var(--bone); }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Motion ---------- */

.js [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out);
    transition-delay: var(--delay, 0ms);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
    .hero-name span { animation: slam 800ms var(--ease-out) both; }
    .hero-name span + span { animation-delay: 90ms; }
    .big-icon { animation: drop 760ms var(--ease-out) both; }
    .i1 { animation-delay: 160ms; } .i2 { animation-delay: 220ms; } .i3 { animation-delay: 280ms; }
    .i4 { animation-delay: 340ms; } .i5 { animation-delay: 400ms; } .i6 { animation-delay: 460ms; } .i7 { animation-delay: 520ms; }

    @supports (animation-timeline: view()) {
        .hero-name { animation: shrink linear both; animation-timeline: view(); animation-range: exit 0% exit 100%; }
        .blockmark { animation: grow linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
        .app-mark { animation: turn linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
        .who-pic, .page-top-pic { animation: drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    }
}
@keyframes slam { from { opacity: 0; translate: 0 0.25em; } }
@keyframes drop { from { opacity: 0; translate: 0 -60px; } }
@keyframes shrink { to { scale: 0.93; } }
@keyframes grow { from { scale: 0.94; } to { scale: 1; } }
@keyframes turn { from { translate: 0 40px; } to { translate: 0 -40px; } }
@keyframes drift { from { translate: 0 30px; } to { translate: 0 -30px; } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .js [data-reveal] { opacity: 1; transform: none; transition: none; }
    .btn, .big-icon, .mail-block, .brand-tile { transition: none; }
    .consent-wrap.is-floating { animation: none; }
}

/* ---------- Tablet ---------- */

@media (max-width: 1024px) {
    .hero-copy { grid-column: 1 / 6; }
    .cluster { grid-column: 6 / -1; }
    .apps-head .poster-word, .apps-tools { grid-column: 1 / -1; }
    .app-copy, .app.flip .app-copy { grid-column: 1 / 9; }
    .app-mark, .app.flip .app-mark { grid-column: 9 / -1; justify-self: end; width: 30vw; }
    .who-text { grid-column: 1 / -1; }
    .who-pic { grid-column: 2 / -1; }
    .who-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .close-say { grid-column: 1 / -1; }
    .close-acts { grid-column: 1 / -1; justify-self: start; align-items: flex-start; }
    .foot-say { grid-column: 1 / -1; }
    .foot-list:nth-of-type(1) { grid-column: 1 / 5; }
    .foot-list:nth-of-type(2) { grid-column: 5 / 9; }
    .foot-contact { grid-column: 9 / -1; }
    .page-top-text { grid-column: 1 / -1; }
    .page-top-pic { grid-column: 4 / -1; }
    .mail-block { grid-column: 1 / -1; justify-self: start; }
    .make-text { grid-column: 1 / -1; }
    .make-pic { grid-column: 3 / -1; }
    .details, .details-go { grid-column: 1 / -1; justify-self: start; }
    .form-tile, .contact-side { grid-column: 1 / -1; }
    .contact-side { grid-template-columns: 1fr 1fr; }
    .page-head, .page-side, .brand-tile, .doc { grid-column: 1 / -1; }
    .brand-tile { justify-self: start; }
    .toc { display: none; }
}

/* ---------- Phone ---------- */

@media (max-width: 640px) {
    .topbar-row { min-height: 64px; }
    .wordmark { font-size: 1rem; }
    .topnav { gap: 14px; font-size: 0.9375rem; }
    .topnav .btn-small { display: none; }

    .hero-grid { min-height: 0; }
    .hero-name { font-size: 16.6vw; padding-top: 16px; }
    .hero-copy { grid-column: 1 / -1; padding-bottom: 32px; }
    .stage-note { min-height: 0; }
    .hero-copy .btn { align-self: stretch; }
    .cluster { grid-column: 1 / -1; margin-inline: calc(-1 * var(--frame)); min-height: 0; aspect-ratio: 1 / 0.86; }
    .i1 { --x: 2%; --y: 2%; --s: 36%; }
    .i2 { --x: 40%; --y: 0%; --s: 30%; }
    .i3 { --x: 72%; --y: 6%; --s: 27%; }
    .i4 { --x: 4%; --y: 46%; --s: 26%; }
    .i5 { --x: 32%; --y: 36%; --s: 34%; }
    .i6 { --x: 66%; --y: 42%; --s: 33%; }
    .i7 { --x: 14%; --y: 76%; --s: 26%; }

    .apps-head .poster-word { font-size: 17vw; }
    .app-grid { grid-template-rows: auto; }
    .app-name { font-size: 10.4vw; }
    #app-aisg .app-name { font-size: 10.4vw; }
    .app-mark, .app.flip .app-mark { grid-column: 1 / -1; grid-row: 2; justify-self: end; width: 46vw; margin: 28px 8px 0; }
    .app.flip .app-mark { justify-self: start; }
    .app-copy, .app.flip .app-copy { grid-column: 1 / -1; grid-row: 3; }
    .app-copy .btn { align-self: stretch; }
    .strip img, .strip video { height: 300px; }

    .who-pic { grid-column: 1 / -1; margin-right: calc(-1 * var(--frame)); }
    .who-facts { grid-template-columns: 1fr; gap: 20px; }

    .close .poster-word { font-size: 12vw; }
    .close-grid { min-height: 0; }
    .close-acts { align-self: stretch; justify-self: stretch; }
    .close-acts .btn { width: 100%; }

    .blockmark { height: 16svh; min-height: 120px; }
    .page-h { font-size: 6.4vw; }
    .page-head h1 { font-size: 6.2vw; }
    .who-facts li { font-size: 1.25rem; }
    .foot-list:nth-of-type(1) { grid-column: 1 / 7; }
    .foot-list:nth-of-type(2) { grid-column: 7 / -1; }
    .foot-contact { grid-column: 1 / -1; }

    .page-top-pic { grid-column: 1 / -1; }
    .make-pic { grid-column: 1 / -1; }
    .how-list { grid-template-columns: 1fr; }
    .how-list li { padding: 24px 20px 28px; }
    .details { grid-template-columns: 1fr; gap: 4px; }
    .details dd { margin-bottom: 14px; }
    .details-go, .details-go .btn { width: 100%; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-side { grid-template-columns: 1fr; }
    .form-foot .btn { width: 100%; }
    .oops-text { grid-column: 1 / -1; }
    .consent { grid-template-columns: 1fr; }
    .consent-actions .btn { flex: 1; }
}
