/* /websites/ — the website design & build showcase.
   Sits on top of the shared style.css (nav, buttons, kickers, sections, footer, reveal)
   and only adds what this page needs: device frames, the work grid, the design
   specimens, the included grid, steps and packages. Same tokens as the homepage. */

/* ---------- device frames ---------- */
.ws-browser{
  position:relative;border-radius:14px;overflow:hidden;background:#0a1020;
  border:1px solid rgba(148,163,255,.22);
  box-shadow:0 30px 70px rgba(2,4,14,.6),inset 0 1px 0 rgba(255,255,255,.06);
}
.ws-bar{
  display:flex;align-items:center;gap:6px;height:30px;padding:0 12px;
  background:linear-gradient(180deg,#141d3a,#101830);border-bottom:1px solid rgba(148,163,255,.14);
}
.ws-bar i{width:9px;height:9px;border-radius:50%;background:#ff6b6b;flex:none}
.ws-bar i:nth-child(2){background:#ffc65c}
.ws-bar i:nth-child(3){background:#5fd88a}
.ws-bar span{
  flex:1;min-width:0;margin-left:10px;padding:2px 10px;border-radius:999px;
  background:rgba(4,6,13,.6);color:var(--muted);font-size:.68rem;font-weight:500;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;
}
.ws-screen{position:relative;aspect-ratio:16/10;overflow:hidden;background:#04060d}
.ws-screen img{display:block;width:100%;height:auto}

.ws-phone{
  position:relative;padding:7px;border-radius:30px;background:#0b0f1d;
  border:1px solid rgba(148,163,255,.3);
  box-shadow:0 26px 60px rgba(2,4,14,.7),inset 0 0 0 2px #1a2240;
}
.ws-phone::before{ /* the notch */
  content:"";position:absolute;z-index:2;top:12px;left:50%;width:34%;height:13px;margin-left:-17%;
  border-radius:999px;background:#05070f;
}
.ws-phone-screen{border-radius:23px;overflow:hidden;aspect-ratio:390/844;background:#04060d}
.ws-phone-screen img{display:block;width:100%;height:auto}

/* ---------- hero ---------- */
.ws-hero{position:relative;padding:9.5rem 0 4rem;overflow:hidden}
.ws-hero-inner{position:relative;display:grid;grid-template-columns:1fr 1.05fr;gap:3.5rem;align-items:center}
.ws-hero-copy .kicker{margin-bottom:1.3rem;font-size:.82rem;font-weight:600;color:#c7cdf5}
.ws-hero h1{font-size:clamp(2.5rem,5.4vw,4.1rem);font-weight:800;margin-bottom:1.3rem}
.ws-hero h1 .grad{display:inline-block}
.ws-hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:1.6rem}
.ws-ticks{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem 1.3rem;color:var(--muted);font-size:.93rem;font-weight:500}
.ws-ticks li{display:flex;align-items:center;gap:.45rem}
.ws-ticks li::before{
  content:"";width:18px;height:18px;border-radius:50%;flex:none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.4' fill='none' stroke='%2304101f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat,
    var(--grad);
}

/* the device stage: a browser that scrolls itself, two phones in front */
.ws-stage{position:relative;padding:2.2rem 0 3rem 2.5rem}
.ws-stage-browser{transform:perspective(1600px) rotateY(-7deg) rotateX(2deg);transform-origin:right center}
.ws-stage-browser .ws-screen{aspect-ratio:16/11}
.ws-autoscroll img{animation:wsAutoscroll 26s var(--ease-premium,ease-in-out) infinite alternate}
@keyframes wsAutoscroll{0%,8%{transform:translateY(0)}92%,100%{transform:translateY(calc(-100% + var(--ws-frame-h,400px)))}}
.ws-stage-phone{position:absolute;width:27%;left:-2%;bottom:0;animation:hfloat 6s ease-in-out infinite}
.ws-stage-phone-2{left:auto;right:-3%;bottom:-6%;width:22%;animation-delay:2.2s}
.ws-pill{position:absolute;z-index:3}
.ws-pill-1{top:0;left:12%}
.ws-pill-2{top:42%;right:-2%;animation-delay:1.6s}
.ws-pill-3{bottom:-1.2rem;left:30%;animation-delay:3s}

.ws-proof{
  position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;margin-top:4.5rem;
  padding:1.4rem 1.6rem;border:1px solid var(--line);border-radius:var(--radius);
  background:linear-gradient(170deg,rgba(99,102,241,.08),rgba(34,211,238,.03));
}
.ws-proof div{display:flex;flex-direction:column;align-items:center;text-align:center}
.ws-proof strong{font-family:var(--font-head);font-size:1.9rem;font-weight:800;line-height:1.1;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.ws-proof span{color:var(--muted);font-size:.85rem}

/* ---------- work ---------- */
#work::before{content:"01"}
#range::before{content:"02"}
#included::before{content:"03"}
#process::before{content:"04"}
#packages::before{content:"05"}

.ws-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin:-1.4rem 0 2.6rem}
.ws-chip{
  padding:.48rem 1.05rem;border-radius:999px;font-size:.88rem;font-weight:600;color:var(--muted);
  border:1px solid var(--line);background:rgba(255,255,255,.03);
  transition:background .18s,color .18s,border-color .18s;
}
.ws-chip:hover{color:var(--text);background:rgba(255,255,255,.07)}
.ws-chip.is-on{color:#04101f;background:var(--grad);border-color:transparent}
.ws-chip:focus-visible{outline:3px solid #8fd8ff;outline-offset:3px}

.ws-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:2rem}
.ws-card{
  display:flex;flex-direction:column;border-radius:22px;overflow:hidden;
  background:
    linear-gradient(var(--panel),var(--panel)) padding-box,
    linear-gradient(150deg,rgba(129,140,248,.45),rgba(34,211,238,.18) 45%,rgba(148,163,255,.06)) border-box;
  border:1px solid transparent;
  transition:opacity .7s ease,transform .7s ease,translate .3s var(--ease-premium,ease),box-shadow .3s var(--ease-premium,ease);
}
.ws-card:hover{translate:0 -4px;box-shadow:0 26px 60px rgba(99,102,241,.2)}
.ws-card[hidden]{display:none}
.ws-shot{
  position:relative;display:block;width:100%;padding:1.6rem 1.6rem 0 1.6rem;text-align:left;
  background:
    radial-gradient(420px 220px at 30% 0%,rgba(129,140,248,.2),transparent 70%),
    radial-gradient(360px 220px at 90% 100%,rgba(34,211,238,.12),transparent 70%);
}
.ws-shot:focus-visible{outline:3px solid #8fd8ff;outline-offset:-3px;border-radius:22px}
.ws-shot .ws-browser{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:0}
.ws-shot .ws-screen{aspect-ratio:16/10}
/* hover to scroll the whole page inside the frame */
.ws-hoverscroll img{transition:transform 6s cubic-bezier(.45,.05,.35,1)}
.ws-card:hover .ws-hoverscroll img,
.ws-shot:focus-visible .ws-hoverscroll img{transform:translateY(calc(-100% + var(--ws-frame-h,300px)))}
.ws-card-phone{position:absolute;right:1rem;bottom:-1.4rem;width:24%;z-index:2;transition:translate .35s var(--ease-premium,ease)}
.ws-card:hover .ws-card-phone{translate:0 -10px}
.ws-shot::after{ /* "look closer" hint */
  content:"Look closer";position:absolute;z-index:3;top:2.4rem;right:2.3rem;
  padding:.32rem .75rem;border-radius:999px;font-size:.74rem;font-weight:700;color:#04101f;background:var(--grad);
  opacity:0;translate:0 -4px;transition:opacity .2s,translate .2s;
}
.ws-card:hover .ws-shot::after,.ws-shot:focus-visible::after{opacity:1;translate:0 0}

.ws-meta{position:relative;z-index:1;padding:1.8rem 1.8rem 1.9rem;border-top:1px solid var(--line);background:var(--panel)}
.ws-tag{display:inline-block;margin-bottom:.55rem;color:#8fd8ff;font-size:.76rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.ws-meta h3{font-size:1.45rem;font-weight:800;margin-bottom:.5rem}
.ws-meta p{color:var(--muted);font-size:.96rem;margin-bottom:1rem;max-width:40rem}
.ws-feats{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:1.15rem}
.ws-feats li{padding:.26rem .7rem;border-radius:999px;font-size:.78rem;font-weight:600;color:#c7cdf5;border:1px solid var(--line);background:rgba(129,140,248,.07)}
.ws-visit{color:#8fd8ff;font-weight:700;font-size:.93rem}
.ws-visit:hover{color:#c3ecff}

/* the featured card spans both columns: picture left, words right */
.ws-card-wide{grid-column:1/-1;flex-direction:row}
.ws-card-wide .ws-shot{flex:1.45;padding:2.2rem 0 2.2rem 2.2rem;display:flex;align-items:center}
.ws-card-wide .ws-shot .ws-browser{flex:1;border-radius:14px;border-bottom:1px solid rgba(148,163,255,.22)}
.ws-card-wide .ws-card-phone{right:-1.2rem;bottom:1.2rem;width:20%}
.ws-card-wide .ws-meta{flex:1;display:flex;flex-direction:column;justify-content:center;padding:2.4rem 2.4rem 2.4rem 3.4rem;border-top:0;background:transparent}
.ws-card-wide .ws-meta h3{font-size:1.9rem}
/* the last card mirrors the first: words left, picture right */
.ws-card-flip{flex-direction:row-reverse}
.ws-card-flip .ws-shot{padding:2.2rem 2.2rem 2.2rem 0}
.ws-card-flip .ws-card-phone{right:auto;left:-1.2rem}
.ws-card-flip .ws-meta{padding:2.4rem 3.4rem 2.4rem 2.4rem}
.ws-card-flip .ws-shot::after{right:auto;left:1.2rem}

/* ---------- design range ---------- */
.ws-specimens{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem}
.ws-spec{
  display:flex;flex-direction:column;border-radius:20px;overflow:hidden;border:1px solid var(--line);
  background:var(--panel);transition:opacity .7s ease,transform .7s ease,translate .3s var(--ease-premium,ease);
}
.ws-spec:hover{translate:0 -4px}
.ws-spec-type{
  display:grid;place-items:center;min-height:190px;padding:1.4rem;text-align:center;line-height:1.05;
}
.ws-spec figcaption{display:flex;flex-direction:column;gap:.2rem;padding:1.1rem 1.25rem 1.3rem;border-top:1px solid var(--line)}
.ws-spec figcaption strong{font-family:var(--font-head);font-size:1.02rem}
.ws-spec figcaption span{color:var(--muted);font-size:.84rem}
.ws-swatches{display:flex;gap:.35rem;margin-top:.55rem}
.ws-swatches i{width:22px;height:22px;border-radius:50%;background:var(--c);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}

.ws-spec-dave .ws-spec-type{font-family:var(--font-head);font-weight:800;font-size:5rem;letter-spacing:-.04em;
  background:radial-gradient(260px 160px at 50% 30%,rgba(99,102,241,.3),transparent 70%),#0a1020}
.ws-spec-tank .ws-spec-type{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:700;font-size:3.4rem;letter-spacing:.02em;text-transform:uppercase;color:#e2b86f;
  background:repeating-linear-gradient(135deg,rgba(226,184,111,.06) 0 10px,transparent 10px 20px),#04060d;text-shadow:0 4px 18px rgba(226,184,111,.25)}
.ws-spec-sill .ws-spec-type{font-family:'Newsreader',Georgia,serif;font-style:italic;font-weight:400;font-size:2.1rem;color:#e8ecff;
  background:radial-gradient(200px 140px at 70% 80%,rgba(242,185,99,.18),transparent 70%),radial-gradient(220px 160px at 20% 10%,rgba(143,183,155,.22),transparent 70%),#0d142b}
.ws-spec-sill em{color:#c7e2d0}
.ws-spec-retro .ws-spec-type{background:#1d4a2c;padding:1.6rem}
.ws-spec-retro .ws-spec-type span{
  display:grid;place-items:center;width:100%;height:100%;min-height:130px;border-radius:8px;border:6px solid #2b3530;
  font-family:'Pixelify Sans',monospace;font-weight:700;font-size:3.2rem;color:#22301a;
  background:repeating-linear-gradient(to bottom,rgba(0,0,0,.05) 0 1px,transparent 1px 3px),#b8d67a;
}

/* ---------- included ---------- */
.ws-included{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.ws-inc{padding:1.5rem 1.4rem;border-radius:18px;border:1px solid var(--line);background:rgba(16,24,48,.7)}
.ws-inc h3{font-size:1.06rem;margin:.95rem 0 .4rem}
.ws-inc p{color:var(--muted);font-size:.9rem}
.ws-inc p a{color:#8fd8ff;font-weight:600}
.ws-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:rgba(129,140,248,.12);border:1px solid rgba(148,163,255,.24)}
.ws-ico svg{width:23px;height:23px;fill:none;stroke:#a5b4fc;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ws-inc-dave{
  background:
    linear-gradient(170deg,rgba(99,102,241,.2),rgba(34,211,238,.08)) padding-box,
    linear-gradient(var(--panel),var(--panel)) padding-box,
    linear-gradient(140deg,rgba(129,140,248,.7),rgba(34,211,238,.32)) border-box;
  border:1px solid transparent;
}

/* ---------- process ---------- */
.ws-steps{list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;counter-reset:none;position:relative}
.ws-steps::before{ /* the line joining the four numbers */
  content:"";position:absolute;top:24px;left:12%;right:12%;height:2px;
  background:linear-gradient(90deg,rgba(129,140,248,.6),rgba(34,211,238,.6));opacity:.45;
}
.ws-steps li{position:relative;text-align:center;padding:0 .6rem}
.ws-step-n{
  display:grid;place-items:center;width:50px;height:50px;margin:0 auto 1.1rem;border-radius:50%;
  font-family:var(--font-head);font-weight:800;font-size:1.2rem;color:#04101f;background:var(--grad);
  box-shadow:0 0 0 7px var(--bg),0 10px 30px rgba(99,102,241,.4);
}
.ws-steps h3{font-size:1.2rem;margin-bottom:.45rem}
.ws-steps p{color:var(--muted);font-size:.93rem}

/* ---------- packages ---------- */
.ws-packs{display:grid;grid-template-columns:repeat(3,1fr);gap:1.4rem;align-items:stretch}
.ws-pack{position:relative;display:flex;flex-direction:column;padding:2rem 1.8rem;border-radius:20px;border:1px solid var(--line);background:var(--panel)}
.ws-pack h3{font-size:1.35rem;margin-bottom:.5rem}
.ws-pack-for{color:var(--muted);font-size:.94rem;margin-bottom:1.2rem}
.ws-pack ul{list-style:none;display:grid;gap:.55rem;margin-bottom:1.7rem;flex:1}
.ws-pack li{position:relative;padding-left:1.6rem;font-size:.93rem}
.ws-pack li::before{content:"✓";position:absolute;left:0;top:0;color:#22d3ee;font-weight:800}
.ws-pack-feat{
  background:
    linear-gradient(170deg,rgba(99,102,241,.2),rgba(34,211,238,.08)) padding-box,
    linear-gradient(var(--panel),var(--panel)) padding-box,
    linear-gradient(140deg,rgba(129,140,248,.85),rgba(34,211,238,.4) 50%,rgba(148,163,255,.1)) border-box;
  border:1px solid transparent;box-shadow:0 22px 60px rgba(99,102,241,.22);
}
.ws-pack-flag{
  position:absolute;top:-.8rem;left:1.8rem;padding:.25rem .8rem;border-radius:999px;
  font-size:.74rem;font-weight:800;color:#04101f;background:var(--grad);
}
.ws-pack-note{text-align:center;margin-top:2rem;color:var(--muted)}
.ws-cta-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:.8rem}

/* ---------- look closer dialog ---------- */
.ws-look{
  width:min(1100px,94vw);height:min(88vh,980px);margin:auto;padding:0;border-radius:20px;
  color:var(--text);background:var(--bg-alt);border:1px solid rgba(148,163,255,.28);
  box-shadow:0 40px 120px rgba(0,0,0,.7);overflow:hidden;
}
.ws-look[open]{display:flex;flex-direction:column}
.ws-look::backdrop{background:rgba(3,5,12,.78);backdrop-filter:blur(6px)}
.ws-look-head{display:flex;align-items:center;gap:1rem;padding:.9rem 1rem .9rem 1.4rem;border-bottom:1px solid var(--line)}
.ws-look-head h2{font-size:1.15rem;font-weight:800;margin-right:auto}
.ws-look-tabs{display:flex;gap:.35rem}
.ws-look-close{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;border:1px solid var(--line);font-size:1rem;color:var(--muted)}
.ws-look-close:hover{color:var(--text);background:rgba(255,255,255,.07)}
.ws-look-body{flex:1;overflow:auto;padding:1.4rem;overscroll-behavior:contain;
  background:radial-gradient(rgba(148,163,255,.06) 1px,transparent 1.4px) 0 0/22px 22px}
.ws-look-body img{display:block;width:100%;height:auto;margin:0 auto;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.ws-look-body.is-phone img{width:min(390px,100%);border-radius:26px;border:7px solid #0b0f1d;outline:1px solid rgba(148,163,255,.3)}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .ws-specimens,.ws-included{grid-template-columns:repeat(2,1fr)}
  .ws-pill{display:none}
}
@media (max-width:1020px){
  .ws-hero-inner{grid-template-columns:1fr;gap:2.5rem}
  .ws-hero-copy{text-align:center}
  .ws-hero-copy .lead{margin-inline:auto}
  .ws-hero-actions,.ws-ticks{justify-content:center}
  .ws-stage{max-width:640px;margin:0 auto;width:100%;padding-left:1.5rem}
  .ws-stage-browser{transform:none}
  .ws-card-wide,.ws-card-flip{flex-direction:column}
  .ws-card-flip .ws-shot::after{left:auto;right:2.3rem}
  .ws-card-wide .ws-shot,.ws-card-flip .ws-shot{padding:1.6rem 1.6rem 0}
  .ws-card-wide .ws-shot .ws-browser{border-bottom:0;border-radius:14px 14px 0 0}
  .ws-card-wide .ws-card-phone{right:1rem;left:auto;bottom:-1.4rem;width:20%}
  .ws-card-wide .ws-meta,.ws-card-flip .ws-meta{padding:1.8rem;border-top:1px solid var(--line);background:var(--panel)}
  .ws-steps{grid-template-columns:repeat(2,1fr);row-gap:2.4rem}
  .ws-steps::before{display:none}
  .ws-packs{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .ws-pack-feat{order:-1}
}
@media (max-width:760px){
  .ws-hero{padding-top:7.5rem}
  .ws-grid{grid-template-columns:1fr}
  .ws-proof{grid-template-columns:repeat(2,1fr);row-gap:1.3rem;margin-top:3.5rem}
  .ws-look-head{flex-wrap:wrap;gap:.6rem}
  .ws-look-head h2{width:100%;order:-1;margin:0}
  .ws-look-close{position:absolute;top:.7rem;right:.8rem}
  .ws-look-head{position:relative}
}
@media (max-width:560px){
  .ws-specimens,.ws-included,.ws-steps{grid-template-columns:1fr}
  .ws-hero-actions .btn{width:100%;justify-content:center}
  .ws-stage{padding:1rem 0 2rem 1rem}
  .ws-shot{padding:1rem 1rem 0}
  .ws-meta,.ws-card-wide .ws-meta{padding:1.5rem 1.3rem 1.6rem}
  .ws-card-phone,.ws-card-wide .ws-card-phone{width:26%;right:.6rem}
  .ws-shot::after{display:none}
  .ws-spec-type{min-height:150px}
}
@media (prefers-reduced-motion:reduce){
  .ws-autoscroll img,.ws-stage-phone{animation:none}
  .ws-hoverscroll img{transition:none}
  .ws-card:hover .ws-hoverscroll img{transform:none}
}
