/* louise.safetayo.ph · built on safetayo.ph's tokens (public/site/index.html), editorial and quieter.
   Yellow is only a rule or a background behind ink text, never text on a light background. */
@font-face{font-family:"Poppins";src:url(fonts/poppins-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Atkinson Hyperlegible";src:url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --paper:#F1F4F9;--page:#FFFFFF;--ink:#14223F;--muted:#4B5A6E;--rule:#CBD6E6;--accent:#1F4E9E;
  --hilite:#FFC53D;--focus:#1A5FD1;
  --display:"Poppins",system-ui,-apple-system,"Segoe UI",sans-serif;
  --body:"Atkinson Hyperlegible",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){:root{
  --paper:#0C1424;--page:#131D31;--ink:#E4EAF3;--muted:#A7B2C3;--rule:#2A3A55;--accent:#9CC0FF;
  --hilite:#E9B93A;--focus:#7DB0FF;color-scheme:dark;
}}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--page);color:var(--ink);font:1.0625rem/1.65 var(--body);overflow-wrap:break-word}
a{color:var(--accent);text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px;border-radius:2px}
main:focus{outline:none}
h1,h2,h3,h4{font-family:var(--display);font-weight:700;line-height:1.2;margin:0}
h2{font-size:1.55rem;margin-bottom:1.25rem;padding-top:.25rem}
h3{font-size:1.1rem}
h4{font-size:.95rem;margin:1.1rem 0 .35rem}
p{margin:0 0 .75rem}
ul{margin:0 0 .75rem;padding-left:1.2rem}
li{margin:.2rem 0}
abbr{text-decoration:none}

.wrap{max-width:1140px;margin:0 auto;padding-inline:max(20px,env(safe-area-inset-left,0px))}
.skip{position:absolute;left:12px;top:-60px;background:var(--ink);color:var(--page);padding:10px 14px;border-radius:6px;z-index:10;text-decoration:none}
.skip:focus{top:12px}

/* Hero */
.hero{background:var(--paper);border-bottom:6px solid var(--hilite);padding:56px 0 44px}
.herogrid{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:48px;align-items:center}
.hero h1{font-size:clamp(2.3rem,6vw,3.6rem);letter-spacing:-.01em}
.pronouns{font-family:var(--body);font-weight:400;font-size:1.05rem;color:var(--muted);letter-spacing:0;white-space:nowrap}
.headline{font-size:clamp(1.15rem,2.6vw,1.4rem);margin:.6rem 0 1.1rem;font-weight:700}
.summary{font-size:1.1rem}
.loc{color:var(--muted);font-size:.95rem}
.portrait{width:220px;height:220px;border-radius:50%;object-fit:cover;border:4px solid var(--page)}
.linkrow{list-style:none;padding:0;margin:1rem 0 0;display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center}
.linkrow li{margin:0}
.linkrow a{font-weight:700}
.cvbtn{display:inline-block;background:var(--ink);color:var(--page)!important;text-decoration:none;padding:9px 16px;border-radius:6px}
.cvbtn:hover{opacity:.92}

/* Layout */
.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0 56px;padding-top:24px}
.toc{display:none}
.toc-mobile{border:1px solid var(--rule);border-radius:8px;margin:8px 0 8px;background:var(--paper)}
.toc-mobile summary{padding:12px 16px;font-weight:700;cursor:pointer;min-height:44px}
.toc-mobile ul{list-style:none;padding:0 16px 12px;margin:0;columns:2;column-gap:20px}
.toc-mobile li{margin:0;padding:4px 0;break-inside:avoid}
.toc-mobile a,.toc a{text-decoration:none;color:var(--ink);display:inline-block;padding:3px 0}
.toc-mobile a:hover,.toc a:hover{text-decoration:underline}
@media (min-width:1100px){
  .layout{grid-template-columns:190px minmax(0,1fr)}
  .toc{display:block;position:sticky;top:24px;align-self:start;padding-top:40px;font-size:.95rem}
  .toc ul{list-style:none;padding:0;margin:0}
  .toc li{margin:0}
  .toc a{padding:4px 0}
  .toctitle{font-weight:700;margin-bottom:.4rem}
  .toc-mobile{display:none}
}
main{min-width:0}
section{padding:44px 0 36px;border-bottom:1px solid var(--rule);scroll-margin-top:16px}
section:last-of-type{border-bottom:0}
.org{color:var(--muted);margin-bottom:.45rem}
.lbl{font-weight:700}
.note{color:var(--muted);font-size:.95rem;margin-top:.5rem}

.highlights{columns:2;column-gap:28px}
.highlights li{break-inside:avoid}
.philosophy{font-family:var(--display);font-size:1.3rem;line-height:1.35;margin-top:1.6rem}

/* Projects */
.project{display:grid;gap:18px 32px;padding:0 0 36px;margin-bottom:36px;border-bottom:1px dashed var(--rule)}
.project:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.project h3{font-size:1.35rem;margin-bottom:.35rem}
.tagline{color:var(--muted)}
.role{margin-bottom:.6rem}
.plink a{font-weight:700}
.shot{margin:0;order:-1}
.shot img{display:block;width:100%;height:auto;border:1px solid var(--rule);border-radius:8px}
@media (min-width:760px){.project{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:start}.shot{order:0}}

details{margin-top:.6rem}
details>summary{cursor:pointer;font-weight:700;color:var(--accent);min-height:44px;display:flex;align-items:center;gap:.5rem;list-style:none}
details>summary::-webkit-details-marker{display:none}
details>summary::before{content:"";width:.5em;height:.5em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);flex:none}
details[open]>summary::before{transform:rotate(45deg)}
.more{padding:.2rem 0 .4rem}
.cols{columns:2;column-gap:28px}
.cols li{break-inside:avoid}
@media (max-width:560px){.cols,.toc-mobile ul,.highlights{columns:1}}

/* Experience */
.job{display:grid;gap:4px 28px;padding-bottom:28px;margin-bottom:28px;border-bottom:1px dashed var(--rule)}
.job:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.when{color:var(--muted);font-size:.95rem;font-weight:700;padding-top:.15rem}
@media (min-width:700px){.job{grid-template-columns:150px minmax(0,1fr)}}
.selected{padding-left:1.1rem}

.plain{list-style:none;padding:0;margin:0}
.plain>li{padding:0 0 18px;margin:0 0 18px;border-bottom:1px dashed var(--rule)}
.plain>li:last-child{border-bottom:0;margin-bottom:0;padding-bottom:0}
.plain h3{margin-bottom:.2rem}
.themes{color:var(--muted);font-size:.95rem}
.talkphoto{margin:.8rem 0 0}
.talkphoto img{display:block;width:100%;height:auto;border-radius:8px}

.certgroup+.certgroup{margin-top:1.2rem}
.certgroup h3{font-size:1rem;margin-bottom:.3rem}
.certs{list-style:none;padding:0;margin:0}
.certs li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 16px;padding:8px 0;border-top:1px solid var(--rule);margin:0}
.cmeta{color:var(--muted)}

.domains{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:8px 36px}
.domains h3{font-size:1rem;margin-bottom:.4rem}
.tags{columns:2;column-gap:28px}
.tags li{break-inside:avoid}
.block+.block{margin-top:1.1rem}
.block h3{margin-bottom:.3rem}

footer{background:var(--paper);border-top:1px solid var(--rule);margin-top:24px;padding:28px 0 40px;font-size:.95rem}
.updated{color:var(--muted)}
.nf{padding:80px 20px}

@media (max-width:759px){
  .hero{padding:36px 0 32px}
  .herogrid{grid-template-columns:minmax(0,1fr);gap:20px}
  .portrait{width:120px;height:120px;order:-1}
  section{padding:36px 0 28px}
}

@media print{
  :root{--paper:#fff;--page:#fff;--ink:#000;--muted:#333;--rule:#bbb;--accent:#000}
  body{font-size:10.5pt}
  .skip,.toc,.toc-mobile,.cvbtn,.updated a{display:none!important}
  .hero{padding:0 0 12pt;border-bottom-width:3pt}
  .portrait{width:90px;height:90px}
  .layout{display:block;padding:0}
  main{max-width:none}
  section{padding:14pt 0 10pt;break-inside:auto}
  h2{break-after:avoid}
  .project,.job,.plain>li,.certs li{break-inside:avoid}
  .shot,.talkphoto{display:none}
  .project{grid-template-columns:1fr}
  details>summary{display:none}
  details::details-content{content-visibility:visible;display:block;block-size:auto}
  a{text-decoration:none}
  footer{background:none;border:0}
}

/* Centred: section titles, the quote and the footer. Running text and lists stay left-aligned. */
section>h2{text-align:center}
.philosophy{text-align:center}
footer{text-align:center}
@media print{.hero .portrait{width:90px;height:90px}}
/* Header: photo top-aligned beside the text; links and CV button on their own centred row below both. */
.herogrid{align-items:start;row-gap:24px}
.hero .portrait{align-self:start;margin-top:4px}
.herogrid>nav{grid-column:1/-1}
.hero .linkrow{justify-content:center;margin-top:0}
/* Phones: the whole header is centred, photo first. */
@media (max-width:759px){.herogrid{justify-items:center;text-align:center}.hero .portrait{margin-top:0}}
/* Links at the bottom of Collaboration & contact: centred, like the header row. */
#contact h3{text-align:center}
#contact .linkrow{justify-content:center}
