/* Caster Tech Vietnam — homepage (index-motion.html). Tokens live in film.css.
   Reveals and scroll-linked motion only apply under html.motion-ok (no reduced-motion preference). */
:root { --wrap: 1280px; --gutter: clamp(20px, 5vw, 64px); --header: 76px; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: #fff; color: var(--ink); font: 400 17px/1.65 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol { margin: 0; }
ol { padding: 0; list-style: none; }
button { font: inherit; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.label { display: block; color: var(--orange); font: 700 13px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.sec-head { max-width: 1180px; margin-bottom: clamp(40px, 4.5vw, 64px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-title { margin-top: 22px; font: 700 clamp(40px, 5vw, 72px)/1.04 var(--display); letter-spacing: -.038em; text-wrap: balance; }
.sec-title em, .svc h3 em, .contact-title em { font-style: normal; color: var(--orange); }
.sec-sub { max-width: 640px; margin: 26px auto 0; color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); }
.ln { display: block; text-wrap: balance; }
.ln > * { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font: 600 15px/1 var(--text); transition: transform .3s var(--ease-out), background-color .3s, color .3s; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-deep); }
.btn-light { background: #fff; color: var(--orange-deep); }
.btn-light:hover { background: var(--ink); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; color: var(--ink); font-weight: 600; text-decoration: none; }
.text-link span { color: var(--orange); transition: transform .3s var(--ease-out); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- Header: over the film, no border; solid once the page moves ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); display: flex; align-items: center; gap: 28px; padding: 0 var(--gutter);
  transition: transform .5s var(--ease-out), background-color .4s, opacity .6s var(--ease-io); }
.site-header.is-solid { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.brand { display: block; width: 188px; margin-right: auto; }
.brand .logo, .footer-brand .logo { width: 100%; height: auto; }
.brand .lockup { width: 100%; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { position: relative; text-decoration: none; font: 500 15px/1 var(--text); color: var(--ink-2); padding: 8px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease-out); }
.nav a:hover::after, .nav a.is-current::after { transform: none; }
.nav a.is-current { color: var(--ink); }
.nav .nav-mail { display: none; }
.header-cta { height: 42px; padding: 0 20px; }
.menu-toggle { display: none; }

/* ---------- Hero: the brand film is the first screen ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.hero-film { position: absolute; inset: 0; }
.hero-static { position: absolute; inset: 0; display: grid; place-content: center; padding: 0 var(--gutter); text-align: center; background: var(--canvas); }
.hero-static-title { font: 700 clamp(48px, 8vw, 120px)/1.02 var(--display); letter-spacing: -.045em; }
.hero-static-title em { font-style: normal; color: var(--orange); }
.hero-static-tag { margin-top: 24px; color: var(--muted); font-size: clamp(17px, 1.6vw, 22px); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(72px, 7vw, 112px) 0; }

/* Shared shapes: soft peach tiles and dot patches */
.deco { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.section > .wrap { position: relative; z-index: 1; }
.blob { position: absolute; display: block; aspect-ratio: 1; border-radius: 28%; background: linear-gradient(145deg, rgba(255, 210, 186, .62), rgba(255, 236, 226, .2) 72%); transform: rotate(var(--r, -18deg)); }
.dots { position: absolute; display: block; background: radial-gradient(circle, rgba(242, 101, 34, .38) 1.3px, transparent 1.8px) 0 0 / 16px 16px; }
.rule { display: block; width: 56px; height: 4px; margin-top: 28px; border-radius: 4px; background: var(--orange); }
.btn i { display: grid; place-items: center; transition: transform .3s var(--ease-out); }
.btn .ico { width: 18px; height: 18px; stroke-width: 2.2; }
.btn:hover i { transform: translateX(3px); }

/* 01 About */
.about { overflow-x: clip; }
.about-photo .dots { z-index: -1; left: 0; bottom: 4%; width: 112px; height: 96px; }
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.about-copy .sec-title { margin-top: 20px; font-size: clamp(38px, 4.2vw, 62px); }
.about-copy p { color: var(--muted); font-size: clamp(16px, 1.25vw, 18px); }
.about-copy p + p { margin-top: 16px; }
.about-copy .lead { margin-top: 28px; color: var(--ink); font: 500 clamp(19px, 1.6vw, 23px)/1.5 var(--display); letter-spacing: -.01em; }
.about-copy .lead strong { color: var(--orange); font-weight: 600; }
.btn-cta { margin-top: 34px; height: 54px; padding: 0 26px 0 30px; box-shadow: 0 16px 32px -16px rgba(242, 101, 34, .9); }
.about-photo { position: relative; isolation: isolate; padding: 7% 5% 9% 7%; }
.about-photo .blob { z-index: -1; }
.about-photo .blob-1 { right: -7%; top: -3%; width: 58%; --r: 16deg; }
.about-photo .blob-2 { left: -4%; bottom: -1%; width: 40%; --r: -22deg; }
.about-photo .blob-3 { right: 6%; bottom: -6%; width: 18%; --r: 30deg; opacity: .8; }
/* The photo turns towards the copy: its left side recedes (shorter), its right side comes forward. */
.photo-tilt { border-radius: 30px; transform: perspective(1000px) rotateY(-24deg); box-shadow: 0 2px 6px rgba(70, 35, 10, .06), 0 44px 80px -40px rgba(120, 60, 20, .5); }
.photo-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 30px; background: #33475A; }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transform-origin: 61% 52%; }
.tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 12px; padding: 9px 18px 9px 9px; border-radius: 18px; background: #fff; color: var(--ink); white-space: nowrap;
  box-shadow: 0 1px 2px rgba(70, 35, 10, .08), 0 22px 44px -20px rgba(70, 35, 10, .4); font: 600 15px/1.25 var(--text); }
.tag-ic { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--orange-soft); color: var(--orange); }
.tag-ic .ico { width: 20px; height: 20px; stroke-width: 2; }
.tag-ic .spark { width: 24px; height: 25px; }
.tag small { display: block; margin-bottom: 3px; color: var(--muted); font: 600 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.tag-date { top: 2%; right: 0; }
.tag-ai { left: 0; top: 42%; }
.tag-place { left: 12%; bottom: 3%; }

/* Our focus: the market, then the four kinds of work in it */
.focus { display: grid; grid-template-columns: minmax(300px, 4fr) 8fr; align-items: center; gap: 28px; margin-top: clamp(48px, 5vw, 80px); padding: 24px 28px; border: 1px solid #F2ECE6; border-radius: 26px;
  background: #fff; box-shadow: 0 1px 2px rgba(70, 35, 10, .04), 0 28px 60px -36px rgba(120, 60, 20, .35); }
.focus-main { display: flex; align-items: center; gap: 18px; }
.ic-tile.ic-solid { width: 56px; height: 56px; border-radius: 18px; background: var(--orange); color: #fff; box-shadow: 0 12px 24px -12px rgba(242, 101, 34, .9); }
.ic-solid .ico { width: 26px; height: 26px; }
.focus-main p { color: var(--ink); font: 600 16px/1.45 var(--text); }
.focus-main .label { margin-bottom: 6px; }
.focus-list { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.focus-list li { display: flex; align-items: center; gap: 14px; padding: 6px 20px; border-left: 1px solid var(--line); font: 600 15px/1.3 var(--text); }

.profile { margin-top: clamp(64px, 7vw, 104px); }
.profile-label { margin-bottom: 22px; }
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { position: relative; padding: 22px 24px 22px 90px; border: 1px solid #F2ECE6; border-radius: 22px; background: #fff; box-shadow: 0 22px 44px -36px rgba(120, 60, 20, .4); }
.tile dt { color: var(--muted); font: 600 12px/1.3 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.tile dt .ic-tile { position: absolute; left: 24px; top: 50%; margin-top: -22px; }
.tile dd { margin-top: 8px; font: 600 clamp(17px, 1.4vw, 20px)/1.35 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tile dd small { color: var(--muted); font: 500 14px/1 var(--text); }

/* 02 Services: the film's scenes, floating on peach tiles with an orbit of icons around them */
.services { overflow-x: clip; }
.svc { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.svc + .svc { margin-top: clamp(72px, 8vw, 120px); }
.svc-flip { grid-template-columns: 5fr 7fr; }
.svc-flip .svc-media { order: 2; }
.svc-media { position: relative; isolation: isolate; }
.svc-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.svc-deco .blob-1 { left: 2%; top: 4%; width: 60%; --r: -14deg; }
.svc-deco .blob-2 { right: -2%; bottom: -2%; width: 46%; --r: 20deg; opacity: .85; }
.svc-deco .dots { right: 3%; top: -2%; width: 112px; height: 80px; }
.svc-flip .svc-deco .blob-1 { left: auto; right: 2%; --r: 14deg; }
.svc-flip .svc-deco .blob-2 { right: auto; left: -2%; --r: -20deg; }
.svc-flip .svc-deco .dots { right: auto; left: 3%; }
.orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; fill: none; }
.orbit ellipse { stroke: rgba(242, 101, 34, .55); stroke-width: 1.5; stroke-dasharray: 3 8; stroke-linecap: round; vector-effect: non-scaling-stroke; }
/* The icons sit on the orbit, in the margin around the scene, in front of it. */
.bubble { position: absolute; z-index: 3; display: grid; place-items: center; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; color: var(--orange);
  box-shadow: 0 1px 2px rgba(70, 35, 10, .06), 0 16px 32px -14px rgba(120, 60, 20, .45); }
.bubble .ico { width: 24px; height: 24px; stroke-width: 2; }
.b1 { left: 2.6%; top: 38%; }
.b2 { left: 58%; top: 3.5%; }
.b3 { left: 97%; top: 34%; }
.b4 { left: 41%; top: 96.5%; }
.svc-flip .b2 { left: 42%; }
.svc-flip .b4 { left: 59%; }
.svc-panel { position: relative; padding: 7%; }
.svc-viz { position: relative; }
.svc-copy .label { margin-bottom: 18px; }
.svc h3 { font: 700 clamp(30px, 3.1vw, 46px)/1.08 var(--display); letter-spacing: -.032em; }
.svc-copy .rule { margin-top: 24px; }
.svc-copy p { margin-top: 22px; color: var(--muted); font-size: clamp(16px, 1.2vw, 18px); }
.svc-feats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 30px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); list-style: none; }
.svc-feats li { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 0 12px 0 16px; border-left: 1px solid var(--line); color: var(--ink); font: 600 14px/1.35 var(--text); }
.svc-feats li:first-child { padding-left: 0; border-left: 0; }
.note { margin-top: 28px; color: #A39C95; font-size: 13px; text-align: right; }

/* 03 How we work: four steps on one line that fills as you scroll */
.process { overflow-x: clip; }
.process .wrap { max-width: calc(1120px + var(--gutter) * 2); }
.process .blob-1 { left: -110px; top: 40px; width: 400px; --r: -26deg; }
.process .blob-2 { left: 70px; top: 150px; width: 250px; --r: -26deg; opacity: .55; }
.process .blob-3 { right: -150px; top: -120px; width: 480px; --r: 20deg; opacity: .4; }
.dots-process { left: 6%; top: 120px; width: 112px; height: 112px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step-top { display: flex; align-items: center; gap: 14px; }
.step-ic { display: grid; place-items: center; flex-shrink: 0; width: 60px; height: 60px; border-radius: 50%; background: #fff; color: #A39C95;
  box-shadow: 0 1px 2px rgba(70, 35, 10, .06), 0 14px 30px -14px rgba(120, 60, 20, .4); transition: color .5s, transform .6s var(--ease-back); }
.step-ic .ico { width: 25px; height: 25px; stroke-width: 2; }
.step-top b { color: var(--ink-2); font: 700 15px/1 var(--display); letter-spacing: .04em; transition: color .5s; }
.step-line { position: relative; flex: 1; height: 2px; margin-right: 16px; background: radial-gradient(circle, #CFC8C1 1px, transparent 1.4px) 0 50% / 7px 2px repeat-x; }
.step-line i { position: absolute; inset: 0; border-radius: 2px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--lp, 1)); }
.steps li.is-on .step-ic { color: var(--orange); }
.steps li.is-on b { color: var(--orange); }
.steps h3 { margin-top: 22px; padding-left: 10px; font: 700 clamp(21px, 1.8vw, 25px)/1.1 var(--display); letter-spacing: -.025em; }
.steps p { max-width: 230px; margin-top: 8px; padding-left: 10px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* 04 Contact: one orange band, the pitch then the two ways to reach us */
.contact { padding: 0 clamp(10px, 1.2vw, 18px) clamp(10px, 1.2vw, 18px); }
.contact-panel { position: relative; overflow: hidden; border-radius: clamp(24px, 2.4vw, 36px); color: #fff; padding: clamp(44px, 4.6vw, 68px) 0;
  background: radial-gradient(60% 120% at 0% 100%, rgba(255, 166, 110, .55), transparent 70%), radial-gradient(50% 90% at 100% 0%, rgba(255, 150, 90, .35), transparent 70%), var(--orange); }
.contact .sq { position: absolute; display: block; aspect-ratio: 1; border-radius: 26%; background: linear-gradient(150deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .03) 75%); transform: rotate(var(--r)); }
.sq-1 { left: -70px; bottom: -60px; width: 220px; --r: 34deg; }
.sq-2 { left: 70px; top: -120px; width: 240px; --r: 30deg; opacity: .45; }
.sq-3 { right: -60px; bottom: -80px; width: 230px; --r: -32deg; }
.sq-4 { right: 140px; bottom: -150px; width: 200px; --r: 44deg; opacity: .45; }
.dots-light { right: 26px; top: 14%; width: 80px; height: 96px; background-image: radial-gradient(circle, rgba(255, 255, 255, .55) 1.2px, transparent 1.7px); }
/* Wide screens: pitch | email | address in one row; the two contact blocks take the width they need. */
.contact-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; }
.contact-intro { padding-right: clamp(24px, 3vw, 48px); }
.label-light { color: rgba(255, 255, 255, .88); }
.contact-title { margin-top: 16px; font: 700 clamp(32px, 2.8vw, 48px)/1.04 var(--display); letter-spacing: -.038em; }
.contact-title em { color: var(--ink); }
.contact-sub { max-width: 480px; margin-top: 18px; color: rgba(255, 255, 255, .92); font-size: clamp(15px, 1.15vw, 17px); }
.contact-block { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 8px 0 8px clamp(22px, 2.4vw, 40px); border-left: 1px solid rgba(255, 255, 255, .3); }
/* Room on both sides of each divider, so the email never runs into the line after it. */
.contact-block:not(:last-child) { padding-right: clamp(22px, 2.4vw, 40px); }
.c-ic { display: grid; place-items: center; flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px; background: rgba(255, 255, 255, .18); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.c-ic .ico { width: 24px; height: 24px; stroke-width: 1.8; }
.mini { display: block; margin-bottom: 10px; color: rgba(255, 255, 255, .82); font: 600 12px/1.3 var(--text); letter-spacing: .16em; text-transform: uppercase; }
.email { position: relative; display: inline-block; white-space: nowrap; color: #fff; text-decoration: none; font: 600 clamp(19px, 1.7vw, 26px)/1.2 var(--display); letter-spacing: -.02em; }
.email::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px; border-radius: 2px; background: currentColor; transform-origin: 0 50%; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-sm .ico { width: 16px; height: 16px; }
.contact-block .btn { display: flex; width: max-content; margin-top: 20px; }
.contact-block .btn:hover i { transform: none; }
address { max-width: 290px; font-style: normal; font-size: 15px; line-height: 1.6; }
.map-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding-bottom: 2px; border-bottom: 1.5px solid rgba(255, 255, 255, .5); color: #fff; font-weight: 600; text-decoration: none; }
.map-link .ico { width: 16px; height: 16px; }
.map-link:hover { border-color: #fff; }

/* Footer: one quiet line */
.site-footer { padding: 26px 0 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 14px; }
.footer-brand { display: block; width: 188px; }
.to-top { text-decoration: none; font-weight: 600; color: var(--ink-2); }
.to-top:hover { color: var(--orange-deep); }

/* ---------- Loader (motion only): the shuttle spins while the first screen gets ready, the C catches it,
   the name rises, and the whole logo flies into the header (assets/js/logo.js + site.js) ---------- */
.loader { display: none; }
.with-loader .loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; cursor: progress; animation: loader-failsafe .4s var(--ease-io) 9s forwards; }
.loader::before { content: ""; position: absolute; inset: 0; background: var(--canvas); transition: opacity .8s var(--ease-io) .1s; }
.loader.is-leaving { pointer-events: none; }
.loader.is-leaving::before { opacity: 0; }
.loader-fly { position: relative; width: min(460px, 72vw); transform-origin: 50% 50%; }
/* First only the shuttle, large and centred; then the logo settles to its own size around it. */
.loader-mark { transform: translateX(121.54%) scale(3.4); transition: transform 1.1s var(--ease-io); }
.loader.is-assembling .loader-mark { transform: none; }
.loader .c-line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease-io) .3s; }
.loader.is-assembling .c-line { stroke-dashoffset: 0; }
.loader .w { opacity: 0; transform: translate3d(0, 45%, 0); transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(.7s + var(--i) * 28ms); }
.loader.is-assembling .w { opacity: 1; transform: none; }
.loader-bar { position: absolute; left: 50%; bottom: 14vh; width: 160px; height: 2px; margin-left: -80px; border-radius: 2px; background: rgba(20, 20, 22, .1); overflow: hidden; transition: opacity .3s; }
.loader-bar i { display: block; height: 100%; background: var(--orange); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.loader.is-assembling .loader-bar { opacity: 0; }
.is-loading body { overflow: hidden; }
.is-loading .site-header { opacity: 0; }
.is-landing .brand { visibility: hidden; }
/* If the script never gets there, the loader steps aside on its own. */
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.is-loading .site-header { animation: header-failsafe .4s 9s forwards; }
@keyframes header-failsafe { to { opacity: 1; } }

/* ==========================================================
   Motion (html.motion-ok)
   ========================================================== */
.motion-ok [data-reveal], .motion-ok [data-stagger] > * { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--rd, 0ms); }
.motion-ok [data-reveal].is-in, .motion-ok [data-stagger].is-in > * { opacity: 1; transform: none; }
.motion-ok [data-lines] .ln { overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.motion-ok [data-lines] .ln > * { display: inline-block; transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease-out); }
.motion-ok [data-lines] .ln + .ln > * { transition-delay: .12s; }
.motion-ok [data-lines].is-in .ln > * { transform: none; }
/* About: the frame opens and the view pulls back from the tower to the city; the tags land one by one, then float. */
.motion-ok .photo-frame { clip-path: inset(7% 9% 7% 9% round 30px); transition: clip-path 1.4s var(--ease-out); }
.motion-ok .photo-frame img { transform: scale(1.32); transition: transform 2.4s var(--ease-out); }
.motion-ok .photo-tilt { box-shadow: none; transition: box-shadow 1.4s var(--ease-out); }
.motion-ok .about-photo .blob { opacity: 0; transform: rotate(var(--r)) scale(.8); transition: opacity 1s var(--ease-out), transform 1.4s var(--ease-out); }
.motion-ok .about-photo .tag { opacity: 0; transform: translate3d(0, 18px, 0) scale(.94); transition: opacity .7s var(--ease-out), transform .8s var(--ease-back); }
.motion-ok .about-photo.is-in .photo-frame { clip-path: inset(0 0 0 0 round 30px); }
.motion-ok .about-photo.is-in .photo-frame img { transform: none; }
.motion-ok .about-photo.is-in .photo-tilt { box-shadow: 0 2px 6px rgba(70, 35, 10, .06), 0 44px 80px -40px rgba(120, 60, 20, .5); }
.motion-ok .about-photo.is-in .blob { opacity: 1; transform: rotate(var(--r)); }
.motion-ok .about-photo.is-in .blob-3 { opacity: .8; }
.motion-ok .about-photo.is-in .tag { opacity: 1; transform: none; animation: float 7s ease-in-out infinite; }
.motion-ok .about-photo.is-in .tag-date { transition-delay: .9s; animation-delay: 2s; }
.motion-ok .about-photo.is-in .tag-ai { transition-delay: 1.1s; animation-delay: 3.2s; }
.motion-ok .about-photo.is-in .tag-place { transition-delay: 1.3s; animation-delay: 2.6s; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
/* Services: the icons bob on their orbit; the HUD rings turn slowly, as in the film. */
.motion-ok .bubble { animation: float 6s ease-in-out infinite; }
.motion-ok .b2 { animation-delay: -1.5s; }
.motion-ok .b3 { animation-delay: -3s; }
.motion-ok .b4 { animation-delay: -4.5s; }
.motion-ok .orbit ellipse { animation: orbit 40s linear infinite; }
@keyframes orbit { to { stroke-dashoffset: -220; } }
/* How we work: each icon lifts as its step is reached. */
.motion-ok .steps li.is-on .step-ic { transform: translateY(-3px); }
/* Contact: the band widens to the page edges as it arrives; the email underline draws in. */
.motion-ok .contact-panel { clip-path: inset(0 calc((1 - var(--o, 1)) * 5vw) round clamp(24px, 2.4vw, 36px)); }
.motion-ok .contact .sq { translate: 0 calc((1 - var(--o, 1)) * 50px); }
.motion-ok .email::after { transform: scaleX(0); transition: transform 1s var(--ease-out) .4s; }
.motion-ok .contact-block.is-in .email::after { transform: scaleX(1); }
.email:hover::after { transform: scaleX(1); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1460px) {
  .dots-light { display: none; }
}
/* Narrower: the pitch on its own row, the two contact blocks side by side under it. */
@media (max-width: 1400px) {
  .contact-inner { grid-template-columns: auto auto; justify-content: start; column-gap: 0; row-gap: 32px; }
  .contact-intro { grid-column: 1 / -1; padding-right: 0; }
  .contact-title { font-size: clamp(32px, 4vw, 52px); }
  .contact-sub { max-width: 560px; }
  .contact-block:nth-child(2) { padding-left: 0; padding-right: clamp(28px, 4vw, 64px); border-left: 0; }
}
@media (max-width: 1180px) {
  .focus { grid-template-columns: 1fr; }
  .focus-list li:first-child { padding-left: 0; border-left: 0; }
}
@media (max-width: 1080px) {
  .nav { gap: 22px; }
  .svc-feats { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .svc-feats li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  :root { --header: 64px; }
  .brand, .footer-brand { width: 160px; }
  .header-cta { display: none; }
  .menu-toggle { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); font: 600 15px/1 var(--text); }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease-out); }
  .menu-toggle i { position: relative; transform: translateY(-4px); }
  .menu-toggle i::before { content: ""; position: absolute; top: 8px; }
  .nav-open .menu-toggle i { transform: rotate(45deg); }
  .nav-open .menu-toggle i::before { transform: translateY(-8px) rotate(-90deg); }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; padding: 0 var(--gutter); background: #fff;
    opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav a { font: 700 44px/1.15 var(--display); letter-spacing: -.035em; color: var(--ink); }
  .nav a::after { display: none; }
  .nav .nav-mail { display: block; margin-top: 28px; color: var(--orange-deep); font: 600 18px/1.3 var(--text); letter-spacing: 0; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open .site-header { background: #fff; }
  .about-grid, .svc, .svc-flip { grid-template-columns: 1fr; }
  .svc-flip .svc-media { order: 0; }
  .svc { gap: 28px; }
  .profile-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .step-line { display: none; }
  .note { text-align: left; }
}
@media (max-width: 760px) {
  .contact-inner { grid-template-columns: 1fr; }
  .contact-block, .contact-block:nth-child(2) { padding: 22px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .3); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .profile-grid, .steps { grid-template-columns: 1fr; }
  .tile { padding: 18px 20px 18px 82px; }
  .tile dt .ic-tile { left: 20px; }
  .about-photo { padding: 8% 4% 12% 4%; }
  .photo-tilt { transform: perspective(700px) rotateY(-16deg); }
  .tag { padding: 7px 14px 7px 7px; gap: 10px; font-size: 13px; border-radius: 15px; }
  .tag-ic { width: 32px; height: 32px; border-radius: 10px; }
  .tag-ic .ico { width: 17px; height: 17px; }
  .tag-ai { display: none; }
  .tag-date { top: 0; right: 2%; }
  .tag-place { left: 4%; bottom: 2%; }
  .focus { padding: 20px; }
  .focus-list { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .focus-list li { padding: 4px 12px; font-size: 14px; }
  .focus-list .ic-tile { width: 38px; height: 38px; border-radius: 12px; }
  .focus-list .ic-tile .ico { width: 19px; height: 19px; }
  .focus-list li { gap: 10px; }
  .focus-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .bubble { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
  .bubble .ico { width: 19px; height: 19px; }
  .b3, .b4 { display: none; }
  .svc-panel { padding: 6%; }
  address br, .sq-1, .sq-4 { display: none; }
  .footer-inner { flex-wrap: wrap; }
  .footer-inner p { order: 3; width: 100%; }
}
