/* Rato Studio — clean, product-page style */

@font-face { font-family: "Inter"; src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --ink: #1d1d1f;
  --paper: #f5f5f7;
  --grey: #6e6e73;
  --grey-dark: #a1a1a6;
  --line: #d2d2d7;
  --line-dark: #333336;
  --tile: #161617;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --link: #0066cc;
  --link-dark: #2997ff;
  --orange: #b64400;
  --orange-dark: #ff8a3d;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --nav-h: 48px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #000; color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.47; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }
[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }
:focus-visible { outline: 3px solid rgba(0, 125, 250, .75); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(0, 113, 227, .28); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- themes ---------- */
.dark { background: #000; color: var(--paper); --sub: var(--grey-dark); --a: var(--link-dark); --eyebrow: var(--orange-dark); --hair: var(--line-dark); }
.light { background: var(--paper); color: var(--ink); --sub: var(--grey); --a: var(--link); --eyebrow: var(--orange); --hair: var(--line); }
.white { background: #fff; color: var(--ink); --sub: var(--grey); --a: var(--link); --eyebrow: var(--orange); --hair: var(--line); }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
.display { font-size: clamp(2.25rem, 5.4vw, 4.5rem); line-height: 1.06; letter-spacing: -.03em; }
.display.huge { font-size: clamp(3rem, 9.4vw, 7.5rem); line-height: 1.02; letter-spacing: -.04em; }
.dim { color: var(--sub); }
.eyebrow { font-size: clamp(1.06rem, 1.5vw, 1.31rem); font-weight: 600; color: var(--eyebrow); letter-spacing: -.012em; margin-bottom: 8px; }
.intro { font-size: clamp(1.125rem, 1.9vw, 1.5rem); line-height: 1.36; letter-spacing: -.016em; color: var(--sub); max-width: 34em; text-wrap: pretty; }
.center .intro { margin-inline: auto; }
.grad { background: linear-gradient(90deg, #ffd58a 0%, #ff9a3c 45%, #ff5a1f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- actions ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.center .actions { justify-content: center; }
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 400; text-decoration: none; white-space: nowrap; transition: background-color .2s, transform .25s var(--ease), box-shadow .25s ease; }
.pill:active { transform: scale(.96); }
@media (hover: hover) {
  .pill:hover { background: var(--blue-hover); transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 26px -8px rgba(0, 113, 227, .75); }
  .pill:hover:active { transform: scale(.96); box-shadow: none; }
}
.pill-sm { min-height: 28px; padding: 0 12px; font-size: 12px; }
.more { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--a); font-size: clamp(1.06rem, 1.5vw, 1.31rem); text-decoration: none; }
.more svg { width: 7px; height: 12px; margin-top: 1px; transition: transform .25s var(--ease); }
.more svg.ext { width: 12px; height: 12px; }
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.more:hover svg { transform: translateX(3px); }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h); color: rgba(255, 255, 255, .86); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(22, 22, 23, .8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.nav-in { width: min(100% - 2 * var(--gutter), 1024px); height: 100%; margin-inline: auto; display: flex; align-items: center; gap: 8px; }
.nav-brand { display: inline-flex; align-items: center; gap: 9px; height: 100%; margin-right: auto; text-decoration: none; color: #fff; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.nav-brand svg { width: 15px; height: 17px; fill: currentColor; }
.nav-links { display: flex; height: 100%; }
.nav-links a { display: flex; align-items: center; padding: 0 12px; font-size: 12px; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: #fff; }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-right: -12px; background: none; border: 0; padding: 0; cursor: pointer; position: relative; color: inherit; }
.nav-toggle span { position: absolute; left: 13px; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(36px, 6.5vh, 80px)) 0 0; text-align: center; overflow: hidden; }
.hero-copy { width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto; position: relative; z-index: 2; transform: translate3d(0, calc(var(--hp, 0) * -40px), 0); opacity: calc(1 - var(--hp, 0) * 1.5); }
.hero-name { font-size: clamp(1.06rem, 1.6vw, 1.5rem); font-weight: 600; color: var(--orange-dark); margin-bottom: 10px; }
.hero h1 { font-size: clamp(2.75rem, 7vw, 5.6rem); line-height: 1.03; letter-spacing: -.04em; }
.hero .intro { margin: 18px auto 0; max-width: 30em; }
.hero .actions { justify-content: center; }
.hero-stage { position: relative; height: clamp(300px, 52vh, 600px); margin-top: clamp(0px, 1vh, 16px); }
.hero-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 46% at 50% 62%, rgba(255, 122, 40, .26), transparent 70%); }
.hero-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s ease; }
.hero.scene-ready canvas { opacity: 1; }
.hero-fallback { position: absolute; left: 50%; top: 46%; height: 62%; width: auto; transform: translate(-50%, -50%); display: none; filter: drop-shadow(0 30px 60px rgba(255, 110, 30, .35)); }
.hero.no-webgl .hero-fallback { display: block; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, transparent, #000); pointer-events: none; }

.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .18s; }
.hero-copy > :nth-child(4) { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }

/* ---------- statement ---------- */
.statement { padding: clamp(80px, 16vh, 180px) 0 clamp(100px, 20vh, 220px); }
.words { width: min(100% - 2 * var(--gutter), 980px); margin-inline: auto; font-size: clamp(1.75rem, 4.3vw, 3.5rem); font-weight: 600; line-height: 1.14; letter-spacing: -.03em; color: var(--paper); }
.js .words .w { color: #3d3d41; transition: color .45s ease; }
.js .words .w.on { color: var(--paper); }

/* ---------- sections ---------- */
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; }
.head { margin-bottom: clamp(40px, 5vw, 72px); max-width: 900px; }
.head.center { margin-inline: auto; }
.head .intro { margin-top: 18px; }
.center > .intro { margin-top: 18px; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 1s ease var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .tile[data-reveal], .js .plan[data-reveal] { transform: translate3d(0, 34px, 0) scale(.97); }
.js .tile[data-reveal].in, .js .plan[data-reveal].in { transform: none; }
/* cards lean towards the pointer */
.js .tilt[data-reveal].in { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.js .tilt[data-reveal].in.settled { transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease; }
@media (hover: hover) {
  .js .tilt[data-reveal].in.settled:hover { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px) scale(1.012); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
  .g-card img { transition: transform 1.2s var(--ease); }
  .g-card:hover img { transform: scale(1.05); }
}

/* ---------- featured project: devices ---------- */
.devices { --open: 1; position: relative; width: min(100% - 2 * var(--gutter), 1060px); margin: clamp(44px, 6vw, 84px) auto 0; padding-bottom: 3%; }
.devices { transform: perspective(1800px) rotateY(calc(var(--mx, 0) * 5deg)) rotateX(calc(var(--my, 0) * -3deg)); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.mac { width: 82%; margin-inline: auto; }
.mac-lid {
  background: #0a0a0b; padding: 1.5% 1.5% 1.9%; border-radius: 2.6% / 4%;
  box-shadow: inset 0 0 0 2px #3a3a3e, 0 0 0 1px #000;
  transform-origin: 50% 100%;
  transform: perspective(2400px) rotateX(calc((1 - var(--open)) * -84deg));
  will-change: transform;
}
.mac-screen { aspect-ratio: 16 / 10; border-radius: .9% / 1.4%; overflow: hidden; background: #000; }
.mac-screen img { width: 100%; height: 100%; object-fit: cover; opacity: calc((var(--open) - .5) * 2.4); }
.mac-base { position: relative; width: 118%; margin-left: -9%; padding-bottom: 2.05%; background: linear-gradient(180deg, #eceef1 0%, #cfd1d6 38%, #a9abb1 76%, #7f8187 100%); border-radius: 0 0 1.6% 1.6% / 0 0 90% 90%; box-shadow: 0 34px 44px -20px rgba(0, 0, 0, .38); }
.mac-base i { position: absolute; left: 50%; top: 0; width: 13.5%; height: 40%; transform: translateX(-50%); background: linear-gradient(180deg, #9c9ea4, #c6c8cd); border-radius: 0 0 10px 10px; }
.phone {
  position: absolute; right: 0; bottom: 0; width: 17.5%; padding: .9%; background: #101012; border-radius: 15.5% / 7.2%;
  box-shadow: inset 0 0 0 1.5px #48484c, 0 34px 60px -22px rgba(0, 0, 0, .5);
  transform: translate3d(0, calc((1 - var(--open)) * 110px), 0); opacity: calc(var(--open) * 2.2 - 1.2);
  will-change: transform;
}
.phone-screen { position: relative; aspect-ratio: 390 / 844; border-radius: 13% / 6%; overflow: hidden; background: #000; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-screen::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 1.6%; width: 30%; height: 3.1%; transform: translateX(-50%); background: #000; border-radius: 99px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px clamp(24px, 4vw, 56px); margin-top: clamp(56px, 7vw, 100px); }
.facts li { border-top: 1px solid var(--hair); padding-top: 22px; }
.facts h3 { font-size: 1.31rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.facts p { color: var(--sub); max-width: 30em; }

/* ---------- services: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(280px, auto); gap: 20px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(26px, 3vw, 40px); background: var(--tile); border-radius: 28px; }
.t-a { grid-column: span 2; grid-row: span 2; }
.t-e { grid-column: span 2; }
.tile-copy { position: relative; z-index: 2; max-width: 22em; }
.tile-label { font-size: .88rem; font-weight: 600; color: var(--orange-dark); margin-bottom: 8px; }
.tile h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); line-height: 1.12; letter-spacing: -.028em; margin-bottom: 10px; }
.tile p:not(.tile-label) { color: var(--grey-dark); }
.tile-photo { justify-content: flex-end; min-height: 460px; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transition: transform 1.6s var(--ease); }
.tile-photo:hover img { transform: scale(1.04); }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, .86) 100%); }
.tile-photo h3 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); max-width: 12em; }
.tile-type { justify-content: center; }
.tile-type h3 { font-size: clamp(1.9rem, 3.9vw, 3.25rem); line-height: 1.08; letter-spacing: -.035em; margin: 0; }

.art { position: absolute; z-index: 1; right: clamp(22px, 2.6vw, 34px); bottom: clamp(20px, 2.4vw, 30px); }
.art-code { display: flex; gap: 2px; font-size: 76px; font-weight: 600; line-height: 1; letter-spacing: -.06em; }
.art-code span { background: linear-gradient(160deg, #ffd58a, #ff5a1f); -webkit-background-clip: text; background-clip: text; color: transparent; transition: transform .6s var(--ease); }
.tile:hover .art-code span:first-child { transform: translateX(-8px); }
.tile:hover .art-code span:last-child { transform: translateX(8px); }
.art-target { width: 100px; height: 100px; }
.art-target i { position: absolute; inset: 0; border: 1.5px solid #48484c; border-radius: 50%; transition: transform .7s var(--ease), border-color .7s; }
.art-target i:nth-child(2) { inset: 17px; }
.art-target i:nth-child(3) { inset: 34px; border-color: #6a6a6e; }
.art-target b { position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: linear-gradient(140deg, #ffd58a, #ff5a1f); box-shadow: 0 0 24px rgba(255, 110, 40, .8); }
.tile:hover .art-target i:nth-child(1) { transform: scale(1.1); }
.tile:hover .art-target i:nth-child(3) { transform: scale(.86); border-color: #ff8a3d; }
.art-search { left: clamp(26px, 3vw, 40px); display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 18px; border-radius: 25px; background: #2a2a2c; font-size: 1.06rem; color: #f5f5f7; }
.art-search svg { width: 18px; height: 18px; fill: none; stroke: #98989d; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.art-search em { width: 2px; height: 22px; margin-left: -6px; background: var(--link-dark); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.t-b, .t-c, .t-d { padding-bottom: 130px; }

/* ---------- concepts: gallery ---------- */
.gallery { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline-offset: -3px; }
.gallery::-webkit-scrollbar { display: none; }
.gallery-track { display: flex; gap: 20px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.g-card { position: relative; flex: none; width: min(84vw, 900px); aspect-ratio: 16 / 10; border-radius: 28px; overflow: hidden; scroll-snap-align: center; background: #111; color: #fff; }
.g-card img { width: 100%; height: 100%; object-fit: cover; }
.g-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .62) 0%, rgba(0, 0, 0, 0) 46%); }
.g-cap { position: absolute; z-index: 1; left: clamp(22px, 3vw, 40px); top: clamp(20px, 3vw, 36px); right: 24px; }
.g-cap p { font-size: .88rem; font-weight: 600; opacity: .9; margin-bottom: 4px; }
.g-cap h3 { font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.08; letter-spacing: -.03em; }
.paddles { display: flex; justify-content: flex-end; gap: 14px; margin-top: 24px; }
.paddle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(210, 210, 215, .64); color: var(--ink); cursor: pointer; transition: background-color .2s, opacity .2s, transform .2s var(--ease); }
.paddle svg { width: 8px; height: 14px; }
.paddle:first-child svg { transform: rotate(180deg); }
.paddle:hover:not(:disabled) { background: rgba(190, 190, 196, .8); }
.paddle:active:not(:disabled) { transform: scale(.94); }
.paddle:disabled { opacity: .36; cursor: default; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px clamp(20px, 3vw, 40px); }
.steps li { border-top: 1px solid var(--hair); padding-top: 20px; }
.num { display: block; font-size: clamp(3rem, 5vw, 4.25rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; margin-bottom: 18px; background: linear-gradient(140deg, #ff9a3c, #d93a0b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.31rem; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 8px; }
.steps p { color: var(--sub); }

/* ---------- packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(28px, 3vw, 40px); border-radius: 28px; background: var(--paper); }
.plan-flag { font-size: .75rem; font-weight: 600; color: var(--grey); margin-bottom: 10px; }
.plan h3 { font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.plan-desc { color: var(--grey); min-height: 4.5em; }
.plan-price { margin: 22px 0 22px; }
.plan-price strong { display: block; font-size: 1.31rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.plan-price span { font-size: .88rem; color: var(--grey); }
.plan-price strong.amount { font-size: clamp(1.75rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 4px; }
.plan-price strong.amount small { font-size: 1.06rem; font-weight: 400; letter-spacing: -.01em; margin-left: 2px; color: var(--grey); }
.plan-pro .plan-price strong.amount small { color: var(--grey-dark); }
.ticks { width: 100%; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; font-size: .94rem; line-height: 1.4; }
.ticks svg { width: 16px; height: 16px; margin-top: 2px; }
.plan-pro { background: var(--ink); color: var(--paper); }
.plan-pro .plan-flag { background: linear-gradient(90deg, #ffd58a, #ff7a2b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-pro .plan-desc, .plan-pro .plan-price span { color: var(--grey-dark); }
.plan-pro .ticks { border-color: #424245; }

/* ---------- contact ---------- */
.cta { padding-bottom: clamp(72px, 9vw, 120px); overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 0; width: 1100px; height: 520px; transform: translateX(-50%); background: radial-gradient(50% 60% at 50% 0%, rgba(255, 122, 40, .22), transparent 70%); pointer-events: none; }
.cta .wrap { position: relative; }
.cta-mark { width: 48px; height: 54px; margin: 0 auto 26px; }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--hair); text-align: left; }
.contacts span { display: block; font-size: .75rem; color: var(--grey-dark); margin-bottom: 2px; }
.contacts a { display: inline-block; padding: 6px 0; color: var(--link-dark); text-decoration: none; overflow-wrap: anywhere; }
.contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- footer ---------- */
.footer { background: var(--paper); color: var(--grey); font-size: 12px; line-height: 1.5; letter-spacing: -.005em; padding: 22px 0 28px; position: relative; }
.footnote { padding-bottom: 18px; border-bottom: 1px solid var(--line); max-width: none; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 26px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.footer-links a { color: #424245; text-decoration: none; padding: 6px 0; }
.footer-links a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 16px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-a { grid-column: span 2; grid-row: auto; }
  .t-e { grid-column: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan-desc { min-height: 0; }
}

@media (max-width: 833px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; height: auto; padding: calc(var(--nav-h) + 28px) 36px 40px; background: #000; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto; }
  .nav-links a { display: block; padding: 10px 0; font-size: 28px; font-weight: 600; letter-spacing: -.03em; color: #f5f5f7; opacity: 0; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease); }
  .nav.open .nav-links { opacity: 1; visibility: visible; }
  .nav.open .nav-links a { opacity: 1; transform: none; }
  .nav.open .nav-links a:nth-child(2) { transition-delay: .03s; }
  .nav.open .nav-links a:nth-child(3) { transition-delay: .06s; }
  .nav.open .nav-links a:nth-child(4) { transition-delay: .09s; }
  .nav.open .nav-links a:nth-child(5) { transition-delay: .12s; }
  .nav.open .nav-links a:nth-child(6) { transition-delay: .15s; }
  .nav-toggle { display: block; }
  .nav-cta { margin-right: 4px; }
  .facts { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-e { grid-column: auto; }
  .tile-photo { min-height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .mac { width: 100%; }
  .mac-base { width: 108%; margin-left: -4%; }
  .phone { width: 24%; right: -1%; bottom: -2%; }
  .devices { padding-bottom: 6%; }
  .g-card { aspect-ratio: 4 / 5; width: 82vw; }
  .hero .actions { flex-direction: column; gap: 4px; }
  .actions { gap: 6px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .tile[data-reveal], .js .plan[data-reveal] { opacity: 1; transform: none; }
  .js .words .w { color: var(--paper); }
  .hero-copy { transform: none; opacity: 1; }
}
