/* The main page, the Apple way: one person in the light up top, then tiles on studio photographs,
   glass for the software, Prata for the titles. Every section below the hero uses the same tile. */
:root { --a-ink: #1D1D1F; --a-soft: #6E6E73; --a-alt: #F5F5F7; --a-line: #D2D2D7; --tangerine: #EE8A3C; }
body.apple { background: #fff; color: var(--a-ink); }
.apple h1, .apple h2, .apple h3 { font-family: var(--sans); }
.apple .disp { font-family: var(--serif); font-weight: 400; letter-spacing: -.018em; line-height: 1.06; }
/* the nav: in the hero a wide open bar sitting in the photo, its words white over dark patches and dark over light
   ones (story.js reads the photo); once you scroll it gathers into a glass pill. Heading down the page the pill
   shrinks a little, heading back up it returns to full size. Quick, soft-landing easing throughout. */
.apple .nav, .apple .nav.scrolled { --nav-ease: cubic-bezier(.16, 1, .3, 1); transition: top .42s var(--nav-ease); inset: 14px 0 auto; display: flex; justify-content: center; pointer-events: none; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.apple .nav .wrap { transition: height .42s var(--nav-ease), padding .42s var(--nav-ease), gap .42s var(--nav-ease), background-color .42s var(--nav-ease), box-shadow .42s var(--nav-ease), backdrop-filter .42s var(--nav-ease), -webkit-backdrop-filter .42s var(--nav-ease), transform .42s var(--nav-ease);
  pointer-events: auto; width: auto; max-width: calc(100% - 32px); height: 60px; margin: 0; gap: 40px; padding: 0 8px 0 14px; border-radius: 999px; overflow: hidden; white-space: nowrap; transform-origin: 50% 0;
  background: rgba(255,255,255,.74); backdrop-filter: blur(22px) saturate(180%); -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), inset 0 0 0 1px rgba(255,255,255,.5), 0 10px 30px rgba(20,30,60,.14); }
.apple .nav .brand { gap: 10px; font-size: 16px; color: var(--a-ink); }
/* the name: the full name in the hero, folding to amwwwaj once the bar becomes the pill */
.brand-name { display: block; height: 26px; width: calc(26px * 4.8); overflow: hidden; transition: width .42s var(--nav-ease); }
.brand-name .nm { display: block; height: 26px; width: calc(26px * 8.44); max-width: none; }
.nm-tail { transition: opacity .3s ease; opacity: 0; }
.apple .nav.top .brand-name { width: calc(26px * 8.44); }
.apple .nav.top .nm-tail { opacity: 1; transition-delay: .12s; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; }
.foot-brand img { width: 40px; height: 40px; }
.foot-brand .foot-name { width: auto; height: 32px; }
.apple .nav .brand, .apple .nav .brand small, .apple .nav-links a { transition: color .42s var(--nav-ease), background-color .42s var(--nav-ease); }
.apple .nav .brand img { transition: filter .42s var(--nav-ease); }
.apple .nav .brand img { width: 38px; height: 38px; }
.apple .nav .brand small { font-size: 12.5px; color: var(--a-soft); }
.apple .nav-links { gap: 26px; font-size: 15px; }
.apple .nav-links a:not(.btn) { color: var(--a-ink); font-weight: 500; }
.apple .nav-links a:not(.btn):hover { color: var(--blue-ink); }
.apple .nav-links .btn { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--a-ink); }
.apple .nav.compact .wrap { transform: scale(.88); }
.apple .nav.top { top: 0; }
.apple .nav.top .wrap { width: min(1240px, calc(100% - 64px)); max-width: none; height: 84px; padding: 0 2px; justify-content: space-between; background-color: rgba(255,255,255,0);
  backdrop-filter: blur(0) saturate(100%); -webkit-backdrop-filter: blur(0) saturate(100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0), inset 0 0 0 1px rgba(255,255,255,0), 0 10px 30px rgba(20,30,60,0); }
.apple .nav.top .brand small { color: rgba(29,29,31,.72); }
.apple .nav.top .dk, .apple .nav.top .dk small { color: #fff; }
.apple .nav.top .nav-links.dk a:not(.btn) { color: #fff; }
.apple .nav.top .nav-links.dk .btn { background: #fff; color: var(--a-ink); }
.apple .nav-links .btn { transition: background-color .42s var(--nav-ease), color .42s var(--nav-ease); }
@media (prefers-reduced-transparency: reduce) { .apple .nav .wrap { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* glass: a real material, bright top edge, soft depth, content behind it stays readable */
.glass { background: rgba(255,255,255,.62); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%); border: 1px solid rgba(255,255,255,.75); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(29,29,31,.06), 0 24px 60px rgba(40,60,110,.16); }
@media (prefers-reduced-transparency: reduce) { .glass { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; } }

.btn-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--a-ink); color: #fff; font-weight: 500; font-size: 17px; transition: transform .15s var(--ease), background .2s; }
.btn-pill:hover { background: #000; }
.btn-pill:active { transform: scale(.97); transition-duration: 80ms; }
.btn-pill.light { background: #fff; color: var(--a-ink); }
.btn-pill.light:hover { background: #EDEDF0; }
.a-link { color: var(--blue-ink); font-weight: 500; font-size: 17px; }
.a-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.a-link::after { content: " ›"; }
.a-link.light { color: #fff; }
.a-link.ink { color: var(--a-ink); }

/* ---- hero: one person in the afternoon sun while the work gets done around her ---- */
.h-full { position: relative; height: 100svh; min-height: 640px; max-height: 1080px; overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; background: #C96A27; }
.h-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: -2; }
.h-full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(16,22,46,.74) 0, rgba(16,22,46,.44) 24%, rgba(16,22,46,0) 50%); }
.h-copy { text-align: center; padding-bottom: clamp(44px, 8vh, 92px); color: #fff; }
.h-copy h1 { font-size: clamp(46px, 6.4vw, 104px); }
.h-copy .lede { margin: 24px auto 0; max-width: 70ch; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.5; color: rgba(255,255,255,.88); }
.h-copy .cta { margin-top: 30px; display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }
.h-full .mark-u path { stroke: #FFB467; }
.h-notes { position: absolute; inset: 0; pointer-events: none; }
.h-note { position: absolute; width: 330px; background: rgba(255,255,255,.86); display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 20px; font-size: 14px; line-height: 1.3; color: #45454A; }
.h-note b { display: block; font-weight: 600; font-size: 14.5px; color: var(--a-ink); }
.h-note time { align-self: start; font-size: 12.5px; color: var(--a-soft); }
.h-note i, .rc .ok { position: relative; width: 30px; height: 30px; border-radius: 50%; background: #34C759; }
.h-note i::after { content: ""; position: absolute; left: 11px; top: 7px; width: 6px; height: 12px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.n1 { left: max(24px, 5vw); top: 31%; }
.n2 { right: max(24px, 5vw); top: 19%; }
.n3 { right: max(24px, 8vw); top: 35%; }
@media (prefers-reduced-motion: no-preference) {
  .h-note { opacity: 0; transform: translateY(-14px) scale(.97); animation: note .8s var(--ease) forwards; }
  .n1 { animation-delay: 1.2s; } .n2 { animation-delay: 2s; } .n3 { animation-delay: 2.8s; }
  @keyframes note { to { opacity: 1; transform: none; } }
}

/* ---- sections and tiles: the one language for everything below the hero ---- */
.a-sec { padding: 140px 0; }
.a-sec.alt { background: var(--a-alt); }
.a-head { max-width: 900px; margin-bottom: 64px; }
.a-head h2 { font-size: clamp(40px, 5vw, 72px); }
.a-head p { margin-top: 18px; font-size: 21px; line-height: 1.5; color: #45454A; max-width: 46ch; }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.tile { position: relative; background: var(--a-alt); border-radius: 30px; padding: 36px; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.tile.w2 { grid-column: span 2; } .tile.w3 { grid-column: span 3; min-height: 360px; } .tile.w4 { grid-column: span 4; min-height: 380px; } .tile.w6 { grid-column: 1 / -1; }
.tile .k { font-size: 17px; font-weight: 600; color: var(--a-soft); }
.tile h3 { margin-top: 8px; font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.01em; line-height: 1.08; }
.tile p { margin-top: 12px; color: #45454A; font-size: 17px; max-width: 36ch; }
.tile .live { margin-top: auto; padding-top: 24px; }
.tile .live.top { margin-top: 18px; padding-top: 0; }
.tile .narrow { max-width: 24ch; }
.tile .glass { background: rgba(255,255,255,.72); }

/* tiles on photographs: words in clean space, the photograph fading into its own colour */
.tile.photo { background: #E9EDF4; isolation: isolate; }
.tile.photo .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.4s var(--ease); }
.tile.photo .bg.flip { transform: scaleX(-1); }
.tile.photo .k { color: rgba(29,29,31,.6); }
.tile.photo.low, .tile.photo.side { background: var(--tbg); }
.tile.photo.low { min-height: 540px; }
.tile.photo.low .bg { top: auto; height: 66%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
.tile.photo.side { min-height: 380px; justify-content: center; }
.tile.photo.side .bg { left: auto; width: 64%; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 32%); mask-image: linear-gradient(to right, transparent 0, #000 32%); }
.side-text { position: relative; max-width: 44%; }
.tile.dark { color: #fff; }
.tile.dark h3 { color: #fff; }
.tile.dark p { color: rgba(255,255,255,.78); }
.tile.photo.dark .k { color: rgba(255,255,255,.75); }

/* the small live pieces inside tiles */
.tile .clock { font-size: clamp(64px, 8vw, 118px); font-weight: 700; letter-spacing: -.05em; line-height: .9; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #FFFFFF, #9DBBFF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.clock small { font-size: .26em; letter-spacing: 0; -webkit-text-fill-color: rgba(255,255,255,.65); margin-left: 10px; font-weight: 600; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34C759; margin-right: 8px; vertical-align: 1px; }
@media (prefers-reduced-motion: no-preference) { .live-dot { animation: livepulse 2.4s ease-out infinite; } @keyframes livepulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.55); } 70% { box-shadow: 0 0 0 10px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } } }
.ping { position: absolute; right: 26px; top: 26px; padding: 10px 14px; border-radius: 16px; font-size: 13.5px; color: var(--a-ink); display: grid; gap: 1px; }
.ping b { font-weight: 600; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(29,29,31,.07); }
.seg button { border: 0; background: none; padding: 8px 16px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; color: var(--a-soft); transition: background .25s, color .25s; }
.seg button.on { background: #fff; color: var(--a-ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.reply { margin-top: 18px; display: inline-block; background: var(--blue); color: #fff; border-radius: 22px 22px 6px 22px; padding: 14px 18px; font-size: 18px; transition: opacity .25s; }
.reply[dir="rtl"] { font-family: "IBM Plex Sans Arabic", "Geeza Pro", var(--sans); border-radius: 22px 22px 22px 6px; font-size: 20px; }
.fields-g { display: grid; gap: 6px; padding: 12px; border-radius: 18px; max-width: 280px; }
.fields-g > span { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.fields-g em { font-style: normal; color: var(--a-soft); width: 64px; }
.fields-g i { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; }
.fields-g i.w { background: var(--amber-soft); color: var(--amber); }
.switch-card { padding: 16px; border-radius: 20px; }
.switch { position: relative; width: 64px; height: 38px; border-radius: 999px; background: #34C759; border: 0; cursor: pointer; transition: background .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 29px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: left .35s cubic-bezier(.3,1.3,.5,1); }
.switch[aria-checked="false"] { background: #D1D1D6; }
.switch[aria-checked="false"]::after { left: 3px; }
.switch-row { display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.switch-say { margin-top: 10px; color: #45454A; font-size: 15px; transition: opacity .2s; }
.cloud { position: relative; margin-top: auto; height: 150px; }
.cloud span { position: absolute; padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.tile .cloud span.glass { background: rgba(255,255,255,.78); }
.chip-g { position: absolute; left: 28px; bottom: 28px; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }
.chip-g::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #34C759; margin-right: 8px; vertical-align: 1px; }

/* ---- one message, start to finish: a real sample, played when it comes into view ---- */
.demo { position: relative; isolation: isolate; overflow: hidden; border-radius: 30px; padding: clamp(28px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 360px); justify-content: center; gap: clamp(40px, 10vw, 160px); align-items: center; }
.demo .sky { inset: 0; }
.demo .sky::after { display: none; }
.demo-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; overflow: visible; }
.dl { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset .9s var(--ease); }
.dl.in { stroke-dashoffset: 0; }
.phone { border-radius: 40px; padding: 14px; height: 560px; display: flex; flex-direction: column; background: rgba(255,255,255,.55); }
.ph-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; border-bottom: 1px solid rgba(29,29,31,.08); }
.ph-top .av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.ph-top .av img { width: 24px; height: 24px; }
.ph-top b { display: block; font-size: 16px; font-weight: 600; }
.ph-top small { display: block; font-size: 13px; color: var(--a-soft); }
.chat { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 12px 4px 4px; overflow: hidden; }
.b { display: none; max-width: 84%; align-self: flex-start; padding: 10px 14px 8px; border-radius: 20px 20px 20px 6px; background: #fff; font-size: 15.5px; line-height: 1.4; box-shadow: 0 1px 2px rgba(29,29,31,.08); }
.b.me { align-self: flex-end; border-radius: 20px 20px 6px 20px; background: var(--blue); color: #fff; }
.b time { display: block; margin-top: 3px; font-size: 11.5px; text-align: right; color: var(--a-soft); }
.b.me time { color: rgba(255,255,255,.75); }
.b.in { display: block; }
.typing { display: none; align-self: flex-start; gap: 5px; padding: 14px 16px; border-radius: 20px 20px 20px 6px; background: #fff; }
.typing.on { display: flex; }
.typing i { width: 8px; height: 8px; border-radius: 50%; background: #A1A1A6; }
.land { display: grid; gap: 16px; }
.land-k { font-size: 15px; font-weight: 600; color: rgba(29,29,31,.6); }
.rc { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 20px; opacity: .35; transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rc small { display: block; font-size: 13px; color: var(--a-soft); font-weight: 500; }
.rc b { font-size: 16px; font-weight: 600; }
.rc .ok { display: grid; place-items: center; color: #fff; font-size: 15px; font-weight: 700; background: #C7C7CC; transition: background .3s; }
.rc.in { opacity: 1; }
.rc.in .ok { background: #34C759; }
.replay { justify-self: start; margin-top: 6px; border: 0; background: rgba(29,29,31,.07); border-radius: 999px; padding: 9px 16px; font: 600 15px var(--sans); color: var(--a-ink); cursor: pointer; visibility: hidden; transition: background .2s, transform .12s; }
.replay:hover { background: rgba(29,29,31,.12); }
.replay:active { transform: scale(.96); }
.replay.on { visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .b.in, .typing.on { animation: pop .4s var(--ease); }
  .rc.in { animation: pop .5s var(--ease); }
  .typing i { animation: dot 1s ease-in-out infinite; } .typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
  @keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
  @keyframes dot { 50% { opacity: .35; transform: translateY(-2px); } }
}

/* ---- my own studio: the proof tile ---- */
.own-tile { min-height: 520px; }
.own-tile .side-text { max-width: 46%; }
.inbox-g { margin-top: 24px; padding: 6px 16px; border-radius: 22px; }
.inbox-g p { margin: 0; max-width: none; display: grid; grid-template-columns: 74px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; font-size: 15px; color: var(--a-ink); }
.inbox-g p + p { border-top: 1px solid rgba(29,29,31,.08); }
.inbox-g small { color: var(--a-soft); font-size: 13px; }
.inbox-g b { font-weight: 500; }
.inbox-g em { font-style: normal; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-ink); }
.inbox-g em.ok { background: var(--green-soft); color: var(--green); }
.inbox-g em.no { background: rgba(29,29,31,.06); color: var(--a-soft); }

/* ---- how we work: the wave drawn by scrolling, a tile under each crest ---- */
.steps5 { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps5 .tile { background: #fff; min-height: 0; padding: 26px 24px 28px; border-radius: 24px; }
.steps5 h3 { margin: 0; font-size: 26px; }
.steps5 p { margin-top: 8px; font-size: 15.5px; color: var(--a-soft); }

/* ---- websites: the work itself, fanned out ---- */
.web-tile { min-height: 520px; background: #EEF0F6; justify-content: center; }
.web-tile .side-text { max-width: 40%; }
.web-tile .a-link { display: inline-block; margin-top: 22px; }
.fan { position: absolute; right: 3%; top: 50%; width: 56%; height: 400px; transform: translateY(-50%); }
/* each site in a small browser window, the whole screen shown, never cropped */
.fc { position: absolute; margin: 0; width: 60%; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 2px 4px rgba(20,30,60,.08), 0 30px 60px rgba(20,30,60,.2); }
.fc::before { content: ""; display: block; height: 18px; background: #F5F7FB; border-bottom: 1px solid #E6EAF2; }
.fc::after { content: ""; position: absolute; top: 6px; left: 10px; width: 30px; height: 6px; background: radial-gradient(circle, #D5DBE6 2.6px, transparent 3px) 0 0 / 10px 6px repeat-x; }
.fc img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; }
.fc.c1 { left: 0; top: 8px; transform: rotate(-4deg); }
.fc.c3 { right: 0; top: 40px; transform: rotate(4deg); }
.fc.c2 { left: 18%; top: 92px; transform: rotate(-.5deg); z-index: 2; width: 64%; }
@media (prefers-reduced-motion: no-preference) {
  .fc { transition: transform .8s var(--ease); }
  .web-tile:hover .fc.c1 { transform: rotate(-6deg) translate(-14px, -4px); }
  .web-tile:hover .fc.c2 { transform: rotate(-.5deg) translateY(-8px); }
  .web-tile:hover .fc.c3 { transform: rotate(6deg) translate(14px, -4px); }
}

/* ---- closing: the hero's wall again, a window of sun on it ---- */
.close-tile { position: relative; overflow: hidden; border-radius: 30px; padding: clamp(56px, 8vw, 110px) clamp(28px, 6vw, 96px); text-align: center; background: #E37E33 url(img/people/wall.jpg) center / cover; }
.close-tile h2 { font-size: clamp(36px, 4.6vw, 64px); max-width: 16ch; margin: 0 auto; }
.close-tile p { margin: 18px auto 0; max-width: 42ch; font-size: 19px; color: rgba(29,29,31,.78); }
.close-tile .cta { margin-top: 32px; display: flex; gap: 24px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* stickers: a little play on a calm page */
.sticker { position: absolute; z-index: 4; padding: 10px 16px; border-radius: 14px; background: #fff; border: 3px solid #fff; box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 10px 24px rgba(20,30,60,.16); font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--blue-ink); }
.s-a { right: 7%; top: 16%; transform: rotate(8deg); background: #FFE36E; color: #4A3B00; }

/* the studio's wave as the underline: one unbroken line of small waves */
.mark-u { position: relative; display: inline-block; white-space: nowrap; }
.mark-u svg { position: absolute; left: -1%; bottom: -.2em; width: 102%; height: .2em; overflow: visible; }
.mark-u path { fill: none; stroke: var(--blue); stroke-width: max(2.5px, .042em); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
@media (prefers-reduced-motion: no-preference) {
  .mark-u path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: ink 1.3s var(--ease) .9s forwards; }
  .tile .mark-u path { animation-play-state: paused; }
  .tile.in .mark-u path { animation-play-state: running; }
  @keyframes ink { to { stroke-dashoffset: 0; } }
}

/* water over a card's photo: the canvas wears the photo's own classes, so it sits exactly on it */
canvas.water { pointer-events: none; }
.job .media canvas.water { position: absolute; inset: 0; width: 100%; height: 100%; }

/* glitter on the photo around the headline: nothing at rest, flakes catch the light only near the cursor */
.h-copy h1 { position: relative; z-index: 0; }
.glitter { position: absolute; left: -12%; top: -70%; width: 124%; height: 240%; z-index: -1; pointer-events: none; }

/* ---- made for your business: a sentence the visitor completes, and the section re-cut to fit it ---- */
#yours { position: relative; }
#yours .wrap { position: relative; }
.fill-k { text-align: center; font-size: 17px; font-weight: 600; color: var(--a-soft); }
.fill { margin: 18px auto 0; max-width: 20ch; text-align: center; font-size: clamp(34px, 4.6vw, 68px); line-height: 1.22; text-wrap: balance; }
.blank { color: var(--blue-ink); cursor: pointer; text-decoration: underline wavy var(--blue); text-decoration-thickness: max(2px, .035em); text-underline-offset: .2em; text-decoration-skip-ink: none; border-radius: 8px; transition: color .2s, background .2s; }
.blank:hover { color: var(--blue); }
.blank.empty { color: #A1A1A6; text-decoration-color: #A1A1A6; }
.blank.empty:hover { color: var(--blue); text-decoration-color: var(--blue); }
.fit[hidden] { display: none; }
.blank[aria-expanded="true"] { background: var(--blue-soft); }
.fill-hint { margin-top: 22px; text-align: center; font-size: 15px; color: var(--a-soft); }
.pop { position: absolute; z-index: 10; width: min(560px, 100%); padding: 16px; border-radius: 24px; background: rgba(255,255,255,.9); }
.pop-search { width: 100%; height: 46px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--a-line); font: 400 17px var(--sans); color: var(--a-ink); background: #fff; }
.pop-search:focus { outline: 2.5px solid var(--blue); outline-offset: 1px; }
.pop-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pop-list:first-child { margin-top: 0; flex-direction: column; flex-wrap: nowrap; }
.pop-h { width: 100%; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: var(--a-soft); }
.opt { border: 0; border-radius: 999px; padding: 9px 15px; background: rgba(29,29,31,.06); font: 500 15.5px var(--sans); color: var(--a-ink); cursor: pointer; transition: background .2s, transform .12s; }
.opt:hover { background: rgba(29,29,31,.11); }
.opt:active { transform: scale(.97); }
.opt.on { background: var(--blue); color: #fff; }
.opt.big { display: grid; gap: 4px; text-align: left; border-radius: 18px; padding: 14px 16px; }
.opt.big b { font-family: var(--serif); font-weight: 400; font-size: 21px; }
.opt.big span { font-size: 14.5px; color: var(--a-soft); line-height: 1.4; }
.opt.big.on span { color: rgba(255,255,255,.82); }
.fit { margin-top: 64px; }
.fit-grid { gap: 20px; }
.now-tile { min-height: 340px; justify-content: center; }
.now-tile:not(.photo) .side-text { max-width: 60ch; }
.tile .now-fig { margin-top: 10px; font-size: clamp(44px, 5vw, 76px); line-height: 1; color: var(--blue-ink); }
.now-text { max-width: 40ch; }
.src { white-space: nowrap; font-size: .86em; font-weight: 500; color: var(--blue-ink); }
.src::after { content: " ↗"; }
.src:hover { text-decoration: underline; text-underline-offset: 3px; }
.flow-tile { background: var(--a-alt); }
.flow-wrap { position: relative; margin-top: 22px; padding-left: 40px; }
.flow-line { position: absolute; left: 6px; top: 0; width: 20px; overflow: visible; }
.flow-line path { fill: none; stroke-width: 3; stroke-linecap: round; }
.fl-track { stroke: #C9D7F6; }
.fl-ink { stroke: var(--blue); transition: stroke-dashoffset 1.6s var(--ease); }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.node { padding: 14px 18px; border-radius: 18px; font-size: 17px; line-height: 1.35; background: rgba(255,255,255,.85); }
.node small { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--a-soft); }
.node.you { background: var(--blue-soft); }
.node.you small { color: var(--blue-ink); }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; max-width: none; font-size: 14px; color: var(--a-soft); }
.tools > span:first-child { font-weight: 600; margin-right: 4px; }
.tchip { padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--a-ink); font-weight: 500; }
.worth-tile { background: #EEF3FD; }
.tile .worth-kind { margin-top: 18px; font-size: 17px; font-weight: 600; color: var(--blue-ink); }
.tile .worth-num { margin-top: 4px; white-space: nowrap; font-size: clamp(44px, 4.6vw, 68px); line-height: 1; font-variant-numeric: tabular-nums; }
.tile .worth-unit { margin-top: 6px; color: var(--a-soft); }
.sliders { display: grid; gap: 18px; margin-top: 26px; }
.sl { display: grid; gap: 8px; }
.sl-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: #45454A; }
.sl-top b { color: var(--a-ink); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.sl input { width: 100%; accent-color: var(--blue); }
.tile .calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 22px; font-size: 13.5px; line-height: 1.5; color: var(--a-ink); max-width: none; }
.calc em { font-style: normal; color: var(--a-soft); }
.calc i { font-style: normal; color: var(--a-soft); }
.calc .as { padding: 1px 7px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 12px; }
.tile .note { margin-top: 14px; font-size: 13.5px; color: var(--a-soft); }
.why-tile { display: grid; grid-template-columns: 1fr; gap: 28px; align-content: start; min-height: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--a-line); }
.why-tile p { max-width: 44ch; }
.why-tile .k + p { margin-top: 8px; }
.why-cta .btn-pill { white-space: nowrap; }
.tile .calc .src { white-space: normal; }
@media (prefers-reduced-motion: no-preference) {
  .fit.in .tile { animation: pop .6s var(--ease) both; }
  .fit.in .tile:nth-child(2) { animation-delay: .08s; } .fit.in .tile:nth-child(3) { animation-delay: .16s; } .fit.in .tile:nth-child(4) { animation-delay: .24s; }
  .fit.in .node { animation: pop .5s var(--ease) both; }
  .fit.in .node:nth-child(1) { animation-delay: .3s; } .fit.in .node:nth-child(2) { animation-delay: .55s; } .fit.in .node:nth-child(3) { animation-delay: .8s; }
  .fit.in .node:nth-child(4) { animation-delay: 1.05s; } .fit.in .node:nth-child(5) { animation-delay: 1.3s; } .fit.in .node:nth-child(6) { animation-delay: 1.55s; }
}
@media (max-width: 1000px) {
  .why-tile { grid-template-columns: 1fr; gap: 24px; }
  .pop { position: fixed; inset: auto 12px 12px; width: auto; max-height: 75vh; overflow: auto; }
}

/* ---- the use case, played on its devices: the steps on the left light up as the screens act them out ---- */
.flow-tile.has-stage .demo-grid { display: grid; grid-template-columns: minmax(220px, 260px) 1fr; gap: 40px; align-items: start; margin-top: 18px; }
.flow-tile.has-stage .flow-wrap { margin-top: 0; }
.flow-tile.has-stage .demo-grid { transition: grid-template-columns .6s var(--ease); }
.flow-tile.has-stage.playing .demo-grid { grid-template-columns: 34px 1fr; }
.flow-tile.has-stage .flow { transition: opacity .35s; }
.flow-tile.has-stage.playing .flow { position: absolute; left: 40px; top: 0; width: 240px; opacity: 0; pointer-events: none; }
.flow-tile.has-stage.playing .flow-wrap .flow-line { position: absolute; }
.flow-tile.has-stage .node { font-size: 15.5px; padding: 12px 16px; opacity: .55; transition: opacity .4s, transform .4s var(--ease), box-shadow .4s, background-color .4s; }
.flow-tile.has-stage .node.done { opacity: .85; }
.flow-tile.has-stage .node.on { opacity: 1; transform: translateX(6px); box-shadow: inset 0 0 0 2px var(--blue), 0 12px 30px rgba(40,60,110,.14); }
.stage { position: relative; }

@media (max-width: 1000px) {
  .flow-tile.has-stage .demo-grid { grid-template-columns: 1fr; }
  .flow-tile.has-stage .flow-wrap { order: 2; }
}

/* ---- the tools a business already works in, as a star map ---- */
.tools-map { position: relative; }
.tw-stage { position: relative; overflow: hidden; }
.tw-in { position: absolute; left: 0; top: 0; width: 1240px; height: 780px; transform-origin: 0 0; }
.tw-sky { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.tw-dots circle { fill: #C3D0EC; opacity: .7; }
.tw-c line { stroke: #B4C5EA; stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke .3s, stroke-width .3s; }
.drawn .tw-c line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease), stroke .3s, stroke-width .3s; }
.drawn .tw-c[data-g="1"] line { transition-delay: .25s, 0s, 0s; } .drawn .tw-c[data-g="2"] line { transition-delay: .5s, 0s, 0s; }
.drawn .tw-c[data-g="3"] line { transition-delay: .75s, 0s, 0s; } .drawn .tw-c[data-g="4"] line { transition-delay: 1s, 0s, 0s; } .drawn .tw-c[data-g="5"] line { transition-delay: 1.25s, 0s, 0s; } .drawn .tw-c[data-g="6"] line { transition-delay: 1.5s, 0s, 0s; }
.tw-c[data-g="0"] line { stroke: #9DB5EE; stroke-width: 2; }
.tw-c.lit line { stroke: var(--blue); stroke-width: 2.2; }
.tw-name { position: absolute; font: 600 12.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #8A97B5; white-space: nowrap; transition: color .3s, opacity .3s; }
.tw-name.lit { color: var(--blue-ink); }
.tw-logo { position: absolute; width: 54px; height: 54px; margin: -27px 0 0 -27px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(29,29,31,.05), 0 10px 24px rgba(40,60,110,.12); transition: opacity .3s, box-shadow .3s, transform .3s var(--ease); }
.tw-logo svg { width: 25px; height: 25px; }
.tw-logo.ai { width: 66px; height: 66px; margin: -33px 0 0 -33px; box-shadow: 0 0 0 1px rgba(58,105,216,.14), 0 14px 32px rgba(40,60,110,.16); }
.tw-logo.ai svg { width: 30px; height: 30px; }
.tw-name.ai { color: var(--blue-ink); }
.tw-logo em { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); padding: 4px 9px; border-radius: 8px; background: var(--a-ink); color: #fff; font: 500 13px var(--sans); font-style: normal; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 3; }
.tw-logo.on { z-index: 2; transform: scale(1.08); box-shadow: 0 0 0 2px var(--blue), 0 12px 30px rgba(40,60,110,.2); }
.tw-logo.on em { opacity: 1; }
.hovering .tw-logo:not(.lit) svg { opacity: .3; filter: grayscale(1); }
.hovering .tw-name:not(.lit) { opacity: .4; }
.hovering .tw-c:not(.lit) line { stroke: #E1E8F6; }
.tw-logo svg { transition: opacity .3s, filter .3s; }
@media (prefers-reduced-motion: no-preference) {
  .tw-logo { opacity: 0; transform: scale(.85); }
  .drawn .tw-logo { opacity: 1; transform: none; transition: opacity .6s var(--ease) var(--i), transform .6s var(--ease) var(--i), box-shadow .3s; }
  .drawn .tw-logo.on { transform: scale(1.08); transition-delay: 0s; }
}
.tw-list { display: none; }
.tw-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--a-soft); }
@media (max-width: 760px) {
  .tw-stage { display: none; }
  .tw-list { display: grid; gap: 26px; }
  .tw-list b { display: block; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #8A97B5; }
  .tw-list ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 14px 10px; }
  .tw-list li { display: grid; justify-items: center; gap: 6px; font-size: 12.5px; color: var(--a-soft); text-align: center; }
  .tw-list svg { width: 50px; height: 50px; padding: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(29,29,31,.05), 0 8px 20px rgba(40,60,110,.12); }
}

/* ---- everyday jobs: a carousel you can swipe ---- */
.rail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.rail-head h2 { font-size: clamp(36px, 4vw, 56px); }
.k-label { font-size: 17px; font-weight: 600; color: var(--a-soft); margin-bottom: 8px; }
.soft-2 { color: #86868B; }
.rail-btns { display: flex; gap: 10px; }
.rail-btns button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(29,29,31,.07); font-size: 22px; cursor: pointer; color: var(--a-ink); transition: background .2s, transform .12s; }
.rail-btns button:hover { background: rgba(29,29,31,.12); }
.rail-btns button:active { transform: scale(.94); }
.jobrail { display: grid; grid-auto-flow: column; grid-auto-columns: min(380px, 80vw); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: max(32px, calc((100vw - 1240px) / 2)); padding: 4px max(32px, calc((100vw - 1240px) / 2)) 30px; scrollbar-width: none; overscroll-behavior-x: contain; }
.jobrail::-webkit-scrollbar { display: none; }
.job { scroll-snap-align: start; }
.job .media { position: relative; aspect-ratio: 4 / 5; border-radius: 28px; overflow: hidden; background: var(--bg); }
.job .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.job .ov { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 8px; }
.gb { justify-self: start; max-width: 86%; padding: 10px 14px; border-radius: 18px 18px 18px 6px; font-size: 15px; line-height: 1.35; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(20,30,60,.14); }
.gb.out { justify-self: end; border-radius: 18px 18px 6px 18px; background: rgba(58,105,216,.9); color: #fff; box-shadow: 0 8px 24px rgba(20,30,60,.18); }
.gcard { display: grid; gap: 3px; padding: 14px 16px; border-radius: 20px; background: rgba(255,255,255,.72); backdrop-filter: blur(18px) saturate(170%); -webkit-backdrop-filter: blur(18px) saturate(170%); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 8px 24px rgba(20,30,60,.14); }
.gcard small { font-size: 13px; color: var(--a-soft); font-weight: 500; }
.gcard b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.gcard em { font-style: normal; font-size: 14px; color: var(--green); font-weight: 500; }
.gcard em.w { color: var(--amber); }
.gbars { display: flex; align-items: flex-end; gap: 6px; height: 44px; margin-top: 6px; }
.gbars i { width: 16px; border-radius: 4px 4px 0 0; background: var(--blue); opacity: .85; }
.job .lead { margin-top: 18px; font-size: 17px; line-height: 1.45; color: var(--a-soft); max-width: 36ch; }
.job .lead b { color: var(--a-ink); font-weight: 600; }

@media (max-width: 1100px) { .n3 { display: none; } }
@media (max-width: 1000px) {
  .a-sec { padding: 96px 0; }
  .bento { grid-template-columns: 1fr; }
  .tile.w2, .tile.w3, .tile.w4, .tile.w6 { grid-column: auto; }
  .tile { padding: 28px; min-height: 0; }
  .ping { position: static; margin-top: 16px; justify-self: start; }
  .tile.photo.side .bg { width: 100%; top: auto; height: 55%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }
  .side-text, .own-tile .side-text, .web-tile .side-text { max-width: none; }
  .tile.photo.side { min-height: 520px; justify-content: flex-start; }
  .own-tile.photo.side { min-height: 0; padding-bottom: 300px; }
  .own-tile.photo.side .bg { height: 340px; }
  .inbox-g p { grid-template-columns: 1fr auto; }
  .inbox-g small { display: none; }
  .demo { grid-template-columns: minmax(0, 380px); }
  .demo-lines { display: none; }
  .phone { height: 500px; }
  .steps5 { grid-template-columns: 1fr 1fr; }
  .run svg { display: none; }
  .web-tile { min-height: 0; }
  .fan { position: relative; right: auto; top: auto; transform: none; width: 100%; height: 0; padding-bottom: 72%; margin-top: 36px; }
  .fc.c2 { top: 32%; }
}
@media (max-width: 760px) {
  .h-notes { display: none; }
  .h-img { object-position: 50% 20%; }
  .steps5 { grid-template-columns: 1fr; }
  .close-tile .sticker { position: relative; top: auto; right: auto; display: inline-block; margin-bottom: 18px; transform: rotate(-3deg); }
}

/* the closing form: what a visitor writes waits in Mo's studio, nothing is emailed */
.start-form { margin: 34px auto 0; max-width: 640px; text-align: left; padding: 22px; border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: rgba(255,255,255,.88); -webkit-backdrop-filter: saturate(160%) blur(18px); backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px rgba(60,30,10,.16); }
.start-form label { display: grid; gap: 7px; font-size: 15px; font-weight: 600; color: var(--a-ink); }
.start-form .wide, .start-form .send, .start-form .err { grid-column: 1 / -1; }
.start-form input, .start-form textarea { font: 400 17px var(--sans); color: var(--a-ink); background: #fff; border: 0; border-radius: 14px; padding: 13px 16px; box-shadow: inset 0 0 0 1.5px rgba(29,29,31,.14); outline: none; transition: box-shadow .2s; width: 100%; }
.start-form textarea { min-height: 100px; resize: vertical; line-height: 1.45; }
.start-form input:focus, .start-form textarea:focus { box-shadow: inset 0 0 0 2px var(--blue); }
.start-form .bad input, .start-form .bad textarea { box-shadow: inset 0 0 0 2px #C4271B; }
.start-form .err { margin: 0; color: #B3261E; font-size: 16px; }
.start-form .send { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 2px; }
.start-form button[disabled] { opacity: .6; }
.start-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.start-done { margin: 34px auto 0; max-width: 560px; padding: 26px 30px; border-radius: 26px; background: rgba(255,255,255,.88); font-family: var(--serif); font-size: 26px; line-height: 1.25; color: var(--a-ink); }
@media (max-width: 640px) { .start-form { grid-template-columns: 1fr; padding: 16px; } }
/* phones: the short name all the way down, so the button always fits beside it */
@media (max-width: 600px) {
  .apple .nav.top .brand-name { width: calc(26px * 4.8); }
  .apple .nav.top .nm-tail { opacity: 0; }
  .apple .nav .brand, .apple .brand-name { flex-shrink: 0; }
  .apple .nav-links .btn { padding: 0 16px; }
  .apple .nav .wrap, .apple .nav.top .wrap { gap: 16px; }
  .apple .nav.top .wrap { width: calc(100% - 32px); }
}
