/* Allehop — site styles. Brand colours and fonts are set once here. */
@font-face{font-family:'Lexend';src:url('../fonts/Lexend-Regular.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Lexend';src:url('../fonts/Lexend-Medium.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Lexend';src:url('../fonts/Lexend-SemiBold.woff2') format('woff2');font-weight:600;font-display:swap}
@font-face{font-family:'Lexend';src:url('../fonts/Lexend-Bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Lexend';src:url('../fonts/Lexend-ExtraBold.woff2') format('woff2');font-weight:800;font-display:swap}

:root{
  --orange:#F27E00;
  --purple:#4C3973;
  --ink:#000;
  --muted:#4a4a4a;
  --lilac:#F7F5F9;
  --cream:#FFF4E8;
  --pad:clamp(20px,5vw,56px);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Lexend',system-ui,sans-serif;color:var(--ink);background:#fff;line-height:1.5;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{color:var(--orange)}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;box-shadow:0 0 0 6px #fff;border-radius:6px}
[hidden]{display:none!important}
h1,h2,h3{margin:0;text-wrap:balance}
p{margin:0;text-wrap:pretty}
.skip{position:absolute;left:-9999px;top:12px;background:#fff;padding:10px 16px;border-radius:8px;z-index:20}
.skip:focus{left:12px}

/* Under-construction notice (remove the <p class="notice"> line from each page at launch) */
.notice{padding:10px var(--pad);background:var(--purple);color:#fff;font-size:14px;line-height:1.45;text-align:center}
.notice a{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.notice a:hover{color:#fff;text-decoration-thickness:2px}

/* Header */
.site-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px var(--pad);flex-wrap:wrap}
.logo img{height:48px;width:auto}
.nav{display:flex;gap:2px;flex-wrap:wrap;justify-content:flex-end;flex:1 1 0;min-width:0;font-size:15px;font-weight:600}
.nav a{padding:10px 14px;border-radius:999px}
.nav a[aria-current="page"]{background:rgba(242,126,0,.16)}
.menu-btn{display:none;background:none;border:2px solid var(--ink);border-radius:999px;padding:9px 16px;font:600 15px 'Lexend',sans-serif;cursor:pointer;color:var(--ink)}
@media (max-width:960px){
  .menu-btn{display:block;margin-left:auto}
  .nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;gap:4px;font-size:17px}
  .nav a{padding:14px 16px}
  .site-header.open .nav{display:flex}
  .site-header .header-cta{display:none}
}

/* Buttons & links */
.btn{display:inline-block;padding:14px 26px;border-radius:999px;font-weight:700;font-size:17px;white-space:nowrap;border:2px solid transparent;transition:background .15s,color .15s,border-color .15s;cursor:pointer;font-family:'Lexend',sans-serif}
.btn-sm{padding:10px 20px;font-size:15px}
.btn-primary{background:var(--orange);color:#fff}
.btn-primary:hover{background:#111;color:#fff}
.btn-outline{border-color:var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-purple{background:var(--purple);color:#fff}
.btn-purple:hover{background:#fff;color:var(--purple)}
.btn-white{background:#fff;color:#111}
.btn-white:hover{background:var(--orange);color:#fff}
.link{font-weight:700;font-size:17px;border-bottom:2px solid var(--orange);align-self:flex-start}
.row{display:flex;gap:14px;flex-wrap:wrap}

/* Layout */
.section{padding:72px var(--pad)}
.bg-lilac{background:var(--lilac)}
.bg-cream{background:var(--cream)}
.bg-black{background:#000;color:#fff}
.bg-black .btn-primary:hover{background:#fff;color:#000}
.split{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:clamp(32px,5vw,56px);align-items:center}
.stack{display:flex;flex-direction:column;gap:20px}
.stack-sm{display:flex;flex-direction:column;gap:12px}

/* Type */
.eyebrow{font-size:14px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--orange)}
.eyebrow.purple{color:var(--purple)}
.h1{font-size:clamp(36px,4.6vw,58px);line-height:1.05;font-weight:800;letter-spacing:-.025em}
.h1-page{font-size:clamp(38px,5vw,60px);line-height:1.02;font-weight:800;letter-spacing:-.02em;max-width:900px}
.h2{font-size:clamp(30px,4vw,44px);line-height:1.06;font-weight:800;letter-spacing:-.02em}
.h3{font-size:30px;font-weight:700;line-height:1.15}
.lead{font-size:20px;line-height:1.5;color:var(--muted);max-width:560px}
.body{font-size:18px;line-height:1.6}
.muted{color:var(--muted)}

/* Home */
.hero{padding:40px var(--pad) 72px}
.hero-img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:32px}
.pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.pair img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:24px;background:#fff}
.pair img:last-child{margin-top:40px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));gap:24px}
.card{border-radius:28px;padding:36px;display:flex;flex-direction:column;gap:12px}
.card h2,.card h3{font-size:26px;font-weight:800}
.card p{font-size:17px;line-height:1.55}
.card a{margin-top:auto;align-self:flex-start;font-weight:700;font-size:16px;border-bottom:2px solid currentColor}
.card a:hover{color:inherit;opacity:.75}
.c-orange{background:var(--orange);color:#fff}
.c-purple{background:var(--purple);color:#fff}
.c-black{background:#000;color:#fff}
.c-lilac{background:var(--lilac)}
.c-lilac a{border-color:var(--orange)}
.faces{display:grid;grid-template-columns:repeat(auto-fit,minmax(80px,1fr));gap:14px}
.faces img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:50%}
.cta{display:flex;flex-direction:column;align-items:center;text-align:center;gap:24px}
.cta h2{font-size:clamp(32px,4.5vw,52px);line-height:1.05;font-weight:800;letter-spacing:-.025em;max-width:760px}
.cta .row{justify-content:center}

/* Inner pages */
.page-head{padding:56px var(--pad) 40px;display:flex;flex-direction:column;gap:18px}
.mv{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:24px}
.mv div{border-radius:24px;padding:32px;background:var(--lilac);display:flex;flex-direction:column;gap:10px}
.mv p{font-size:20px;line-height:1.5;font-weight:500}
.dots{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:12px;font-size:18px;line-height:1.5}
.dots li{display:flex;gap:14px}
.dots li::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--orange);flex:none;margin-top:8px}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:20px}
.steps figure{margin:0;display:flex;flex-direction:column;gap:10px}
.steps img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:16px;background:#fff}
.steps figcaption{font-size:15px;line-height:1.4;color:var(--muted)}
.steps b{color:var(--ink)}
.founder{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:32px;align-items:center;background:var(--lilac);border-radius:24px;padding:24px}
.founder img{width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 30%;border-radius:16px}
.team{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:24px}
.team div{display:flex;flex-direction:column;gap:8px}
.team img{width:140px;height:140px;object-fit:cover;object-position:50% 30%;border-radius:50%;margin-bottom:4px}
.team b{font-size:18px}
.team span{font-size:15px;color:var(--muted)}

/* Toys */
.toolbar{padding:0 var(--pad);display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.tabs{display:flex;gap:10px;flex-wrap:wrap}
.tab{padding:12px 24px;border-radius:999px;border:2px solid var(--ink);background:transparent;color:var(--ink);font:600 16px 'Lexend',sans-serif;cursor:pointer}
.tab[aria-selected="true"]{background:var(--orange);border-color:var(--orange);color:#fff}
.legend{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:13px}
.list{padding:24px var(--pad) 72px;display:flex;flex-direction:column;gap:24px}
.item{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:32px;border-radius:24px;padding:24px;align-items:center;background:var(--lilac)}
.item img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:16px;background:#fff}
.item h2{font-size:32px;font-weight:700;letter-spacing:-.01em}
.item p{font-size:17px;line-height:1.55}
.item .needs{font-size:15px}
.empty{border-radius:24px;padding:40px;background:var(--lilac);font-size:18px;color:var(--muted)}

/* Stage labels: add class stage-prototype / stage-testing / stage-development / stage-ready */
.stage{display:inline-block;padding:5px 12px;border-radius:999px;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.stage-prototype{background:#EDE8F4;color:#4C3973}
.stage-testing{background:#FDEBD6;color:#8A4600}
.stage-development{background:#E8E8E8;color:#222}
.stage-ready{background:var(--orange);color:#fff}

/* News */
.posts{padding:24px var(--pad) 72px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:24px}
.post{display:flex;flex-direction:column;gap:14px;border-radius:22px;padding:20px;background:var(--lilac)}
.post img{width:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px;background:#fff}
.post img.contain{object-fit:contain;padding:18%}
.post .meta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.post h2{font-size:22px;font-weight:700;line-height:1.25}
.post p{font-size:16px;line-height:1.5}

/* Contact */
.contact{padding:56px var(--pad) 80px}
.mail{font-size:clamp(22px,3vw,28px);font-weight:700;border-bottom:3px solid var(--orange);align-self:flex-start}
.form{border-radius:24px;padding:clamp(24px,4vw,36px);display:flex;flex-direction:column;gap:18px;background:var(--lilac)}
.form .two{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px}
.form label{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600}
.form input,.form select,.form textarea{font:16px 'Lexend',sans-serif;padding:14px 16px;border:1px solid #8A8A8A;border-radius:12px;background:#fff;color:#111;width:100%}
.form textarea{resize:vertical;min-height:140px}
.form .btn{align-self:flex-start;border:0}
.form small{font-size:13px;color:var(--muted)}
.form-status{font-size:16px;font-weight:600}
.hp{position:absolute;left:-9999px}

/* Footer */
.site-footer{padding:36px var(--pad);display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px 32px;font-size:15px;border-top:1px solid rgba(0,0,0,.1)}
.site-footer .brand{display:flex;align-items:center;gap:14px}
.site-footer .brand img{height:40px;width:auto}
.site-footer .brand span{font-weight:600;color:var(--orange)}
.site-footer nav,.site-footer .social{display:flex;gap:20px;flex-wrap:wrap;align-items:center}
.site-footer .copy{color:var(--muted)}

@media (prefers-reduced-motion:reduce){*{transition:none!important}}
