@font-face{font-family:'Gveret Levin';src:url(fonts/gveret-levin-hebrew-400.woff2) format('woff2');font-weight:400;font-display:swap}   /* AlefAlefAlef, OFL — her Hebrew name in round handwriting */
/* About page — structure and motion copied from johngearhart.me/about.html, words from matat.myportfolio.com/about-me */
:root{
  --ff-tertiary:'Bebas Neue',Impact,sans-serif;
  --ff-fourth:'Inter','Helvetica Neue',Arial,sans-serif;      /* stands in for Neue Haas Grotesk */
  --ff-logo:'Roboto',system-ui,sans-serif;
  --ff-he:'Heebo','Roboto',sans-serif;
  --veil:#a2aeae; --dark:#1c1c1c; --txtfoot:#bac4b8; --txthover:#677265; --accent:#c6494b; --csr:#c6494b;
}
html,body{margin:0;background:var(--veil);scrollbar-width:none}
html::-webkit-scrollbar{display:none}
body.has-cursor, body.has-cursor a{cursor:none}
.cursor{position:fixed;z-index:200;left:0;top:0;width:.8vw;height:1.6vh;min-width:9px;min-height:9px;border-radius:100vmax;background:var(--csr);
  pointer-events:none;display:flex;justify-content:center;align-items:center;overflow:hidden;font:500 clamp(8px,.9vh,11px)/1 var(--ff-fourth);
  color:#fff;transform:translate(-50%,-50%);opacity:0;text-align:center}
body.has-cursor .cursor{opacity:1}

#abt-pic{position:fixed;top:4vh;left:7.3vh;z-index:3;height:clamp(62px,5.2vw,90px);display:flex;align-items:center}   /* her portrait, left of the name; outside the logo so the name's difference blend doesn't invert it */
#abt-pic img{height:100%;width:auto;display:block}
#abt-logo{position:fixed;top:4vh;left:calc(7.3vh + clamp(62px,5.2vw,90px) * 695 / 1098 + 10px);height:clamp(62px,5.2vw,90px);justify-content:center;z-index:3;display:flex;flex-direction:column;gap:.15vw;color:#f2efea;text-decoration:none;mix-blend-mode:difference}
.roll{display:block;overflow:hidden;line-height:1.15;position:relative}
.roll span{display:block;transition:translate .5s cubic-bezier(.76,0,.24,1)}
.roll span+span{position:absolute;left:0;right:0;top:100%}
#abt-logo:hover .roll span{translate:0 -100%}
#abt-logo .l1{font:900 clamp(11px,.78vw,16px)/1.15 var(--ff-logo);text-align:center}
#abt-logo .l2{font:400 clamp(16px,1.15vw,23px)/1.5 'Gveret Levin',var(--ff-he);direction:rtl;text-align:center;padding-inline:.3em;margin-inline:-.3em}

#backToTop{position:fixed;right:3vw;bottom:3vw;z-index:3;width:5vw;height:5vw;min-width:64px;min-height:64px;border-radius:50%;background:#fff;color:#000;
  font:500 clamp(8px,.9vh,11px)/1 var(--ff-fourth);display:flex;justify-content:center;align-items:center;text-decoration:none;
  box-shadow:0 1px 3px rgba(0,0,0,.14);transition:transform .3s}   /* same crisp shadow as the round buttons on the project pages */
#backToTop:hover{transform:scale(1.1);transition-duration:.5s}
#backToTop{gap:5px;letter-spacing:.08em}
#backToTop svg{width:6px;height:9px;fill:none;stroke:currentColor;stroke-width:1.6}

#abt{position:relative;background:var(--dark);display:flex;flex-direction:column;align-items:center}
#abt::before{content:"";position:absolute;inset:0;background:var(--veil);z-index:5;pointer-events:none;transition:opacity .3s ease}
#abt.show::before{opacity:0}

/* 1 — intro copied from ruthgriffioen.art/pages/about (first part only): white page, portrait card left, text column right */
#sec1{width:100%;min-height:100vh;background:#fff;display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:110px 32px 48px;position:relative;z-index:1}
#intro{display:grid;grid-template-columns:auto minmax(0,34rem);gap:clamp(2rem,1rem + 4vw,6rem);align-items:center;justify-content:center;width:100%}
#intro-photo{position:relative;margin:0;height:min(calc(100svh - 190px),46rem);aspect-ratio:4/5;}   /* her drawing on its own — no card behind it */
#intro-photo img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;display:block;transform:translateY(14%);opacity:0;
  transition:transform 1.2s cubic-bezier(.16,1,.3,1) .1s,opacity .8s cubic-bezier(.16,1,.3,1) .1s}
#intro-photo .clip{position:absolute;inset:0;overflow:hidden}
.is-read #intro-photo img{transform:none;opacity:1}
#intro-note{position:absolute;right:-.5em;top:-.9em;translate:12%;z-index:1;margin:0;font:500 clamp(1.35rem,1.1rem + .9vw,1.9rem)/1 'Caveat','Segoe Print',cursive;color:#f55a3a;rotate:-6deg;white-space:nowrap;pointer-events:none}
#intro-arrow{position:absolute;width:1.9em;height:1.3em;overflow:visible;left:-1.6em;top:.7em;scale:-1 1}
#intro-arrow path{stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset .45s cubic-bezier(.65,0,.35,1)}
.is-read #intro-arrow path{stroke-dashoffset:0;transition-delay:calc(1.1s + var(--chars,10) * 16ms)}
.is-read #intro-arrow path+path{transition-delay:calc(1.5s + var(--chars,10) * 16ms)}
.nc{display:inline-block;white-space:pre;opacity:0}
.is-read .nc{animation:note-char .75s linear both;animation-delay:calc(.9s + var(--c) * 16ms)}
@keyframes note-char{0%{opacity:0;transform:translate(-.25em,.5em) rotate(22deg)}25%{opacity:1}45%{transform:translate(.02em,-.05em) rotate(-5deg)}65%{transform:translateY(.02em) rotate(2deg)}82%{transform:rotate(-.8deg)}100%{opacity:1;transform:none}}
#intro-text{color:#111;font:300 clamp(16px,1.15vw,19px)/1.5 'Roboto Condensed',var(--ff-fourth)}   /* same thin running text as the rest of the site */
#intro-eyebrow{margin:0 0 clamp(1rem,.8rem + .6vw,1.5rem);font:400 13px/1.55 'Roboto Condensed',var(--ff-fourth);letter-spacing:.14em;text-transform:uppercase;color:#6f6f6f}
#intro-name{margin:0;font:400 clamp(48px,min(5.6vw,10vh),96px)/.95 var(--ff-tertiary);color:#111;overflow:hidden;padding-top:.05em}
#intro-name .ch{display:inline-block;white-space:pre;transform-origin:0 100%;transform:translateY(1.05em) rotate(10deg)}
.is-read #intro-name .ch{transform:none;transition:transform 1.2s cubic-bezier(.16,1,.3,1) calc(.15s + var(--i) * 45ms)}
#intro-lead{max-width:30em;margin-top:clamp(1.1rem,.4rem + 1.4vh,2rem);font:300 clamp(20px,1.1rem + .6vw,28px)/1.3 'Roboto Condensed',var(--ff-fourth)}
#intro-lead p{margin:0}
#intro-lead em{color:#c77b8c}
#intro-body{max-width:36rem;margin-top:clamp(1.1rem,.4rem + 1.4vh,2rem)}
#intro-body p{margin:0 0 .8em}
#intro-body p:last-child{margin-bottom:0}
/* under the text: the CV and the e-mail — quiet underlined links, not buttons */
#intro-links{margin-top:clamp(1.4rem,.6rem + 1.8vh,2.4rem);font-size:.92em}
#intro-links p{margin:0 0 .45em}
#intro-links a,#intro-links a .w{color:#111;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.22em;transition:color .3s}   /* .w = the words (inline-blocks), so the line runs unbroken */
#intro-links a:hover,#intro-links a:hover .w{color:#c77b8c}
.lines .w{display:inline-block;opacity:0;transform:translate(5rem) skew(-14deg) scaleY(.95);transform-origin:0 100%;
  transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .7s cubic-bezier(.16,1,.3,1);transition-delay:calc(.15s + var(--line) * 70ms)}
.is-read .lines .w{opacity:1;transform:none}

/* 3 */
#contact{width:100%;min-height:100vh;background:var(--dark);display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;overflow:hidden}
#foot-row{width:100%;min-height:90vh;display:flex;margin-top:9vh}
#foot-intro,#foot-info{width:50%;display:flex;flex-direction:column;justify-content:center;align-items:center}
#foot-overview{width:80%;margin:0;font:400 5vh/1.1 var(--ff-tertiary);color:var(--txtfoot);flex:0 0 auto}
#foot-copy{width:80%;margin:6vh 0 0;font:400 1.2vh/3vh var(--ff-fourth);color:var(--txtfoot)}
#info-main{width:80%;display:flex;gap:1vh}
.info-col{width:25vw;display:flex;flex-direction:column}
.info-lbl{color:#fff;font:400 max(10px,1.2vh)/1.3 var(--ff-fourth);margin-bottom:3vh}
.info-btn{color:var(--txtfoot);font:400 max(15px,2vh)/1.2 var(--ff-tertiary);margin-bottom:1vh;text-decoration:none;transition:color .5s}
.info-btn:hover{color:var(--txthover)}
.info-btn{display:inline-flex;align-items:center;gap:.5em;align-self:flex-start}
.info-btn .ico{width:1.05em;height:1.05em;flex:0 0 auto}   /* icons like the old site (LinkedIn / Instagram / mail) */
.cv-btn{margin-top:1.6vh;padding:.7em 1.3em;border:1.5px solid var(--txtfoot);border-radius:100vmax;color:#fff;transition:background .35s,color .35s,border-color .35s}   /* looks like a button */
.cv-btn:hover{background:#fff;border-color:#fff;color:var(--dark)}
.info-btn.mail{font-size:max(18px,2.5vh);color:#fff;text-decoration:underline}
#info-time{width:80%;margin:6vh 0 0;color:var(--txtfoot);font:400 max(10px,1.2vh)/3vh var(--ff-fourth)}
#clock{color:var(--accent);font-weight:600}

@media (max-width:768px),(orientation:portrait){
  #abt-pic{left:16px;top:20px}
  #abt-logo{left:calc(16px + clamp(62px,5.2vw,90px) * 695 / 1098 + 10px);top:20px}
  #sec1{padding:110px 16px 60px}
  #intro{grid-template-columns:minmax(0,34rem);gap:3rem}
  #intro-photo{height:38svh;justify-self:center}
  #foot-row{flex-direction:column;gap:6vh;padding:0 16px;box-sizing:border-box}
  #foot-intro,#foot-info{width:100%;align-items:flex-start}
  #foot-overview,#foot-copy,#info-main,#info-time{width:100%}
  #info-main{flex-direction:column;gap:4vh}
  .info-col{width:100%}
}

/* wink: the eyes-open drawing sits on top of the winking one; .winking hides it for a moment */
.wink-pic .eyes-open{position:absolute;left:0;top:0}
.wink-pic.winking .eyes-open{visibility:hidden}
