:root{--black:#000;--white:#fff;--ink-2:#4a4a4a;--rule:#d9d9d9;--paper-2:#f2f2f2;--on-black-2:#a6a6a6;--sans:"Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;--mono:"Martian Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;--step--1:clamp(.84rem, .82rem + .1vw, .9rem);--step-0:clamp(1rem, .96rem + .2vw, 1.125rem);--step-1:clamp(1.25rem, 1.15rem + .5vw, 1.5rem);--step-2:clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);--step-3:clamp(2.2rem, 1.6rem + 3vw, 4rem);--gutter:clamp(1.25rem, 4vw, 3.5rem);--max:76rem;--ease-out:cubic-bezier(.22, 1, .36, 1)}*,:before,:after{box-sizing:border-box}html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;touch-action:manipulation;-webkit-tap-highlight-color:#00000014}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}body{background:var(--white);color:var(--black);font-family:var(--sans);font-size:var(--step-0);text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;margin:0;line-height:1.55}img{max-width:100%;height:auto;display:block}a{color:inherit;text-underline-offset:.2em;text-decoration-thickness:1px}a:hover{text-decoration-thickness:2px}p{max-width:66ch;margin:0 0 1em}code,kbd{font-family:var(--mono);font-size:.82em}kbd{border:1px solid;border-radius:4px;padding:.05em .45em;line-height:1.4;display:inline-block}:focus-visible{outline-offset:3px;outline:2px solid}.skip{left:var(--gutter);z-index:10;background:var(--white);color:var(--black);padding:.6rem 1rem;position:absolute;top:-4rem}.skip:focus{top:1rem}.hero{background:var(--black);color:var(--white);min-height:min(100svh,60rem);padding:1.5rem var(--gutter) clamp(3rem, 8vh, 5rem);flex-direction:column;display:flex}.nav{font-size:var(--step--1);width:100%;max-width:var(--max);flex-wrap:wrap;justify-content:flex-end;gap:.5rem clamp(1rem,3vw,2rem);margin-inline:auto;display:flex}.nav a{border-bottom:1px solid #0000;padding:.25rem 0;text-decoration:none}.nav a:hover{border-bottom-color:currentColor}.nav__name{margin-right:auto;font-weight:700}@media (width<=30rem){.nav__name{flex-basis:100%}}.hero__inner{width:100%;max-width:var(--max);margin-top:auto;margin-inline:auto}.name{letter-spacing:-.055em;margin:0 0 .25em;margin-left:-.05em;font-size:clamp(4.5rem,21vw,19rem);font-weight:900;line-height:.82}.name__glyphs{display:inline-flex}.glyph{display:inline-block;position:relative}.glyph__char{transition:opacity .24s var(--ease-out), transform .3s var(--ease-out);display:inline-block}.glyph__hex{font-family:var(--mono);letter-spacing:-.02em;white-space:nowrap;color:var(--on-black-2);opacity:0;transition:opacity .16s var(--ease-out);place-items:center;font-size:min(.11em,1.35rem);font-weight:400;display:grid;position:absolute;inset:0}.js .glyph:not(.is-on) .glyph__char{opacity:0;transform:translateY(.06em)}.js .glyph:not(.is-on) .glyph__hex{opacity:1}@media (prefers-reduced-motion:reduce){.js .glyph:not(.is-on) .glyph__char{opacity:1;transform:none}.js .glyph:not(.is-on) .glyph__hex{opacity:0}.glyph__char,.glyph__hex{transition:none}}html:not(.js) .hero__actions button,html:not(.js) .cv__head button{display:none}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.bytes{font-family:var(--mono);font-size:var(--step--1);letter-spacing:.04em;word-spacing:.3em;margin:0 0 .4rem}.bytes__group{white-space:nowrap;display:inline-block}.bytes__note{color:var(--on-black-2);font-size:var(--step--1);max-width:52ch;margin-bottom:2.5rem}.lede{font-size:var(--step-2);letter-spacing:-.015em;max-width:30ch;margin-bottom:2rem;line-height:1.22}.hero__actions{flex-wrap:wrap;gap:.75rem;display:flex}.button{font:inherit;font-size:var(--step--1);cursor:pointer;min-height:2.75rem;transition:background-color .16s var(--ease-out), color .16s var(--ease-out);border-radius:999px;align-items:center;padding:0 1.25rem;font-weight:500;text-decoration:none;display:inline-flex}.button--solid{background:var(--white);color:var(--black);border:1px solid var(--white)}.button--ghost{color:var(--white);border:1px solid var(--white);background:0 0}.button--ghost-dark{color:var(--black);border:1px solid var(--black);background:0 0}main>section{padding:clamp(4rem, 10vw, 8rem) var(--gutter)}main>section>*{max-width:var(--max);margin-inline:auto}.section-title{font-size:var(--step-3);letter-spacing:-.04em;margin:0 auto clamp(2rem,5vw,3.5rem);font-weight:900;line-height:1}.project{border-top:1px solid var(--black);padding-block:clamp(2rem,5vw,3.5rem)}.project__name{font-size:var(--step-2);letter-spacing:-.02em;margin:0 0 .35rem;font-weight:700;line-height:1.1}.project__name a{text-decoration:none}.project__name a:hover{text-decoration:underline;text-decoration-thickness:2px}.project__line{font-size:var(--step-1);max-width:40ch;margin-bottom:1.2rem;line-height:1.3}.project__links{flex-wrap:wrap;gap:.5rem 1.5rem;margin:0;display:flex}.project__shot{background:var(--paper-2);border:1px solid var(--rule);border-radius:6px;margin:0;overflow:hidden}.project__shot img{filter:grayscale()contrast(1.12);transition:filter .25s var(--ease-out)}.project:focus-within .project__shot img{filter:grayscale(0)contrast()}.facts{gap:.35rem;margin:0 0 1.5rem;padding:0;list-style:none;display:grid}.facts li{padding-left:1.1em;position:relative}.facts li:before{content:"";background:currentColor;width:.5em;height:1px;position:absolute;top:.72em;left:0}.project--feature,.project--wide{align-items:start;gap:clamp(1.5rem,4vw,3.5rem);display:grid}@media (width>=60rem){.project--feature{grid-template-columns:5fr 6fr}.project--wide{grid-template-columns:7fr 5fr}}.pair{gap:0 clamp(1.5rem,4vw,3.5rem);display:grid}@media (width>=52rem){.pair{grid-template-columns:1fr 1fr}}.project--half .project__shot{margin-bottom:1.5rem}.stat{flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem;margin:1.5rem 0;display:flex}.stat__value{font-size:var(--step-3);letter-spacing:-.04em;font-weight:900;line-height:1}.stat__label{color:var(--ink-2);font-size:var(--step--1);max-width:22ch}.story{background:var(--black);color:var(--white)}.timeline{margin:0 auto;padding:0;list-style:none}.timeline li{border-top:1px solid #ffffff47;gap:.25rem 2rem;padding:1.4rem 0;display:grid}@media (width>=48rem){.timeline li{grid-template-columns:14rem 1fr}}.timeline time{color:var(--on-black-2);font-size:var(--step--1);padding-top:.2em}.timeline p{font-size:var(--step-1);max-width:48ch;margin:0;line-height:1.35}.timeline li:last-child p{font-weight:700}.cv__head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.cv__head .section-title{margin:0 0 clamp(2rem,5vw,3.5rem)}.cv__grid{gap:2.5rem clamp(1.5rem,4vw,3.5rem);display:grid}@media (width>=52rem){.cv__grid{grid-template-columns:repeat(3,1fr)}.cv__block--wide{grid-column:1/-1}}.cv__block{border-top:1px solid var(--black);padding-top:1rem}.cv__block h3{font-size:var(--step--1);color:var(--ink-2);margin:0 0 .75rem;font-weight:500}.cv__block p{margin-bottom:.3rem}.cv__legal{color:var(--ink-2);font-size:var(--step--1)}.langs,.skills{gap:.35rem 1.5rem;margin:0;display:grid}.pairrow{display:contents}.langs{grid-template-columns:auto 1fr}.langs dt,.skills dt{font-weight:700}.langs dd,.skills dd{margin:0}.skills dd{margin-bottom:.6rem}@media (width>=40rem){.skills{grid-template-columns:9rem 1fr}.skills dd{margin-bottom:0}}.contact{background:var(--black);color:var(--white);padding:clamp(4rem, 10vw, 8rem) var(--gutter) 2rem}.contact>*{max-width:var(--max);margin-inline:auto}.contact__title{letter-spacing:-.05em;margin:0 auto 2rem;font-size:clamp(3rem,12vw,9rem);font-weight:900;line-height:.9}.contact__links{font-size:var(--step-1);flex-wrap:wrap;gap:.75rem 2rem;margin-bottom:4rem;display:flex}.contact__small{color:var(--on-black-2);font-size:var(--step--1);margin-bottom:0}@media print{@page{margin:9mm 14mm}body{color:#000;font-size:10pt;line-height:1.3}.nav,.skip,.hero__actions,.cv__head,.bytes,.bytes__note,.project__shot,.story,.contact__title,.contact__small{display:none!important}.hero{color:#000;background:0 0;min-height:0;padding:0}.name{letter-spacing:-.03em;margin:0 0 3pt;font-size:26pt}.name__glyphs:before{content:"Beyrem Oueslati"}.name__glyphs>*{display:none!important}.lede{max-width:none;margin-bottom:4pt;font-size:11pt}main>section{padding:0}.section-title{letter-spacing:0;margin:6pt 0 3pt;font-size:12.5pt}.project{break-inside:avoid;border-top:.5pt solid #000;padding:3pt 0;display:block!important}.project__name{margin-bottom:1pt;font-size:11pt}.project__line{max-width:none;margin-bottom:1pt;font-size:10pt}.project p:not(.project__line):not(.project__links),.facts,.stat{display:none}.project .project__proof{max-width:none;margin:0 0 1pt;font-size:9.5pt}.project__links{font-size:9pt;display:block}.project__links a:after,.contact__links a[href^=http]:after{content:" (" attr(href) ")"}.project__links{color:#333}.project__links a{display:block}.skills{grid-template-columns:6.5rem 1fr}.cv__grid{margin-top:4pt}.pair{display:block}.cv{break-before:avoid}.cv__grid{grid-template-columns:repeat(3,1fr);gap:6pt 14pt;display:grid}.cv__block--wide{grid-column:1/-1}.cv__block{break-inside:avoid;padding-top:4pt}.cv__block h3{margin:0 0 3pt}.cv__block p{max-width:none}.contact{display:none!important}.print-only{display:block!important}.print-contact{max-width:none;margin:0 0 8pt;font-size:9.5pt}a{text-decoration:none}}.print-only{display:none}@media (hover:hover) and (pointer:fine){.button--solid:hover{color:var(--white);background:0 0}.button--ghost:hover{background:var(--white);color:var(--black)}.button--ghost-dark:hover{background:var(--black);color:var(--white)}.project:hover .project__shot img{filter:grayscale(0)contrast()}}h1,h2,h3,.lede,.project__line{text-wrap:balance}p,dd,li{text-wrap:pretty}section[id],footer[id]{scroll-margin-top:1rem}
