/* Your Future Site mockup: type your name, watch it become a website.
   Shared design, and the ten worlds. Each trade is its own site: colour, typeface, layout and a studio still life
   rendered in Blender. Worlds are sized by their frame (container units), so the same one works full screen,
   in the desktop preview and in the phone preview. */
@font-face { font-family: "Inter"; font-weight: 400 600; font-display: swap; src: url("/v3/fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 400 700; font-display: swap; src: url("/v3/fonts/space-grotesk-latin.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400 700; font-display: swap; src: url("/v3/fonts/archivo-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-weight: 400 700; font-display: swap; src: url("/v3/fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/v3/fonts/barlow-condensed-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair SC"; font-weight: 700; font-display: swap; src: url("/v3/fonts/playfair-sc-700-latin.woff2") format("woff2"); }
:root { --ink: #06182F; --blue: #1A5FD0; --g: clamp(16px, 2.6vw, 44px); --bar: 68px; --ease: cubic-bezier(.16, .84, .24, 1); --sans: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color-scheme: only light; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body { margin: 0; background: #fff; color: var(--ink); font: 400 18px/1.5 var(--sans); overflow-x: clip; }
h1, h2, h3, p, ol, ul, fieldset { margin: 0; padding: 0; border: 0; min-width: 0; } ol, ul { list-style: none; } img { display: block; max-width: 100%; } a { color: inherit; }
h1, h2 { font-weight: 600; letter-spacing: -.05em; line-height: 1; text-wrap: balance; overflow-wrap: anywhere; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip { position: absolute; left: 12px; top: -70px; z-index: 99; background: var(--ink); color: #fff; padding: 12px 16px; } .skip:focus { top: 12px; }

/* ---------- header ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 40; height: var(--bar); display: flex; align-items: center; gap: 28px; padding: 0 var(--g); background: #fff; }
.bar__brand { display: flex; align-items: center; min-height: 44px; } .bar__brand img { width: 62px; height: auto; }
.bar__nav { display: flex; gap: 28px; margin-left: auto; }
.bar__nav a { font-weight: 600; font-size: 15px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; } .bar__nav a[aria-current] { color: var(--blue); }
.bar__cta { font-weight: 600; font-size: 15px; text-decoration: none; background: var(--ink); color: #fff; min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border-radius: 4px; white-space: nowrap; }
.bar__portal { padding-left: 28px; border-left: 1px solid #C9D5E8; } .bar__menu { display: none; }
@media (hover: hover) and (pointer: fine) { .bar__nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; } .bar__cta:hover { background: var(--blue); } }

/* ---------- buttons and links ---------- */
.cta, .end__b { display: inline-flex; align-items: center; justify-content: center; min-height: 64px; padding: 0 30px; border: 0; border-radius: 6px; background: var(--cf, var(--ink)); color: var(--cc, #fff); font: 600 18px/1.1 var(--sans); text-decoration: none; cursor: pointer; transition: transform .12s var(--ease); max-width: 100%; overflow-wrap: anywhere; text-align: center; }
.cta:active, .end__b:active { transform: scale(.97); } .cta span { margin-left: .28em; }
.go { font-weight: 600; font-size: 19px; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 calc(100% - 6px) / 100% 2px no-repeat; transition: background-size .3s var(--ease); }
@media (hover: hover) and (pointer: fine) { .go:hover { background-size: 0 2px; } }
.lede { font-size: 20px; max-width: 60ch; } .note { font-size: 14.5px; font-weight: 600; }

/* ---------- worlds ---------- */
.frame { position: absolute; inset: 0; container-type: size; overflow: hidden; --top: 24px; }
.world { position: absolute; inset: 0; overflow: hidden; background: var(--c); color: var(--f); --x: 50%; --y: 88%; --s: var(--f); --g2: 16px; font-size: 14px; }
.js .world.is-in { clip-path: circle(0 at var(--x) var(--y)); animation: flood 1.15s var(--ease) forwards; } @keyframes flood { to { clip-path: circle(150% at var(--x) var(--y)); } }
.world__nav { position: absolute; z-index: 4; left: var(--g2); right: var(--g2); top: var(--top); display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 12.5px; color: var(--s); }
.world__nav b { margin-right: auto; font: var(--fw) 16px/1.3 var(--ff); text-transform: var(--tt, none); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 56cqw; } .world__nav span:nth-of-type(n+2) { display: none; }
.world__name { position: absolute; z-index: 1; left: var(--g2); right: var(--g2); top: calc(var(--top) + 46px); margin: 0; font-family: var(--ff); font-weight: var(--fw); font-style: var(--fs, normal); letter-spacing: var(--ls, -.03em); text-transform: var(--tt, none); line-height: var(--lh, .86); white-space: nowrap; }
.world__name > span { display: block; overflow: clip; overflow-clip-margin: .16em; padding: .04em 0; } .world__name i { display: inline-block; font-style: inherit; white-space: pre; }
.js .world.is-in .world__name i { animation: rise .95s var(--ease) backwards; animation-delay: calc(.18s + var(--k) * 26ms); } @keyframes rise { from { transform: translateY(112%) rotate(5deg); } }
.js .world.typed .world__name i { animation: none; } .js .world.typed .world__name i.new { animation: rise .42s var(--ease) backwards; }
.world__obj { position: absolute; z-index: 2; display: block; --ow: min(130cqw, 62cqh); width: var(--ow); left: calc(50% - var(--ow) * .525); bottom: max(76px, 9cqh); } .world__obj img { width: 100%; max-width: none; height: auto; }
.js .world.is-in .world__obj img { animation: land 1.3s var(--ease) backwards .12s; transform-origin: 50% 80%; } @keyframes land { from { transform: translateY(16%) scale(.86); } }
.world__foot { position: absolute; z-index: 4; left: var(--g2); right: var(--g2); bottom: 30px; display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; color: var(--s); } .world__foot p { font-size: 16px; line-height: 1.2; font-weight: 600; max-width: 16ch; }
.world__btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 20px; font-weight: 700; font-size: 15px; border-radius: var(--r, 4px); white-space: nowrap; }
.js .world.is-in .world__foot, .js .world.is-in .world__nav { animation: fade .7s ease backwards .55s; } @keyframes fade { from { opacity: 0; } }

.world__btn { background: var(--s); color: var(--b, var(--c)); }

@container (min-width: 761px) {
  .world { --g2: clamp(16px, 2.6cqw, 44px); } .world__obj { --ow: min(78cqw, 134cqh); }
  .world__nav { gap: 26px; font-size: 14px; } .world__nav b { font-size: 19px; max-width: 50cqw; } .world__nav span:nth-of-type(n+2) { display: inline; }
  .world__name { top: calc(var(--top) + 58px); }
  .world__foot { right: auto; bottom: 150px; grid-template-columns: auto; gap: 16px; justify-items: start; } .world__foot p { font-size: clamp(18px, 1.7cqw, 26px); } .world__btn { min-height: 50px; padding: 0 24px; font-size: 16px; }
  .world .world__obj { width: var(--ow); left: auto; right: calc(var(--ow) * -.11); margin: 0; bottom: 5cqh; }
  .world.lay-r .world__obj { left: calc(var(--ow) * -.15); right: auto; }
  .world.lay-r .world__name { text-align: right; right: calc(var(--g2) + 1.2cqw); } .world.lay-r .world__foot { left: auto; right: var(--g2); justify-items: end; text-align: right; }
  .world.lay-c .world__obj { --ow: min(72cqw, 108cqh); left: calc(50% - var(--ow) * .53); right: auto; bottom: 2cqh; } .world.one-c .world__name { text-align: center; }
  .world.lay-c:not(.one-c) .world__obj { --ow: min(78cqw, 134cqh); left: auto; right: calc(var(--ow) * -.11); bottom: 5cqh; }
}
@container (min-width: 761px) and (max-height: 720px) { .world__foot p { display: none; } .world__foot { bottom: 136px; } }
@container (min-width: 761px) and (max-aspect-ratio: 6/5) {
  .world .world__obj, .world.lay-r .world__obj, .world.lay-c .world__obj, .world.lay-c:not(.one-c) .world__obj { width: 106cqw; left: calc(50% - 56cqw); right: auto; bottom: 205px; }
  .world .world__name, .world.lay-r .world__name, .world.one-c .world__name { text-align: left; right: var(--g2); }
  .world .world__foot, .world.lay-r .world__foot { left: var(--g2); right: var(--g2); grid-template-columns: 1fr auto; justify-items: start; align-items: center; text-align: left; bottom: 152px; }
}

/* ---------- previews of their site ---------- */
.hand__s { position: relative; height: min(66vw, 780px); }
.mini { position: absolute; overflow: hidden; background: #fff; }
.mini--desk { left: 0; top: 0; width: 82%; aspect-ratio: 1.6; border: 10px solid var(--ink); border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(6,24,47,.55); } .mini__in { width: 1280px; height: 800px; inset: 0 auto auto 0; transform-origin: 0 0; }
.mini--desk .world__foot { bottom: 60px !important; }
.mini--phone { right: 0; bottom: 0; width: 24%; min-width: 200px; aspect-ratio: 390 / 800; border: 9px solid var(--ink); border-radius: 44px; box-shadow: 0 40px 80px -24px rgba(6,24,47,.6); } .mini--phone .world__foot { grid-template-columns: 1fr; bottom: 22px; } .mini--phone .world__foot p { display: none; } .mini--phone .world__btn { justify-content: center; } .mini--phone .world__nav { top: 18px; }

/* ---------- endings ---------- */
.end { background: var(--blue); color: #fff; padding: 17vh var(--g) 13vh; }
.end h2 { font-size: clamp(2.8rem, 9vw, 10rem); line-height: .9; letter-spacing: -.06em; } .end__a { margin-top: 6vh; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; } .end__a p { max-width: 44ch; } .end__b { min-height: 72px; padding: 0 38px; font-size: 22px; background: #fff; color: var(--blue); }
.ft { padding: 60px var(--g) 34px; background: var(--ink); color: #fff; overflow: hidden; } .ft__w { font-weight: 600; font-size: 10.7vw; line-height: .8; letter-spacing: -.055em; white-space: nowrap; color: #fff; } .ft__w b { font-weight: inherit; color: #6B9BFF; }
.ft__g { margin-top: 56px; display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr 1.4fr; gap: 32px; font-size: 16px; } .ft__g nav { display: grid; align-content: start; } .ft a { min-height: 34px; display: inline-flex; align-items: center; text-decoration: none; } .ft__e { margin-top: 44px; font-size: 14px; }
@media (hover: hover) and (pointer: fine) { .ft a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.faq { padding: 14vh var(--g); display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; } .faq h2 { font-size: clamp(2.2rem, 4.6vw, 4.8rem); } .faq details { border-top: 2px solid var(--ink); } .faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 600; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; display: flex; justify-content: space-between; gap: 20px; align-items: center; } .faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: linear-gradient(currentColor, currentColor) center / 100% 3px no-repeat, linear-gradient(currentColor, currentColor) center / 3px 100% no-repeat; transition: transform .3s var(--ease); } .faq details[open] summary::after { transform: rotate(45deg); } .faq details p { padding: 0 0 26px; max-width: 64ch; }

@media (max-width: 1000px) {
  .bar__nav .bar__portal { padding-left: 0; border: 0; margin-top: 14px; font-size: clamp(22px, 6vw, 34px); font-weight: 500; letter-spacing: -.03em; }
  .bar { gap: 12px; } .bar__nav { display: none; position: fixed; inset: var(--bar) 0 0; background: var(--blue); color: #fff; flex-direction: column; gap: 0; padding: 24px var(--g); margin: 0; overflow: auto; } .bar__nav.is-open { display: flex; } .bar__nav a { font-size: clamp(34px, 11vw, 64px); font-weight: 700; letter-spacing: -.05em; line-height: 1; padding: 12px 0; } .bar__nav a[aria-current] { color: #BFD6FF; }
  .bar__cta { margin-left: auto; } .bar__menu { display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border: 0; border-radius: 4px; background: #E9F1FD; color: var(--ink); cursor: pointer; } .bar__menu span { width: 20px; height: 2.5px; background: currentColor; transition: transform .25s var(--ease); } .bar__menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); } .bar__menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .faq, .ft__g { grid-template-columns: 1fr; gap: 24px; } .ft a { min-height: 44px; }
}
@media (max-width: 760px) { :root { --bar: 60px; } body { font-size: 17px; } .bar__cta { padding: 0 14px; font-size: 14px; } .end__b, .cta { width: 100%; } .hand__s { height: 150vw; } .mini--desk { width: 100%; border-width: 6px; border-radius: 12px; } .mini--phone { width: 62%; left: 19%; right: auto; border-width: 8px; } .faq summary { font-size: 19px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } }
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
