body{margin:0}
.t6y{--bg:#FFFBEF;--ink:#211E16;--soft:#6A6250;--acc:#F6E3A1;--acct:#8A6100;--tint:#FBF1CC;--onacc:#4A4332;--line:rgba(33,30,22,0.15);--card:#FFFFFF;--side:clamp(24px,20vw,400px);--sun:var(--acc);--fill:var(--acc);--hl:var(--acc)}
/* ---------- dark mode: the same brand at night ----------
   ink and cream swap, butter and gold stay; the footer sun stays butter and the Services flood stays butter */
html{background:#FFFBEF}
html[data-theme="dark"]{background:#17140F;color-scheme:dark}
html[data-theme="dark"] .t6y{--bg:#17140F;--ink:#F5EEDC;--soft:#B5AA91;--acct:#E3C46F;--tint:#2A2418;--onacc:#C9BDA0;--line:rgba(245,238,220,0.14);--card:#221E17;--sun:#2A2519;--hl:rgba(246,227,161,0.22)}
/* Services: the same butter flood as light mode, so its text is dark ink while the butter is up,
   then turns back to cream as the butter fades away (same scroll timeline as the fade) */
@property --t6ysvink{syntax:'<color>';inherits:true;initial-value:#211E16}
@keyframes t6y-svink{from{--t6ysvink:#211E16}to{--t6ysvink:#F5EEDC}}
html[data-theme="dark"] #services{--ink:var(--t6ysvink);--onacc:color-mix(in srgb,var(--t6ysvink) 78%,transparent);--line:color-mix(in srgb,var(--t6ysvink) 25%,transparent) !important;color:var(--ink);
  animation:t6y-svink linear both;animation-timeline:--t6ysvc;animation-range:exit 0% exit 60%}
/* footer: the same butter sun as light mode, rising into the night sky with a soft glow;
   and everything on it switches back to dark ink */
html[data-theme="dark"] .t6y-sunset{--bg:#FFFBEF;--ink:#211E16;--soft:#6A6250;--acct:#8A6100;--onacc:#4A4332;--line:rgba(33,30,22,0.15);--card:#FFFFFF;--sun:var(--acc);background:#17140F;color:var(--ink)}
html[data-theme="dark"] .t6y-sun{box-shadow:0 0 90px 24px rgba(246,227,161,.25)}
/* Work cards: a lifted surface with a fine edge so they stand off the night background */
html[data-theme="dark"] #work{--card:#2C261C}
html[data-theme="dark"] #work .t6y-card{box-shadow:0 0 0 1px rgba(245,238,220,.12),0 30px 60px rgba(0,0,0,.5) !important}
html[data-theme="dark"] .t6y-nav{background:rgba(23,20,15,.55);border-color:rgba(245,238,220,.12);box-shadow:0 10px 30px rgba(0,0,0,.3),inset 0 1px 0 rgba(245,238,220,.06)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){html[data-theme="dark"] .t6y-nav{background:rgba(23,20,15,.94)}}
/* while switching, colours fade instead of snapping */
html.t6y-theming .t6y,html.t6y-theming .t6y *,html.t6y-theming .t6y *::before{transition:background-color .9s ease,color .9s ease,border-color .9s ease,fill .9s ease,stroke .9s ease,box-shadow .9s ease !important}
/* one side margin for every section; phones keep a normal gutter */
@media (max-width: 760px){.t6y{--side:24px}}
.t6y a{color:var(--ink)}.t6y a:hover{color:var(--acct)}
.t6y a:focus-visible{outline:2px solid var(--ink);outline-offset:4px;border-radius:4px}

/* ---------- navigation: fixed glass bar ---------- */
.t6y-nav{position:fixed;z-index:60;top:14px;left:max(12px,calc(var(--side) - 28px));right:max(12px,calc(var(--side) - 28px));display:flex;justify-content:space-between;align-items:center;gap:16px;padding:12px clamp(18px,2.4vw,28px);border-radius:999px;font-size:14px;
  background:rgba(255,251,239,.55);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);
  border:1px solid rgba(255,255,255,.65);box-shadow:0 10px 30px rgba(33,30,22,.08),inset 0 1px 0 rgba(255,255,255,.7)}
/* on first load the bar glides down from above as the intro appears (same timing as "Hi, I'm") */
@keyframes t6y-navin{from{translate:0 calc(-100% - 24px);opacity:0}}
.t6y-nav{animation:t6y-navin 1.2s cubic-bezier(.2,.8,.2,1) 5.1s both}
.t6y-nav a{text-decoration:none}
.t6y-logo{font-family:Fraunces,serif;font-weight:600;font-size:19px;letter-spacing:-.01em;line-height:1}
.t6y-links{display:flex;gap:26px}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){.t6y-nav{background:rgba(255,251,239,.94)}}
@media (max-width: 760px){.t6y-nav{top:10px;padding:10px 16px}.t6y-logo{font-size:17px}.t6y-links{gap:16px;font-size:13px}}
#services,#work,#hello{scroll-margin-top:84px}
/* headings are Petrona; their italic gold words keep their original faces */
.t6y h1 em,.t6y h2 em{font-family:'Crimson Pro',serif;font-weight:300}

/* ---------- What I do: "How I do it" points ---------- */
.t6y-how{display:flex;flex-direction:column;gap:3vh}
.t6y-how>span{font-size:13px;letter-spacing:.12em;color:var(--soft)}
.t6y-how ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:5vh}
.t6y-how li{position:relative;padding:22px 0 0 2.2em;border-top:1px solid var(--line);font-family:Petrona,Fraunces,serif;font-weight:300;font-size:clamp(26px,2.6vw,40px);line-height:1.12;letter-spacing:-.02em}
.t6y-how li::before{content:"→";position:absolute;left:0;top:22px;color:var(--acct)}

/* ---------- dark mode switch: a smiley that falls asleep ---------- */
.t6y-theme{position:relative;display:grid;place-items:center;width:30px;height:30px;margin:-6px -6px -6px 0;padding:0;border:0;border-radius:50%;background:none;color:var(--ink);cursor:pointer}
.t6y-theme svg{width:24px;height:24px;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.t6y-theme:hover svg{transform:rotate(-12deg)}
.t6y-theme:focus-visible{outline:2px solid var(--acct);outline-offset:2px}
.t6y-eye{transform-box:fill-box;transform-origin:center;transition:transform .35s ease}
html[data-theme="dark"] .t6y-eye{transform:scaleY(.12)}
.t6y-z{position:absolute;left:70%;top:-2px;font-family:Fraunces,serif;font-style:italic;font-size:13px;color:var(--acct);opacity:0;pointer-events:none}
.t6y-theme.t6y-sleeping .t6y-z{animation:t6y-zz 1.8s ease-out both}
.t6y-theme.t6y-sleeping .t6y-z+.t6y-z{animation-delay:.5s;font-size:10px}
@keyframes t6y-zz{0%{opacity:0;transform:translate(0,4px)}20%{opacity:1}100%{opacity:0;transform:translate(14px,-22px)}}
.t6y-theme.t6y-waking svg{animation:t6y-wake .6s cubic-bezier(.2,.8,.2,1)}
@keyframes t6y-wake{30%{transform:scale(1.25) rotate(8deg)}}
.t6y-stars{position:fixed;inset:0;z-index:150;pointer-events:none;opacity:0;transition:opacity .6s ease}
.t6y-stars.t6y-on{opacity:1}
.t6y-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#F5EEDC;box-shadow:0 0 6px rgba(246,227,161,.8);opacity:0;animation:t6y-tw 1.6s ease-in-out infinite}
@keyframes t6y-tw{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1)}}
@media (max-width: 760px){.t6y-theme{width:26px;height:26px}.t6y-theme svg{width:20px;height:20px}}
/* ---------- story: a photo in a turning ring in the top bar, opens a 3-frame story ---------- */
@keyframes t6y-ringspin{to{transform:rotate(1turn)}}
.t6y-links{align-items:center}
.t6y-story{position:relative;display:grid;place-items:center;width:30px;height:30px;margin:-6px 0;padding:0;border:0;border-radius:50%;background:none;cursor:pointer;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.t6y-story::before{content:"";position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--acct),var(--acc),var(--acct));animation:t6y-ringspin 4s linear infinite}
.t6y-story img{position:relative;width:26px;height:26px;box-sizing:border-box;border:2px solid var(--bg);border-radius:50%;object-fit:cover;object-position:50% 30%}
.t6y-story:hover{transform:scale(1.12)}
.t6y-story.t6y-seen::before{background:var(--line);animation:none}
@media (max-width: 760px){.t6y-story{width:26px;height:26px}.t6y-story img{width:22px;height:22px}}
/* ---------- mobile menu: the links fold into a hamburger that drops a glass panel ---------- */
.t6y-navlinks{display:contents}
.t6y-burger{display:none}
@media (max-width: 760px){
  .t6y-burger{position:relative;display:block;width:30px;height:30px;margin:-6px -6px -6px 0;padding:0;border:0;background:none;cursor:pointer;color:var(--ink)}
  .t6y-burger i{position:absolute;left:6px;right:6px;height:2px;border-radius:2px;background:currentColor;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .t6y-burger i:first-child{top:11px}.t6y-burger i:last-child{top:17px}
  .t6y-menuopen .t6y-burger i:first-child{transform:translateY(3px) rotate(45deg)}
  .t6y-menuopen .t6y-burger i:last-child{transform:translateY(-3px) rotate(-45deg)}
  .t6y-navlinks{position:absolute;top:calc(100% + 8px);left:0;right:0;display:flex;flex-direction:column;padding:10px 22px;border-radius:24px;
    background:rgba(255,251,239,.92);-webkit-backdrop-filter:blur(16px) saturate(1.5);backdrop-filter:blur(16px) saturate(1.5);border:1px solid rgba(255,255,255,.65);box-shadow:0 18px 40px rgba(33,30,22,.12);
    opacity:0;visibility:hidden;translate:0 -8px;transition:opacity .3s ease,translate .35s cubic-bezier(.2,.8,.2,1),visibility 0s .35s}
  .t6y-menuopen .t6y-navlinks{opacity:1;visibility:visible;translate:none;transition:opacity .3s ease,translate .35s cubic-bezier(.2,.8,.2,1)}
  .t6y .t6y-navlinks a{padding:14px 0;font-family:Petrona,Fraunces,serif;font-weight:300;font-size:28px;letter-spacing:-.02em}
  .t6y-navlinks a+a{border-top:1px solid var(--line)}
  html[data-theme="dark"] .t6y-navlinks{background:rgba(23,20,15,.94);border-color:rgba(245,238,220,.12)}
}
@keyframes t6y-svin{from{opacity:0}}
@keyframes t6y-svpop{from{opacity:0;transform:scale(.85) translateY(30px)}}
@keyframes t6y-svbar{to{transform:none}}
.t6y-storyview{position:fixed;inset:0;z-index:90;display:grid;place-items:center;background:rgba(23,20,15,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:t6y-svin .3s ease}
.t6y-storyview[hidden]{display:none}
.t6y-sv-card{position:relative;width:min(400px,92vw,calc(88vh * 9 / 16));aspect-ratio:9/16;border-radius:22px;background:#211E16;color:#FFFBEF;overflow:clip;display:flex;align-items:center;justify-content:center;text-align:center;cursor:pointer;animation:t6y-svpop .45s cubic-bezier(.2,.8,.2,1)}
.t6y-sv-sun{position:absolute;left:50%;bottom:0;width:150%;aspect-ratio:1;margin-left:-75%;border-radius:50%;background:#F6E3A1;box-shadow:0 0 90px 24px rgba(246,227,161,.25);transform:translateY(94%);transition:transform 1.4s cubic-bezier(.2,.8,.2,1)}
.t6y-sv-card[data-frame="1"] .t6y-sv-sun{transform:translateY(84%)}
.t6y-sv-card[data-frame="2"] .t6y-sv-sun{transform:translateY(70%)}
.t6y-sv-bars{position:absolute;top:14px;left:14px;right:14px;display:flex;gap:4px}
.t6y-sv-bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,251,239,.3);overflow:clip}
.t6y-sv-bars i::after{content:"";display:block;height:100%;background:#FFFBEF;transform:scaleX(0);transform-origin:left}
.t6y-sv-bars i.t6y-done::after{transform:none}
.t6y-sv-bars i.t6y-now::after{animation:t6y-svbar 2.6s linear forwards}
.t6y-sv-head{position:absolute;top:28px;left:14px;right:8px;display:flex;align-items:center;gap:10px;font-size:13px}
.t6y-sv-head img{width:32px;height:32px;border-radius:50%;object-fit:cover;object-position:50% 30%}
.t6y-sv-close{margin-left:auto;width:40px;height:40px;padding:0;border:0;background:none;color:#FFFBEF;font-size:28px;line-height:1;cursor:pointer}
.t6y-sv-lines{position:relative;width:100%;height:3em;margin-top:-28%;font-family:Petrona,Fraunces,serif;font-weight:300;font-size:clamp(28px,8vw,38px);line-height:1.1;letter-spacing:-.02em}
.t6y-sv-lines p{position:absolute;inset:0;margin:0;padding:0 28px;display:flex;align-items:center;justify-content:center;opacity:0;transform:translateY(14px);transition:opacity .45s ease,transform .45s ease}
.t6y-sv-lines p.t6y-now{opacity:1;transform:none}
.t6y-sv-lines span{display:block;max-width:12ch;text-wrap:balance}
.t6y-sv-lines em{font-family:'Crimson Pro',serif;font-style:italic;color:#F6E3A1}
.t6y .t6y-sv-cta{position:absolute;left:50%;bottom:clamp(36px,9%,64px);transform:translate(-50%,14px);opacity:0;pointer-events:none;white-space:nowrap;background:#211E16;color:#FFFBEF;padding:15px 24px;border-radius:999px;font-size:15px;font-weight:500;text-decoration:none;transition:opacity .5s ease .5s,transform .5s ease .5s}
.t6y .t6y-sv-cta:hover{color:#F6E3A1}
.t6y-sv-card[data-frame="2"] .t6y-sv-cta{opacity:1;transform:translate(-50%,0);pointer-events:auto}
/* the custom cursor turns cream over the dark story */
.t6y-storyopen :is(.t6y-cring,.t6y-cdot){--ink:#FFFBEF;--bg:#211E16}

/* ---------- custom cursor (mouse only) ---------- */
.t6y-cring,.t6y-cdot{display:none}
@media (pointer: fine){
  .t6y,.t6y a,.t6y button{cursor:none}
  .t6y-cring,.t6y-cdot{display:block;position:fixed;left:0;top:0;z-index:200;pointer-events:none;border-radius:50%;opacity:0;transition:opacity .3s}
  .t6y-cursor-on .t6y-cring,.t6y-cursor-on .t6y-cdot{opacity:1}
  .t6y-cdot{width:8px;height:8px;margin:-4px 0 0 -4px;background:var(--ink);transition:opacity .3s,scale .25s cubic-bezier(.2,.8,.2,1)}
  .t6y-cring{width:40px;height:40px;margin:-20px 0 0 -20px;display:grid;place-items:center}
  /* the ring's look lives on ::before so its size can change without fighting the JS transform */
  .t6y-cring::before{content:"";position:absolute;inset:0;border-radius:50%;border:1.5px solid var(--ink);background:rgba(246,227,161,0);transition:transform .35s cubic-bezier(.2,.8,.2,1),background-color .3s,border-color .3s}
  .t6y-cring span{position:relative;font:500 13px Inter,sans-serif;color:var(--bg);white-space:nowrap;opacity:0;transform:scale(.6);transition:opacity .2s,transform .3s cubic-bezier(.2,.8,.2,1)}
  /* over links: a bigger ring with a soft fill; the outline and dot stay so it never disappears on the yellow footer */
  .t6y-cursor-link .t6y-cring::before{transform:scale(1.5);background:rgba(246,227,161,.45)}
  .t6y-cursor-label .t6y-cring::before{transform:scale(2.2);background:var(--ink);border-color:var(--ink)}
  .t6y-cursor-label .t6y-cring span{opacity:1;transform:none}
  .t6y-cursor-label .t6y-cdot{scale:0}
  .t6y-cursor-down .t6y-cring::before{transform:scale(.8)}
  .t6y-cursor-link.t6y-cursor-down .t6y-cring::before{transform:scale(1.35)}
  .t6y-cursor-label.t6y-cursor-down .t6y-cring::before{transform:scale(1.9)}
}

/* ---------- page-level scroll effects ---------- */
@keyframes t6y-load{from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:none}}
@keyframes t6y-heroOut{to{transform:translateY(-14vh) scale(.9);opacity:0}}
@keyframes t6y-prog{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes t6y-in{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:none}}
@keyframes t6y-hl{0%{opacity:.16}40%,60%{opacity:1}100%{opacity:.16}}
@keyframes t6y-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes t6y-card{from{opacity:0;transform:translateY(120px) scale(.9)}to{opacity:1;transform:none}}

/* ---------- services: butter circle grows out of the Venn ---------- */
.t6y-svc{view-timeline-name:--t6ysvc}
@keyframes t6y-grow{from{clip-path:circle(0px at 34% 51%)}to{clip-path:circle(150vmax at 34% 51%)}}
@keyframes t6y-fade{from{opacity:1}to{opacity:0}}
.t6y-fill{position:fixed;inset:0;z-index:0;background:var(--fill);pointer-events:none;animation:t6y-grow linear both,t6y-fade linear both;animation-timeline:--t6ysvc,--t6ysvc;animation-range:entry 0% entry 100%,exit 0% exit 60%}

/* ---------- hero headline ---------- */
@keyframes t6y-rise{from{transform:translateY(105%)}to{transform:none}}
@keyframes t6y-word{0%,40%{opacity:0;transform:translateY(14px)}60%,100%{opacity:1;transform:none}}
.t6y-mask{display:inline-flex;overflow:clip;vertical-align:bottom;padding-bottom:.06em;padding-right:.15em;margin-right:-.15em}  /* the right padding keeps the tail of a slanted last letter from being cut off */
.t6y-rise{display:inline-block;animation:t6y-rise 1.1s cubic-bezier(.7,0,.2,1) both}
.t6y-word{display:inline-block;animation:t6y-word .9s cubic-bezier(.2,.8,.2,1) both}

/* ---------- intro: pinned text + flying pieces ---------- */
.t6y-intro{height:300vh;view-timeline-name:--t6yin}
@keyframes t6y-irise{0%{transform:translateY(105%)}100%{transform:none}}
@keyframes t6y-ibar{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes t6y-ifade{0%{opacity:0}100%{opacity:1}}
@keyframes t6y-iout{from{opacity:1;transform:none}85%{opacity:.3;transform:translateY(-5vh) scale(.9)}to{opacity:0;transform:translateY(-5vh) scale(.9)}}
/* The intro is the first screen, so its text arrives right after the loader (4.9 s) instead of on scroll. */
.t6y-irise{display:inline-block;animation:t6y-irise 1.1s cubic-bezier(.7,0,.2,1) 5.1s both}
.t6y-ifade{animation:t6y-ifade 1s ease 5.5s both}
.t6y-iout{animation:t6y-iout linear both;animation-timeline:--t6yin;animation-range:contain 50% contain 100%}
.t6y-ib1,.t6y-ib2,.t6y-ib3{transform-origin:left;animation:t6y-ibar linear both;animation-timeline:--t6yin}
.t6y-ib1{animation-range:contain 8% contain 18%}.t6y-ib2{animation-range:contain 18% contain 28%}.t6y-ib3{animation-range:contain 28% contain 38%}

/* ---------- intro: copy + layered photo ---------- */
.t6y-igrid{position:relative;width:100%;padding:0 var(--side);display:grid;grid-template-columns:1.1fr 1fr;align-items:center;gap:6vw}
.t6y-icopy{display:flex;flex-direction:column;gap:3vh;min-width:0}
.t6y-role{font-size:13px;letter-spacing:.14em;color:var(--soft)}
.t6y-tagline{margin:0;max-width:34ch;font-size:14px;line-height:1.55;color:var(--soft);animation-delay:5.8s}
.t6y-pwrap{perspective:1000px;display:grid;place-items:center}
.t6y-pscene{position:relative;width:min(400px,24vw);aspect-ratio:1;transform-style:preserve-3d;will-change:transform}
.t6y-pl{position:absolute;transform:translateZ(var(--z));transform-style:preserve-3d}
.t6y-pc{display:block;width:100%;height:100%;border-radius:50%}
.t6y-pimg{display:block;width:100%;height:100%;border-radius:50%;overflow:clip;box-shadow:0 30px 60px rgba(33,30,22,.18);animation:t6y-pphoto 1.1s cubic-bezier(.2,.8,.2,1) 5.6s both}
.t6y-pimg img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 35%}
@keyframes t6y-pphoto{from{clip-path:circle(0% at 50% 50%)}to{clip-path:circle(50% at 50% 50%)}}
.t6y-chip{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px;font-weight:500;padding:10px 16px;border-radius:999px;background:var(--card);color:var(--ink);box-shadow:0 14px 28px rgba(33,30,22,.12)}
.t6y-chip i{width:8px;height:8px;border-radius:50%;background:#3E8E4F}
.t6y-pop{animation:t6y-pop .8s cubic-bezier(.2,.8,.2,1) both}
@keyframes t6y-pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
.t6y-pstar{display:block;color:var(--ink);width:100%;height:auto;animation:t6y-rot 14s linear infinite}
@keyframes t6y-rot{to{transform:rotate(360deg)}}
@media (max-width: 760px){
  .t6y-igrid{grid-template-columns:1fr;gap:4vh}
  .t6y-pwrap{order:-1}
  .t6y-icopy{align-items:center;text-align:center}
  .t6y-pscene{width:min(240px,58vw)}
  .t6y-chip{font-size:12px;padding:7px 12px}
}

/* ---------- intro → hero transition ----------
   The intro is 300vh with its content pinned. For the first half the highlights sweep;
   in the second half the hero (pulled up 100vh) slides over it while the intro recedes. */
@keyframes t6y-scatter{to{translate:var(--sx) var(--sy);opacity:0}}
.t6y-scatter{animation:t6y-scatter linear both;animation-timeline:--t6yin;animation-range:contain 42% contain 72%}
.t6y-heropanel{margin-top:-100vh;border-radius:clamp(28px,4vw,56px) clamp(28px,4vw,56px) 0 0;box-shadow:0 -24px 60px rgba(33,30,22,.10);view-timeline-name:--t6yhero}
/* the panel's cream fades as the hero leaves, so the butter circle growing into Services shows through */
@keyframes t6y-panelbg{to{opacity:0}}
.t6y-heropanel::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--bg);border-radius:inherit;animation:t6y-panelbg linear both;animation-timeline:--t6yhero;animation-range:exit 0% exit 30%}

/* ---------- Venn diagram ---------- */
@keyframes t6y-vdraw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes t6y-vfin{from{opacity:0}to{opacity:1}}
@keyframes t6y-va{0%,100%{translate:0 0}50%{translate:-7px -5px}}
@keyframes t6y-vb{0%,100%{translate:0 0}50%{translate:7px -5px}}
@keyframes t6y-vc2{0%,100%{translate:0 0}50%{translate:0 7px}}
@keyframes t6y-cin{from{opacity:0;transform:scale(.6)}to{opacity:1;transform:none}}
@keyframes t6y-ping{0%{transform:scale(1);opacity:.6}100%{transform:scale(2.2);opacity:0}}
.t6y-vcir{transform-box:fill-box;transform-origin:center}
.t6y-vcir.t6y-va{animation:t6y-cin 1.2s cubic-bezier(.2,.8,.2,1) both,t6y-va 7s ease-in-out 1.6s infinite}
.t6y-vcir.t6y-vb{animation:t6y-cin 1.2s cubic-bezier(.2,.8,.2,1) .2s both,t6y-vb 7s ease-in-out 1.8s infinite}
.t6y-vcir.t6y-vc2{animation:t6y-cin 1.2s cubic-bezier(.2,.8,.2,1) .4s both,t6y-vc2 7s ease-in-out 2s infinite}
.t6y-vmid2{animation:t6y-vfin 1s 1.2s ease both}
.t6y-lead{stroke-dasharray:1;animation:t6y-vdraw .8s 1.8s cubic-bezier(.6,0,.3,1) both}
.t6y-vout{animation:t6y-vfin .8s 2.2s ease both}
.t6y-vpair{animation:t6y-vfin .8s 1.5s ease both}
.t6y-node{animation:t6y-vfin .5s ease both}
.t6y-ping{transform-box:fill-box;transform-origin:center;animation:t6y-ping 2.4s ease-out infinite}
.t6y-vname{animation:t6y-vfin .8s 1.4s ease both}

/* ---------- mobile hero: typed word + notifications ---------- */
.t6y-m5{display:none}
@keyframes t6y-m5c{0%,49%{opacity:1}50%,100%{opacity:0}}
.t6y-m5c{animation:t6y-m5c 1s steps(1) infinite}
.t6y-notif,.t6y-notifcap{display:none}
@keyframes t6y-n4{0%{opacity:0;transform:translateY(-24px) scale(.95)}12%,82%{opacity:1;transform:none}100%{opacity:0;transform:translateY(-8px)}}
.t6y-n4{animation:t6y-n4 6s cubic-bezier(.2,.8,.2,1) infinite}
@media (max-width: 760px){.t6y-venn{display:none !important}.t6y-dword{display:none !important}.t6y-m5{display:inline-block !important}.t6y-notif{display:flex !important}.t6y-notifcap{display:block !important}.t6y-desksub{display:none !important}.t6y-hh{max-width:100% !important}.t6y-hcol{padding-left:var(--side) !important}}

/* ---------- scroll-linked helpers ---------- */
.t6y-load{animation:t6y-load 1.1s cubic-bezier(.2,.8,.2,1) both}
.t6y-heroin{animation:t6y-heroOut linear both;animation-timeline:--t6yhero;animation-range:exit 0% exit 90%}

/* The hero is no longer first: hold its timed animations until it scrolls into view (script.js adds .t6y-play). */
#hero:not(.t6y-play) :is(.t6y-rise,.t6y-word,.t6y-load,.t6y-vcir,.t6y-vmid2,.t6y-lead,.t6y-vout,.t6y-vpair,.t6y-node,.t6y-ping,.t6y-vname,.t6y-n4){animation-play-state:paused}
.t6y-prog{animation:t6y-prog linear both;animation-timeline:scroll(root)}
.t6y-in{animation:t6y-in linear both;animation-timeline:view();animation-range:entry 0% cover 30%}
.t6y-hl{animation:t6y-hl linear both;animation-timeline:view();animation-range:cover 10% cover 90%}
.t6y-draw{stroke-dasharray:1;animation:t6y-draw linear both;animation-timeline:view();animation-range:entry 30% cover 45%}
.t6y-card{animation:t6y-card linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
@keyframes t6y-up{from{transform:translateY(105%)}to{transform:none}}
@keyframes t6y-slide{from{transform:translateX(60px)}to{transform:none}}
@keyframes t6y-par{from{transform:scale(1.18)}to{transform:scale(1)}}
@keyframes t6y-tilt{from{transform:perspective(1400px) rotateX(10deg)}to{transform:none}}
.t6y-m{display:block;overflow:clip;padding-right:.15em;margin-right:-.15em}
.t6y-m>span{display:block;animation:t6y-up linear both;animation-timeline:view();animation-range:entry 20% cover 35%}
.t6y-slide{animation:t6y-slide linear both;animation-timeline:view();animation-range:entry 0% cover 35%}
.t6y-par{animation:t6y-par linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
.t6y-tilt{transform-origin:50% 100%;animation:t6y-tilt linear both;animation-timeline:view();animation-range:entry 0% entry 90%}
/* project preview: a browser frame; hovering the card scrolls the full-length screenshot top to bottom */
.t6y-browser{border-radius:14px;overflow:clip;background:var(--card);box-shadow:0 0 0 1px var(--line)}
.t6y-bbar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:var(--tint)}
.t6y-bbar i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.t6y-bbar b{margin-left:10px;padding:4px 12px;border-radius:99px;background:var(--card);font-size:12px;font-weight:400;color:var(--soft)}
.t6y-bview{position:relative;aspect-ratio:16/10;overflow:clip}
.t6y-bview img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0;transition:object-position 1.4s cubic-bezier(.45,0,.3,1)}
a:hover .t6y-bview img,a:focus-visible .t6y-bview img{object-position:50% 100%;transition-duration:8s}
.t6y-bhint{position:absolute;right:14px;bottom:14px;padding:6px 12px;border-radius:99px;background:#211E16;color:#FFFBEF;font-size:12px;transition:opacity .3s}
a:hover .t6y-bhint,a:focus-visible .t6y-bhint{opacity:0}
@keyframes t6y-bscroll{from{object-position:50% 0}to{object-position:50% 100%}}
@media (hover: none){.t6y-bview img{animation:t6y-bscroll 16s ease-in-out 1s infinite alternate}.t6y-bhint{display:none}}
.t6y-impact{display:grid;grid-template-columns:repeat(3,auto);justify-content:start;gap:12px 28px;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.t6y-impact>span{display:flex;flex-direction:column;gap:2px;font-size:12px;line-height:1.3;color:var(--soft);width:min-content;min-width:8ch}
.t6y-impact b{font-family:Petrona,Fraunces,serif;font-weight:400;font-size:clamp(20px,1.7vw,24px);line-height:1;letter-spacing:-.02em;color:var(--acct);white-space:nowrap}
.t6y-wtags{display:flex;flex-wrap:wrap;gap:8px}
.t6y-wtags span{padding:6px 12px;border-radius:99px;border:1px solid var(--line);font-size:13px;color:var(--soft)}

/* ---------- loading screen: smiley unwinds into "Khushi" ---------- */
@keyframes ld-ink{0%{stroke-dasharray:0 2;stroke-dashoffset:0}14%,38%{stroke-dasharray:.0676 2;stroke-dashoffset:0}52%{stroke-dasharray:.1941 2;stroke-dashoffset:-.1346}88%,100%{stroke-dasharray:.8654 2;stroke-dashoffset:-.1346}}
@keyframes ld-eyeL{0%{transform:scale(0)}10%,22%{transform:scale(1)}25%{transform:scaleY(.1)}28%,38%{transform:scale(1);opacity:1}48%,100%{transform:translateY(30px) scale(0);opacity:0}}
@keyframes ld-eyeR{0%{transform:scale(0)}10%,22%{transform:scale(1)}25%{transform:scaleY(.1)}28%,38%{transform:scale(1)}86%,100%{transform:translate(109px,24px) scale(.78)}}
.ld-ink{animation:ld-ink var(--ld-d,4.6s) linear both var(--ld-it,1)}
.ld-eye{transform-box:fill-box;transform-origin:center}
.ld-eyeL{animation:ld-eyeL var(--ld-d,4.6s) cubic-bezier(.6,0,.3,1) both var(--ld-it,1)}
.ld-eyeR{animation:ld-eyeR var(--ld-d,4.6s) cubic-bezier(.5,0,.3,1) both var(--ld-it,1)}
@keyframes ld-out{to{opacity:0;visibility:hidden}}
/* script.js moves the signature into the headline when the drawing ends; the ld-out at 7 s is only a safety net if that never runs */
.t6y-loader{position:fixed;inset:0;z-index:100;background-color:var(--bg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;transition:background-color .9s ease;animation:ld-out .5s 7s forwards}
.t6y-loader.t6y-morph{background-color:transparent;pointer-events:none}
.t6y-loader .ld-bar{width:120px;height:2px;background:var(--line);overflow:clip;border-radius:2px;transition:opacity .3s}
.t6y-loader.t6y-morph .ld-bar{opacity:0}
.ld-sig{transform-origin:0 0;transition:transform 1s cubic-bezier(.7,0,.2,1),color 1s ease}

/* the signature's resting place: "Hi, I'm [Khushi]" */
.t6y-sr{position:absolute;width:1px;height:1px;overflow:clip;clip:rect(0 0 0 0);white-space:nowrap}
.t6y-sigslot{display:inline-block}
.t6y-sigstatic{display:inline-block;height:1.3em;width:auto;vertical-align:-.3em;color:var(--acct);overflow:visible;visibility:hidden;animation:t6y-sigshow 0s 7s forwards}
.t6y-sigstatic path{stroke-dasharray:.8654 2;stroke-dashoffset:-.1346}
.t6y-sigdot{transform:translate(109px,24px) scale(.78)}
.t6y-sigstatic.t6y-shown{visibility:visible}
@keyframes t6y-sigshow{to{visibility:visible}}
.t6y-loader .ld-bar i{display:block;height:100%;background:var(--acct);transform-origin:left;animation:ld-barf 4.8s linear both}
@keyframes ld-barf{from{transform:scaleX(0)}to{transform:scaleX(1)}}

/* ---------- footer: sunrise ----------
   Resting styles are the risen sun; the scroll animation starts it low and small,
   so reduced motion and browsers without scroll timelines simply see it risen. */
@keyframes t6y-live{0%,100%{box-shadow:0 0 0 0 rgba(62,142,79,.5)}50%{box-shadow:0 0 0 7px rgba(62,142,79,0)}}
.t6y-live{animation:t6y-live 2s ease-out infinite}
/* the heading starts below the sun's edge so it sits wholly on the sun, with a strip of sky above */
.t6y-sunset{position:relative;z-index:1;overflow:clip;view-timeline-name:--t6ysun;background:var(--bg);min-height:100vh;box-sizing:border-box;padding:calc(18vh + clamp(70px,7vw,120px) + clamp(56px,6vw,96px)) var(--side) 5vh}
.t6y-sun{position:absolute;left:50%;top:calc(18vh + clamp(70px,7vw,120px));width:max(150vw,1200px);aspect-ratio:1;margin-left:calc(max(150vw,1200px) / -2);border-radius:50%;background:var(--sun);
  animation:t6y-sunrise cubic-bezier(.3,.6,.4,1) both;animation-timeline:--t6ysun;animation-range:entry 15% exit 0%}
/* rises slowly over all the remaining scroll, finishing as the page reaches the bottom
   (the footer is at least a screen tall, so the bottom of the page is exactly exit 0%) */
@keyframes t6y-sunrise{from{transform:translateY(45vh)}}
.t6y-suncontent{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center}
.t6y-suncontent h2{margin:0;max-width:16ch;font-family:Petrona,Fraunces,serif;font-weight:300;font-size:clamp(46px,6.6vw,104px);line-height:.98;letter-spacing:-.02em;text-wrap:balance}
.t6y-suncontent h2 em{color:var(--acct)}
.t6y-sunrow{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:14px 28px;margin-top:clamp(32px,5vh,56px)}
/* "Start a project": a white fill sweeps in on hover (it sits on the butter sun), the arrow slides out and a new one slides in; script.js adds a slight magnetic pull */
.t6y .t6y-pill{position:relative;isolation:isolate;overflow:clip;display:inline-flex;align-items:center;gap:12px;background:var(--ink);color:var(--bg);text-decoration:none;padding:18px 28px;border-radius:999px;font-size:16px;font-weight:500;transition:color .35s ease,translate .3s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease}
.t6y .t6y-pill::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--card);transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.7,0,.2,1)}
.t6y .t6y-pill:hover,.t6y .t6y-pill:focus-visible{color:var(--ink);box-shadow:0 0 0 1.5px var(--ink),0 14px 30px rgba(33,30,22,.18)}
.t6y .t6y-pill:hover::before,.t6y .t6y-pill:focus-visible::before{transform:scaleX(1)}
.t6y-parrow{display:inline-grid;overflow:clip;width:1.1em}
.t6y-parrow i{grid-area:1/1;font-style:normal;transition:transform .45s cubic-bezier(.7,0,.2,1)}
.t6y-parrow i:last-child{transform:translateX(-130%)}
.t6y-pill:hover .t6y-parrow i:first-child,.t6y-pill:focus-visible .t6y-parrow i:first-child{transform:translateX(130%)}
.t6y-pill:hover .t6y-parrow i:last-child,.t6y-pill:focus-visible .t6y-parrow i:last-child{transform:none}
.t6y .t6y-qbtn{margin-top:clamp(28px,4vh,40px);display:inline-flex;align-items:center;gap:6px;padding:8px 15px;border-radius:999px;border:1px solid var(--ink);font-size:13px;text-decoration:none;color:var(--ink);transition:background .25s,color .25s}
.t6y .t6y-qbtn:hover,.t6y .t6y-qbtn:focus-visible{background:var(--ink);color:var(--bg)}
.t6y-quip{margin:22px 0 0;font-family:'Crimson Pro',serif;font-style:italic;font-weight:300;font-size:clamp(17px,1.4vw,20px);color:var(--onacc)}
.t6y-fmail{font-family:'Crimson Pro',serif;font-style:italic;font-size:clamp(22px,2.2vw,30px);text-decoration:none}
.t6y-suncontent > .t6y-in:nth-last-child(2){align-self:stretch;text-align:left}
.t6y-fend{align-self:stretch;margin-top:clamp(56px,9vh,96px)}

/* ---------- fallbacks ---------- */
/* Browsers without scroll-driven animations get every element in its final state. */
@supports not (animation-timeline: view()){
  .t6y-intro{height:auto}
  .t6y-intro>div{position:static!important;padding:14vh 0}
  .t6y-heropanel{margin-top:0;border-radius:0;box-shadow:none}
  .t6y-fill{display:none}
  .t6y-svc{background:var(--fill)}
  .t6y-iout,.t6y-scatter,.t6y-ib1,.t6y-ib2,.t6y-ib3,
  .t6y-heroin,.t6y-prog,.t6y-in,.t6y-hl,.t6y-draw,.t6y-card,.t6y-m>span,.t6y-slide,.t6y-par,.t6y-tilt,
  .t6y-sun{animation:none}
  .t6y-prog{display:none}
}
@media (prefers-reduced-motion: reduce){
  .t6y *{animation:none !important}
  .t6y .t6y-loader{display:none !important}
  .t6y-sigstatic{visibility:visible}
  .t6y-fill{display:none}
  .t6y-svc{background:var(--fill)}
}
