/* Chapters 01–05 */

/* 01 — the studio */
.studio { padding: 90px 0 120px; }
.statement { font-family: var(--wide); font-weight: 500; font-size: clamp(28px, 4.2vw, 64px); line-height: 1.14; letter-spacing: -.03em; margin: 0; max-width: 22ch; }
.statement .sw { transition: none; }
.statement .sw.hl { color: var(--sky); }
.studio .grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; margin-top: 120px; }
.strips { position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; background: var(--navy); }
.strips i { position: absolute; top: 0; bottom: 0; background-size: auto 100%; background-repeat: no-repeat; will-change: transform; }
.strips::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--hair); pointer-events: none; }
.studio .txt p { color: var(--mist); line-height: 1.85; font-size: 16px; margin: 0 0 18px; }
.studio .txt h3 { font-size: clamp(24px, 2.6vw, 38px); font-weight: 500; margin-bottom: 26px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hair); margin-top: 110px; }
.nums div { padding: 34px 26px 10px 0; border-right: 1px solid var(--hair); }
.nums div:last-child { border-right: 0; }
.nums b { display: block; font-family: var(--wide); font-weight: 500; font-size: clamp(40px, 5vw, 76px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.nums b sup { font-size: .4em; color: var(--sky); vertical-align: top; position: relative; top: .35em; }
.nums span { color: var(--dim); margin-top: 12px; display: block; }
@media (max-width: 900px) { .studio .grid { grid-template-columns: 1fr; gap: 50px; } .nums { grid-template-columns: 1fr 1fr; } .nums div:nth-child(2) { border-right: 0; } .nums div { padding-left: 0; } }

/* clients */
.clients { padding: 40px 0 120px; }
.clients .cap { text-align: center; color: var(--dim); margin-bottom: 34px; }
.mq { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); padding: 6px 0; }
.mq + .mq { margin-top: 12px; }
.mq .track { display: flex; gap: 14px; width: max-content; will-change: transform; }
.chipl { width: 150px; height: 84px; flex: none; border-radius: 18px; background: rgba(227,240,255,.93); display: grid; place-items: center; padding: 10px 22px; }
.chipl img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; }

/* 02 — sectors, a horizontal film strip */
.sectors { padding-top: 120px; }
.hpin { height: 100vh; height: 100svh; overflow: hidden; position: relative; }
.htrack { display: flex; height: 100%; will-change: transform; }
.panel { flex: none; width: 100vw; height: 100%; position: relative; overflow: hidden; display: grid; align-items: end; }
.panel .ph { position: absolute; inset: 0 -12%; will-change: transform; }
.panel .ph img { width: 100%; height: 100%; object-fit: cover; }
.panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(1,3,43,.92) 0%, rgba(1,3,43,.55) 45%, rgba(1,3,43,.15) 75%), linear-gradient(0deg, rgba(1,3,43,.9), transparent 45%); }
.panel .in { position: relative; z-index: 2; padding: 0 max(24px, env(safe-area-inset-left, 0px)) calc(110px + env(safe-area-inset-bottom, 0px)); max-width: 820px; }
.panel .no { font-family: var(--wide); font-size: clamp(90px, 16vw, 240px); font-weight: 700; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(0,163,248,.55); position: absolute; z-index: 2; right: max(30px, env(safe-area-inset-right, 0px)); top: 110px; letter-spacing: -.05em; }
.panel .ico { width: 58px; height: 58px; border-radius: 16px; background: var(--ice); padding: 9px; margin-bottom: 26px; }
.panel h3 { font-size: clamp(40px, 6.6vw, 104px); font-weight: 600; letter-spacing: -.04em; }
.panel p { color: var(--mist); font-size: 16px; line-height: 1.7; max-width: 46ch; margin: 22px 0 26px; }
.panel ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.panel li { padding: 9px 14px; border-radius: 999px; font-size: 13px; background: rgba(8,8,45,.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--hair); }
.hbar { position: absolute; z-index: 3; left: max(24px, env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(62px + env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 16px; color: var(--mist); }
.hbar .t { flex: 1; height: 1px; background: var(--hair); }
.hbar .t i { display: block; height: 100%; background: var(--sky); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 8px var(--sky); }
@media (max-width: 700px) { .panel .no { top: 96px; } .panel .in { padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); } .panel p { font-size: 15px; } }

/* 03 — services as big rows */
.services { padding: 160px 0 120px; }
.rows { border-top: 1px solid var(--hair); }
.row { display: grid; grid-template-columns: 70px 1fr 1fr 50px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--hair); position: relative; cursor: default; }
.row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,163,248,.12), transparent 70%); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.row:hover::before { transform: scaleX(1); }
.row .n { color: var(--dim); position: relative; }
.row h3 { font-size: clamp(22px, 3vw, 44px); font-weight: 500; position: relative; transition: transform .6s var(--ease), color .4s; }
.row:hover h3 { transform: translateX(14px); color: #fff; }
.row p { color: var(--mist); margin: 0; line-height: 1.65; font-size: 15px; position: relative; }
.row .ar { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); position: relative; transition: background .4s, transform .5s var(--ease), color .4s; }
.row .ar svg { width: 16px; height: 16px; }
.row:hover .ar { background: var(--sky); color: var(--night); transform: rotate(-45deg); }
.float { position: fixed; z-index: 40; left: 0; top: 0; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 28px; pointer-events: none; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(0,163,248,.5), rgba(0,56,111,.6)); box-shadow: 0 30px 60px -20px rgba(0,163,248,.6), inset 0 0 0 1px rgba(227,240,255,.25); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: scale(.6); }
.float img { width: 92px; height: 92px; border-radius: 22px; background: var(--ice); padding: 14px; }
@media (max-width: 800px) { .row { grid-template-columns: 44px 1fr 46px; } .row p { grid-column: 2 / 3; } .row .ar { grid-row: 1; grid-column: 3; } }
@media (hover: none), (pointer: coarse) { .float { display: none; } }

/* 04 — work, the ring of reels */
.work { position: relative; }
.wpin { height: 100vh; height: 100svh; overflow: hidden; position: relative; perspective: 1500px; display: grid; place-items: center; }
.wpin .glow { position: absolute; left: 50%; top: 58%; width: 140vmax; height: 50vmax; margin: -25vmax 0 0 -70vmax; background: radial-gradient(closest-side, rgba(0,163,248,.25), rgba(0,75,190,.1) 50%, transparent); pointer-events: none; }
.ring3 { position: absolute; left: 50%; top: 56%; width: 0; height: 0; transform-style: preserve-3d; }
.ring3 .card { position: absolute; width: 160px; height: 284px; margin: -142px 0 0 -80px; border-radius: 18px; overflow: hidden; -webkit-box-reflect: below 12px linear-gradient(transparent 64%, rgba(255,255,255,.18)); }
.ring3 .card img { width: 100%; height: 100%; object-fit: cover; }
.ring3 .card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(227,240,255,.2); background: linear-gradient(115deg, rgba(255,255,255,.2), transparent 34%); }
.ring3 .card .sh { position: absolute; inset: 0; background: var(--night); opacity: 0; z-index: 1; }
.wpin .title { position: absolute; z-index: 3; top: calc(96px + env(safe-area-inset-top, 0px)); left: 0; right: 0; text-align: center; }
.wpin .title .k { color: var(--sky); margin-bottom: 18px; display: block; }
.wpin .title h2 { font-size: clamp(36px, 6vw, 96px); }
.wpin .now { position: absolute; z-index: 3; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); left: 0; right: 0; text-align: center; }
.wpin .now small { color: var(--sky); display: block; margin-bottom: 8px; }
.wpin .now b { font-family: var(--wide); font-weight: 500; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: -.02em; }
@media (max-width: 700px) { .ring3 .card { width: 100px; height: 178px; margin: -89px 0 0 -50px; border-radius: 12px; } }

/* testimonials */
.voices { padding: 150px 0 130px; }
.quote { display: grid; grid-template-columns: 1fr 300px; gap: 60px; align-items: end; }
.quote blockquote { margin: 0; font-family: var(--wide); font-weight: 400; font-size: clamp(18px, 1.9vw, 30px); line-height: 1.38; letter-spacing: -.02em; min-height: 7.2em; }
.quote blockquote .qw { display: inline-block; }
.quote .who { display: flex; gap: 14px; align-items: center; margin-top: 30px; }
.quote .who img { width: 54px; height: 54px; border-radius: 16px; background: #fff; padding: 4px; object-fit: contain; }
.quote .who b { display: block; font-size: 17px; }
.quote .who small { color: var(--sky); }
.qnav { display: grid; gap: 10px; }
.qnav button { border: 0; background: none; text-align: left; cursor: pointer; padding: 14px 0; border-top: 1px solid var(--hair); color: var(--dim); display: flex; justify-content: space-between; transition: color .3s; }
.qnav button.on { color: var(--ice); }
.qnav button .bar { width: 60px; height: 1px; background: var(--hair); align-self: center; overflow: hidden; }
.qnav button .bar i { display: block; height: 100%; background: var(--sky); transform-origin: left; transform: scaleX(0); }
@media (max-width: 860px) { .quote { grid-template-columns: 1fr; gap: 30px; } .quote blockquote { min-height: 0; } }

/* 05 — contact */
.contact { position: relative; overflow: hidden; padding: 200px 0 120px; text-align: center; }
.contact .arc { position: absolute; left: 50%; top: 34%; width: 150vmax; height: 150vmax; margin-left: -75vmax; border-radius: 50%; box-shadow: 0 -2px 0 0 rgba(160,225,255,.9), 0 -20px 60px -10px rgba(0,163,248,.9), 0 -80px 160px -30px rgba(0,75,190,.8), inset 0 30px 80px -30px rgba(0,163,248,.5); background: var(--night); pointer-events: none; }
.contact .in { position: relative; z-index: 2; }
.contact .k { color: var(--sky); display: block; margin-bottom: 26px; }
.contact h2 { font-size: clamp(44px, 9vw, 150px); font-weight: 600; letter-spacing: -.05em; line-height: .92; }
.contact p { color: var(--mist); max-width: 44ch; margin: 30px auto 40px; line-height: 1.7; }
.cta { display: inline-flex; align-items: center; gap: 14px; padding: 20px 30px; border-radius: 999px; background: var(--grad); color: #fff; font-weight: 600; font-size: 16px; box-shadow: 0 20px 50px -14px rgba(0,163,248,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.cta svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.cta:hover svg { transform: translateX(4px); }
.offices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 110px; border-top: 1px solid var(--hair); text-align: left; }
.offices div { padding: 28px 24px 0 0; }
.offices small { color: var(--dim); display: block; margin-bottom: 10px; }
.offices span, .offices a { line-height: 1.6; font-size: 15px; }
@media (max-width: 760px) { .offices { grid-template-columns: 1fr; } }

footer { padding: 30px 0 calc(90px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--hair); color: var(--dim); font-size: 13px; overflow: hidden; }
footer .mark { font-family: var(--wide); font-weight: 700; font-size: clamp(30px, 8.6vw, 150px); line-height: .9; letter-spacing: -.05em; text-align: center; white-space: nowrap; margin: 20px 0 30px; color: transparent; -webkit-text-stroke: 1px rgba(0,163,248,.35); background: linear-gradient(90deg, var(--blue), var(--sky)) no-repeat 0 0 / 0% 100%; -webkit-background-clip: text; background-clip: text; }
footer .row2 { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.switcher { position: fixed; z-index: 70; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); background: rgba(1,3,43,.85); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px; display: flex; gap: 4px; font-size: 13px; }
.switcher a { padding: 8px 13px; border-radius: 999px; color: var(--mist); }
.switcher a.on { background: var(--sky); color: var(--night); font-weight: 600; }
@media (max-width: 700px) { .rail { display: none; } .side { display: none; } .top .chap { display: none; } }

@media (prefers-reduced-motion: reduce) { .loader { display: none; } .hero .hint i::after { animation: none; } * { transition-duration: .01ms !important; } }
