* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 60px;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 22px;
}
.narrow {
  max-width: 760px;
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.brand {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 13px;
  color: var(--ink-2);
}
.nav ul a:hover,
.nav ul a[aria-current] {
  color: var(--ink);
}
.h-sec {
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.07;
  font-weight: 700;
  letter-spacing: -0.035em;
}
.h-sub {
  font-size: clamp(26px, 3.4vw, 34px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lead {
  font-size: clamp(19px, 2.3vw, 23px);
  line-height: 1.42;
  color: var(--ink-2);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.link {
  color: var(--accent);
}
.link:hover {
  text-decoration: underline;
}
.chev::after {
  content: " ›";
}
section {
  padding: 100px 0;
}
.sec-head {
  margin-bottom: 48px;
}
.sec-head .lead {
  margin-top: 12px;
  max-width: 640px;
}
.projects {
  background: var(--bg-alt);
}
.all-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 88px 0 20px;
  gap: 20px;
  flex-wrap: wrap;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cascade {
  list-style: none;
  display: grid;
  gap: 12px;
}
.cascade a {
  display: grid;
  gap: 28px;
  background: var(--card);
  border-radius: 22px;
  transition:
    box-shadow 0.25s,
    transform 0.25s;
  box-shadow: inset 0 0 0 1px var(--line);
  grid-template-columns: 232px 1fr auto;
  padding: 18px 28px 18px 18px;
  align-items: center;
}
.cascade .when {
  padding-top: 4px;
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.cascade h4 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.25;
}
.cascade .ctx {
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 3px;
}
.cascade .preview {
  font-size: 15px;
  color: var(--ink);
  margin-top: 10px;
  max-width: 68ch;
}
.cascade .open {
  padding-top: 3px;
  font-size: 15px;
  color: var(--accent);
  white-space: nowrap;
}
.tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.cascade li.hide {
  display: none;
}
.js .cascade li {
  opacity: 0;
  transform: translateY(16px);
}
.js .cascade.in li {
  animation: drop 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.js .cascade.in li:nth-child(2) {
  animation-delay: 0.07s;
}
.js .cascade.in li:nth-child(3) {
  animation-delay: 0.14s;
}
.js .cascade.in li:nth-child(4) {
  animation-delay: 0.21s;
}
.js .cascade.in li:nth-child(5) {
  animation-delay: 0.28s;
}
.js .cascade.in li:nth-child(6) {
  animation-delay: 0.35s;
}
.js .cascade.in li:nth-child(7) {
  animation-delay: 0.42s;
}
@keyframes drop {
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .js .cascade li {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}
@media (max-width: 760px) {
  .cascade .open {
    margin-top: 8px;
  }
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.skill {
  background: var(--bg-alt);
  border-radius: 22px;
  padding: 28px;
}
.skill h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.skill p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
}
.edu {
  background: var(--dark);
  color: var(--dark-ink);
}
.edu .lead {
  color: var(--dark-ink-2);
}
.timeline {
  display: grid;
  gap: 16px;
}
.school {
  background: var(--dark-card);
  border-radius: 22px;
  padding: 30px 32px;
}
.school .top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: baseline;
}
.school h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.school .place {
  font-size: 15px;
  color: var(--dark-ink-2);
}
.school .deg {
  color: var(--dark-ink);
  margin: 6px 0 14px;
  font-size: 17px;
}
.school .deg span {
  color: var(--dark-ink-2);
}
.school ul {
  list-style: none;
  display: grid;
  gap: 6px;
  font-size: 15px;
  color: var(--dark-ink-2);
}
.school ul b {
  color: var(--dark-ink);
  font-weight: 500;
}
.foot-cta {
  text-align: center;
  padding-top: 110px;
  padding-bottom: 110px;
}
.foot-cta .lead {
  margin: 16px auto 30px;
  max-width: 560px;
}
.foot-cta .btns {
  justify-content: center;
}
footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  font-size: 12px;
  color: var(--ink-2);
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.p-head {
  padding-top: 56px;
  padding-bottom: 8px;
}
.back {
  font-size: 15px;
  color: var(--accent);
}
.back::before {
  content: "‹ ";
}
.back:hover {
  text-decoration: underline;
}
.p-head h1 {
  font-size: clamp(36px, 5.4vw, 56px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 22px 0 28px;
}
.props {
  display: grid;
  grid-template-columns: 140px 1fr;
  border-top: 1px solid var(--line);
}
.props dt,
.props dd {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.props dt {
  color: var(--ink-2);
}
.p-body {
  padding-top: 48px;
  padding-bottom: 40px;
}
.p-body h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 52px 0 16px;
}
.p-body h2:first-child {
  margin-top: 0;
}
.p-body p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 68ch;
}
.p-body p + p {
  margin-top: 14px;
}
.p-body ul.bul {
  margin: 4px 0 0 22px;
  display: grid;
  gap: 10px;
  font-size: 17px;
  line-height: 1.55;
  max-width: 68ch;
}
.outputs {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}
.output {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.output p {
  font-size: 16px !important;
  line-height: 1.45 !important;
}
.insights {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}
.p-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 40px;
  padding-bottom: 100px;
  border-top: 1px solid var(--line);
  margin-top: 40px;
}
.p-nav a {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 22px 24px;
}
.p-nav a:hover h4 {
  color: var(--accent);
}
.p-nav span {
  font-size: 13px;
  color: var(--ink-2);
}
.p-nav h4 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 4px;
}
.p-nav .next {
  text-align: right;
}
@media (max-width: 640px) {
  .p-nav {
    grid-template-columns: 1fr;
  }
  .p-nav .next {
    text-align: left;
  }
  .props {
    grid-template-columns: 110px 1fr;
  }
  .output {
    flex-direction: column;
    align-items: flex-start;
  }
}
.personal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0, transparent 65%),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.55) 0,
      rgba(0, 0, 0, 0.62) 45%,
      rgba(0, 0, 0, 0.82) 100%
    );
}
.personal > .wrap {
  width: 100%;
}
.personal .btn.ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
}
.personal .btn.ghost:hover {
  background: #fff;
  color: var(--ink);
}
@font-face {
  font-family: "Inter Tight";
  src:
    url(fonts/inter-tight.woff2) format("woff2-variations"),
    url(fonts/inter-tight.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --font: "Inter Tight", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --bg: #fbfbfa;
  --bg-alt: #f3f1ed;
  --card: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #5b6472;
  --line: #d8dbe0;
  --dark: #0f1b2d;
  --dark-card: #1a2940;
  --dark-ink: #f4f5f7;
  --dark-ink-2: #a9b3c2;
  --accent: #0f1b2d;
  --accent-dark: #c8d3e6;
  --radius: 8px;
  --tag-ac-bg: #e5f1fb;
  --tag-ac-fg: #1c5f99;
  --tag-th-bg: #efe8fa;
  --tag-th-fg: #5b2fa8;
  --tag-en-bg: #e4f4ea;
  --tag-en-fg: #1d7243;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}
.h-sec,
.h-sub {
  font-weight: 600;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: #fff;
}
.nav .cta {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 3px;
  background: 0 0;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.nav .cta:hover {
  background: var(--ink);
  color: #fff;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  transition: background 0.2s;
  border-radius: 3px;
  font-size: 15px;
  padding: 12px 22px;
  font-weight: 500;
}
.btn:hover {
  background: #1d2f4d;
}
.btn.ghost {
  background: 0 0;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
}
.personal .btn:not(.ghost) {
  background: #fff;
  color: var(--ink);
}
.personal .btn:not(.ghost):hover {
  background: #e9edf3;
}
.link,
.cascade .open,
.back,
.output .o-act.link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cascade a,
.skill,
.school,
.output,
.p-nav a {
  border-radius: 8px;
}
.cascade a:hover {
  transform: none;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.filters button {
  font: inherit;
  font-size: 14px;
  padding: 7px 16px;
  border: 0;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.filters button[aria-pressed="true"] {
  color: #fff;
  background: var(--ink);
}
.insight {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-size: 17px;
  line-height: 1.55;
  max-width: 68ch;
  border-left-color: var(--ink);
}
.tag {
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--tag-ac-bg);
  color: var(--tag-ac-fg);
}
.tag.ac {
  background: var(--tag-ac-bg);
  color: var(--tag-ac-fg);
}
.tag.th {
  background: var(--tag-th-bg);
  color: var(--tag-th-fg);
}
.tag.ent {
  background: var(--tag-en-bg);
  color: var(--tag-en-fg);
}
.personal {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: #111 url(hero-luiss.jpg) center 40% / cover no-repeat;
  display: flex;
  align-items: flex-end;
  min-height: 0;
  padding-top: 88px;
  padding-bottom: 80px;
  background-position: center 30%;
}
@media (max-width: 860px) {
  .personal {
    min-height: 0;
    padding-top: 72px;
    padding-bottom: 56px;
  }
}
.cascade .thumb {
  width: 232px;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  border: 1px solid var(--line);
  background: #fff;
  display: block;
}
.cascade .meta {
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.cascade > li > a > div {
  min-width: 0;
}
@media (max-width: 760px) {
  .cascade a {
    gap: 6px;
    grid-template-columns: 1fr;
    padding: 16px 16px 22px;
  }
  .cascade .thumb {
    width: 100%;
  }
}
.output.bg .o-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.output.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 27, 45, 0.95) 0,
    rgba(15, 27, 45, 0.86) 55%,
    rgba(15, 27, 45, 0.6) 100%
  );
}
.output.bg:hover .o-bg {
  transform: scale(1.03);
}
.output.bg p {
  color: #fff;
}
.output.bg .o-act,
.output.bg .o-act.link {
  color: #fff;
}
.output.bg .o-act.ph {
  color: rgba(255, 255, 255, 0.6);
}
.output.bg > div {
  min-width: 0;
}
@media (prefers-reduced-motion: reduce) {
  .output.bg .o-bg {
    transition: none;
  }
}
a.output {
  text-decoration: none;
  color: #fff;
  cursor: pointer;
}
.output.bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0f1b2d;
  color: #fff;
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 26px 26px 28px;
}
.output .o-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.output .o-type {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc2ec;
}
.output.bg .o-type {
  color: #9fc2ec;
}
.output .o-kind {
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 6px;
}
.output .o-desc {
  font-size: 17px;
  line-height: 1.45;
  color: #fff;
  font-weight: 500;
}
.output .o-act {
  white-space: nowrap;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 3px;
  background: #fff;
  color: #0f1b2d;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.output.bg .o-act {
  color: #0f1b2d;
}
.output .o-act.ext::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M4 1h7v7M11 1 1 11' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.output .o-act.dl::after {
  content: "";
  width: 12px;
  height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v8M2.5 5.5 6 9l3.5-3.5M1 11h10' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v8M2.5 5.5 6 9l3.5-3.5M1 11h10' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center/contain no-repeat;
}
.output .o-act.ph {
  background: 0 0;
  color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  font-weight: 500;
}
a.output:hover .o-act {
  background: #dbe6f5;
}
a.output:hover .o-bg {
  transform: scale(1.04);
}
a.output:focus-visible {
  outline: 2px solid #9fc2ec;
  outline-offset: 3px;
}
.output.is-ph:hover .o-bg {
  transform: none;
}
@media (max-width: 640px) {
  .output.bg {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}
.skill-ic {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  margin-bottom: 18px;
}
.output .o-act.go::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  margin-top: -2px;
}
.gallery {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 360px;
  grid-template-rows: 56px minmax(0, 1fr);
  grid-template-areas: "bar bar bar" "side stage info";
  height: calc(100dvh - 52px);
  background: #1a2940;
  color: #fff;
}
.g-bar {
  grid-area: bar;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 22px;
  background: #0b1424;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  min-width: 0;
}
.g-back {
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g-back::before {
  content: "‹ ";
}
.g-back:hover {
  color: #fff;
}
.g-name {
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}
.g-count {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 12px;
  border-radius: 3px;
  white-space: nowrap;
}
.g-nav {
  display: flex;
  gap: 6px;
}
.g-arrow {
  font: inherit;
  font-size: 20px;
  line-height: 1;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.g-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
}
.g-side {
  grid-area: side;
  list-style: none;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #0f1b2d;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.g-thumb {
  font: inherit;
  width: 100%;
  border: 0;
  padding: 0;
  background: 0 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}
.g-thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.2s;
}
.g-thumb-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.g-thumb-n {
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.g-thumb:hover .g-thumb-img {
  box-shadow: 0 0 0 2px rgba(159, 194, 236, 0.5);
}
.g-thumb[aria-current="true"] .g-thumb-img {
  box-shadow: 0 0 0 3px #9fc2ec;
}
.g-thumb[aria-current="true"] .g-thumb-n {
  color: #fff;
  font-weight: 600;
}
.g-stage {
  grid-area: stage;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 36px 28px 36px 40px;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.g-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}
.g-info {
  grid-area: info;
  padding: 36px 28px 36px 0;
  overflow-y: auto;
}
.g-card {
  background: #0f1b2d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 28px 26px;
}
.g-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc2ec;
}
.g-meta #g-tool {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}
.g-card h1 {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
}
.g-card p#g-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}
.g-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.g-btn {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 3px;
  background: #fff;
  color: #0f1b2d;
}
.g-btn:hover {
  background: #dbe6f5;
}
.g-btn.ghost {
  background: 0 0;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.g-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.gallery :focus-visible {
  outline: 2px solid #9fc2ec;
  outline-offset: 3px;
}
@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: 170px minmax(0, 1fr) 300px;
  }
}
@media (max-width: 860px) {
  .gallery {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas: "bar" "stage" "side" "info";
  }
  .g-bar {
    padding: 12px 16px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .g-name {
    display: none;
  }
  .g-stage {
    padding: 20px 16px;
    height: 58vh;
    justify-content: center;
  }
  .g-side {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 14px 16px;
    border-right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }
  .g-side li {
    flex: none;
    width: 118px;
  }
  .g-info {
    padding: 16px 16px 40px;
  }
}
.g-stage.center {
  justify-content: center;
}
.school.photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 34px 34px 32px;
}
.school.photo .school-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.school.photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(15, 27, 45, 0.94) 0,
    rgba(15, 27, 45, 0.84) 55%,
    rgba(15, 27, 45, 0.62) 100%
  );
}
.school-head .place {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  grid-column: 3;
  grid-row: 1;
}
.school-head .when {
  font-size: 15px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  text-align: right;
  white-space: nowrap;
  grid-column: 3;
  grid-row: 2;
}
.school.photo ul {
  color: rgba(255, 255, 255, 0.78);
}
.school.photo ul b {
  color: #fff;
}
@media (max-width: 640px) {
  .school-head .place,
  .school-head .when {
    text-align: left;
  }
}
.school-head {
  display: grid;
  row-gap: 6px;
  align-items: baseline;
  margin-bottom: 16px;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  column-gap: 20px;
}
.school-logo {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  grid-row: 1 / span 2;
  grid-column: 1;
  align-self: center;
}
.school-head h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  grid-column: 2;
  grid-row: 1;
}
.school-head .deg {
  margin: 0;
  font-size: 17px;
  color: #fff;
  grid-column: 2;
  grid-row: 2;
}
@media (max-width: 640px) {
  .school-head {
    grid-template-columns: 48px minmax(0, 1fr);
    column-gap: 14px;
  }
  .school-logo {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    grid-row: 1;
    align-self: center;
  }
  .school-head h3 {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }
  .school-head .place {
    order: 2;
    grid-column: 1/-1;
    grid-row: 2;
    margin-top: 6px;
  }
  .school-head .deg {
    order: 3;
    grid-column: 1/-1;
    grid-row: 3;
  }
  .school-head .when {
    order: 4;
    grid-column: 1/-1;
    grid-row: 4;
  }
}
.p-banner {
  width: 100%;
  height: clamp(160px, 17vw, 260px);
  overflow: hidden;
  background: #0f1b2d;
  border-bottom: 1px solid var(--line);
}
.p-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.p-banner + .p-head {
  padding-top: 36px;
}
@media (max-width: 640px) {
  .p-banner {
    height: auto;
    aspect-ratio: 12/5;
  }
}
.p-banner.fit img {
  object-fit: contain;
}
.p-banner.fit.wide img {
  object-fit: cover;
}
@media (max-width: 640px) {
  .p-banner.fit.wide img {
    object-fit: contain;
  }
}
.hl {
  position: relative;
}
.hl-track {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 480px;
  background: #0b1424;
}
.hl-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 0 96px;
  color: #fff;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}
.hl-slide.on {
  opacity: 1;
  visibility: visible;
}
.hl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hl-slide:hover .hl-bg {
  transform: scale(1.03);
}
.hl-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 20, 36, 0.96) 0,
    rgba(11, 20, 36, 0.9) 48%,
    rgba(11, 20, 36, 0.72) 100%
  );
}
.hl-slide.th::after {
  background: linear-gradient(
    90deg,
    rgba(24, 16, 44, 0.96) 0,
    rgba(24, 16, 44, 0.9) 48%,
    rgba(24, 16, 44, 0.72) 100%
  );
}
.hl-slide > :not(.hl-bg) {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.hl-uni {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.hl-uni img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
  flex: none;
}
.hl-uni span {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
.hl-kind {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc2ec;
  margin-bottom: 10px;
}
.hl-slide.th .hl-kind {
  color: #c9b4f2;
}
.hl-when {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
}
.hl-slide h3 {
  font-size: 34px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 24px;
  color: #fff;
  text-wrap: balance;
}
.hl-fig {
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.hl-figl {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 10px;
}
.hl-right {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 40px;
}
.hl-right ul {
  list-style: none;
  display: grid;
  gap: 16px;
}
.hl-right li {
  font-size: 17px;
  line-height: 1.5;
  color: #fff;
  padding-left: 20px;
  position: relative;
}
.hl-right li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9fc2ec;
}
.hl-slide.th .hl-right li::before {
  background: #c9b4f2;
}
.hl-go {
  display: inline-flex;
  margin-top: 30px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 3px;
  background: #fff;
  color: #0f1b2d;
}
.hl-slide:hover .hl-go {
  background: #dbe6f5;
}
.hl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font: inherit;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.hl-arrow:hover {
  background: #fff;
  color: #0f1b2d;
}
.hl-prev {
  left: 24px;
}
.hl-next {
  right: 24px;
}
.hl-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.hl-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hl-dots button {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  border: 0;
  padding: 0;
  background: #c3c9d2;
  cursor: pointer;
  transition: width 0.3s;
}
.hl-dots button[aria-current="true"] {
  background: #0f1b2d;
  width: 24px;
}
.hl :focus-visible {
  outline: 2px solid #9fc2ec;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .hl-slide,
  .hl-bg,
  .hl-dots button {
    transition: none;
  }
}
@media (max-width: 900px) {
  .hl-track {
    height: auto;
    display: grid;
  }
  .hl-prev {
    left: auto;
    right: 76px;
  }
  .hl-next {
    right: 24px;
  }
}
.hx {
  position: relative;
  isolation: isolate;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 56px;
  align-items: center;
  padding: 64px 72px;
  min-height: 500px;
}
.hx-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url(hero-luiss.jpg) center 35% / cover no-repeat;
}
.hx::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(11, 20, 36, 0.95) 0,
    rgba(11, 20, 36, 0.88) 55%,
    rgba(11, 20, 36, 0.7) 100%
  );
}
.hx > * {
  min-width: 0;
}
.hx-kind {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc2ec;
  margin-bottom: 10px;
}
.hx h1 {
  font-size: 64px;
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: #fff;
}
.hx-left p {
  font-size: 18px;
  line-height: 1.55;
  max-width: 56ch;
  color: #fff;
}
.hx-left p + p {
  margin-top: 12px;
}
.hx-btns {
  display: flex;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hx-btn {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 3px;
  background: #fff;
  color: #0f1b2d;
}
.hx-btn:hover {
  background: #dbe6f5;
}
.hx-btn.ghost {
  background: 0 0;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}
.hx-btn.ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}
.hx-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  padding-left: 36px;
}
.hx-contact div {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.hx-contact div:last-child {
  border-bottom: 0;
}
.hx-contact dt {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9fc2ec;
  margin-bottom: 4px;
}
.hx-contact dd {
  font-size: 16px;
  color: #fff;
  overflow-wrap: anywhere;
}
.hx-contact a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.35);
  text-underline-offset: 3px;
}
.hx-contact a:hover {
  text-decoration-color: #fff;
}
.hx :focus-visible {
  outline: 2px solid #9fc2ec;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .hx {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 28px;
    min-height: 0;
  }
  .hx h1 {
    font-size: 44px;
  }
  .hx-left p {
    font-size: 16px;
  }
  .hx-contact {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 8px;
  }
}
.personal-x {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #0b1424;
  padding-top: 0;
  padding-bottom: 0;
}
.personal-x::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(11, 20, 36, 0.95) 0,
    rgba(11, 20, 36, 0.88) 55%,
    rgba(11, 20, 36, 0.7) 100%
  );
}
.personal-x .hx::after {
  content: none;
}
.personal-x > .hx-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
@media (max-width: 900px) {
  .personal-x {
    padding-top: 0;
  }
}
.personal-x .hx {
  position: static;
  border-radius: 0;
  overflow: visible;
  isolation: auto;
  min-height: 700px;
  padding: 88px 0 80px;
}
@media (max-width: 900px) {
  .personal-x .hx {
    min-height: 0;
    padding: 72px 0 56px;
  }
}
.p-body strong {
  font-weight: 600;
  color: var(--ink);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: 0 0;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s;
}
.nav-toggle span:first-child {
  top: 15px;
}
.nav-toggle span:last-child {
  top: 23px;
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.nav ul a[aria-current="page"] {
  color: var(--ink);
}
@media (max-width: 720px) {
  .nav .wrap {
    position: relative;
  }
  .nav-toggle {
    display: block;
  }
  .nav ul {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(15, 27, 45, 0.08);
    padding: 6px 22px 12px;
  }
  .nav ul.open {
    display: flex;
  }
  .nav ul li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
  }
  .nav ul li:last-child a {
    border-bottom: 0;
  }
}
@media (max-width: 760px) {
  .cascade .ctx-sep {
    display: none;
  }
  .cascade .ctx-b {
    display: block;
  }
}
@media (max-width: 900px) {
  .hl-uni {
    margin-bottom: 14px;
  }
  .hl-uni img {
    width: 30px;
    height: 30px;
  }
  .hl-slide h3 {
    font-size: 24px;
    margin: 6px 0 14px;
  }
  .hl-fig {
    font-size: 46px;
  }
  .hl-figl {
    font-size: 14px;
    margin-top: 6px;
  }
  .hl-right {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 16px;
  }
  .hl-right ul {
    gap: 10px;
  }
  .hl-right li {
    font-size: 14px;
    line-height: 1.45;
    padding-left: 16px;
  }
  .hl-right li::before {
    width: 6px;
    height: 6px;
  }
  .hl-go {
    position: absolute;
    left: 24px;
    bottom: 22px;
    margin: 0;
    height: 42px;
    align-items: center;
    padding: 0 16px;
  }
  .hl-arrow {
    top: auto;
    transform: none;
    width: 42px;
    height: 42px;
    bottom: 22px;
  }
  .hl-slide {
    position: relative;
    inset: auto;
    grid-area: 1/1;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 18px;
    padding: 30px 24px 84px;
    isolation: isolate;
  }
  .hl-slide::after {
    z-index: -1;
  }
  .hl-bg {
    z-index: -2;
  }
  .hl-slide > .hl-right {
    position: static;
  }
}
.tags-inline {
  margin: 0;
}

/* Phone-sized portrait crops of wide background photos (sharp at 3x) */
@media (max-width: 600px) {
  .hx-bg {
    background-image: url(hero-luiss-mobile.jpg);
  }
  .hl-slide .hl-bg.hl-bg-douglas {
    background-image: url(highlights/douglas-ipo-mobile.jpg) !important;
  }
}

/* Hero: small icons before labels */
.hx-kind {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hx-kind-logo {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  flex: none;
}
.hx-contact dt {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hx-ic {
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  width: 15px;
  text-align: center;
  flex: none;
}
.hx-ic-li {
  width: 14px;
  height: 14px;
  margin: 0 0.5px;
}

/* Hero: single statement sentence, sized to keep columns aligned */
.hx h1 {
  margin-bottom: 30px;
}
.hx-left p {
  font-size: 26px;
  line-height: 1.38;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 30ch;
}
.hx-btns {
  margin-top: 40px;
}
@media (max-width: 600px) {
  .hx-left p {
    font-size: 21px;
    line-height: 1.42;
  }
}
