:root {
  --ink: #0d0e10;
  --muted: #65666c;
  --line: rgba(13, 14, 16, 0.12);
  --paper: #f5f5f7;
  --white: #ffffff;
  --accent: #644cff;
  --accent-soft: #e9e5ff;
  --shell: min(1240px, calc(100vw - 64px));
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
}
.header-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.site-logo img { width: 142px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 99px; font-size: .92rem; font-weight: 600; transition: background .25s ease, color .25s ease; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: rgba(13,14,16,.06); }
.site-nav .nav-contact { margin-left: 6px; color: white; background: var(--ink); gap: 16px; }
.site-nav .nav-contact:hover { background: var(--accent); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--ink); padding: 13px; }
.menu-toggle span:not(.sr-only) { width: 100%; height: 1.5px; background: white; display: block; margin: 5px 0; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.12fr .88fr; align-items: center; gap: 8vw; padding-block: 88px 110px; }
.eyebrow { margin: 0 0 24px; color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.hero h1, .page-hero h1, .project-identity h1 { margin: 0; max-width: 840px; font-size: clamp(3.8rem, 7.15vw, 7.15rem); line-height: .94; letter-spacing: -.068em; font-weight: 660; }
.hero-lede { max-width: 690px; margin: 38px 0 0; color: #424349; font-size: clamp(1.12rem, 1.55vw, 1.42rem); line-height: 1.55; letter-spacing: -.018em; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 42px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 24px; border-radius: 99px; font-size: .92rem; font-weight: 700; transition: transform .22s ease, background .22s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { color: white; background: var(--ink); }
.button-dark:hover { background: var(--accent); }
.text-link { display: inline-flex; align-items: center; gap: 18px; padding-block: 12px; font-weight: 650; border-bottom: 1px solid var(--ink); }

.hero-stage { position: relative; width: min(100%, 510px); aspect-ratio: .88; justify-self: end; isolation: isolate; }
.hero-stage::before { content: ""; position: absolute; inset: 7%; background: #e6e3ff; border-radius: 50%; filter: blur(2px); }
.stage-orbit { position: absolute; border: 1px solid rgba(100,76,255,.28); border-radius: 50%; }
.orbit-one { inset: 0; transform: rotate(-13deg); }
.orbit-two { inset: 12% -4%; transform: rotate(28deg); }
.stage-card { position: absolute; border: 1px solid rgba(255,255,255,.4); box-shadow: 0 30px 80px rgba(45,35,110,.18); }
.stage-card-main { inset: 12% 12% 10% 10%; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; color: white; background: linear-gradient(145deg, #121318 5%, #25242c 50%, #634bff 145%); border-radius: 46px; transform: rotate(-5deg); }
.stage-pill { align-self: flex-start; padding: 8px 12px; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; }
.stage-type { font-size: clamp(8rem, 15vw, 13rem); line-height: .7; font-weight: 730; letter-spacing: -.1em; }
.stage-card-main p { margin: 0; font-size: 1.25rem; letter-spacing: -.03em; }
.stage-card-note { right: -8%; bottom: 4%; width: 48%; min-height: 138px; display: grid; padding: 20px; background: rgba(255,255,255,.88); border-radius: 24px; backdrop-filter: blur(18px); transform: rotate(4deg); }
.stage-card-note span { color: var(--muted); font-size: .72rem; }
.stage-card-note strong { font-size: 1.08rem; line-height: 1.1; letter-spacing: -.03em; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { padding: 48px 8% 54px 0; }
.principle + .principle { padding-left: 8%; border-left: 1px solid var(--line); }
.principle span, .values-grid article > span { color: var(--accent); font-size: .72rem; font-weight: 750; letter-spacing: .12em; }
.principle h2 { margin: 36px 0 14px; font-size: 1.36rem; letter-spacing: -.035em; }
.principle p { margin: 0; max-width: 330px; color: var(--muted); line-height: 1.65; }

.projects-section { padding-block: 160px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 66px; }
.section-heading h2, .capability > h2, .values h2, .project-story h2 { margin: 0; font-size: clamp(3rem, 5.4vw, 5.8rem); line-height: .96; letter-spacing: -.06em; font-weight: 650; }
.section-heading > p { max-width: 530px; justify-self: end; margin: 0; color: var(--muted); font-size: 1.12rem; line-height: 1.7; }
.project-grid { display: grid; gap: 90px; }
.project-card { display: block; }
.project-visual { position: relative; min-height: 610px; display: grid; place-items: center; overflow: hidden; color: white; background: linear-gradient(135deg, #15151a, #2b2750 58%, #6952ff); border-radius: var(--radius); }
.project-card:nth-child(even) .project-visual { background: linear-gradient(135deg, #e2e4ea, #bbc4d2 65%, #8290a8); }
.project-visual::before { content: ""; position: absolute; width: 54%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.035), 0 0 0 140px rgba(255,255,255,.025); }
.project-visual img { position: relative; width: 150px; border-radius: 34px; box-shadow: 0 34px 80px rgba(0,0,0,.33); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.project-card:hover .project-visual img { transform: scale(1.06) rotate(-2deg); }
.project-number { position: absolute; top: 26px; left: 28px; font-size: .76rem; letter-spacing: .12em; }
.project-open { position: absolute; top: 22px; right: 22px; width: 48px; height: 48px; display: grid; place-items: center; color: var(--ink); background: white; border-radius: 50%; transition: transform .25s ease; }
.project-card:hover .project-open { transform: rotate(45deg); }
.project-card-copy { display: grid; grid-template-columns: .7fr 1.3fr; gap: 40px; padding: 28px 2px 0; }
.project-card-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.project-card-copy > p { max-width: 530px; justify-self: end; }
.project-card-copy h3 { margin: 3px 0 0; font-size: clamp(1.8rem, 3vw, 3rem); letter-spacing: -.05em; }

.capability { padding: 150px 7%; color: white; background: var(--ink); border-radius: var(--radius); }
.capability .eyebrow { color: #9a9ba2; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 110px; padding-top: 38px; border-top: 1px solid rgba(255,255,255,.18); }
.capability-grid h3 { margin: 0 0 24px; font-size: 1rem; }
.capability-grid p { margin: 0; color: #a9aab0; line-height: 1.9; }

.site-footer { padding-block: 70px 30px; color: #e9e9ec; background: var(--ink); }
.site-footer img { filter: invert(1); }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding-bottom: 90px; }
.footer-top > div > p { max-width: 360px; margin: 28px 0 0; color: #8f9097; }
.footer-links { display: flex; justify-content: flex-end; gap: min(8vw, 120px); }
.footer-links > div { display: flex; min-width: 150px; flex-direction: column; gap: 12px; }
.footer-links span { margin-bottom: 14px; color: #77787f; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-links a:hover { color: #a895ff; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 28px; color: #77787f; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; }

.page-hero { padding-block: 145px 120px; }
.page-hero h1 { max-width: 1040px; }
.page-intro { max-width: 790px; margin: 70px 0 0 auto; color: #3d3e44; font-size: clamp(1.35rem, 2.1vw, 2.05rem); line-height: 1.48; letter-spacing: -.028em; }
.about-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 9vw; padding-block: 120px 170px; border-top: 1px solid var(--line); }
.about-aside { position: sticky; top: 120px; align-self: start; }
.about-aside p { color: var(--muted); font-size: .82rem; }
.about-aside strong { display: block; margin-top: 32px; font-size: clamp(2.4rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
.prose { max-width: 760px; }
.prose p { margin: 0 0 1.55em; color: #3d3e44; font-size: clamp(1.1rem, 1.5vw, 1.34rem); line-height: 1.74; letter-spacing: -.014em; }
.prose p:first-child { color: var(--ink); font-size: clamp(1.35rem, 1.9vw, 1.72rem); line-height: 1.58; }
.values { padding-block: 150px; border-top: 1px solid var(--line); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; }
.values-grid article { padding: 0 10% 0 0; }
.values-grid article + article { padding-left: 10%; border-left: 1px solid var(--line); }
.values-grid h3 { margin: 44px 0 14px; font-size: 1.45rem; letter-spacing: -.04em; }
.values-grid p { color: var(--muted); line-height: 1.7; }

.project-hero { padding-block: 130px 100px; }
.project-identity { display: grid; grid-template-columns: 144px 1fr; gap: 48px; align-items: start; }
.project-icon-large { width: 144px; height: 144px; object-fit: cover; border-radius: 34px; box-shadow: 0 22px 60px rgba(21,18,50,.2); }
.project-identity h1 { font-size: clamp(4rem, 8vw, 8.6rem); }
.project-lede { max-width: 760px; margin: 38px 0 0; color: #45464c; font-size: clamp(1.15rem, 1.7vw, 1.55rem); line-height: 1.55; }
.project-actions { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.status-chip { display: inline-flex; min-height: 45px; align-items: center; padding: 0 18px; color: #5142b4; background: var(--accent-soft); border-radius: 99px; font-size: .82rem; font-weight: 700; }
.project-meta { display: grid; grid-template-columns: repeat(3, 1fr); margin: 90px 0 0 192px; padding-top: 30px; border-top: 1px solid var(--line); }
.project-meta div { display: grid; gap: 8px; }
.project-meta dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.project-meta dd { margin: 0; font-weight: 650; }
.screens { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 80px 8%; overflow: hidden; background: linear-gradient(135deg, #dcd8ff, #b9abff 55%, #755fff); border-radius: var(--radius); }
.shot { margin: 0; overflow: hidden; border-radius: 36px; box-shadow: 0 30px 70px rgba(51,37,140,.25); }
.shot img { width: 100%; height: auto; }
.mock-shot { position: relative; min-height: 720px; padding: 30px 28px; color: #131317; background: #fbfbfd; }
.phone-status { display: flex; justify-content: space-between; font-size: .74rem; font-weight: 700; }
.mock-map { position: relative; height: 56%; margin: 30px -28px 0; overflow: hidden; background: #e8e9e8; }
.mock-map::before, .mock-map::after { content: ""; position: absolute; background: #d2d5d2; }
.mock-map::before { width: 140%; height: 34px; left: -20%; top: 35%; transform: rotate(-24deg); }
.mock-map::after { width: 34px; height: 130%; left: 55%; top: -15%; transform: rotate(18deg); }
.map-road { position: absolute; z-index: 1; background: #fff; border: 1px solid #d8dad8; }
.road-a { width: 160%; height: 18px; left: -20%; top: 58%; transform: rotate(12deg); }
.road-b { width: 18px; height: 150%; left: 27%; top: -20%; transform: rotate(-16deg); }
.road-c { width: 18px; height: 150%; left: 78%; top: -20%; transform: rotate(33deg); }
.mock-map img { position: absolute; z-index: 2; left: 50%; top: 46%; width: 84px; border-radius: 22px; transform: translate(-50%,-50%); box-shadow: 0 18px 40px rgba(70,54,160,.35); }
.mock-sheet { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 15px 22px 22px; background: rgba(255,255,255,.96); border-radius: 28px; box-shadow: 0 -10px 35px rgba(0,0,0,.08); }
.sheet-handle { display: block; width: 42px; height: 5px; margin: 0 auto 20px; background: #d4d4d8; border-radius: 99px; }
.mock-sheet p { margin: 0; color: var(--muted); font-size: .78rem; }
.mock-sheet strong { display: block; margin: 6px 0 18px; font-size: 1.45rem; letter-spacing: -.04em; }
.mock-sheet button, .mock-add { width: 100%; min-height: 48px; color: white; background: #684fff; border: 0; border-radius: 16px; font-weight: 700; }
.mock-shot-two h3 { margin: 52px 0 26px; font-size: 2rem; letter-spacing: -.05em; }
.mock-list { display: grid; gap: 14px; }
.mock-list > div { display: flex; align-items: center; gap: 14px; padding: 16px; background: #f0f0f3; border-radius: 18px; }
.mock-list p { flex: 1; margin: 0; }
.mock-list strong, .mock-list small { display: block; }
.mock-list small { margin-top: 3px; color: var(--muted); }
.mini-icon { width: 42px; height: 42px; display: grid; place-items: center; color: white; border-radius: 13px; font-weight: 800; }
.mini-icon.purple { background: #6d55ff; }.mini-icon.blue { background: #4285f4; }.mini-icon.orange { background: #f29f38; }
.mock-add { position: absolute; left: 28px; right: 28px; bottom: 28px; width: calc(100% - 56px); }
.project-story { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; padding-block: 160px; }

.not-found { min-height: 75vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.not-found h1 { margin: 0; font-size: clamp(3.5rem, 8vw, 8rem); line-height: .95; letter-spacing: -.07em; }
.not-found > p:not(.eyebrow) { color: var(--muted); font-size: 1.2rem; }
.not-found .button { margin-top: 20px; }
.empty-public { padding: 80px; text-align: center; border: 1px dashed var(--line); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation: none !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 36px, 720px); --radius: 22px; }
  .header-inner { min-height: 68px; }
  .site-logo img { width: 124px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 18px; right: 18px; display: none; align-items: stretch; flex-direction: column; padding: 12px; background: rgba(255,255,255,.97); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 22px 50px rgba(0,0,0,.12); }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: space-between; min-height: 52px; }
  .site-nav .nav-contact { margin: 4px 0 0; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 80px; padding-block: 76px 100px; }
  .hero-stage { justify-self: center; width: min(90%, 480px); }
  .principles, .values-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle, .values-grid article, .values-grid article + article { padding: 36px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section-heading, .project-card-copy, .footer-top, .about-layout, .project-story { grid-template-columns: 1fr; }
  .section-heading > p, .project-card-copy > p { justify-self: start; }
  .project-visual { min-height: 480px; }
  .capability { padding: 100px 8%; }
  .capability-grid { margin-top: 70px; }
  .about-aside { position: static; }
  .about-layout { gap: 70px; }
  .project-identity { grid-template-columns: 100px 1fr; gap: 30px; }
  .project-icon-large { width: 100px; height: 100px; border-radius: 24px; }
  .project-meta { margin-left: 130px; }
  .screens { padding: 48px 5%; }
  .mock-shot { min-height: 600px; }
}

@media (max-width: 620px) {
  :root { --shell: calc(100% - 28px); }
  .hero { gap: 60px; padding-block: 62px 84px; }
  .hero h1, .page-hero h1, .project-identity h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-stage { width: 100%; }
  .hero-stage { overflow: clip; border-radius: 30px; }
  .stage-card-note { right: 0; }
  .projects-section { padding-block: 110px; }
  .section-heading { margin-bottom: 42px; }
  .project-grid { gap: 68px; }
  .project-visual { min-height: 390px; }
  .project-card-copy { gap: 18px; }
  .capability { width: 100%; border-radius: 0; }
  .capability-grid { grid-template-columns: 1fr; gap: 42px; }
  .footer-top { padding-bottom: 60px; }
  .footer-links { justify-content: flex-start; flex-direction: column; gap: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
  .page-hero { padding-block: 100px 84px; }
  .page-intro { margin-top: 48px; }
  .about-layout { padding-block: 80px 110px; }
  .values { padding-block: 110px; }
  .project-hero { padding-block: 90px 70px; }
  .project-identity { grid-template-columns: 1fr; }
  .project-meta { grid-template-columns: 1fr; gap: 24px; margin: 60px 0 0; }
  .screens { width: 100%; grid-template-columns: 1fr; border-radius: 0; }
  .mock-shot { min-height: 650px; }
  .project-story { padding-block: 110px; }
}

/* Podho — black and red showcase */
:root {
  --ink: #09090a;
  --muted: #9a9aa0;
  --line: rgba(255, 255, 255, .13);
  --paper: #070708;
  --white: #f7f7f8;
  --accent: #ed1b24;
  --accent-soft: #2b0b0d;
}

body {
  color: var(--white);
  background:
    radial-gradient(circle at 50% 24%, rgba(237, 27, 36, .08), transparent 31rem),
    var(--paper);
}

.site-header {
  background: rgba(7, 7, 8, .78);
  border-bottom-color: rgba(255, 255, 255, .08);
}

.site-logo img,
.site-footer img { filter: invert(1); }

.site-nav a { color: #d8d8dc; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.site-nav .nav-contact { color: #fff; background: var(--accent); }
.site-nav .nav-contact:hover { background: #ff313a; }
.menu-toggle { background: var(--accent); }
.eyebrow { color: var(--accent); }

.home-main { overflow: hidden; }
.apps-showcase {
  position: relative;
  min-height: calc(100svh - 78px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(74px, 9vh, 120px) 0 clamp(100px, 13vh, 160px);
  isolation: isolate;
}
.apps-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(62vw, 850px);
  height: min(62vw, 850px);
  left: 50%;
  top: 46%;
  border-radius: 50%;
  background: rgba(190, 0, 12, .16);
  filter: blur(120px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.apps-showcase-heading { margin-bottom: clamp(44px, 7vh, 76px); }
.apps-showcase-heading .eyebrow { margin-bottom: 12px; }
.apps-showcase-heading h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 650;
}

.app-marquee {
  width: 100%;
  overflow: hidden;
  padding: 24px 0 28px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.app-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: app-marquee-right 34s linear infinite;
}
.app-marquee:hover .app-marquee-track,
.app-marquee:focus-within .app-marquee-track { animation-play-state: paused; }
.app-marquee-set {
  display: flex;
  align-items: flex-start;
  gap: clamp(34px, 4vw, 66px);
  padding-right: clamp(34px, 4vw, 66px);
}
@keyframes app-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
.app-single { display: flex; overflow: hidden; padding: 24px 0 28px; }
.app-single .app-icon-card {
  animation: app-single-right 18s linear infinite;
  animation-delay: -9s;
}
@keyframes app-single-right {
  from { transform: translateX(-220px); }
  to { transform: translateX(calc(100vw + 220px)); }
}
.app-single .app-icon-card:hover,
.app-single .app-icon-card:focus-visible { animation-play-state: paused; }
.app-icon-card {
  width: 180px;
  flex: 0 0 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  outline: none;
}
.app-icon-card img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22.4%;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .58), 0 0 0 0 rgba(237, 27, 36, 0);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.app-icon-card strong {
  margin-top: 20px;
  color: #fff;
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -.02em;
}
.app-icon-card span { margin-top: 4px; color: #85858b; font-size: .82rem; }
.app-icon-card:hover img,
.app-icon-card:focus-visible img {
  transform: translateY(-8px) scale(1.035);
  border-color: rgba(255, 64, 72, .7);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .65), 0 0 0 4px rgba(237, 27, 36, .13);
}
.empty-apps { color: var(--muted); text-align: center; padding: 80px 24px; }

.about-main { min-height: calc(100svh - 78px); }
.about-simple {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: clamp(70px, 10vw, 160px);
  padding-block: clamp(110px, 15vh, 190px);
}
.about-simple-title h1 {
  margin: 0;
  max-width: 700px;
  font-size: clamp(3.4rem, 6.4vw, 7rem);
  line-height: .94;
  letter-spacing: -.068em;
  font-weight: 650;
}
.about-simple-copy { align-self: end; max-width: 700px; }
.about-simple-copy p {
  margin: 0 0 1.45em;
  color: #ababaf;
  font-size: clamp(1.04rem, 1.35vw, 1.22rem);
  line-height: 1.72;
}
.about-simple-copy .about-lead {
  color: #fff;
  font-size: clamp(1.25rem, 1.75vw, 1.58rem);
  line-height: 1.55;
  letter-spacing: -.02em;
}
.about-signature {
  display: flex;
  gap: 28px;
  margin-top: 54px;
  padding-top: 24px;
  color: var(--accent);
  border-top: 1px solid var(--line);
  font-size: .78rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.button-dark { color: #fff; background: var(--accent); }
.button-dark:hover { background: #ff313a; }
.project-lede,
.page-intro,
.prose p,
.project-card-copy p { color: #aaaab0; }
.prose p:first-child { color: #f2f2f3; }
.status-chip { color: #ff777d; background: var(--accent-soft); }
.screens { background: linear-gradient(140deg, #210709, #8d0710 58%, #ef1b24); }
.project-icon-large { border-radius: 22.4%; box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.project-meta { border-top-color: var(--line); }
.project-meta dt { color: #85858b; }
.project-story { border-bottom: 1px solid var(--line); }

.site-footer {
  padding-block: 34px;
  color: #cfcfd3;
  background: #050506;
  border-top: 1px solid rgba(255, 255, 255, .09);
}
.footer-minimal {
  min-height: 86px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 56px;
}
.footer-minimal nav { display: flex; justify-content: center; gap: 34px; }
.footer-minimal a { font-size: .9rem; transition: color .2s ease; }
.footer-minimal a:hover { color: var(--accent); }
.footer-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 6px; color: #707076; font-size: .74rem; }

@media (max-width: 900px) {
  .site-nav { background: rgba(14, 14, 15, .98); border-color: var(--line); }
  .apps-showcase { min-height: calc(100svh - 68px); }
  .about-simple { grid-template-columns: 1fr; gap: 70px; }
  .about-simple-copy { max-width: 760px; }
  .footer-minimal { grid-template-columns: 1fr auto; gap: 28px; }
  .footer-minimal nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 620px) {
  .apps-showcase { justify-content: center; padding-block: 66px 92px; }
  .apps-showcase-heading { margin-bottom: 34px; }
  .apps-showcase-heading h1 { font-size: 2.65rem; }
  .app-marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .app-icon-card { width: 144px; flex-basis: 144px; }
  .app-icon-card img { width: 144px; height: 144px; }
  .app-icon-card strong { margin-top: 16px; font-size: .94rem; }
  .about-simple { gap: 54px; padding-block: 90px 110px; }
  .about-simple-title h1 { font-size: clamp(3.1rem, 14vw, 4.6rem); }
  .about-signature { flex-direction: column; gap: 8px; }
  .footer-minimal { grid-template-columns: 1fr; }
  .footer-minimal nav { grid-column: auto; grid-row: auto; gap: 22px; flex-wrap: wrap; }
  .footer-meta { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .app-marquee-track { animation: none; }
  .app-single { justify-content: center; }
  .app-single .app-icon-card { animation: none; }
}

/* Light by default, dark according to the device preference */
:root {
  color-scheme: light dark;
  --ink: #111114;
  --muted: #6d6d74;
  --line: rgba(17, 17, 20, .12);
  --paper: #ffffff;
  --white: #111114;
  --accent: #df1721;
  --accent-soft: #ffe8e9;
}

body {
  color: #111114;
  background: radial-gradient(circle at 50% 24%, rgba(223, 23, 33, .055), transparent 31rem), #fff;
}
.site-header { background: rgba(255, 255, 255, .8); border-bottom-color: rgba(17, 17, 20, .08); }
.site-logo img,
.site-footer img { filter: none; }
.site-nav a { color: #414147; }
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #111114; background: rgba(17, 17, 20, .065); }
.site-nav .nav-contact { color: #fff; background: var(--accent); }
.app-icon-card strong { color: #111114; }
.app-icon-card span { color: #74747b; }
.app-icon-card img { border-color: rgba(17, 17, 20, .12); box-shadow: 0 24px 60px rgba(26, 26, 32, .17); }
.about-simple-no-title { display: block; }
.about-simple-no-title .about-simple-copy { max-width: 820px; margin-inline: auto; }
.about-simple-copy p { color: #5f5f66; }
.about-simple-copy .about-lead { color: #111114; }
.project-lede,
.page-intro,
.prose p,
.project-card-copy p { color: #626269; }
.prose p:first-child { color: #111114; }
.site-footer { color: #3f3f45; background: #f5f5f7; border-top-color: rgba(17, 17, 20, .09); }
.footer-meta { color: #77777e; }

.app-store-button {
  width: min(256px, 72vw);
  display: inline-block;
  border-radius: 15px;
  outline: none;
  transition: transform .22s ease, filter .22s ease;
}
.app-store-button img { width: 100%; height: auto; border-radius: inherit; }
.app-store-button:hover,
.app-store-button:focus-visible { transform: translateY(-3px) scale(1.015); filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .2)); }

.project-gallery {
  position: relative;
  padding: clamp(24px, 4vw, 58px);
  overflow: hidden;
  background: #f2f2f5;
  border: 1px solid rgba(17, 17, 20, .08);
  border-radius: var(--radius);
}
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(430px, 68vw);
  gap: clamp(18px, 2.2vw, 32px);
  overflow-x: auto;
  padding: 10px max(10px, calc((100% - min(430px, 68vw)) / 2)) 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 34px;
  box-shadow: 0 25px 60px rgba(21, 21, 28, .15);
  cursor: zoom-in;
  scroll-snap-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-slide:hover,
.gallery-slide:focus-visible { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(21, 21, 28, .22); outline: 3px solid rgba(223, 23, 33, .35); outline-offset: 4px; }
.gallery-slide img { width: 100%; height: min(72vh, 760px); object-fit: contain; background: #0d0d0f; }
.gallery-controls { display: flex; justify-content: center; gap: 10px; margin-top: 18px; }
.gallery-controls button {
  width: 48px;
  height: 48px;
  color: #fff;
  background: #111114;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.gallery-controls button:hover { background: var(--accent); transform: translateY(-2px); }
.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 5vh 5vw;
  color: #fff;
  background: rgba(4, 4, 5, .92);
  border: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.gallery-lightbox[open] { display: grid; place-items: center; }
.gallery-lightbox::backdrop { background: rgba(0, 0, 0, .55); }
.gallery-lightbox img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: 24px; box-shadow: 0 36px 100px rgba(0, 0, 0, .6); }
.gallery-close {
  position: fixed;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
}
.project-story-simple { display: block; padding-block: clamp(90px, 12vw, 150px); }
.project-story-simple .prose { max-width: 800px; margin-inline: auto; }

@media (max-width: 900px) {
  .site-nav { background: rgba(255, 255, 255, .98); }
}

@media (max-width: 620px) {
  .project-gallery { width: 100%; padding: 26px 0; border-inline: 0; border-radius: 0; }
  .gallery-track { grid-auto-columns: 78vw; padding-inline: 11vw; }
  .gallery-slide { border-radius: 26px; }
  .gallery-slide img { height: min(68vh, 670px); }
  .gallery-lightbox { padding: 4vh 16px; }
  .gallery-lightbox img { max-width: calc(100vw - 32px); border-radius: 18px; }
  .project-story-simple { padding-block: 86px; }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #09090a;
    --muted: #9a9aa0;
    --line: rgba(255, 255, 255, .13);
    --paper: #070708;
    --white: #f7f7f8;
    --accent: #ed1b24;
    --accent-soft: #2b0b0d;
  }
  body { color: #f7f7f8; background: radial-gradient(circle at 50% 24%, rgba(237, 27, 36, .08), transparent 31rem), #070708; }
  .site-header { background: rgba(7, 7, 8, .78); border-bottom-color: rgba(255, 255, 255, .08); }
  .site-logo img,
  .site-footer img { filter: invert(1); }
  .site-nav a { color: #d8d8dc; }
  .site-nav a:hover,
  .site-nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
  .app-icon-card strong { color: #fff; }
  .app-icon-card span { color: #85858b; }
  .app-icon-card img { border-color: rgba(255, 255, 255, .14); box-shadow: 0 28px 70px rgba(0, 0, 0, .58); }
  .about-simple-copy p { color: #ababaf; }
  .about-simple-copy .about-lead { color: #fff; }
  .project-lede,
  .page-intro,
  .prose p,
  .project-card-copy p { color: #aaaab0; }
  .prose p:first-child { color: #f2f2f3; }
  .project-gallery { background: #111114; border-color: rgba(255, 255, 255, .1); }
  .gallery-slide { box-shadow: 0 28px 70px rgba(0, 0, 0, .55); }
  .gallery-controls button { color: #111114; background: #f5f5f7; }
  .gallery-controls button:hover { color: #fff; background: var(--accent); }
  .site-footer { color: #cfcfd3; background: #050506; border-top-color: rgba(255, 255, 255, .09); }
  .footer-meta { color: #707076; }
}

@media (prefers-color-scheme: dark) and (max-width: 900px) {
  .site-nav { background: rgba(14, 14, 15, .98); }
}

/* Interactive app rail, directory and page transitions */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s ease both page-out; }
::view-transition-new(root) { animation: .42s .08s cubic-bezier(.2,.8,.2,1) both page-in; }
::view-transition-group(selected-app-icon) { animation-duration: .5s; }
@keyframes page-out { to { opacity: 0; transform: scale(.985); } }
@keyframes page-in { from { opacity: 0; transform: translateY(12px); } }

.app-marquee {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  touch-action: pan-y;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
}
.app-marquee::-webkit-scrollbar { display: none; }
.app-marquee.is-dragging { cursor: grabbing; }
.app-marquee-track { animation: none; }
.app-marquee-set {
  width: max-content;
  min-width: 100vw;
  min-height: 274px;
  justify-content: center;
  padding-inline: clamp(46px, 6vw, 92px);
}
.app-marquee-set .app-icon-card:nth-child(5n + 1) { margin-top: 4px; }
.app-marquee-set .app-icon-card:nth-child(5n + 2) { margin-top: 22px; }
.app-marquee-set .app-icon-card:nth-child(5n + 3) { margin-top: 10px; }
.app-marquee-set .app-icon-card:nth-child(5n + 4) { margin-top: 28px; }
.app-marquee-set .app-icon-card:nth-child(5n) { margin-top: 15px; }
.app-icon-card.is-transitioning img,
.project-icon-large { view-transition-name: selected-app-icon; }
.page-leaving .app-icon-card { opacity: .25; transition: opacity .22s ease; }
.page-leaving .app-icon-card.is-transitioning { opacity: 1; }
.page-leaving .app-icon-card.is-transitioning img { transform: scale(1.08); }

.apps-directory-main { min-height: calc(100svh - 78px); }
.apps-directory { padding-block: clamp(80px, 11vw, 150px); }
.apps-directory header { display: grid; grid-template-columns: 1fr minmax(280px, 420px); align-items: end; gap: 50px; margin-bottom: 58px; }
.apps-directory header .eyebrow { grid-column: 1; margin-bottom: 8px; }
.apps-directory h1 { grid-column: 1; margin: 0; font-size: clamp(4rem, 8vw, 8rem); line-height: .84; letter-spacing: -.075em; }
.apps-search { position: relative; grid-column: 2; grid-row: 1 / 3; align-self: end; }
.apps-search input { width: 100%; height: 58px; padding: 0 52px 0 20px; color: inherit; background: rgba(127, 127, 127, .07); border: 1px solid var(--line); border-radius: 18px; outline: none; font: inherit; font-size: 1rem; }
.apps-search input:focus { border-color: rgba(223, 23, 33, .55); box-shadow: 0 0 0 4px rgba(223, 23, 33, .1); }
.apps-search > span:last-child { position: absolute; right: 19px; top: 50%; color: var(--muted); font-size: 1.4rem; transform: translateY(-50%); }
.apps-directory-list { border-top: 1px solid var(--line); }
.apps-directory-row { display: grid; grid-template-columns: 88px 1fr 52px; align-items: center; gap: 26px; padding: 24px 8px; border-bottom: 1px solid var(--line); transition: padding .22s ease, background .22s ease, opacity .22s ease; }
.apps-directory-row:hover { padding-inline: 20px; background: rgba(127, 127, 127, .055); }
.apps-directory-row img { width: 88px; height: 88px; object-fit: cover; border-radius: 22.4%; box-shadow: 0 14px 34px rgba(0,0,0,.16); }
.apps-directory-copy { min-width: 0; display: grid; gap: 4px; }
.apps-directory-copy strong { font-size: 1.35rem; letter-spacing: -.035em; }
.apps-directory-copy small { color: var(--accent); font-size: .72rem; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.apps-directory-copy > span { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.apps-directory-arrow { width: 44px; height: 44px; display: grid; place-items: center; justify-self: end; color: #fff; background: var(--accent); border-radius: 50%; }
.apps-search-empty { padding: 60px 0; color: var(--muted); text-align: center; }

.project-back { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 58px; color: var(--muted); font-size: .9rem; font-weight: 650; transition: color .2s ease, transform .2s ease; }
.project-back:hover { color: var(--accent); transform: translateX(-4px); }

@media (max-width: 900px) {
  .apps-directory-main { min-height: calc(100svh - 68px); }
  .apps-directory header { grid-template-columns: 1fr; gap: 28px; }
  .apps-directory header .eyebrow,
  .apps-directory h1,
  .apps-search { grid-column: 1; grid-row: auto; }
}

@media (max-width: 620px) {
  .app-marquee-set { min-height: 222px; padding-inline: 34px; }
  .app-marquee-set .app-icon-card:nth-child(5n + 2),
  .app-marquee-set .app-icon-card:nth-child(5n + 4) { margin-top: 18px; }
  .apps-directory { padding-block: 72px 100px; }
  .apps-directory h1 { font-size: 4.4rem; }
  .apps-directory-row { grid-template-columns: 68px 1fr; gap: 18px; padding-block: 19px; }
  .apps-directory-row img { width: 68px; height: 68px; }
  .apps-directory-copy > span { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .apps-directory-arrow { display: none; }
  .project-back { margin-bottom: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root),
  ::view-transition-group(selected-app-icon) { animation: none; }
  .page-leaving .app-icon-card { opacity: 1; }
}
