/*
Theme Name: Hakiki Solutions
Author: Djilali Hakiki
Description: Portfolio et journal de Djilali Hakiki. Développement commercial, outils web et think tank à Bordeaux.
Version: 1.0.0
Requires at least: 5.3
Requires PHP: 7.4
Text Domain: hakiki-solutions
*/
@font-face{font-family:Inter;src:url('assets/e931823ffd0b6cfd.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root {
  color-scheme: light;
  --paper: #fff;
  --mist: #fafafb;
  --ink: #1d1d20;
  --dim: #55565e;
  --line: #e2e2e6;
  --ruby: #a51632;
  --cut: 18px;

  --sans: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
.signature-object,.index-link,.project-art,.visual {
  --facet: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
}
*, *::before, *::after {box-sizing:border-box}
html {scroll-behavior:smooth; scroll-padding-top:24px}
body {margin:0; color:var(--ink); background:var(--paper); font:400 16px/1.6 var(--sans); -webkit-font-smoothing:antialiased}
[hidden] {display:none!important}
a {color:inherit;text-decoration:none}
img {display:block;max-width:100%}
h1,h2,h3,h4,p,figure,dl,dd {margin:0}
button,input,textarea,summary {font:inherit}
button,summary {cursor:pointer}
:focus-visible {outline:3px solid var(--ruby);outline-offset:4px}
::selection {background:#f8ced6;color:#471020}
.wrap,.nav-wrap {width:min(1272px,89%);margin-inline:auto}
.sr,.hp-field {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip {position:fixed;z-index:20;top:-150px;left:15px;background:#fff;padding:12px}
.skip:focus {top:12px}
header {border-bottom:1px solid #ededf0;background:white;position:relative;z-index:3}
.nav-wrap,.brand,#nav,.contact-nav,.menu,.welcome-actions,.primary,.project-shortcut,.visit {display:flex;align-items:center}
.nav-wrap {min-height:78px;justify-content:space-between;gap:28px}
.brand {gap:11px;font-size:23px;line-height:1;letter-spacing:-.07em;font-weight:760}
.brand .light {font-weight:420}
.mark {width:27px;height:26px;display:inline-block;position:relative;transform:skewX(-12deg);background:linear-gradient(to right,#202023 0 23%,transparent 23% 73%,#202023 73%)}
.mark:after {content:"";position:absolute;left:2px;right:2px;top:10px;height:5px;transform:skewY(-16deg);background:var(--ruby)}
#nav {gap:clamp(16px,2.4vw,36px);font-size:.84rem;font-weight:540}
#nav a:hover,.foot>a:last-child:hover,.project-shortcut:hover,.visit:hover,.detail>summary:hover,.history>summary:hover,.axes summary:hover {color:var(--ruby)}
.contact-nav {gap:14px;padding:8px 17px;border-radius:30px;border:1px solid #d5d5da}
.menu {display:none}
.intro {display:grid;grid-template-columns:1.04fr .96fr;gap:clamp(28px,5.4vw,88px);align-items:center;padding:clamp(60px,6.6vw,112px) 0}
.rubric,.category,.chapter-count,.slide-text p,.project-name,.publication {font-size:.67rem;font-weight:640;letter-spacing:.13em;text-transform:uppercase;line-height:1.45}
.rubric,.category {display:flex;align-items:center;gap:12px;color:var(--dim)}
.rubric i,.category i {display:block;width:24px;height:2px;background:var(--ruby);flex:none}
h1,h2,h3 {font-weight:630;letter-spacing:-.065em;line-height:1.015;text-wrap:balance}
h1 em,h2 em {font-style:normal;color:#585961}
.welcome h1 {font-size:clamp(52px,5.65vw,89px);margin:25px 0 24px}
.byline {font-size:clamp(16px,1.3vw,20px);line-height:1.5;margin-bottom:10px}
.byline strong {font-weight:620}
.hero-desc {max-width:49ch;color:var(--dim);font-size:clamp(15px,1.17vw,18px);line-height:1.72}
.welcome-actions {gap:12px 24px;flex-wrap:wrap;margin-top:27px}
.primary,.project-shortcut,.visit {display:inline-flex;gap:14px;min-height:44px;font-size:.85rem;font-weight:570}
.primary {justify-content:center;padding:11px 20px;border:0;border-radius:30px;background:var(--ink);color:#fff}
.primary:hover {background:#541729}
.project-shortcut,.visit {color:var(--ink);text-decoration:underline;text-underline-offset:5px;text-decoration-color:#c8c8cd}
.project-shortcut>span,.visit>span {color:var(--ruby)}

/* Sculptural signature. Both diagonals are shared by the paper and the metal edge. */
.signature {position:relative;display:grid;place-items:center;isolation:isolate;width:100%;aspect-ratio:1.19}
.signature::before {content:"";position:absolute;inset:5% -5% -4% -4%;background:radial-gradient(ellipse at 60% 65%,#f1d8dd 0%,#fbf2f4 35%,transparent 68%);z-index:-1}
.signature-object {--cut:16%;position:relative;width:69%;aspect-ratio:1;transform:perspective(1250px) rotateX(17deg) rotateY(-16deg) rotateZ(-12deg);filter:drop-shadow(3px 13px 10px #75132c24) drop-shadow(11px 29px 23px #9f183627)}
.signature-layer,.signature-face,.signature-lip {position:absolute;inset:0;clip-path:var(--facet)}
.signature-layer.back {transform:translate(6.5%,8%);background:linear-gradient(137deg,#efe8ea 18%,#fcf9fa 50%,#d1a6ae 100%)}
.signature-layer.red {transform:translate(3.2%,4.3%);background:linear-gradient(128deg,#6e1328 0%,#d55369 48%,#a11837 72%,#661025 100%)}
.signature-lip {transform:translate(.5%,1.4%);background:linear-gradient(145deg,#eeeef1,#a7a5ad 76%,#d9d4d7)}
.signature-face {display:grid;place-items:center;background:linear-gradient(145deg,#f9f9fa 0%,#fff 35%,#f1f1f4 75%,#e0e0e6 100%)}
.signature-face::before {content:"";position:absolute;inset:1px;clip-path:var(--facet);background:linear-gradient(135deg,#fff 0%,#fbfbfc 38%,#eeeef1 78%,#e3e3e9 100%)}
.signature-initials {position:relative;font-size:clamp(84px,11vw,175px);line-height:.95;font-weight:760;letter-spacing:-.097em;padding-right:.09em;color:#343439;background:linear-gradient(127deg,#29292e 18%,#65656d 54%,#36363b 76%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 1px 0 white)}
.signature-face::after {content:"";position:absolute;width:9%;height:2px;left:11%;top:12%;background:#a6223d}

.index {padding:24px 0 clamp(58px,6vw,96px);border-top:1px solid var(--line)}
.index>.rubric {letter-spacing:.12em}
.index-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:21px}
.index-link,.project-art {position:relative;isolation:isolate;min-width:0;filter:drop-shadow(0 6px 9px #8f18320c)}
.index-link::before,.index-link::after,.project-art::before,.project-art::after {content:"";position:absolute;clip-path:var(--facet);pointer-events:none}
.index-link::before,.project-art::before {inset:0;background:#e1dfe3;z-index:-2}
.index-link::after,.project-art::after {inset:1px;background:linear-gradient(135deg,#fff 38%,#fbfafb);z-index:-1}
.index-link {display:flex;flex-direction:column;justify-content:space-between;padding:22px 22px 17px;gap:21px;transition:transform .22s,filter .22s}
.index-link:hover,.index-link:focus-visible {transform:translateY(-3px);filter:drop-shadow(0 9px 13px #9d173024)}
.index-link:hover::before,.index-link:focus-visible::before {background:#c48491}
.ident {display:inline-flex;align-items:center;max-width:100%}
.ident img {object-fit:contain;max-width:100%}
.index-link .ident {height:35px;align-self:flex-start;mix-blend-mode:multiply}
.index-link .ident-go img {width:150px}.index-link .ident-boo img:last-child {width:108px}
.index-link .ident .bicon {width:29px;margin-right:5px}
.index-link .ident-cap-word img {width:119px}.index-link .ident-lpe-short img {height:34px}
.index-label {display:flex;justify-content:space-between;align-items:center;gap:5px;font-size:.75rem;line-height:1.4;color:var(--dim)}
.index-label>span {color:var(--ruby)}
.chapter {border-top:1px solid var(--line);background:#fff}
.chapter .wrap {padding:clamp(65px,6vw,102px) 0}
.chapter-top {display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:clamp(28px,3vw,48px)}
.chapter-count {font-size:.6rem;font-weight:540;color:#64656c}
.spread {display:grid;grid-template-columns:1fr 1.02fr;gap:clamp(38px,6vw,100px);align-items:start}
.project-art {--cut:26px;padding:1px;filter:drop-shadow(0 12px 17px #84193010)}
.project-logo {display:flex;align-items:center;justify-content:center;min-height:clamp(110px,10.6vw,156px);padding:20px;clip-path:var(--facet)}
.project-logo .ident-go {width:52%}.project-logo .ident-boo {width:62%;gap:2%}.project-logo .ident-boo .bicon {width:18%}.project-logo .ident-boo img:last-child {width:80%}
.project-logo .ident-cap {width:clamp(100px,10vw,155px);mix-blend-mode:multiply}.project-logo .ident-lpe {width:clamp(160px,17vw,280px)}
.theme-lpe .project-logo {background:#fff;clip-path:polygon(0 0,calc(100% - var(--cut)) 0,100% var(--cut),100% 100%,0 100%)}
.project-art figure>img {width:100%;aspect-ratio:1.98;object-fit:cover}
.theme-capriceo .project-art figure>img {aspect-ratio:16/9;object-fit:contain}
.project-art figcaption {padding:13px 26px 15px;font-size:.74rem;line-height:1.45;color:var(--dim)}
.project-name,.publication,.history dt {color:var(--ruby)}
.project-name {margin-bottom:13px}
.reading h3 {font-size:clamp(35px,3.55vw,59px);line-height:1.055}
.reading>p:not(.project-name) {font-size:1rem;line-height:1.75;color:var(--dim);margin-top:17px}
.reading>.definition {color:var(--ink)!important;font-weight:570}
.visit {margin-top:14px}
.detail,.history {margin-top:38px;border-block:1px solid var(--line)}
summary {list-style:none}summary::-webkit-details-marker {display:none}
.detail>summary,.history>summary,.axes summary {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0;font-weight:590;font-size:.93rem}
.more {display:block;position:relative;width:20px;height:20px;flex:none;color:var(--ruby)}
.more:before,.more:after {content:"";position:absolute;inset:9px 3px auto;height:1.5px;background:currentColor}
.more:after {transform:rotate(90deg)}details[open]>summary .more:after {transform:none}
.detail-body,.lab-grid,.contact-grid,.journal-grid,.profile {display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,110px);align-items:start}
.detail-body {padding:12px 0 30px}
.detail-body h4 {font-size:1.08rem;margin-bottom:9px}
.detail-body p,.axes details p,.biography>p:not(.rubric) {color:var(--dim);line-height:1.73}
.detail-body p+p {margin-top:12px}
.screen img {width:100%;border:1px solid var(--line)}
.site-capture summary {padding:10px 0;text-decoration:underline;text-underline-offset:3px;font-size:.86rem}
section h2:not(.rubric) {font-size:clamp(43px,4.7vw,76px)}
.lab,.contact,.journal {border-top:1px solid var(--line);padding:clamp(66px,7vw,116px) 0}
.lab,.journal {background:var(--mist)}
.lab h2,.contact h2,.journal h2,.profile h2 {margin:20px 0 22px}
.section-intro,.contact-grid>div>p:last-child {color:var(--dim);max-width:52ch}
.conviction-end {margin-top:17px}
.axes details {border-top:1px solid var(--line)}.axes details:last-child {border-bottom:1px solid var(--line)}
.axes summary {font-size:clamp(16px,1.36vw,22px);font-weight:560}
.axes details p {padding-bottom:20px}.lab-link {text-decoration:underline;text-underline-offset:3px}
.profile {grid-template-columns:.82fr 1.18fr;padding:clamp(74px,8vw,130px) 0}
.biography>p:not(.rubric) {margin-top:15px;max-width:65ch}
.biography p strong {color:var(--ink);font-weight:600}
.history dl>div {padding:13px 0;border-top:1px solid var(--line);display:grid;grid-template-columns:104px 1fr;gap:12px}
.history dt,.foot>span,.foot>a:last-child {font-size:.75rem}
.history dd {font-size:.92rem}.history dd p {color:var(--dim)}
.feature {position:relative;min-width:0}
.visual {--cut:22px;position:relative;isolation:isolate;overflow:hidden;clip-path:var(--facet);aspect-ratio:1.37;background:#eeedef}
.visual:after {content:"";position:absolute;inset:0;background:linear-gradient(0deg,#111116df 0%,#11111660 25%,transparent 58%);pointer-events:none}
.visual>img {width:100%;height:100%;object-fit:cover}
.slide-text {position:absolute;bottom:22px;left:26px;right:14px;color:#fff;z-index:1}
.slide-text p {font-size:.61rem;margin-bottom:4px}.slide-text a {font-weight:620;font-size:clamp(29px,3.1vw,49px);line-height:1.15;letter-spacing:-.055em}
.slide-text a span {font-size:.52em;vertical-align:middle}
.slide>figcaption {display:flex;align-items:center;border-bottom:1px solid var(--line);min-height:60px;padding:12px 124px 12px 0;font-size:.72rem;color:var(--dim);line-height:1.4}
.feature-ui {position:absolute;right:0;bottom:0;min-height:60px;display:flex;align-items:center;gap:5px}
.counter {font-size:.66rem;color:var(--dim);margin-right:4px}
.feature-ui button {height:34px;width:34px;border:1px solid var(--line);border-radius:50%;background:#fff;color:var(--ink)}
.feature-ui button:hover {color:var(--ruby);border-color:#bd7a88}
.journal-grid {align-items:center}.journal h2 {margin-bottom:0}
.journal-grid>div:last-child {color:var(--dim)}.publication {margin-top:18px}
.hs-form label {display:block;font-size:.8rem;font-weight:590}
.fields {display:grid;grid-template-columns:1fr 1fr;gap:14px}
.hs-form input,.hs-form textarea {display:block;width:100%;padding:11px 12px;margin:6px 0 14px;border:1px solid #d3d3d8;border-radius:5px;background:#fafafb;color:var(--ink)}
.hs-form textarea {resize:vertical}.hs-form textarea::placeholder {color:#686970}
.form-hint,.hs-form p[role=note] {font-size:.77rem!important;color:var(--dim)!important;line-height:1.5}
.hs-form button:disabled {background:#e8e8ec;color:#5a5a61;cursor:default;margin:16px 0 10px}
footer {border-top:1px solid var(--line)}
.foot {display:flex;align-items:center;justify-content:space-between;min-height:95px;gap:18px}
.foot>span,.foot>a:last-child {color:var(--dim)}
@media(min-width:861px) {
  .theme-booriko .project-art,.theme-lpe .project-art {grid-column:2;grid-row:1}
  .theme-booriko .reading,.theme-lpe .reading {grid-column:1;grid-row:1}
}
@media(max-width:1000px) {
  .index-grid {gap:12px}.index-link {padding:17px 15px}
  .index-link .ident-go img {width:119px}.index-link .ident-boo img:last-child {width:82px}
  .index-link .ident .bicon {width:22px}
  .welcome h1 {font-size:clamp(44px,5.6vw,56px)}
}
@media(max-width:860px) {
  .nav-wrap {min-height:65px;flex-wrap:wrap;gap:0}
  html.js .menu {display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:8px 13px;font-size:.82rem}
  #nav {width:100%;display:flex;flex-wrap:wrap;gap:12px 25px;padding:0 0 17px}
  html.js #nav:not(.open) {display:none}
  .spread,.profile {gap:30px}.reading h3 {font-size:36px}
  .index-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .index-link {gap:14px}
  .signature-initials {font-size:12vw}
}
@media(max-width:690px) {
  .wrap,.nav-wrap {width:calc(100% - 40px)}
  .brand {font-size:22px}.mark {width:24px;height:24px}
  .intro,.spread,.profile,.detail-body,.lab-grid,.contact-grid,.journal-grid {grid-template-columns:1fr}
  .intro {gap:17px;padding:45px 0 26px}
  .welcome h1 {font-size:clamp(42px,8.8vw,60px);margin:18px 0}
  .hero-desc {font-size:.95rem}.welcome-actions {gap:6px 18px;margin-top:18px}
  .signature {width:min(100%,385px);height:clamp(215px,61vw,278px);aspect-ratio:auto;justify-self:center}
  .signature-object {width:clamp(148px,42vw,198px)}
  .signature-initials {font-size:clamp(78px,21vw,108px)}
  .index {padding:20px 0 43px}.index-grid {gap:10px;margin-top:16px}
  .index-link {--cut:12px;padding:15px 13px 12px;gap:13px}
  .index-link .ident {height:27px}.index-link .ident-cap-word img {width:96px}.index-link .ident-lpe-short img {height:28px}
  .index-link .ident-go img {width:105px}.index-link .ident-boo img:last-child {width:73px}.index-label {font-size:.7rem}
  .chapter .wrap {padding:44px 0}.chapter-top {margin-bottom:22px}.chapter-count {font-size:.55rem}.category {font-size:.6rem}
  .spread {gap:24px}.project-art {--cut:18px}.project-logo {min-height:79px;padding:13px}
  .project-logo .ident-go {width:150px}.project-logo .ident-boo {width:159px}.project-logo .ident-cap {width:80px}.project-logo .ident-lpe {width:173px}
  .project-art figcaption {padding:10px 18px 13px}
  .reading h3 {font-size:clamp(32px,7.8vw,47px)}.reading>p:not(.project-name) {font-size:.96rem;margin-top:14px}
  .detail,.history {margin-top:23px}.detail-body,.lab-grid,.journal-grid,.contact-grid {gap:22px}
  .lab,.contact,.journal,.profile {padding-block:52px}.profile {gap:27px}.profile .feature {order:2}
  .visual {aspect-ratio:1.7}.history dl>div {grid-template-columns:83px 1fr}
  .fields {grid-template-columns:1fr;gap:0}.foot {flex-wrap:wrap;padding-block:22px;gap:12px}.foot .brand {width:100%}
}
@media(max-width:360px) {
  .wrap,.nav-wrap {width:calc(100% - 30px)}.welcome-actions {gap:4px 13px}.index-link {padding-inline:10px}
}
@media(prefers-reduced-motion:reduce) {
  html {scroll-behavior:auto}*,*::before,*::after {transition:none!important}
}
@media print {
  header,.feature-ui,.primary,.contact,.menu,.foot>a:last-child {display:none}
  .chapter {break-before:page}.wrap {width:95%}.intro,.profile,.chapter .wrap {padding:15px 0}
  .project-art {break-inside:avoid}
}
/* Opening spread and three editorial columns */
.welcome{grid-template-columns:1.04fr .96fr;gap:clamp(35px,6.6vw,104px);padding:clamp(45px,5vw,82px) 0}
.welcome h1{font-size:clamp(48px,5.25vw,82px);margin:18px 0 22px}
.welcome .byline{max-width:49ch;font-size:1.02rem}
.welcome .hero-desc{font-size:1rem;line-height:1.65;max-width:54ch}
.carnet-hero{position:relative;min-width:0;margin:6px 0 0;padding:0 6px}
.manuscript-frame{position:relative;isolation:isolate;filter:drop-shadow(0 11px 13px #78183226)}
.manuscript-frame::before{content:"";position:absolute;inset:5px -2px -3px 4px;z-index:-1;background:linear-gradient(125deg,#d9acb4,#a73855);clip-path:polygon(0 0,calc(100% - 23px) 0,100% 23px,100% 100%,23px 100%,0 calc(100% - 23px))}
.manuscript-frame img{display:block;width:100%;height:auto;aspect-ratio:1.96;object-fit:cover;object-position:50% 20%;clip-path:polygon(0 0,calc(100% - 23px) 0,100% 23px,100% 100%,23px 100%,0 calc(100% - 23px))}
.carnet-hero figcaption{display:flex;justify-content:space-between;align-items:baseline;gap:8px 14px;flex-wrap:wrap;margin:17px 0 0;font-size:.81rem;color:var(--dim)}
.carnet-hero figcaption>span{font:italic 1.19rem/1.3 Georgia,serif;color:#403137}
.carnet-hero cite{font-style:normal}
.three-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid var(--line);padding-block:clamp(35px,3.8vw,60px) clamp(44px,4.7vw,72px);align-items:stretch}
.portal{min-width:0;padding:0 clamp(16px,2.4vw,36px);scroll-margin-top:12px}
.portal:first-child{padding-left:0}.portal:last-child{padding-right:0}
.portal+.portal{border-left:1px solid var(--line)}
.portal h2:not(.rubric){font-size:clamp(1.42rem,2.13vw,2.08rem);letter-spacing:-.055em;line-height:1.13;text-wrap:initial}
.portal>h2,.portal-heading{margin-bottom:22px;min-height:36px;display:flex;align-items:center}
.portal-heading{justify-content:space-between;gap:8px}
.portal p:not(.project-domain){font-size:1rem;color:var(--dim);line-height:1.62}
.portal p+p{margin-top:13px}
.portal .profile-lead{font-size:clamp(1.24rem,1.52vw,1.55rem);line-height:1.38;color:#352b30;font-weight:510;letter-spacing:-.035em;margin-bottom:16px;text-wrap:pretty}
.reading-link,.back-projects{display:inline-flex;align-items:center;min-height:38px;color:var(--ruby);font-size:.875rem;font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-decoration-color:#cba8b1;text-underline-offset:5px}
.reading-link:hover,.back-projects:hover{color:#641227;text-decoration-color:currentColor}
.portal>.reading-link{margin-top:12px}
.project-slide h3{margin:4px 0 5px;font-size:clamp(1.65rem,2.15vw,2.2rem);letter-spacing:-.055em}
.project-slide .project-blurb{min-height:3.24em}
.project-domain{margin-top:14px;color:var(--ruby);font-size:.74rem;line-height:1.4;font-weight:640;letter-spacing:.02em}
.project-thumb{filter:drop-shadow(0 6px 8px #8f183218)}
.project-thumb img{width:100%;aspect-ratio:2.1;object-fit:cover;clip-path:polygon(0 0,calc(100% - 15px) 0,100% 15px,100% 100%,15px 100%,0 calc(100% - 15px))}
.project-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:12px}
.project-choices a{min-width:0;text-align:center;padding:7px 3px;border:1px solid #dedde0;border-radius:4px;font-size:.80rem;line-height:1.45;color:#47464c;font-weight:540}
.project-choices a[aria-current=true]{border-color:#b36b7b;color:#8e1c38;background:#fff5f7}
.project-choices a:hover{border-color:#b36b7b}
.slide-controls,.quote-controls{display:flex;align-items:center;gap:5px}
.slide-controls button,.quote-controls button{display:inline-grid;place-items:center;flex:none;width:36px;height:36px;padding:0;border-radius:50%;border:1px solid #dcd7d9;background:#fff;color:#4f4246}
.slide-controls button:hover,.quote-controls button:hover{border-color:#b58690;color:var(--ruby);background:#fff7f9}
.chevron{display:inline-block;width:8px;height:8px;border-top:1.6px solid currentColor;border-right:1.6px solid currentColor}
.chevron.next{transform:translateX(-1px) rotate(45deg)}.chevron.prev{transform:translateX(1px) rotate(-135deg)}
.portal .together-intro{margin:0 0 14px;color:var(--dim)}
.opportunity{border-top:1px solid var(--line)}.opportunity:last-child{border-bottom:1px solid var(--line)}
.opportunity summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:54px;padding:10px 0;font-size:.98rem;font-weight:580;line-height:1.4}
.opportunity summary:hover{color:var(--ruby)}.opportunity>div{padding-bottom:10px}
.back-projects{margin-top:22px}
#histoires .chapter:focus{outline:none}
.interlude{border-block:1px solid #eadfe2;background:radial-gradient(ellipse at 18% 110%,#f6e8ed 0,transparent 58%),linear-gradient(105deg,#fcf8f9,#fcfbfb 78%);color:#322b30}
.interlude-inner{display:grid;grid-template-columns:min-content minmax(0,1fr) max-content;gap:clamp(18px,2.6vw,44px);align-items:center;min-height:185px;padding-block:35px}
.inkmark{font:italic 6rem/.6 Georgia,serif;color:#a52a47;align-self:start;margin-top:16px}
.quote-stack{display:grid;align-items:center;min-width:0}
.quote-item{grid-area:1/1}
.js .quote-item[hidden]{display:block!important;visibility:hidden}
.quote-item blockquote{margin:0;font:italic clamp(24px,2.32vw,36px)/1.25 Georgia,"Times New Roman",serif;letter-spacing:-.025em;text-wrap:balance}
.quote-item figcaption{margin-top:13px;color:#62545b;font-size:.80rem;font-weight:540}
.quote-item figcaption span{color:#b67786;margin:0 3px}
.quote-controls button{background:transparent}
.pause-quote span{width:9px;height:11px;border-inline:3px solid currentColor}
.pause-quote[data-paused=true] span{width:0;height:0;border:6px solid transparent;border-left:9px solid currentColor;border-right:0;transform:translateX(1px)}
.profile{grid-template-columns: .76fr 1.24fr;padding-block:clamp(54px,6.6vw,102px)}
.profile .biography>p:first-child{margin-top:0}
.lab+.interlude,.interlude+.journal{border-top:0}
@media(min-width:861px) and (max-width:1060px){#nav{gap:15px}.nav-wrap{width:94%;gap:12px}}
@media(max-width:900px){
 .three-columns{grid-template-columns:1fr;padding-block:0;border-top:0}
 .portal,.portal:first-child,.portal:last-child{padding:30px 0}
 .portal+.portal{border-left:0}.portal{border-top:1px solid var(--line)}
 .portal h2:not(.rubric){font-size:1.82rem}
 .portal>h2,.portal-heading{margin-bottom:14px}
 .project-portal{display:grid;grid-template-columns:1fr 1fr;gap:0 26px;align-items:start}
 .project-portal .portal-heading{grid-column:1/-1}
 #project-deck{grid-column:1/-1}
 .project-slide{display:grid;grid-template-columns:1fr 1fr;column-gap:26px;align-content:start}
 .project-thumb{grid-column:1;grid-row:1/5}
 .project-thumb img{aspect-ratio:1.83}
 .project-slide .project-domain,.project-slide h3,.project-slide .project-blurb,.project-slide .reading-link{grid-column:2}
 .project-domain{margin-top:3px}
 .project-choices{grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr))}
 .welcome h1{font-size:clamp(42px,5.45vw,55px)}.welcome{gap:26px}
 .slide-controls button,.quote-controls button{width:42px;height:42px}
}
@media(max-width:690px){
 .welcome{grid-template-columns:1fr;gap:22px;padding:38px 0 30px}
 .welcome h1{font-size:clamp(43px,9vw,59px);margin:16px 0}
 .carnet-hero{padding:0 3px 0 0;margin:0}
 .manuscript-frame img{aspect-ratio:2.32}
 .carnet-hero figcaption{margin-top:12px}
 .project-portal,.project-slide{display:block}
 .project-slide .project-blurb{min-height:0}
 .project-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .project-domain{margin-top:14px}.project-thumb img{aspect-ratio:2.14}
 .portal .profile-lead{font-size:1.28rem}
 .project-choices a{min-height:44px;display:grid;place-items:center}
 .interlude-inner{grid-template-columns:1fr auto;gap:10px 12px;min-height:210px;padding:22px 0}
 .inkmark{font-size:3.4rem;line-height:.65;margin:10px 0 0;grid-column:1}
 .quote-stack{grid-column:1/-1}
 .quote-controls{grid-row:1;grid-column:2}
 .quote-item blockquote{font-size:clamp(21px,5.4vw,27px);text-wrap:pretty}
 .profile{grid-template-columns:1fr;gap:8px}.profile h2{margin-bottom:5px}
}
@media print{
 .three-columns{display:block}.portal{border:none!important;padding:10px 0!important}
 .slide-controls,.quote-controls,.back-projects,.project-choices{display:none!important}
 .js .quote-item[hidden]{display:none!important}
 #histoires>.chapter[hidden]{display:block!important}
 .interlude-inner{min-height:0}.quote-item{opacity:1!important}
}
.hs-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  flex: none;
  width: clamp(182px, 16.3vw, 242px);
}
.hs-wordmark { display: block; width: 82.4%; height: auto }
.hs-book {
  display: block;
  position: relative;
  width: 16%;
  aspect-ratio: 70 / 58;
  perspective: 145px;
}
.hs-book-turn {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(-8deg) rotateY(-12deg);
}
.hs-leaf {
  position: absolute;
  top: 5%;
  width: 48%;
  height: 88%;
  transform-style: preserve-3d;
}
.hs-leaf-left  { right: 50%; transform-origin: right center; transform: rotateY(25deg) }
.hs-leaf-right { left: 50%; transform-origin: left center; transform: rotateY(-25deg) }
.hs-leaf svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible }
.hs-leaf .hs-paper {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(.7px);
}
.hs-leaf-left { --sheet: #f7efdf; --ruling: #c8b698 }
.hs-leaf-right { --sheet: #e6c99b; --ruling: #ad8b59 }
@keyframes hs-book-turn {
  from { transform: rotateX(-8deg) rotateY(-12deg) }
  to   { transform: rotateX(-8deg) rotateY(348deg) }
}
@media screen and (prefers-reduced-motion: no-preference) {
  .hs-book-turn { animation: hs-book-turn 22s linear infinite }
}
@media (max-width: 690px) {
  .hs-lockup { width: 192px }
  .foot .hs-lockup { width: 176px }
}
:root{color-scheme:dark;--paper:#0c0d0e;--mist:#101112;--ink:#f4f1ed;--dim:#b8b6b5;--line:#393634;--ruby:#e9ba7e;--gold:#e5b97c}
body{background:radial-gradient(ellipse 75% 460px at 85% 750px,#24201b33,transparent),var(--paper)}
:focus-visible{outline-color:#f6cb90}::selection{background:#63482c;color:white}
header{background:#0b0c0de8;border-bottom:1px solid #2e2b27}
.contact-nav{border-color:#5c5145;background:#29241d66}#nav a:hover{color:#f4cf97}
.skip,.menu,html.js .menu{color:var(--ink);background:#19191b}
.cinema{position:relative;isolation:isolate;overflow:hidden;background:#101012;border-bottom:1px solid #4d4235}
.film-layer{position:absolute;inset:0 0 0 30%;z-index:-3;overflow:hidden}
.film-layer video{width:100%;height:100%;object-fit:cover;object-position:55% 40%;display:block}
.cinema::before{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,#0b0c0d 5%,#0d0e0f 31%,#111112ee 40%,#141416ba 49%,#17151834 67%,#100e0e0f 86%),linear-gradient(0deg,#100f11c9,transparent 36%,transparent 84%,#1613184f);pointer-events:none}
.cinema::after{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 63% 0%,#e0ad5927,transparent 46%);pointer-events:none}
.cinema-inner{position:relative;display:grid;align-content:center;min-height:clamp(420px,36vw,570px);padding-block:52px 63px}
.cinema-copy{max-width:65%;min-width:0}
.cinema .rubric{color:#d1beb0;font-size:.73rem}
.cinema h1{font-size:clamp(42px,4.2vw,72px);line-height:1.04;letter-spacing:-.063em;color:#fbf9f4;margin:25px 0 23px;font-weight:595;text-wrap:initial}
.cinema h1>span{display:block}
.cinema h1 em{color:#f1c891;font-style:italic;font-family:Georgia,serif;font-weight:400;letter-spacing:-.052em}
.cinema .byline{font-size:1.02rem;max-width:43ch;color:#efebe7}
.cinema .hero-desc{max-width:48ch;color:#cbc7c3;margin-top:8px;font-size:1rem}
.film-footer{position:absolute;right:0;bottom:20px;display:flex;align-items:center;gap:12px;color:#fff4e7;background:#141110ab;border:1px solid #c0a78965;backdrop-filter:blur(14px);border-radius:4px;padding:4px 5px 4px 14px}
.film-credit{font-size:.77rem;line-height:1.4}.film-credit em{font-family:Georgia,serif;font-size:.93rem}
.film-toggle{width:36px;height:36px;background:#221d18;border:1px solid #776957;border-radius:50%;display:grid;place-items:center;color:#fff}
.film-toggle span{border-inline:2px solid currentColor;width:8px;height:10px}
.film-toggle[data-paused=true] span{border:6px solid transparent;border-left:9px solid currentColor;border-right:0;width:0;height:0;transform:translateX(1px)}
.three-columns{border:0;gap:clamp(14px,1.65vw,28px);padding-block:clamp(28px,3.8vw,60px)}
.portal,.portal:first-child,.portal:last-child,.portal+.portal{position:relative;isolation:isolate;border:0;padding:clamp(18px,2.1vw,32px);filter:drop-shadow(0 10px 18px #0005)}
.portal::before,.portal::after{content:"";position:absolute;pointer-events:none;clip-path:polygon(0 0,calc(100% - 17px) 0,100% 17px,100% 100%,17px 100%,0 calc(100% - 17px))}
.portal::before{z-index:-2;inset:0;background:linear-gradient(132deg,#756754 0%,#4c4540 16%,#373636 58%,#7c5e3a 84%,#ad875c)}
.portal::after{z-index:-1;inset:1px;background:radial-gradient(ellipse 140% 72% at 108% -12%,#443728a6,transparent 62%),linear-gradient(136deg,#222326ea,#131416fa 75%);backdrop-filter:blur(16px)}
.portal>h2,.portal-heading{margin-bottom:18px}
.portal p.profile-lead{font:400 clamp(1.19rem,1.44vw,1.51rem)/1.35 Georgia,serif;letter-spacing:-.015em;color:#ede2d2}
.reading-link,.back-projects,.project-shortcut,.visit,.lab-link{color:#efc491;text-decoration-color:#8b7050}
.reading-link:hover,.back-projects:hover,.project-shortcut:hover,.visit:hover,.lab-link:hover{color:#ffe0b6}
.project-choices a{border-color:#4a4540;color:#d4d0ca;background:#1a1b1c}
.project-choices a[aria-current=true]{border-color:#ad8c63;color:#ffdcac;background:#382d20}
.project-choices a:hover{border-color:#ac8b62}
.slide-controls button,.quote-controls button{border-color:#675d52;color:#e8d7bf;background:#272523}
.slide-controls button:hover,.quote-controls button:hover{border-color:#b59772;background:#38312a;color:white}
.interlude{border-color:#554937;background:radial-gradient(ellipse 74% 160% at 0% 40%,#342a20a1,transparent 87%),linear-gradient(110deg,#161416,#121314)}
.inkmark{color:#dfb478}.quote-item blockquote{color:#f4ebdf}.quote-item figcaption{color:#c6b8a8}.quote-item figcaption span{color:#dfb478}
.lab,.journal{background:#111214}.contact,.profile,.chapter{background:var(--paper)}
h2 em{color:#c6b9aa}
.project-art:before{background:#887454}.project-art:after{background:#262523}
.project-logo{background:#f6f5f3}.theme-lpe .project-logo{background:#fff}
.project-art figcaption{color:#d7d0c8}
.category,.rubric,.chapter-count{color:#c2b9ae}
.reading>p:not(.project-name),.axes details p,.biography>p:not(.rubric){color:var(--dim)}
.hs-form input,.hs-form textarea{background:#1b1c1e;color:#f5f2ee;border-color:#494640}
.hs-form textarea::placeholder{color:#aaa29a}.hs-form button:disabled{background:#343332;color:#b5aea7}
footer{background:#0b0c0d}.screen img{border-color:#534c43}
@media(min-width:901px) and (max-width:1100px){.portal,.portal:first-child,.portal:last-child{padding:18px 15px}.portal h2:not(.rubric){font-size:1.35rem}.portal-heading{gap:4px}.slide-controls button{width:32px;height:32px}}
@media(max-width:900px){.three-columns{grid-template-columns:1fr;padding-block:25px;gap:15px}.portal,.portal:first-child,.portal:last-child,.portal+.portal{padding:24px}.cinema-inner{min-height:425px}.cinema-copy{max-width:78%}.cinema h1{font-size:clamp(38px,5.6vw,50px)}}
@media(max-width:690px){
 .film-layer{inset:0 0 auto;height:57%}
 .film-layer video{object-position:50% 25%}
 .cinema::before{background:linear-gradient(0deg,#0d0e0f 7%,#0e0e10 41%,#111113f3 51%,#13121478 72%,#15131503 98%)}
 .cinema-inner{display:flex;flex-direction:column;justify-content:end;align-items:start;min-height:0;padding:clamp(139px,39vw,221px) 0 28px}
 .cinema-copy{max-width:100%}.cinema .rubric{color:#f2d5ae}
 .cinema h1{font-size:clamp(34px,7.9vw,49px);margin:15px 0;letter-spacing:-.062em}
 .cinema .hero-desc{font-size:.94rem}.film-footer{right:0;top:11px;bottom:auto;gap:5px;padding:2px 3px 2px 10px}
 .film-credit{font-size:.67rem}.film-credit em{font-size:.81rem}
 .film-toggle{width:36px;height:36px}
 .portal,.portal:first-child,.portal:last-child,.portal+.portal{padding:21px}
}
@media print{.film-footer,.film-layer{display:none!important}body{color:var(--ink)}}
@media(max-width:490px){.cinema h1 .verb{display:block;white-space:nowrap}.cinema h1{font-size:clamp(35px,8.6vw,42px);line-height:1.04}.cinema-copy .rubric{color:#f6dcb7;text-shadow:0 1px 5px #000}.cinema::before{background:linear-gradient(0deg,#0d0e0f 7%,#0e0e10 41%,#111113f3 51%,#131214aa 72%,#15131503 98%)}}

/* Each project keeps the same reserved logo area as the visitor changes slides. */
.project-slide h3.carousel-brand{display:flex;align-items:center;margin:8px 0 7px;min-width:0}
.carousel-brand .brand-tile{display:flex;align-items:center;justify-content:center;gap:4px;width:min(192px,100%);height:52px;padding:8px 12px;border-radius:4px;background:#fff;box-sizing:border-box}
.carousel-brand .brand-tile img{display:block;width:100%;height:100%;min-width:0;object-fit:contain}
[data-project="booriko"] .brand-tile img:first-child{width:17%;flex:none}
[data-project="booriko"] .brand-tile img:last-child{width:79%;flex:none}
[data-project="lpe"] .brand-tile{background:#fff;padding-block:4px}
#capriceo .project-logo .ident-cap{width:clamp(152px,20vw,278px);max-width:90%;mix-blend-mode:normal}
#capriceo .project-logo{background:#fff}

#lpe .project-logo .ident-lpe{width:min(96%,420px)}

/* Professional introduction and contact */
.cinema #hero-title {
  margin: .25em 0 .24em;
  font-size: clamp(3.35rem, 6.4vw, 6.7rem);
  line-height: 1.04;
}
.cinema .byline {
  max-width: 39ch;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}
.cinema .hero-desc { max-width: 49ch; line-height: 1.6; margin-top: 12px; }
.work-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 24px; }
.work-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 21px; border-radius: 30px;
  background: #edd0a4; color: #211b14;
  text-align: center; line-height: 1.4; font-size: .94rem; font-weight: 650;
}
.work-button:hover { background: #ffe4bb; }
.work-actions .reading-link { min-height: 44px; }
.career-highlights { margin-top: 17px; }
.career-highlights > div { padding: 15px 0; border-top: 1px solid var(--line); }
.career-highlights dt { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 9px; font-size: 1rem; font-weight: 640; }
.career-highlights dt span { color: #d3b88f; font-size: .84rem; font-weight: 500; white-space: nowrap; }
.career-highlights dd { margin-top: 6px; color: var(--dim); font-size: 1rem; line-height: 1.55; }
.work-contact { align-self: center; max-width: 56ch; color: var(--dim); }
.work-email { margin-top: 16px; font-size: .94rem; }
.work-email a { text-decoration: underline; text-underline-offset: 4px; }
.work-contact strong { color: var(--ink); }
.work-contact p + p { margin-top: .8em; }
@media (max-width: 690px) {
  .cinema #hero-title { font-size: clamp(3.05rem, 12.7vw, 4.7rem); }
  .cinema .hero-desc { font-size: 1rem; }
  .work-actions { margin-top: 18px; gap: 3px 18px; }
}

.hs-articles { margin-block: 1.3rem; padding: 0; list-style: none; }
.hs-articles li { padding: .8rem 0; border-top: 1px solid var(--line); }
.hs-articles time, .hs-entry-meta { display: block; color: var(--dim); font-size: .9rem; }
.hs-articles a, .hs-entry a { text-decoration: underline; text-underline-offset: .2em; }
.hs-entry { width: min(760px, 89%); margin: clamp(42px,8vw,95px) auto; }
.hs-entry h1 { font-size: clamp(2.4rem,5.2vw,4.7rem); margin-block: .35em; }
.hs-entry h2 { font-size: clamp(1.7rem,3vw,2.4rem); margin-block: .9em .35em; }
.hs-entry .entry-content { margin: 2rem 0; overflow-wrap: anywhere; }
.entry-content > * + * { margin-top: 1em; }
.entry-content img, .entry-content video, .entry-content iframe { max-width: 100%; }
.entry-content img { height: auto; }
.entry-content pre { overflow-x: auto; }
.hs-entry .navigation { margin-top: 2rem; }
.hs-entry .nav-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
