:root{
    --blush:#FDEDF3;
    --white:#FFFFFF;
    --hotpink:#FF1D8E;
    --magenta:#B8116E;
    --ink:#2B1826;
    --ink-soft:#5C4756;
    --softpink:#F6CFE2;
    --line:#F1D3E3;
  }
  *{box-sizing:border-box;margin:0;padding:0;}
  html{scroll-behavior:smooth;}
  body{
    font-family:'Inter',sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.6;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces',serif;
    font-weight:500;
    letter-spacing:-0.01em;
  }
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:1080px;margin:0 auto;padding:0 24px;}

  /* NAV */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(255,255,255,0.9);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--line);
  }
  nav.wrap{
    display:flex;align-items:center;justify-content:space-between;
    padding-top:14px;padding-bottom:14px;
  }
  .brand{display:flex;align-items:center;gap:10px;font-family:'Fraunces',serif;font-weight:600;font-size:1.15rem;}
  .brand img{width:34px;height:34px;border-radius:50%;}
  nav ul{list-style:none;display:flex;gap:26px;font-size:0.95rem;font-weight:500;}
  .brand{text-decoration:none;color:var(--ink);}
  nav a.active{color:var(--hotpink);}
  nav a{text-decoration:none;color:var(--ink-soft);transition:color .2s;}
  nav a:hover{color:var(--hotpink);}
  .nav-toggle{display:none;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--magenta);}

  /* HERO — split motif from the logo */
  .hero{
    position:relative;overflow:hidden;
    background:linear-gradient(90deg, var(--white) 0%, var(--white) 50%, var(--blush) 50%, var(--blush) 100%);
  }
  .hero-grid{
    display:grid;grid-template-columns:1.1fr 0.9fr;align-items:center;gap:40px;
    padding:88px 24px 96px;max-width:1080px;margin:0 auto;
  }
  .eyebrow{
    display:inline-block;font-size:0.8rem;font-weight:600;letter-spacing:0.08em;
    text-transform:uppercase;color:var(--hotpink);margin-bottom:16px;
  }
  .hero h1{font-size:clamp(2.1rem,4.2vw,3.1rem);line-height:1.12;margin-bottom:20px;}
  .hero h1 em{font-style:italic;color:var(--hotpink);}
  .hero p.lede{font-size:1.1rem;color:var(--ink-soft);max-width:46ch;margin-bottom:32px;}
  .btn-row{display:flex;gap:14px;flex-wrap:wrap;}
  .btn{
    display:inline-block;padding:13px 26px;border-radius:100px;font-weight:600;
    font-size:0.95rem;text-decoration:none;transition:transform .15s, box-shadow .15s;
  }
  .btn-primary{background:var(--hotpink);color:var(--white);}
  .btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(255,29,142,0.55);}
  .btn-ghost{border:1.5px solid var(--softpink);color:var(--magenta);}
  .btn-ghost:hover{border-color:var(--hotpink);}
  .hero-portrait{
    border-radius:50%;overflow:hidden;background:var(--blush);
    aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;
    box-shadow:0 30px 60px -20px rgba(184,17,110,0.35);
  }
  .hero-portrait img{width:100%;height:100%;object-fit:contain;}

  section{padding:88px 0;}
  .alt{background:var(--blush);}
  .kicker{font-size:0.8rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--magenta);margin-bottom:12px;}
  h2{font-size:clamp(1.6rem,3vw,2.2rem);margin-bottom:22px;}

  /* OM MEG */
  .about-grid{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
  .about-grid p{color:var(--ink-soft);margin-bottom:16px;}
  .pillars{display:flex;flex-direction:column;gap:20px;}
  .pillar{
    background:var(--white);border:1px solid var(--line);border-radius:16px;
    padding:20px 22px;border-left:4px solid var(--hotpink);
  }
  .pillar h3{font-size:1.05rem;margin-bottom:6px;}
  .pillar p{color:var(--ink-soft);font-size:0.95rem;margin:0;}

  /* DEMOER */
  .demo-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px;}
  .demo-card{
    background:var(--white);border-radius:20px;padding:28px;
    border:1px solid var(--line);
    position:relative;overflow:hidden;
    transition:transform .2s, box-shadow .2s;
  }
  .demo-card::before{
    content:"";position:absolute;top:0;left:0;bottom:0;width:6px;
    background:linear-gradient(180deg,var(--hotpink),var(--softpink));
  }
  .demo-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px -20px rgba(184,17,110,0.35);}
  .demo-tag{display:inline-block;font-size:0.75rem;font-weight:600;color:var(--magenta);background:var(--blush);padding:4px 12px;border-radius:100px;margin-bottom:14px;}
  .demo-card h3{font-size:1.15rem;margin-bottom:8px;}
  .demo-card p{color:var(--ink-soft);font-size:0.93rem;margin-bottom:18px;}
  .demo-card a{font-weight:600;color:var(--hotpink);text-decoration:none;font-size:0.92rem;}
  .demo-card a:hover{text-decoration:underline;}

  /* CHAT-DEMO */
  .demo-card.chat-card{grid-column:span 2;}
  @media (max-width:700px){.demo-card.chat-card{grid-column:span 1;}}
  .chat-window{
    background:var(--blush);border-radius:14px;padding:16px;
    height:230px;overflow-y:auto;display:flex;flex-direction:column;gap:10px;
    margin-bottom:14px;scroll-behavior:smooth;
  }
  .msg{max-width:80%;padding:9px 14px;border-radius:16px;font-size:0.87rem;line-height:1.45;opacity:0;animation:msgIn .35s ease forwards;}
  @keyframes msgIn{from{opacity:0;transform:translateY(6px);}to{opacity:1;transform:translateY(0);}}
  .msg.bot{align-self:flex-start;background:var(--white);border:1px solid var(--line);border-bottom-left-radius:4px;}
  .msg.user{align-self:flex-end;background:var(--hotpink);color:var(--white);border-bottom-right-radius:4px;}
  .typing{align-self:flex-start;display:flex;gap:4px;padding:10px 14px;background:var(--white);border:1px solid var(--line);border-radius:16px;border-bottom-left-radius:4px;opacity:0;animation:msgIn .3s ease forwards;}
  .typing span{width:6px;height:6px;border-radius:50%;background:var(--softpink);animation:blink 1.1s infinite ease-in-out;}
  .typing span:nth-child(2){animation-delay:.15s;}
  .typing span:nth-child(3){animation-delay:.3s;}
  @keyframes blink{0%,80%,100%{opacity:.3;}40%{opacity:1;}}
  .chat-replay{
    display:inline-flex;align-items:center;gap:8px;background:var(--white);
    border:1.5px solid var(--softpink);color:var(--magenta);font-weight:600;
    font-size:0.88rem;padding:9px 18px;border-radius:100px;cursor:pointer;transition:border-color .2s;
  }
  .chat-replay:hover{border-color:var(--hotpink);}

  /* SPILL-DEMO (iframe) */
  .game-frame-wrap{
    border-radius:14px;overflow:hidden;border:1px solid var(--line);
    margin-bottom:14px;background:var(--blush);
  }
  .game-frame-wrap iframe{width:100%;height:340px;border:none;display:block;}
  .game-links{display:flex;gap:12px;align-items:center;flex-wrap:wrap;}

  /* RESSURSER */
  .res-list{list-style:none;display:flex;flex-direction:column;}
  .res-list li{
    display:flex;justify-content:space-between;align-items:center;gap:16px;
    padding:20px 0;border-bottom:1px solid var(--line);
  }
  .res-list li:first-child{border-top:1px solid var(--line);}
  .res-list .res-name{font-weight:600;font-size:1.02rem;}
  .res-list .res-desc{color:var(--ink-soft);font-size:0.9rem;margin-top:4px;}
  .res-list a.res-link{white-space:nowrap;font-weight:600;color:var(--magenta);text-decoration:none;font-size:0.9rem;}
  .res-list a.res-link:hover{color:var(--hotpink);}

  /* KONTAKT */
  .contact-box{
    background:linear-gradient(120deg,var(--hotpink),var(--magenta));
    border-radius:24px;padding:56px;color:var(--white);
    display:grid;grid-template-columns:1.2fr 1fr;gap:40px;align-items:center;
  }
  .contact-box h2{color:var(--white);}
  .contact-box p{color:rgba(255,255,255,0.9);margin-bottom:0;}
  .contact-links{display:flex;flex-direction:column;gap:14px;}
  .contact-links a{
    background:rgba(255,255,255,0.15);border:1px solid rgba(255,255,255,0.4);
    border-radius:14px;padding:14px 18px;text-decoration:none;color:var(--white);
    font-weight:600;font-size:0.95rem;transition:background .2s;
  }
  .contact-links a:hover{background:rgba(255,255,255,0.28);}


  /* KURS OG FOREDRAG */
  .kurs-intro{color:var(--ink-soft);max-width:62ch;margin-bottom:40px;font-size:1.05rem;}
  .series-card{
    background:var(--white);border-radius:24px;padding:36px;border:1px solid var(--line);
    margin-bottom:28px;box-shadow:0 20px 40px -28px rgba(184,17,110,0.35);
  }
  .series-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:26px;}
  .series-head h3{font-size:1.5rem;margin-bottom:6px;}
  .series-head p{color:var(--ink-soft);max-width:56ch;}
  .meta{display:flex;gap:8px;flex-wrap:wrap;}
  .meta span{font-size:0.78rem;font-weight:600;color:var(--magenta);background:var(--blush);padding:5px 12px;border-radius:100px;white-space:nowrap;}
  .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;counter-reset:step;}
  .step{position:relative;background:var(--blush);border-radius:18px;padding:24px 22px 22px;}
  .step::before{
    counter-increment:step;content:counter(step);
    position:absolute;top:-14px;left:22px;width:30px;height:30px;border-radius:50%;
    background:var(--hotpink);color:var(--white);font-weight:700;font-size:0.9rem;
    display:flex;align-items:center;justify-content:center;
  }
  .step h4{font-family:'Fraunces',serif;font-weight:500;font-size:1.08rem;margin:6px 0 8px;}
  .step p{color:var(--ink-soft);font-size:0.92rem;}
  .offer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:22px;margin-bottom:56px;}
  .offer{background:var(--white);border:1px solid var(--line);border-radius:20px;padding:26px;display:flex;flex-direction:column;}
  .offer h3{font-size:1.12rem;margin-bottom:8px;}
  .offer p{color:var(--ink-soft);font-size:0.93rem;margin-bottom:16px;flex:1;}
  .offer .meta span{background:var(--blush);}
  .quote{
    position:relative;display:grid;grid-template-columns:auto 1fr;gap:28px;align-items:start;
    background:var(--white);border-radius:24px;padding:40px 44px;margin-bottom:48px;
    border:1px solid var(--line);
  }
  .quote-mark{font-family:'Fraunces',serif;font-size:5rem;line-height:0.8;color:var(--hotpink);}
  .quote blockquote{font-family:'Fraunces',serif;font-size:1.15rem;line-height:1.5;margin-bottom:18px;}
  .quote cite{font-style:normal;font-weight:600;font-size:0.95rem;}
  .quote cite span{display:block;font-weight:400;color:var(--ink-soft);font-size:0.88rem;}
  .placeholder{background:#FFF6D6;border:1.5px dashed #E8B931;border-radius:8px;padding:2px 8px;}
  .clients{text-align:center;}
  .clients .kicker{display:block;margin-bottom:18px;}
  .client-row{display:flex;justify-content:center;flex-wrap:wrap;gap:12px 14px;margin-bottom:36px;}
  .client-row span{background:var(--white);border:1px solid var(--line);border-radius:100px;padding:10px 20px;font-weight:600;font-size:0.92rem;color:var(--ink);}
  @media (max-width:820px){
    .steps{grid-template-columns:1fr;gap:28px;}
    .series-card{padding:28px 22px;}
    .quote{grid-template-columns:1fr;padding:30px 24px;gap:6px;}
  }


  .podcast{display:grid;grid-template-columns:0.9fr 1.1fr;gap:36px;align-items:center;background:var(--white);border:1px solid var(--line);border-radius:24px;padding:32px;margin-bottom:48px;}
  .podcast figure{margin:0;}
  .podcast img{width:100%;border-radius:18px;box-shadow:0 20px 40px -24px rgba(184,17,110,0.45);}
  .podcast h3{font-size:1.4rem;margin:4px 0 10px;}
  .podcast p{color:var(--ink-soft);margin-bottom:18px;}
  .podcast iframe{width:100%;height:152px;border:0;border-radius:12px;}
  @media (max-width:820px){.podcast{grid-template-columns:1fr;padding:22px;gap:20px;}}

  footer{padding:36px 0;text-align:center;color:var(--ink-soft);font-size:0.85rem;}

  @media (max-width:820px){
    nav.wrap{flex-wrap:wrap;gap:10px;}
    nav ul{gap:16px;flex-wrap:wrap;font-size:0.88rem;width:100%;}
    .hero-grid{grid-template-columns:1fr;padding-top:56px;}
    .hero-portrait{max-width:260px;margin:0 auto;order:-1;}
    .about-grid{grid-template-columns:1fr;}
    .contact-box{grid-template-columns:1fr;padding:36px 24px;text-align:left;}
  }

  /* SIDEHODE PÅ UNDERSIDER */
  .page-hero{background:linear-gradient(90deg,var(--white) 0%,var(--white) 50%,var(--blush) 50%,var(--blush) 100%);padding:72px 0 64px;border-bottom:1px solid var(--line);}
  .page-hero h1{font-size:clamp(2rem,4vw,2.8rem);line-height:1.15;margin-bottom:14px;}
  .page-hero h1 em{font-style:italic;color:var(--hotpink);}
  .page-hero p{color:var(--ink-soft);font-size:1.08rem;max-width:58ch;}
  .crumb{font-size:0.85rem;margin-bottom:18px;color:var(--ink-soft);}
  .crumb a{color:var(--magenta);text-decoration:none;}

  /* DØRÅPNERE PÅ FORSIDEN */
  .portal-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;}
  .portal{
    position:relative;display:flex;flex-direction:column;gap:10px;
    background:var(--white);border:1px solid var(--line);border-radius:24px;
    padding:34px 32px 30px;text-decoration:none;color:var(--ink);overflow:hidden;
    transition:transform .2s, box-shadow .2s, border-color .2s;
  }
  .portal::after{
    content:"";position:absolute;right:-60px;top:-60px;width:160px;height:160px;border-radius:50%;
    background:linear-gradient(90deg,var(--blush) 50%,var(--softpink) 50%);opacity:.7;transition:transform .3s;
  }
  .portal:hover{transform:translateY(-4px);border-color:var(--softpink);box-shadow:0 24px 44px -24px rgba(184,17,110,0.4);}
  .portal:hover::after{transform:scale(1.15);}
  .portal .num{font-family:'Fraunces',serif;font-size:0.95rem;color:var(--hotpink);font-weight:600;position:relative;z-index:1;}
  .portal h3{font-size:1.55rem;position:relative;z-index:1;}
  .portal p{color:var(--ink-soft);font-size:0.97rem;flex:1;position:relative;z-index:1;}
  .portal .go{font-weight:600;color:var(--magenta);font-size:0.95rem;margin-top:8px;}
  .portal:hover .go{color:var(--hotpink);}
  .portal.featured{background:linear-gradient(120deg,var(--hotpink),var(--magenta));color:var(--white);border:none;}
  .portal.featured p,.portal.featured .go,.portal.featured .num{color:rgba(255,255,255,0.92);}
  .portal.featured::after{background:rgba(255,255,255,0.14);opacity:1;}
  .front-quote{padding-top:0;}
  @media (max-width:820px){.portal-grid{grid-template-columns:1fr;}}
  #kontakt{padding-top:48px;}
  .front-quote{padding-bottom:0;}

  /* SPILLBIBLIOTEK */
  .game-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:26px;margin-bottom:40px;}
  .game{background:var(--white);border:1px solid var(--line);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s, box-shadow .2s;}
  .game:hover{transform:translateY(-4px);box-shadow:0 24px 44px -24px rgba(184,17,110,0.4);}
  .game-thumb{display:block;aspect-ratio:16/10;overflow:hidden;border-bottom:1px solid var(--line);background:var(--blush);}
  .game-thumb img{width:100%;height:100%;object-fit:cover;object-position:top;transition:transform .4s;}
  .game:hover .game-thumb img{transform:scale(1.03);}
  .game-body{padding:24px 26px 26px;display:flex;flex-direction:column;flex:1;}
  .game-body .demo-tag{align-self:flex-start;}
  .game-body h3{font-size:1.3rem;margin-bottom:8px;}
  .game-body p{color:var(--ink-soft);font-size:0.95rem;margin-bottom:16px;flex:1;}
  .game-body .meta{margin-bottom:20px;}
  .game-btn{align-self:flex-start;padding:11px 22px;}
  .maker-box{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:var(--white);border:1.5px dashed var(--softpink);border-radius:22px;padding:28px 32px;}
  .maker-box h3{font-size:1.25rem;margin-bottom:6px;}
  .maker-box p{color:var(--ink-soft);max-width:56ch;}
  @media (max-width:820px){.game-grid{grid-template-columns:1fr;}}
  #podcast .podcast{margin-bottom:0;}

  /* PORTRETT PÅ OM MEG */
  .page-hero.with-photo .wrap{display:grid;grid-template-columns:1fr 280px;gap:48px;align-items:center;}
  .portrett{width:280px;height:280px;border-radius:50%;object-fit:cover;border:6px solid var(--white);box-shadow:0 30px 60px -24px rgba(184,17,110,0.45);}
  @media (max-width:820px){
    .page-hero.with-photo .wrap{grid-template-columns:1fr;gap:28px;}
    .portrett{width:200px;height:200px;order:-1;}
  }
  .game-grid .game:first-child{grid-column:1 / -1;flex-direction:row;}
  .game-grid .game:first-child .game-thumb{flex:0 0 52%;aspect-ratio:auto;border-bottom:none;border-right:1px solid var(--line);}
  @media (max-width:820px){.game-grid .game:first-child{flex-direction:column;}.game-grid .game:first-child .game-thumb{aspect-ratio:16/10;border-right:none;border-bottom:1px solid var(--line);}}
  .contact-links a{display:flex;align-items:center;gap:12px;}
  .contact-links a svg{flex:0 0 auto;opacity:.95;}
  .contact-links a .ext{margin-left:auto;opacity:.8;}
