/* Identity, project case studies and a more compact mobile introduction. */
.header .brand, footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 1.1px;
  line-height: 1.3;
  white-space: nowrap;
}
.brand span { color: var(--accent); }
.header .brand .brand-word { display: inline-flex; color: var(--text); }
.header .brand .brand-word:last-child { color: var(--accent); }
.header .brand .brand-letter {
  display: inline-block;
  color: inherit;
  --letter-hover: #c7f68c;
  transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}
.header .brand .brand-word:last-child .brand-letter { --letter-hover: #83e4d2; }
.header .brand .brand-letter:nth-child(3n) { --letter-hover: #e8d293; }
.header .brand:focus-visible .brand-letter { color: var(--letter-hover); }
@media (hover: hover) and (pointer: fine) {
  .header .brand .brand-letter:hover {
    color: var(--letter-hover);
    transform: translateY(-2px);
    text-shadow: 0 0 14px color-mix(in srgb, var(--letter-hover) 35%, transparent);
  }
}
.header .brand { padding-block: 12px; }
footer .brand { font-size: 12px; letter-spacing: .8px; }
.hero .eyebrow { font-size: 11px; letter-spacing: 1.4px; }
.intro { max-width: 540px; }
.project-info p:not(.eyebrow), .expertise-list p,
.journey-intro > p:not(.eyebrow), .timeline ul { font-size: 15px; }
.project-info .eyebrow { font-size: 10px; }
.project-info > .text-link, .all-projects { font-size: 14px; }
.tags span { font-size: 11px; }
.section-head > p { font-size: 15px; }
.featured { grid-template-columns: 1.2fr 1fr; }
.project-capture {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px;
  background: #273a36;
  overflow: hidden;
}
.capture-bar {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font: 10px/1.5 monospace;
  background: #171e1b;
  color: #bbc9c1;
  border-radius: 5px 5px 0 0;
  border: 1px solid #536b5e;
  border-bottom: none;
}
.capture-dots { font-size: 7px; letter-spacing: 2px; color: #8b9e8f; white-space: nowrap; }
.project-capture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #24282c;
  border: 1px solid #536b5e;
  border-top: none;
  box-shadow: 0 15px 35px #0003;
}
.capture-caption { font-size: 8px; letter-spacing: 1.4px; color: #bdcfc5; margin-top: 17px; }
.capture-arxiv { background: #262c38; }
.capture-pacific img { aspect-ratio: auto; }
.capture-random { background: #343125; }
.case-study { grid-column: 1 / -1; border-top: 1px solid var(--line); }
summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 52px;
}
summary::-webkit-details-marker { display: none; }
summary:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.case-study > summary { padding: 18px 30px; font-size: 14px; color: #d7e4cb; }
summary > span { font: 22px/1 monospace; color: var(--accent); transition: transform .2s; }
details[open] > summary > span { transform: rotate(45deg); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 5px 30px 30px; }
.case-grid h4 { font-size: 15px; font-weight: 500; color: var(--text); margin: 5px 0 10px; }
.case-grid p { color: var(--muted); font-size: 14px; line-height: 1.85; margin: 0; }
.case-grid.two-columns { grid-template-columns: 1fr 1fr; }
.infra-project { margin-top: 24px; }
.infra-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; padding: 35px; }
.infra-heading .eyebrow { margin-bottom: 16px; font-size: 10px; }
.infra-heading h3 { font-size: 29px; font-weight: 500; letter-spacing: -.9px; line-height: 1.35; margin: 0; }
.infra-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.infra-map { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0 35px 30px; border: 1px solid #414c37; border-radius: 4px; background: #20271c; }
.infra-map > div { padding: 24px; border-right: 1px solid #414c37; }
.infra-map > div:last-child { border-right: none; }
.infra-symbol { display: block; font: 24px/1.5 monospace; color: var(--accent); margin-bottom: 14px; }
.infra-map small { display: block; color: #a6b696; font: 9px/1.5 monospace; letter-spacing: 1px; margin-bottom: 7px; }
.infra-map strong { font-size: 17px; font-weight: 500; }
.infra-map p { color: #b0bca5; font-size: 13px; line-height: 1.8; margin: 12px 0 0; }
.project-details { border-top: 1px solid var(--line); margin: 0 0 15px; }
.project-details summary { font-size: 13px; color: #d7e4cb; }
.project-details > p { padding-bottom: 10px; }
@media (hover: hover) {
  summary:hover { color: var(--accent); }
  .header .brand:hover { color: var(--accent); }
}
@media (max-width: 1000px) {
  .header .brand { font-size: 13px; letter-spacing: .7px; }
  .featured { grid-template-columns: 1fr; }
  .capture-pacific { padding: 30px 12%; }
  .case-grid { gap: 22px; }
  .infra-map > div { padding: 20px; }
}
@media (max-width: 760px) {
  .header { height: auto; min-height: 115px; padding-block: 12px 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
  .header .brand { font-size: 14px; letter-spacing: .8px; padding-block: 10px; }
  .nav-contact { font-size: 13px; min-height: 44px; }
  .header nav { order: 3; width: 100%; justify-content: space-between; gap: 20px; }
  nav a { font-size: 13px; min-height: 44px; padding-block: 10px; }
  .hero { padding-top: 32px; padding-bottom: 26px; gap: 22px; min-height: 0; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .9px; margin-bottom: 20px; }
  h1 { font-size: clamp(39px, 9vw, 61px); line-height: 1.12; margin-bottom: 20px; }
  .intro { font-size: 15px; line-height: 1.65; margin-bottom: 0; }
  .hero-actions { margin-top: 22px; gap: 15px; flex-wrap: wrap; }
  .hero-actions .text-link { font-size: 12px; min-height: 44px; }
  .hero-note { margin-top: 14px; font-size: 10px; }
  .hero-note i { margin-inline: 8px; }
  .architecture { height: 190px; }
  .arch-caption, .arch-bottom, .orbit-three { display: none; }
  .orbit-one { width: 210px; height: 140px; }
  .orbit-two { width: 315px; height: 200px; }
  .arch-core { width: 145px; height: 95px; top: 50%; }
  .core-icon { font-size: 22px; }
  .arch-core strong { font-size: 14px; }
  .arch-core strong::after { height: 12px; width: 5px; margin-left: 4px; }
  .arch-core small { font-size: 5px; margin-top: 5px; }
  .arch-node { padding: 8px 10px; gap: 8px; }
  .arch-node small { font-size: 6px; }
  .arch-node strong { font-size: 11px; }
  .node-symbol { font-size: 17px; }
  .node-code { top: 6px; left: 0; }
  .node-ship { top: 17px; right: 0; }
  .node-run { bottom: 3px; left: 28%; }
  .arch-line { width: 80px; }
  .line-b { width: 100px; }
  .proof { padding-block: 19px; }
  .proof strong { font-size: 18px; }
  #projets { padding-top: 48px; }
  .section-head > p { font-size: 14px; }
  .project-capture, .capture-pacific { padding: 20px; }
  .capture-bar { font-size: 8px; padding: 9px; }
  .capture-caption { margin-top: 12px; font-size: 7px; }
  .project-info p:not(.eyebrow) { font-size: 15px; }
  .project-info .eyebrow { font-size: 9px; }
  .project-info > .text-link { min-height: 44px; }
  .case-grid, .case-grid.two-columns { grid-template-columns: 1fr; gap: 20px; padding: 0 24px 25px; }
  .case-study > summary { padding: 15px 24px; font-size: 13px; }
  .infra-heading { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .infra-heading h3 { font-size: 25px; }
  .infra-map { grid-template-columns: 1fr; margin: 0 24px 24px; }
  .infra-map > div { border-right: 0; border-bottom: 1px solid #414c37; padding: 20px; }
  .infra-map > div:last-child { border-bottom: 0; }
  .infra-symbol { float: right; margin: 0 0 0 15px; }
  .infra-map p { font-size: 14px; }
  .journey-intro > p:not(.eyebrow), .expertise-list p { font-size: 15px; }
  .timeline ul { font-size: 14px; }
  .skill-names { font-size: 11px; }
  footer .brand { font-size: 10px; gap: 4px; letter-spacing: .3px; }
  footer > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .header .brand .brand-letter, summary > span { transition: none; }
  .header .brand .brand-letter:hover { transform: none; }
}
