/* SACIG — mobile first. Liquid Glass stays on navigation and controls. */
@property --rim { syntax:"<angle>"; inherits:false; initial-value:0deg; }
:root {
  color-scheme: dark;
  --bg: #0a0a0c;
  --surface: #121214;
  --text: #f7f6f0;
  --muted: #b3b3bb;
  /* Brand colors measured from logo-original.png (paleta-logo.json). */
  --accent: #f7b91f;
  --accent-hi: #ffd45a;
  --pink: #f33a9c;
  --blue: #11ade1;
  --green: #14af6b;
  --orange: #ea4e1a;
  --purple: #7545b2;
  --spray: linear-gradient(90deg,#f7b91f,#ea4e1a,#f33a9c,#11ade1,#14af6b,#f7b91f);
  --line: rgba(255,255,255,.13);
  --ease: cubic-bezier(.2,.7,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --safe-top: env(safe-area-inset-top,0px);
  --safe-bottom: env(safe-area-inset-bottom,0px);
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Inter,sans-serif;
}
*,*::before,*::after { box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:130px; }
body { margin:0; background:var(--bg); color:var(--text); -webkit-font-smoothing:antialiased; padding-bottom:calc(100px + var(--safe-bottom)); }
body.dialog-open { overflow:hidden; }
button,input,select,textarea { font:inherit; }
button,a,input,select,textarea { -webkit-tap-highlight-color:transparent; touch-action:manipulation; }
button { color:inherit; border:0; cursor:pointer; }
button:disabled { cursor:default; }
a { color:inherit; text-decoration:none; }
img,svg { display:block; }
img { max-width:100%; }
[hidden] { display:none!important; }
::selection { background:var(--accent); color:var(--bg); }
:focus-visible { outline:2px solid var(--accent); outline-offset:5px; }
.content-width { width:min(100% - 40px,1240px); margin-inline:auto; }
.section-space { padding-block:72px; }
.accent { color:var(--accent); }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.svg-defs { position:absolute; width:0; height:0; overflow:hidden; }
.skip-link { position:fixed; z-index:100; left:16px; top:12px; min-height:48px; padding:15px 20px; border-radius:16px; background:var(--accent); color:var(--bg); transform:translateY(-160%); }
.skip-link:focus { transform:none; }
.concept-banner { position:absolute; z-index:35; inset:0 0 auto; min-height:calc(29px + var(--safe-top)); padding:calc(7px + var(--safe-top)) 12px 7px; display:flex; justify-content:center; align-items:center; gap:8px; background:rgba(10,10,12,.88); font-size:9px; line-height:15px; color:#c8c8d0; }
.concept-banner>span { color:var(--accent); font-weight:750; text-transform:uppercase; letter-spacing:.12em; }

/* Paint drifting behind the page gives the glass something to refract. */
.ambient { position:fixed; z-index:-1; inset:0; overflow:hidden; pointer-events:none; }
.ambient i { position:absolute; width:78vmax; height:78vmax; border-radius:50%; opacity:.17; will-change:transform; }
.ambient i:nth-child(1) { left:-38vmax; top:8vh; background:radial-gradient(circle,var(--pink) 0,transparent 62%); animation:orb-a 21s ease-in-out infinite alternate; }
.ambient i:nth-child(2) { right:-40vmax; top:42vh; background:radial-gradient(circle,var(--blue) 0,transparent 62%); animation:orb-b 26s ease-in-out infinite alternate; }
.ambient i:nth-child(3) { left:-6vmax; top:88vh; opacity:.12; background:radial-gradient(circle,var(--accent) 0,transparent 60%); animation:orb-c 31s ease-in-out infinite alternate; }
.scroll-progress { position:fixed; z-index:60; inset:0 0 auto; height:3px; background:var(--spray); transform-origin:0 50%; transform:scaleX(var(--progress,0)); pointer-events:none; }

/* A dark optical tint preserves contrast over both skin and bright murals. */
.glass-material {
  background:linear-gradient(135deg,rgba(255,255,255,.10),transparent 38%,rgba(255,255,255,.025)),rgba(15,16,20,.76);
  -webkit-backdrop-filter:blur(22px) saturate(145%);
  backdrop-filter:blur(22px) saturate(145%);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),inset 0 -1px 0 rgba(255,255,255,.04),0 12px 36px rgba(0,0,0,.28);
}
/* Iridescent rim in the logo colors, plus a specular highlight that follows scroll and pointer. */
.glass-material::before,.glass-material::after { content:""; position:absolute; pointer-events:none; border-radius:inherit; }
.glass-material::before {
  inset:-1px; padding:1px;
  background:conic-gradient(from var(--rim),rgba(255,255,255,.6),rgba(17,173,225,.45) 16%,rgba(255,255,255,.08) 30%,rgba(243,58,156,.4) 50%,rgba(255,255,255,.1) 64%,rgba(247,185,31,.5) 82%,rgba(255,255,255,.6));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);
  animation:rim-spin 14s linear infinite;
}
.glass-material::after { inset:0; background:radial-gradient(130% 110% at var(--sheen-x,22%) -30%,rgba(255,255,255,.2),transparent 52%); mix-blend-mode:screen; }
.briefing-dialog::after { display:none; }
/* Chromium refracts the backdrop through an SVG lens; other engines keep the blur. */
.lens-ok .site-header,.lens-ok .mobile-dock {
  background:linear-gradient(135deg,rgba(255,255,255,.12),transparent 40%,rgba(255,255,255,.03)),rgba(14,15,19,.58);
  -webkit-backdrop-filter:url(#liquid-lens) blur(12px) saturate(175%) brightness(1.06);
  backdrop-filter:url(#liquid-lens) blur(12px) saturate(175%) brightness(1.06);
}
.lens-ok .mobile-dock a,.lens-ok .header-descriptor { text-shadow:0 1px 8px rgba(0,0,0,.55); }

.site-header { position:fixed; z-index:30; top:calc(42px + var(--safe-top)); left:50%; transform:translateX(-50%); display:flex; align-items:center; gap:14px; width:min(calc(100% - 32px),1240px); height:64px; border-radius:32px; padding:7px 8px 7px 20px; transition:top 480ms var(--ease-out),height 480ms var(--ease-out),padding 480ms var(--ease-out),box-shadow 480ms var(--ease-out); }
.site-header.is-scrolled { top:calc(12px + var(--safe-top)); height:58px; padding-block:5px; box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 18px 44px rgba(0,0,0,.42); }
.wordmark { position:relative; min-width:76px; min-height:48px; display:flex; align-items:center; gap:4px; font-size:23px; font-weight:900; letter-spacing:-1.3px; }
.brand-dot { align-self:center; width:5px; height:5px; margin-top:12px; border-radius:50%; background:var(--accent); animation:dot-cycle 9s steps(1) infinite; }
.header-descriptor { position:relative; color:#d1d1d7; font-size:11px; flex:1; white-space:nowrap; }
.main-nav { display:none; }
.motion-toggle { position:relative; display:grid; place-items:center; width:48px; height:48px; flex:0 0 48px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); transition:background 160ms ease-out,transform 160ms ease-out; }
.motion-toggle:hover { background:rgba(255,255,255,.16); }
.motion-toggle:active { transform:scale(.96); }
.play-icon { display:none; }
.motion-toggle[aria-pressed=true] .pause-icon { display:none; }
.motion-toggle[aria-pressed=true] .play-icon { display:block; }

/* The dock's glass drop slides and stretches to the active tab. */
.mobile-dock { position:fixed; z-index:40; left:50%; bottom:calc(12px + var(--safe-bottom)); transform:translateX(-50%); width:min(calc(100% - 28px),410px); height:72px; padding:6px; display:grid; grid-template-columns:repeat(4,1fr); gap:4px; border-radius:36px; }
.mobile-dock a { position:relative; z-index:1; min-width:48px; min-height:56px; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:5px; border-radius:28px; color:#d5d5dc; font-size:10px; font-weight:550; transition:background 240ms var(--ease),color 200ms ease-out,transform 160ms ease-out; }
.mobile-dock a[aria-current] { background:linear-gradient(145deg,rgba(255,255,255,.16),rgba(255,255,255,.045)); box-shadow:inset 0 1px 0 rgba(255,255,255,.18); color:var(--accent); }
.mobile-dock.has-drop a[aria-current] { background:none; box-shadow:none; }
.mobile-dock a[aria-current] svg { animation:icon-pop 520ms var(--spring); }
.mobile-dock a:active { transform:scale(.93); }
.mobile-dock svg { flex-shrink:0; }
.glass-drop { position:absolute; z-index:0; top:6px; bottom:6px; left:0; width:var(--w,0px); border-radius:28px; translate:var(--x,0px) 0; opacity:0; pointer-events:none; background:linear-gradient(145deg,rgba(255,255,255,.22),rgba(255,255,255,.05) 60%,rgba(255,255,255,.1)); box-shadow:inset 0 1px 0 rgba(255,255,255,.34),inset 0 -1px 0 rgba(255,255,255,.08),inset 0 0 12px rgba(255,255,255,.06),0 6px 16px rgba(0,0,0,.28); transition:translate 560ms var(--spring),width 560ms var(--spring),scale 300ms var(--ease-out),opacity 200ms ease-out; }
.has-drop>.glass-drop { opacity:1; }
.glass-drop.is-moving { scale:1.14 .84; }
.glass-drop.no-anim { transition:none; }

/* The artist remains the background; copy sits below his face. */
.hero { --hp:0; min-height:100svh; position:relative; isolation:isolate; display:flex; align-items:flex-end; overflow:hidden; }
.hero-photo { position:absolute; z-index:-3; inset:0 0 auto; height:71%; background:url("./assets/sacig-portrait.webp") 72% 16%/cover no-repeat; -webkit-mask-image:linear-gradient(#000 62%,transparent 100%); mask-image:linear-gradient(#000 62%,transparent 100%); transform-origin:75% 20%; translate:0 calc(var(--hp) * 18%); scale:calc(1 + var(--hp) * .08); animation:photo-arrive 1400ms var(--ease-out) both; }
.hero-shade { position:absolute; z-index:-2; inset:0; background:linear-gradient(180deg,rgba(10,10,12,.08),rgba(10,10,12,.04) 27%,rgba(10,10,12,.22) 45%,rgba(10,10,12,.84) 67%,#0a0a0c 92%),linear-gradient(90deg,rgba(10,10,12,.22),transparent 80%); }
.hero-content { padding-top:clamp(188px,25svh,240px); padding-bottom:calc(124px + var(--safe-bottom)); translate:0 calc(var(--hp) * -70px); opacity:calc(1 - var(--hp) * .7); }
.eyebrow { display:flex; align-items:center; gap:10px; margin:0; font-size:10px; line-height:1.5; font-weight:650; letter-spacing:.13em; text-transform:uppercase; }
.hero-eyebrow { color:#ececf0; animation:content-arrive 600ms var(--ease) 80ms both; }
.hero-eyebrow>span { width:5px; height:5px; border-radius:50%; background:var(--accent); }
.hero-logo-wrap { position:relative; width:min(76vw,290px); aspect-ratio:1.22; margin:-16px 0 -28px -7px; perspective:900px; animation:logo-arrive 900ms var(--ease-out) 140ms both; }
.logo-tilt { width:100%; height:100%; transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:transform 500ms var(--ease); animation:logo-spray 1100ms var(--ease-out) 220ms both; }
.hero-logo { width:100%; height:100%; object-fit:cover; filter:drop-shadow(0 10px 18px rgba(0,0,0,.35)); animation:logo-float 7s ease-in-out 1600ms infinite; }
/* Paint splats burst around the tag after it is sprayed on. */
.splats { position:absolute; inset:0; pointer-events:none; }
.splats i { position:absolute; left:var(--l); top:var(--t); width:var(--s); height:var(--s); border-radius:50%; background:var(--c); opacity:.9; box-shadow:0 0 14px color-mix(in srgb,var(--c) 45%,transparent); animation:splat-pop 700ms var(--spring) calc(900ms + var(--d)) both,splat-drift 5.5s ease-in-out calc(1700ms + var(--d)) infinite alternate; }
.hero-copy { animation:content-arrive 650ms var(--ease) 240ms both; }
.hero h1 { position:relative; font-size:clamp(34px,10.5vw,44px); font-weight:850; letter-spacing:-.055em; line-height:1.03; margin:0 0 12px; }
/* Headline lines rise out of a mask. */
.hl { display:block; overflow:hidden; padding-bottom:.2em; margin-bottom:-.2em; }
.hl>span { display:inline-block; }
.hero .hl>span { animation:line-up 1000ms var(--ease-out) calc(380ms + var(--d,0ms)) both; }
.mark { position:relative; display:inline-block; }
.scribble { position:absolute; left:-2%; right:-4%; bottom:-.16em; width:106%; height:.3em; overflow:visible; }
.scribble path { fill:none; stroke:url(#spray-stroke); stroke-width:4; stroke-linecap:round; vector-effect:non-scaling-stroke; stroke-dasharray:1; stroke-dashoffset:0; animation:draw 900ms var(--ease-out) 1250ms both; }
.hero-copy>p { color:#c3c3cc; font-size:13px; line-height:1.6; margin:0; max-width:340px; }
.hero-actions { display:flex; flex-wrap:nowrap; gap:10px; margin-top:22px; }
.button { position:relative; display:inline-flex; justify-content:center; align-items:center; gap:11px; min-width:48px; min-height:54px; border-radius:27px; padding:15px 20px; font-size:13px; font-weight:650; line-height:1.3; text-align:center; transition:transform 160ms ease-out,background 160ms ease-out,box-shadow 160ms ease-out; }
.button svg { flex:0 0 auto; transition:transform 160ms ease-out; }
.button:active { transform:scale(.96); }
.button-primary { overflow:hidden; color:#1c1400; background:linear-gradient(145deg,var(--accent-hi),var(--accent) 62%,#eda50c); border:1px solid rgba(255,255,255,.5); box-shadow:inset 0 1px 0 rgba(255,255,255,.6),inset 0 -2px 3px rgba(120,70,0,.16),0 6px 26px rgba(247,185,31,.16); }
.button-primary::after { content:""; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(105deg,transparent 38%,rgba(255,255,255,.6) 50%,transparent 62%) 130% 0/260% 100% no-repeat; animation:shine 5.2s var(--ease) 2.4s infinite; }
.button-primary:hover { background:linear-gradient(145deg,#ffe083,#ffc93a); box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 8px 34px rgba(247,185,31,.3); }
.button-primary:hover svg { transform:translateX(3px); }
.button-glass,.button-secondary { color:#f5f5f8; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,255,255,.035)),rgba(25,26,30,.72); border:1px solid rgba(255,255,255,.23); box-shadow:inset 0 1px 0 rgba(255,255,255,.18); -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%); }
.button-glass:hover,.button-secondary:hover { background-color:rgba(52,53,60,.9); }
.button-ghost { color:#e4e4ea; background:transparent; border:1px solid var(--line); }
.hero-bottom { display:none; }

/* Ticker between the hero and the work. */
.signature-line { overflow:hidden; border-block:1px solid var(--line); background:#101013; padding-block:20px; }
.marquee { display:flex; width:max-content; animation:marquee 30s linear infinite; }
.marquee-track { display:flex; align-items:center; gap:22px; padding-right:22px; white-space:nowrap; }
.marquee-track span { font-size:22px; font-weight:850; letter-spacing:-.03em; text-transform:uppercase; }
.marquee-track span:nth-of-type(even) { color:transparent; -webkit-text-stroke:1px rgba(247,246,240,.6); }
.marquee-track b { font-size:24px; font-weight:400; }
.marquee-track b:nth-of-type(5n+1) { color:var(--accent); }
.marquee-track b:nth-of-type(5n+2) { color:var(--pink); }
.marquee-track b:nth-of-type(5n+3) { color:var(--blue); }
.marquee-track b:nth-of-type(5n+4) { color:var(--green); }
.marquee-track b:nth-of-type(5n) { color:var(--orange); }

/* Portfolio photographs stay clear and honest, with their original post links. */
.section-number { color:var(--accent); letter-spacing:0; }
.section-heading h2,.profiles-heading h2,.contact-section h2 { font-size:clamp(38px,10vw,72px); letter-spacing:-.055em; font-weight:800; line-height:1.06; margin:22px 0 20px; }
.muted-heading { color:#b3b3bf; }
.section-intro,.profiles-heading>p:not(.eyebrow) { color:var(--muted); font-size:14px; line-height:1.8; margin:0; }
.anchor-alias { display:block; position:relative; top:-120px; }
.portfolio-filters { position:relative; display:flex; width:max-content; max-width:100%; margin:28px 0 24px; padding:5px; border-radius:30px; gap:3px; }
.portfolio-filters button { position:relative; z-index:1; min-height:48px; min-width:68px; padding:12px 17px; border-radius:24px; background:transparent; color:#d8d8e0; font-size:12px; font-weight:550; transition:background 180ms ease-out,color 260ms ease-out,transform 160ms ease-out; }
.portfolio-filters button:active { transform:scale(.94); }
.portfolio-filters button[aria-pressed=true] { color:#1c1400; background:var(--accent); box-shadow:inset 0 1px 0 rgba(255,255,255,.45); }
.portfolio-filters.has-drop button[aria-pressed=true] { background:none; box-shadow:none; }
.portfolio-filters .glass-drop { top:5px; bottom:5px; border-radius:24px; background:linear-gradient(145deg,var(--accent-hi),var(--accent)); box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 4px 16px rgba(247,185,31,.25); }
.portfolio-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 14px; }
.art-card { min-width:0; margin:0; perspective:1000px; }
.art-open { --tx:0deg; --ty:0deg; display:block; position:relative; width:100%; padding:0; border:1px solid var(--line); border-radius:19px; overflow:hidden; aspect-ratio:4/5; background:var(--surface); text-align:left; clip-path:inset(0 0 0 0 round 19px); transform:rotateX(var(--tx)) rotateY(var(--ty)); transition:clip-path 1100ms var(--ease-out) calc(var(--i,0) * 110ms),transform 420ms var(--ease),scale 200ms ease-out; }
.art-open:active { scale:.98; }
.art-open>img { width:100%; height:100%; object-fit:cover; transition:transform 600ms var(--ease),scale 1500ms var(--ease-out) calc(var(--i,0) * 110ms); }
.art-open:hover>img { transform:scale(1.025); }
.art-open::after { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at var(--mx,50%) var(--my,0%),rgba(255,255,255,.2),transparent 48%); opacity:0; transition:opacity 300ms ease-out; }
.art-open:hover::after { opacity:1; }
.motion-on .art-card[data-reveal]:not(.in-view) .art-open { clip-path:inset(100% 0 0 0 round 19px); }
.motion-on .art-card[data-reveal]:not(.in-view) .art-open>img { scale:1.25; }
.art-image-tag { position:absolute; z-index:1; top:10px; left:10px; max-width:calc(100% - 20px); padding:6px 9px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(10,10,12,.75); color:#ededf2; font-size:9px; line-height:1.4; }
.expand-icon { position:absolute; z-index:1; right:10px; bottom:10px; display:grid; place-items:center; width:40px; height:40px; border:1px solid rgba(255,255,255,.22); border-radius:50%; background:rgba(10,10,12,.64); transition:transform 300ms var(--spring),background 200ms ease-out; }
.art-open:hover .expand-icon { transform:scale(1.1) rotate(90deg); background:var(--accent); color:#1c1400; }
.art-card figcaption { display:flex; flex-direction:column; align-items:flex-start; padding:13px 2px 0; font-size:12px; font-weight:550; line-height:1.5; }
.project-source { display:inline-flex; align-items:center; gap:6px; min-height:48px; min-width:48px; color:#b9b9c3; font-size:10px; font-weight:400; }
.project-source:hover { color:var(--accent); }
.filter-status { margin:0; }

/* Two profiles are distinct routes, not a generic link list. */
.profiles-section { padding-top:8px; padding-bottom:72px; }
.profiles-heading h2 { font-size:clamp(34px,8.5vw,58px); }
.profile-grid { display:grid; gap:16px; margin-top:28px; }
.profile-card { position:relative; isolation:isolate; display:flex; flex-direction:column; align-items:flex-start; min-height:226px; padding:24px; border:1px solid rgba(255,255,255,.08); border-radius:25px; background:#141418; transition:transform 300ms var(--ease-out),box-shadow 300ms var(--ease-out); }
.profile-card::before { content:""; position:absolute; z-index:-1; inset:-1px; padding:1.5px; border-radius:inherit; pointer-events:none; opacity:.5; -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0); animation:rim-spin 9s linear infinite; transition:opacity 300ms ease-out; }
.profile-art::before { background:conic-gradient(from var(--rim),var(--accent),var(--orange),var(--pink),var(--blue),var(--green),var(--accent)); }
.profile-ink::before { background:conic-gradient(from var(--rim),var(--purple),var(--blue),rgba(255,255,255,.15),var(--pink),var(--purple)); }
.profile-art { background:radial-gradient(ellipse at 0 0,rgba(247,185,31,.09),transparent 65%),#141418; }
.profile-ink { background:radial-gradient(ellipse at 100% 0,rgba(117,69,178,.16),transparent 65%),#141418; }
.profile-card:hover { transform:translateY(-4px); box-shadow:0 20px 50px rgba(0,0,0,.4); }
.profile-card:hover::before { opacity:1; }
.profile-card:active { transform:scale(.98); }
.profile-avatar { width:52px; height:52px; border-radius:50%; object-fit:cover; border:2px solid transparent; background:linear-gradient(#141418,#141418) padding-box,var(--spray) border-box; margin-bottom:18px; }
.profile-ink .profile-avatar { background:linear-gradient(#141418,#141418) padding-box,linear-gradient(135deg,var(--purple),var(--blue),var(--pink)) border-box; }
.profile-arrow { position:absolute; top:24px; right:24px; color:#b7b7c2; font-size:22px; transition:transform 300ms var(--spring),color 200ms ease-out; }
.profile-card:hover .profile-arrow { transform:translate(3px,-3px); color:#fff; }
.profile-label { color:#b8b8c2; font-size:11px; letter-spacing:.04em; }
.profile-card strong { font-size:30px; letter-spacing:-.04em; line-height:1.3; margin-top:5px; }
.profile-description { color:#b1b1bd; font-size:13px; line-height:1.6; margin-top:7px; }
.profile-bottom { display:flex; align-items:center; justify-content:space-between; width:100%; border-top:1px solid var(--line); padding-top:17px; margin-top:22px; font-size:12px; font-weight:550; }
.profile-art .profile-bottom { color:var(--accent); }
.profile-ink .profile-bottom { color:#e0d4f5; }

.contact-section { border-top:1px solid var(--line); background:radial-gradient(ellipse at 0 0,rgba(247,185,31,.05),transparent 60%),radial-gradient(ellipse at 100% 100%,rgba(243,58,156,.06),transparent 55%),#121214; }
.contact-section h2 { font-size:clamp(38px,10vw,68px); }
/* Spray-painted gradient text, slowly flowing. */
.spray-text { background:linear-gradient(90deg,#f7b91f,#ea4e1a,#f33a9c,#11ade1,#14af6b,#f7b91f) 0 0/300% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; animation:spray-flow 10s linear infinite; }
.contact-intro { color:#b6b6c0; font-size:14px; line-height:1.8; margin:0; }
.location-label { display:flex; align-items:center; gap:8px; color:#c7c7d0; font-size:12px; margin:22px 0 0; }
.contact-actions { display:flex; flex-direction:column; gap:12px; margin-top:30px; }
.contact-primary { width:100%; min-height:68px; justify-content:space-between; text-align:left; padding-inline:22px; }
.contact-primary>span:first-child { display:flex; flex-direction:column; gap:5px; }
.contact-primary small { font-size:11px; font-weight:450; opacity:.85; }
.button-arrow { font-size:22px; transition:transform 300ms var(--spring); }
.contact-primary:hover .button-arrow { transform:translate(3px,-3px); }
.briefing-prompt { margin-top:8px; display:flex; flex-direction:column; align-items:center; color:#b8b8c2; font-size:12px; text-align:center; }
.briefing-prompt p { margin:0; }
.text-link { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; min-width:48px; background:transparent; color:var(--accent); font-size:13px; font-weight:600; }
.briefing-prompt>span { color:#a5a5b2; font-size:11px; }
.site-footer { display:flex; flex-wrap:wrap; align-items:center; gap:0 18px; padding-block:24px 32px; }
.footer-wordmark { display:flex; align-items:center; min-height:48px; min-width:48px; font-size:23px; font-weight:900; letter-spacing:-1px; }
.site-footer p { color:#a4a4b2; font-size:10px; line-height:1.6; }
.linkclick { width:100%; min-height:48px; display:flex; align-items:center; gap:4px; color:#a2a2b0; font-size:10px; }
.linkclick strong { color:#d3d3df; font-weight:650; }
.linkclick>span { margin-left:5px; }
.linkclick:hover { color:#fff; }

/* Tap feedback: a burst of paint drops in the logo colors. */
.splash-dot { position:fixed; z-index:70; left:0; top:0; width:var(--sz,8px); height:var(--sz,8px); margin:calc(var(--sz,8px) / -2); border-radius:50%; background:var(--c); pointer-events:none; animation:splash 640ms var(--ease-out) forwards; }

/* Native dialogs preserve focus, keyboard navigation and the mobile safe area. */
dialog { color:var(--text); border:1px solid rgba(255,255,255,.22); border-radius:26px; padding:0; background:#141418; box-shadow:0 30px 100px rgba(0,0,0,.6); max-height:calc(100svh - 28px - var(--safe-top) - var(--safe-bottom)); animation:dialog-arrive 360ms var(--ease-out); }
dialog::backdrop { background:rgba(3,3,6,.88); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); }
.dialog-close { position:absolute; top:10px; right:10px; z-index:3; display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:rgba(12,12,16,.9); border:1px solid rgba(255,255,255,.2); transition:background 160ms ease-out,transform 300ms var(--spring); }
.dialog-close:hover { background:#303038; transform:rotate(90deg); }
.lightbox { width:max-content; max-width:calc(100vw - 24px); overflow:hidden; transform-origin:var(--ox,50%) var(--oy,50%); animation:lightbox-zoom 460ms var(--ease-out); }
.lightbox figure { margin:0; }
.lightbox img { width:auto; max-width:min(92vw,1100px); max-height:calc(100svh - 145px - var(--safe-top) - var(--safe-bottom)); object-fit:contain; margin:auto; background:#101013; }
.lightbox figcaption { max-width:680px; padding:16px 22px; font-size:12px; color:#c4c4d0; line-height:1.7; }
.briefing-dialog { width:min(calc(100vw - 24px),540px); padding:32px 24px; overflow-y:auto; }
.briefing-dialog>.eyebrow { padding-right:45px; margin-top:6px; }
.briefing-dialog h2 { font-size:36px; letter-spacing:-.045em; line-height:1.1; margin:17px 0 13px; }
.briefing-dialog>p:not(.eyebrow) { font-size:13px; line-height:1.75; color:#c4c4d0; margin:0 0 24px; }
.briefing-dialog form,.briefing-result { display:grid; gap:18px; }
.briefing-dialog label { display:grid; gap:9px; font-size:12px; font-weight:600; color:#dedee5; }
.briefing-dialog input,.briefing-dialog select,.briefing-dialog textarea { width:100%; min-height:52px; border:1px solid #4a4a56; border-radius:13px; padding:13px 14px; background:#0c0c10; color:#f5f5f8; font-size:16px; font-weight:400; line-height:1.5; resize:vertical; transition:border-color 200ms ease-out,box-shadow 200ms ease-out; }
.briefing-dialog input:focus,.briefing-dialog select:focus,.briefing-dialog textarea:focus { border-color:var(--accent); box-shadow:0 0 0 4px rgba(247,185,31,.14); outline:none; }
.briefing-dialog input::placeholder,.briefing-dialog textarea::placeholder { color:#a0a0b0; }
.briefing-dialog select { padding-right:28px; }
.briefing-result textarea { min-height:220px; }
.result-actions { display:flex; flex-wrap:wrap; gap:8px; }
.copy-feedback { margin:0; color:#c1c1cd; font-size:12px; line-height:1.75; }
.briefing-result .text-link { justify-self:start; }
.briefing-dialog:focus-visible,.lightbox:focus-visible { outline-offset:2px; }

/* Motion is progressive: without JavaScript, all content is visible. */
@keyframes photo-arrive { from { opacity:0; transform:scale(1.08); filter:saturate(.4) brightness(.7); } to { opacity:1; transform:scale(1); filter:none; } }
@keyframes logo-arrive { from { opacity:0; transform:translateY(22px) rotate(-3deg) scale(.94); } to { opacity:1; transform:none; } }
@keyframes logo-spray { from { clip-path:circle(0% at 42% 58%); filter:blur(12px) saturate(2.2); } 55% { filter:blur(3px) saturate(1.5); } to { clip-path:circle(100% at 42% 58%); filter:none; } }
@keyframes content-arrive { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
@keyframes line-up { from { transform:translateY(108%) rotate(3deg); } to { transform:none; } }
@keyframes draw { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@keyframes logo-float { 0%,100% { transform:translateY(0) rotate(-.4deg); } 50% { transform:translateY(-6px) rotate(.4deg); } }
@keyframes splat-pop { from { opacity:0; transform:scale(0); } to { opacity:.9; transform:scale(1); } }
@keyframes splat-drift { to { translate:var(--dx,3px) var(--dy,-5px); } }
@keyframes dialog-arrive { from { opacity:0; transform:translateY(14px) scale(.97); } to { opacity:1; transform:none; } }
@keyframes lightbox-zoom { from { opacity:0; transform:scale(.55); } to { opacity:1; transform:none; } }
@keyframes rim-spin { to { --rim:360deg; } }
@keyframes shine { 0% { background-position:130% 0; } 28%,100% { background-position:-130% 0; } }
@keyframes marquee { to { transform:translateX(-50%); } }
@keyframes spray-flow { to { background-position:300% 0; } }
@keyframes icon-pop { 0% { transform:scale(1); } 40% { transform:scale(1.28) translateY(-2px); } 100% { transform:none; } }
@keyframes splash { from { transform:translate(var(--x0),var(--y0)) scale(1); opacity:1; } to { transform:translate(calc(var(--x0) + var(--dx)),calc(var(--y0) + var(--dy))) scale(.15); opacity:0; } }
@keyframes dot-cycle { 0% { background:var(--accent); } 20% { background:var(--pink); } 40% { background:var(--blue); } 60% { background:var(--green); } 80% { background:var(--orange); } }
@keyframes orb-a { to { transform:translate3d(16vmax,-10vmax,0) scale(1.15); } }
@keyframes orb-b { to { transform:translate3d(-14vmax,12vmax,0) scale(.9); } }
@keyframes orb-c { to { transform:translate3d(20vmax,-18vmax,0) scale(1.2); } }
[data-reveal] { transition:opacity 650ms var(--ease),transform 650ms var(--ease); }
html.motion-ready:not(.motion-paused):not(.motion-reduced) [data-reveal]:not(.in-view) { opacity:0; transform:translateY(18px); }
[data-reveal] .hl>span { transition:transform 1000ms var(--ease-out) calc(120ms + var(--d,0ms)); }
.motion-on [data-reveal]:not(.in-view) .hl>span { transform:translateY(108%) rotate(3deg); }
/* Each card image drifts inside its frame while it crosses the viewport. */
@supports (animation-timeline: view()) {
  .motion-on .art-open>img { scale:1.12; animation:img-drift linear both; animation-timeline:view(); }
  .motion-on .art-card[data-reveal]:not(.in-view) .art-open>img { scale:1.3; }
  @keyframes img-drift { from { translate:0 -6%; } to { translate:0 6%; } }
}
/* The logo lifts and leans away as the hero scrolls out. */
.hero-logo-wrap { translate:0 calc(var(--hp) * -36px); rotate:calc(var(--hp) * -5deg); }
/* Section scribbles draw when their block enters the screen, not on page load. */
[data-reveal] .scribble path { animation:none; stroke-dashoffset:1; transition:stroke-dashoffset 1000ms var(--ease-out) 550ms; }
[data-reveal].in-view .scribble path { stroke-dashoffset:0; }

/* Opening: spray tag, logo pop, paint drips, then the logo flies into the hero (intro.js + GSAP). */
.intro { display:none; }
.intro-on .intro { position:fixed; inset:0; z-index:200; display:grid; place-items:center; overflow:hidden; }
html.intro-on,html.intro-on body { overflow:hidden; }
.intro-bg { position:absolute; inset:0; background:radial-gradient(120% 80% at 50% 42%,#18181e 0,#0a0a0c 70%); }
.intro-band { position:absolute; left:-10%; right:-10%; top:100%; height:46px; border-radius:50%; background:linear-gradient(90deg,#f7b91f,#ea4e1a,#f33a9c,#11ade1,#14af6b); filter:blur(2px); opacity:0; }
.intro-canvas { position:absolute; inset:0; width:100%; height:100%; transform-origin:50% 45%; }
.intro-center { position:relative; display:grid; justify-items:center; gap:8px; text-align:center; pointer-events:none; }
.intro-logo { width:min(80vw,360px); height:auto; aspect-ratio:1.22; object-fit:cover; opacity:0; filter:drop-shadow(0 14px 28px rgba(0,0,0,.45)); will-change:transform,filter; }
.intro-name { margin:0; overflow:hidden; color:var(--text); font-size:13px; font-weight:750; letter-spacing:.32em; text-transform:uppercase; }
.intro-tags { margin:0; color:#a9a9b3; font-size:11px; letter-spacing:.18em; text-transform:uppercase; }
.intro-dot { position:absolute; left:50%; top:40%; width:var(--s); height:var(--s); margin:calc(var(--s) / -2); border-radius:50%; background:var(--c); box-shadow:0 0 12px var(--c); pointer-events:none; }
.intro-skip { position:absolute; left:50%; bottom:calc(24px + var(--safe-bottom)); transform:translateX(-50%); min-height:48px; padding:0 22px; border:1px solid rgba(255,255,255,.18); border-radius:24px; background:rgba(255,255,255,.07); -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); color:var(--text); font:inherit; font-size:14px; font-weight:650; cursor:pointer; transition:background 200ms ease-out,scale 160ms ease-out; }
.intro-skip:hover { background:rgba(255,255,255,.13); }
.intro-skip:active { scale:.96; }
.intro-hold .hero,.intro-hold .hero * { animation-play-state:paused!important; }
.logo-handoff .hero-logo-wrap,.logo-handoff .logo-tilt { animation:none!important; }

html.motion-paused *,html.motion-paused *::before,html.motion-paused *::after,
html.motion-reduced *,html.motion-reduced *::before,html.motion-reduced *::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
html.motion-paused .logo-tilt,html.motion-reduced .logo-tilt { transform:none!important; }
html.document-hidden .hero-logo,html.document-hidden .ambient i,html.document-hidden .marquee,html.document-hidden .glass-material::before,html.document-hidden .profile-card::before { animation-play-state:paused!important; }

@media (min-width:600px) {
  .content-width { width:min(100% - 64px,1240px); }
  .section-space { padding-block:96px; }
  .hero-content { padding-top:260px; }
  .hero-logo-wrap { width:390px; margin-bottom:-32px; }
  .hero h1 { font-size:52px; }
  .hero-copy>p { font-size:15px; }
  .hero-photo { background-position:72% 20%; height:78%; }
  .marquee-track span { font-size:30px; }
  .portfolio-grid { gap:32px 24px; }
  .art-image-tag { top:16px; left:16px; font-size:11px; }
  .art-card figcaption { flex-direction:row; align-items:center; justify-content:space-between; gap:12px; font-size:14px; }
  .project-source { font-size:11px; white-space:nowrap; }
  .expand-icon { width:48px; height:48px; right:15px; bottom:15px; }
  .profile-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
  .profiles-section { padding-bottom:96px; }
  .profiles-heading h2 { font-size:52px; }
  .contact-actions { max-width:480px; }
}
@media (min-width:900px) {
  body { padding-bottom:0; }
  .site-header { top:calc(46px + var(--safe-top)); width:min(calc(100% - 64px),1240px); padding-left:24px; }
  .site-header.is-scrolled { top:calc(16px + var(--safe-top)); }
  .header-descriptor { flex:initial; padding-left:16px; border-left:1px solid var(--line); font-size:12px; }
  .main-nav { position:relative; display:flex; align-items:center; margin-left:auto; gap:8px; }
  .main-nav a { display:flex; align-items:center; justify-content:center; min-height:48px; min-width:60px; padding:12px 16px; border-radius:24px; font-size:12px; color:#e3e3eb; transition:background 200ms ease-out,color 200ms ease-out; }
  .main-nav a:hover,.main-nav a[aria-current] { background:rgba(255,255,255,.09); color:var(--accent); }
  .mobile-dock { display:none; }
  .hero { min-height:850px; min-height:100svh; }
  .hero-content { padding-top:150px; padding-bottom:160px; }
  .hero-photo { left:30%; height:100%; background-position:60% 27%; -webkit-mask-image:linear-gradient(90deg,transparent,#000 23%); mask-image:linear-gradient(90deg,transparent,#000 23%); }
  .hero-shade { background:linear-gradient(90deg,#0a0a0c 10%,rgba(10,10,12,.95) 27%,rgba(10,10,12,.65) 45%,rgba(10,10,12,.06) 76%),linear-gradient(180deg,rgba(10,10,12,.15),transparent 40%,#0a0a0c 100%); }
  .hero-logo-wrap { width:470px; max-width:52%; margin-bottom:-42px; margin-left:-12px; }
  .hero h1 { font-size:62px; }
  .hero-copy>p { font-size:15px; }
  .hero-actions { margin-top:26px; }
  .button { min-height:56px; padding-inline:24px; }
  .hero-bottom { position:absolute; bottom:34px; left:0; right:0; display:flex; justify-content:space-between; align-items:center; color:#b6b6c3; font-size:11px; }
  .down-arrow { display:inline-block; margin-left:10px; animation:nudge 1.8s ease-in-out infinite; }
  .signature-line { padding-block:26px; }
  .marquee-track span { font-size:38px; }
  .section-space { padding-block:112px; }
  .section-heading { display:flex; justify-content:space-between; align-items:flex-end; gap:60px; }
  .section-heading h2 { font-size:72px; margin-bottom:0; }
  .section-intro { max-width:320px; font-size:15px; padding-bottom:6px; }
  .portfolio-filters { margin-block:36px 32px; }
  .portfolio-grid { gap:38px 32px; }
  .art-open { border-radius:24px; aspect-ratio:5/4; clip-path:inset(0 0 0 0 round 24px); }
  .motion-on .art-card[data-reveal]:not(.in-view) .art-open { clip-path:inset(100% 0 0 0 round 24px); }
  .art-image-tag { font-size:12px; }
  .art-card figcaption { padding-top:14px; }
  .profiles-section { padding-bottom:112px; }
  .profiles-heading h2 { font-size:58px; }
  .profile-card { min-height:270px; padding:30px; }
  .profile-card strong { font-size:38px; }
  .profile-description { font-size:14px; }
  .profile-bottom { margin-top:28px; }
  .contact-layout { display:grid; grid-template-columns:1fr 390px; gap:80px; align-items:center; }
  .contact-section h2 { font-size:66px; }
  .contact-actions { margin:0; }
  .site-footer { padding-block:32px; flex-wrap:nowrap; gap:24px; }
  .site-footer p { margin-right:auto; font-size:11px; }
  .linkclick { width:auto; font-size:11px; }
  .briefing-dialog { padding:38px; }
  @keyframes nudge { 50% { transform:translateY(4px); } }
}
@media (min-width:1200px) {
  .hero-logo-wrap { width:510px; }
  .hero h1 { font-size:68px; }
  .hero-content { padding-top:145px; padding-bottom:165px; }
}
@media (max-width:599px) and (max-height:740px) {
  .hero-content { padding-top:150px; padding-bottom:calc(118px + var(--safe-bottom)); }
  .hero-logo-wrap { width:215px; margin-top:-16px; margin-bottom:-24px; }
  .hero h1 { font-size:32px; }
  .hero-copy>p { font-size:12px; }
  .hero-actions { margin-top:16px; }
  .hero-actions .button { min-height:52px; padding:14px 17px; font-size:12px; }
}
@media (min-width:900px) and (max-height:860px) {
  .hero-content { padding-top:120px; padding-bottom:100px; }
  .hero-logo-wrap { width:390px; margin-bottom:-34px; }
  .hero h1 { font-size:52px; }
}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))) {
  .glass-material,.button-glass,.button-secondary { background:#19191f; border-color:#555562; }
}
@media (prefers-reduced-transparency:reduce),(prefers-contrast:more) {
  .glass-material,.button-glass,.button-secondary,.lens-ok .site-header,.lens-ok .mobile-dock { background:#17171d!important; -webkit-backdrop-filter:none!important; backdrop-filter:none!important; border-color:#777787; }
  .glass-material::before,.glass-material::after,.ambient { display:none; }
  .hero-copy>p,.project-source,.section-intro,.contact-intro,.profile-description { color:#dedee8; }
}
@media (prefers-contrast:more) {
  :root { --muted:#dedee8; --line:rgba(255,255,255,.55); }
  .glass-material { border-color:#c2c2d0; }
  .spray-text { color:var(--accent); background:none; }
}
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto; }
  *,*::before,*::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }
  .logo-tilt { transform:none!important; }
}
