/* All Things Digital · design & deploy studio
   Paper, ink and one vermilion. Anybody's width axis does the moving type;
   Noto Sans Myanmar carries every Burmese line. */

:root {
  --paper: #f2ede3; --paper-2: #e9e2d4; --paper-3: #ddd3bf;
  --ink: #16130f; --ink-2: #4b443a; --ink-3: #857b6d;
  --line: rgba(22, 19, 15, .14);
  --accent: #e8461e; --accent-2: #c43a14; --thanaka: #e9cf94;
  --display: "Anybody", "Arial Narrow", sans-serif;
  --text: "Host Grotesk", system-ui, sans-serif;
  --mono: "Martian Mono", ui-monospace, monospace;
  --my: "Noto Sans Myanmar", "Myanmar Text", sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--paper); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--ink); background: var(--paper); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:lang(my) { font-family: var(--my); line-height: 1.75; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 12px; }

/* paper grain over everything */
.grain { position: fixed; inset: -100px; z-index: 150; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .07 0 0 0 0 .05 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(3) infinite; }
@keyframes grain { 33% { transform: translate(-30px, 20px); } 66% { transform: translate(25px, -35px); } }

/* shared bits */
.label { display: flex; align-items: center; gap: 12px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.label span { display: grid; place-items: center; min-width: 34px; height: 22px; padding: 0 6px; border: 1px solid currentColor; border-radius: 999px; font-size: 10.5px; }
.big-title { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 72; font-size: clamp(54px, 9.4vw, 158px); line-height: .86; letter-spacing: -.012em; text-transform: uppercase; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; white-space: nowrap; transition: background .3s, color .3s, transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--accent); }
.btn--accent { background: var(--accent); color: #fff7ef; }
.btn--accent:hover { background: var(--ink); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--xl { padding: 20px 30px; font-size: 17px; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px 40px; padding: 0 var(--pad); margin-bottom: 56px; }
.sec-head .label { grid-column: 1 / -1; }
.sec-head__my { max-width: 22em; font-size: 18px; color: var(--ink-2); text-align: right; }

/* LOADER */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 4px; background: var(--paper-2); color: var(--ink); border-radius: 0 0 0 0;
  animation: loaderSafety .6s 4s forwards; }
@keyframes loaderSafety { to { transform: translateY(-100%); visibility: hidden; } }
.loader__mark { position: relative; font-family: var(--display); font-weight: 900; font-size: clamp(64px, 12vw, 150px); line-height: .9; font-variation-settings: "wdth" 60; }
.loader__mark i { position: absolute; right: -.32em; bottom: .12em; width: .22em; height: .22em; border-radius: 50%; background: var(--accent); }
.loader__count { display: flex; align-items: baseline; gap: 4px; font-family: var(--my); font-weight: 700; font-size: 22px; color: var(--ink-2); line-height: 1.6; }
.loader__count small { font-family: var(--mono); font-size: 12px; }
.loader__line { font-size: 14px; color: var(--ink-3); }
[data-motion="reduced"] .loader { display: none; }

/* NAV */
.nav { position: fixed; z-index: 120; inset: 14px var(--pad) auto; display: flex; align-items: center; gap: 10px; transition: transform .5s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav > * { background: rgba(242, 237, 227, .84); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px var(--line); }
.nav__logo { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 16px; border-radius: 999px; margin-right: auto; }
.nav__logo b { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; font-size: 24px; letter-spacing: .01em; }
.nav__logo i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: livePulse 2.2s infinite; }
.nav__logo span { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(232, 70, 30, .5); } 70% { box-shadow: 0 0 0 8px rgba(232, 70, 30, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 70, 30, 0); } }
.nav__links { display: flex; gap: 2px; height: 46px; padding: 4px; border-radius: 999px; }
.nav__links a { display: grid; place-items: center; padding: 0 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; transition: background .3s, color .3s; }
.nav__links a:hover, .nav__links a.is-on { background: var(--ink); color: var(--paper); }
.nav__motion { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.nav__motion-ico { display: flex; gap: 3px; }
.nav__motion-ico i { width: 3px; height: 12px; border-radius: 2px; background: currentColor; animation: eq 1s ease-in-out infinite; }
.nav__motion-ico i:nth-child(2) { animation-delay: -.5s; }
@keyframes eq { 50% { transform: scaleY(.4); } }
[data-motion="reduced"] .nav__motion-ico i { animation: none; transform: scaleY(.5); }
.nav > .nav__cta { height: 46px; padding: 0 20px; background: var(--ink); box-shadow: none; }
.nav > .nav__cta:hover { background: var(--accent); }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; place-content: center; gap: 6px; }
.nav__burger i { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .35s var(--ease); }
.nav__burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 110; display: flex; align-items: flex-end; padding: 100px var(--pad) 40px; background: var(--paper-2); }
.menu[hidden] { display: none; }
.menu nav { display: grid; width: 100%; }
.menu a { display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: clamp(38px, 11vw, 64px); line-height: 1; text-transform: uppercase; }
.menu a span { font: 500 12px var(--mono); color: var(--accent); }
.menu a small { margin-left: auto; font-size: 14px; font-weight: 500; color: var(--ink-2); text-transform: none; }

/* HERO */
/* the words and intro on the left, the reel of sites on the right */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; column-gap: 4vw; padding: calc(var(--nav-h) + 22px) var(--pad) 26px; overflow: hidden; isolation: isolate; }
.hero__meta, .hero__title, .hero__foot { grid-column: 1; }
.hero__meta { position: relative; z-index: 4; display: flex; justify-content: space-between; gap: 20px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.hero__meta b { font-weight: 600; color: var(--ink); }
.hero__meta a { color: var(--accent); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .3s; }
.hero__meta a:hover { text-decoration-color: currentColor; }
.hero__title { position: relative; z-index: 3; align-self: center; display: grid; padding: 2vh 0; pointer-events: none; font-family: var(--display); font-weight: 800; font-size: var(--fs, 15.4vw); line-height: .8; text-transform: uppercase; }
.hero__word { display: flex; justify-content: space-between; white-space: nowrap; }
.k { display: inline-block; font-variation-settings: "wdth" var(--w, 100), "wght" var(--g, 800); }
.hero__word .k { will-change: transform; }
.hero__mid { display: flex; align-items: center; margin: .03em 0 .05em; }
.hero__amp { font-family: var(--display); font-weight: 300; font-variation-settings: "wdth" 120, "wght" 300; font-size: .36em; line-height: .8; color: var(--accent); }
.hero__foot { position: relative; z-index: 4; display: grid; gap: 22px; justify-items: start; }
.hero__lead p { max-width: 34em; font-size: clamp(15px, 1.15vw, 18px); color: var(--ink-2); }
.hero__lead p:first-child { font-size: clamp(17px, 1.4vw, 22px); line-height: 1.4; color: var(--ink); }
.hero__lead .my { margin-top: 8px; font-size: 14.5px; }
.hero__ctas { display: flex; gap: 10px; flex-wrap: wrap; }

/* the reel: two columns of the sites, full height, drifting in opposite directions */
.reel { --rw: clamp(170px, min(17vw, 28vh), 270px); grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-columns: var(--rw) var(--rw); gap: 14px; margin: calc(-1 * (var(--nav-h) + 22px)) 0 -26px;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(transparent, #000 14%, #000 86%, transparent); }
.reel__col { position: relative; overflow: hidden; overflow: clip; }
.reel__track { position: absolute; left: 0; right: 0; top: 0; display: grid; gap: 14px; will-change: transform; }
.reel__card { position: relative; display: block; border-radius: 14px; overflow: hidden; background: var(--paper-3); box-shadow: 0 1px 0 rgba(22, 19, 15, .06), 0 22px 36px -26px rgba(22, 19, 15, .5); transition: box-shadow .3s; }
.reel__card:hover, .reel__card:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--accent), 0 22px 36px -26px rgba(22, 19, 15, .5); }
.reel__card img { width: 100%; height: auto; object-fit: cover; object-position: top; -webkit-user-drag: none; user-select: none; }
.reel__card--wide img { aspect-ratio: 16 / 10; }
.reel__card--tall img { aspect-ratio: 3 / 4; }
.reel__card span { position: absolute; left: 10px; bottom: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(242, 237, 227, .94); font: 500 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.reel__card:hover span, .reel__card:focus-visible span { opacity: 1; transform: none; }

/* STATEMENT */
.statement { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 30px 20px; padding: 18vh var(--pad) 16vh; }
.statement .label { grid-column: 1 / -1; }
.statement__en { grid-column: 1 / span 10; font-family: var(--display); font-weight: 600; font-variation-settings: "wdth" 88, "wght" 600; font-size: clamp(30px, 4.3vw, 72px); line-height: 1.04; letter-spacing: -.01em; }
.statement__my { grid-column: 1 / span 8; font-size: clamp(17px, 1.6vw, 24px); color: var(--ink-2); }
.statement .w { opacity: .13; transition: opacity .25s linear; }
[data-motion="reduced"] .statement .w { opacity: 1; }
.facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 4vh; }
.facts li { padding: 22px 20px 0 0; }
.facts li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.facts b { display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 70; font-size: clamp(40px, 5vw, 80px); line-height: 1; }
.facts span { font-size: 14px; color: var(--ink-2); }

/* WORK */
.work__head { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px 20px; padding: 6vh var(--pad) 14vh; }
.work__head .label { grid-column: 1 / -1; }
.work__head .big-title { grid-column: 1 / span 8; }
.work__note { grid-column: 1 / span 6; max-width: 36em; color: var(--ink-2); }
.work__note b { color: var(--ink); }
.work__note span { display: block; margin-top: 6px; font-size: 14.5px; }
.index { grid-column: 1 / -1; margin-top: 4vh; border-top: 1px solid var(--ink); counter-reset: idx; }
.index li a { position: relative; display: grid; grid-template-columns: 70px 1.3fr 1fr 1fr 40px; align-items: center; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: padding .4s var(--ease), background .4s, color .4s; }
.index li a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.index li a:hover { padding-inline: 20px; color: var(--paper); }
.index li a:hover::before { transform: none; }
.index__n { font: 500 12px var(--mono); color: var(--ink-3); }
.index__name { font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 80; font-size: clamp(22px, 2.4vw, 38px); line-height: 1.05; text-transform: uppercase; }
.index__en { font-size: 15px; }
.index__my { font-size: 15px; color: var(--ink-2); }
.index li a:hover .index__my, .index li a:hover .index__n { color: rgba(242, 237, 227, .7); }
.index__go { justify-self: end; transition: transform .4s var(--ease); }
.index li a:hover .index__go { transform: rotate(-45deg); }
.peek { position: fixed; z-index: 90; left: 0; top: 0; width: 300px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.6); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45); }
.peek img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* chapters */
.ch { position: relative; color: var(--fg); }
.ch__stage { position: relative; height: 100vh; min-height: 640px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; gap: 0 20px; padding: calc(var(--nav-h) + 10px) var(--pad) 40px; background: var(--bg); overflow: hidden; transform-origin: 50% 0; }
.ch__word { position: absolute; left: 0; top: 50%; z-index: 0; margin-top: -.62em; font-weight: 800; font-size: clamp(160px, 30vw, 560px); line-height: 1.25; white-space: nowrap; color: var(--soft); pointer-events: none; will-change: transform; }
.ch__word--thin { font-weight: 200; }
.ch__word--heavy { font-weight: 900; }
.ch__meta { position: relative; z-index: 3; grid-column: 1 / span 4; }
.ch__num { font: 500 12px var(--mono); letter-spacing: .06em; }
.ch__num span { opacity: .5; }
.ch__sector { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--acc); }
.ch--dark .ch__sector { color: var(--acc); }
.ch__name { margin: 8px 0 6px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 76; font-size: clamp(38px, 4.4vw, 74px); line-height: .9; text-transform: uppercase; letter-spacing: -.01em; }
.ch__my { font-size: 16px; opacity: .8; }
.ch__built { display: grid; gap: 8px; margin: 24px 0 16px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--fg) 20%, transparent); }
.ch__built li { position: relative; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.ch__built li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 2px; background: var(--acc); }
.ch__built span { font-size: .95em; }
.ch__moves { font-size: 13.5px; opacity: .72; }
.ch__moves b { font-weight: 600; }
.ch__open { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 13px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-weight: 600; font-size: 14.5px; transition: transform .3s var(--ease), background .3s; }
.ch__open:hover { transform: translateY(-2px); background: var(--acc); color: #fff; }
.ch__devices { position: relative; z-index: 2; grid-column: 6 / span 7; cursor: pointer; }
.ch--b .ch__meta { grid-column: 9 / span 4; grid-row: 1; }
.ch--b .ch__devices { grid-column: 1 / span 7; grid-row: 1; }
.browser { position: relative; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 50px 80px -40px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .08); }
.browser__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #efeae1; border-bottom: 1px solid rgba(0, 0, 0, .08); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8d1c4; }
.browser__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 999px; background: #fff; font: 500 10.5px var(--mono); color: #6f675c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%; }
.browser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f4f1ec; }
.shot { width: 100%; height: auto; will-change: transform; }
.phone { position: absolute; z-index: 3; left: -7%; bottom: -12%; width: 24%; padding: 7px; border-radius: 30px; background: #141210; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); }
.ch--b .phone { left: auto; right: -7%; }
.phone__view { position: relative; aspect-ratio: 9 / 19.5; border-radius: 24px; overflow: hidden; background: #f4f1ec; }
.phone__view::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 7px; width: 34%; height: 15px; translate: -50% 0; border-radius: 999px; background: #141210; }
/* --x / --y place the object's top centre relative to the middle of the stage (no CSS transform, GSAP owns it) */
.ch__cut { position: absolute; z-index: 4; left: calc(50% + var(--x, 0%)); top: calc(50% + var(--y, 0%)); width: var(--w, 20vw); margin-left: calc(var(--w, 20vw) / -2); pointer-events: none; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .28)); will-change: transform; }
.ch--dark .ch__cut { filter: drop-shadow(0 40px 50px rgba(0, 0, 0, .55)); }
.ch__weave { overflow: visible; filter: none; }
.ch__weave path { fill: none; stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; }

/* PROCESS */
.process { position: relative; background: var(--paper-2); }
.process__pin { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 4vw; padding: calc(var(--nav-h) + 20px) var(--pad) 40px; overflow: hidden; }
.process .big-title { font-size: clamp(48px, min(6.4vw, 9vh), 112px); }
.process__my { margin: 10px 0 18px; font-size: 17px; font-weight: 600; color: var(--accent); }
.steps { display: grid; gap: 2px; }
.step { display: grid; grid-template-columns: 52px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--line); opacity: .32; transition: opacity .45s; }
.step.is-on { opacity: 1; }
.step b { font: 500 12px var(--mono); padding-top: 6px; }
.step h3 { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 26px; line-height: 1; text-transform: uppercase; }
.step p { font-size: 14.5px; color: var(--ink-2); margin-top: 6px; }
.step p:lang(my) { font-size: 13.5px; margin-top: 2px; }
.process__stage { position: relative; }
.pbrowser { position: relative; z-index: 2; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .08); }
.pbrowser__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; background: #efeae1; }
.pbrowser__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #d8d1c4; }
.pbrowser__url { display: flex; align-items: center; gap: 6px; min-width: 40%; height: 26px; margin: 0 auto; padding: 0 14px; border-radius: 999px; background: #fff; font: 500 12px var(--mono); color: var(--ink-2); }
.pbrowser__url .lock { width: 11px; height: 11px; fill: #2c8a55; opacity: 0; }
.caret { width: 1.5px; height: 13px; background: var(--ink); animation: caret 1s steps(2) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.live { display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #e3f3e8; color: #1f7a45; font: 600 11px var(--mono); opacity: 0; transform: scale(.6); }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #2c8a55; animation: livePulse 1.8s infinite; }
.pbrowser__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #fdfbf6; container-type: inline-size; }
.sketch { position: absolute; inset: 0; width: 100%; height: 100%; background-image: linear-gradient(rgba(60, 90, 160, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(60, 90, 160, .08) 1px, transparent 1px); background-size: 20px 20px; }
.sk path { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.notes text { font: 600 17px var(--my); fill: var(--accent); }
.notes path { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; }
.mock { position: absolute; inset: 0; display: grid; grid-template-rows: auto 1fr; background: #f7eedc; color: #3b2416; font-family: var(--my); }
.mock__nav { display: flex; align-items: center; gap: 2cqw; padding: 1.6cqw 3cqw; border-bottom: 1px solid rgba(59, 36, 22, .12); }
.mock__logo { display: flex; align-items: center; gap: .8cqw; font-weight: 800; font-size: 1.8cqw; }
.mock__logo i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: radial-gradient(circle at 65% 40%, #5a3418 45%, #f2c46d 47%); }
.mock__links { display: flex; gap: 1.4cqw; margin-left: auto; }
.mock__links i { width: 5cqw; height: .7cqw; border-radius: 9px; background: rgba(59, 36, 22, .25); }
.mock__btn { padding: .8cqw 1.6cqw; border-radius: 99px; background: #5a3418; color: #fff8ea; font-size: 1.2cqw; font-weight: 600; }
.mock__hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2cqw; padding: 0 3cqw; }
.mock__eyebrow { font-size: 1.2cqw; font-weight: 600; color: #9a5b2e; }
.mock__h { margin: 1cqw 0; font-weight: 800; font-size: 5cqw; line-height: 1.35; }
.mock__h em { font-style: normal; color: #cf6a3d; }
.mock__p { font-size: 1.3cqw; color: #6a513b; max-width: 26em; }
.mock__ctas { display: flex; gap: 1cqw; margin-top: 2cqw; }
.mock__cta { position: relative; padding: 1.1cqw 2cqw; border-radius: 99px; background: #5a3418; color: #fff8ea; font-size: 1.25cqw; font-weight: 600; }
.mock__cta--line { background: none; color: #5a3418; box-shadow: inset 0 0 0 1.5px #5a3418; }
.mock__art { position: relative; height: 44cqw; max-height: 100%; }
.mock__arch { position: absolute; inset: 3cqw 0 0 14%; border-radius: 20cqw 20cqw 2cqw 2cqw; overflow: hidden; background: #d9c3a0; }
.mock__arch img { width: 100%; height: 100%; object-fit: cover; }
.mock__glass { position: absolute; left: 0; bottom: 2cqw; width: 52%; }
.mock__steam { position: absolute; left: 20%; top: -34%; width: 32%; overflow: visible; }
.mock__steam path { fill: none; stroke: rgba(255, 255, 255, .95); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 60 140; stroke-dashoffset: 200; opacity: 0; filter: blur(1.4px); }
.cursor { position: absolute; z-index: 5; left: 70%; top: 80%; width: 3cqw; opacity: 0; }
.cursor svg { fill: var(--ink); stroke: #fff; stroke-width: 1.5; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .3)); }
.cursor .ripple { position: absolute; left: 0; top: 0; width: 4cqw; height: 4cqw; margin: -2cqw 0 0 -2cqw; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; }
.timeline { position: absolute; z-index: 6; left: 3%; right: 3%; bottom: 3%; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(22, 19, 15, .9); color: var(--paper); opacity: 0; transform: translateY(20px); }
.timeline__label { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.timeline__track { position: relative; flex: 1; height: 18px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .12) 0 1px, transparent 1px 22px); }
.timeline__track i { position: absolute; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: var(--thanaka); transform: rotate(45deg); }
.timeline__head { position: absolute; left: 0; top: -6px; bottom: -6px; width: 2px; background: var(--accent); }
.toast { position: absolute; z-index: 7; right: 3%; top: 6%; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 14px; opacity: 0; transform: translateY(-20px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.toast i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #2c8a55; font-style: normal; font-weight: 700; }
.toast b { display: block; font-weight: 600; }
.toast span span { font-size: 12.5px; opacity: .75; line-height: 1.5; }
.swatches { position: absolute; z-index: 3; left: -4%; top: -9%; display: flex; align-items: center; gap: 6px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 20px 30px -20px rgba(0, 0, 0, .4); font: 500 11px var(--mono); opacity: 0; }
.swatches i { width: 22px; height: 22px; border-radius: 50%; background: var(--c); }
.swatches span { margin-left: 6px; }
.pphone, .ptablet { position: absolute; z-index: 1; background: #141210; box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .55); opacity: 0; }
.pphone { right: -5%; bottom: -14%; z-index: 3; width: 21%; padding: 6px; border-radius: 26px; }
.pphone__view { aspect-ratio: 9 / 19.5; border-radius: 21px; overflow: hidden; background: #f7eedc; }
.ptablet { left: -8%; bottom: -10%; width: 40%; padding: 8px; border-radius: 20px; }
.ptablet__view { aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: #f7eedc; }
.pphone img, .ptablet img { width: 100%; }

/* MOTION PLAYGROUND */
.motion { padding: 20vh 0 16vh; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 0 var(--pad); }
.tile { position: relative; display: grid; grid-template-rows: 1fr auto auto; padding: 12px 12px 18px; border-radius: 22px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.tile:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--ink); }
.tile__demo { position: relative; aspect-ratio: 1 / .82; display: grid; place-items: center; border-radius: 14px; overflow: hidden; background: var(--paper); }
.tile h3 { margin: 16px 6px 2px; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 21px; line-height: 1.1; text-transform: uppercase; }
.tile p { margin: 0 6px; font-size: 13.5px; color: var(--ink-2); }
.ktile { font-family: var(--display); font-size: clamp(54px, 5.6vw, 92px); line-height: 1; font-variation-settings: "wdth" var(--w, 100), "wght" var(--g, 700); color: var(--ink); white-space: nowrap; }
.minipage { width: 58%; height: 86%; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.minipage__inner { display: grid; gap: 8px; padding: 10px; animation: miniScroll 6s var(--ease) infinite; }
.minipage__inner i { height: 34px; border-radius: 6px; background: var(--paper-2); }
.minipage__inner b { height: 80px; border-radius: 6px; background: var(--accent); animation: miniPin 6s var(--ease) infinite; }
.minipage__inner b:nth-of-type(2) { background: var(--ink); }
@keyframes miniScroll { 0%, 10% { transform: translateY(0); } 45%, 55% { transform: translateY(-110px); } 90%, 100% { transform: translateY(-220px); } }
@keyframes miniPin { 0%, 30% { transform: scale(1); border-radius: 6px; } 45%, 60% { transform: scale(1.08) rotate(-2deg); border-radius: 22px; } 80%, 100% { transform: scale(1); border-radius: 6px; } }
.tilt { position: relative; width: 70%; transform-style: preserve-3d; transition: transform .2s ease-out; }
.tilt img { width: 100%; filter: drop-shadow(0 26px 22px rgba(0, 0, 0, .3)); }
.tilt__glint { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 246, 214, .6), transparent 40%); mix-blend-mode: overlay; pointer-events: none;
  -webkit-mask: url(../assets/img/gold-necklace-cut.webp) center / contain no-repeat; mask: url(../assets/img/gold-necklace-cut.webp) center / contain no-repeat; }
.tile--depth .tile__demo { background: radial-gradient(circle at 50% 40%, #1f5a46, #0e3b2e 70%); perspective: 600px; }
.tile--nums .tile__demo { align-content: center; gap: 6px; background: #0e3b2e; color: #e8cf8b; }
.tile--nums small { font-size: 12px; opacity: .75; }
.odo { display: inline-flex; font-family: var(--my); font-weight: 800; font-size: clamp(34px, 3.2vw, 52px); line-height: 1.4; }
.odo__d { position: relative; display: inline-block; height: 1.4em; overflow: hidden; }
.odo__col { display: flex; flex-direction: column; transition: transform 1.3s cubic-bezier(.65, 0, .2, 1); }
.odo__col span { height: 1.4em; }
.odo__sep { display: inline-block; }
.reveal { cursor: crosshair; }
.reveal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reveal__under { filter: grayscale(1) contrast(1.2) brightness(1.1); }
.reveal__over { clip-path: circle(var(--r, 0%) at var(--rx, 50%) var(--ry, 50%)); transition: clip-path .15s linear; }
.tile--micro .tile__demo { gap: 18px; grid-auto-flow: column; }
.like { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-family: var(--mono); font-size: 14px; }
.like svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; transition: transform .35s cubic-bezier(.3, 1.8, .5, 1); overflow: visible; }
.like[aria-pressed="true"] svg { fill: var(--accent); stroke: var(--accent); transform: scale(1.18); }
.like .burst { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); pointer-events: none; }
.tog { width: 58px; height: 32px; border-radius: 99px; background: var(--paper-3); position: relative; transition: background .3s; }
.tog i { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.tog[aria-checked="true"] { background: var(--accent); }
.tog[aria-checked="true"] i { transform: translateX(26px); }
.pages { position: relative; width: 66%; height: 78%; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.pg { position: absolute; inset: 0; display: grid; align-content: start; gap: 8px; padding: 12px; }
.pg b { height: 50%; border-radius: 6px; }
.pg i { height: 10px; border-radius: 4px; background: rgba(0, 0, 0, .12); }
.pg--a { background: #f4e6cf; } .pg--a b { background: #cf6a3d; }
.pg--b { background: #e2e6f5; animation: pgSwap 5s infinite; } .pg--b b { background: #233d8c; }
.curtain { position: absolute; inset: 0; background: var(--ink); transform: translateY(100%); animation: curtain 5s infinite; }
@keyframes curtain { 0%, 30% { transform: translateY(100%); } 40%, 45% { transform: translateY(0); } 55%, 80% { transform: translateY(-100%); } 90%, 95% { transform: translateY(0); } 100% { transform: translateY(100%); } }
@keyframes pgSwap { 0%, 42% { opacity: 0; } 43%, 92% { opacity: 1; } 93%, 100% { opacity: 0; } }
.tile--loop .tile__demo { background: linear-gradient(180deg, #f8d6a8, #efb18e 70%, #e19a86); }
.loop__balloon { position: absolute; width: 30%; animation: balloon 9s ease-in-out infinite; }
@keyframes balloon { 0% { transform: translate(-90%, 30%) rotate(-3deg); } 50% { transform: translate(40%, -30%) rotate(3deg); } 100% { transform: translate(-90%, 30%) rotate(-3deg); } }
.loop__marquee { position: absolute; left: 0; bottom: 12px; display: flex; white-space: nowrap; font-family: var(--my); font-weight: 800; font-size: 22px; color: rgba(46, 31, 26, .55); animation: marquee 12s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* PRICE */
.price { position: relative; display: grid; justify-items: center; gap: 22px; padding: 18vh var(--pad); text-align: center; background: var(--thanaka); overflow: hidden; }
.price .label { justify-self: start; }
.price__big { display: flex; align-items: baseline; gap: 1.5vw; font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 62; line-height: .9; }
.price__from { font-size: clamp(22px, 2.4vw, 40px); font-weight: 500; font-variation-settings: "wdth" 100, "wght" 500; align-self: flex-start; margin-top: 2vw; }
.odo--big { font-family: var(--display); font-weight: 900; font-size: clamp(110px, 25vw, 420px); line-height: .82; }
.odo--big .odo__d, .odo--big .odo__col span { height: .82em; }
.price__ks { font-size: clamp(30px, 4vw, 70px); }
.price__my { font-size: clamp(18px, 1.8vw, 26px); font-weight: 600; }
.price__my b { color: var(--accent-2); }
.price__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin: 3vh 0 2vh; text-align: left; }
.price__copy { font-size: 18px; line-height: 1.5; }
.price__copy span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); }
.incl li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(22, 19, 15, .2); }
.incl li:first-child { border-top: 1px solid rgba(22, 19, 15, .2); }
.incl b { font-weight: 600; }
.incl span { font-size: 14px; color: var(--ink-2); text-align: right; }

/* TRY YOURS */
.try { padding: 20vh 0 16vh; }
.try__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4vw; padding: 0 var(--pad); align-items: start; }
.field { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; font-weight: 600; font-size: 15px; }
.field i { font-style: normal; font-weight: 500; color: var(--ink-3); margin-left: 6px; font-size: 13.5px; }
.field input { padding: 16px 18px; border-radius: 14px; border: 1.5px solid var(--ink); background: #fff; font-size: 18px; font-family: var(--my); line-height: 1.5; }
.field small { font-size: 12.5px; color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); box-shadow: none; }
.chip[aria-pressed="true"] i { color: rgba(242, 237, 227, .7); }
.try__send { margin-top: 10px; padding: 22px; border-radius: 18px; background: var(--paper-2); }
.try__send > p:first-child { font-weight: 600; }
.try__send > p span { display: block; font-weight: 500; font-size: 14px; color: var(--ink-2); }
.send { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.send__b { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 14px; font-weight: 600; transition: background .25s; }
.send__b:hover { background: var(--accent); }
.send__note { font-size: 12.5px; color: var(--ink-3); }
.send__note.is-ok { color: #1f7a45; }
.try__preview { position: sticky; top: calc(var(--nav-h) + 20px); }
.tbrowser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 60px 90px -50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(0, 0, 0, .08); }
.tbrowser__bar { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; background: #efeae1; }
.tbrowser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d1c4; }
.tbrowser__bar span { margin: 0 auto; padding: 4px 16px; border-radius: 999px; background: #fff; font: 500 11.5px var(--mono); color: var(--ink-2); }
.tsite { --tb: #f6ecdc; --tf: #3b2416; --ta: #cf6a3d; --tblob: #f2c46d; aspect-ratio: 16 / 10.5; display: grid; grid-template-rows: auto 1fr; background: var(--tb); color: var(--tf); container-type: inline-size; transition: background .6s, color .6s; }
[data-style="bold"] .tsite { --tb: #191919; --tf: #f4f1ea; --ta: #ff5a1f; --tblob: #ff5a1f; }
[data-style="elegant"] .tsite { --tb: #0f3b2f; --tf: #f4ebd8; --ta: #c9a24a; --tblob: #1f5a46; }
.tsite__nav { display: flex; align-items: center; gap: 2cqw; padding: 2cqw 3.4cqw; border-bottom: 1px solid color-mix(in srgb, var(--tf) 14%, transparent); }
.tsite__logo { font-family: var(--my); font-weight: 800; font-size: 2cqw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 40%; }
.tsite__links { display: flex; gap: 1.6cqw; margin-left: auto; }
.tsite__links i { width: 6cqw; height: .8cqw; border-radius: 9px; background: color-mix(in srgb, var(--tf) 28%, transparent); }
.tsite__hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 2cqw; padding: 0 3.4cqw; }
.tsite__kick { font: 500 1.3cqw var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ta); }
.tsite__name { margin: 1.4cqw 0 1cqw; font-family: var(--my); font-weight: 800; font-size: 6.2cqw; line-height: 1.32; overflow-wrap: anywhere; }
[data-style="elegant"] .tsite__name { font-weight: 300; }
[data-style="bold"] .tsite__name { font-weight: 900; letter-spacing: -.01em; }
.tsite__tag { font-size: 2cqw; opacity: .8; }
.tsite__cta { display: inline-block; margin-top: 2.6cqw; padding: 1.4cqw 2.6cqw; border-radius: 99px; background: var(--ta); color: var(--tb); font-family: var(--my); font-weight: 700; font-size: 1.6cqw; }
[data-style="elegant"] .tsite__cta { border-radius: 0; }
.tsite__art { position: relative; display: grid; place-items: center; height: 42cqw; }
.tsite__blob { position: absolute; width: 34cqw; aspect-ratio: 1; border-radius: 50%; background: var(--tblob); opacity: .9; }
[data-style="bold"] .tsite__blob { border-radius: 0; transform: rotate(8deg); }
[data-style="elegant"] .tsite__blob { border-radius: 50% 50% 4px 4px; }
.tsite__art img { position: relative; max-width: 86%; max-height: 40cqw; object-fit: contain; filter: drop-shadow(0 3cqw 3cqw rgba(0, 0, 0, .3)); }
.try__caption { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.try__caption span { margin-left: 6px; }

/* FAQ */
.faq { padding: 6vh 0 18vh; }
.qas { margin: 0 var(--pad); border-top: 1px solid var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; padding: 24px 56px 24px 0; cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700; font-variation-settings: "wdth" 85; font-size: clamp(20px, 2.1vw, 32px); line-height: 1.15; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary span { grid-column: 1; font-family: var(--my); font-weight: 500; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat; transition: transform .45s var(--ease); }
.qa[open] summary::after { transform: rotate(135deg); }
.qa > div { display: grid; gap: 8px; max-width: 46em; padding: 0 0 26px; font-size: 17px; color: var(--ink-2); }
.qa > div p:lang(my) { font-size: 15px; }

/* CONTACT */
.contact { position: relative; padding: 16vh var(--pad) 10vh; background: var(--accent); color: var(--ink); overflow: hidden; }
.contact__title { display: grid; margin-bottom: 8vh; font-family: var(--display); font-weight: 900; font-size: var(--fs2, 12.6vw); line-height: .84; text-transform: uppercase; white-space: nowrap; }
.contact__line { display: flex; justify-content: space-between; }
.contact__line--b { color: #fff4ea; }
.channels { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(22, 19, 15, .3); }
.channel { position: relative; display: grid; gap: 4px; padding: 24px 40px 24px 0; border-bottom: 1px solid rgba(22, 19, 15, .3); transition: color .3s, padding .4s var(--ease); }
.channels li:nth-child(3n+2) .channel, .channels li:nth-child(3n+3) .channel { padding-left: 24px; border-left: 1px solid rgba(22, 19, 15, .3); }
a.channel:hover { color: #fff4ea; }
.channel small { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(22, 19, 15, .6); }
.channel b { font-size: clamp(17px, 1.5vw, 22px); font-weight: 600; word-break: break-word; }
.channel b span { font-size: .8em; font-weight: 500; opacity: .7; }
.channel > span { position: absolute; right: 16px; top: 24px; transition: transform .4s var(--ease); }
a.channel:hover > span { transform: translate(4px, -4px); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding: 22px var(--pad) 30px; background: var(--ink); color: rgba(242, 237, 227, .6); font-size: 13px; border-top: 1px solid rgba(242, 237, 227, .12); }
.foot button { text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover, .foot button:hover { color: var(--paper); }

/* VIEWER */
.viewer { position: fixed; inset: 0; z-index: 180; display: grid; grid-template-rows: auto 1fr; background: var(--paper-2); }
.viewer[hidden] { display: none; }
.viewer__bar { display: flex; align-items: center; gap: 12px; padding: 12px var(--pad); border-bottom: 1px solid var(--line); background: var(--paper); }
.viewer__title { margin-right: auto; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 20px; text-transform: uppercase; }
.viewer__seg { display: flex; padding: 4px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); }
.viewer__seg button { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; }
.viewer__seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.viewer__new { font-size: 13.5px; font-weight: 500; padding: 8px 12px; }
.viewer__close { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 24px; line-height: 1; }
.viewer__body { display: grid; place-items: center; overflow: hidden; padding: 16px; }
.viewer__frame { width: 100%; height: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .4); transition: width .6s var(--ease), height .6s var(--ease), border-radius .6s; }
.viewer.is-phone .viewer__frame { width: 390px; height: min(844px, 100%); border-radius: 36px; box-shadow: 0 0 0 10px #141210, 0 30px 60px -30px rgba(0, 0, 0, .5); }
.viewer iframe { width: 100%; height: 100%; border: 0; }

.cursor-tag { position: fixed; z-index: 170; left: 0; top: 0; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 600; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.5); transition: opacity .25s, transform .25s var(--ease); white-space: nowrap; }
.cursor-tag.is-on { opacity: 1; transform: translate(14px, 14px) scale(1); }
.cursor-tag span { font-weight: 500; opacity: .75; }

/* the process story's last frame, used when motion is off */
.process.is-final .toast, .process.is-final .live, .process.is-final .pphone, .process.is-final .ptablet { opacity: 1; transform: none; }
.process.is-final .pphone { transform: rotate(4deg); }
.process.is-final .ptablet { transform: rotate(-3deg); }
.process.is-final .pbrowser__url .lock { opacity: 1; }

/* REDUCED MOTION: everything still and fully laid out */
[data-motion="reduced"] .grain, [data-motion="reduced"] .nav__logo i,
[data-motion="reduced"] .minipage__inner, [data-motion="reduced"] .minipage__inner b, [data-motion="reduced"] .curtain, [data-motion="reduced"] .pg--b,
[data-motion="reduced"] .loop__balloon, [data-motion="reduced"] .loop__marquee, [data-motion="reduced"] .caret, [data-motion="reduced"] .live i { animation: none; }
[data-motion="reduced"] .mock__steam path { opacity: .8; stroke-dashoffset: 0; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  .nav__links a { padding: 0 11px; }
  .nav__logo span, .nav__motion-txt { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .ch__meta { grid-column: 1 / span 5; }
  .ch--b .ch__meta { grid-column: 8 / span 5; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  /* the title column is narrow here; the logo already says who we are */
  .hero__meta > :first-child { display: none; }
}
@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav { inset: 10px 12px auto; gap: 6px; }
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: grid; }
  .nav__motion { width: 46px; padding: 0; justify-content: center; }
  /* phones: title, then the reel as a band of its own, then the intro */
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; padding-top: calc(var(--nav-h) + 20px); }
  .hero__meta { gap: 12px; letter-spacing: .04em; }
  .hero__meta > :nth-child(2) { display: none; }
  .hero__title { padding: 3vh 0 1vh; }
  .hero__amp { font-size: .42em; }
  .reel { --rw: 1fr; grid-column: 1; grid-row: 3; height: min(100vw, 520px); margin: 2vh 0 4vh; gap: 12px; }
  .reel__track { gap: 12px; }
  .hero__foot { grid-row: 4; }
  .statement { grid-template-columns: 1fr; padding: 12vh var(--pad); }
  .statement > * { grid-column: 1 !important; }
  .facts { grid-template-columns: 1fr; }
  .facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .work__head { grid-template-columns: 1fr; padding-bottom: 8vh; }
  .work__head > * { grid-column: 1 !important; }
  .index li a { grid-template-columns: 34px 1fr auto; gap: 12px; }
  .index__en, .index__my { display: none; }
  .ch__stage { height: auto; min-height: 0; grid-template-columns: 1fr; gap: 34px; padding: 70px var(--pad) 90px; }
  .ch__word { top: 30px; margin-top: 0; font-size: 34vw; }
  .ch__meta, .ch--b .ch__meta { grid-column: 1; grid-row: 1; margin-top: 40vw; }
  .ch__devices, .ch--b .ch__devices { grid-column: 1; grid-row: 2; margin: 0 4% 40px 10%; }
  .ch--b .ch__devices { margin: 0 10% 40px 4%; }
  .phone { width: 30%; left: -10%; }
  .ch--b .phone { right: -10%; }
  /* the object sits in the top corner, sized by height so tall ones (tower, doctor) don't cover the text */
  .ch__cut { top: 34px; left: auto; right: 5%; margin-left: 0; width: auto !important; height: 46vw; max-width: 50vw; object-fit: contain; }
  .ch__weave { width: 50vw !important; height: auto; max-width: none; top: 40px; }
  .process__pin { grid-template-columns: 1fr; gap: 50px; padding-bottom: 14vh; }
  .swatches { left: 0; top: -40px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile h3 { font-size: 17px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head__my { text-align: left; }
  .price__grid { grid-template-columns: 1fr; gap: 24px; }
  .price__big { flex-wrap: wrap; justify-content: center; }
  .try__grid { grid-template-columns: 1fr; }
  .try__preview { position: relative; top: 0; order: -1; }
  .channels { grid-template-columns: 1fr; }
  .channels li:nth-child(n) .channel { padding-left: 0; border-left: 0; }
  .qa summary { padding-right: 44px; }
  .viewer__new { display: none; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .hero__ctas .btn--line { display: none; }
  .incl li { flex-direction: column; gap: 2px; }
  .incl span { text-align: left; }
}
