/* =========================================================
   Ansari Mohd Atif — Portfolio
   Bold editorial look: Klein blue + butter cream + tomato,
   extra-wide display type, grain + pattern texture, and a
   3D phone that tells the story as you scroll.
   ========================================================= */

/* Self-hosted fonts (variable, from Google Fonts, OFL). Same-origin files avoid the
   render-blocking fonts.googleapis.com request. archivo-latin.woff2 is preloaded in <head>. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url(/assets/fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/assets/fonts/jetbrains-mono-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --blue: #1f3fd8;
  --blue-d: #1733b8;
  --cream: #ffe9bd;
  --cream-2: #fff4de;
  --orange: #ff5b2e;
  --ink: #0b1030;
  --lime: #c8ff5e;
  --sky: #7fd6ff;
  --display: "Archivo", "Arial Black", sans-serif;
  --body: "Archivo", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(18px, 4vw, 56px);
  --pw: 270px;
  --ph: 560px;
  --pr: 46px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--blue); color: var(--cream);
  font-family: var(--body); font-stretch: 100%; font-weight: 500; font-size: 17px; line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* illustrated dev-glyph pattern, like wallpaper behind everything */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url("../assets/pattern.svg") 0 0 / 420px 420px repeat; opacity: .22;
}
/* the pattern lights up around the cursor */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle 320px at var(--mx, -999px) var(--my, -999px), rgba(127,214,255,.18), transparent 70%),
              url("../assets/pattern-light.svg") 0 0 / 420px 420px repeat;
  -webkit-mask-image: radial-gradient(circle 260px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0,0,0,.4) 45%, transparent 75%);
  mask-image: radial-gradient(circle 260px at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0,0,0,.4) 45%, transparent 75%);
}
.grain {
  position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); } }

a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--orange); color: var(--cream-2); }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 400; background: var(--cream); color: var(--ink); padding: 8px 14px; border-radius: 99px; }
.skip-link:focus { left: 8px; }
.wrap { width: 100%; padding: 0 var(--pad); }
.wrap.narrow { max-width: 1000px; margin: 0 auto; }

.small-caps { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; line-height: 1.35; }
.kicker { opacity: .7; margin-bottom: 18px; }
.giant {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: clamp(44px, 8.2vw, 150px); line-height: .88; letter-spacing: -0.01em;
}
.dots { height: 3px; background: radial-gradient(circle, var(--cream) 1.3px, transparent 1.6px) 0 50% / 11px 3px repeat-x; opacity: .9; }
.split .ch { display: inline-block; will-change: transform; }
.split .sp { display: inline-block; width: .28em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--cream); color: var(--ink);
  font-family: var(--display); font-stretch: 75%; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; line-height: 1;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.chip:hover { transform: translateY(-2px) rotate(-2deg); background: var(--cream-2); }
.chip-hot { background: var(--orange); color: var(--ink); }
.chip-hot:hover { background: #ff7a55; }
.chip-big { padding: 18px 28px; font-size: 16px; }
.chip.full { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 14px var(--pad) 0; pointer-events: none; transition: transform .5s var(--ease); }
.nav.hide { transform: translateY(-110%); }
.nav > * { pointer-events: auto; }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-bottom: 12px; }
.nav-group { display: flex; gap: 6px; }
.nav-group.right { justify-content: flex-end; }
.nav .dots { pointer-events: none; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-badge { width: 56px; height: 56px; display: block; }
.brand-badge svg { width: 100%; height: 100%; overflow: visible; }
.brand-word { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: -0.01em; }
.brand-word i, .wordmark i { font-style: normal; color: var(--orange); }
.brand:hover .brand-word { color: var(--cream-2); }
.emblem-ring { fill: var(--cream); font-family: var(--display); font-stretch: 100%; font-size: 10.6px; font-weight: 800; letter-spacing: 1.2px; transform-origin: 60px 60px; transform-box: view-box; animation: spin 18s linear infinite; }
.emblem-a { fill: var(--cream); }
.show-m { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 900px) {
  .hide-m { display: none; }
  .show-m { display: inline-flex; }
  .brand-badge { width: 42px; height: 42px; }
  .brand-word { font-size: 24px; }
  .brand { gap: 6px; }
}

.menu { position: fixed; inset: 0; z-index: 250; background: var(--blue); display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 11vw, 90px); line-height: 1; text-decoration: none; padding: 6px 0; border-bottom: 3px dotted rgba(255,233,189,.4); }
.menu nav a:hover { color: var(--orange); }
.menu-close { position: absolute; top: 18px; right: var(--pad); }

/* =========================================================
   3D PHONE
   Body = stacked rounded layers (added by JS) for real depth.
   ========================================================= */
.phone-layer { position: fixed; inset: 0; z-index: 5; pointer-events: none; display: grid; place-items: center; }
.phone-pos, .phone-intro { will-change: transform; position: relative; }
.phone-bob { perspective: 1800px; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }
.phone3d { position: relative; width: var(--pw); height: var(--ph); transform-style: preserve-3d; }
.phone3d .ly { position: absolute; inset: 0; border-radius: var(--pr); background: linear-gradient(160deg, #4a5068, #1c1f2e 45%, #2c3044); }
.face { position: absolute; inset: 0; border-radius: var(--pr); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front { transform: translateZ(11px); background: #07080d; padding: 10px; box-shadow: inset 0 0 0 2px #50577a; }
.back {
  transform: rotateY(180deg) translateZ(11px);
  background: radial-gradient(circle at 30% 18%, #ff8a63, var(--orange) 45%, #e0441a);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.18), inset 0 -30px 60px rgba(0,0,0,.18);
  display: grid; place-items: center;
}
.cam { position: absolute; top: 22px; left: 22px; width: 118px; height: 118px; border-radius: 32px; background: rgba(20,10,5,.22); box-shadow: inset 0 0 0 2px rgba(255,255,255,.15); }
.cam i { position: absolute; width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #3a4a9c, #0a0c18 55%); box-shadow: 0 0 0 5px #1a1c28, 0 0 0 7px rgba(255,255,255,.12); }
.cam i:nth-child(1) { top: 12px; left: 12px; }
.cam i:nth-child(2) { bottom: 12px; left: 12px; }
.cam i:nth-child(3) { top: 37px; right: 12px; }
.cam b { position: absolute; right: 22px; top: 14px; width: 12px; height: 12px; border-radius: 50%; background: #ffe6a8; }
.back-mark { width: 150px; margin-top: 60px; }
.back-mark svg { overflow: visible; }
.back-mark .emblem-ring { fill: var(--cream-2); font-size: 10px; }
.back-mark .emblem-a { fill: var(--cream-2); }
.phone-shadow { position: absolute; left: 50%; bottom: -46px; width: 240px; height: 34px; margin-left: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(5,10,40,.55), transparent); filter: blur(4px); }

/* exploded plates */
.plate {
  position: absolute; inset: 0; border-radius: var(--pr); opacity: 0;
  background: var(--c); color: var(--t); border: 2px solid rgba(0,0,0,.15);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.08);
}
.plate b { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 30px; line-height: .92; }
.plate small { font-size: 13px; font-weight: 700; margin-top: 8px; text-transform: uppercase; opacity: .8; }

/* screen */
.screen { position: relative; height: 100%; border-radius: calc(var(--pr) - 9px); overflow: hidden; background: var(--cream-2); color: var(--ink); }
.screen.is-dark { background: #0f1433; }
.island { position: absolute; z-index: 3; top: 11px; left: 50%; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #000; }
.sbar { position: absolute; z-index: 2; top: 15px; left: 0; right: 0; display: flex; justify-content: space-between; padding: 0 26px; font-size: 12px; font-weight: 800; letter-spacing: 0; }
.sbar span { font-size: 8px; letter-spacing: 1px; }
.screen.is-dark .sbar { color: var(--cream-2); }
.scr { position: absolute; inset: 0; padding: 54px 18px 18px; display: flex; flex-direction: column; gap: 11px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.scr.is-on { opacity: 1; transform: none; }
.scr.dark { color: var(--cream-2); }
.s-small { font-size: 12px; font-weight: 700; opacity: .6; text-transform: uppercase; }
.s-big { font-family: var(--display); font-stretch: 112%; font-weight: 900; font-size: 30px; line-height: .95; text-transform: uppercase; }
.s-hero { position: relative; padding: 16px; border-radius: 20px; color: var(--cream-2); background: linear-gradient(135deg, var(--orange), #ff9a3c); }
.s-hero span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .08em; opacity: .85; }
.s-hero b { display: block; font-family: var(--display); font-stretch: 110%; font-weight: 900; font-size: 20px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.s-hero em { position: absolute; top: 14px; right: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-2); color: var(--orange); font-style: normal; font-weight: 900; display: grid; place-items: center; }
.s-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.s-tiles div { height: 118px; border-radius: 14px; background: #fff; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 4px 12px rgba(11,16,48,.06); }
.s-tiles small { font-size: 9px; font-weight: 800; text-transform: uppercase; opacity: .6; }
.s-tiles i { margin-top: auto; height: var(--h); border-radius: 6px; background: linear-gradient(var(--blue), #6c85ff); animation: bar 2.4s ease-in-out infinite alternate; transform-origin: bottom; }
.s-tiles div:nth-child(2) i { animation-delay: .4s; background: linear-gradient(var(--orange), #ffa06f); }
.s-tiles div:nth-child(3) i { animation-delay: .8s; }
@keyframes bar { to { transform: scaleY(.7); } }
.s-nav { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-radius: 18px; background: #fff; }
.s-nav i { width: 18px; height: 18px; border-radius: 6px; background: #d8dcf0; }
.s-nav i:first-child { background: var(--blue); }

.s-file { align-self: flex-start; font-family: var(--mono); font-size: 11px; padding: 6px 10px; border-radius: 8px; background: #1c2360; }
.s-code, .s-term { margin: 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.6; color: #cfd6ff; white-space: pre; }
.s-code b { color: #ff8a65; font-weight: 600; }
.s-code i { color: var(--sky); font-style: normal; }
.s-code u { color: var(--lime); text-decoration: none; }
.s-code em { color: #8a93c7; font-style: normal; }
.s-run { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--lime); color: var(--ink); text-align: center; font-family: var(--mono); font-weight: 600; font-size: 13px; }
.s-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 11.5px; }
.s-log li { display: flex; gap: 8px; padding: 9px 10px; border-radius: 10px; background: #182057; }
.s-log b { color: var(--sky); font-weight: 600; width: 36px; }
.s-log em { margin-left: auto; color: var(--lime); font-style: normal; }
.is-on .s-log li { animation: logIn .5s var(--ease) both; }
.is-on .s-log li:nth-child(2) { animation-delay: .1s; } .is-on .s-log li:nth-child(3) { animation-delay: .2s; }
.is-on .s-log li:nth-child(4) { animation-delay: .3s; } .is-on .s-log li:nth-child(5) { animation-delay: .4s; } .is-on .s-log li:nth-child(6) { animation-delay: .5s; }
@keyframes logIn { from { opacity: 0; transform: translateX(-14px); } }
.s-db { margin-top: auto; display: flex; gap: 8px; }
.s-db span { flex: 1; text-align: center; padding: 12px 6px; border-radius: 12px; background: var(--blue); font-weight: 800; font-size: 12px; text-transform: uppercase; }
.s-db span:last-child { background: var(--orange); color: var(--ink); }
.s-amount { font-family: var(--display); font-stretch: 110%; font-weight: 900; font-size: 46px; line-height: 1; }
.s-card { height: 128px; border-radius: 18px; padding: 16px; display: flex; justify-content: space-between; align-items: flex-end; color: var(--cream-2); background: linear-gradient(135deg, var(--blue), var(--ink)); font-family: var(--mono); font-size: 13px; }
.s-card b { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 20px; }
.s-ok { margin-top: auto; padding: 18px 12px; border-radius: 18px; background: #e3f8e9; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.s-ok em { width: 46px; height: 46px; border-radius: 50%; background: #1fb45a; color: #fff; font-style: normal; font-weight: 900; font-size: 24px; display: grid; place-items: center; }
.is-on .s-ok em { animation: popIn .6s .4s var(--ease) both; }
.s-ok b { font-size: 15px; }
.s-ok small { font-size: 11px; opacity: .6; font-weight: 700; }
@keyframes popIn { from { transform: scale(0); } }
.s-term em { color: var(--lime); font-style: normal; }
.s-term b { color: var(--orange); }
.s-app { display: flex; gap: 12px; align-items: center; margin-top: 6px; }
.s-app > i { width: 70px; height: 70px; border-radius: 18px; flex: none; display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 34px; font-style: normal; color: var(--cream-2); background: linear-gradient(135deg, var(--orange), var(--blue)); }
.s-app b { display: block; font-size: 18px; }
.s-app small { display: block; font-size: 12px; opacity: .6; }
.s-app span { font-size: 12px; color: var(--orange); letter-spacing: 1px; }
.s-install { padding: 12px; border-radius: 999px; text-align: center; font-weight: 800; background: var(--blue); color: var(--cream-2); }
.s-shots { display: flex; gap: 8px; }
.s-shots i { flex: 1; height: 150px; border-radius: 14px; background: linear-gradient(160deg, var(--cream), var(--orange)); }
.s-shots i:nth-child(2) { background: linear-gradient(160deg, var(--sky), var(--blue)); }
.s-shots i:nth-child(3) { background: linear-gradient(160deg, var(--lime), #2bb673); }
.s-badges { margin-top: auto; display: flex; gap: 6px; }
.s-badges span { flex: 1; padding: 9px 4px; border-radius: 10px; background: var(--ink); color: var(--cream-2); text-align: center; font-size: 11px; font-weight: 800; }
.s-tests { list-style: none; margin: 0; padding: 14px; border-radius: 18px; background: #fff; display: flex; flex-direction: column; gap: 10px; font-weight: 700; font-size: 14px; }
.s-tests li { display: flex; align-items: center; gap: 10px; }
.s-tests li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; background: #1fb45a; color: #fff; font-size: 12px; display: grid; place-items: center; }
.is-on .s-tests li { animation: logIn .5s var(--ease) both; }
.is-on .s-tests li:nth-child(2) { animation-delay: .15s; } .is-on .s-tests li:nth-child(3) { animation-delay: .3s; } .is-on .s-tests li:nth-child(4) { animation-delay: .45s; }
.s-chat { margin-top: auto; display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; }
.s-chat p { padding: 10px 13px; border-radius: 16px; max-width: 85%; }
.s-chat .q { align-self: flex-end; background: var(--blue); color: var(--cream-2); border-bottom-right-radius: 4px; }
.s-chat .a { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }

/* =========================================================
   JOURNEY SECTIONS
   ========================================================= */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 600px; padding: 110px var(--pad) 0; display: flex; flex-direction: column; align-items: center; overflow: hidden; }
.hero-h1 { width: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-kicker { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 14px 0 10px; }
.hero-giant { display: block; width: 100%; overflow: hidden; white-space: nowrap; font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .9; font-size: 11vw; padding-top: .04em; }
.hero .dots { width: 100vw; margin: 6px 0 14px; }
.hero-sub { font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4.4vw, 64px); line-height: 1; overflow: hidden; text-align: center; }
.hero-foot { position: absolute; left: var(--pad); bottom: 34px; max-width: 290px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.scroll-cue { position: absolute; right: calc(var(--pad) + 130px); bottom: 50px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 50% { transform: translateY(6px); opacity: .5; } }

.angle { position: relative; height: 230vh; }
.angle-block { height: 115vh; display: flex; flex-direction: column; justify-content: center; padding: 0 var(--pad); max-width: 62vw; }
.angle-block.right { margin-left: auto; }
.angle-copy { max-width: 340px; margin-top: 26px; }

.explode { position: relative; height: 340vh; }
.explode-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 104px var(--pad) 34px; display: flex; flex-direction: column; overflow: hidden; }
.pattern-text {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; line-height: .86; white-space: nowrap; text-align: center;
  background: url("../assets/circuit.svg") 0 0 / 130px 130px repeat; -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: 11vw; padding-top: .04em;
}
.js:not(.no-motion) .pattern-text { background: none; }
.js:not(.no-motion) .pattern-text .ch {
  background: url("../assets/circuit.svg") 0 0 / 130px 130px repeat; -webkit-background-clip: text; background-clip: text; color: transparent;
}
.layers { list-style: none; margin: auto 0 0; padding: 0; width: min(360px, 30vw); display: flex; flex-direction: column; }
.layers li { padding: 12px 0; border-bottom: 3px dotted rgba(255,233,189,.35); font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: 20px; line-height: 1.05; opacity: .35; transition: opacity .4s, transform .5s var(--ease); }
.layers li.is-on { opacity: 1; transform: translateX(8px); }
.layers b { font-size: 12px; margin-right: 8px; color: var(--orange); }
.layers span { display: block; font-family: var(--body); font-stretch: 100%; font-size: 12px; font-weight: 700; opacity: .75; margin-top: 4px; }
.explode-note { position: absolute; right: var(--pad); bottom: 110px; max-width: 250px; text-align: right; }

.process { position: relative; height: 720vh; }
.process-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.bigword {
  position: absolute; left: 50%; top: 54%; white-space: nowrap; pointer-events: none;
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 24vw; line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(255,233,189,.18);
}
.process-copy { position: absolute; left: var(--pad); top: 50%; transform: translateY(-50%); width: min(460px, 40vw); z-index: 2; }
.process-label { margin-bottom: 22px; opacity: .8; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; height: 330px; }
.steps > li { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); pointer-events: none; }
.steps > li.is-on { opacity: 1; transform: none; pointer-events: auto; }
.steps h3 { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 4.4vw, 66px); line-height: .9; margin-bottom: 18px; }
.steps p { font-size: 18px; max-width: 400px; opacity: .92; }
.tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 7px 12px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.tags.dark li { background: var(--blue); color: var(--cream-2); }
.step-dots { display: flex; gap: 8px; margin-top: 10px; }
.step-dots i { width: 30px; height: 5px; border-radius: 5px; background: var(--cream); opacity: .25; transition: opacity .3s, background .3s, width .4s var(--ease); }
.step-dots i.is-on { opacity: 1; background: var(--orange); width: 54px; }

/* ---------- Generic sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 160px) 0; }

/* Services */
.svc-list { list-style: none; margin: 60px 0 0; padding: 0; border-top: 3px dotted rgba(255,233,189,.5); }
.svc { border-bottom: 3px dotted rgba(255,233,189,.5); }
.svc-row {
  position: relative; width: 100%; display: grid; grid-template-columns: 80px 1fr auto 44px; align-items: center; gap: 20px;
  padding: 26px var(--pad); background: none; border: 0; text-align: left; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color .35s;
}
.svc-row::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
.svc-row:hover, .svc-row[aria-expanded="true"] { color: var(--blue); }
.svc-row:hover::before, .svc-row[aria-expanded="true"]::before { transform: scaleY(1); }
.svc-num { font-size: 13px; font-weight: 800; }
.svc-name { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(26px, 4.6vw, 76px); line-height: .92; transition: transform .5s var(--ease); }
.svc-row:hover .svc-name { transform: translateX(14px); }
.svc-tech { font-size: 13px; font-weight: 700; text-transform: uppercase; text-align: right; max-width: 280px; }
.svc-plus { width: 44px; height: 44px; border-radius: 50%; border: 2px solid currentColor; display: grid; place-items: center; font-size: 26px; font-weight: 400; transition: transform .4s var(--ease); }
.svc-row[aria-expanded="true"] .svc-plus { transform: rotate(45deg); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); background: var(--cream); color: var(--ink); }
.svc-body > p { overflow: hidden; padding: 0 var(--pad) 0 calc(var(--pad) + 100px); max-width: 1000px; font-size: 18px; }
.svc.open .svc-body { grid-template-rows: 1fr; }
.svc.open .svc-body > p { padding-bottom: 30px; }
@media (max-width: 760px) {
  .svc-row { grid-template-columns: 34px 1fr 38px; gap: 12px; padding: 22px var(--pad); }
  .svc-tech { display: none; }
  .svc-plus { width: 36px; height: 36px; font-size: 22px; }
  .svc-body > p { padding-left: var(--pad); font-size: 16px; }
}

/* Work (horizontal) */
.work { position: relative; }
.work-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 40px; overflow: hidden; padding-top: 80px; }
.work-track { display: flex; gap: 44px; padding: 20px var(--pad) 30px; width: max-content; will-change: transform; }
.card {
  width: 420px; flex: none; border-radius: 30px; overflow: hidden; background: var(--cream-2); color: var(--ink);
  transform: rotate(var(--r)); transition: transform .6s var(--ease); box-shadow: 0 30px 60px -30px rgba(5,10,50,.7);
  text-decoration: none; display: flex; flex-direction: column;
}
.card:hover { transform: rotate(0deg) translateY(-8px); }
.card-art { position: relative; height: 270px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); }
.card-art::before { content: ""; position: absolute; inset: 0; background: url("../assets/pattern.svg") 0 0 / 300px repeat; opacity: .35; mix-blend-mode: multiply; }
.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; gap: 10px; }
.card-body .small-caps { opacity: .6; }
.card h3 { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 34px; line-height: .92; }
.card-body > p:not(.small-caps) { font-size: 15.5px; color: #2a2f4f; }
.card .tags { margin-top: 6px; }
.sticker { position: absolute; top: 16px; right: 16px; width: 92px; height: 92px; border-radius: 50%; background: var(--ink); padding: 4px; overflow: visible; animation: spin 12s linear infinite; }
.sticker text { fill: var(--cream); font-family: var(--display); font-weight: 800; font-size: 11.5px; letter-spacing: 2.2px; }
.mini { position: relative; width: 124px; height: 234px; border-radius: 24px; border: 7px solid var(--ink); background: var(--cream-2); padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 7px; transform: rotate(-8deg); transition: transform .6s var(--ease); box-shadow: 0 24px 40px -16px rgba(0,0,0,.5); }
.card:hover .mini { transform: rotate(0) scale(1.06); }
.mini > i { position: absolute; top: 5px; left: 50%; width: 36px; height: 10px; margin-left: -18px; border-radius: 6px; background: var(--ink); }
.mini > b { width: 55%; height: 7px; border-radius: 4px; background: var(--ink); opacity: .75; }
.m-hero { height: 58px; border-radius: 12px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 30px; font-weight: 900; display: grid; place-items: center; }
.m-row { height: 18px; border-radius: 6px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.06); }
.m-btn { margin-top: auto; height: 22px; border-radius: 11px; background: var(--c1); }
.m-grid { height: 52px; border-radius: 10px; background: linear-gradient(90deg, color-mix(in srgb, var(--c1) 28%, white) 0 48%, transparent 48% 52%, #fff 52%); }
.m-chart { height: 56px; border-radius: 10px; background: #fff; position: relative; overflow: hidden; }
.m-chart::after { content: ""; position: absolute; inset: 14px 8px 6px; background: repeating-linear-gradient(90deg, var(--c1) 0 9px, transparent 9px 14px); -webkit-mask: linear-gradient(to top, #000 60%, transparent 60%); clip-path: polygon(0 60%, 20% 40%, 40% 55%, 60% 20%, 80% 35%, 100% 0, 100% 100%, 0 100%); }
.arcade .mini { background: #150d2c; }
.m-bricks { height: 70px; background: repeating-linear-gradient(90deg, transparent 0 3px, var(--c1) 3px 22px), var(--c2); -webkit-mask: repeating-linear-gradient(0deg, #000 0 12px, transparent 12px 16px); border-radius: 3px; }
.m-ball { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: ball 2.6s linear infinite; }
.m-paddle { position: absolute; bottom: 12px; height: 8px; width: 40px; border-radius: 6px; background: #fff; animation: paddle 2.6s ease-in-out infinite; }
@keyframes ball { 0% { left: 20%; top: 80%; } 25% { left: 75%; top: 55%; } 50% { left: 50%; top: 45%; } 75% { left: 12%; top: 62%; } 100% { left: 20%; top: 80%; } }
@keyframes paddle { 0%, 100% { left: 12%; } 50% { left: 55%; } }
.card-cta { width: 380px; background: var(--orange); color: var(--ink); padding: 40px 34px; justify-content: space-between; gap: 30px; }
.cta-big { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 54px; line-height: .88; }
.card-cta .chip { align-self: flex-start; background: var(--ink); color: var(--cream); }
@media (max-width: 900px) {
  .work-pin { height: auto; padding-top: 0; gap: 20px; }
  .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 22px; padding: 30px var(--pad) 50px; }
  .work-track::-webkit-scrollbar { display: none; }
  .card { width: 300px; scroll-snap-align: center; }
  .card h3 { font-size: 24px; font-stretch: 100%; }
  .card-art { height: 230px; }
  .card-cta { width: 280px; }
  .cta-big { font-size: 40px; }
}

/* Numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 3px dotted rgba(255,233,189,.5); margin-top: 40px; }
.num { padding: 44px var(--pad) 40px; display: flex; flex-direction: column; gap: 10px; }
.num + .num { border-left: 3px dotted rgba(255,233,189,.5); }
.num b { font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: clamp(64px, 9vw, 150px); line-height: .85; }
.num:nth-child(2) b { color: var(--orange); }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr 1fr; } .num:nth-child(3) { border-left: 0; } .num:nth-child(n+3) { border-top: 3px dotted rgba(255,233,189,.5); } }

/* Skills marquee */
.skills { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.marquee { overflow: hidden; margin-top: 30px; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-track span { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(44px, 8vw, 130px); line-height: 1.05; white-space: nowrap; }
.marquee.outline span { color: transparent; -webkit-text-stroke: 2px var(--cream); }
.marquee.hot { background: var(--orange); color: var(--ink); transform: rotate(-2deg); margin: 40px -2vw 0; padding: 10px 0; }
.marquee.hot span { font-size: clamp(28px, 4.4vw, 64px); }
.skill-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 80px; }
.skill-cols h3 { opacity: .65; margin-bottom: 8px; }
.skill-cols p { font-size: 18px; font-weight: 600; }
@media (max-width: 760px) { .skill-cols { grid-template-columns: 1fr 1fr; gap: 26px 20px; } .skill-cols p { font-size: 15px; } }

/* Why */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 60px; border-top: 3px dotted rgba(255,233,189,.5); }
.why-item { padding: 30px 24px 10px 0; }
.why-item + .why-item { padding-left: 24px; border-left: 3px dotted rgba(255,233,189,.5); }
.why-num { display: block; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 72px; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--cream); margin-bottom: 20px; }
.why-item h3 { font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: 22px; line-height: 1; margin-bottom: 10px; }
.why-item p { opacity: .9; font-size: 16px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } .why-item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } .why-item + .why-item { border-left: 0; padding-left: 0; border-top: 3px dotted rgba(255,233,189,.5); } }

/* FAQ */
.faq details { border-bottom: 3px dotted rgba(255,233,189,.5); }
.faq details:first-of-type { margin-top: 50px; border-top: 3px dotted rgba(255,233,189,.5); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 26px 60px 26px 0; font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: clamp(19px, 2.4vw, 30px); line-height: 1.05; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; background: var(--cream); color: var(--blue); display: grid; place-items: center; font-size: 26px; transition: transform .4s var(--ease), background .3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--orange); color: var(--ink); }
.faq details p { padding: 0 60px 28px 0; font-size: 18px; max-width: 800px; }

/* Contact */
.contact .pattern-text { font-size: 16vw; }
.contact .dots { margin: 10px 0 40px; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.contact-grid > * { min-width: 0; }
main, .footer { overflow-x: clip; }
.contact-lead { font-size: clamp(18px, 1.8vw, 22px); max-width: 560px; }
.contact-mail { display: inline-block; margin: 22px 0 30px; font-family: var(--display); font-stretch: 110%; font-weight: 900; font-size: clamp(22px, 3vw, 40px); text-decoration: none; border-bottom: 4px solid var(--orange); line-height: 1.1; word-break: break-all; }
.contact-mail:hover { color: var(--orange); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px; border-radius: 30px; background: var(--cream-2); color: var(--ink); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full, .form .chip, .form-note { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; text-transform: uppercase; opacity: .65; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 14px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31,63,216,.2); }
.field .invalid { border-color: #d0021b; }
.form-note { font-size: 14px; font-weight: 600; min-height: 1.3em; }
.call-wrap { display: grid; place-items: center; min-height: 640px; }
.call-phone { perspective: 1600px; animation: ring 4s ease-in-out infinite; }
.phone3d.static { animation: sway 9s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotateY(-22deg) rotateX(6deg); } 50% { transform: rotateY(18deg) rotateX(-4deg); } }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 72% { transform: rotate(-4deg); } 74% { transform: rotate(4deg); } 76% { transform: rotate(-4deg); } 78% { transform: rotate(4deg); } 80% { transform: rotate(0); } }
.screen.call { background: linear-gradient(170deg, var(--blue), var(--ink)); color: var(--cream-2); display: flex; flex-direction: column; align-items: center; text-align: center; padding: 70px 20px 30px; }
.call-label { font-size: 12px; font-weight: 700; text-transform: uppercase; opacity: .7; letter-spacing: .06em; }
.call-name { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: 36px; line-height: .9; margin: 10px 0 6px; }
.call-sub { font-size: 14px; opacity: .75; }
.call-avatar { position: relative; width: 110px; height: 110px; margin: 36px 0; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 50px; }
.call-avatar::before, .call-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--cream); animation: ripple 2s ease-out infinite; }
.call-avatar::after { animation-delay: 1s; }
@keyframes ripple { to { transform: scale(1.7); opacity: 0; } }
.call-btns { margin-top: auto; width: 100%; display: flex; justify-content: space-around; }
.call-btns > * { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; text-decoration: none; color: #fff; }
.call-no { background: #ff3b30; }
.call-yes { background: #30d158; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(48,209,88,.25); } }
.call-hint { font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: .6; margin-top: 14px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .call-wrap { min-height: 560px; order: -1; }
  .call-wrap .phone3d { --pw: 230px; --ph: 476px; --pr: 40px; }
}
@media (max-width: 520px) { .form { grid-template-columns: 1fr; padding: 22px; } }

/* Footer */
.footer { padding: 30px 0 30px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 30px; padding: 44px 0; }
.foot-cols h3 { opacity: .6; margin-bottom: 12px; }
.foot-cols a { display: block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 4px 0; }
.foot-cols a:hover { color: var(--orange); }
.foot-seo { font-size: 14px; opacity: .75; }
.wordmark { font-family: var(--display); font-stretch: 125%; font-weight: 900; line-height: .8; white-space: nowrap; text-align: center; font-size: 17vw; margin: 10px 0 26px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 70px; }
.foot-bottom a { text-decoration: none; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-seo { grid-column: 1 / -1; } }

.fabs { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; gap: 8px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); text-decoration: none; font-size: 22px; font-weight: 800; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); transition: transform .35s var(--ease), background .2s; }
.fab:hover { transform: translateY(-3px) rotate(-8deg); background: var(--orange); }

/* ---------- Mobile journey layout ---------- */
@media (max-width: 760px) {
  :root { --pw: 250px; --ph: 518px; --pr: 42px; }
  .hero { padding-top: 96px; }
  .hero-foot { position: static; margin-top: 22px; align-items: center; text-align: center; max-width: 330px; }
  .scroll-cue { display: none; }
  .angle-block { max-width: none; justify-content: flex-start; padding-top: 16vh; }
  .angle-block.right { justify-content: flex-end; padding-bottom: 12vh; }
  .explode-sticky { padding-top: 92px; }
  .layers { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .layers li { font-size: 14px; padding: 8px 0; }
  .layers li:last-child { grid-column: 1 / -1; }
  .layers span { font-size: 10px; }
  .explode-note { display: none; }
  .bigword { top: 28%; font-size: 30vw; }
  .process-copy { left: var(--pad); right: var(--pad); top: auto; bottom: 26px; transform: none; width: auto; }
  .process-label { margin-bottom: 12px; }
  .steps { height: 200px; }
  .steps h3 { font-size: 30px; margin-bottom: 10px; }
  .steps p { font-size: 15px; }
  .tags { margin-top: 10px; }
  .fab { width: 48px; height: 48px; font-size: 19px; }
}

/* ---------- No-motion fallback (reduced motion / scripts blocked) ---------- */
.no-motion .phone-layer { display: none; }
.no-motion .angle, .no-motion .explode, .no-motion .process { height: auto; }
.no-motion .angle-block { height: auto; padding-top: 80px; padding-bottom: 80px; }
.no-motion .explode-sticky, .no-motion .process-sticky { position: relative; height: auto; }
.no-motion .layers li { opacity: 1; }
.no-motion .bigword, .no-motion .step-dots, .no-motion .explode-note { display: none; }
.no-motion .process-copy { position: relative; transform: none; left: 0; top: 0; width: auto; padding: 80px var(--pad); }
.no-motion .steps { height: auto; display: grid; gap: 40px; }
.no-motion .steps > li { position: static; opacity: 1; transform: none; }
.no-motion .grain { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}


/* =========================================================
   v5 — cleaner client-facing sections + interactive phone
   ========================================================= */
.hero-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-sub { width: 100%; white-space: nowrap; }
.hero-giant { letter-spacing: .02em; }

/* interactive phone */
.phone-tilt { transform-style: preserve-3d; pointer-events: auto; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; }
.phone-tilt:active { cursor: grabbing; }
.glare { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 18%), rgba(255,255,255,.45), transparent 42%); mix-blend-mode: soft-light; }
.phone-hint {
  position: absolute; left: calc(100% + 18px); top: 70px; white-space: nowrap; pointer-events: none;
  padding: 10px 15px; border-radius: 999px; background: var(--cream); color: var(--ink);
  font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em;
  transform: rotate(4deg); box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); transition: opacity .4s;
  animation: hint 2.4s var(--ease) infinite;
}
.phone-hint span { display: inline-block; margin-right: 4px; }
@keyframes hint { 50% { transform: rotate(4deg) translateX(8px); } }
.touched .phone-hint { opacity: 0; }
@media (max-width: 760px) { .phone-hint { left: 50%; top: -58px; transform: translateX(-50%); animation: none; font-size: 13px; } }

/* cream "paper" panels for reading-heavy sections */
.paper { position: relative; z-index: 2; margin: 0 clamp(8px, 1.2vw, 18px); padding: clamp(80px, 9vw, 130px) 0; border-radius: clamp(28px, 3vw, 48px); background: var(--cream-2); color: var(--ink); }
.paper + .paper { margin-top: clamp(8px, 1.2vw, 18px); }
.paper .giant { color: var(--blue); }
.paper .kicker { color: var(--ink); opacity: .55; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px 60px; flex-wrap: wrap; }
.head-row .giant { font-size: clamp(40px, 6.4vw, 110px); }
.head-note { max-width: 340px; font-size: 17px; opacity: .8; }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.svc-card {
  position: relative; padding: 28px 26px 26px; border-radius: 26px; background: #fff; border: 2px solid rgba(11,16,48,.07);
  transition: background .35s, color .35s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { background: var(--blue); color: var(--cream-2); transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 30px 50px -28px rgba(31,63,216,.7); }
.svc-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--cream); transition: background .35s, transform .5s var(--ease); }
.svc-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s; }
.svc-card:hover .svc-icon { background: var(--orange); transform: rotate(-8deg) scale(1.06); }
.svc-card:hover .svc-icon svg { stroke: var(--ink); }
.svc-card h3 { font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: 21px; line-height: 1; margin: 22px 0 10px; }
.svc-card p { font-size: 15.5px; opacity: .85; }
.mini-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.mini-tags li { padding: 5px 10px; border-radius: 99px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; background: rgba(31,63,216,.08); color: var(--blue); transition: background .35s, color .35s; }
.svc-card:hover .mini-tags li { background: rgba(255,255,255,.14); color: var(--cream-2); }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* gigs */
.gig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.gig { display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; border: 2px solid rgba(11,16,48,.07); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gig:hover { transform: translateY(-8px); box-shadow: 0 34px 60px -30px rgba(11,16,48,.45); }
.gig-thumb { position: relative; height: 180px; padding: 20px 22px; overflow: hidden; color: var(--cream-2); background: linear-gradient(135deg, var(--g1), var(--g2)); }
.gig-thumb::before { content: ""; position: absolute; inset: 0; background: url("../assets/pattern-light.svg") 0 0 / 260px repeat; opacity: .25; }
.gig-cat { position: relative; display: inline-block; padding: 5px 11px; border-radius: 99px; background: rgba(11,16,48,.3); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.gig-thumb b { position: relative; display: block; margin-top: 16px; font-family: var(--display); font-stretch: 115%; font-weight: 900; text-transform: uppercase; font-size: 29px; line-height: .92; }
.gig-thumb i { position: absolute; right: 22px; bottom: -18px; border: 5px solid rgba(255,255,255,.6); transition: transform .6s var(--ease); font-style: normal; }
.gig:hover .gig-thumb i { transform: rotate(-6deg) translateY(-10px) scale(1.06); }
.gig-phone { width: 70px; height: 124px; border-radius: 18px; transform: rotate(10deg); }
.gig-code { border: 0 !important; bottom: 4px !important; font-family: var(--mono); font-weight: 600; font-size: 72px; line-height: 1; color: rgba(255,255,255,.65); }
.gig-cloud { width: 130px; height: 62px; border-radius: 60px 60px 18px 18px; bottom: 16px !important; }
.gig-browser { width: 130px; height: 92px; border-radius: 12px; box-shadow: inset 0 18px 0 rgba(255,255,255,.35); }
.gig-gear { width: 96px; height: 96px; border-radius: 50%; border-style: dashed !important; border-width: 12px !important; bottom: 10px !important; animation: spin 10s linear infinite; }
.gig-chat { width: 120px; height: 70px; border-radius: 22px 22px 22px 4px; bottom: 18px !important; }
.gig-body { flex: 1; display: flex; flex-direction: column; padding: 22px 24px 24px; }
.gig-body h3 { font-size: 18px; font-weight: 800; line-height: 1.3; }
/* links inside running text */
.gig-body h3 a, .faq details p a, .angle-copy a { text-decoration-thickness: 2px; text-underline-offset: 3px; transition: color .2s; }
.gig-body h3 a:hover, .faq details p a:hover, .angle-copy a:hover { color: var(--orange); }
.gig-list { list-style: none; margin: 14px 0 20px; padding: 0; }
.gig-list li { position: relative; padding: 5px 0 5px 26px; font-size: 15px; }
.gig-list li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue); color: var(--cream-2); font-size: 10px; font-weight: 900; display: grid; place-items: center; }
.gig-foot { margin-top: auto; padding-top: 16px; border-top: 2px dotted rgba(11,16,48,.18); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gig-price { font-weight: 800; font-size: 16px; }
.gig-price small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; opacity: .5; }
@media (max-width: 1000px) { .gig-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gig-grid { grid-template-columns: 1fr; } }

/* project facts */
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.work-hint { opacity: .7; animation: cue 1.8s var(--ease) infinite; }
.card-art { height: 220px; }
.facts { margin: 6px 0 0; }
.facts > div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 8px 0; border-top: 1.5px dashed rgba(11,16,48,.16); }
.facts dt { font-size: 11px; font-weight: 800; text-transform: uppercase; opacity: .55; padding-top: 2px; }
.facts dd { margin: 0; font-size: 14px; font-weight: 700; }
.proj-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; }
.proj-link { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; text-decoration: none; border-bottom: 3px solid var(--orange); padding-bottom: 2px; }
.proj-link:hover { color: var(--orange); }
@media (max-width: 900px) { .work-hint { display: none; } }

/* skills grid */
.skill-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.skill-group { padding: 24px; border-radius: 24px; border: 2px solid rgba(255,233,189,.28); transition: background .35s, color .35s, opacity .35s, transform .5s var(--ease); }
.skill-group h3 { font-family: var(--display); font-stretch: 110%; font-weight: 900; text-transform: uppercase; font-size: 21px; line-height: 1; }
.skill-group ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.skill-group li { padding: 6px 12px; border-radius: 99px; border: 1.5px solid rgba(255,233,189,.5); font-size: 13px; font-weight: 700; transition: border-color .35s, background .35s; }
.skill-grid:hover .skill-group { opacity: .45; }
.skill-grid .skill-group:hover { opacity: 1; background: var(--cream); color: var(--blue); transform: translateY(-4px); }
.skill-group:hover li { border-color: rgba(31,63,216,.35); background: #fff; }
.skills .marquee.hot { margin-top: 70px; }
@media (max-width: 900px) { .skill-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .skill-grid { grid-template-columns: 1fr; } }

@media (max-width: 480px) {
  .nav .chip { padding: 11px 13px; font-size: 13px; }
  .brand-badge { width: 36px; height: 36px; }
  .brand-word { font-size: 21px; }
}

/* whole service card is clickable via its heading link */
.svc-link { color: inherit; text-decoration: none; }
.svc-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.svc-link::before { content: "↗"; float: right; margin-left: 8px; font-size: 18px; opacity: .45; transition: opacity .3s, transform .4s var(--ease); }
.svc-card:hover .svc-link::before { opacity: 1; transform: translate(3px, -3px); }
.svc-link:focus-visible { outline: none; }
.svc-link:focus-visible::after { outline: 3px solid var(--orange); outline-offset: 3px; }
.foot-services a { display: block; }
