/* Layout: editorial studio page. Oversized type on pale stone, one cobalt accent, a dark gallery of real concept screens. */
  :root {
    --stone: #F3F3EF;
    --white: #FFFFFF;
    --ink: #0B0B0D;
    --ink-2: #1C1C21;
    --muted: #686870;
    --line: #E1E1DB;
    --cobalt: #2F4BFF;
    --cobalt-deep: #1A2FD6;
    --cobalt-tint: #E8ECFF;
    --night: #0B0B0D;
    --night-2: #16161A;
    --night-line: #2A2A31;
    --night-muted: #9C9CA6;
    --sans: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
    --serif: 'Instrument Serif', 'Times New Roman', serif;
    --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
    color-scheme: light;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; scroll-padding-top: 84px; }
  body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
  body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--stone); }
  h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: .98; text-wrap: balance; }
  p { margin: 0; }
  a { color: inherit; }
  img { max-width: 100%; height: auto; display: block; }
  em.s { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
  .wrap { max-width: 1240px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  :focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 8px; }
  .label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; }
  .label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cobalt); }
  .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 999px; font: 600 16px/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background .25s, color .25s, transform .25s; }
  .btn svg { width: 18px; height: 18px; transition: transform .25s; }
  .btn:hover svg { transform: translateX(3px); }
  .btn-ink { background: var(--ink); color: var(--white); }
  .btn-ink:hover { background: var(--cobalt); }
  .btn-line { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-line:hover { background: var(--ink); color: var(--white); }
  .btn-cobalt { background: var(--cobalt); color: var(--white); }
  .btn-cobalt:hover { background: var(--cobalt-deep); }

  /* Header */
  .top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(243,243,239,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
  .top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .brand { display: flex; align-items: baseline; gap: 6px; text-decoration: none; font-weight: 800; font-size: 21px; letter-spacing: -0.04em; }
  .brand i { width: 9px; height: 9px; border-radius: 50%; background: var(--cobalt); display: inline-block; transform: translateY(-1px); }
  .brand small { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .nav { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
  .nav a { text-decoration: none; color: var(--ink-2); position: relative; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--cobalt); transition: right .3s; }
  .nav a:hover::after { right: 0; }
  .top .btn { min-height: 44px; padding: 10px 20px; font-size: 15px; }

  /* Hero */
  .hero { padding-block: 56px 40px; }
  .hero h1 { font-size: clamp(48px, 9.4vw, 144px); font-weight: 700; letter-spacing: -0.035em; word-spacing: .04em; line-height: .96; margin-top: 26px; }
  .hero h1 .line { display: block; }
  .hero h1 .line span { display: inline-block; animation: up 1s cubic-bezier(.16,1,.3,1) both; }
  .hero h1 .line:nth-child(2) span { animation-delay: .08s; }
  .hero h1 .line:nth-child(3) span { animation-delay: .16s; }
  .hero h1 em.s { color: var(--cobalt); padding-right: .06em; letter-spacing: 0; line-height: 1.05; display: inline-block; }
  @keyframes up { from { transform: translateY(22px); } to { transform: none; } }
  .hero-row { margin-top: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
  .hero-row .lede { font-size: 20px; line-height: 1.5; color: var(--ink-2); max-width: 34rem; }
  .hero-row .side { display: grid; gap: 22px; justify-items: end; }
  .actions { display: flex; flex-wrap: wrap; gap: 12px; }
  .promises { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; font-size: 14px; color: var(--muted); }
  .promises li { display: flex; align-items: center; gap: 8px; }
  .promises svg { width: 16px; height: 16px; color: var(--cobalt); }
  .fade { animation: fade 1s .35s ease both; }
  @keyframes fade { from { transform: translateY(16px); } to { transform: none; } }

  /* Stage */
  .stage { margin-top: 48px; position: relative; border-radius: 32px; overflow: hidden; background: radial-gradient(120% 140% at 10% 0%, #4560FF 0%, #2F4BFF 35%, #1426B8 75%, #0E1A86 100%); padding: 64px 64px 0; isolation: isolate; }
  .stage::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 80%); -webkit-mask-image: radial-gradient(80% 80% at 50% 30%, #000 30%, transparent 80%); z-index: -1; }
  .browser { background: var(--white); border-radius: 14px 14px 0 0; overflow: hidden; box-shadow: 0 50px 100px -40px rgba(4,8,40,.8); }
  .browser .chrome { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EEEFF2; border-bottom: 1px solid #DCDDE2; }
  .browser .chrome i { width: 10px; height: 10px; border-radius: 50%; background: #CFD1D7; }
  .browser .chrome span { margin-left: 14px; flex: 1; max-width: 340px; height: 20px; border-radius: 6px; background: var(--white); font: 500 11px/20px var(--mono); color: #8A8C94; padding: 0 10px; overflow: hidden; white-space: nowrap; }
  .browser img { width: 100%; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; object-position: top; }
  .stage .browser { width: 78%; }
  .phone { position: absolute; width: 19%; min-width: 120px; aspect-ratio: 585 / 1266; max-width: 100%; border-radius: 34px; background: #0B0B0D; padding: 8px; box-shadow: 0 40px 70px -24px rgba(4,8,40,.9); }
  .phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 27px; }
  .stage .p1 { right: 7%; bottom: -12%; }
  .stage .p2 { right: 24%; bottom: -26%; width: 15%; opacity: .96; }
  .float { position: absolute; z-index: 3; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -18px rgba(4,8,40,.7); animation: bob 6s ease-in-out infinite; }
  .float svg { width: 18px; height: 18px; color: var(--cobalt); }
  .float small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
  .float.f1 { left: 4%; top: 46%; }
  .float.f2 { right: 4%; top: 12%; animation-delay: -3s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

  /* Marquee */
  .marquee { border-block: 1px solid var(--line); overflow: hidden; margin-top: 64px; }
  .marquee .track { display: flex; gap: 48px; width: max-content; padding-block: 22px; animation: slide 38s linear infinite; }
  .marquee span { font-size: clamp(26px, 3.4vw, 44px); font-weight: 700; letter-spacing: -0.025em; white-space: nowrap; display: flex; align-items: center; gap: 48px; }
  .marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--cobalt); }
  .marquee span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--muted); }
  @keyframes slide { to { transform: translateX(-50%); } }

  /* Section heads */
  section.sec { padding-block: 120px; }
  .sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  .sec-head h2 { font-size: clamp(40px, 5.6vw, 80px); letter-spacing: -0.03em; word-spacing: .03em; margin-top: 18px; }
  .sec-head p { color: var(--muted); font-size: 18px; max-width: 30rem; justify-self: end; }

  /* Work */
  .work { background: var(--night); color: var(--white); border-radius: 40px 40px 0 0; }
  .work .label { color: var(--night-muted); }
  .work .sec-head p { color: var(--night-muted); }
  .bento { margin-top: 64px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
  .tile { grid-column: span 2; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 22px; padding: 18px 18px 20px; text-align: left; color: var(--white); font: inherit; cursor: zoom-in; display: flex; flex-direction: column; gap: 16px; transition: transform .35s cubic-bezier(.16,1,.3,1), border-color .35s; min-width: 0; }
  .tile:hover { transform: translateY(-6px); border-color: #3B3B45; }
  .tile.big { grid-column: span 3; }
  .tile .shot { position: relative; border-radius: 10px; overflow: hidden; background: #222; }
  .tile .shot .bar { height: 22px; background: #26262C; display: flex; gap: 5px; align-items: center; padding-left: 10px; }
  .tile .shot .bar i { width: 7px; height: 7px; border-radius: 50%; background: #45454E; }
  .tile .shot img { width: 100%; aspect-ratio: 16 / 10; max-width: 100%; object-fit: cover; object-position: top; transition: transform .8s cubic-bezier(.16,1,.3,1); }
  .tile:hover .shot img { transform: scale(1.03); }
  .tile .mini { position: absolute; right: 14px; bottom: -36px; width: 22%; aspect-ratio: 585 / 1266; max-width: 100%; border-radius: 16px; background: #000; padding: 4px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.8); }
  .tile .mini img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top; border-radius: 12px; }
  .tile.big .shot { overflow: visible; }
  .tile.big .shot > img, .tile.big .shot .bar { border-radius: 0; }
  .tile.big .shot { border-radius: 10px; clip-path: inset(0 0 -40px 0 round 10px); }
  .tile .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .tile .cap b { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
  .tile .cap span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); white-space: nowrap; }
  .work-note { margin-top: 36px; color: var(--night-muted); font-size: 14px; max-width: 44rem; }

  /* Lightbox */
  dialog.lb { border: 0; padding: 0; background: transparent; max-width: min(1180px, calc(100vw - 32px)); width: 100%; color: var(--white); }
  dialog.lb::backdrop { background: rgba(8,8,12,.82); backdrop-filter: blur(6px); }
  .lb-inner { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 24px; padding: 22px; display: grid; gap: 18px; }
  .lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
  .lb-top b { font-size: 22px; letter-spacing: -0.02em; }
  .lb-top span { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--night-muted); }
  .lb-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--night-line); background: transparent; color: var(--white); cursor: pointer; display: grid; place-items: center; flex: none; }
  .lb-close svg { width: 18px; height: 18px; }
  .lb-body { display: grid; grid-template-columns: 1fr 26%; gap: 18px; align-items: start; }
  .lb-body .desk { border-radius: 10px; overflow: hidden; }
  .lb-body .desk img, .lb-body .mob img { width: 100%; }
  .lb-body .mob { border-radius: 26px; background: #000; padding: 6px; }
  .lb-body .mob img { border-radius: 20px; }

  /* Industries */
  .industries { padding-bottom: 0; }
  .ind-list { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; border-top: 1px solid var(--ink); }
  .ind-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(20px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; transition: color .25s, padding .25s; }
  .ind-list a svg { width: 22px; height: 22px; color: var(--cobalt); flex: none; transition: transform .25s; }
  .ind-list a:hover { color: var(--cobalt); padding-left: 8px; }
  .ind-list a:hover svg { transform: translateX(4px); }

  /* Journey */
  .journey { margin-top: 72px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
  .step { padding: 28px 28px 8px 0; border-right: 1px solid var(--line); min-width: 0; }
  .step + .step { padding-left: 28px; }
  .step:last-child { border-right: 0; }
  .step .n { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--cobalt); }
  .step h3 { font-size: 34px; letter-spacing: -0.03em; margin-top: 18px; }
  .step h3 em.s { color: var(--muted); }
  .step p { margin-top: 14px; color: var(--muted); font-size: 16px; }

  /* Deliverables */
  .deliver { background: var(--white); }
  .list { margin-top: 64px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .item { display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; padding: 28px 0; border-top: 1px solid var(--line); }
  .item .ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; background: var(--cobalt-tint); color: var(--cobalt); display: grid; place-items: center; }
  .item .ic svg { width: 22px; height: 22px; }
  .item h3 { font-size: 22px; letter-spacing: -0.025em; line-height: 1.2; }
  .item p { color: var(--muted); font-size: 16px; }

  /* Process */
  .process { margin-top: 72px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
  .process li { background: var(--white); border-radius: 24px; padding: 32px; min-height: 280px; display: flex; flex-direction: column; border: 1px solid var(--line); }
  .process .when { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--cobalt); }
  .process h3 { font-size: 34px; letter-spacing: -0.03em; margin-top: auto; padding-top: 48px; }
  .process p { margin-top: 12px; color: var(--muted); font-size: 16px; }

  /* FAQ */
  .faq-wrap { display: grid; grid-template-columns: .9fr 1.4fr; gap: 72px; align-items: start; }
  .faq-wrap .sec-head { display: block; }
  .faq-wrap .sec-head p { margin-top: 18px; justify-self: start; }
  .faq { border-top: 1px solid var(--ink); }
  .faq details { border-bottom: 1px solid var(--line); }
  .faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; min-height: 44px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: transform .3s, background .3s, color .3s, border-color .3s; }
  .faq .pm svg { width: 14px; height: 14px; }
  .faq details[open] .pm { transform: rotate(45deg); background: var(--cobalt); border-color: var(--cobalt); color: var(--white); }
  .faq details p { padding: 0 56px 28px 0; color: var(--muted); font-size: 17px; }

  /* CTA */
  .cta { background: var(--night); color: var(--white); border-radius: 40px 40px 0 0; }
  .cta .wrap { padding-block: 120px 96px; }
  .cta h2 { font-size: clamp(46px, 7.4vw, 120px); letter-spacing: -0.035em; word-spacing: .04em; line-height: .98; max-width: 13ch; }
  .cta h2 em.s { color: #7E92FF; }
  .cta-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
  .cta .lede { color: var(--night-muted); font-size: 19px; max-width: 28rem; }
  .reach { margin-top: 36px; display: grid; gap: 0; padding: 0; list-style: none; border-top: 1px solid var(--night-line); }
  .reach li { display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--night-line); }
  .reach b { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--night-muted); font-weight: 500; }
  .reach span { font-size: 18px; font-weight: 600; user-select: all; }
  .form-card { background: var(--white); color: var(--ink); border-radius: 28px; padding: 36px; }
  .form-card h3 { font-size: 30px; letter-spacing: -0.035em; }
  .form-card .sub { color: var(--muted); margin-top: 6px; font-size: 16px; }
  form { display: grid; gap: 16px; margin-top: 24px; }
  .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .field { display: grid; gap: 6px; min-width: 0; }
  .field label { font-weight: 600; font-size: 14px; }
  .input { width: 100%; font: 16px var(--sans); color: var(--ink); background: var(--stone); border: 1.5px solid transparent; border-radius: 12px; padding: 14px 16px; transition: border-color .2s, background .2s; }
  .input:focus { outline: none; border-color: var(--cobalt); background: var(--white); }
  textarea.input { min-height: 110px; resize: vertical; }
  form .btn { justify-self: start; }
  .form-msg { font-size: 14.5px; padding: 12px 16px; border-radius: 12px; background: #E9F7EF; color: #11643C; }
  .form-msg.warn { background: var(--cobalt-tint); color: var(--cobalt-deep); }

  footer { background: var(--night); color: var(--night-muted); font-size: 14px; }
  footer .wrap { padding-block: 32px 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--night-line); }
  footer .brand { color: var(--white); font-size: 18px; }
  .foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
  .foot-links a { text-decoration: none; display: inline-block; padding-block: 10px; }
  .foot-links a:hover { color: var(--white); }

  @media (max-width: 1060px) {
    .nav { display: none; }
    .hero-row, .sec-head, .faq-wrap, .cta-grid { grid-template-columns: 1fr; }
    .hero-row .side { justify-items: start; }
    .sec-head p { justify-self: start; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tile, .tile.big { grid-column: span 1; }
    .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .step:nth-child(2) { border-right: 0; }
    .step:nth-child(3) { padding-left: 0; }
    .step { border-bottom: 1px solid var(--line); padding-bottom: 28px; }
    .process { grid-template-columns: 1fr; }
    .process li { min-height: 0; }
    .process h3 { padding-top: 28px; }
    .stage { padding: 40px 32px 0; }
  }
  @media (max-width: 680px) {
    body { font-size: 16px; }
    .top .btn { display: none; }
    .hero { padding-block: 36px 24px; }
    .hero-row .lede { font-size: 18px; }
    .actions .btn { flex: 1 1 100%; }
    section.sec { padding-block: 80px; }
    .stage { border-radius: 22px; padding: 28px 18px 0; margin-top: 36px; }
    .stage .browser { width: 100%; }
    .stage .p1 { width: 30%; right: 4%; bottom: -30%; }
    .stage .p2, .float.f2 { display: none; }
    .float.f1 { left: 10px; top: auto; bottom: 14px; padding: 9px 12px; font-size: 12.5px; }
    .bento { grid-template-columns: 1fr; gap: 16px; }
    .tile .mini { bottom: -24px; }
    .lb-body { grid-template-columns: 1fr; }
    .lb-body .mob { width: 60%; margin: 0 auto; }
    .journey { grid-template-columns: 1fr; }
    .step, .step + .step { padding: 24px 0; border-right: 0; }
    .list, .ind-list { grid-template-columns: 1fr; }
    .row { grid-template-columns: 1fr; }
    .form-card { padding: 24px; border-radius: 22px; }
    .cta .wrap { padding-block: 80px 64px; }
    .work, .cta { border-radius: 26px 26px 0 0; }
  }
  @media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
