.gd-btnx{--gd-hover-square:#ff00ff;display:inline-block;text-decoration:none!important;border:2px solid #000;border-radius:0;padding:20px 28px;font:800 clamp(17px,1.25vw,22px)/1.1 Helvetica Neue,Arial,sans-serif;box-shadow:0 0 0 var(--gd-hover-square);transition:transform .18s ease,box-shadow .18s ease;cursor:pointer}
.gd-btnx:hover,.gd-btnx:focus-visible{transform:translate(-4px,-4px)!important;box-shadow:8px 8px 0 var(--gd-hover-square)!important}
.gd-shadow-magenta{--gd-hover-square:#ff00ff}
.gd-shadow-cyan{--gd-hover-square:#00ffff}
.gd-shadow-yellow{--gd-hover-square:#ffff00}
.gd-shadow-white{--gd-hover-square:#fff}
.gd-shadow-black{--gd-hover-square:#000}
.gd-case-placeholder{aspect-ratio:3/2;min-height:0;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);background:#fff;border:2px solid #000;overflow:hidden}
.gd-case-placeholder span:nth-child(1){background:#ff00ff}.gd-case-placeholder span:nth-child(2){background:#ffff00}.gd-case-placeholder span:nth-child(4){background:#00ffff}
.gd-case-placeholder strong{grid-column:2/4;grid-row:2/4;align-self:end;padding:28px;font:800 clamp(34px,4vw,64px)/.92 Helvetica Neue,Arial,sans-serif;letter-spacing:-.055em}
.gd-case-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border:2px solid #000}
.gd-hero-handwriting{display:block;width:min(72vw,1000px);max-width:1000px;margin-top:-.22em;color:#000}
.gd-hero-handwriting-mobile{display:none}
.gd-handwriting-shell{width:100%;max-width:520px;align-self:center;justify-self:center;color:#000}
.gd-handwriting-svg{display:block;width:100%;height:auto;overflow:visible;color:inherit}
.gd-handwriting-svg .gd-ink-stroke{fill:currentColor;fill-opacity:0;stroke:none;opacity:0;vector-effect:non-scaling-stroke}
.gd-handwriting-svg.gd-is-writing .gd-ink-stroke{animation:gd-hand-draw var(--gd-duration) ease-out var(--gd-delay) forwards}
.gd-handwriting-svg.gd-no-motion .gd-ink-stroke{fill-opacity:1;stroke:none;opacity:1}
@keyframes gd-hand-draw{0%{opacity:0;fill-opacity:0}25%{opacity:1;fill-opacity:.35}100%{opacity:1;fill-opacity:1}}
@media(max-width:760px){.gd-btnx{width:100%;text-align:center}.gd-hero-buttons{width:100%}.gd-hero-handwriting-desktop{display:none}.gd-hero-handwriting-mobile{display:block;width:min(86vw,420px);margin-top:-.16em}.gd-hand-panel{min-height:0!important;padding:20px 0 0!important;align-items:center!important;justify-content:flex-start!important}.gd-hand-panel .gd-hand-copy{margin:0!important}.gd-handwriting-shell{max-width:340px;margin:0 auto!important}.gd-case-grid{grid-template-columns:1fr!important}.gd-case-copy{order:1}.gd-case-image{order:2;width:100%;margin-top:10px}}
@media(prefers-reduced-motion:reduce){.gd-handwriting-svg .gd-ink-stroke{fill-opacity:1;stroke:none;opacity:1;animation:none!important}}

/* ===== Immersive layer ===== */
/* The Gap: four real touchpoints, four different looks, then one shared system */
.gd-gap-wrap{max-width:1440px;margin:0 auto;padding:0 clamp(22px,5vw,76px) clamp(60px,8vw,120px)}
.gd-gap-stage{--p:1;--q:1;position:relative}
html.gd-js .gd-gap-stage{height:220vh}
.gd-gap-sticky{position:sticky;top:var(--gd-nav-h,96px);min-height:calc(100vh - var(--gd-nav-h,96px));display:flex;flex-direction:column;justify-content:center;gap:clamp(18px,2.4vw,32px);padding:20px 0}
.gd-gap-caption{position:relative;z-index:2;display:grid;margin:0;padding:0!important;font:800 clamp(24px,2.6vw,40px)/1.1 Helvetica Neue,Arial,sans-serif;letter-spacing:-.04em;color:#fff}
.gd-gap-caption span{grid-area:1/1}
.gd-gap-before{opacity:calc(1 - var(--q))}
.gd-gap-after{opacity:var(--q);color:#00ffff}
.gd-gap-hint{margin:0;padding:0!important;font:800 12px/1 Helvetica Neue,Arial,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:rgba(255,255,255,.55);opacity:calc(1 - var(--p))}
.gd-gap-hint:after{content:" ↓"}
.gd-gap-grid{display:grid;grid-template-columns:1.35fr 1fr .95fr;grid-template-rows:1fr 1fr;grid-template-areas:"web web post" "deck doc post";gap:clamp(14px,1.6vw,24px);height:clamp(420px,calc(100vh - var(--gd-nav-h,96px) - 190px),660px)}
.gd-tp{position:relative;min-width:0;min-height:0;transform:translate(calc(var(--x) * (1 - var(--p))),calc(var(--y) * (1 - var(--p)))) rotate(calc(var(--r) * (1 - var(--p))));will-change:transform}
.gd-tp-web{grid-area:web;--x:-3%;--y:6%;--r:-4deg}
.gd-tp-post{grid-area:post;--x:6%;--y:-5%;--r:5deg}
.gd-tp-deck{grid-area:deck;--x:-8%;--y:10%;--r:6deg}
.gd-tp-doc{grid-area:doc;--x:7%;--y:-4%;--r:-6deg}
.gd-tp-label{position:absolute;left:0;top:-1.9em;font:800 11px/1 Helvetica Neue,Arial,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:rgba(255,255,255,.6);opacity:var(--q)}
.gd-tp-a,.gd-tp-b{position:absolute;inset:0;container-type:size;overflow:hidden}
.gd-tp-a{opacity:calc(1 - var(--q))}
.gd-tp-b{opacity:var(--q)}
.gd-tp span,.gd-tp b{display:block}
.gd-mk{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;font-size:3cqw;line-height:1.2}
.gd-mk .mk-h{font-size:7cqw;line-height:1.02}
.gd-mk .mk-btn{display:inline-block;padding:.55em 1em;font-size:min(2.2cqw,4cqh);line-height:1;white-space:nowrap}

/* ---- Website ---- */
.mk-browser{flex:none;display:flex!important;align-items:center;gap:1cqw;padding:1.6cqh 2cqw}
.mk-browser i{display:block;width:1.6cqw;height:1.6cqw;border-radius:50%}
.mk-url{margin-left:2cqw;flex:1;padding:.5cqh 2cqw;font-size:2cqw;border-radius:4px}
.mk-nav{display:flex!important;align-items:center;gap:3cqw;padding:2.6cqh 4cqw}
.mk-nav .mk-logo{font-size:3.2cqw;margin-right:auto;white-space:nowrap}
.mk-links span{white-space:nowrap}
.mk-links{display:flex!important;gap:3cqw;font-size:2.4cqw}
.mk-btn-sm{font-size:2.2cqw!important}
.mk-hero{flex:1;display:grid!important;grid-template-columns:1.25fr 1fr;gap:4cqw;padding:2cqh 4cqw 5cqh;align-items:center}
.mk-hero-copy{display:flex!important;flex-direction:column;gap:2cqh;min-height:0}
.mk-eyebrow{font-size:min(1.9cqw,3.6cqh);letter-spacing:.12em;text-transform:uppercase}
.mk-hero .mk-h{font-size:min(4.6cqw,8.5cqh)}
.mk-p{font-size:min(2.2cqw,4.2cqh);line-height:1.35}
.mk-btns{display:flex!important;gap:2cqw;margin-top:1cqh}
.mk-img{align-self:stretch}
/* chaos: warm boutique */
.gd-tp-a .gd-mk-web{background:#f6ecd9;color:#5b3a29;font-family:Georgia,serif;border-radius:16px}
.gd-tp-a .gd-mk-web .mk-browser{background:#e8dcc6}.gd-tp-a .gd-mk-web .mk-browser i{background:#c9b79a}.gd-tp-a .gd-mk-web .mk-url{background:#fff8ec}
.gd-tp-a .gd-mk-web .mk-logo{font-family:"Brush Script MT","Snell Roundhand",cursive;font-size:4.6cqw;color:#b5543c}
.gd-tp-a .gd-mk-web .mk-h{font-style:italic;color:#b5543c;font-weight:400}
.gd-tp-a .gd-mk-web .mk-eyebrow{color:#6d8b74;font-family:Verdana,sans-serif}
.gd-tp-a .gd-mk-web .mk-btn{background:#e07a5f;color:#fff;border-radius:99px;font-family:Verdana,sans-serif}
.gd-tp-a .gd-mk-web .mk-btn-ghost{background:transparent;color:#6d8b74;border:2px solid #6d8b74}
.gd-tp-a .gd-mk-web .mk-img{border-radius:50% 50% 12px 12px;background:radial-gradient(circle at 40% 35%,#a3c4a8,#6d8b74)}
/* system */
.gd-tp-b .gd-mk{background:#fff;color:#000;font-family:Helvetica Neue,Arial,sans-serif;border:2px solid #fff}
.gd-tp-b .mk-logo{font-weight:800;letter-spacing:-.03em;display:flex!important;align-items:center;gap:.4em}
.gd-tp-b .mk-logo:before{content:"";width:.8em;height:.8em;background:#00ffff;border:1.5px solid #000;flex:none}
.gd-tp-b .mk-h{font-weight:800;letter-spacing:-.05em}
.gd-tp-b .mk-btn{background:#ffff00;color:#000;border:2px solid #000;font-weight:800}
.gd-tp-b .mk-btn-ghost{background:#fff}
.gd-tp-b .gd-mk-web .mk-browser{background:#000}.gd-tp-b .gd-mk-web .mk-browser i{background:#fff}.gd-tp-b .gd-mk-web .mk-url{background:#222;color:#fff}
.gd-tp-b .gd-mk-web .mk-nav{border-bottom:2px solid #000}
.gd-tp-b .gd-mk-web .mk-links{font-weight:700}
.gd-tp-b .gd-mk-web .mk-eyebrow{font-weight:800;color:#000}
.gd-tp-b .gd-mk-web .mk-eyebrow:before{content:"";display:inline-block;width:.7em;height:.7em;background:#ff00ff;margin-right:.5em;vertical-align:-.05em}
.gd-tp-b .gd-mk-web .mk-img{border:2px solid #000;background:linear-gradient(#000,#000) 50% 50%/2px 100% no-repeat,linear-gradient(#000,#000) 50% 50%/100% 2px no-repeat,conic-gradient(#ff00ff 0 25%,#fff 0 50%,#ffff00 0 75%,#00ffff 0)}

/* ---- Deck ---- */
.gd-mk-deck{padding:6cqh 6cqw;gap:5cqh}
.gd-mk-deck .mk-top,.gd-mk-deck .mk-foot{display:flex!important;justify-content:space-between;align-items:center;font-size:3cqw}
.gd-mk-deck .mk-h{font-size:9cqw}
.gd-mk-deck .mk-cols{flex:1;display:grid!important;grid-template-columns:repeat(3,1fr);gap:4cqw}
.gd-mk-deck .mk-col{display:flex!important;flex-direction:column;justify-content:flex-end;gap:2cqh;padding:3cqw;font-size:3.6cqw}
.gd-mk-deck .mk-col b{font-size:6cqw}
.gd-mk-deck .mk-foot{font-size:2.6cqw}
.gd-tp-a .gd-mk-deck{background:linear-gradient(135deg,#1b2a4a,#2b4374);color:#fff;font-family:"Trebuchet MS",Verdana,sans-serif;border-radius:4px;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.gd-tp-a .gd-mk-deck .mk-h{color:#f4a261;text-transform:uppercase;letter-spacing:.04em;font-size:7.5cqw}
.gd-tp-a .gd-mk-deck .mk-logo{font-family:Impact,"Arial Black",sans-serif;letter-spacing:.06em;color:#e9c46a}
.gd-tp-a .gd-mk-deck .mk-col{border-radius:50%/40%;text-align:center;align-items:center;justify-content:center}
.gd-tp-a .gd-mk-deck .mk-col:nth-child(1){background:#2a9d8f}.gd-tp-a .gd-mk-deck .mk-col:nth-child(2){background:#e76f51}.gd-tp-a .gd-mk-deck .mk-col:nth-child(3){background:#e9c46a;color:#1b2a4a}
.gd-tp-a .gd-mk-deck .mk-foot{opacity:.6}
.gd-tp-b .gd-mk-deck .mk-col{border:2px solid #000;font-weight:800}
.gd-tp-b .gd-mk-deck .mk-col b{font-weight:800;letter-spacing:-.04em}
.gd-tp-b .gd-mk-deck .mk-col:nth-child(1){background:#00ffff}.gd-tp-b .gd-mk-deck .mk-col:nth-child(2){background:#ff00ff}.gd-tp-b .gd-mk-deck .mk-col:nth-child(3){background:#ffff00}
.gd-tp-b .gd-mk-deck .mk-meta,.gd-tp-b .gd-mk-deck .mk-foot{font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.gd-tp-b .gd-mk-deck .mk-foot{border-top:2px solid #000;padding-top:2cqh}

/* ---- LinkedIn post (LinkedIn's own frame stays the same, the brand content changes) ---- */
.gd-mk-post{background:#fff;color:#1d1d1d;font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important;border-radius:8px;padding:4cqw 5cqw;gap:2.6cqh;font-size:3.6cqw}
.gd-mk-post .mk-head{display:flex!important;align-items:center;gap:3cqw}
.gd-mk-post .mk-avatar{width:11cqw;height:11cqw;flex:none}
.gd-mk-post .mk-who{flex:1;font-size:3.4cqw}.gd-mk-post .mk-who span{font-size:2.8cqw;color:#666}
.gd-mk-post .mk-follow{color:#0a66c2;font-weight:600;font-size:3.4cqw}
.gd-mk-post .mk-text{font-size:3.6cqw;line-height:1.35}
.gd-mk-post .mk-visual{flex:1;display:flex!important;flex-direction:column;justify-content:center;gap:2cqh;padding:6cqw;min-height:0}
.gd-mk-post .mk-visual .mk-h{font-size:10cqw}
.gd-mk-post .mk-badge{align-self:flex-start;padding:.3em .7em;font-size:3.2cqw}
.gd-mk-post .mk-sub{font-size:4cqw}
.gd-mk-post .mk-react{display:flex!important;justify-content:space-between;font-size:2.8cqw;color:#666;border-bottom:1px solid #ddd;padding-bottom:1.6cqh}
.gd-mk-post .mk-actions{display:flex!important;justify-content:space-between;font-size:3cqw;font-weight:600;color:#555}
.gd-tp-a .gd-mk-post .mk-avatar{border-radius:50%;background:linear-gradient(135deg,#ff9a9e,#a18cd1)}
.gd-tp-a .gd-mk-post .mk-visual{background:linear-gradient(135deg,#ff9a9e,#fad0c4);color:#6a0572;font-family:"Comic Sans MS","Marker Felt",cursive;border-radius:14px;text-align:center;align-items:center}
.gd-tp-a .gd-mk-post .mk-badge{background:#ffd166;border-radius:99px;align-self:center}
.gd-tp-a .gd-mk-post .mk-visual .mk-h{transform:rotate(-4deg)}
.gd-tp-b .gd-mk-post{font-family:-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif!important}
.gd-tp-b .gd-mk-post .mk-avatar{border-radius:50%;background:#fff;border:2px solid #000;box-shadow:inset 0 0 0 2.4cqw #fff,inset 0 0 0 20cqw #00ffff}
.gd-tp-b .gd-mk-post .mk-visual{background:#000;color:#fff;font-family:Helvetica Neue,Arial,sans-serif}
.gd-tp-b .gd-mk-post .mk-visual .mk-h{font-weight:800;letter-spacing:-.05em}
.gd-tp-b .gd-mk-post .mk-badge{background:#ffff00;color:#000;font-weight:800;text-transform:uppercase;letter-spacing:.1em}
.gd-tp-b .gd-mk-post .mk-sub{color:#00ffff;font-weight:700}

/* ---- Client proposal ---- */
.gd-mk-doc{padding:0 0 5cqh;gap:2.6cqh;font-size:3.4cqw}
.gd-mk-doc .mk-top{display:flex!important;justify-content:space-between;align-items:center;padding:4cqh 7cqw}
.gd-mk-doc>*:not(.mk-top){margin:0 7cqw}
.gd-mk-doc .mk-h{font-size:6.6cqw}
.gd-mk-doc .mk-sec{font-size:3.6cqw}
.gd-mk-doc .mk-lines{display:grid!important;gap:1.2cqh}
.gd-mk-doc .mk-lines i{display:block;height:1cqh;background:currentColor;opacity:.25}.gd-mk-doc .mk-lines i:nth-child(3){width:70%}
.gd-mk-doc .mk-table{display:grid!important;font-size:3.2cqw}
.gd-mk-doc .mk-table>span{display:flex!important;justify-content:space-between;padding:1cqh 0}
.gd-mk-doc .mk-sign{margin-top:auto!important;width:45%;padding-top:1cqh;font-size:2.8cqw}
.gd-tp-a .gd-mk-doc{background:#fdfdfd;color:#222;font-family:"Times New Roman",Times,serif}
.gd-tp-a .gd-mk-doc .mk-top{background:#2a6f97;color:#fff;font-family:Arial,sans-serif}
.gd-tp-a .gd-mk-doc .mk-logo{font-family:"Arial Black",Arial,sans-serif;font-size:3.6cqw}
.gd-tp-a .gd-mk-doc .mk-sec{font-weight:700;text-decoration:underline}
.gd-tp-a .gd-mk-doc .mk-table>span{border-bottom:1px solid #bbb}
.gd-tp-a .gd-mk-doc .mk-total{font-weight:700;color:#2a6f97}
.gd-tp-a .gd-mk-doc .mk-sign{border-top:1px dotted #555;font-style:italic}
.gd-tp-b .gd-mk-doc .mk-top{border-bottom:2px solid #000}
.gd-tp-b .gd-mk-doc .mk-meta,.gd-tp-b .gd-mk-doc .mk-sec,.gd-tp-b .gd-mk-doc .mk-sign{font-weight:800;letter-spacing:.12em;text-transform:uppercase;font-size:2.8cqw}
.gd-tp-b .gd-mk-doc .mk-lines i{opacity:1;height:.7cqh}
.gd-tp-b .gd-mk-doc .mk-table>span{border-top:1.5px solid #000}
.gd-tp-b .gd-mk-doc .mk-total{background:#ffff00;font-weight:800;padding:1cqh 2cqw!important;margin:0 -2cqw}
.gd-tp-b .gd-mk-doc .mk-sign{border-top:2px solid #000}

@media(max-width:900px){
  html.gd-js .gd-gap-stage{height:200vh}
  .gd-gap-grid{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1.25fr .9fr;grid-template-areas:"web web" "post doc" "deck deck";height:calc(100vh - var(--gd-nav-h,72px) - 150px);min-height:520px;max-height:760px}
  .gd-tp .gd-tp-label{display:none}
}

@media(prefers-reduced-motion:reduce){
  html.gd-js .gd-gap-stage{height:auto}
  .gd-gap-stage{--p:1!important;--q:1!important}
  .gd-gap-sticky{position:static;min-height:0}
  .gd-gap-hint{display:none}
}
