/* Synex site styles. Tokens and base first, then sections in page order. */
@font-face { font-family: 'Geist'; src: url('../fonts/Geist-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('../fonts/GeistMono-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { --ink:#111113; --muted:#6B6B70; --muted-panel:#5F5F66; --faded:#66666B; --hair:rgba(17,17,19,.09); --bg:#F7F7F6; --panel:#ECECEA; --ease:cubic-bezier(.16,1,.3,1); }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--bg); color:var(--ink); font-family:'Geist',system-ui,sans-serif; -webkit-font-smoothing:antialiased; }
.wrap { max-width:1240px; margin:0 auto; padding:0 40px; }
.btn { display:inline-flex; align-items:center; background:var(--ink); color:#fff; font-size:14.5px; padding:12px 20px; border-radius:999px; text-decoration:none; transition:transform .4s var(--ease); }
.btn:active { transform:scale(.98); }
.btn.light { background:#fff; color:var(--ink); box-shadow:0 0 0 1px var(--hair); }
.btn:focus-visible, a:focus-visible { outline:2px solid var(--ink); outline-offset:3px; }
.skip { position:absolute; left:-999px; }
.skip:focus { left:16px; top:16px; z-index:20; background:#fff; padding:8px 12px; border-radius:8px; }
.js .r { opacity:0; transform:translateY(28px); transition:opacity 1s var(--ease), transform 1s var(--ease); }
.js .r.in { opacity:1; transform:none; }

/* floating pill nav */
.pill { position:fixed; z-index:10; top:18px; left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:28px; padding:9px 9px 9px 22px; border-radius:999px; background:rgba(255,255,255,.72); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); box-shadow:0 0 0 1px rgba(17,17,19,.06), 0 12px 30px -18px rgba(17,17,19,.3); font-size:14px; white-space:nowrap; }
.pill img { height:20px; width:auto; display:block; }
.pill .nl { color:var(--muted); text-decoration:none; transition:color .3s var(--ease); }
.pill .nl:hover { color:var(--ink); }

/* hero: the S as an object */
.hero { background:linear-gradient(180deg,#E3E3E1 0%,#EFEFED 55%,var(--bg) 100%); text-align:center; padding:120px 24px 40px; overflow:hidden; }
.object { display:block; width:min(400px,70vw); height:min(400px,70vw); margin:0 auto; filter:drop-shadow(0 60px 50px rgba(17,17,19,.26)) drop-shadow(0 10px 12px rgba(17,17,19,.16)); animation:rise-in 1.4s var(--ease) .1s both; }
/* the S always stays upright: it only rises in on load, then drifts gently upward on scroll */
@keyframes rise-in { from { opacity:0; translate:0 36px; } to { opacity:1; translate:0 0; } }
h1 { margin:34px 0 14px; font-size:clamp(44px,6.4vw,80px); font-weight:500; letter-spacing:-.045em; line-height:1; }
.hero p { margin:0 auto 30px; max-width:52ch; font-size:19px; line-height:1.55; color:var(--muted); }
.hero .cta-row { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* sections */
section { padding-top:150px; }
section.intro { padding-top:110px; }
h2 { margin:0 0 18px; font-size:clamp(34px,4.2vw,52px); font-weight:500; letter-spacing:-.035em; line-height:1.04; }
.lede { margin:0 0 56px; color:var(--muted); font-size:18px; line-height:1.6; max-width:56ch; }

/* before / with Synex band: mirrored around a centre line */
.band { position:relative; border-radius:24px; background:var(--panel); padding:60px 64px; display:grid; grid-template-columns:1fr 176px 1fr; grid-template-rows:auto repeat(3,auto); align-items:center; }
.band::before { content:''; position:absolute; left:50%; top:44px; bottom:44px; width:1px; background:rgba(17,17,19,.12); }
.band b { grid-row:1; font-family:'Geist Mono',monospace; font-weight:400; font-size:12.5px; color:var(--muted-panel); padding-bottom:14px; }
.band p { margin:0; padding:9px 0; font-size:22px; line-height:1.4; letter-spacing:-.01em; }
.band .l { grid-column:1; text-align:right; }
.band .rt { grid-column:3; text-align:left; }
.band .was { color:var(--faded); text-decoration:line-through; text-decoration-thickness:1px; }
.band .hub { grid-column:2; grid-row:2 / 5; justify-self:center; position:relative; padding:18px 0; background:var(--panel); display:flex; align-items:center; justify-content:center; }
.band .hub img { width:72px; height:auto; display:block; }

/* showcases */
.show { display:grid; grid-template-columns:1.45fr 1fr; gap:64px; align-items:center; }
.show + .show { margin-top:140px; }
.show.flip { grid-template-columns:1fr 1.1fr; }
.stage { perspective:1600px; }
.laptop { transform-origin:50% 100%; }
.lid { background:#0E0E10; border-radius:18px 18px 6px 6px; padding:14px 14px 18px; box-shadow:0 0 0 1px #2a2a2e inset, 0 50px 80px -40px rgba(17,17,19,.55); }
.lid video { display:block; width:100%; aspect-ratio:1902/960; object-fit:cover; border-radius:6px; background:#0b0f19; }
.lid video.cr { aspect-ratio:1440/762; }
.base { height:14px; margin:0 -5%; border-radius:0 0 14px 14px; background:linear-gradient(180deg,#d9d9d8,#b8b8b7); box-shadow:0 18px 30px -18px rgba(17,17,19,.5); position:relative; }
.base::before { content:''; position:absolute; left:50%; top:0; width:16%; height:5px; transform:translateX(-50%); border-radius:0 0 8px 8px; background:#a9a9a8; }
.phone { width:min(340px,80%); margin:0 auto; padding:12px; border-radius:46px; background:#0E0E10; box-shadow:0 0 0 1px #2a2a2e inset, 0 60px 80px -40px rgba(17,17,19,.5); }
.phone video { display:block; width:100%; aspect-ratio:800/900; height:auto; object-fit:cover; object-position:top; border-radius:34px; background:#F4F2EC; }
.case .tag { font-family:'Geist Mono',monospace; font-size:12.5px; color:var(--muted); }
.case h3 { margin:12px 0 16px; font-size:34px; font-weight:500; letter-spacing:-.03em; line-height:1.08; }
.case p { margin:0 0 22px; color:var(--muted); font-size:16px; line-height:1.65; }
.steps { list-style:none; margin:0; padding:0; border-top:1px solid var(--hair); }
.steps li { display:flex; gap:14px; padding:13px 0; border-bottom:1px solid var(--hair); font-size:15px; transition:color .5s var(--ease); color:var(--muted); }
.steps li.on { color:var(--ink); }
.steps li span { font-family:'Geist Mono',monospace; font-size:12px; padding-top:2px; }

/* what we build */
.tiles { display:grid; grid-template-columns:repeat(6,1fr); gap:14px; }
.tile { border-radius:24px; padding:44px 40px; min-height:300px; background:#fff; position:relative; overflow:hidden; }
.tile.dark { background:#0E0E10; color:#fff; }
.tile.grey { background:var(--panel); }
.t2 { grid-column:span 2; } .t3 { grid-column:span 3; } .t4 { grid-column:span 4; }
.tile h3 { margin:0 0 10px; font-size:28px; font-weight:500; letter-spacing:-.025em; }
.tile p { margin:0; color:var(--muted); font-size:15.5px; line-height:1.6; max-width:38ch; position:relative; }
.tile.grey p { color:var(--muted-panel); }
.tile.dark p { color:#A1A1A8; }
.tile .ghost { position:absolute; right:-10px; bottom:-40px; font-size:150px; font-weight:600; letter-spacing:-.06em; color:rgba(17,17,19,.05); line-height:1; }
.tile.dark .ghost { color:rgba(255,255,255,.06); }

/* how we work */
.flow { display:grid; grid-template-columns:repeat(3,1fr); border-top:1px solid var(--hair); }
.flow div { padding:40px 36px 0 0; }
.flow div + div { padding-left:36px; border-left:1px solid var(--hair); }
.flow span { font-family:'Geist Mono',monospace; font-size:12.5px; color:var(--muted); }
.flow h3 { margin:14px 0 10px; font-size:28px; font-weight:500; letter-spacing:-.025em; }
.flow p { margin:0; color:var(--muted); font-size:15.5px; line-height:1.6; max-width:34ch; }

/* about (no photo, no name) */
.founder { display:grid; grid-template-columns:1fr 1.1fr; border-radius:24px; overflow:hidden; background:var(--panel); }
.founder .txt { padding:72px 64px; display:flex; flex-direction:column; justify-content:center; }
.founder p { color:var(--muted-panel); font-size:16px; line-height:1.65; max-width:46ch; margin:0; }
.founder .spin { min-height:460px; display:flex; align-items:center; justify-content:center; background:radial-gradient(circle at 50% 45%, #F7F7F6 0%, #E2E2E0 70%); }
.founder .spin svg { width:52%; filter:drop-shadow(0 40px 36px rgba(17,17,19,.22)); }
/* turns once into the upright S when the section is revealed, then stays still */
.js .founder .spin svg { transform:rotate(-120deg); transition:transform 1.8s var(--ease) .25s; }
.js .founder.in .spin svg { transform:none; }

/* closing call and footer */
.cta { text-align:center; padding:170px 24px 130px; }
.cta .btn { margin-top:8px; }
.cta .alt { margin:22px 0 0; color:var(--muted); font-size:14px; }
.cta .alt a { color:var(--ink); }
.foot { border-top:1px solid var(--hair); padding:26px 40px 44px; display:flex; justify-content:space-between; align-items:center; font-size:13px; color:var(--muted); max-width:1240px; margin:0 auto; }
.foot a { color:inherit; text-decoration:none; }
.foot a:hover { color:var(--ink); }
.social { display:flex; gap:8px; }
.social a { width:38px; height:38px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; color:var(--ink); box-shadow:0 0 0 1px var(--hair); transition:background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease); }
.social a svg { width:17px; height:17px; fill:currentColor; }
.social a:hover { background:var(--brand); color:#fff; transform:translateY(-2px); box-shadow:none; }

@supports (animation-timeline: view()) {
  .object { animation:rise-in 1.4s var(--ease) .1s both, drift linear both; animation-timeline:auto, scroll(root); animation-range:normal, 0 80vh; }
  @keyframes drift { from { transform:translateY(0); } to { transform:translateY(-70px); } }
  .laptop { animation:tilt linear both; animation-timeline:view(); animation-range:entry 0% cover 45%; }
  @keyframes tilt { from { transform:rotateX(16deg) scale(.94); } to { transform:none; } }
  .phone { animation:rise linear both; animation-timeline:view(); animation-range:entry 0% cover 45%; }
  @keyframes rise { from { transform:translateY(60px) rotate(-4deg); } to { transform:none; } }
}

.prices { list-style:none; margin:0; padding:0; border-top:1px solid var(--hair); }
.prices li { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) 240px; column-gap:36px; align-items:baseline; padding:28px 0; border-bottom:1px solid var(--hair); }
.prices h3 { margin:0; font-size:24px; font-weight:500; letter-spacing:-.02em; }
.prices p { margin:0; color:var(--muted); font-size:15.5px; line-height:1.6; max-width:46ch; }
.prices b { font-size:24px; font-weight:500; letter-spacing:-.02em; white-space:nowrap; text-align:right; }
.prices small { font-family:'Geist Mono',monospace; font-size:12.5px; font-weight:400; letter-spacing:0; color:var(--muted); }
.note { margin:22px 0 0; color:var(--muted); font-size:14.5px; }
@media (max-width:860px) {
  .prices li { grid-template-columns:1fr auto; row-gap:8px; padding:24px 0; } .prices p { grid-column:1 / -1; grid-row:2; }
  .wrap { padding:0 16px; }
  .pill { gap:16px; padding-left:16px; }
  .pill .nl { display:none; }
  .band { display:flex; flex-direction:column; align-items:center; text-align:center; padding:40px 20px; }
  .band::before { top:40px; bottom:40px; }
  .band b, .band p { position:relative; background:var(--panel); padding:6px 10px; text-align:center; }
  .band p { font-size:18px; }
  .band .l { order:1; } .band .hub { order:2; margin:22px 0; } .band b.rt { order:3; margin-top:6px; } .band p.rt { order:4; }
  .band .hub img { width:56px; }
  .show, .show.flip, .founder { grid-template-columns:1fr; gap:36px; }
  .base { margin:0 -1.5%; }
  .show.flip .stage { order:-1; }
  .tiles { grid-template-columns:1fr; } .t2, .t3, .t4 { grid-column:auto; }
  .tile { min-height:0; padding:32px 28px 40px; } .tile .ghost { font-size:96px; bottom:-24px; }
  .flow { grid-template-columns:1fr; } .flow div + div { padding-left:0; border-left:0; border-top:1px solid var(--hair); }
  .founder .txt { padding:40px 28px; } .founder .spin { min-height:300px; }
  .foot { flex-direction:column; gap:18px; text-align:center; padding:26px 16px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .r { opacity:1; transform:none; transition:none; }
  .object, .laptop, .phone { animation:none !important; }
  .js .founder .spin svg { transform:none; transition:none; }
  .steps li { color:var(--ink); }
}
