@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@300;400;500&family=Inter:wght@400;500;600&display=swap');

:root{
  --bg:#090b0e;
  --panel:#0e1115;
  --panel2:#11151a;
  --text:#f2f4f5;
  --muted:#929aa3;
  --dim:#5a626c;
  --line:rgba(255,255,255,.085);
  --line2:rgba(255,255,255,.16);
  --accent:#69e5ff;
  --green:#74efae;
  --max:1280px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--bg);color:var(--text);
  font-family:Inter,system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{text-decoration:none;color:inherit}
button,input{font:inherit}
button{color:inherit}
::selection{background:var(--accent);color:#061014}

body::before{
  content:"";
  position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
          radial-gradient(circle at 12% 5%,rgba(105,229,255,.06),transparent 23%),
          linear-gradient(rgba(255,255,255,.017) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.017) 1px,transparent 1px);
  background-size:auto,58px 58px,58px 58px;
  mask-image:linear-gradient(to bottom,black,transparent 72%);
}

.cursor-glow{
  position:fixed;width:420px;height:420px;border-radius:50%;
  transform:translate(-50%,-50%);pointer-events:none;z-index:-1;
  background:radial-gradient(circle,rgba(105,229,255,.045),transparent 68%);
}

.shell{width:min(calc(100% - 64px),var(--max));margin:auto}

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  width:100%;
  background:rgba(9,11,14,.88);
  backdrop-filter:blur(18px);
  -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid var(--line);
}

.topbar{
  height:76px;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
}

/* Avatar pessoal no lugar do antigo ponto azul */
.logo{
  display:flex;
  align-items:center;
  gap:12px;
  width:max-content;
  font:500 10px DM Mono,monospace;
  letter-spacing:.09em;
}

.logo-dot{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 18px rgba(105,229,255,.7);
  flex:0 0 7px;
}

.topbar nav{display:flex;gap:34px}
.topbar nav a,.text-link{font-size:13px;color:#9ca4ad;transition:.2s}
.topbar nav a:hover,.text-link:hover{color:#fff}
.topbar-actions{justify-self:end;display:flex;align-items:center;gap:18px}
.search-trigger{
  width:42px;height:30px;border-radius:7px;border:1px solid var(--line);
  background:rgba(255,255,255,.02);font:400 9px DM Mono,monospace;
  color:#6e7780;cursor:pointer
}
.search-trigger:hover{border-color:var(--line2);color:#fff}

/* HERO */
.hero{
  min-height:760px;display:grid;grid-template-columns:1.03fr .97fr;
  align-items:center;gap:92px;padding:92px 0 118px
}
.overline{
  display:flex;align-items:center;gap:9px;
  font:400 10px DM Mono,monospace;letter-spacing:.1em;
  text-transform:uppercase;color:#7e8791
}
.pulse{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:0 0 0 5px rgba(116,239,174,.06)}
.hero h1{
  font-size:clamp(58px,6.9vw,98px);line-height:.94;
  letter-spacing:-.062em;font-weight:500;margin:28px 0 28px
}
.hero h1 span{color:#727a83}
.hero-text{max-width:640px;color:#aab2ba;font-size:17px;line-height:1.75}
.hero-actions{display:flex;gap:25px;align-items:center;margin-top:34px}
.primary-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:0 15px;border-radius:7px;
  background:#f0f2f4;color:#0e1114;font-size:12px;font-weight:500
}
.secondary-link{font-size:12px;color:#a0a8b0}
.secondary-link span{color:var(--accent);margin-left:4px}

.hero-panel{
  border:1px solid var(--line);border-radius:16px;
  overflow:hidden;background:rgba(14,17,21,.84);
  box-shadow:0 40px 120px rgba(0,0,0,.35)
}
.panel-top,.panel-bottom{
  height:42px;display:flex;align-items:center;justify-content:space-between;
  padding:0 14px;font:400 8px DM Mono,monospace;color:#58616b
}
.panel-top{border-bottom:1px solid var(--line)}
.panel-bottom{border-top:1px solid var(--line)}
.status{display:flex;align-items:center;gap:6px;color:#668f77}
.status i{width:5px;height:5px;border-radius:50%;background:var(--green)}
.surface{position:relative;aspect-ratio:1.16/1;overflow:hidden}
.surface-grid{
  position:absolute;inset:0;
  background:
          linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:34px 34px;
}
.surface::before,.surface::after{
  content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  border:1px solid rgba(105,229,255,.10);border-radius:50%;
}
.surface::before{width:62%;aspect-ratio:1}
.surface::after{width:34%;aspect-ratio:1}
.beam{
  position:absolute;left:50%;top:50%;width:38%;height:1px;
  transform-origin:left;background:linear-gradient(90deg,rgba(105,229,255,.35),transparent);
  animation:sweep 9s linear infinite
}
@keyframes sweep{to{transform:rotate(360deg)}}
.surface-center{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:76px;height:76px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px solid rgba(105,229,255,.28);background:#0c151a;
  box-shadow:0 0 0 7px rgba(105,229,255,.025),0 0 34px rgba(105,229,255,.06)
}
.surface-center span{color:var(--accent);font:500 11px DM Mono,monospace}
.surface-center small{color:#52606a;font:400 7px DM Mono,monospace;margin-top:3px}
.surface-node{
  position:absolute;display:grid;grid-template-columns:auto 1fr;column-gap:7px;row-gap:1px;
  border:0;background:transparent;text-align:left;cursor:pointer;padding:0
}
.surface-node i{
  width:7px;height:7px;border-radius:50%;background:#cfd5da;grid-row:1/3;margin-top:3px;
  box-shadow:0 0 0 4px rgba(255,255,255,.03)
}
.surface-node span{font:500 8px DM Mono,monospace;color:#a9b1b9;letter-spacing:.04em}
.surface-node small{font:400 7px DM Mono,monospace;color:#515a64}
.surface-node:hover span{color:var(--accent)}
.n1{left:18%;top:25%}.n2{right:15%;top:30%}.n3{left:22%;bottom:22%}

/* GENERIC SECTIONS */
.section{padding:126px 0;border-top:1px solid var(--line)}
.section-header{
  display:grid;grid-template-columns:1fr .72fr;gap:80px;
  align-items:end;margin-bottom:56px
}
.section-title{display:flex;gap:17px;align-items:flex-end}
.section-no{font:500 9px DM Mono,monospace;color:var(--accent);letter-spacing:.09em;margin-bottom:9px}
.section-kicker{margin:0 0 9px;font:500 9px DM Mono,monospace;letter-spacing:.1em;color:#626b75}
.section-title h2{margin:0;font-size:clamp(46px,5.2vw,72px);line-height:.95;letter-spacing:-.055em;font-weight:500}
.section-intro{justify-self:end;max-width:500px;margin:0;color:#8d959e;font-size:14px;line-height:1.75}

/* PROJECTS */
.projects-toolbar{
  display:flex;justify-content:space-between;align-items:center;
  margin-bottom:24px;padding-top:18px;border-top:1px solid var(--line)
}
.filters{display:flex;gap:7px;flex-wrap:wrap}
.filter{
  border:1px solid var(--line);background:transparent;
  color:#737c85;border-radius:999px;padding:7px 10px;
  font:400 8px DM Mono,monospace;text-transform:uppercase;letter-spacing:.05em;
  cursor:pointer
}
.filter:hover,.filter.active{color:#fff;border-color:var(--line2);background:rgba(255,255,255,.035)}
.project-count{font:400 8px DM Mono,monospace;color:#535c66}

.project-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px
}
.project-card{
  min-width:0;border:1px solid var(--line);border-radius:13px;overflow:hidden;
  background:var(--panel);transition:.22s ease
}
.project-card:hover{transform:translateY(-3px);border-color:var(--line2)}
.project-card.hidden{display:none}
.project-image{
  aspect-ratio:16/10;position:relative;overflow:hidden;
  border-bottom:1px solid var(--line);background:#0a0d10
}
.project-image img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.project-placeholder{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:
          radial-gradient(circle at 65% 35%,rgba(105,229,255,.09),transparent 22%),
          linear-gradient(rgba(255,255,255,.023) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.023) 1px,transparent 1px);
  background-size:auto,26px 26px,26px 26px;
}
.project-placeholder::before,.project-placeholder::after{
  content:"";position:absolute;border:1px solid rgba(105,229,255,.14);border-radius:50%
}
.project-placeholder::before{width:44%;aspect-ratio:1}
.project-placeholder::after{width:24%;aspect-ratio:1}
.project-placeholder span{
  position:absolute;left:13px;bottom:11px;
  color:#4f5962;font:400 7px DM Mono,monospace;letter-spacing:.08em
}
.project-index{
  position:absolute;right:12px;top:11px;
  color:#66727b;font:500 8px DM Mono,monospace
}
.project-body{padding:18px}
.project-category{
  color:#616b75;font:500 8px DM Mono,monospace;
  text-transform:uppercase;letter-spacing:.08em
}
.project-card h3{font-size:22px;letter-spacing:-.035em;font-weight:500;margin:12px 0 9px}
.project-card p{margin:0;color:#8e979f;font-size:12px;line-height:1.65;min-height:59px}
.project-tags{display:flex;gap:6px;flex-wrap:wrap;margin:17px 0 18px}
.project-tag{
  padding:5px 7px;border-radius:5px;border:1px solid var(--line);
  color:#68727b;font:400 7px DM Mono,monospace;text-transform:uppercase
}
.project-actions{display:flex;gap:8px}
.project-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:0 10px;border-radius:6px;border:1px solid var(--line);
  color:#abb3bb;font-size:10px;transition:.2s
}
.project-button:hover{border-color:var(--line2);color:#fff}
.project-button.primary{background:#edf0f2;color:#0d1013;border-color:#edf0f2}

/* RESEARCH */
.research-section{
  background:
          radial-gradient(circle at 80% 30%,rgba(105,229,255,.035),transparent 25%),
          #0b0e12;
}
.research-card{
  display:grid;grid-template-columns:.95fr 1.05fr;
  border:1px solid var(--line);border-radius:16px;overflow:hidden;
  background:var(--panel)
}
.research-media{
  border-right:1px solid var(--line);padding:18px;
  display:flex;align-items:stretch
}
.research-visual{
  min-height:520px;position:relative;overflow:hidden;width:100%;
  border:1px solid var(--line);border-radius:10px;background:#090d10
}
.research-matrix{
  position:absolute;inset:0;
  background:
          linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),
          linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);
  background-size:32px 32px
}
.research-line{
  position:absolute;left:50%;top:50%;height:1px;
  transform-origin:left;background:linear-gradient(90deg,rgba(105,229,255,.25),transparent)
}
.l1{width:35%;transform:rotate(-35deg)}
.l2{width:39%;transform:rotate(18deg)}
.l3{width:32%;transform:rotate(145deg)}
.research-core{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:80px;height:80px;border-radius:50%;display:grid;place-items:center;
  border:1px solid rgba(105,229,255,.3);background:#0d171c;
  box-shadow:0 0 0 9px rgba(105,229,255,.025)
}
.research-core span{font:500 14px DM Mono,monospace;color:var(--accent)}
.research-point{
  position:absolute;display:flex;align-items:center;gap:8px;
  color:#7d8790;font:500 8px DM Mono,monospace;letter-spacing:.06em
}
.research-point i{width:7px;height:7px;border-radius:50%;background:#d3d8dc}
.rp1{left:17%;top:26%}.rp2{right:13%;top:33%}.rp3{left:20%;bottom:21%}
.research-image-label{
  position:absolute;left:14px;bottom:12px;color:#4e5861;
  font:400 7px DM Mono,monospace;letter-spacing:.08em
}

.research-main{padding:38px 40px}
.research-meta-row{
  display:flex;justify-content:space-between;padding-bottom:15px;border-bottom:1px solid var(--line);
  color:#626b74;font:400 8px DM Mono,monospace;letter-spacing:.08em
}
.research-main h3{
  margin:28px 0 18px;font-size:clamp(36px,4vw,56px);
  line-height:1.03;letter-spacing:-.052em;font-weight:500
}
.research-summary{max-width:650px;color:#a2aab2;font-size:15px;line-height:1.72}
.research-facts{margin-top:32px;border-top:1px solid var(--line)}
.research-facts>div{
  display:grid;grid-template-columns:92px 1fr;gap:22px;
  padding:15px 0;border-bottom:1px solid var(--line)
}
.research-facts span{
  color:#65707a;font:500 8px DM Mono,monospace;text-transform:uppercase;letter-spacing:.07em
}
.research-facts p{margin:0;color:#8f98a1;font-size:12px;line-height:1.6}
.research-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
  margin-bottom:30px;
}

/* Journal / volume / pages information */
.research-publication-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px 18px;

  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.08);
  margin-bottom: 20px;
  font-size:13px;
  letter-spacing:.04em;
  color:var(--muted);
}

.secondary-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:0 15px;border-radius:7px;border:1px solid var(--line);
  color:#aab2ba;font-size:12px
}

/* FOOTER */
.footer{
  min-height:96px;display:flex;align-items:center;justify-content:space-between;
  color:#505963;font:400 8px DM Mono,monospace;letter-spacing:.08em
}

/* COMMAND PALETTE */
.command-overlay{
  position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.62);
  backdrop-filter:blur(12px);display:none;align-items:flex-start;justify-content:center;padding-top:15vh
}
.command-overlay.open{display:flex}
.command-box{
  width:min(560px,calc(100% - 30px));background:#0d1014;
  border:1px solid var(--line2);border-radius:12px;overflow:hidden;
  box-shadow:0 40px 100px rgba(0,0,0,.45)
}
.command-input-row{
  height:54px;display:grid;grid-template-columns:auto 1fr auto;
  gap:10px;align-items:center;padding:0 14px;border-bottom:1px solid var(--line)
}
.command-input-row>span{color:var(--accent);font-family:DM Mono,monospace}
.command-input-row input{outline:0;border:0;background:transparent;color:#fff}
.command-input-row kbd{
  font:400 8px DM Mono,monospace;border:1px solid var(--line);
  padding:4px 6px;border-radius:5px;color:#646d76
}
.command-item{
  width:100%;border:0;background:transparent;display:flex;justify-content:space-between;
  padding:12px 14px;color:#9fa7af;cursor:pointer;text-align:left
}
.command-item:hover,.command-item.active{background:rgba(255,255,255,.05);color:#fff}
.command-item div{display:flex;flex-direction:column;gap:2px}
.command-item strong{font-size:12px;font-weight:500}
.command-item small,.command-item>span{font:400 8px DM Mono,monospace;color:#59616a}

@media(max-width:1080px){
  .hero{grid-template-columns:1fr;min-height:auto;gap:54px}
  .hero-panel{max-width:720px}
  .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .research-card{grid-template-columns:1fr}
  .research-media{border-right:0;border-bottom:1px solid var(--line)}
  .research-visual{min-height:420px}
}
@media(max-width:820px){
  .topbar{grid-template-columns:1fr 1fr}.topbar nav{display:none}
  .section-header{grid-template-columns:1fr;gap:22px}
  .section-intro{justify-self:start}
  .about-grid{grid-template-columns:1fr;gap:45px}
}
@media(max-width:620px){
  .shell{width:min(calc(100% - 32px),var(--max))}
  .topbar{height:68px}.text-link{display:none}
  .logo{gap:10px}
  .hero{padding:70px 0 90px}.hero h1{font-size:52px}.hero-text{font-size:15px}
  .surface{min-height:330px}
  .section{padding:92px 0}
  .section-title h2{font-size:46px}
  .projects-toolbar{align-items:flex-start;gap:18px;flex-direction:column}
  .project-grid{grid-template-columns:1fr}
  .project-card p{min-height:0}
  .research-main{padding:26px 22px}
  .research-visual{min-height:330px}
  .research-main h3{font-size:39px}
  .research-facts>div{grid-template-columns:1fr;gap:6px}
  .about-columns{grid-template-columns:1fr;gap:28px}
}

/* =========================================
   ABOUT — SECURITY DOSSIER
   ========================================= */

.about-dossier{
  position:relative;
  padding:130px 0;
  overflow:hidden;
}

.about-dossier::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
          radial-gradient(circle at 18% 46%, rgba(105,229,255,.055), transparent 26%);
}

.about-dossier .shell{
  position:relative;
  z-index:1;
}

/* Header */
.about-dossier-heading{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:52px;
}

.about-dossier-heading > div{
  display:flex;
  flex-direction:column;
  gap:7px;
}

.about-dossier-label{
  color:#59646e;
  font:500 8px DM Mono,monospace;
  letter-spacing:.12em;
}

.about-dossier-heading h2{
  margin:0;
  font-size:clamp(54px,7vw,100px);
  line-height:.85;
  letter-spacing:-.07em;
  font-weight:500;
}

/* Main layout */
.about-dossier-layout{
  display:grid;
  grid-template-columns:minmax(350px,.9fr) minmax(450px,1.1fr);
  min-height:570px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

/* Portrait side */
.about-dossier-portrait{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:570px;
  overflow:hidden;
  border-right:1px solid var(--line);
  background:#090d10;
}

.portrait-grid{
  position:absolute;
  inset:0;
  background:
          linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size:42px 42px;
}

.about-dossier-portrait::before{
  content:"";
  position:absolute;
  width:310px;
  height:310px;
  border-radius:50%;
  background:
          radial-gradient(
                  circle,
                  rgba(105,229,255,.11),
                  rgba(105,229,255,.025) 45%,
                  transparent 70%
          );
  filter:blur(4px);
}

.about-dossier-portrait::after{
  content:"";
  position:absolute;
  width:330px;
  height:330px;
  border-radius:50%;
  border:1px solid rgba(105,229,255,.13);
}

.portrait-memoji{
  position:relative;
  z-index:3;
  width:300px;
  height:300px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.portrait-memoji img{
  width:280px !important;
  height:280px !important;
  max-width:280px !important;
  max-height:280px !important;

  object-fit:contain !important;
  display:block !important;
  position:static !important;
  transform:none !important;

  filter:drop-shadow(0 30px 35px rgba(0,0,0,.35));
}

.portrait-code{
  position:absolute;
  left:24px;
  top:24px;
  z-index:4;
  display:flex;
  flex-direction:column;
}

.portrait-code span{
  color:var(--accent);
  font:500 12px DM Mono,monospace;
}

.portrait-code small{
  margin-top:3px;
  color:#4d5963;
  font:400 7px DM Mono,monospace;
  letter-spacing:.1em;
}

.portrait-status{
  position:absolute;
  bottom:22px;
  left:24px;
  z-index:4;
  display:flex;
  align-items:center;
  gap:7px;
  color:#65717b;
  font:400 7px DM Mono,monospace;
  letter-spacing:.1em;
}

.portrait-status i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 12px rgba(116,239,174,.55);
}

/* Content side */
.about-dossier-content{
  padding:58px clamp(35px,5vw,72px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.about-dossier-terminal{
  display:flex;
  gap:8px;
  margin-bottom:24px;
  color:#69747e;
  font:400 9px DM Mono,monospace;
}

.about-dossier-terminal span:first-child{
  color:var(--accent);
}

.about-dossier-content h3{
  margin:0;
  font-size:clamp(42px,5vw,72px);
  line-height:.95;
  letter-spacing:-.055em;
  font-weight:500;
}

.about-dossier-role{
  margin:12px 0 0;
  color:var(--accent);
  font:500 10px DM Mono,monospace;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.about-dossier-description{
  max-width:660px;
  margin:28px 0 0;
  color:#959ea7;
  font-size:15px;
  line-height:1.8;
}

/* Focus areas */
.about-dossier-focus{
  margin-top:38px;
  border-top:1px solid var(--line);
}

.about-dossier-focus > div{
  display:grid;
  grid-template-columns:45px 1fr;
  align-items:center;
  padding:15px 0;
  border-bottom:1px solid var(--line);
}

.about-dossier-focus span{
  color:#56616b;
  font:400 8px DM Mono,monospace;
}

.about-dossier-focus p{
  margin:0;
  color:#c4cad0;
  font-size:13px;
}

/* Metadata */
.about-dossier-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  margin-top:32px;
}

.about-dossier-meta > div{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.about-dossier-meta span{
  color:#59646e;
  font:500 7px DM Mono,monospace;
  letter-spacing:.1em;
}

.about-dossier-meta strong{
  color:#bfc6cc;
  font-size:12px;
  font-weight:400;
}

/* Footer links */
.about-dossier-footer{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:20px;
}

.about-dossier-footer > span{
  display:flex;
  align-items:center;
  gap:8px;
  color:#65707a;
  font:400 8px DM Mono,monospace;
}

.about-dossier-footer > span i{
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--green);
  box-shadow:0 0 10px rgba(116,239,174,.35);
}

.about-dossier-footer > div{
  display:flex;
  gap:24px;
}

.about-dossier-footer a{
  color:#9da6ae;
  font-size:11px;
  transition:.2s;
}

.about-dossier-footer a:hover{
  color:var(--accent);
}

/* Tablet */
@media(max-width:900px){
  .about-dossier-heading{
    align-items:flex-start;
    flex-direction:column;
    gap:28px;
  }

  .about-dossier-layout{
    grid-template-columns:1fr;
  }

  .about-dossier-portrait{
    min-height:440px;
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .about-dossier-content{
    padding:46px 32px;
  }
}

/* Mobile */
@media(max-width:620px){
  .about-dossier{
    padding:90px 0;
  }

  .about-dossier-heading{
    margin-bottom:38px;
  }

  .about-dossier-heading h2{
    font-size:60px;
  }

  .about-dossier-portrait{
    min-height:340px;
  }

  .portrait-memoji{
    width:340px;
    height:340px;
  }

  .portrait-memoji img{
    width:165px !important;
    height:165px !important;
    max-width:165px !important;
    max-height:165px !important;
  }

  .about-dossier-portrait::before{
    width:235px;
    height:235px;
  }

  .about-dossier-portrait::after{
    width:310px;
    height:310px;
  }

  .about-dossier-content{
    padding:36px 22px;
  }

  .about-dossier-content h3{
    font-size:42px;
  }

  .about-dossier-meta{
    grid-template-columns:1fr;
  }

  .about-dossier-footer{
    flex-direction:column;
    align-items:flex-start;
    gap:20px;
  }
}


/* FIX — ABOUT SEMPRE DARK */

#about.about-dossier{
  background:#090b0e !important;
  color:#f2f4f5 !important;
}

#about.about-dossier .shell{
  background:transparent !important;
  color:#f2f4f5 !important;
}

#about .about-dossier-heading{
  background:transparent !important;
}

#about .about-dossier-heading h2{
  color:#f2f4f5 !important;
}

#about .about-dossier-label{
  color:#59646e !important;
}

#about .about-dossier-content{
  background:transparent !important;
  color:#f2f4f5 !important;
}

#about .about-dossier-content h3{
  color:#f2f4f5 !important;
}

#about .about-dossier-description{
  color:#959ea7 !important;
}

#about .about-dossier-focus p{
  color:#c4cad0 !important;
}

#about .about-dossier-meta strong{
  color:#bfc6cc !important;
}

#about .about-dossier-footer{
  color:#9da6ae !important;
}


/* =========================================
   FINAL GLOBAL SAFETY FIXES
   ========================================= */
html{
  background:#090b0e;
}

body{
  min-width:0;
  overflow-x:hidden;
  background:#090b0e !important;
  color:#f2f4f5 !important;
}

main{
  background:transparent;
}

.hero,
.projects-section,
.research-section,
.about-dossier{
  color:var(--text);
}

.hero{
  width:min(calc(100% - 64px),var(--max));
  margin-inline:auto;
}

/* Keep the About visually consistent with the rest of the site. */
#about.about-dossier{
  background:
    radial-gradient(circle at 18% 44%,rgba(105,229,255,.04),transparent 25%),
    #090b0e !important;
  color:var(--text) !important;
}

#about .about-dossier-layout{
  background:rgba(14,17,21,.42);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
}

#about .about-dossier-portrait{
  border-right:1px solid var(--line);
}

#about .about-dossier-heading h2,
#about .about-dossier-content h3{
  color:var(--text) !important;
}

#about .portrait-memoji img{
  width:245px !important;
  height:245px !important;
  max-width:245px !important;
  max-height:245px !important;
}

@media(max-width:900px){
  #about .about-dossier-portrait{
    border-right:0;
  }
}

@media(max-width:620px){
  .hero{
    width:min(calc(100% - 32px),var(--max));
  }

  #about .portrait-memoji img{
    width:175px !important;
    height:175px !important;
    max-width:175px !important;
    max-height:175px !important;
  }
}
