body { text-transform: uppercase; }
/* Acorn-style rounded display treatment. If Acorn is installed locally it is used directly; the fallback keeps the same soft geometry. */
body,body *,button,input,textarea,select,time {font-family:'Acorn','Arial Rounded MT Bold','Trebuchet MS',sans-serif!important;}
.reference-hero .first-name {position:relative;}
.reference-hero .first-name .hero-stats {position:absolute;left:0;top:calc(100% + 24px);display:flex;gap:28px;white-space:nowrap;font:400 16px/1.5 monospace;letter-spacing:0;}
.project-open-arrow {display:inline-block;font:19px/1 Arial,sans-serif;vertical-align:middle;margin-left:8px;}
.contact .footer-name {margin-bottom:-20px;}
.custom-cursor {position:fixed;top:0;left:0;z-index:20000;pointer-events:none;opacity:0;will-change:transform;}
.custom-cursor::before {content:'';position:absolute;left:0;top:0;width:12px;height:12px;border-radius:50%;background:#111;box-shadow:0 0 0 1px #ffffff45;transform:translate(-50%,-50%);transition:width .25s ease,height .25s ease;}
.custom-cursor span {position:absolute;left:0;top:0;transform:translate(-50%,-50%);color:#fff;font:10px/1 monospace;letter-spacing:.05em;opacity:0;transition:opacity .2s;}
.custom-cursor.is-visible {opacity:1;}
.custom-cursor.is-hovering::before {width:64px;height:64px;}
.custom-cursor.is-hovering span {opacity:1;}
@media(hover:hover) and (pointer:fine){html.custom-cursor-active,html.custom-cursor-active *{cursor:none!important;}}
@media(prefers-reduced-motion:reduce){.custom-cursor::before,.custom-cursor span{transition:none;}}
.footer-intro .contact-links {display:flex;justify-content:flex-start;gap:28px;margin-top:28px;}
.footer-intro .social-name {color:var(--ink);font:14px/1.5 monospace;}
.footer-contact .footer-email {border-bottom:0;text-decoration:none;}
@media(max-width:760px){.reference-hero .first-name .hero-stats{top:calc(100% + 12px);font-size:12px;gap:18px;}.reference-hero .last-name{margin-top:.5em;}}
/* Editorial project cards: product context beside one visual. */
.scroll-work .projects .project {display:grid;grid-template-columns:minmax(280px,30%) minmax(0,1fr);gap:clamp(28px,4vw,64px);padding:21px;box-sizing:border-box;}
.scroll-work .projects .project .project-caption {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:24px 0;min-height:0;gap:24px;}
.scroll-work .project-caption h3 {font-size:clamp(22px,2vw,30px);}
.scroll-work .project-caption .project-description {font-size:clamp(15px,1.25vw,20px);line-height:1.5;margin:0;color:#55574f;}
.scroll-work .project-caption dl {width:100%;margin:8px 0 0;font-size:clamp(12px,1vw,16px);line-height:1.5;}
.scroll-work .project-caption dl > div {display:grid;grid-template-columns:80px 1fr;gap:12px;border-top:1px solid var(--line);padding:20px 0;}
.scroll-work .project-caption dt {color:#85867f;}
.scroll-work .project-caption dd {margin:0;}
.project-open {font:16px/1.5 monospace;margin-top:auto;padding-bottom:8px;}
.scroll-work .projects .project .project-art {height:100%;min-height:0;order:1;}
.scroll-work .projects .project-art > div {font-size:clamp(40px,7vw,110px);}
.scroll-work .projects .project-art .ryvn-word {font-size:clamp(64px,10vw,160px);}
@media(max-width:760px){
 .scroll-work .projects .project {grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:16px;}
 .scroll-work .projects .project .project-caption {padding:0;gap:10px;}
 .scroll-work .project-caption .project-description {font-size:13px;line-height:1.4;}
 .scroll-work .project-caption dl {margin:0;font-size:11px;}
 .scroll-work .project-caption dl > div {padding:8px 0;grid-template-columns:65px 1fr;}
 .scroll-work .project-caption h3 {font-size:20px;}
 .project-open {display:none;}
}
.welcome-open {overflow:hidden;}
.welcome-screen {position:fixed;inset:0;z-index:10000;background:#151515;color:#f5f5f2;display:grid;place-items:center;transform:translateY(0);transition:transform 900ms cubic-bezier(.76,0,.24,1);}
.welcome-title {margin:0;font:400 14px/1.4 monospace;letter-spacing:.12em;}
.welcome-start {position:absolute;bottom:clamp(32px,6vh,64px);left:50%;transform:translateX(-50%);border:0;background:none;color:#b9b9b5;padding:16px;font:400 11px/1.4 monospace;letter-spacing:.1em;white-space:nowrap;cursor:pointer;}
.welcome-start:hover {color:#fff;}
.welcome-start:focus-visible {outline:1px solid #aaa;outline-offset:4px;}
.welcome-leaving {transform:translateY(-100%);}
@media(prefers-reduced-motion:reduce){.welcome-screen{transition:none;}}
/* The grid is anchored to the viewport, independent of section movement. */
main > section {
  --grid-line: rgba(32,33,30,.0225);
  background-image: linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:40px 40px;
  background-position:0 0;
  background-attachment:fixed;
}
main > .process, main > .contact.dark-footer {
  --grid-line:rgba(32,33,30,.0225);
  background-image:linear-gradient(var(--grid-line) 1px,transparent 1px),linear-gradient(90deg,var(--grid-line) 1px,transparent 1px);
  background-size:40px 40px;background-attachment:fixed;
}
/* All homepage sections share the light palette. */
main > .process, main > .contact.dark-footer {background-color:var(--paper);color:var(--ink);}
.process-grid article {border-color:var(--line);}
.process-grid p {color:#60625b;}
.process-grid article > span {color:#55574f;}
.process h2 span {color:#2878ef;}
.contact.dark-footer .social-icon {color:var(--ink);}
.contact.dark-footer .footer-name {color:#deded8;}
.welcome-screen {background:#151515;color:#f5f5f2;}
.welcome-start {color:#b9b9b5;font-size:14px;}
.welcome-start:hover {color:#fff;}
/* Refined glass navigation and timed entrance. */
.work-stage .section-heading > div {width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;}
.work-stage .section-heading h2 {order:0;margin:0!important;}
.work-stage .section-heading .eyebrow {display:none;}
.loader {background:#090909!important;color:#fafafa;}
.loader-content {width:min(76vw,1120px);display:flex;flex-direction:column-reverse;gap:28px;}
.loader-percentage {font-family:Manrope,Arial,sans-serif;font-size:clamp(90px,18vw,250px);font-weight:500;line-height:1;letter-spacing:-.075em;margin:0;text-align:left;font-variant-numeric:tabular-nums;}
.loader-track {height:12px;border-radius:100px;background:#252525;overflow:hidden;}
.loader-fill {height:100%;border-radius:100px;background:linear-gradient(90deg,#406bff,#83b4ff 58%,#ecf5ff);position:relative;box-shadow:0 0 20px #438bff80;}
.loader-fill::after {content:'';position:absolute;inset:0;background:linear-gradient(110deg,transparent 20%,#ffffff80 45%,transparent 70%);background-size:200% 100%;animation:liquid-flow 1.2s linear infinite;}
@keyframes liquid-flow {from{background-position:160% 0}to{background-position:-60% 0}}
@media(prefers-reduced-motion:reduce){.loader-fill::after{animation:none;}}
.portfolio-header a {position:relative;isolation:isolate;overflow:hidden;transition:background .25s,box-shadow .25s,transform .25s;color:#20211e;}
.portfolio-header a::before {content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(145deg,#ffffff85,transparent 40%,#ffffff15 70%,#ffffff60);z-index:-1;}
.portfolio-header a::after {content:'';position:absolute;inset:1px;border-radius:inherit;pointer-events:none;border-top:1px solid #ffffffbd;border-bottom:1px solid #ffffff45;}
.reference-hero .portfolio-header {position:fixed;top:0;left:0;right:0;width:100%;z-index:100;height:76px;padding:12px 2%;background:transparent;pointer-events:none;}
.portfolio-header nav {gap:10px;}
.portfolio-header a {pointer-events:auto;gap:9px;width:auto!important;padding:10px 15px;border:1px solid #ffffff70!important;border-radius:24px;background:linear-gradient(135deg,rgba(247,249,252,.6),rgba(225,230,238,.35));backdrop-filter:blur(24px) saturate(180%) contrast(105%);-webkit-backdrop-filter:blur(24px) saturate(180%) contrast(105%);box-shadow:inset 0 1px 2px #ffffffd0,inset 0 -1px 2px #ffffff55,0 5px 18px #15233812,0 1px 3px #15233816;color:#20211e;}
.portfolio-header a:hover {opacity:1;transform:translateY(-1px);background:linear-gradient(135deg,#ffffffad,#eef3fa80);box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px #ffffff75,0 8px 22px #15233820;}
.portfolio-header a:active {transform:translateY(0) scale(.97);}
.reference-hero {padding-top:76px!important;grid-template-rows:1fr auto auto!important;}
.reference-hero .hero-meta {grid-template-columns:1fr 1fr;}
.reference-hero .hero-meta > span:nth-child(2) {justify-self:end;text-align:right;}
a[href],button {cursor:pointer;}
html {scroll-padding-top:0;}
.reference-hero .hero-role { margin-bottom: 96px; position:relative; }
.hero-role .hero-stats {position:absolute;right:0;top:0;display:flex;gap:28px;font:400 16px/1.5 monospace;letter-spacing:0;}
main > #process[hidden] {display:none;}
@media(max-width:760px){.reference-hero .hero-role{margin-bottom:40px;}.hero-role .hero-stats{position:static;justify-content:flex-end;margin-top:24px;font-size:13px;gap:20px;}}
.project-caption > div:first-child { display: flex; align-items: center; justify-content:flex-start; gap: 18px; min-width: 0; }
.project-caption h3 { margin: 0; flex-shrink: 0; }
.project-caption p { line-height: 1.4; }
.project-caption { grid-template-columns: minmax(0,1fr) 48px; gap: 16px; }
.project-caption > div:first-child {grid-column:1;grid-row:1;}
.project-caption .project-arrow { grid-column: 2; grid-row: 1; justify-self:center; }
.reference-hero { min-height: 100svh; grid-template-rows: auto 1fr auto auto; }
.reference-hero .portfolio-header { padding: 12px 2%; width: 100%; }
.reference-hero h1 { font-size: min(18.5vw, 27svh); padding-top: 32px; padding-bottom: 28px; }
.project-caption .tags { padding: 0; }
main > .scroll-work { height: 100svh; padding: 0 2%; position: relative; }
.work-stage { position: sticky; top: 0; height: 100svh; padding: 90px 0 20px; display: flex; flex-direction: column; }
.work-stage .section-heading { flex: 0 0 auto; margin-bottom: 22px; }
.work-stage .section-heading h2 { margin-top: 10px; font-size: clamp(22px,2.7vw,38px); }
.work-viewport { overflow: hidden; flex: 1; min-height: 0; }
.scroll-work .projects { display:block;position:relative;height:100%; }
.scroll-work .project {position:absolute;inset:0;min-width:0;min-height:0;height:100%;background:var(--paper);transform-origin:top center;transition:transform 600ms cubic-bezier(.22,.68,0,1);box-shadow:-12px 0 24px #20211e0a;}
.scroll-work .project-art { min-height: 0; }
.scroll-work .project-caption { flex: 0 0 auto; min-height: 64px; padding: 12px 0 8px; }
.project-art > div { font-size: clamp(40px,9vw,150px); letter-spacing: -.065em; }
.project-art .ryvn-word { font-size: clamp(70px,13vw,200px); }
.contact h2 { font-size: clamp(60px,10.5vw,155px); }
@media(max-width:760px) {
  main > .scroll-work { padding-left: 3%; padding-right: 3%; }
  .work-stage { padding-top: 90px; padding-bottom: 14px; }
  .scroll-work .project-caption { grid-template-columns: minmax(0,1fr) 30px; min-height: 126px; gap: 8px; }
  .project-caption > div:first-child { gap: 12px; }
  .project-caption h3 { font-size: 17px; }
  .project-caption p { font-size: 12px; }
  .project-caption .tags { grid-column: 1; grid-row: 2; text-align: left; justify-self: start; }
  .project-arrow { grid-column: 2; grid-row: 1 / span 2; }
  .project-art .ryvn-word { font-size: 19vw; }
  .project-art > div { font-size: 10vw; }
}
@media(prefers-reduced-motion:reduce) { .scroll-work .projects { transition: none; } }
main > section {min-height:100svh;}
.process,.domains,.contact {min-height:100svh;display:flex;flex-direction:column;justify-content:center;}
.domains {padding-top:32px;padding-bottom:32px;}
.domains h2 {margin-bottom:24px;}
.domain-list > div {padding:15px 0;}
.contact footer {margin-top:auto;}
.contact .eyebrow {margin-top:auto;}
.about {min-height:100svh;padding:50px 8%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:32px;text-align:center;}
.reading-paragraph {max-width:1000px;margin:0;font-family:Manrope,Arial,sans-serif;font-size:clamp(20px,2.25vw,36px);line-height:1.35;font-weight:500;letter-spacing:-.045em;}
.reading-paragraph span {color:#babbb7;transition:color 350ms;}
.reading-paragraph span.read {color:var(--ink);}
@media(max-width:760px){.about{padding:35px 6%;gap:24px;}.reading-paragraph{font-size:clamp(16px,4vw,22px);}}
@media(prefers-reduced-motion:reduce){.scroll-work .project,.reading-paragraph span{transition:none;}}
.portfolio-header a {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;}
.portfolio-header svg {width:22px;height:22px;}
.portfolio-header a:hover {color:#2878ef;}
.contact.dark-footer {background:#151515;color:#f3f2ef;padding:clamp(45px,9vh,90px) 6% 0;position:relative;overflow:hidden;justify-content:space-between;}
.footer-top {display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:start;position:relative;z-index:1;}
.dark-footer h2 {font-size:clamp(36px,4.4vw,70px);line-height:1.03;letter-spacing:-.05em;margin:0;}
.footer-contact {padding-top:12px;max-width:440px;justify-self:end;text-align:right;}
.footer-contact .contact-links {justify-content:flex-end;}
.dark-footer .eyebrow {margin:0 0 24px;font-size:16px;}
.footer-email {font-size:clamp(14px,1.35vw,21px);display:inline-block;border-bottom:1px solid #777;padding-bottom:8px;}
.footer-contact p {font-size:14px;line-height:1.6;color:#a4a4a4;margin:24px 0;}
.dark-footer .contact-links .social-icon {color:var(--ink);opacity:1;}
.footer-name {font-family:Manrope,Arial,sans-serif;font-size:20vw;line-height:1;font-weight:800;letter-spacing:-.075em;white-space:nowrap;color:#303030;position:absolute;left:50%;bottom:0;transform:translate(-50%,10%);margin:0;padding:0;}
.dark-footer footer {width:100%;margin:24px 0 0;padding:22px 0;border-top:1px solid #343434;color:#aaa;position:relative;z-index:1;}
@media(max-width:760px){.footer-top{grid-template-columns:1fr;gap:28px;}.contact.dark-footer{padding:36px 6% 0;}.footer-contact{padding:0;}.dark-footer .eyebrow{margin-bottom:16px;}.footer-contact p{margin:16px 0;}.dark-footer .contact-links{margin-top:10px;}.footer-name{font-size:17vw;padding-top:30px;}.project-caption > div:first-child{flex-wrap:wrap;gap:4px 12px;text-align:center;}}
.contact.dark-footer {padding-top:110px;}
.reference-hero .portfolio-header {height:88px;padding:18px 2%;}
.portfolio-header nav {gap:12px;}
.portfolio-header a {min-width:112px!important;width:auto!important;height:50px;padding:0 22px!important;gap:12px;border:1px solid rgba(255,255,255,.46)!important;background:linear-gradient(140deg,rgba(255,255,255,.34),rgba(240,246,255,.12) 50%,rgba(255,255,255,.24));backdrop-filter:blur(12px) saturate(165%);-webkit-backdrop-filter:blur(12px) saturate(165%);box-shadow:inset 0 1px 1px #ffffffe0,inset 1px 0 1px #ffffff70,inset 0 -1px 1px #ffffff30,0 4px 16px #15233812;}
.portfolio-header a::before {background:linear-gradient(155deg,#ffffff50,transparent 35%,transparent 65%,#ffffff35);}
.portfolio-header a::after {inset:2px;border-top:1px solid #ffffff65;border-bottom:1px solid #ffffff20;}
.portfolio-header a:hover {background:linear-gradient(140deg,#ffffff85,#eef6ff40 55%,#ffffff50);box-shadow:inset 0 1px 2px #fff,inset 0 -1px 2px #ffffff60,0 6px 20px #15233820;}
.portfolio-header .say-hi {min-width:154px!important;}
.portfolio-header.on-dark a {color:#f7f8fa;background:linear-gradient(140deg,#ffffff1f,#ffffff08 55%,#ffffff12);border-color:#ffffff35!important;box-shadow:inset 0 1px 1px #ffffff60,inset 0 -1px 1px #ffffff15,0 4px 16px #00000026;}
.portfolio-header.on-dark a::before {background:linear-gradient(155deg,#ffffff16,transparent 40%,#ffffff08);}
.portfolio-header.on-dark a::after {border-top-color:#ffffff40;border-bottom-color:#ffffff12;}
.portfolio-header.on-dark a:hover {color:#fff;background:linear-gradient(140deg,#ffffff30,#ffffff12);}
@media(max-width:760px){.work-stage .section-heading > div{gap:12px;}.work-stage .section-heading h2{font-size:18px;}.work-stage .section-heading .eyebrow{font-size:10px;}.portfolio-header a{min-width:92px!important;height:44px;padding:0 14px!important;}.loader-content{gap:20px;}.loader-track{height:8px;}}
@media(max-width:760px){.portfolio-header nav{gap:5px;}.portfolio-header a{padding:8px 9px;gap:5px;font-size:10px;}.portfolio-header svg{width:17px;height:17px;}.portfolio-header .say-hi{display:none;}.footer-name{font-size:20vw;padding:0;}.contact.dark-footer{padding-top:100px;}}
