:root {
  --paper: #f5f1e8;
  --paper-deep: #e9e2d5;
  --ink: #18221d;
  --muted: #62665f;
  --coral: #f06449;
  --lime: #d7f36a;
  --mint: #b9e5cd;
  --line: rgba(24, 34, 29, 0.16);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.section-shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; left: 12px; top: -60px; padding: 12px 18px; background: var(--ink); color: white; transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { width: var(--shell); height: 96px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 22px; letter-spacing: -.8px; }
.brand-mark { width: 27px; height: 27px; position: relative; display: inline-block; transform: rotate(-8deg); }
.brand-mark > span { position: absolute; width: 11px; height: 24px; border-radius: 10px; background: var(--coral); top: 1px; }
.brand-mark > span:first-child { left: 3px; transform: rotate(-27deg); }
.brand-mark > span:last-child { right: 3px; transform: rotate(27deg); }
.site-nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after { content: ""; position: absolute; height: 1px; left: 0; right: 100%; bottom: -5px; background: currentColor; transition: right .25s; }
.site-nav a:hover::after { right: 0; }
.nav-cta { padding: 12px 18px; border: 1px solid var(--ink); border-radius: 30px; transition: color .2s, background .2s; }
.nav-cta:hover { background: var(--ink); color: white; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }

.hero { min-height: 690px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 35px; padding-block: 76px 90px; overflow: hidden; }
.eyebrow { margin: 0 0 30px; text-transform: uppercase; letter-spacing: 2px; font-weight: 800; font-size: 11px; display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 26px; height: 2px; background: var(--coral); }
.hero h1 { margin: 0; max-width: 680px; font-size: clamp(64px, 7vw, 105px); line-height: .89; letter-spacing: -6px; font-weight: 700; }
h1 em, h2 em { color: var(--coral); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-intro { max-width: 520px; font-size: 19px; line-height: 1.65; color: var(--muted); margin: 34px 0; }
.hero-actions { display: flex; gap: 28px; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 32px; border-radius: 40px; padding: 16px 22px; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: white; box-shadow: 0 8px 24px rgba(24,34,29,.15); }
.button-dark span, .button-outline span { color: var(--lime); font-size: 18px; }
.text-link { font-weight: 700; font-size: 14px; border-bottom: 1px solid var(--ink); padding-bottom: 4px; }
.text-link span { margin-left: 5px; }

.hero-art { position: relative; aspect-ratio: 1/1; max-height: 570px; }
.orbit { position: absolute; border: 1px solid rgba(24,34,29,.17); border-radius: 50%; }
.orbit-one { inset: 8%; }
.orbit-two { inset: 22%; }
.product-tile { position: absolute; width: 44%; aspect-ratio: .82; padding: 18px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 28px 60px rgba(42,36,27,.17); }
.tile-mobile { left: 7%; top: 10%; background: var(--coral); transform: rotate(-8deg); border-radius: 90px 90px 18px 18px; }
.tile-web { right: 5%; bottom: 6%; background: var(--ink); color: white; transform: rotate(7deg); border-radius: 18px 18px 90px 90px; }
.tile-number, .tile-label { font-size: 11px; letter-spacing: 1.4px; font-weight: 800; text-transform: uppercase; }
.mini-phone { width: 62%; height: 57%; background: var(--paper); margin: auto; border-radius: 18px; border: 4px solid var(--ink); padding: 18px 10px 10px; display: flex; flex-direction: column; gap: 8px; }
.phone-pill { width: 28px; height: 4px; border-radius: 5px; background: var(--ink); align-self: center; margin-bottom: 10px; }
.phone-line { height: 7px; width: 65%; background: var(--paper-deep); border-radius: 5px; }
.phone-line.wide { width: 90%; background: var(--coral); }
.phone-button { height: 30px; border-radius: 10px; background: var(--ink); margin-top: auto; }
.mini-browser { width: 82%; height: 50%; background: var(--paper); margin: auto; color: var(--ink); border-radius: 6px; padding: 7px; display: grid; grid-template-columns: .35fr .65fr; grid-template-rows: 15px 1fr 10px; gap: 6px; }
.browser-dots { grid-column: 1/-1; font-size: 8px; letter-spacing: 2px; color: var(--coral); }
.browser-card { grid-row: 2/4; background: var(--mint); border-radius: 3px; }
.browser-line { background: var(--coral); border-radius: 3px; }
.spark { position: absolute; font-size: 30px; color: var(--coral); }
.spark-one { right: 8%; top: 10%; }
.spark-two { left: 2%; bottom: 14%; color: var(--ink); font-size: 19px; }
.art-caption { position: absolute; right: 0; top: 42%; text-transform: uppercase; letter-spacing: 1.5px; font-size: 10px; line-height: 1.5; font-weight: 800; transform: rotate(8deg); }

.marquee { background: var(--ink); color: white; overflow: hidden; padding: 19px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee-track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 24s linear infinite; text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 800; }
.marquee-track b { color: var(--lime); font-size: 20px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.work { padding-block: 150px; }
.section-heading { display: grid; grid-template-columns: .7fr 1.2fr .8fr; gap: 45px; align-items: end; margin-bottom: 70px; }
.section-heading .eyebrow { align-self: start; margin-top: 10px; }
.section-heading h2, .approach h2 { margin: 0; font-size: clamp(44px, 5vw, 68px); line-height: .98; letter-spacing: -3.5px; }
.section-heading > p:last-child { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card { min-height: 680px; padding: 28px; position: relative; overflow: hidden; border-radius: 3px; display: flex; flex-direction: column; }
.work-card-coral { background: var(--coral); }
.work-card-ink { background: var(--ink); color: white; }
.work-card-top { display: flex; justify-content: space-between; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; }
.device-scene, .browser-scene { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 400px; }
.phone { position: absolute; width: 185px; height: 360px; border: 8px solid var(--ink); border-radius: 34px; padding: 8px; box-shadow: 0 28px 35px rgba(69,30,20,.2); }
.phone-back { transform: translate(-75px, 12px) rotate(-11deg); background: var(--mint); }
.phone-front { transform: translate(65px, -5px) rotate(7deg); background: var(--paper); }
.phone-ui { height: 100%; border-radius: 21px; background: var(--paper); padding: 35px 15px 18px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.phone-ui span { width: 42px; height: 42px; border-radius: 50%; background: var(--coral); }
.phone-ui strong { font-size: 18px; line-height: 1.15; margin: 10px 0 20px; }
.phone-ui i { height: 42px; background: var(--paper-deep); border-radius: 8px; }
.phone-back .phone-ui { background: var(--mint); }
.browser-window { width: 88%; height: 325px; border-radius: 10px; background: var(--paper); color: var(--ink); overflow: hidden; box-shadow: 0 30px 50px rgba(0,0,0,.32); transform: perspective(800px) rotateY(-4deg) rotateZ(2deg); }
.browser-bar { height: 32px; display: flex; align-items: center; gap: 5px; padding: 0 12px; border-bottom: 1px solid var(--paper-deep); }
.browser-bar span { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.browser-content { display: grid; grid-template-columns: 70px 1fr; height: calc(100% - 32px); }
.browser-content aside { border-right: 1px solid var(--paper-deep); padding: 24px 15px; display: flex; flex-direction: column; gap: 12px; }
.browser-content aside i { height: 5px; border-radius: 4px; background: #cac8bd; }
.browser-main { padding: 45px; }
.browser-main small { color: var(--coral); font-size: 8px; letter-spacing: 1px; }
.browser-main strong { display: block; font-size: 26px; line-height: 1.1; margin-top: 12px; }
.data-row { display: flex; gap: 10px; margin-top: 45px; }
.data-row i { width: 28%; height: 60px; border-radius: 5px; background: var(--mint); }
.data-row i:nth-child(2) { background: var(--lime); height: 90px; margin-top: -30px; }
.data-row i:nth-child(3) { background: var(--coral); height: 45px; margin-top: 15px; }
.work-card-copy { max-width: 400px; }
.work-card-copy h3 { font-size: 25px; letter-spacing: -1px; margin: 0 0 8px; }
.work-card-copy p { font-size: 14px; line-height: 1.6; margin: 0; opacity: .72; }

.approach { background: var(--ink); color: white; padding-block: 140px; }
.approach-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 120px; }
.eyebrow-light > span { background: var(--lime); }
.principles { border-top: 1px solid rgba(255,255,255,.2); }
.principle { display: grid; grid-template-columns: 55px 1fr; gap: 15px; padding: 35px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle > span { color: var(--lime); font-family: Georgia, serif; font-style: italic; }
.principle h3 { margin: 0 0 10px; font-size: 22px; }
.principle p { margin: 0; max-width: 470px; opacity: .65; line-height: 1.6; font-size: 14px; }

.company { padding-block: 150px; display: grid; grid-template-columns: 1.45fr .55fr; gap: 110px; align-items: end; }
.company-statement h2 { margin: 0; font-size: clamp(42px, 5vw, 67px); letter-spacing: -3.5px; line-height: 1.07; }
.company-details p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.company-identity { display: flex; flex-direction: column; gap: 5px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); font-style: normal; color: var(--muted); font-size: 12px; line-height: 1.5; }
.company-identity strong { color: var(--ink); font-size: 12px; }
.button-outline { border: 1px solid var(--ink); margin-top: 18px; }
.button-outline span { color: var(--coral); }
.contact-band { background: var(--lime); padding-block: 74px; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; }
.contact-inner p { margin: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.contact-inner a { font-size: clamp(50px, 8vw, 110px); line-height: .8; font-weight: 700; letter-spacing: -6px; border-bottom: 4px solid var(--ink); }
.contact-inner a span { font-size: .5em; margin-left: 20px; }

.site-footer { background: var(--ink); color: white; padding-top: 85px; }
.brand-light .brand-mark > span { background: var(--lime); }
.footer-top { display: grid; grid-template-columns: 1fr 1.3fr; padding-bottom: 75px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }
.footer-links > div { display: flex; flex-direction: column; gap: 12px; }
.footer-links strong { text-transform: uppercase; color: var(--lime); letter-spacing: 1.5px; font-size: 10px; margin-bottom: 9px; }
.footer-links a { font-size: 13px; opacity: .68; }
.footer-address { font-size: 12px; line-height: 1.6; opacity: .5; }
.footer-links a:hover { opacity: 1; }
.footer-bottom { padding-block: 20px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; font-size: 11px; opacity: .5; }

.legal-main { padding-block: 90px 130px; }
.legal-hero { max-width: 760px; margin-bottom: 80px; }
.legal-hero h1 { font-size: clamp(52px, 7vw, 86px); letter-spacing: -5px; line-height: .95; margin: 0 0 25px; }
.legal-hero p { color: var(--muted); line-height: 1.7; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 80px; align-items: start; }
.legal-nav { position: sticky; top: 30px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.legal-nav strong { text-transform: uppercase; font-size: 10px; letter-spacing: 1.5px; margin-bottom: 10px; }
.legal-nav a { color: var(--muted); }
.legal-content section { scroll-margin-top: 25px; margin-bottom: 50px; }
.legal-content h2 { font-size: 26px; letter-spacing: -1px; margin: 0 0 15px; }
.legal-content h3 { font-size: 17px; margin-top: 26px; }
.legal-content p, .legal-content li { color: #50564f; font-size: 15px; line-height: 1.75; }
.legal-content ul, .legal-content ol { padding-left: 21px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; }
.callout { padding: 24px; background: white; border-left: 4px solid var(--coral); margin: 28px 0; }
.callout p { margin: 0; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; }
.steps li { position: relative; padding: 0 0 28px 55px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: white; display: grid; place-items: center; font-weight: 700; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .marquee-track { animation: none; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 700px); }
  .menu-toggle { display: flex; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; }
  .menu-toggle i { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s; }
  .site-nav { display: none; position: absolute; z-index: 30; left: 16px; right: 16px; top: 82px; padding: 28px; background: var(--ink); color: white; flex-direction: column; align-items: stretch; }
  .site-nav.open { display: flex; }
  .legal-header { height: auto; min-height: 78px; padding-block: 18px; align-items: flex-start; }
  .legal-header .site-nav { display: flex; position: static; padding: 0; background: transparent; color: var(--ink); flex-direction: row; flex-wrap: wrap; justify-content: flex-end; }
  .nav-cta { border-color: white; text-align: center; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-art { max-height: none; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .section-heading .eyebrow { margin-bottom: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .approach-inner { grid-template-columns: 1fr; gap: 70px; }
  .company { grid-template-columns: 1fr; gap: 55px; }
  .contact-inner { align-items: flex-start; flex-direction: column; gap: 35px; }
  .footer-top { grid-template-columns: 1fr; gap: 60px; }
  .legal-layout { grid-template-columns: 1fr; gap: 45px; }
  .legal-nav { position: static; }
}

@media (max-width: 560px) {
  .site-header { height: 78px; }
  .legal-header { align-items: center; }
  .legal-header .site-nav { gap: 13px; font-size: 11px; }
  .hero { min-height: 0; padding-block: 55px 75px; }
  .hero h1 { font-size: 56px; letter-spacing: -4px; }
  .hero-intro { font-size: 17px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .text-link { align-self: flex-start; }
  .product-tile { width: 48%; padding: 13px; }
  .art-caption { display: none; }
  .work { padding-block: 100px; }
  .work-card { min-height: 570px; padding: 20px; }
  .device-scene { transform: scale(.8); margin-inline: -40px; }
  .browser-scene { min-height: 340px; }
  .browser-window { width: 108%; height: 270px; }
  .browser-main { padding: 30px 22px; }
  .approach { padding-block: 100px; }
  .company { padding-block: 100px; }
  .company-statement h2, .section-heading h2, .approach h2 { letter-spacing: -2.5px; }
  .contact-inner a { letter-spacing: -3px; }
  .footer-links { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 9px; }
  .legal-main { padding-top: 60px; }
}
