/* =====================================================
   SHAPEWAYS MEDIA — shapewaysmedia.com
   V4.1 (2026-10-22): single funnel page, no packages.
   Layout from the CoreShift landing (Outcrowd); surface is
   Apple-style frosted glass over a soft rose gradient +
   drifting aurora (carried over from V3), in Shapeways red.
   ===================================================== */

:root{
  --f: "Inter", system-ui, -apple-system, "SF Pro Display", "Segoe UI", Roboto, sans-serif;

  --ink:      #17111A;
  --ink-rgb:  23,17,26;
  --body:     #2B2530;
  --muted:    #6F6672;

  --red:      #A00000;
  --red-rgb:  160,0,0;
  --red-hi:   #D8342E;
  --btn:      linear-gradient(180deg,#E8483C 0%,#C42222 52%,#A50F14 100%);
  --txt-grad: linear-gradient(100deg,#8E0B0B 0%,#C42222 45%,#EC5A48 100%);

  /* glass */
  --glass:       rgba(255,255,255,.42);
  --glass-hi:    rgba(255,255,255,.62);
  --glass-brd:   rgba(255,255,255,.72);
  --glass-blur:  blur(26px) saturate(180%);
  --glass-shadow:0 24px 60px -30px rgba(24,20,28,.22), 0 2px 6px -2px rgba(24,20,28,.06), 0 0 0 1px rgba(24,20,28,.04),
                 inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.3);

  /* page backdrop — V3's rose gradient, lightened */
  --bg: linear-gradient(180deg, #FBFAF7 0%, #F8F6F2 50%, #F5F3EF 100%);   /* milky white */
  --bg-solid:  #F8F6F2;
  --aurora-1:  rgba(214,208,198,.38);     /* soft neutral shading only — gives the glass something to blur */
  --aurora-2:  rgba(255,255,255,.95);
  --aurora-3:  rgba(200,200,208,.26);

  --frame-w: min(1000px, calc(100vw - 32px));
  --pad-x:   clamp(16px,4vw,64px);
  --max:     1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; background:var(--bg-solid); }
body{
  margin:0; color:var(--body);
  font-family:var(--f); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
  font-feature-settings:"cv11","ss01";
}
img,video{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button,input,textarea{ font:inherit; color:inherit; }
:focus-visible{ outline:2px solid var(--red-hi); outline-offset:3px; border-radius:8px; }
.wrap{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--pad-x); }

/* ---------- fixed backdrop: gradient + slow aurora + fine grain ---------- */
body::before{ content:""; position:fixed; inset:0; z-index:-3; background:var(--bg); }
body::after{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none; opacity:.035; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .7 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.aurora{ position:fixed; inset:0; z-index:-2; overflow:hidden; pointer-events:none; }
.aurora i{ position:absolute; border-radius:50%; filter:blur(90px); }
.aurora i:nth-child(1){ width:620px; height:620px; left:-10%; top:-6%;  background:var(--aurora-1); animation:drift1 22s ease-in-out infinite; }
.aurora i:nth-child(2){ width:560px; height:560px; right:-8%; top:18%; background:var(--aurora-2); animation:drift2 26s ease-in-out infinite; }
.aurora i:nth-child(3){ width:680px; height:680px; left:28%; bottom:-28%; background:var(--aurora-3); animation:drift1 30s ease-in-out -9s infinite reverse; }
@keyframes drift1{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(90px,50px) scale(1.14); } }
@keyframes drift2{ 0%,100%{ transform:translate(0,0) scale(1); } 50%{ transform:translate(-80px,70px) scale(1.1); } }

/* ---------- glass surface (Apple-style) ---------- */
.glass{
  position:relative; isolation:isolate;
  background:var(--glass); border:1px solid var(--glass-brd);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
  box-shadow:var(--glass-shadow);
}
.glass::before{                                      /* soft specular sheen across the top */
  content:""; position:absolute; inset:0; z-index:-1; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.08) 38%,rgba(255,255,255,0) 60%);
}

/* ---------- buttons ---------- */
.btn{
  position:relative; display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:16px 30px; border:1px solid transparent; border-radius:999px; cursor:pointer; overflow:hidden;
  font-weight:600; font-size:16px; letter-spacing:-.01em; line-height:1; white-space:nowrap;
  transition:transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease, background .25s ease;
}
.btn--red{
  background:var(--btn); color:#fff; border-color:rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 6px rgba(80,0,0,.25), 0 14px 30px -14px rgba(var(--red-rgb),.8);
}
.btn--red:hover{ transform:translateY(-2px); box-shadow:inset 0 1px 0 rgba(255,255,255,.4), inset 0 -2px 6px rgba(80,0,0,.25), 0 22px 38px -16px rgba(var(--red-rgb),.9); }
.btn--glass{
  color:var(--ink); background:rgba(255,255,255,.5); border-color:var(--glass-brd);
  -webkit-backdrop-filter:var(--glass-blur); backdrop-filter:var(--glass-blur);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95), 0 12px 28px -16px rgba(24,20,28,.35);
}
.btn--glass:hover{ transform:translateY(-2px); background:rgba(255,255,255,.75); }
.btn--glass .wa-ic{ color:#1FAF55; }
.btn--lg{ padding:19px 36px; font-size:17px; }
.btn .arr{ transition:transform .25s ease; }
.btn:hover .arr{ transform:translateX(4px); }
.btn svg{ width:20px; height:20px; flex:0 0 auto; }
.btn--shine::after{
  content:""; position:absolute; top:0; bottom:0; width:45%; left:-60%;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.35),transparent);
  transform:skewX(-20deg); animation:shine 4.6s ease-in-out infinite;
}
@keyframes shine{ 0%,62%{ left:-60%; } 100%{ left:130%; } }
.actions{ display:flex; flex-wrap:wrap; justify-content:center; gap:12px; }

.pill{
  display:inline-flex; align-items:center; gap:9px; padding:8px 16px 8px 10px; border-radius:999px;
  font-size:13.5px; font-weight:500; color:var(--ink);
}
.pill img{ width:22px; height:22px; }
.pill b{ font-weight:600; }
.pill .dot{ width:7px; height:7px; border-radius:50%; background:var(--red-hi); box-shadow:0 0 0 4px rgba(216,52,46,.15); margin-left:4px; }

/* =====================================================
   LOGO — small glass pill, top-left corner
   ===================================================== */
.corner-logo{
  position:absolute; top:clamp(14px,2vw,24px); left:clamp(14px,2vw,28px); z-index:20;
  display:inline-flex; align-items:center; gap:9px; padding:6px 15px 6px 6px; border-radius:999px;
  font-weight:600; font-size:14px; letter-spacing:-.01em; color:var(--ink);
  transition:transform .25s ease;
}
.corner-logo:hover{ transform:translateY(-1px); }
.corner-logo img{                                    /* whole mark inside a white disc, not cropped by it */
  width:34px; height:34px; padding:8px 7px 6px; border-radius:50%; background:#fff; object-fit:contain;
  box-shadow:0 2px 6px -2px rgba(24,20,28,.25);
}

/* =====================================================
   HERO — soft red glow fading to the page by mid-video
   ===================================================== */
.hero{ position:relative; padding:clamp(96px,10vw,140px) 0 0; isolation:isolate; }
.hero::before{
  content:""; position:absolute; z-index:-1; left:0; right:0; top:0;
  bottom:calc(var(--frame-w) * 9 / 32);
  background:
    radial-gradient(60% 55% at 50% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
}

.hero__copy{ position:relative; text-align:center; max-width:1260px; margin:0 auto; padding:0 var(--pad-x); }
.hero__copy .pill{ margin-bottom:clamp(20px,2.4vw,28px); }

.hero h1{
  margin:0; color:var(--ink); text-transform:uppercase; font-weight:700;
  font-size:clamp(32px,5.2vw,74px); line-height:1.04; letter-spacing:-.03em; text-wrap:balance;
}
.hero h1 .u{ background:var(--txt-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero__sub{
  max-width:720px; margin:clamp(18px,2vw,26px) auto 0;
  color:var(--body); font-size:clamp(16px,1.5vw,20px); font-weight:400; line-height:1.5; text-wrap:balance;
}
.hero__sub b{ color:var(--ink); font-weight:600; }
@media (max-width:760px){ .br-lg{ display:none; } }

/* floating platform logos — glass tiles (desktop: around the headline) */
.tiles{
  position:absolute; top:0; bottom:0; left:50%; width:min(1380px, calc(100vw - 48px));
  transform:translateX(-50%); pointer-events:none;
}
.tile{
  position:absolute; width:clamp(60px,5vw,72px); aspect-ratio:1; border-radius:22px;
  display:grid; place-items:center; animation:float 7s ease-in-out infinite;
}
.tile svg{ width:48%; height:48%; }
.tile--ig{ left:2%;  top:-4%;  rotate:-8deg; }
.tile--fb{ left:7%;  top:60%;  rotate:7deg;  animation-delay:-2.2s; }
.tile--tt{ right:2%; top:-2%;  rotate:9deg;  animation-delay:-1.1s; }
.tile--li{ right:7%; top:62%;  rotate:-6deg; animation-delay:-3.4s; }
@keyframes float{ 0%,100%{ translate:0 0; } 50%{ translate:0 -12px; } }

/* video — no frame, just the picture */
.hero__media{ position:relative; width:var(--frame-w); margin:clamp(36px,4.4vw,60px) auto 0; }
.player{
  position:relative; aspect-ratio:16/9; border-radius:clamp(16px,2vw,28px); overflow:hidden; background:#0b0b0d;
  box-shadow:0 50px 90px -40px rgba(24,20,28,.55), 0 18px 40px -24px rgba(var(--ink-rgb),.35);
}
.player video{ width:100%; height:100%; object-fit:cover; }
.player__start{
  position:absolute; inset:0; display:grid; place-items:center;
  padding:0; border:0; cursor:pointer; background:#0b0b0d;
}
.player__start img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
/* centred glass play button */
.player__btn{
  position:relative; width:clamp(64px,9vw,108px); aspect-ratio:1; border-radius:50%;
  display:grid; place-items:center;
  background:rgba(255,255,255,.2); border:1px solid rgba(255,255,255,.55);
  -webkit-backdrop-filter:blur(16px) saturate(180%); backdrop-filter:blur(16px) saturate(180%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7), inset 0 -10px 24px rgba(255,255,255,.08), 0 24px 50px -16px rgba(0,0,0,.55);
  animation:pulse 2.6s ease-out infinite;
  transition:transform .35s cubic-bezier(.22,1,.36,1), background .25s ease;
}
.player__btn::before{                              /* top sheen */
  content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.45) 0%,rgba(255,255,255,0) 55%);
}
.player__btn svg{ position:relative; width:36%; height:36%; margin-left:7%; filter:drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.player__start:hover .player__btn{ transform:scale(1.08); background:rgba(255,255,255,.3); }
@keyframes pulse{ 0%{ box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 0 rgba(255,255,255,.45), 0 24px 50px -16px rgba(0,0,0,.55); }
                  80%,100%{ box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 0 0 22px rgba(255,255,255,0), 0 24px 50px -16px rgba(0,0,0,.55); } }
.player.is-playing .player__start{ display:none; }

/* =====================================================
   PITCH — glass panel, black text, Scale Now + WhatsApp
   ===================================================== */
.pitch{ padding:clamp(40px,5.4vw,72px) 0 clamp(56px,7vw,96px); }
.pitch__panel{
  max-width:860px; margin:0 auto; text-align:center;
  padding:clamp(28px,4vw,52px) clamp(22px,4vw,56px); border-radius:clamp(26px,3vw,36px);
}
.pitch p{ margin:0 auto; max-width:680px; color:#141016; font-size:clamp(16px,1.4vw,18.5px); line-height:1.7; text-wrap:pretty; }
.pitch p + p{ margin-top:14px; }
.pitch b{ color:#000; font-weight:600; }
.pitch mark{ background:linear-gradient(transparent 60%, rgba(236,90,72,.25) 60%); color:#000; font-weight:600; padding:0 2px; }
.pitch .actions{ margin-top:clamp(26px,3.2vw,36px); }
.pitch__note{ margin-top:14px; font-size:13.5px; color:var(--muted); }

/* =====================================================
   WORK — curved 3D strip of client reels
   (positions are written by the script in index.html)
   ===================================================== */
.work{ padding:clamp(30px,4vw,60px) 0 clamp(40px,5vw,70px); overflow:hidden; }
.work__head{ text-align:center; max-width:860px; margin:0 auto clamp(26px,3.6vw,46px); }
.work__head h2{ margin:20px 0 0; font-size:clamp(30px,4.2vw,54px); font-weight:700; letter-spacing:-.035em; line-height:1.08; color:var(--ink); text-wrap:balance; }
.work__head h2 .u{ background:var(--txt-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

.vc-stage{
  --cw:clamp(150px,15.6vw,226px);
  position:relative; height:calc(var(--cw) * 16 / 9 + 64px);
  perspective:1500px; perspective-origin:50% 46%;
  touch-action:pan-y; cursor:grab; user-select:none; -webkit-user-select:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 11%,#000 89%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 11%,#000 89%,transparent 100%);
}
.vc-stage.is-drag{ cursor:grabbing; }
.vc-ring{ position:absolute; left:50%; top:32px; width:0; height:0; transform-style:preserve-3d; }
.vc{
  position:absolute; top:0; left:calc(var(--cw) / -2); width:var(--cw); margin:0;
  aspect-ratio:9/16; border-radius:clamp(14px,1.5vw,20px); overflow:hidden;
  background:#1a0a0c; border:1px solid rgba(255,255,255,.6);
  box-shadow:0 30px 50px -26px rgba(24,20,28,.6);
  backface-visibility:hidden; -webkit-backface-visibility:hidden; will-change:transform,opacity;
}
.vc video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; pointer-events:none; }
.vc::after{
  content:""; position:absolute; inset:auto 0 0 0; height:34%; pointer-events:none;
  background:linear-gradient(180deg,transparent,rgba(10,4,6,.5));
}
/* Instagram-style play badge, bottom-left. data-views="1.4M" adds the number (real counts only). */
.vc__views{
  position:absolute; left:clamp(9px,1vw,13px); bottom:clamp(9px,1vw,13px); z-index:2;
  display:inline-flex; align-items:center; gap:6px;
  color:#fff; font-size:clamp(12px,1.05vw,14.5px); font-weight:600; line-height:1;
  text-shadow:0 1px 6px rgba(0,0,0,.55);
}
.vc__views::before{
  content:""; width:clamp(15px,1.4vw,19px); aspect-ratio:1; flex:0 0 auto;
  background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M7.6 4.9v14.2a1.2 1.2 0 0 0 1.8 1l11.6-7.1a1.2 1.2 0 0 0 0-2L9.4 3.9a1.2 1.2 0 0 0-1.8 1z'/></svg>") center/contain no-repeat;
  filter:drop-shadow(0 1px 5px rgba(0,0,0,.5));
}
.vc__views::after{ content:attr(data-views); }
.vc__views[data-views=""]::after{ display:none; }

.work__hint{ margin-top:clamp(10px,1.6vw,20px); text-align:center; color:var(--muted); font-size:13px; letter-spacing:.04em; }
.hint-touch{ display:none; }
@media (hover:none){ .hint-mouse{ display:none; } .hint-touch{ display:inline; } }

.work__stats{
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px;
  max-width:700px; margin:clamp(26px,3.4vw,42px) auto 0;
}
.stat{ text-align:center; padding:clamp(22px,2.6vw,32px) 18px clamp(20px,2.4vw,28px); border-radius:28px; }
.stat__num{ font-size:clamp(42px,5.4vw,68px); font-weight:700; letter-spacing:-.045em; line-height:1; color:var(--ink); }
.stat__num .count{ display:inline-block; font-variant-numeric:tabular-nums; text-align:right; }
.stat__num .suf{ background:var(--txt-grad); -webkit-background-clip:text; background-clip:text; color:transparent; margin-left:2px; }
.stat__label{ margin-top:12px; font-size:12.5px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }

/* =====================================================
   END — glass card, Scale Now + WhatsApp
   ===================================================== */
.end{ padding:clamp(20px,3vw,40px) 0 clamp(40px,5vw,64px); }
.end__card{
  overflow:hidden; text-align:center; max-width:var(--max); margin:0 auto;
  padding:clamp(48px,6vw,84px) clamp(22px,4vw,60px); border-radius:clamp(28px,3vw,40px);
}
.end__card h2{
  margin:0 auto; max-width:760px; color:var(--ink); text-transform:uppercase;
  font-size:clamp(28px,4vw,52px); font-weight:700; line-height:1.05; letter-spacing:-.03em; text-wrap:balance;
}
.end__card h2 .u{ background:var(--txt-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.end__card p{ max-width:560px; margin:16px auto 0; font-size:clamp(15px,1.35vw,18px); color:var(--body); }
.end__card .actions{ margin-top:clamp(26px,3vw,36px); }

/* footer with the giant wordmark */
.footer{ padding:0 0 22px; overflow:hidden; }
.footer__mark{
  margin:clamp(10px,2vw,24px) 0 0; text-align:center; line-height:.82; user-select:none; white-space:nowrap;
  font-size:min(16vw,184px); font-weight:800; letter-spacing:-.06em;
  background:linear-gradient(180deg,rgba(24,20,28,.14) 0%,rgba(24,20,28,.05) 70%,rgba(24,20,28,0) 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.footer__row{
  display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px;
  font-size:13.5px; color:var(--muted);
}
.footer__brand{ display:flex; align-items:center; gap:10px; font-weight:600; color:var(--ink); font-size:15px; }
.footer__brand img{ width:26px; height:26px; }

/* =====================================================
   REVEAL
   ===================================================== */
.js .reveal{ opacity:0; transform:translateY(26px); transition:opacity .8s ease, transform .9s cubic-bezier(.22,1,.36,1); }
.js .reveal.in{ opacity:1; transform:none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width:1240px){
  /* logos move into a row above the headline */
  .tiles{ position:static; transform:none; width:auto; display:flex; justify-content:center; gap:12px; margin:0 0 22px; }
  .tile{ position:static; width:52px; border-radius:16px; rotate:0deg; }
  .tile:nth-child(2){ animation-delay:-1.4s; } .tile:nth-child(3){ animation-delay:-2.8s; } .tile:nth-child(4){ animation-delay:-4.2s; }
  @keyframes float{ 0%,100%{ translate:0 0; } 50%{ translate:0 -6px; } }
}
@media (max-width:900px){
  .vc-stage{ --cw:clamp(142px,34vw,200px); }
}
@media (max-width:600px){
  .hero{ padding-top:82px; }
  .tile{ width:46px; border-radius:14px; }
  .hero__copy .pill{ padding:8px 14px; font-size:12px; white-space:nowrap; }
  .hero__copy .pill .dot{ display:none; }
  .actions .btn{ width:100%; }
  .work__stats{ gap:10px; }
  .stat{ border-radius:22px; }
  .footer__row{ justify-content:center; text-align:center; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .glass, .btn--glass{ background:rgba(255,255,255,.85); }
}
@media (prefers-reduced-motion:reduce){
  *{ animation:none !important; transition:none !important; }
  html{ scroll-behavior:auto; }
  .js .reveal{ opacity:1; transform:none; }
  .vc-stage{ cursor:default; }
}
