
  @font-face{
    font-family:"Bricolage Grotesque";
    src:url("fonts/bricolage-grotesque.woff2") format("woff2");
    font-weight:200 800;
    font-stretch:75% 100%;
    font-style:normal;
    font-display:swap;
  }
  :root{
    --ground:#E0D7CC;
    --surface:#FAFAFA;
    --surface-2:#E9E9EB;
    --ink:#1C1B19;
    --ink-soft:#5F5C54;
    --hairline:#D9D9DC;
    --accent:#6E25E5;
    --accent-ink:#FFFFFF;
    --accent-wash:rgba(110,37,229,0.12);
    --shadow:0 1px 2px rgba(20,18,14,.05), 0 18px 44px -20px rgba(20,18,14,.22);
    --glow:rgba(95,98,112,0.09);
    --glow-2:rgba(66,31,245,0.05);
    --glow-warm:rgba(140,142,150,0.10);
    --glass:rgba(255,255,255,0.55);
    --glass-border:rgba(255,255,255,0.65);
    --glass-hairline:rgba(90,80,60,0.16);
    /* standardized glass values — single source of truth for every
       frosted-glass surface on the site */
    --blur:3px;
    --glass-sat:1;
    --glass-light-angle:135deg;
    --glass-light:0.6;
    --glass-disp-1:rgba(130,185,255,.55);
    --glass-disp-2:rgba(255,165,110,.45);

    --wd-bg:#101010;
    --wd-card-a:#232323;
    --wd-card-b:#101010;
    --wd-border:#33322f;
    --wd-border-hover:#5a5a5a;
    --wd-ink:#F2F2F2;
    --wd-ink-soft:rgba(242,242,242,.55);
    --wd-ink-faint:rgba(242,242,242,.28);
    --wd-outline-bg:rgba(242,242,242,.04);
    --wd-outline-border:rgba(242,242,242,.06);
    --wd-chip-bg:rgba(242,242,242,.05);
  }
  @media (prefers-color-scheme:dark){
    :root:not([data-theme="light"]){
      --ground:#181716;
      --surface:#211F1D;
      --surface-2:#2C2A26;
      --ink:#F1EFEA;
      --ink-soft:#A8A399;
      --hairline:#39352F;
      --accent:#7C93FF;
      --accent-ink:#0A0F22;
      --accent-wash:rgba(124,147,255,0.16);
      --shadow:0 1px 2px rgba(0,0,0,.4), 0 20px 50px -20px rgba(0,0,0,.6);
      --glow:rgba(124,147,255,0.16);
      --glow-2:rgba(124,147,255,0.09);
      --glow-warm:rgba(150,120,70,0.14);
      --glass:rgba(40,38,34,0.55);
      --glass-border:rgba(255,255,255,0.12);
      --glass-hairline:rgba(255,255,255,0.09);
      --blur:3px;
    }
  }
  :root[data-theme="dark"]{
    --ground:#181716;
    --surface:#211F1D;
    --surface-2:#2C2A26;
    --ink:#F1EFEA;
    --ink-soft:#A8A399;
    --hairline:#39352F;
    --accent:#7C93FF;
    --accent-ink:#0A0F22;
    --accent-wash:rgba(124,147,255,0.16);
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 20px 50px -20px rgba(0,0,0,.6);
    --glow:rgba(124,147,255,0.16);
    --glow-2:rgba(124,147,255,0.09);
    --glow-warm:rgba(150,120,70,0.14);
    --glass:rgba(40,38,34,0.55);
    --glass-border:rgba(255,255,255,0.12);
    --glass-hairline:rgba(255,255,255,0.09);
    --blur:3px;
  }

  *{box-sizing:border-box}
  html{scroll-behavior:smooth}
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
  }
  body{
    margin:0;
    background:var(--ground);
    background-attachment:fixed;
    color:var(--ink);
    font-family:"Bricolage Grotesque","Hanken Grotesk",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    justify-content:safe center;
    gap:14px;
    padding:clamp(14px,4vw,52px);
  }
  a{color:var(--accent)}

  .console{
    width:min(880px,100%);
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
    display:flex;
    flex-direction:column;
    position:relative;
  }
  .console::before,.console::after{ display:none; }

  /* identity */
  .id{
    display:flex;
    align-items:center;
    gap:14px;
    padding:18px 20px;
    border-bottom:1px solid var(--hairline);
  }
  .id .portrait{
    width:52px;height:52px;flex:none;
    border-radius:12px;
    object-fit:cover;
    border:1px solid var(--hairline);
    background:var(--surface-2);
  }
  .id .who{min-width:0}
  .id .name{
    font-family:"Bricolage Grotesque","Chivo","Helvetica Neue",Arial,sans-serif;
    font-weight:700;
    font-size:1.0625rem;
    letter-spacing:-.012em;
  }
  .id .role{font-size:.875rem;color:var(--ink-soft);margin-top:1px}
  .id .meta{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
    font-size:.625rem;
    letter-spacing:.09em;
    text-transform:uppercase;
    color:var(--ink-soft);
    margin-top:7px;
    display:flex;align-items:center;gap:7px;
  }
  .dot{
    width:6px;height:6px;border-radius:50%;
    background:var(--accent);
    box-shadow:0 0 0 3px var(--accent-wash);
    animation:pulse 2.4s ease-in-out infinite;
  }
  .id .tag{
    margin-left:auto;
    align-self:flex-start;
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
    font-size:.5625rem;
    line-height:1.45;
    letter-spacing:.05em;
    text-transform:uppercase;
    color:var(--ink-soft);
    text-align:right;
    max-width:118px;
  }

  /* conversation — plain text on the glass hero card; chips + composer sit
     below it, also inside the card */
  .convo{
    display:flex;
    flex-direction:column;
    gap:14px;
    color:var(--ink);
    font-family:"Bricolage Grotesque","Hanken Grotesk",sans-serif;
    font-weight:500;
    font-size:clamp(1rem,1.4vw,1.25rem);
    line-height:1.5;
    height:min(46vh,420px);
    overflow-y:auto;
    overflow-x:hidden;
    scroll-behavior:smooth;
    text-align:left;
  }
  .msg{display:block;max-width:100%}
  .msg .av{display:none}
  .msg.you{text-align:right}
  .col{display:flex;flex-direction:column;min-width:0;width:100%}
  .bubble{
    padding:0;
    border-radius:0;
    background:transparent;
    color:inherit;
    font-size:inherit;
    overflow-wrap:anywhere;
  }
  .msg.you .bubble{font-weight:700}
  .bubble p{margin:0 0 .55em}
  .bubble p:last-child{margin-bottom:0}
  .bubble ul{margin:.2em 0;padding-left:1.15em}
  .bubble li{margin:.15em 0}
  .bubble a{color:var(--accent);text-underline-offset:2px}

  .typing{display:inline-flex;gap:4px;align-items:center;padding:2px 0}
  .typing i{width:5px;height:5px;border-radius:50%;background:var(--ink-soft);animation:bounce 1.2s ease-in-out infinite}
  .typing i:nth-child(2){animation-delay:.15s}
  .typing i:nth-child(3){animation-delay:.3s}

  .cards{display:flex;flex-direction:column;gap:8px;margin-top:10px}
  .card{
    border:1px solid var(--hairline);
    border-radius:11px;
    overflow:hidden;
    display:grid;
    grid-template-columns:158px 1fr;
    background:var(--surface);
  }
  .card .shot{
    background:var(--surface-2);
    display:grid;place-items:center;
    min-height:150px;
  }
  .card .shot img{width:100%;height:100%;object-fit:contain;padding:10px}
  .card .body{padding:12px 14px;display:flex;flex-direction:column;gap:6px;min-width:0}
  .card .kick{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.5625rem;letter-spacing:.1em;text-transform:uppercase;color:var(--ink-soft);
  }
  .card h4{font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;font-weight:700;font-size:.9375rem;margin:0;letter-spacing:-.01em}
  .card p{margin:0;font-size:.8125rem;color:var(--ink-soft);line-height:1.5}
  .card .cs{
    margin-top:auto;
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.625rem;letter-spacing:.07em;text-transform:uppercase;
    color:var(--accent);text-decoration:none;padding-top:4px;
  }
  .card .cs:hover{text-decoration:underline}
  @media (max-width:520px){
    .card{grid-template-columns:1fr}
  }

  /* composer */
  .composer{
    border-top:0;
    margin-top:6px;
    padding:0 2px;
    display:flex;gap:10px;align-items:center;
    flex:none;
    position:relative;
  }
  .composer textarea{
    flex:1;resize:none;
    border:1px solid rgba(255,255,255,.5);
    border-radius:999px;
    padding:13px 60px 13px 20px;
    font-family:inherit;font-size:.9375rem;line-height:1.4;
    background:rgba(255,255,255,.3);color:var(--ink);
    min-height:48px;max-height:140px;
  }
  .composer textarea::placeholder{color:var(--ink-soft)}
  .composer textarea:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:transparent}
  .btn{
    font-family:inherit;
    width:38px;height:38px;flex:none;padding:0;
    border-radius:50%;border:1px solid transparent;
    background:var(--accent);color:#fff;
    cursor:pointer;white-space:nowrap;
    display:grid;place-items:center;
    transition:filter .15s ease;
    position:absolute;right:7.5px;top:50%;transform:translateY(-50%);
  }
  .btn:hover:not(:disabled){filter:brightness(1.12)}
  .btn svg{ width:20px;height:20px;display:block }
  .btn:disabled{opacity:.4;cursor:default}
  .btn.stop{background:var(--ink);color:var(--ground);border-color:transparent}

  .hint{
    padding:2px 18px 14px;
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.5625rem;letter-spacing:.05em;color:var(--ink-soft);
    text-transform:uppercase;
    flex:none;
  }

  .below{
    width:min(880px,100%);
    display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;
    margin-top:18px;
    padding:18px 6px 6px;
    border-top:1px solid var(--hairline);
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.625rem;letter-spacing:.08em;text-transform:uppercase;color:var(--ink-soft);
  }
  .below a{color:var(--ink-soft);text-decoration:none}
  .below a:hover{color:var(--accent)}
  .below .arrow{color:var(--accent)}

  /* selected work */
  /* shared huge display heading, sits above its section-card on the
     beige page background — "My Work" / "How Mature are you?" / "Let's talk" */
  .section-heading{
    position:relative;z-index:1;
    color:var(--ink);font-weight:800;letter-spacing:-.01em;
    font-size:clamp(2.75rem,9vw,8rem);line-height:1;
    margin:0 0 -0.4em;
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
  }
  h2.section-heading{ margin-left:32px; }
  .work{
    width:min(1300px,92vw);
    margin-inline:auto;
    margin-top:-14px;
    padding-bottom:clamp(48px,8vw,88px);
    scroll-margin-top:24px;
  }
  .work-inner{
    width:100%;
    padding:clamp(28px,5vw,64px);
  }
  .grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:clamp(28px,5vw,64px) clamp(24px,6vw,88px);
  }
  .pcard{ position:relative; }
  .pcard-card{
    display:flex;flex-direction:column;gap:20px;
    text-decoration:none;color:var(--ink);
  }
  .pcard-thumb{
    position:relative;overflow:hidden;
    border-radius:24px;
    aspect-ratio:1280/830;
    box-shadow:0 24px 48px -22px rgba(20,18,14,.28);
    transition:box-shadow .35s cubic-bezier(.23,1,.32,1);
  }
  .pcard-thumb img{
    position:absolute;inset:0;width:100%;height:100%;
    object-fit:cover;display:block;
  }
  .pcard-card:hover .pcard-thumb{ box-shadow:0 32px 58px -24px rgba(20,18,14,.36); }
  .pcard-body{display:flex;flex-direction:column;gap:16px}
  .pcard-title-row h3{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-weight:800;font-size:clamp(1.375rem,2.2vw,2rem);margin:0 0 4px;
    letter-spacing:-.01em;color:var(--ink);
  }
  .pcard-kick{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-weight:800;font-size:1rem;color:var(--ink);margin:0;
  }
  .pcard-desc{font-size:1rem;line-height:1.6;color:var(--ink);max-width:62ch;margin:0}
  .pcard-more{
    font-size:clamp(1rem,1.6vw,1.5rem);color:var(--accent);font-weight:500;
    transition:text-decoration-color .2s ease;
    text-decoration:underline;text-decoration-color:transparent;
    text-underline-offset:3px;
  }
  .pcard-card:hover .pcard-more,.pcard-card:focus-visible .pcard-more{ text-decoration-color:currentColor; }
  @media (max-width:820px){
    .grid{grid-template-columns:1fr}
  }

  /* case study detail (in-page, no redirect) — "spotlight" layout */
  .spot{
    position:relative;
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    background:
      radial-gradient(ellipse 1200px 600px at 50% -10%, rgba(255,255,255,.05), transparent 60%),
      var(--wd-bg);
    color:var(--wd-ink);
    min-height:100vh;min-height:100dvh;
    padding:clamp(78px,11vw,108px) 0 clamp(88px,10vw,128px);
  }
  /* top-left home logo/button, matching the pattern used on every other page */
  .spot-logo{
    position:absolute;
    top:clamp(18px,3vw,32px);
    left:clamp(18px,4vw,40px);
    width:44px;height:44px;
    z-index:3;
    color:var(--wd-ink);
    opacity:.92;
    transition:opacity .15s ease;
    display:block;
  }
  .spot-logo:hover{ opacity:1; }
  .spot-logo svg{ display:block;width:100%;height:100%; }
  /* shared dark "glass" system for case-study pages, matching the Figma
     Continuous Discovery redesign — big heading overlapping a frosted card */
  .spot-block{ display:flex;flex-direction:column; }
  .spot-heading{
    position:relative;z-index:1;
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;font-weight:800;
    font-size:clamp(2.5rem,7vw,6rem);line-height:.98;
    letter-spacing:-.02em;text-wrap:balance;color:var(--wd-ink);
    text-shadow:0 6px 30px rgba(66,31,245,.24),0 -6px 24px rgba(255,120,40,.10);
    margin:0 0 -0.35em;
    margin-left:32px;
  }
  .spot-card{
    position:relative;z-index:2;
    background:rgba(255,255,255,.1);
    border-radius:32px;
    -webkit-backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat));
    backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
    padding:clamp(28px,5vw,64px);
  }
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .spot-card{ background:rgba(255,255,255,.14); }
  }
  #detail:focus{outline:none}
  .spot-inner{
    width:min(1040px,92vw);
    margin-inline:auto;
    display:flex;flex-direction:column;gap:52px;
  }
  .spot-heroimg img{
    width:100%;height:auto;display:block;
    border-radius:32px;
  }
  .spot-back{
    align-self:flex-start;
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.08em;text-transform:uppercase;
    color:var(--wd-ink-soft);text-decoration:none;
    background:none;border:0;padding:0;cursor:pointer;
  }
  .spot-back:hover{color:var(--wd-ink)}
  .spot-hero{display:flex;flex-direction:column}
  .spot-eyebrow{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wd-ink-faint);
    margin-bottom:14px;
  }
  .spot-summary{font-size:1.125rem;line-height:1.6;font-weight:700;color:var(--wd-ink);margin:0;max-width:58ch}
  .spot-summary-body{font-size:1rem;line-height:1.7;font-weight:400;color:var(--wd-ink-soft);margin:12px 0 0;max-width:62ch}

  .spot-cols{display:grid;grid-template-columns:.85fr 1.6fr;gap:64px}
  .spot-facts{display:flex;flex-direction:column;gap:32px}
  .spot-fact-label{
    font-family:"Bricolage Grotesque",Arial,sans-serif;
    font-size:.8125rem;font-weight:600;letter-spacing:.01em;color:var(--wd-ink);margin-bottom:6px;
  }
  .spot-fact-body{font-size:.875rem;line-height:1.55;color:var(--wd-ink-soft);font-weight:300}
  .spot-fact-body b{color:rgba(242,242,242,.9);font-weight:500}

  .spot-right{display:flex;flex-direction:column;gap:32px}
  .spot-right section{display:flex;flex-direction:column;gap:8px}
  .spot-right section h2{
    font-family:"Bricolage Grotesque",Arial,sans-serif;font-weight:600;
    font-size:.8125rem;margin:0;color:var(--wd-ink);
  }
  .spot-right section p{margin:0;font-size:.9375rem;line-height:1.7;color:var(--wd-ink-soft);font-weight:300;max-width:64ch}
  .spot-right section p strong{font-weight:700;color:var(--wd-ink)}
  .spot-right section figure.sec-img{margin:8px 0 4px}
  .spot-right section figure.sec-img img{
    width:100%;height:auto;display:block;
    border:1px solid var(--wd-border);border-radius:14px;
  }
  .spot-right section figure.sec-img figcaption{
    margin-top:8px;font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.04em;color:var(--wd-ink-faint);
  }

  .spot-extlink{
    align-self:flex-start;
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.06em;text-transform:uppercase;
    border:1px solid var(--wd-border);border-radius:100px;padding:10px 18px;
    color:var(--wd-ink);text-decoration:none;background:var(--wd-chip-bg);
  }
  .spot-extlink:hover{border-color:var(--wd-border-hover)}

  .spot-stats{
    display:flex;flex-direction:column;gap:16px;
  }
  .spot-stat-row{display:flex;flex-wrap:wrap;gap:28px 56px}
  .spot-stat{flex:1 1 140px;min-width:120px}
  .spot-stat-v{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-weight:800;letter-spacing:-.02em;color:var(--wd-ink);
    font-size:clamp(2.5rem,6vw,4.5rem);line-height:1;margin-bottom:10px;
  }
  .spot-stat-l{font-size:.9375rem;color:var(--wd-ink);font-weight:600;line-height:1.4;max-width:22ch}

  .spot-shots{display:flex;flex-direction:column;gap:40px}
  .spot-shot img{
    width:100%;height:auto;display:block;
    border:1px solid var(--wd-border);border-radius:16px;
  }
  .spot-shot figcaption{
    display:flex;align-items:baseline;justify-content:space-between;gap:10px;
    margin-top:10px;
    font-family:"Bricolage Grotesque",Arial,sans-serif;
    font-size:.8125rem;color:var(--wd-ink-faint);
  }
  .spot-shot-n{color:var(--wd-ink-soft);font-weight:600;margin-right:4px}
  .spot-shot-tag{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.625rem;letter-spacing:.08em;text-transform:uppercase;
    background:var(--wd-chip-bg);border-radius:100px;padding:4px 10px;color:var(--wd-ink-faint);
    flex:none;
  }

  .spot-foot{
    margin-top:8px;padding-top:28px;border-top:1px solid var(--wd-border);
    display:flex;flex-wrap:wrap;gap:14px 20px;align-items:center;justify-content:space-between;
  }
  .spot-foot .grp{display:flex;gap:20px;flex-wrap:wrap}
  .spot-foot a,.spot-foot button{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.06em;text-transform:uppercase;
    background:none;border:0;padding:0;cursor:pointer;color:var(--wd-ink-soft);text-decoration:none;
  }
  .spot-foot a:hover,.spot-foot button:hover{color:var(--wd-ink)}
  .spot-foot .next{color:var(--wd-ink)}

  .spot-more{
    display:flex;flex-direction:column;gap:16px;
  }
  .spot-more-top{
    display:flex;align-items:center;justify-content:space-between;gap:16px;
  }
  .spot-more-h{
    font-family:"Bricolage Grotesque","IBM Plex Mono",ui-monospace,monospace;
    font-size:.6875rem;letter-spacing:.14em;text-transform:uppercase;color:var(--wd-ink-faint);
  }
  .spot-more-nav{ display:flex;gap:8px;flex:none; }
  .spot-more-arrow{
    width:34px;height:34px;flex:none;
    display:grid;place-items:center;
    border-radius:50%;
    border:1px solid var(--wd-border);
    background:var(--wd-chip-bg);
    color:var(--wd-ink);
    cursor:pointer;
    transition:border-color .25s ease, background .25s ease, opacity .25s ease;
  }
  .spot-more-arrow svg{ width:16px;height:16px;display:block; }
  .spot-more-arrow:hover:not(:disabled){ border-color:var(--wd-border-hover); }
  .spot-more-arrow:disabled{ opacity:.3;cursor:default; }
  .spot-more-track{
    display:flex;gap:16px;
    overflow-x:auto;
    scroll-snap-type:x proximity;
    -webkit-overflow-scrolling:touch;
    padding:4px;margin:-4px -4px 0;
    scrollbar-width:none;
    -ms-overflow-style:none;
  }
  .spot-more-track::-webkit-scrollbar{ display:none; }
  .spot-more-card{
    flex:0 0 clamp(216px,62vw,286px);
    scroll-snap-align:start;
    display:flex;flex-direction:column;gap:10px;
    text-decoration:none;color:var(--wd-ink);
    background:linear-gradient(190deg,var(--wd-card-a),var(--wd-card-b));
    border:1px solid var(--wd-border);
    border-radius:14px;
    padding:10px 10px 14px;
    transition:border-color .3s ease, transform .3s cubic-bezier(.23,1,.32,1);
  }
  .spot-more-card:hover{ border-color:var(--wd-border-hover); transform:translateY(-3px); }
  .spot-more-shot{
    border-radius:9px;overflow:hidden;
    border:1px solid var(--wd-border);background:#fff;
    aspect-ratio:1280/830;
  }
  .spot-more-shot img{ width:100%;height:100%;object-fit:cover;display:block; }
  .spot-more-title{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-weight:600;font-size:.9375rem;letter-spacing:-.01em;padding:0 2px;
  }
  .spot-more-kick{ font-size:.75rem;color:var(--wd-ink-soft);line-height:1.4;padding:0 2px; }

  /* "Let's talk" CTA on case-study pages — dark-theme twin of the homepage
     contact section, same copy and hand-drawn cue, reused verbatim */
  .spot-cta-inner{ display:flex;flex-direction:column;gap:4px;position:relative; }
  .spot-cta-p{ margin:0 0 8px;font-weight:700;font-size:clamp(1.1875rem,2.3vw,2rem);line-height:1.4;color:var(--wd-ink);max-width:56ch; }
  .spot-cta-cue{
    display:inline-flex;flex-direction:column;align-items:center;gap:2px;
    align-self:flex-start;margin:16px 0 0;
    transform:rotate(-11deg);
    font-family:"Borel","Bricolage Grotesque",cursive;
    font-size:clamp(1.125rem,2vw,1.5rem);line-height:1.15;
    text-align:center;text-transform:none;letter-spacing:0;
    color:var(--accent);text-decoration:none;
    cursor:default;
  }
  .spot-cta-cue:hover{opacity:1}
  .spot-cta-cue-arrow{width:26px;height:auto;color:var(--accent);animation:bounce 1.9s ease-in-out infinite}
  .spot-cta-actions{ display:flex;flex-wrap:wrap;gap:14px;margin-top:18px; }
  .spot-cta-btn{
    display:inline-flex;align-items:center;justify-content:center;
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;font-weight:800;
    font-size:clamp(1.0625rem,1.8vw,1.375rem);letter-spacing:-.01em;
    padding:16px 30px;border-radius:999px;
    background:rgba(255,255,255,.16);color:var(--wd-ink);text-decoration:none;border:1px solid transparent;
    transition:background .2s ease;
  }
  .spot-cta-btn:hover{ background:rgba(255,255,255,.26); }
  @media (max-width:680px){
    .spot-cta-cue{ align-self:center;margin:8px 0 0;transform:rotate(-6deg); }
    .spot-cta-actions{ justify-content:center; }
  }

  body[data-view="detail"]{background:var(--wd-bg);padding:0}
  body[data-view="detail"] .hero,
  body[data-view="detail"] .scroll-cue,
  body[data-view="detail"] .contact,
  body[data-view="detail"] .maturity,
  body[data-view="detail"] .work{display:none!important}
  /* footer stays visible on detail pages, recolored for the always-dark
     spotlight background regardless of the site's light/dark toggle */
  body[data-view="detail"] .below{
    width:min(1040px,92vw);
    color:var(--wd-ink-faint);
    border-top-color:rgba(255,255,255,.12);
  }
  body[data-view="detail"] .below a{color:var(--wd-ink-soft)}
  body[data-view="detail"] .below a:hover{color:var(--wd-ink)}

  /* ---------- frosted glass pass ----------
     Recreates Figma's native "Glass" effect (Light -45deg/80%, Refraction 100,
     Depth 26, Dispersion 82, Frost 7, Splay 0) with backdrop-filter + two
     pseudo-elements: ::before = the diagonal light sheen, ::after = a thin
     chromatic (dispersion) edge where the glass bends the light passing
     through it. Applied to every glass surface on the site. */
  .card,.detail .facts,.detail .hero,.detail .extlink,.section-card{
    position:relative;
    isolation:isolate;
    background:var(--glass);
    -webkit-backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat)) contrast(1.04);
    backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat)) contrast(1.04);
    border-color:var(--glass-border);
    box-shadow:inset 0 1px 0 var(--glass-border);
  }
  .card::before,.detail .facts::before,.detail .hero::before,.detail .extlink::before,.section-card::before{
    content:"";position:absolute;inset:0;border-radius:inherit;z-index:0;
    background:linear-gradient(var(--glass-light-angle),
      rgba(255,255,255,var(--glass-light)) 0%,
      rgba(255,255,255,0) 55%);
    mix-blend-mode:overlay;
    pointer-events:none;
  }
  .card::after,.detail .facts::after,.detail .hero::after,.detail .extlink::after,.section-card::after{
    content:"";position:absolute;inset:0;border-radius:inherit;z-index:0;
    padding:1px;
    background:linear-gradient(var(--glass-light-angle),
      var(--glass-disp-1) 0%, rgba(255,255,255,0) 32%,
      rgba(255,255,255,0) 68%, var(--glass-disp-2) 100%);
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    pointer-events:none;
  }
  .card{border-radius:14px}
  .detail .hero{border-radius:16px;background:var(--glass)}
  .id{border-bottom-color:var(--glass-hairline)}
  .composer{border-top-color:var(--glass-hairline)}
  .detail .facts > div{border-right-color:var(--glass-hairline)}
  .detail .foot{border-top-color:var(--glass-hairline)}
  .composer textarea{
    background:var(--glass);
    border-color:var(--glass-border);
    -webkit-backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat));
    backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat));
  }
  .btn.stop{background:var(--glass);border-color:var(--glass-border);
    -webkit-backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat));backdrop-filter:blur(var(--blur)) saturate(var(--glass-sat))}
  .detail .extlink{background:var(--glass)}
  @supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
    .card,.detail .facts,.detail .hero,.section-card{background:var(--surface)}
    .composer textarea,.btn.stop{background:var(--surface-2)}
  }

  /* section card — the big rounded glass panel shared by every homepage
     section (hero, work, ux-maturity, contact), matching the Figma design */
  .section-card{
    background:var(--glass);
    border-radius:32px;
    z-index:2;
  }

  /* ---------- scroll cue + About + Contact ---------- */
  .scroll-cue{
    display:inline-flex;flex-direction:column;align-items:center;gap:2px;
    margin:8px 0 14px;
    transform:rotate(-9deg);
    font-family:"Borel","Bricolage Grotesque",cursive;
    font-size:clamp(1.125rem,2vw,1.5rem);line-height:1.15;
    text-align:center;text-transform:none;letter-spacing:0;
    color:var(--accent);text-decoration:none;
  }
  .scroll-cue:hover{opacity:.75}
  .scroll-cue-arrow{width:26px;height:auto;color:var(--accent);animation:bounceOnly 1.9s ease-in-out infinite}

  .hero{
    position:relative;
    width:100vw;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    margin-top:calc(-1 * clamp(14px,4vw,52px));
    margin-bottom:0;
    min-height:142vh;min-height:142dvh;
    background:var(--ground);
    overflow:hidden;
  }
  .hero-logo{
    position:absolute;
    top:clamp(18px,3vw,32px);left:clamp(18px,4vw,40px);
    width:44px;height:44px;z-index:3;
    opacity:.92;
  }
  .hero-logo svg{ display:block;width:100%;height:100% }
  .hero-logo svg path{ fill:#000; }
  .hero-portrait{
    position:absolute;inset:0;
    display:flex;align-items:flex-end;justify-content:flex-end;
    z-index:1;
    overflow:hidden;
  }
  .hero-chat{
    position:absolute;z-index:2;
    left:clamp(24px,6vw,96px);
    top:clamp(96px,13vh,150px);
    width:min(720px,54vw);min-width:280px;
    display:flex;flex-direction:column;gap:0;
    margin-left:11%;
  }
  .hero-chat-eyebrow{ display:none; }
  .hero-heading{
    font-size:clamp(2.25rem,5.4vw,4.5rem);
    margin-left:32px;
  }
  .chat-frame{
    padding:clamp(24px,3.4vw,44px);
  }
  .chat-frame .console{ width:100%; }

  /* chips + composer live outside the glass card, directly on the hero
     background — only the conversation text sits inside the card */
  .hero-actions{
    display:flex;flex-direction:column;
    margin-top:clamp(16px,2.4vw,28px);
  }
  .hero-chat .scroll-cue{
    position:absolute;
    left:0;
    top:calc(90vh + 70px);
    text-align:left;
    margin:0;
    padding-left:22%;
  }

  /* CTA pill — shared by "Check now", "Email", "LinkedIn", "Download CV" */
  .contact-btn,.maturity-btn{
    display:inline-flex;align-items:center;justify-content:center;
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;font-weight:800;
    font-size:clamp(1.0625rem,1.8vw,1.375rem);letter-spacing:-.01em;
    padding:16px 30px;border-radius:999px;
    background:rgba(110,37,229,.2);color:var(--ink);text-decoration:none;border:1px solid transparent;
    transition:background .2s ease;
  }
  .contact-btn:hover,.maturity-btn:hover{ background:rgba(110,37,229,.32); }

  .maturity{ width:min(1300px,92vw);margin-inline:auto;margin-top:clamp(56px,9vw,110px); }
  .maturity-inner{ padding:clamp(28px,5vw,64px);display:flex;flex-direction:column;gap:clamp(18px,2.6vw,28px); }
  .maturity-p{ margin:0;font-weight:800;font-size:clamp(1.1875rem,2.3vw,2rem);line-height:1.4;color:var(--ink);max-width:56ch; }
  .maturity-btn{ align-self:flex-start; }
  .maturity-shot{ border-radius:24px;overflow:hidden;line-height:0; }
  .maturity-shot img{ width:100%;height:auto;display:block; }

  .j3d{
    position:relative;
    /* one continuous formula across every breakpoint (no jump at the
       mobile switch): whichever of "as tall as the viewport allows",
       "1200px tall", or "98% of the viewport width" is smallest. */
    width:min(calc(100vh * 1800 / 1605), calc(1200px * 1800 / 1605), 98vw);
    width:min(calc(100dvh * 1800 / 1605), calc(1200px * 1800 / 1605), 98vw);
    height:auto;
    aspect-ratio:1800 / 1605;
    margin-bottom:0;
    margin-right:10%;
    overflow:hidden;
    background:var(--ground);
    cursor:crosshair;
  }
  .j3d-canvas{
    position:absolute;inset:0;
    width:100%;height:100%;
    display:block;
  }
  .contact{
    width:min(1300px,92vw);margin-inline:auto;margin-top:clamp(56px,9vw,110px);
    padding-bottom:clamp(48px,8vw,88px);
  }
  .contact-inner{
    padding:clamp(28px,5vw,64px);
    display:flex;flex-direction:column;gap:4px;position:relative;
  }
  .contact-p{ margin:0 0 8px;font-weight:800;font-size:clamp(1.1875rem,2.3vw,2rem);line-height:1.4;color:var(--ink);max-width:56ch; }
  .contact-cue{ align-self:flex-start;margin:16px 0 0;transform:rotate(-11deg);cursor:default; }
  .contact-cue:hover{ opacity:1; }
  @keyframes bounceOnly{0%,60%,100%{transform:translateY(0)}30%{transform:translateY(-4px)}}
  .contact-actions{ display:flex;flex-wrap:wrap;gap:14px;margin-top:18px; }

  @media (max-width:680px){
    /* padding-bottom reserves room for .hero-portrait, which is now
       absolutely positioned (top:520px) instead of sitting in normal
       flow -- without it, .hero's own height (and its overflow:hidden)
       is only as tall as the flow content above, clipping away almost
       the entire character. 520px offset + ~874px character height. */
    .hero{ display:flex;flex-direction:column;text-align:center;gap:16px;margin-bottom:28px;min-height:auto;padding:32px 0 700px;position:relative; }
    .hero-logo{ position:static;margin:0 0 4px 20px;align-self:flex-start; }
    /* Absolutely positioned like desktop's hero-portrait, instead of a
       flow element nudged with a negative margin -- the character
       genuinely sits behind the chat card/input (z-index:1 vs 2) and
       is allowed to peek out from underneath it, rather than us
       fighting to approximate that with margin math on a sibling. */
    .hero-portrait{ position:absolute;left:0;right:0;top:520px;bottom:auto;z-index:1;overflow:hidden;display:flex;justify-content:center; }
    .hero-chat{ position:relative;z-index:2;left:0;top:0;transform:none;text-align:center;align-items:center;padding:0;max-width:none;width:auto;margin:0 10px; }
    .section-heading{ margin:0 0 -0.4em; }
    .hero-heading{ align-self:flex-start;text-align:left;margin-left:32px;font-size:clamp(1.75rem,8vw,2.5rem); }
    .chat-frame{ width:100%;margin-top:0;padding:20px; }
    .hero-actions{ width:100%; }
    .hero-chat .scroll-cue{ position:static;align-self:flex-start;text-align:left;margin:8px 0 0 32px;transform:translateY(300px); }
    .j3d{ width:980px;flex-shrink:0;margin-right:0;margin-bottom:0; }
    .convo{ font-size:.9375rem;line-height:1.5;height:50vh; }
    .maturity{ margin-top:44px; }
    .contact{ margin-top:44px; }
    .contact-cue{ align-self:center;margin:8px 0 0;transform:rotate(-6deg); }
    .contact-actions{ justify-content:center; }
  }

  /* ---------- pictures at full size ---------- */
  .pcard .shot{height:auto;min-height:0;max-height:none;padding:0;display:block}
  .pcard .shot img{width:100%;height:auto;padding:0;display:block}
  .card{display:block}
  .card .shot{min-height:0;max-height:none;padding:0;display:block}
  .card .shot img{width:100%;height:auto;padding:0;display:block}
  .detail .hero img{max-height:none;padding:0;height:auto;object-fit:fill}

  /* Chat project cards, mobile: the "pictures at full size" block above
     (.card .shot img{height:auto}) comes later in the cascade than the
     520px stacked-layout rule near the top of this file, so it was
     winning and letting the thumbnail render at its full natural height,
     overlapping the text below it. This re-crops it back down, placed
     after that block so it actually takes effect. */
  @media (max-width:520px){
    .card .shot{height:110px;max-height:110px;overflow:hidden;display:grid;place-items:center}
    .card .shot img{width:100%;height:100%;object-fit:contain;padding:6px}
    .card .body{padding:10px 12px;gap:4px}
  }

  :focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:4px}

  @keyframes pulse{0%,100%{box-shadow:0 0 0 3px var(--accent-wash)}50%{box-shadow:0 0 0 6px transparent}}
  @keyframes bounce{0%,60%,100%{transform:translateY(0);opacity:.5}30%{transform:translateY(-4px);opacity:1}}
  @media (prefers-reduced-motion:reduce){
    *{animation:none!important;transition:none!important}
    .convo{scroll-behavior:auto}
  }

  /* ---------- mobile layout ---------- */
  @media (max-width:680px){
    html,body{overflow-x:hidden}
    body{
      padding:0;gap:0;
      align-items:stretch;
      justify-content:flex-start;
      background-attachment:scroll;
      min-height:100vh;min-height:100dvh;
    }

    .work{width:92vw;margin-top:0;padding-bottom:56px}
    .work-inner{padding:24px}
    .grid{gap:28px}

    .spot{padding:74px 0 72px}
    .spot-inner{width:92vw;gap:36px}
    .spot-cols{grid-template-columns:1fr;gap:36px}
    .spot-heading{font-size:clamp(2rem,9vw,3rem);margin:0 0 -0.35em 32px}
    .spot-card{padding:24px}
    .spot-summary{font-size:1rem}
    .spot-stat-row{flex-direction:column;gap:20px}
    .spot-stat{flex:1 1 auto;width:100%}
    .spot-foot{gap:12px 14px}

    .below{width:100%;padding:18px 16px calc(22px + env(safe-area-inset-bottom));margin-top:20px}
    .legal{padding-top:120px}
    .legal-inner{padding:24px}
  }

  /* ---------- legal pages (Impressum / Datenschutz) ---------- */
  .legal-page-logo{
    position:absolute;
    top:clamp(18px,3vw,32px);
    left:clamp(18px,4vw,40px);
    width:44px;height:44px;
    color:var(--ink);
    opacity:.92;
    transition:opacity .15s ease;
    display:block;
  }
  .legal-page-logo:hover{ opacity:1; }
  .legal-page-logo svg{ display:block;width:100%;height:100%; }

  .legal{
    position:relative;
    width:min(900px,92vw);
    margin-inline:auto;
    padding-top:clamp(96px,15vw,150px);
    padding-bottom:clamp(48px,8vw,88px);
  }
  .legal-heading{ margin-left:0; }
  .legal-inner{
    padding:clamp(28px,5vw,64px);
  }
  .legal-content h2{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-size:1.375rem;font-weight:800;color:var(--ink);
    letter-spacing:-.01em;
    margin:0 0 .6em;
  }
  .legal-content section + section h2,
  .legal-content h2:not(:first-child){ margin-top:1.8em; }
  .legal-content h3{
    font-family:"Bricolage Grotesque","Chivo",Arial,sans-serif;
    font-size:1.0625rem;font-weight:700;color:var(--ink);
    margin:1.5em 0 .5em;
  }
  .legal-content p{
    margin:0 0 1em;font-size:.9375rem;line-height:1.7;color:var(--ink-soft);max-width:70ch;
  }
  .legal-content address{ font-style:normal; }
  .legal-content a{ color:var(--accent); }
  .legal-content strong{ color:var(--ink); }
  .legal-content .legal-source{
    margin-top:2em;padding-top:1.2em;border-top:1px solid var(--glass-hairline);
    font-size:.8125rem;color:var(--ink-soft);
  }
