:root {
  --night: #071017;
  --night-soft: #0c1820;
  --ink: #101d24;
  --paper: #f1efe9;
  --pearl: #e5e5df;
  --mist: #aebbc0;
  --blue: #6e8ff7;
  --serif: "Iowan Old Style", "Baskerville", Georgia, serif;
  --sans: "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; background: var(--night); color: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
.skip-link { position: fixed; z-index: 100; left: 1rem; top: -5rem; padding: .8rem 1rem; background: white; color: var(--night); border-radius: 99px; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 86px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--paper); text-decoration: none; font-weight: 600; letter-spacing: .01em; }
.brand img, .footer-brand img { filter: brightness(0) invert(1); }
.brand i, .footer-brand i { color: var(--blue); font-style: normal; }
.site-header nav { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 38px); color: rgb(232 238 239 / .65); font-size: .76rem; }
.site-header nav a { text-decoration: none; transition: color .2s ease; }
.site-header nav a:hover { color: white; }
.nav-cta { padding: 10px 17px; border: 1px solid rgb(255 255 255 / .16); border-radius: 99px; }
.menu-button { display: none; border: 0; color: white; background: transparent; }

.hero { min-height: 780px; height: 100svh; position: relative; overflow: hidden; padding: 130px clamp(26px, 8vw, 138px) 80px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: radial-gradient(circle at 78% 38%, #142d3b, transparent 33%), linear-gradient(145deg, #050b10, #0a1922 56%, #081117); }
.hero::before { content: ""; position: absolute; width: 58vw; height: 58vw; right: -18vw; top: -23vw; border: 1px solid rgb(183 205 210 / .1); border-radius: 50%; box-shadow: 0 0 130px rgb(91 145 159 / .06); }
.hero-copy { position: relative; z-index: 3; width: min(760px, 56vw); }
.eyebrow { margin: 0 0 1.3rem; color: #91aeb8; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 650; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.05em; }
.hero h1 { font-size: clamp(4.4rem, 8.4vw, 9.4rem); line-height: .82; max-width: 8ch; }
.hero h1 em { color: #b8c8c9; font-weight: 400; }
.hero-copy > p:not(.eyebrow) { max-width: 550px; margin: 2.2rem 0 1.8rem; color: rgb(221 232 233 / .61); line-height: 1.76; font-size: clamp(.98rem, 1.15vw, 1.13rem); }
.text-link { display: inline-flex; gap: 14px; color: #c5d6d7; text-decoration: none; font-size: .78rem; }
.text-link span { color: #78949d; }
.hero-promise { position: absolute; z-index: 4; left: clamp(26px, 8vw, 138px); bottom: 46px; display: flex; gap: 14px; align-items: flex-start; }
.hero-promise > span { color: #738d96; font-size: .57rem; letter-spacing: .15em; }
.hero-promise p { margin: 0; color: rgb(222 233 234 / .48); font-size: .68rem; line-height: 1.5; }
.hero-promise strong { color: #dce7e7; font-weight: 500; }
.hero-count { position: absolute; right: clamp(28px, 6vw, 95px); bottom: 44px; display: flex; align-items: flex-end; gap: 13px; color: rgb(219 232 233 / .36); }
.hero-count strong { font-family: var(--serif); font-size: 4.3rem; line-height: .75; font-weight: 400; }
.hero-count span { font-size: .56rem; letter-spacing: .15em; text-transform: uppercase; line-height: 1.5; }

.portfolio-haze { position: absolute; z-index: 1; right: -5vw; top: 13%; width: min(780px, 53vw); height: 72%; filter: drop-shadow(0 32px 50px rgb(0 0 0 / .3)); }
.haze { position: absolute; width: 54%; aspect-ratio: 1.5; border-radius: 28px; background-position: center; background-size: cover; box-shadow: inset 0 0 50px rgb(0 0 0 / .2); -webkit-mask-image: radial-gradient(ellipse 70% 68%, #000 52%, transparent 100%); mask-image: radial-gradient(ellipse 70% 68%, #000 52%, transparent 100%); }
.haze::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgb(4 12 17 / .58)); }
.haze.overbaro { right: 9%; top: 4%; background-image: url("img/portfolio/overbaro.jpg"); transform: rotate(4deg); }
.haze.overbark { right: 42%; top: 27%; background-image: url("img/portfolio/overbark.jpg"); transform: rotate(-7deg); }
.haze.overtiles { right: 1%; top: 43%; background-image: url("img/portfolio/overtiles.jpg"); transform: rotate(8deg); }
.haze.drivescape { right: 37%; top: 64%; background-image: url("img/portfolio/drivescape.jpg"); transform: rotate(-3deg); }
.haze.overplan { right: -8%; top: 71%; background-image: url("img/portfolio/overplan.jpg"); transform: rotate(5deg); }

.collection { position: relative; overflow: hidden; padding: clamp(105px, 12vw, 190px) 0 clamp(100px, 12vw, 180px); background: #0a141a; }
.collection::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0, rgb(103 151 159 / .07), transparent 33%); }
.collection-heading { position: relative; padding: 0 clamp(24px, 7vw, 112px) 62px; display: flex; justify-content: space-between; align-items: flex-end; }
.collection h2, .app-index h2, .principles h2, .privacy-promise h2, .studio h2 { font-size: clamp(3.4rem, 6vw, 7rem); line-height: .91; }
.carousel-controls { display: flex; align-items: center; gap: 14px; }
.carousel-button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgb(226 237 237 / .14); background: transparent; color: #d7e2e2; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.carousel-button:hover { background: rgb(255 255 255 / .07); transform: scale(1.04); }
.carousel-controls p { margin: 0 4px; min-width: 100px; display: flex; align-items: center; gap: 9px; color: #738b92; font-size: .59rem; letter-spacing: .14em; }
.carousel-controls i { width: 42px; height: 1px; background: #3e5158; }
.app-carousel { position: relative; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; scroll-padding-left: clamp(24px, 7vw, 112px); outline: 0; }
.app-carousel::-webkit-scrollbar { display: none; }
.app-track { display: flex; gap: clamp(18px, 2.2vw, 34px); padding: 0 clamp(24px, 15vw, 220px) 42px clamp(24px, 7vw, 112px); width: max-content; }
.app-card { width: min(1080px, 76vw); height: min(720px, 51vw); min-height: 540px; position: relative; overflow: hidden; border-radius: clamp(26px, 3vw, 46px); scroll-snap-align: start; background: #0c171d; box-shadow: 0 38px 90px rgb(0 0 0 / .28); }
.app-card > a { display: block; width: 100%; height: 100%; color: white; text-decoration: none; }
.card-art { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.app-card:hover .card-art { transform: scale(1.025); }
.card-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .14), transparent 40%, rgb(3 8 11 / .82) 100%), linear-gradient(90deg, rgb(3 8 11 / .38), transparent 48%); }
.overtiles-card .card-wash { background: linear-gradient(180deg, rgb(0 0 0 / .07), transparent 38%, rgb(20 17 15 / .83) 100%), linear-gradient(90deg, rgb(15 14 13 / .28), transparent 45%); }
.overplan-card .card-wash { background: linear-gradient(180deg, rgb(17 16 14 / .15), transparent 38%, rgb(22 20 17 / .86) 100%), linear-gradient(90deg, rgb(25 23 20 / .78), rgb(25 23 20 / .33) 47%, transparent 72%); }
.card-topline { position: absolute; top: 34px; left: 38px; right: 38px; display: flex; justify-content: space-between; color: rgb(255 255 255 / .65); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.card-promo { position: absolute; z-index: 2; top: clamp(88px, 8vw, 122px); left: clamp(28px, 4vw, 58px); width: min(520px, 49%); margin: 0; color: var(--card-promo, rgb(210 225 226 / .72)); font-family: var(--serif); font-size: clamp(1.05rem, 1.45vw, 1.7rem); line-height: 1.22; letter-spacing: -.022em; text-wrap: balance; text-shadow: 0 2px 18px rgb(0 0 0 / .28); }
.overbaro-card { --card-promo: rgb(157 205 205 / .76); }
.overbark-card { --card-promo: rgb(244 205 181 / .9); }
.overtiles-card { --card-promo: rgb(239 218 181 / .92); }
.drivescape-card { --card-promo: rgb(157 189 216 / .76); }
.overplan-card { --card-promo: rgb(239 229 212 / .9); }
.card-copy { position: absolute; left: clamp(28px, 4vw, 58px); bottom: clamp(28px, 4vw, 58px); display: flex; align-items: center; gap: clamp(18px, 2vw, 28px); }
.app-icon { width: clamp(70px, 7vw, 108px); aspect-ratio: 1; object-fit: cover; border-radius: 24%; box-shadow: 0 18px 45px rgb(0 0 0 / .37); }
.card-copy h3 { font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: .84; }
.card-copy p { margin: 12px 0 0; color: rgb(255 255 255 / .7); font-size: clamp(.75rem, 1vw, 1rem); }
.card-arrow { position: absolute; right: clamp(30px, 4vw, 58px); bottom: clamp(30px, 4vw, 58px); width: 55px; height: 55px; border: 1px solid rgb(255 255 255 / .3); border-radius: 50%; display: grid; place-items: center; font-size: 1.25rem; backdrop-filter: blur(12px); }
.swipe-note { margin: 8px clamp(24px, 7vw, 112px) 0; color: #60777e; font-size: .63rem; }

.app-index { padding: clamp(100px, 13vw, 200px) clamp(24px, 7vw, 112px); color: var(--ink); background: var(--paper); display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(55px, 9vw, 145px); align-items: start; }
.index-heading { position: sticky; top: 110px; }
.app-index .eyebrow { color: #54757e; }
.index-heading > p:last-child { max-width: 480px; color: #65777b; line-height: 1.75; }
.index-list { border-top: 1px solid rgb(16 29 36 / .16); }
.index-row { min-height: 102px; display: grid; grid-template-columns: 36px 58px 1.3fr .8fr .8fr 28px; gap: 17px; align-items: center; border-bottom: 1px solid rgb(16 29 36 / .13); color: var(--ink); text-decoration: none; transition: padding .25s ease, background .25s ease; }
.index-row:hover { padding-inline: 12px; background: rgb(255 255 255 / .42); }
.index-row img { width: 48px; border-radius: 23%; box-shadow: 0 7px 17px rgb(16 29 36 / .13); }
.index-number { color: #7e9297; font-size: .56rem; letter-spacing: .12em; }
.index-row strong { font-family: var(--serif); font-size: clamp(1.45rem, 2.2vw, 2.4rem); font-weight: 400; letter-spacing: -.035em; }
.index-row > span:not(.index-number), .index-row em { color: #718287; font-size: .68rem; font-style: normal; }
.index-row i { font-style: normal; color: #4d747c; }

.principles { min-height: 1000px; padding: clamp(110px, 14vw, 210px) clamp(24px, 7vw, 112px); background: linear-gradient(150deg, #0c1b22, #071017); }
.principles-intro { max-width: 900px; }
.principle-grid { margin-top: clamp(80px, 10vw, 150px); display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgb(197 217 220 / .12); }
.principle-grid article { min-height: 380px; padding: 36px clamp(20px, 3vw, 48px); border-left: 1px solid rgb(197 217 220 / .12); display: flex; flex-direction: column; justify-content: flex-end; }
.principle-grid article:first-child { border-left: 0; padding-left: 0; }
.principle-grid article > span { margin-bottom: auto; color: #6f8991; font-size: .57rem; letter-spacing: .15em; }
.principle-grid h3 { font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; }
.principle-grid p { color: rgb(211 226 228 / .54); line-height: 1.7; font-size: .86rem; max-width: 38ch; }

.privacy-promise { min-height: 930px; position: relative; overflow: hidden; padding: clamp(110px, 14vw, 210px) clamp(24px, 8vw, 130px); display: grid; grid-template-columns: .82fr 1.18fr; align-items: center; gap: clamp(60px, 9vw, 150px); color: var(--paper); background: radial-gradient(circle at 21% 50%, rgb(77 140 151 / .16), transparent 27%), #06131a; }
.privacy-promise::before { content: ""; position: absolute; width: 66vw; height: 66vw; left: -37vw; top: 50%; transform: translateY(-50%); border: 1px solid rgb(154 200 206 / .12); border-radius: 50%; }
.privacy-zero { position: relative; z-index: 2; width: min(430px, 34vw); aspect-ratio: 1; border: 1px solid rgb(154 200 206 / .18); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; box-shadow: inset 0 0 90px rgb(84 153 164 / .05), 0 0 100px rgb(50 119 130 / .06); }
.privacy-zero::before, .privacy-zero::after { content: ""; position: absolute; border-radius: 50%; }
.privacy-zero::before { inset: 17%; border: 1px solid rgb(154 200 206 / .12); }
.privacy-zero::after { width: 9px; height: 9px; top: 11%; background: #a9d3d5; box-shadow: 0 0 23px #78b4ba; }
.privacy-zero strong { position: relative; z-index: 2; font-family: var(--serif); font-size: clamp(7rem, 13vw, 13rem); line-height: .7; font-weight: 400; color: #d5e1e0; }
.privacy-zero span { position: relative; z-index: 2; margin-top: 27px; color: #78949b; font-size: .57rem; line-height: 1.55; letter-spacing: .16em; text-transform: uppercase; }
.privacy-copy { position: relative; z-index: 2; max-width: 760px; }
.privacy-copy > p:not(.eyebrow) { max-width: 620px; color: rgb(213 228 229 / .58); font-size: .96rem; line-height: 1.76; }
.privacy-copy ul { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.privacy-copy li { padding: 15px 0; border-top: 1px solid rgb(157 201 206 / .14); color: #b9cbcc; font-size: .73rem; }
.privacy-copy li span { display: inline-block; width: 42px; color: #637f86; font-size: .55rem; letter-spacing: .14em; }

.studio { min-height: 930px; position: relative; overflow: hidden; padding: clamp(100px, 13vw, 190px) clamp(24px, 9vw, 150px); background: linear-gradient(180deg, #d7dfdf, #eef0ec); color: var(--ink); display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; align-items: center; }
.studio::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 27% 52%, rgb(255 255 255 / .86), transparent 31%); }
.studio-copy { z-index: 2; grid-column: 2; max-width: 690px; }
.studio .eyebrow { color: #52747c; }
.studio-copy > p:not(.eyebrow) { max-width: 560px; color: #5f7479; line-height: 1.75; }
.button { display: inline-flex; margin-top: 23px; padding: 14px 22px; border-radius: 99px; color: white; background: var(--ink); text-decoration: none; font-size: .78rem; }
.studio-orbit { --orbit-turn: 0deg; z-index: 2; position: relative; width: min(500px, 38vw); aspect-ratio: 1; border: 1px solid rgb(31 70 78 / .15); border-radius: 50%; transform: rotate(var(--orbit-turn)); will-change: transform; }
.studio-orbit::before, .studio-orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgb(31 70 78 / .12); }
.studio-orbit::before { inset: 20%; }
.studio-orbit::after { inset: 42%; background: #d9e3e1; box-shadow: 0 0 70px rgb(45 101 110 / .12); }
.studio-orbit img { position: absolute; z-index: 2; width: 84px; border-radius: 23%; box-shadow: 0 16px 35px rgb(18 47 54 / .2); }
.studio-orbit img:nth-child(1) { left: 50%; top: -8%; transform: translateX(-50%) rotate(calc(var(--orbit-turn) * -1)); }
.studio-orbit img:nth-child(2) { right: -3%; top: 50%; transform: translateY(-50%) rotate(calc(var(--orbit-turn) * -1)); }
.studio-orbit img:nth-child(3) { left: 50%; bottom: -8%; transform: translateX(-50%) rotate(calc(var(--orbit-turn) * -1)); }
.studio-orbit img:nth-child(4) { left: -3%; top: 50%; transform: translateY(-50%) rotate(calc(var(--orbit-turn) * -1)); }
.studio-orbit img:nth-child(5) { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(calc(var(--orbit-turn) * -1)); }

footer { padding: 46px clamp(24px, 6vw, 92px); background: #050b0f; color: rgb(207 222 224 / .44); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 24px; font-size: .67rem; }
footer > p { margin: 0; }
footer nav { display: flex; gap: 25px; }
footer nav a { text-decoration: none; }
.copyright { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .08); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 950px) {
  .site-header nav { display: none; position: absolute; top: 72px; left: 18px; right: 18px; padding: 20px; flex-direction: column; align-items: stretch; border: 1px solid rgb(255 255 255 / .1); border-radius: 18px; background: rgb(5 13 18 / .96); backdrop-filter: blur(18px); }
  .site-header nav.open { display: flex; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; align-items: end; }
  .hero-copy { width: min(680px, 84vw); padding-bottom: 100px; }
  .portfolio-haze { opacity: .55; width: 78vw; right: -24vw; }
  .hero-count { display: none; }
  .collection-heading { align-items: flex-start; flex-direction: column; gap: 38px; }
  .app-card { width: 84vw; height: 62vw; min-height: 500px; }
  .app-index { grid-template-columns: 1fr; }
  .index-heading { position: static; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: 300px; border-left: 0; border-top: 1px solid rgb(197 217 220 / .12); padding-left: 0; }
  .privacy-promise { grid-template-columns: 1fr; }
  .privacy-zero { width: min(360px, 58vw); justify-self: center; }
  .studio { grid-template-columns: 1fr; justify-items: center; }
  .studio-copy { grid-column: 1; text-align: center; }
  .studio-copy > p:not(.eyebrow) { margin-inline: auto; }
  .studio-orbit { width: min(480px, 64vw); }
}

@media (max-width: 620px) {
  .site-header { height: 72px; }
  .hero { min-height: 760px; padding-inline: 24px; }
  .hero-copy { width: 100%; padding-bottom: 115px; }
  .hero h1 { font-size: clamp(4rem, 19vw, 5.8rem); }
  .portfolio-haze { top: 4%; right: -80%; width: 160vw; opacity: .35; }
  .hero-promise { left: 24px; bottom: 35px; }
  .collection-heading { padding-inline: 24px; }
  .carousel-controls { align-self: stretch; justify-content: space-between; }
  .app-track { padding-left: 24px; padding-right: 60px; }
  .app-card { width: 86vw; height: 128vw; min-height: 580px; max-height: 700px; }
  .card-art { object-position: 62% center; }
  .overtiles-card .card-art { object-position: 67% center; }
  .overplan-card .card-art { object-position: 63% center; }
  .card-topline { top: 25px; left: 25px; right: 25px; }
  .card-topline span:first-child { display: none; }
  .card-topline { justify-content: flex-end; }
  .card-promo { top: 74px; left: 25px; width: calc(100% - 70px); font-size: clamp(1.02rem, 4.6vw, 1.28rem); line-height: 1.22; }
  .card-copy { left: 25px; bottom: 30px; display: grid; }
  .app-icon { width: 72px; }
  .card-copy h3 { font-size: 3.2rem; }
  .card-arrow { right: 24px; bottom: 28px; }
  .swipe-note { margin-inline: 24px; }
  .app-index, .principles, .privacy-promise { padding-inline: 24px; }
  .index-row { grid-template-columns: 28px 46px 1fr 25px; min-height: 88px; }
  .index-row img { width: 42px; }
  .index-row > span:not(.index-number), .index-row em { display: none; }
  .index-row strong { font-size: 1.7rem; }
  .principles { min-height: auto; }
  .privacy-promise { min-height: 980px; }
  .privacy-zero { width: 72vw; }
  .privacy-copy ul { grid-template-columns: 1fr; }
  .studio { min-height: 850px; padding-inline: 24px; }
  .studio-orbit { width: 76vw; }
  .studio-orbit img { width: 62px; }
  footer { grid-template-columns: 1fr; }
  .copyright { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-art { transition: none; }
  .studio-orbit { --orbit-turn: 0deg !important; transform: none; will-change: auto; }
  .studio-orbit img { transform: none; }
  .studio-orbit img:nth-child(1), .studio-orbit img:nth-child(3) { transform: translateX(-50%); }
  .studio-orbit img:nth-child(2), .studio-orbit img:nth-child(4) { transform: translateY(-50%); }
  .studio-orbit img:nth-child(5) { transform: translate(-50%, -50%); }
}
