:root {
  --pink: #ff0b75;
  --green: #b8ff31;
  --panel: rgba(11, 11, 12, .95);
  --ink: #f5f2ee;
  --muted: #8d8b89;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; background: #030303; overflow: hidden; }
body { font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; color: var(--ink); }
button { font: inherit; }
.entry-intro { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; background:#030303; pointer-events:none; overflow:hidden; transition:opacity .48s ease, visibility .48s ease; }
.entry-intro::before { content:""; position:absolute; inset:-20%; background:radial-gradient(circle at 50% 48%, rgba(255,11,117,.10), transparent 34%), radial-gradient(circle at 57% 48%, rgba(79,120,255,.08), transparent 30%); opacity:0; transition:opacity .7s ease; }
.entry-intro-inner { position:relative; display:grid; justify-items:center; gap:14px; transform:translateY(10px); }
.entry-intro-name { display:block; color:#f5f2ee; font-size:clamp(34px, 6vw, 78px); line-height:.95; font-weight:850; letter-spacing:.12em; opacity:0; transform:translateY(18px) scale(.98); filter:blur(8px); text-shadow:0 8px 36px rgba(0,0,0,.55); }
.entry-intro-line { display:block; width:min(360px, 52vw); height:2px; border-radius:999px; background:linear-gradient(90deg, transparent, #ff0b75 28%, #f5f2ee 50%, #6d78ff 72%, transparent); transform:scaleX(0); opacity:0; transform-origin:center; }
.entry-intro.is-playing::before { opacity:1; }
.entry-intro.is-playing .entry-intro-name { animation:entryNameReveal 1.5s cubic-bezier(.2,.8,.2,1) both; }
.entry-intro.is-playing .entry-intro-line { animation:entryLineReveal 1.2s .18s cubic-bezier(.2,.8,.2,1) both; }
.entry-intro.is-done { opacity:0; visibility:hidden; }
@keyframes entryNameReveal { 0% { opacity:0; transform:translateY(18px) scale(.98); filter:blur(8px); letter-spacing:.18em; } 42% { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } 78% { opacity:1; transform:translateY(0) scale(1); filter:blur(0); } 100% { opacity:0; transform:translateY(-18px) scale(1.01); filter:blur(2px); letter-spacing:.15em; } }
@keyframes entryLineReveal { 0% { transform:scaleX(0); opacity:0; } 35% { transform:scaleX(1); opacity:1; } 78% { transform:scaleX(1); opacity:.85; } 100% { transform:scaleX(.18); opacity:0; } }
@media (prefers-reduced-motion: reduce) { .entry-intro-name, .entry-intro-line { animation:none !important; opacity:1; transform:none; filter:none; } }

.viewport { position: relative; width: 100vw; height: 100dvh; overflow: hidden; touch-action: none; user-select: none; background: #050505; }
.background { position: absolute; inset: -3%; background-image: linear-gradient(rgba(0,0,0,.10), rgba(0,0,0,.28)), url('assets/background.jpg'); background-size: cover; background-position: center; filter: contrast(1.04) brightness(.72); transform: scale(1.04); }
.viewport::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 45%, transparent 24%, rgba(0,0,0,.15) 62%, rgba(0,0,0,.52) 100%); }
.board { position: absolute; left: 50%; top: 50%; width: 1440px; height: 900px; transform-origin: center center; z-index: 1; will-change: transform; }
.sticker { position: absolute; padding: 0; border: 0; background: transparent; cursor: pointer; transform-origin: center; filter: drop-shadow(0 14px 18px rgba(0,0,0,.34)); transition: filter .22s ease; z-index: 4; }
.sticker img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.sticker:hover { filter: drop-shadow(0 20px 26px rgba(0,0,0,.48)); z-index: 8; }
.sticker:hover img { animation: stickerLift .36s cubic-bezier(.2,.85,.3,1) both; }
@keyframes stickerLift { 50% { transform: translateY(-7px) rotate(.8deg) scale(1.025); } 100% { transform: translateY(-4px) scale(1.018); } }
.s-marketing { left: 225px; top: 72px; width: 224px; height: 174px; transform: rotate(-4deg); }
.s-call { left: 502px; top: 112px; width: 96px; height: 54px; transform: rotate(3deg); }
.s-email { left: 842px; top: 114px; width: 105px; height: 61px; transform: rotate(-4deg); }
.s-ai { left: 970px; top: 84px; width: 244px; height: 173px; transform: rotate(4deg); }
.s-creative { left: 226px; top: 291px; width: 231px; height: 170px; transform: rotate(-2deg); }
.s-linkedin { left: 472px; top: 246px; width: 59px; height: 55px; transform: rotate(-11deg); }
.s-digital { left: 975px; top: 293px; width: 249px; height: 181px; transform: rotate(3deg); }
.s-years { left: 236px; top: 501px; width: 209px; height: 150px; transform: rotate(-2deg); }
.s-building { left: 982px; top: 503px; width: 205px; height: 178px; transform: rotate(3deg); }
.s-ask { left: 515px; top: 591px; width: 190px; height: 117px; transform: rotate(-2deg); }
.s-cv { left: 770px; top: 579px; width: 174px; height: 117px; transform: rotate(3deg); }
.identity-card { position: absolute; left: 520px; top: 170px; width: 430px; height: 315px; padding: 18px 22px 16px; background: linear-gradient(145deg, rgba(20,20,21,.97), rgba(8,8,9,.98)); border: 1px solid rgba(255,255,255,.12); border-radius: 26px; box-shadow: 0 32px 80px rgba(0,0,0,.52), inset 0 1px rgba(255,255,255,.05); z-index: 5; overflow: hidden; }
.identity-card::before { content:""; position:absolute; inset:0; pointer-events:none; background: radial-gradient(circle at 15% 0%, rgba(255,255,255,.06), transparent 30%); }
.identity-topline { display: flex; justify-content: space-between; align-items: center; font-size: 8px; letter-spacing: .16em; color: #777572; }
.live { color: var(--green); font-weight: 700; }
.live i { display:inline-block; width:6px; height:6px; margin-right:7px; border-radius:50%; background: var(--green); box-shadow: 0 0 10px rgba(184,255,49,.7); }
.identity-head { display:flex; gap:15px; align-items:center; margin-top:14px; }
.identity-logo { width:54px; height:54px; object-fit: cover; border-radius:13px; box-shadow: 0 8px 24px rgba(255,11,117,.18); }
.identity-head h1 { margin:0; font-size:34px; line-height:.95; letter-spacing:-.045em; font-weight:800; }
.identity-head p { margin:7px 0 0; color:#8e8b89; font-size:10px; }
.identity-head b { color:var(--pink); font-weight:500; }
.divider { height:1px; background:rgba(255,255,255,.08); margin:17px 0 15px; }
.slides { position:relative; height:136px; }
.slide { position:absolute; inset:0; opacity:0; transform: translateX(10px); pointer-events:none; transition: opacity .32s ease, transform .32s ease; }
.slide.is-active { opacity:1; transform:none; pointer-events:auto; }
.eyebrow { color:var(--green); font-size:9px; letter-spacing:.16em; font-weight:800; }
.slide h2 { margin:10px 0 8px; font-size:24px; line-height:1.02; letter-spacing:-.035em; }
.slide p { margin:0; max-width:365px; font-size:10.5px; line-height:1.55; color:#999693; }
.identity-nav { position:absolute; left:22px; right:22px; bottom:14px; display:flex; align-items:center; justify-content:space-between; }
.slide-count { color:#75726f; font-size:9px; letter-spacing:.14em; }
.slide-count b { color:#8f8b87; font-weight:500; }
.arrows { display:flex; gap:8px; }
.arrows button { width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.025); color:#d9d5d1; display:grid; place-items:center; cursor:pointer; font-size:18px; transition:.2s ease; }
.arrows button:hover { transform: translateY(-2px); border-color:rgba(255,255,255,.28); background:rgba(255,255,255,.065); }
.arrows .next { color:var(--pink); border-color:rgba(255,11,117,.36); }
.stats { position:absolute; left:545px; top:498px; width:380px; height:59px; border:1px solid rgba(255,255,255,.065); border-radius:16px; background:rgba(7,7,8,.75); backdrop-filter: blur(10px); display:grid; grid-template-columns: repeat(4,1fr); align-items:center; z-index:3; box-shadow:0 20px 45px rgba(0,0,0,.24); }
.stats > div { height:35px; display:flex; flex-direction:column; align-items:center; justify-content:center; border-right:1px solid rgba(255,255,255,.08); }
.stats > div:last-child { border-right:0; }
.stats strong { color:var(--pink); font-size:17px; line-height:1; }
.stats span { margin-top:6px; color:#7e7b78; font-size:6px; letter-spacing:.12em; }
.stats .curiosity strong { font-size:27px; line-height:.7; }
.mobile-hint { display:none; }
@media (max-width: 760px) {
  .background { inset:-10%; background-size:auto 100%; filter:contrast(1.05) brightness(.66); }
  .viewport { cursor: grab; }
  .viewport.is-dragging { cursor: grabbing; }
  .board { left:0; top:0; transform-origin: 0 0; }
  .sticker { transition:none; }
  .mobile-hint { display:block; position:absolute; left:622px; top:748px; padding:9px 13px; border:1px solid rgba(255,255,255,.1); border-radius:999px; color:#888; font-size:9px; letter-spacing:.14em; background:rgba(0,0,0,.5); }
}
@media (prefers-reduced-motion: reduce) {
  .sticker:hover img { animation:none; }
  .slide, .arrows button { transition:none; }
}

/* v1.1 desktop chrome + widened composition */
.site-brand {
  position: fixed;
  top: 28px;
  left: 30px;
  height: 58px;
  padding: 8px 18px 8px 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(8,8,9,.78);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,.30), inset 0 1px rgba(255,255,255,.04);
  z-index: 30;
  pointer-events: none;
}
.site-brand img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 7px 18px rgba(255,11,117,.20);
}
.site-brand .brand-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px rgba(255,11,117,.65);
  margin-left: 1px;
}
.site-brand strong {
  font-size: 16px;
  letter-spacing: .015em;
  white-space: nowrap;
}
.footer-chip {
  position: fixed;
  bottom: 22px;
  height: 42px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 999px;
  color: #8e8b89;
  background: rgba(7,7,8,.72);
  backdrop-filter: blur(14px);
  font-size: 10px;
  letter-spacing: .12em;
  z-index: 30;
  pointer-events: none;
  box-shadow: 0 15px 36px rgba(0,0,0,.26), inset 0 1px rgba(255,255,255,.03);
}
.footer-chip i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 10px rgba(255,11,117,.50);
}
.footer-left { left: 30px; }
.footer-right { right: 30px; }

/* Spread the major stickers outward while keeping the center readable. */
.s-marketing { left: 95px; top: 68px; width: 234px; height: 181px; }
.s-ai { left: 1112px; top: 73px; width: 254px; height: 181px; }
.s-creative { left: 105px; top: 292px; width: 242px; height: 178px; }
.s-digital { left: 1100px; top: 289px; width: 260px; height: 189px; }
.s-years { left: 116px; top: 505px; width: 218px; height: 156px; }
.s-building { left: 1115px; top: 505px; width: 218px; height: 189px; }
.s-ask { left: 465px; top: 608px; width: 200px; height: 124px; }
.s-cv { left: 785px; top: 595px; width: 183px; height: 123px; }
.s-portfolio { left: 654px; top: 18px; width: 132px; height: 128px; z-index: 10; }

/* Utility stickers sit on top of the identity card and share one top line. */
.s-call { left: 462px; top: 102px; width: 103px; height: 58px; transform: rotate(3deg); z-index: 9; }
.s-email { left: 880px; top: 102px; width: 112px; height: 65px; transform: rotate(-4deg); z-index: 9; }
.s-linkedin { left: 492px; top: 236px; width: 63px; height: 59px; transform: rotate(-11deg); z-index: 9; }

@media (max-width: 760px) {
  .site-brand { top: 14px; left: 14px; height: 48px; padding: 6px 12px 6px 6px; border-radius: 15px; }
  .site-brand img { width: 36px; height: 36px; border-radius: 9px; }
  .site-brand strong { font-size: 13px; }
  .footer-chip { display: none; }
}

/* v1.2 composition polish: stronger center, wider halo, calmer chrome */
@media (min-width: 761px) {
  /* Reduce corner branding so the portfolio composition remains primary. */
  .site-brand {
    top: 26px;
    left: 28px;
    height: 52px;
    padding: 7px 16px 7px 7px;
    gap: 10px;
    border-radius: 17px;
  }
  .site-brand img { width: 38px; height: 38px; border-radius: 9px; }
  .site-brand strong { font-size: 14.5px; }
  .site-brand .brand-dot { width: 6px; height: 6px; }

  /* Make the central identity the unequivocal focal point. */
  .identity-card {
    left: 480px;
    top: 150px;
    width: 480px;
    height: 350px;
    padding: 20px 25px 17px;
    border-radius: 28px;
  }
  .identity-head { gap: 17px; margin-top: 15px; }
  .identity-logo { width: 60px; height: 60px; border-radius: 14px; }
  .identity-head h1 { font-size: 38px; }
  .identity-head p { margin-top: 8px; font-size: 15.5px; letter-spacing: .012em; line-height: 1.2; }
  .divider { margin: 18px 0 16px; }
  .slides { height: 150px; }
  .slide h2 { margin: 10px 0 9px; font-size: 26px; }
  .slide p { max-width: 405px; font-size: 11px; }
  .identity-nav { left: 25px; right: 25px; bottom: 15px; }
  .arrows button { width: 36px; height: 36px; }

  /* Stats remain visually attached to the enlarged center card. */
  .stats {
    left: 505px;
    top: 515px;
    width: 430px;
    height: 62px;
    border-radius: 17px;
  }
  .stats strong { font-size: 18px; }
  .stats .curiosity strong { font-size: 30px; }

  /* Open the six primary category stickers into a wider, slightly asymmetric halo. */
  .s-marketing { left: 68px; top: 55px; width: 238px; height: 184px; }
  .s-creative  { left: 75px; top: 287px; width: 245px; height: 180px; }
  .s-years     { left: 88px; top: 515px; width: 220px; height: 158px; }

  .s-ai       { left: 1145px; top: 55px; width: 258px; height: 184px; }
  .s-digital  { left: 1138px; top: 285px; width: 263px; height: 191px; }
  .s-building { left: 1148px; top: 515px; width: 220px; height: 191px; }

  /* Ask Me and CV keep their size, simply settle lower beneath the stats. */
  .s-ask { left: 458px; top: 640px; width: 200px; height: 124px; }
  .s-cv  { left: 793px; top: 630px; width: 183px; height: 123px; }
  .s-portfolio { left: 654px; top: 18px; width: 132px; height: 128px; z-index: 10; }

  /* Utility stickers form a deliberate arc around the upper edge of the center card. */
  .s-call {
    left: 430px;
    top: 95px;
    width: 103px;
    height: 58px;
    transform: rotate(3deg);
    z-index: 10;
  }
  .s-email {
    left: 910px;
    top: 95px;
    width: 112px;
    height: 65px;
    transform: rotate(-4deg);
    z-index: 10;
  }
  .s-linkedin {
    left: 448px;
    top: 216px;
    width: 63px;
    height: 59px;
    transform: rotate(-11deg);
    z-index: 10;
  }
}

/* Modal system — centered, consistent across all portfolio sections */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 34px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .24s ease, visibility .24s ease;
}
.modal-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(9px) saturate(.78);
  -webkit-backdrop-filter: blur(9px) saturate(.78);
}
.modal-shell {
  --modal-accent: var(--pink);
  position: relative;
  z-index: 1;
  width: min(1050px, 88vw);
  max-height: 84vh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 38px 42px 40px;
  color: #f7f5f1;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--modal-accent) 11%, transparent), transparent 31%),
    linear-gradient(145deg, rgba(22,22,24,.985), rgba(7,7,8,.99));
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 30px;
  box-shadow: 0 42px 120px rgba(0,0,0,.68), inset 0 1px rgba(255,255,255,.055);
  transform: translateY(12px) scale(.975);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.22) transparent;
}
.modal-layer.is-open .modal-shell { transform: none; }
.modal-shell.is-micro {
  width: min(520px, 91vw);
  max-height: min(720px, 86vh);
  padding: 32px 34px 34px;
  border-radius: 26px;
}

.modal-symbol {
  position: absolute;
  top: 24px;
  right: 34px;
  width: 190px;
  height: 166px;
  color: var(--modal-accent);
  opacity: .42;
  pointer-events: none;
  z-index: 0;
  filter: drop-shadow(0 10px 28px color-mix(in srgb, var(--modal-accent) 17%, transparent));
}
.symbol-artwork {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 13px 16px 15px;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: 28px 9px 28px 9px;
  background: linear-gradient(145deg, color-mix(in srgb, currentColor 8%, transparent), transparent 62%);
  transform: rotate(2deg);
}
.symbol-image { width:100%; height:100%; display:block; object-fit:contain; filter:drop-shadow(0 12px 22px rgba(0,0,0,.28)); }
.modal-symbol:has(.symbol-image) { opacity:.9; }
.modal-symbol:has(.symbol-image) .symbol-artwork { padding:0; border:0; background:transparent; box-shadow:none; }
.modal-symbol svg { width:100%; height:100%; overflow:visible; transform:scale(.86); transform-origin:center; }
.modal-symbol svg * { fill:none; stroke:currentColor; stroke-width:3.6; stroke-linecap:round; stroke-linejoin:round; vector-effect:non-scaling-stroke; }
.modal-symbol svg .fill { fill:currentColor; stroke:none; }
.modal-symbol svg .fill-soft { fill:color-mix(in srgb, currentColor 18%, transparent); }
.modal-symbol-creative .symbol-artwork { transform:rotate(-4deg); }
.modal-symbol-digital .symbol-artwork { transform:rotate(4deg); }
.modal-symbol-20-years { opacity:.34; }
.modal-symbol-building .symbol-artwork { transform:rotate(-3deg); }
.is-micro .modal-symbol { width:128px; height:112px; top:22px; right:26px; opacity:.36; }
.is-micro .symbol-artwork { padding:10px 12px; border-radius:20px 7px 20px 7px; }
.modal-close {
  position: sticky;
  float: right;
  top: 0;
  z-index: 4;
  width: 38px;
  height: 38px;
  margin: -10px -12px 0 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: #d9d6d1;
  background: rgba(255,255,255,.035);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.modal-close:hover { color: #fff; border-color: var(--modal-accent); transform: rotate(6deg); }
.modal-content { position: relative; z-index: 2; }
.modal-kicker { margin: 0 0 10px; color: var(--modal-accent); font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.modal-title { max-width: 730px; margin: 0; font-size: clamp(34px, 4vw, 58px); line-height: .98; letter-spacing: -.045em; }
.is-micro .modal-title { max-width: 390px; font-size: clamp(30px, 7vw, 42px); }
.modal-intro { max-width: 730px; margin: 18px 0 0; color: #aaa6a2; font-size: 16px; line-height: 1.65; }
.modal-divider { height: 1px; margin: 28px 0; background: linear-gradient(90deg, color-mix(in srgb, var(--modal-accent) 55%, transparent), rgba(255,255,255,.08) 42%, transparent); }
.capability-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.capability-card, .journey-card, .project-card, .snapshot-card {
  padding: 20px 21px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(255,255,255,.026);
}
.capability-card h3, .journey-card h3, .project-card h3, .snapshot-card h3 { margin: 0 0 8px; font-size: 15px; }
.capability-card p, .journey-card p, .project-card p, .snapshot-card p { margin: 0; color: #95918d; font-size: 13px; line-height: 1.6; }
.principle {
  margin-top: 18px;
  padding: 21px 23px;
  border-left: 3px solid var(--modal-accent);
  border-radius: 0 16px 16px 0;
  background: linear-gradient(90deg, color-mix(in srgb, var(--modal-accent) 7%, transparent), rgba(255,255,255,.018));
}
.principle small { color: var(--modal-accent); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.principle p { margin: 8px 0 0; font-size: 17px; line-height: 1.5; }
.principle strong { color: #fff; }
.modal-section-title { margin: 28px 0 12px; color: #e9e6e1; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: #aaa6a2; background: rgba(255,255,255,.025); font-size: 11px; }
.work-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.work-row.is-four { grid-template-columns: repeat(4, 1fr); }
.work-card { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: #0a0a0b; color: #eeeae5; text-align: left; cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--modal-accent) 52%, rgba(255,255,255,.12)); box-shadow: 0 18px 40px rgba(0,0,0,.24); }
.work-thumb { display:block; width:100%; aspect-ratio:3/2; margin:0; background-image: var(--work-image); background-size:cover; background-position:center; border-bottom:1px solid rgba(255,255,255,.08); }
.work-copy { display:block; padding:14px 15px 16px; margin:0; }
.work-copy strong { display:block; color:#f2efeb; font-size:14px; line-height:1.2; }
.work-copy small { display:block; min-height:28px; margin-top:6px; color:#817d79; font-size:10px; line-height:1.4; }
.work-card em { position:absolute; top:10px; right:10px; padding:5px 7px; border:1px solid color-mix(in srgb, var(--modal-accent) 36%, transparent); border-radius:999px; background:rgba(5,5,6,.78); color:var(--modal-accent); font-size:7px; font-style:normal; font-weight:800; letter-spacing:.08em; backdrop-filter:blur(8px); }
.journey-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.journey-card b { display:block; color: var(--modal-accent); font-size: 11px; margin-bottom: 11px; }
.stats-inline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden; margin-top: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.08); }
.stats-inline div { padding: 14px 12px; background: #0c0c0d; text-align: center; }
.stats-inline strong { display:block; color: var(--pink); font-size: 21px; }
.stats-inline span { display:block; margin-top: 4px; color:#77736f; font-size: 8px; letter-spacing:.11em; }
.build-flow { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; counter-reset: build; }
.build-flow .journey-card { position:relative; }
.build-flow .journey-card::before { counter-increment: build; content:"0" counter(build); display:block; margin-bottom:11px; color:var(--modal-accent); font-size:11px; font-weight:800; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-field { display:flex; flex-direction:column; gap:8px; }
.form-field.full { grid-column:1/-1; }
.form-field label { color:#e6e2dd; font-size:12px; font-weight:700; }
.form-field input, .form-field select, .form-field textarea {
  width:100%;
  border:1px solid rgba(255,255,255,.13);
  border-radius:14px;
  outline:none;
  color:#f6f3ef;
  background:#080809;
  padding:13px 14px;
  font:inherit;
  font-size:13px;
  transition:border-color .18s ease, box-shadow .18s ease;
}
.form-field textarea { min-height:130px; resize:vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color:var(--modal-accent); box-shadow:0 0 0 3px color-mix(in srgb, var(--modal-accent) 10%, transparent); }
.form-actions { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-top:16px; }
.primary-action, .secondary-action {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 18px; border-radius:999px; border:1px solid transparent; text-decoration:none; cursor:pointer; font:inherit; font-size:12px; font-weight:800;
}
.primary-action { background:var(--modal-accent); color:#080808; }
.secondary-action { border-color:rgba(255,255,255,.14); color:#efebe6; background:rgba(255,255,255,.035); }
.direct-contact { margin-top:22px; padding-top:17px; border-top:1px solid rgba(255,255,255,.08); color:#918d88; font-size:12px; }
.direct-contact strong { color:#ece8e3; }
.direct-contact a { color:var(--modal-accent); text-decoration:none; }
.form-status { min-height:18px; color:#8d8985; font-size:11px; }
.micro-copy { max-width:380px; margin:12px 0 24px; color:#9c9894; font-size:14px; line-height:1.6; }
.micro-actions { display:grid; gap:10px; }
.micro-action { display:flex; align-items:center; justify-content:space-between; gap:20px; min-height:68px; padding:15px 17px; border:1px solid rgba(255,255,255,.1); border-radius:16px; color:#f3efeb; background:rgba(255,255,255,.025); text-decoration:none; }
.micro-action small { display:block; margin-top:4px; color:#85817d; font-size:10px; }
.micro-action b { color:var(--modal-accent); font-size:18px; }
.micro-form .form-field textarea { min-height:150px; }
.cv-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
.portfolio-modal-hero { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:22px; padding:26px 12px 10px; text-align:center; }
.portfolio-modal-symbol { width:min(320px, 68vw); max-height:260px; object-fit:contain; filter:drop-shadow(0 22px 38px rgba(0,0,0,.36)); }
.portfolio-modal-cta { display:inline-flex; align-items:center; justify-content:center; min-height:52px; padding:0 24px; border-radius:999px; background:var(--modal-accent); color:#080808; text-decoration:none; font-size:14px; font-weight:900; letter-spacing:.01em; box-shadow:0 12px 30px color-mix(in srgb, var(--modal-accent) 22%, transparent); transition:transform .2s ease, box-shadow .2s ease; }
.portfolio-modal-cta:hover { transform:translateY(-2px); box-shadow:0 16px 34px color-mix(in srgb, var(--modal-accent) 30%, transparent); }

.modal-note { margin-top:14px; color:#74716e; font-size:10px; line-height:1.5; }
body.modal-open { overflow:hidden; }
body.modal-open .board, body.modal-open .site-brand, body.modal-open .footer-chip { filter:saturate(.75); }

@media (max-width: 760px) {
  .modal-layer { padding: 14px; }
  .modal-shell, .modal-shell.is-micro { width: 100%; max-height: 92dvh; padding: 27px 20px 26px; border-radius: 22px; }
  .modal-title { font-size: 36px; }
  .modal-symbol { width:94px; height:82px; top:22px; right:20px; opacity:.28; }
  .symbol-artwork { padding:8px 10px; border-radius:16px 6px 16px 6px; }
  .modal-title, .modal-intro { max-width: calc(100% - 28px); }
  .modal-intro { font-size: 14px; }
  .capability-grid, .work-row, .journey-grid, .build-flow, .form-grid { grid-template-columns: 1fr; }
  .stats-inline { grid-template-columns: repeat(2,1fr); }
  .form-actions { align-items:stretch; flex-direction:column; }
  .primary-action, .secondary-action { width:100%; }
}

/* v1.3: keep LinkedIn clear of the center-card logo. */
@media (min-width: 761px) {
  .s-linkedin { left: 405px; top: 224px; }
}

/* Contact form delivery states */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.form-status.is-success { color: #9bdc45; }
.form-status.is-error { color: #ff6b8f; }
.contact-form button[disabled] { opacity: .62; cursor: wait; }
