/* TempzSoft — tempzsoft.com
   Brand: navy #12204f + cyan #00a3d4 (from the cloud logo), Inter / Playfair Display / Kaushan Script.
   Motion is progressive: without JavaScript everything is visible; with reduced motion it is calm. */

@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("fonts/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Kaushan Script"; src: url("fonts/kaushan-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --navy-950: #050a1c; --navy-900: #0a1433; --navy-800: #0f1c45; --navy: #12204f; --navy-600: #24397a;
  --cyan: #00a3d4; --cyan-300: #4fd1f7; --cyan-50: #e8f8fd; --blue: #3d7bff;
  --ink: #0b1430; --text: #27304a; --muted: #5d6886; --line: #e3e9f2; --paper: #f5f8fc; --white: #fff;
  --grad: linear-gradient(110deg, #00a3d4 0%, #2f8cff 60%, #3d6bff 100%);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1); --ease-io: cubic-bezier(.65, 0, .35, 1); --spring: cubic-bezier(.34, 1.56, .64, 1);
  --nav-h: 76px; --r: 22px;
  --intro: 1.55s;   /* page entrance waits for the logo intro; JS sets 0s on repeat visits */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.65 var(--sans); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
::selection { background: var(--cyan); color: #fff; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.035em; line-height: 1.08; font-weight: 720; }
p { margin: 0; }
section[id], main [id] { scroll-margin-top: calc(var(--nav-h) + 8px); }
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 28px; }
.dark { background: var(--navy-900); color: rgba(235, 242, 255, .78); }
.dark h1, .dark h2, .dark h3 { color: #fff; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

/* ------------------------------------------------------------- logo mark */

.mark { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.mk-navy { stroke: var(--navy); } .mk-cyan { stroke: var(--cyan); }
.dark .mk-navy, .nav-bar:not(.solid) .mk-navy, .intro .mk-navy, .menu .mk-navy { stroke: #fff; }
.wordmark { font-family: var(--serif); font-weight: 800; letter-spacing: .09em; color: var(--navy); line-height: 1; white-space: nowrap; }
.wordmark b { color: var(--cyan); font-weight: 800; }
.dark .wordmark, .nav-bar:not(.solid) .wordmark { color: #fff; }

/* ---------------------------------------------------------------- intro */

.intro {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 22px;
  background: var(--navy-900); pointer-events: none;
  animation: intro-out .9s var(--ease-io) calc(var(--intro) - .1s) forwards;
}
.intro .mark { width: 120px; height: auto; stroke-width: 7; }
.intro .draw path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease-io) forwards; }
.intro .draw .mk-cyan { animation-delay: .25s; }
.intro-word { font-family: var(--serif); font-weight: 800; font-size: 28px; letter-spacing: .32em; color: #fff; display: flex; overflow: hidden; padding-left: .32em; }
.intro-word > * { display: inline-block; transform: translateY(110%); animation: up .8s var(--ease) .55s forwards; }
.intro-word b { color: var(--cyan); animation-delay: .62s; }
.intro-word span:last-child { animation-delay: .69s; }
.skip-intro .intro { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes up { to { transform: none; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------------------------------------------- scroll progress + cursor */

.progress { position: fixed; left: 0; top: 0; z-index: 120; height: 3px; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate3d(var(--x, -100px), var(--y, -100px), 0) translate(-50%, -50%); }
.cursor-dot { width: 7px; height: 7px; background: var(--cyan); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid color-mix(in srgb, var(--cyan) 70%, transparent);
  transform: translate3d(var(--rx, -100px), var(--ry, -100px), 0) translate(-50%, -50%);
  display: grid; place-items: center; transition: width .35s var(--ease), height .35s var(--ease), background .3s, border-color .3s;
}
.cursor-ring em { font-style: normal; font-size: 13px; font-weight: 650; color: #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .35s var(--spring); }
.cursor-hover .cursor-ring { width: 58px; height: 58px; background: color-mix(in srgb, var(--cyan) 12%, transparent); }
.cursor-view .cursor-ring { width: 92px; height: 92px; background: var(--cyan); border-color: var(--cyan); }
.cursor-view .cursor-ring em { opacity: 1; transform: none; }
.cursor-view .cursor-dot { opacity: 0; }

/* -------------------------------------------------------------- buttons */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; isolation: isolate; overflow: hidden;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--spring), translate .5s var(--ease), box-shadow .4s var(--ease), color .35s, border-color .35s, background .35s;
}
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn > span, .btn > .arr { position: relative; z-index: 1; }
.btn::before { content: ""; position: absolute; inset: -1px; z-index: 0; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 14px 34px -14px rgba(0, 163, 212, .75); }
.btn-primary::before { background: var(--navy); }
.dark .btn-primary::before, .nav-bar:not(.solid) .btn-primary::before { background: #fff; }
.dark .btn-primary:hover, .nav-bar:not(.solid) .btn-primary:hover { color: var(--navy); }
.btn-primary:hover { box-shadow: 0 20px 44px -14px rgba(0, 163, 212, .9); }
.btn-ghost { color: var(--navy); border-color: color-mix(in srgb, var(--navy) 25%, transparent); }
.btn-ghost::before { background: var(--navy); }
.btn-ghost:hover { color: #fff; border-color: var(--navy); }
.dark .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .28); }
.dark .btn-ghost::before { background: #fff; }
.dark .btn-ghost:hover { color: var(--navy); border-color: #fff; }
.btn:active { transform: scale(.97); }
.arr { position: relative; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .45s var(--spring); }
.arr::after { content: ""; position: absolute; right: 0; top: 50%; width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); border-radius: 1px; }
.btn:hover .arr { transform: translateX(5px); }

/* -------------------------------------------------------------- nav bar */

.nav-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); color: #fff;
  transition: background .4s, box-shadow .4s, color .4s, transform .5s var(--ease), height .4s var(--ease);
  animation: drop-in .9s var(--ease) calc(var(--intro) + .1s) backwards;
}
.nav-bar.solid { --nav-h: 66px; height: 66px; color: var(--navy); background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 1px 0 var(--line), 0 12px 30px -20px rgba(10, 20, 51, .35); }
.nav-bar.away { transform: translateY(-100%); }
.nav-in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo .mark { width: 46px; height: auto; transition: transform .7s var(--spring); }
.logo:hover .mark { transform: rotate(-8deg) scale(1.06); }
.logo .wordmark { font-size: 21px; }
.links { display: flex; gap: 6px; margin-left: auto; }
.links a { position: relative; padding: 8px 14px; font-size: 15px; font-weight: 550; text-decoration: none; opacity: .82; transition: opacity .25s; }
.links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.links a:hover, .links a.on { opacity: 1; }
.links a:hover::after, .links a.on::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { padding: 11px 20px; }
.burger { display: none; position: relative; z-index: 2; width: 46px; height: 46px; margin-left: auto; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; }
.nav-bar.solid .burger { background: var(--paper); }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .45s var(--spring), top .3s; }
.burger span:first-child { top: 19px; } .burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .nav-bar { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .nav-bar .mk-navy { stroke: #fff; } .menu-open .nav-bar .wordmark { color: #fff; }
@keyframes drop-in { from { transform: translateY(-100%); opacity: 0; } }

.menu {
  position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; padding: 100px 32px 40px;
  background: var(--navy-900); clip-path: circle(0 at calc(100% - 50px) 38px); transition: clip-path .75s var(--ease-io);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu-open .menu { clip-path: circle(150% at calc(100% - 50px) 38px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; gap: 6px; }
.menu a { display: flex; align-items: baseline; gap: 16px; color: #fff; text-decoration: none; font-size: clamp(34px, 9vw, 54px); font-weight: 720; letter-spacing: -.04em; opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .6s var(--ease), color .2s; }
.menu a small { min-width: 26px; font-variant-numeric: tabular-nums; font-size: 14px; font-weight: 600; color: var(--cyan); letter-spacing: 0; }
.menu a:hover { color: var(--cyan-300); }
.menu-open .menu a { opacity: 1; transform: none; }
.menu-open .menu a:nth-child(1) { transition-delay: .2s; } .menu-open .menu a:nth-child(2) { transition-delay: .26s; } .menu-open .menu a:nth-child(3) { transition-delay: .32s; } .menu-open .menu a:nth-child(4) { transition-delay: .38s; } .menu-open .menu a:nth-child(5) { transition-delay: .44s; }
.menu-tag { margin-top: 48px; font-family: var(--script); color: var(--cyan); font-size: 30px; opacity: 0; transition: opacity .6s .5s; }
.menu-open .menu-tag { opacity: 1; }
.menu-open { overflow: hidden; }

/* ----------------------------------------------------------------- hero */

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 110px; overflow: hidden; background: var(--navy-950); }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; border-radius: 50%; filter: blur(10px); }
.g1 { width: 60vw; height: 60vw; left: -18vw; top: -26vw; background: radial-gradient(closest-side, rgba(0, 163, 212, .38), transparent); animation: drift1 18s var(--ease-io) infinite alternate; }
.g2 { width: 52vw; height: 52vw; right: -16vw; top: 6vw; background: radial-gradient(closest-side, rgba(61, 107, 255, .32), transparent); animation: drift2 22s var(--ease-io) infinite alternate; }
.g3 { width: 46vw; height: 46vw; left: 26vw; bottom: -30vw; background: radial-gradient(closest-side, rgba(36, 57, 122, .9), transparent); animation: drift3 26s var(--ease-io) infinite alternate; }
@keyframes drift1 { to { transform: translate(10vw, 8vh) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-8vw, 10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -6vh) scale(1.15); } }
.hero-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  animation: pan 40s linear infinite;
}
@keyframes pan { to { background-position: 64px 64px, 64px 64px; } }
.hero-mark { position: absolute; width: min(70vw, 900px); right: -14vw; top: 50%; translate: 0 -50%; opacity: .07; stroke-width: 2.2; }
.hero-mark path { stroke: #fff !important; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.5s var(--ease-io) calc(var(--intro) + .2s) forwards; }
.hero-mark .mk-cyan { stroke: var(--cyan-300) !important; animation-delay: calc(var(--intro) + .6s); }

.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: #d9f4ff; background: rgba(0, 163, 212, .12); border: 1px solid rgba(79, 209, 247, .28); margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan-300); box-shadow: 0 0 0 0 rgba(79, 209, 247, .7); animation: beacon 2s ease-out infinite; }
@keyframes beacon { 70%, 100% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { font-size: clamp(42px, 2.4rem + 3.4vw, 86px); line-height: 1.02; letter-spacing: -.048em; font-weight: 760; }
.hero-title em, h2 em { font-style: normal; font-family: var(--serif); font-weight: 750; letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-title em { background: linear-gradient(110deg, #4fd1f7, #00a3d4 45%, #7aa7ff); -webkit-background-clip: text; background-clip: text; }
/* Split words inside a gradient <em> carry the gradient themselves (transformed children escape background-clip:text). */
[data-split] em .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title em .w > span { background: linear-gradient(110deg, #4fd1f7, #00a3d4 45%, #7aa7ff); -webkit-background-clip: text; background-clip: text; }
.hero-lede { margin-top: 26px; max-width: 540px; font-size: 19px; color: rgba(225, 235, 255, .74); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: rgba(225, 235, 255, .7); }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; }
.hero-points li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; background: rgba(0, 163, 212, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fd1f7' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/10px no-repeat; }

/* hero art: a site assembling itself */
.hero-art { position: relative; height: 540px; perspective: 1600px; animation: rise-in 1.2s var(--ease) calc(var(--intro) + .35s) backwards; }
.layer { position: absolute; inset: 0; transform: translate3d(calc(var(--px, 0) * var(--depth) * 1px), calc(var(--py, 0) * var(--depth) * 1px), 0); transition: transform .9s var(--ease); }
.browser {
  position: absolute; left: 0; top: 46px; width: 90%; border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: rotateY(-14deg) rotateX(6deg); transform-origin: left center;
}
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #eef2f8; border-bottom: 1px solid #dde4ef; }
.browser-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.browser-bar > i:nth-child(2) { background: #febc2e; } .browser-bar > i:nth-child(3) { background: #28c840; }
.url { display: flex; align-items: center; gap: 7px; flex: 1; margin-left: 12px; padding: 5px 12px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 550; color: #3b4664; }
.lock { width: 9px; height: 8px; border-radius: 2px; background: #16a34a; position: relative; margin-top: 3px; }
.lock::before { content: ""; position: absolute; left: 1.5px; top: -5px; width: 6px; height: 6px; border: 1.5px solid #16a34a; border-bottom: 0; border-radius: 4px 4px 0 0; }
.typed { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; border-right: 1.5px solid var(--cyan); animation: type 1.6s steps(16) calc(var(--intro) + .9s) forwards, caret .8s steps(1) infinite; }
@keyframes type { to { width: 16ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.browser-body { padding: 18px 20px 22px; display: grid; gap: 16px; }
.browser-body i { display: block; border-radius: 6px; background: #e8edf5; }
.b-nav { display: flex; align-items: center; gap: 10px; }
.b-nav i { width: 38px; height: 7px; }
.b-nav .b-logo { width: 26px; height: 26px; border-radius: 8px; margin-right: auto; background: var(--grad); }
.b-nav .b-pill { width: 64px; height: 24px; border-radius: 99px; background: var(--navy); }
.b-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 18px; align-items: center; }
.b-copy { display: grid; gap: 10px; }
.b-h1 { height: 16px; width: 92%; background: var(--navy) !important; }
.b-h1b { width: 66%; background: var(--grad) !important; }
.b-p { height: 7px; width: 88%; margin-top: 6px; } .b-p2 { width: 70%; margin-top: 0; }
.b-btn { height: 26px; width: 96px; border-radius: 99px !important; background: var(--cyan) !important; margin-top: 8px; }
.b-img { position: relative; height: 140px; border-radius: 12px; overflow: hidden; background: linear-gradient(160deg, #d8f2fc, #b9dcff); }
.b-img .sun { position: absolute; width: 34px; height: 34px; right: 22px; top: 18px; border-radius: 50%; background: #fff; }
.b-img .hill { position: absolute; bottom: -40px; border-radius: 50%; }
.b-img .h1 { left: -20px; width: 160px; height: 110px; background: #7fc8ea; }
.b-img .h2 { right: -30px; width: 190px; height: 120px; background: var(--cyan); }
.b-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.b-cards i { height: 62px; border-radius: 12px; background: #f1f5fa; border: 1px solid #e3e9f2; }
/* the build sequence */
.b-nav i, .b-copy i, .b-img, .b-cards i { animation: build 1s var(--ease) backwards; }
.b-nav i:nth-child(1) { animation-delay: calc(var(--intro) + .8s); } .b-nav i:nth-child(2) { animation-delay: calc(var(--intro) + .9s); } .b-nav i:nth-child(3) { animation-delay: calc(var(--intro) + .95s); } .b-nav i:nth-child(4) { animation-delay: calc(var(--intro) + 1s); } .b-nav i:nth-child(5) { animation-delay: calc(var(--intro) + 1.05s); }
.b-copy i:nth-child(1) { animation: grow-x .9s var(--ease) calc(var(--intro) + 1.15s) backwards; } .b-copy i:nth-child(2) { animation: grow-x .9s var(--ease) calc(var(--intro) + 1.3s) backwards; }
.b-copy i:nth-child(3) { animation: grow-x .9s var(--ease) calc(var(--intro) + 1.45s) backwards; } .b-copy i:nth-child(4) { animation: grow-x .9s var(--ease) calc(var(--intro) + 1.5s) backwards; }
.b-copy i:nth-child(5) { animation: pop 0.8s var(--spring) calc(var(--intro) + 1.65s) backwards; }
.b-img { animation: wipe 1.1s var(--ease-io) calc(var(--intro) + 1.3s) backwards; }
.b-img .sun { animation: sun-rise 1.4s var(--ease) calc(var(--intro) + 1.9s) backwards; }
.b-cards i:nth-child(1) { animation-delay: calc(var(--intro) + 1.8s); } .b-cards i:nth-child(2) { animation-delay: calc(var(--intro) + 1.9s); } .b-cards i:nth-child(3) { animation-delay: calc(var(--intro) + 2s); }
.b-copy i { transform-origin: left; }
@keyframes build { from { opacity: 0; transform: translateY(14px); } }
@keyframes grow-x { from { transform: scaleX(0); opacity: 0; } }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
@keyframes wipe { from { clip-path: inset(0 100% 0 0 round 12px); } }
@keyframes sun-rise { from { transform: translateY(60px); opacity: 0; } }

.phone {
  position: absolute; right: 2%; bottom: 8px; width: 156px; height: 312px; padding: 30px 12px 14px; border-radius: 30px;
  background: #fff; border: 7px solid #0b1430; box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .75);
  display: flex; flex-direction: column; gap: 9px;
  animation: phone-in 1.2s var(--ease) calc(var(--intro) + 1.4s) backwards;
}
.phone i { display: block; border-radius: 6px; background: #e8edf5; }
.phone .notch { position: absolute; top: 8px; left: 50%; width: 50px; height: 12px; translate: -50% 0; border-radius: 99px; background: #0b1430; }
.ph-h { height: 12px; width: 80%; background: var(--navy) !important; }
.ph-img { height: 96px; border-radius: 12px !important; background: linear-gradient(160deg, #bfe9f8, var(--cyan)) !important; }
.ph-l { height: 7px; } .ph-l.short { width: 60%; }
.ph-btn { height: 26px; border-radius: 99px !important; background: var(--grad) !important; margin-top: auto; }
@keyframes phone-in { from { opacity: 0; transform: translateY(60px) rotate(6deg); } }

.float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .6);
  animation: card-in .9s var(--spring) backwards, bob 6s ease-in-out infinite;
}
.float b { display: block; font-size: 14px; font-weight: 680; letter-spacing: -.01em; line-height: 1.2; }
.float small { font-size: 12px; color: var(--muted); }
.f1 { left: -4%; top: 4px; animation-delay: calc(var(--intro) + 2.1s), calc(var(--intro) + 3s); }
.f2 { right: -2%; top: 40%; animation-delay: calc(var(--intro) + 2.35s), calc(var(--intro) + 3.6s); }
.f3 { left: 10%; bottom: 14px; animation-delay: calc(var(--intro) + 2.6s), calc(var(--intro) + 4.2s); }
.fi { position: relative; width: 36px; height: 36px; border-radius: 11px; flex: none; }
.fi::after { content: ""; position: absolute; inset: 0; background: center/18px no-repeat; }
.fi.ok { background: #e3f8ee; } .fi.ok::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316a34a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M4 7l8 6 8-6'/%3E%3C/svg%3E"); }
.fi.pay { background: var(--cyan-50); } .fi.pay::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300a3d4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }
.fi.lock2 { background: #eef1ff; } .fi.lock2::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d6bff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
@keyframes card-in { from { opacity: 0; transform: translateY(24px) scale(.85); } }
@keyframes bob { 50% { translate: 0 -10px; } }
@keyframes rise-in { from { opacity: 0; transform: translateY(40px); } }

.scroll-hint { position: absolute; left: 50%; bottom: 30px; translate: -50% 0; width: 26px; height: 42px; border-radius: 99px; border: 2px solid rgba(255, 255, 255, .35); animation: rise-in 1s var(--ease) calc(var(--intro) + 1.2s) backwards; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------- split-word reveals */

[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .06em .02em .12em; margin: -.06em -.02em -.12em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0s)); }
[data-split].in .w > span { transform: none; }
.hero-title { --d: calc(var(--intro) + .1s); }

/* -------------------------------------------------------- scroll reveal */

.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero .reveal { transition-delay: calc(var(--intro) + var(--d, 0s)); }

/* -------------------------------------------------------------- marquee */

.marquee { position: relative; overflow: hidden; padding: 26px 0; background: var(--navy); color: #fff; border-top: 1px solid rgba(255, 255, 255, .06); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 34px; padding-right: 34px; font-size: clamp(20px, 1.2rem + 1vw, 30px); font-weight: 650; letter-spacing: -.03em; white-space: nowrap; }
.marquee span:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255, 255, 255, .7); }
.marquee span::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 18px var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------- sections */

.section { position: relative; padding: clamp(90px, 10vw, 150px) 0; }
.head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 76px); }
.head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.head-row > div { max-width: 640px; }
.head-row .sub { max-width: 380px; }
.kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.head h2, .contact h2 { font-size: clamp(36px, 1.6rem + 2.6vw, 60px); }
.sub { margin-top: 20px; font-size: 18.5px; color: var(--muted); max-width: 580px; }
.dark .sub { color: rgba(225, 235, 255, .7); }

/* ------------------------------------------------------------- services */

#services { background: var(--white); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc {
  --mx: 50%; --my: 0%;
  position: relative; padding: 34px 30px 30px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line);
  transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: box-shadow .5s var(--ease), border-color .4s, transform .6s var(--ease), opacity 1s var(--ease);
}
.js .svc.reveal { transition: box-shadow .5s var(--ease), border-color .4s, transform 1s var(--ease), opacity 1s var(--ease); transition-delay: 0s, 0s, var(--d, 0s), var(--d, 0s); }
.svc::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(260px circle at var(--mx) var(--my), var(--cyan), transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.svc::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 163, 212, .07), transparent 60%); }
.svc:hover { border-color: transparent; box-shadow: 0 34px 70px -34px rgba(18, 32, 79, .38); }
.svc:hover::before, .svc:hover::after { opacity: 1; }
.svc-ic { width: 54px; height: 54px; padding: 10px; border-radius: 16px; background: var(--cyan-50); fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 26px; transition: transform .6s var(--spring), background .4s; }
.svc-ic .hl { stroke: var(--cyan); }
.svc:hover .svc-ic { transform: translateZ(30px) rotate(-6deg) scale(1.08); background: var(--navy); }
.svc:hover .svc-ic path:not(.hl), .svc:hover .svc-ic rect, .svc:hover .svc-ic circle { stroke: #fff; }
.svc-ic * { transition: stroke .3s; }
.js .svc-ic * { stroke-dasharray: 160; stroke-dashoffset: 160; }
.js .svc.in .svc-ic * { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease-io) calc(var(--d, 0s) + .2s), stroke .3s; }
.svc h3 { font-size: 22px; margin-bottom: 12px; transform: translateZ(18px); }
.svc p { color: var(--muted); font-size: 16px; }
.svc ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.svc li { font-size: 12.5px; font-weight: 600; color: var(--navy); background: var(--paper); border: 1px solid var(--line); padding: 5px 11px; border-radius: 99px; transition: background .3s, color .3s, border-color .3s; }
.svc:hover li { background: var(--cyan-50); border-color: rgba(0, 163, 212, .25); }

/* ----------------------------------------------------------------- work */

.work-sec { background: var(--paper); }
.project { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.project + .project { margin-top: clamp(80px, 9vw, 130px); }
.project.flip { grid-template-columns: 1fr 1.25fr; }
.project.flip .shot { order: 2; }
.shot { position: relative; perspective: 1400px; cursor: pointer; }
.shot::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 28px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); opacity: .18; filter: blur(30px); transition: opacity .6s, transform .8s var(--ease); }
.shot:hover::before { opacity: .32; transform: scale(1.04); }
.shot-frame {
  position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -40px rgba(11, 20, 48, .55), 0 0 0 1px rgba(11, 20, 48, .06);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease);
}
.js .project .shot-frame { clip-path: inset(18% 8% 18% 8% round 18px); transition: clip-path 1.4s var(--ease-io), transform .8s var(--ease); }
.js .project.in .shot-frame { clip-path: inset(0 0 0 0 round 18px); }
.shot-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #f2f5f9; border-bottom: 1px solid #e3e8f0; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .shot-bar i:nth-child(2) { background: #febc2e; } .shot-bar i:nth-child(3) { background: #28c840; }
.shot-bar span { margin-left: 12px; font-size: 12.5px; font-weight: 600; color: #56617c; }
.shot-page { height: 360px; overflow: hidden; }
.shot-page > * { transition: transform 2.6s var(--ease-io); }
.shot:hover .shot-page > * { transform: translateY(-150px); }
.sp-hero { position: relative; padding: 46px 40px 52px; color: #fff; background: linear-gradient(135deg, var(--brand-ink), var(--brand) 140%); overflow: hidden; }
.sp-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, var(--brand-2), transparent); opacity: .55; }
.sp-hero small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; color: var(--brand-2); margin-bottom: 14px; }
.sp-hero b { display: block; font-size: 28px; line-height: 1.12; letter-spacing: -.03em; font-weight: 750; }
.sp-btn { display: block; width: 120px; height: 34px; margin-top: 22px; border-radius: 99px; background: var(--brand-2); }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 22px 24px; }
.sp-grid i { font-style: normal; font-size: 12px; font-weight: 650; color: var(--brand-ink); padding: 34px 12px 12px; border-radius: 12px; background: #f4f6fa; border: 1px solid #e6ebf2; position: relative; }
.sp-grid i::before { content: ""; position: absolute; left: 12px; top: 12px; width: 16px; height: 16px; border-radius: 5px; background: var(--brand); opacity: .85; }
.sp-grid.homes i { padding-top: 70px; }
.sp-grid.homes i::before { left: 0; top: 0; width: 100%; height: 58px; border-radius: 12px 12px 0 0; background: linear-gradient(160deg, var(--brand-2), var(--brand)); opacity: .7; }
.sp-rows { display: grid; gap: 10px; padding: 6px 24px 30px; }
.sp-rows i { display: block; height: 10px; border-radius: 6px; background: #edf1f6; } .sp-rows i:nth-child(2) { width: 80%; } .sp-rows i:nth-child(3) { width: 60%; }
.p-num { font-family: var(--serif); font-size: 64px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--brand) 60%, var(--line)); margin-bottom: 14px; }
.project h3 { font-size: clamp(26px, 1.2rem + 1vw, 36px); }
.p-what { margin: 8px 0 18px; font-size: 14px; font-weight: 650; color: var(--brand); letter-spacing: .01em; }
.project-copy > p:not(.p-num):not(.p-what) { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.tags li { font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 99px; color: var(--navy); background: #fff; border: 1px solid var(--line); }

/* -------------------------------------------------------------- process */

#process { background: var(--white); }
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; margin: 0; padding: 0; list-style: none; }
.steps::before, .steps::after { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; border-radius: 2px; background: var(--line); }
.steps::after { background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--line-p, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.dot {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 26px;
  background: #fff; border: 2px solid var(--line); color: var(--navy); font-weight: 750; font-size: 18px;
  transition: background .5s, color .5s, border-color .5s, transform .6s var(--spring), box-shadow .5s;
}
.step.lit .dot { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 8px rgba(0, 163, 212, .14); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ----------------------------------------------------------------- care */

.care { overflow: hidden; background: var(--navy-950); }
.care-bg { position: absolute; inset: 0; pointer-events: none; }
.g4 { width: 50vw; height: 50vw; left: -14vw; bottom: -20vw; background: radial-gradient(closest-side, rgba(0, 163, 212, .28), transparent); animation: drift2 20s var(--ease-io) infinite alternate; }
.g5 { width: 40vw; height: 40vw; right: -8vw; top: -10vw; background: radial-gradient(closest-side, rgba(61, 107, 255, .25), transparent); animation: drift1 24s var(--ease-io) infinite alternate; }
.care-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.care .kicker { color: var(--cyan-300); }
.script-line { white-space: nowrap; font-family: var(--script); font-weight: 400; font-size: clamp(40px, 5.6vw, 80px); line-height: 1.15; letter-spacing: 0; color: var(--cyan-300); margin: 4px 0 22px; padding: 0 .1em .1em 0; }
.script-line .ink { display: inline-block; padding: 0 .35em .12em .05em; margin: 0 -.35em -.12em -.05em; background: linear-gradient(100deg, #7fe0ff, #00a3d4 50%, #8fb2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.js .script-line .ink { clip-path: inset(-10% 100% -20% 0); transition: clip-path 2.2s var(--ease-io) .2s; }
.js .script-line.in .ink { clip-path: inset(-10% -5% -20% 0); }
.care-lede { font-size: 18.5px; max-width: 520px; }
.care-list { display: grid; gap: 22px; margin: 40px 0 0; padding: 0; list-style: none; }
.care-list li { display: flex; gap: 16px; align-items: flex-start; }
.care-list b { display: block; color: #fff; font-size: 17px; margin-bottom: 4px; }
.care-list p { font-size: 15.5px; }
.ck { flex: none; width: 30px; height: 30px; margin-top: 2px; border-radius: 50%; background: rgba(0, 163, 212, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234fd1f7' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/15px no-repeat; box-shadow: inset 0 0 0 1px rgba(79, 209, 247, .35); }

.console {
  position: relative; padding: 22px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.console-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.console-head .mark { width: 34px; }
.console-head b { color: #fff; font-size: 16px; }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: #4ade80; padding: 4px 10px; border-radius: 99px; background: rgba(74, 222, 128, .1); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: beacon-g 1.8s ease-out infinite; }
@keyframes beacon-g { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
.c-row { display: flex; align-items: center; gap: 14px; padding: 14px 10px; border-radius: 14px; transition: background .3s; }
.c-row:hover { background: rgba(255, 255, 255, .05); }
.c-row div { flex: 1; min-width: 0; }
.c-row b { display: block; color: #fff; font-size: 15px; font-weight: 600; }
.c-row small { font-size: 12.5px; color: rgba(225, 235, 255, .55); }
.c-ava { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; font-style: normal; font-weight: 750; color: #fff; background: var(--grad); }
.c-ok { font-size: 12px; font-weight: 700; color: #4ade80; }
.pulse-line { width: 100%; height: 56px; margin: 10px 0 6px; overflow: visible; }
.pulse-line path { fill: none; stroke: var(--cyan-300); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: .35 .65; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px rgba(79, 209, 247, .8)); animation: ecg 3.2s linear infinite; }
@keyframes ecg { to { stroke-dashoffset: 0; } }
.c-log { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .25); font-size: 12.5px; color: rgba(225, 235, 255, .7); }
.c-log code { font: 600 11.5px ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: var(--cyan-300); margin-right: 6px; }
.js .c-log p { opacity: 0; transform: translateX(-10px); transition: opacity .6s, transform .6s var(--ease); }
.js .console.in .c-log p { opacity: 1; transform: none; }
.js .console.in .c-log p:nth-child(1) { transition-delay: .9s; } .js .console.in .c-log p:nth-child(2) { transition-delay: 1.3s; } .js .console.in .c-log p:nth-child(3) { transition-delay: 1.7s; }

/* -------------------------------------------------------------- contact */

.contact { background: var(--paper); }
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.mail-link { display: inline-block; margin-top: 34px; font-size: clamp(20px, 1rem + 1vw, 28px); font-weight: 680; letter-spacing: -.02em; color: var(--navy); text-decoration: none; background: linear-gradient(var(--cyan), var(--cyan)) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; padding-bottom: 4px; }
.mail-link:hover { background-size: 100% 2px; color: var(--cyan); }
.mail-link:empty { display: none; }
.contact-form { display: grid; gap: 16px; padding: clamp(26px, 4vw, 40px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 80px -50px rgba(11, 20, 48, .45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; padding: 0; border: 0; }
.chips legend { width: 100%; margin-bottom: 12px; font-size: 14px; font-weight: 650; color: var(--ink); }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 9px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--navy); border: 1.5px solid var(--line); background: #fff; transition: all .35s var(--ease); }
.chips label:hover span { border-color: color-mix(in srgb, var(--cyan) 50%, var(--line)); }
.chips input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; transform: scale(1.04); box-shadow: 0 10px 20px -12px rgba(18, 32, 79, .8); }
.chips input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 26px 18px 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper);
  font: 500 16px/1.4 var(--sans); color: var(--ink); resize: vertical; transition: border-color .3s, background .3s, box-shadow .4s var(--ease);
}
.field textarea { min-height: 130px; }
.field label { position: absolute; left: 19px; top: 18px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .35s var(--ease), color .3s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 5px rgba(0, 163, 212, .12); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.76); color: var(--cyan); }
.field.bad input, .field.bad textarea { border-color: #e5484d; animation: shake .45s var(--ease); }
.field.bad label { color: #e5484d !important; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.form-note { min-height: 1.4em; font-size: 14.5px; color: var(--muted); }
.form-note.ok { color: #138a53; font-weight: 600; }

/* --------------------------------------------------------------- footer */

.footer { position: relative; padding: 90px 0 36px; background: var(--navy-950); overflow: hidden; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.logo-lg .mark { width: 64px; }
.logo-lg > span { display: grid; gap: 6px; }
.logo-lg .wordmark { font-size: 28px; }
.tagline { font-family: var(--script); color: var(--cyan-300); font-size: 22px; line-height: 1; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.foot-links a { text-decoration: none; color: rgba(225, 235, 255, .75); font-weight: 550; transition: color .25s; }
.foot-links a:hover { color: #fff; }
.giant { display: flex; justify-content: center; margin: 60px 0 26px; font-family: var(--serif); font-weight: 900; font-size: min(11.2vw, 150px); line-height: .9; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16); user-select: none; overflow: hidden; }
.giant b { color: var(--cyan); -webkit-text-stroke: 0; }
.giant > * { display: inline-block; }
.js .giant > * { transform: translateY(100%); transition: transform 1.3s var(--ease); }
.js .giant.in > * { transform: none; }
.js .giant.in b { transition-delay: .12s; } .js .giant.in span:last-child { transition-delay: .24s; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 14px; color: rgba(225, 235, 255, .5); }

.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--navy); box-shadow: 0 16px 30px -12px rgba(5, 10, 28, .7); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .4s, transform .5s var(--spring); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.to-top .ring-bg { stroke: rgba(255, 255, 255, .12); stroke-width: 2.5; }
.to-top .ring { stroke: var(--cyan); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); transform: rotate(-90deg); transform-origin: center; }
.to-top path { stroke: #fff; stroke-width: 2.4; transition: transform .4s var(--spring); }
.to-top:hover path { transform: translateY(-2px); }

/* ----------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .links, .nav-cta { display: none; }
  .burger { display: block; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { height: 470px; max-width: 640px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .project, .project.flip { grid-template-columns: 1fr; }
  .project.flip .shot { order: 0; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .steps::after { transform-origin: 50% 0; transform: scaleY(var(--line-p, 0)); }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding-bottom: 34px; }
  .step .dot { grid-row: span 2; margin: 0; }
  .care-in, .contact-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .logo .mark { width: 40px; } .logo .wordmark { font-size: 18px; }
  .hero { padding-bottom: 90px; }
  .hero-lede { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-art { height: 360px; }
  .browser { width: 100%; top: 20px; }
  .browser-body { padding: 12px; gap: 10px; }
  .b-img { height: 92px; } .b-cards i { height: 40px; }
  .phone { width: 112px; height: 226px; border-width: 5px; border-radius: 24px; padding-top: 24px; right: -2%; }
  .ph-img { height: 64px; }
  .float { padding: 9px 12px 9px 9px; gap: 9px; } .float b { font-size: 12.5px; } .float small { font-size: 11px; } .fi { width: 28px; height: 28px; }
  .f2 { display: none; }
  .services { grid-template-columns: 1fr; }
  .shot-page { height: 280px; } .sp-hero { padding: 30px 22px 34px; } .sp-hero b { font-size: 21px; }
  .sp-grid { gap: 8px; padding: 16px; } .sp-grid i { font-size: 10.5px; padding: 28px 8px 8px; }
  .p-num { font-size: 48px; }
  .script-line { font-size: 11vw; }
  .console { padding: 16px; }
  .scroll-hint { display: none; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  :root { --intro: 0s; }
  html { scroll-behavior: auto; }
  .intro { display: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-track, .glow, .hero-grid, .float, .pulse-line path { animation: none !important; }
  .typed { width: 16ch; border-right: 0; }
  .cursor { display: none !important; }
}
