.hero {
  height: 444px;
  min-height: 444px;
  display: flex;
  align-items: center;
  padding: 36px;
  overflow: hidden;
  background: #03060c;
}
.hero__scene {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/hero/hero-cosmic-orb.png');
  background-size: contain;
  background-position: right center;
  background-repeat: no-repeat;
  filter: saturate(1.04) contrast(1.03) brightness(.93);
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3,6,12,.98) 0%, rgba(3,6,12,.93) 18%, rgba(3,6,12,.78) 31%, rgba(3,6,12,.22) 50%, rgba(3,6,12,.05) 72%, rgba(3,6,12,.16) 100%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.02) 68%, rgba(0,0,0,.22));
}
.hero__copy {
  position: relative;
  z-index: 5;
  width: min(48%, 480px);
}
.hero__star-trail { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
@media (prefers-reduced-motion: reduce), (any-hover: none) {
  .hero__star-trail { display: none; }
}
.hero__eyebrow { font-size: 11px; color: #68758a; letter-spacing: .2em; }
.hero__title {
  margin: 14px 0 0;
  font-size: clamp(56px, 5.2vw, 72px);
  line-height: .96;
  letter-spacing: -.035em;
  font-weight: 760;
  text-transform: uppercase;
}
.hero__title span { display: block; }
.hero__intro {
  max-width: 380px;
  margin: 18px 0 0;
  color: #e0e5ee;
  font-size: 17px;
  line-height: 1.46;
  font-family: Inter, system-ui, sans-serif;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  color: #f4f7fb;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hero__cta-icon {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(247,156,53,.72);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--orange);
  transition: transform .24s var(--ease), background .24s var(--ease), color .24s var(--ease);
}
.hero__cta:hover .hero__cta-icon { transform: translateX(4px); background: var(--orange); color: #05070c; }
.hero__keywords {
  position: absolute;
  z-index: 5;
  top: 32px;
  right: 48px;
  display: flex;
  gap: 13px;
  align-items: center;
  color: #6c7890;
  font-size: 9px;
}
.hero__keywords i { font-style: normal; opacity: .5; }
.hero__right-words {
  position: absolute;
  z-index: 5;
  right: 31px;
  top: 50%;
  width: 90px;
  display: grid;
  gap: 4px;
  text-align: right;
  color: #8993a5;
  font-size: 9px;
  line-height: 1.14;
}
.hero__glow-orbit {
  position: absolute;
  z-index: 3;
  top: 19%;
  right: 13%;
  width: 34%;
  height: 62%;
  border-radius: 50%;
  border: 1px solid rgba(165,139,255,.16);
  filter: drop-shadow(0 0 18px rgba(151,121,255,.18));
  transform: rotate(-8deg);
  opacity: .45;
}
.hero__spark {
  position: absolute;
  z-index: 4;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffbb64;
  box-shadow: 0 0 9px currentColor;
  opacity: .8;
}
.method {
  padding: 32px 0 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 45%, rgba(130,86,255,.055), transparent 30%),
    radial-gradient(circle at 28% 50%, rgba(255,134,67,.035), transparent 32%),
    linear-gradient(180deg, #05080f, #060a12);
}
.method__header {
  position: relative;
  z-index: 8;
}
.section__eyebrow { color: #68758a; font-size: 10px; }
.method__title {
  margin-top: 8px;
  font-size: clamp(22px, 5vw, 42px);
  line-height: 1.08;
}
.method__subtitle {
  margin-top: 8px;
  color: #aab4c3;
  font-size: 14px;
  line-height: 1.4;
  font-family: Inter, system-ui, sans-serif;
}
.method__overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 16px;
}
.method__intro {
  max-width: 720px;
  color: #9ba5b4;
  font-size: 13px;
  line-height: 1.6;
  font-family: Inter, system-ui, sans-serif;
}
.method__process { position: relative; margin-top: 32px; }
.method__line {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  top: 0;
  height: 160px;
  pointer-events: none;
}
.method__line svg { width: 100%; height: 100%; overflow: visible; }
.method__line path.base {
  fill: none;
  stroke: rgba(165,188,220,.14);
  stroke-width: 7;
  stroke-linecap: round;
}
.method__line path.main {
  fill: none;
  stroke: url(#methodGradient);
  stroke-width: 1.8;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(190,150,255,.38));
}
.method__runner {
  fill: #fff;
  filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 11px #b98cff);
}
.method__steps {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.method__step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
  transform-style: preserve-3d;
}
.method__asset-wrap {
  position: relative;
  left: 50%;
  width: 144px;
  height: 144px;
  flex: 0 0 144px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  pointer-events: none;
  will-change: transform;
}
.method__asset {
  max-width: 140px;
  max-height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(0,0,0,.4));
}
.method__caption { width: 100%; max-width: 190px; margin-inline: auto; position: relative; z-index: 6; }
.method__number { color: var(--orange); font-size: 15px; line-height: 1; margin-bottom: 8px; }
.method__name { font-size: 14px; line-height: 1; text-transform: uppercase; margin-bottom: 5px; font-weight: 700; }
.method__desc {
  margin: 0;
  color: #a0aab9;
  font-size: 12px;
  line-height: 1.34;
  font-family: Inter, system-ui, sans-serif;
}
.method__right-words {
  flex-shrink: 0;
  z-index: 6;
  text-align: right;
  color: #5e6c82;
  font-size: 9px;
  line-height: 1.55;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.method__next {
  position: relative;
  margin: 20px 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(160,183,217,.35);
  border-radius: 50%;
  color: #cbd3df;
  display: grid;
  place-items: center;
  z-index: 9;
}
.projects {
  min-height: 353px;
  background:
    radial-gradient(circle at 14% 78%, rgba(65,118,189,.05), transparent 28%),
    radial-gradient(circle at 86% 64%, rgba(110,72,173,.04), transparent 25%),
    #05080f;
  overflow: hidden;
}
.projects__top {
  display: grid;
  grid-template-columns: 390px 1fr;
  align-items: end;
  gap: 32px;
  padding: 18px 0 10px;
}
.projects__title { font-size: 37px; }
.projects__filters-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  justify-content: flex-end;
}
.projects__filters {
  flex: 1;
  max-width: 650px;
  height: 43px;
  padding: 5px;
  border: 1px solid rgba(134,157,191,.18);
  border-radius: 24px;
  background: rgba(5,9,16,.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow-x: auto;
  scrollbar-width: none;
}
.projects__filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  min-width: 66px;
  height: 33px;
  padding: 0 14px;
  border-radius: 20px;
  color: #8c97a8;
  font-size: 9px;
  transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.filter.is-active {
  color: #fff;
  border: 1px solid rgba(247,156,53,.7);
  background: rgba(247,156,53,.055);
  box-shadow: 0 0 24px rgba(247,156,53,.09) inset;
}
.projects__arrow {
  flex: 0 0 auto;
  color: #bac4d2;
  font-size: 28px;
  line-height: 1;
  opacity: .8;
}
.projects__viewport {
  position: relative;
  padding: 0 0 14px;
  overflow: visible;
}
.projects__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 0 1px 12px;
  cursor: grab;
  user-select: none;
}
.projects__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.projects__track::-webkit-scrollbar { display: none; }
.project-card {
  flex: 0 0 clamp(260px, 30%, 360px);
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(128,151,188,.18);
  border-radius: 3px;
  background: #08101a;
  scroll-snap-align: start;
  transform-style: preserve-3d;
  transition: transform .28s var(--ease), border-color .28s ease, box-shadow .28s ease;
  text-align: left;
}
.project-card:hover { border-color: rgba(121,183,255,.32); box-shadow: 0 18px 34px rgba(0,0,0,.28); }
.project-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a111b;
}
.project-card__image img { width: 100%; height: 100%; object-fit: contain; }
.project-card__body {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 1;
  min-height: 103px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(6,10,17,.93), rgba(6,10,17,1));
}
.project-card__title { margin: 0; font-size: 16px; line-height: 1.2; text-transform: uppercase; font-weight: 700; }
.project-card__short { margin: 6px 0 8px; color: #aab3c1; font-size: 12px; line-height: 1.3; font-family: Inter, system-ui, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.project-card__tags { display: flex; gap: 6px; overflow: hidden; }
.project__tag {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 12px;
  color: #9aa5b5;
  background: #111824;
  font-size: 8px;
  letter-spacing: 0;
  text-transform: none;
  font-family: Inter, system-ui, sans-serif;
}
.projects__edge-arrow {
  position: absolute;
  top: 72px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(141,163,197,.28);
  border-radius: 50%;
  background: rgba(7,11,18,.78);
  display: grid;
  place-items: center;
  z-index: 8;
  color: #c1c9d4;
  backdrop-filter: blur(8px);
}
.projects__edge-arrow--left { left: -46px; }
.projects__edge-arrow--right { right: -46px; }
.projects__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0 14px;
  color: #606c7f;
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.projects__progress { height: 1px; background: rgba(255,255,255,.07); overflow: hidden; flex: 1; max-width: 420px; margin: 0 18px; }
.projects__progress span { display: block; width: 30%; height: 100%; background: linear-gradient(90deg, var(--orange), var(--violet), var(--blue)); transform-origin: left; }
.details-section {
  padding: 78px 0;
  background: linear-gradient(180deg, #060a12, #05080f);
}
.details-section__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.details-section__title { font-size: clamp(42px, 6vw, 72px); }
.details-section__copy { color: #aeb7c5; font-family: Inter, system-ui, sans-serif; font-size: 16px; line-height: 1.75; }
.details-section__copy p:first-child { margin-top: 0; }
.metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 22px; }
.metric { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: rgba(10,16,26,.72); min-height: 118px; }
.metric__value { font-size: 31px; font-weight: 700; letter-spacing: -.02em; }
.metric__label { color: #738095; font-size: 9px; line-height: 1.5; margin-top: 8px; }
.method-details { margin-top: 28px; display: grid; gap: 12px; }
.method-detail { border: 1px solid var(--line); border-radius: 16px; background: rgba(9,15,25,.68); padding: 18px; }
.method-detail h3 { margin: 0 0 8px; font-size: 19px; }
.method-detail p { margin: 0; color: #aeb7c4; font-family: Inter, system-ui, sans-serif; line-height: 1.65; }
.method-detail__items { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.method-detail__item { border: 1px solid rgba(255,255,255,.06); border-radius: 12px; padding: 12px; background: rgba(255,255,255,.025); }
.method-detail__item strong { display: block; font-size: 12px; text-transform: uppercase; color: #e6ebf3; }
.method-detail__item span { display: block; margin-top: 5px; color: #8894a6; font-size: 12px; line-height: 1.4; font-family: Inter,system-ui,sans-serif; }
.timeline { display: grid; gap: 12px; margin-top: 28px; }
.timeline__item { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; border: 1px solid var(--line); border-radius: 16px; background: rgba(9,15,25,.7); padding: 24px 24px 24px 50px; }
.timeline__item::before { content: ""; position: absolute; left: 22px; top: 26px; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg,var(--orange),var(--violet)); box-shadow: 0 0 16px rgba(247,156,53,.4); }
.timeline__item::after { content: ""; position: absolute; left: 25px; top: 39px; bottom: -13px; width: 1px; background: rgba(144,166,198,.16); }
.timeline__item:last-child::after { display: none; }
.timeline__meta { color: #6f7c90; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; line-height: 1.7; }
.timeline__item h3 { margin: 7px 0 6px; font-size: 21px; }
.timeline__content { grid-column: 2; grid-row: 1; min-width: 0; }
.timeline__heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin: 8px 0 12px; }
.timeline__heading h3 { margin: 0; }
.timeline__category { color: var(--orange); font-family: Inter, system-ui, sans-serif; font-size: 12px; line-height: 1.6; }
.timeline__skills { grid-column: 1; grid-row: 1; min-width: 0; padding-right: 20px; border-right: 1px solid rgba(144,166,198,.13); }
.timeline__skill-group + .timeline__skill-group { margin-top: 22px; }
.timeline__skill-group h4 { margin: 0 0 12px; color: #c6ccda; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.timeline__skill-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; color: #97a4b8; font-family: Inter, system-ui, sans-serif; font-size: 11px; line-height: 1.5; }
.timeline__skill-list--technology { display: flex; flex-wrap: wrap; gap: 6px; }
.timeline__skill-list--technology li { padding: 4px 8px; border: 1px solid rgba(181,137,255,.18); border-radius: 7px; background: rgba(181,137,255,.035); color: #c1b3d6; font-size: 10px; }
.timeline__item p { margin: 0; color: #aab3c1; font-family: Inter,system-ui,sans-serif; line-height: 1.58; }
.timeline__location { margin: 0 0 12px; color: #8390a3; font-size: 12px; }
.timeline__highlights { display: grid; gap: 8px; margin: 16px 0; padding-left: 18px; color: #aab3c1; font-family: Inter, system-ui, sans-serif; font-size: 14px; line-height: 1.7; }
.timeline__highlights li::marker { color: var(--orange); }
.timeline__item .timeline__takeaway { border-top: 1px solid rgba(255,255,255,.06); padding-top: 14px; margin-top: 16px; color: #8d9bae; font-size: 13px; line-height: 1.7; }
.education-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 18px; margin-top: 26px; }
.edu-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: rgba(9,15,25,.7); }
.edu-card h3 { margin: 0 0 12px; font-size: 18px; }
.edu-list { display: grid; gap: 8px; }
.edu-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.055); font-family: Inter,system-ui,sans-serif; font-size: 13px; }
.edu-row:first-child { border-top: 0; }
.edu-row strong { color: #e5eaf2; }
.edu-row span { color: #909bad; }
.cert-groups { display: grid; gap: 22px; }
.cert-group__title { margin: 0 0 10px; color: #e4b784; font-size: 12px; font-weight: 600; line-height: 1.5; }
.cert-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.cert { padding: 10px 12px; border: 1px solid rgba(255,255,255,.055); border-radius: 11px; background: rgba(255,255,255,.02); color: #9da7b7; font-family: Inter,system-ui,sans-serif; font-size: 12px; line-height: 1.45; }
.cert__name { display: block; color: #d2dae6; font-weight: 500; }
.cert__type { display: block; margin-top: 5px; color: #8793a7; font-size: 10px; }
.language-row { display: flex; gap: 9px; margin-top: 14px; flex-wrap: wrap; }
.language { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: #b6bfcc; font-size: 11px; }
.technology-strip { margin-top: 32px; padding: 20px 0 18px; border-top: 1px solid var(--line); }
.technology-strip h3 { margin: 0 0 14px; color: #aab5c7; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.technology-strip__logos { display: flex; align-items: center; justify-content: space-between; gap: 9px; overflow-x: auto; margin: 0; padding: 4px 0 10px; list-style: none; scrollbar-width: thin; scrollbar-color: #526078 transparent; }
.technology-strip__logos li { flex: 0 0 30px; display: grid; place-items: center; }
.technology-strip__logos img { width: 30px; height: 30px; object-fit: contain; transition: transform .2s ease; }
.technology-strip__logos img[alt="AWS"], .technology-strip__logos img[alt="Bash"], .technology-strip__logos img[alt="Bootstrap"], .technology-strip__logos img[alt="Photoshop"] { padding: 3px; border-radius: 4px; background: #dce1eb; }
.technology-strip__logos li:hover img { transform: translateY(-2px); }
.technology-strip__logos:focus-visible { outline: 1px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
.technology-strip + .certificate-carousel { margin-top: 0; }
.certificate-carousel { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--line); }
.certificate-carousel__header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-bottom: 18px; }
.certificate-carousel__header h3 { margin: 0; font-size: 24px; }
.certificate-carousel__header p { margin: 7px 0 0; color: #8f9bad; font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.6; }
.certificate-carousel__controls { display: flex; align-items: center; gap: 10px; }
.certificate-carousel__count { min-width: 64px; margin-right: 4px; font-size: 11px; color: #9ba7bb; font-variant-numeric: tabular-nums; }
.certificate-carousel__controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; color: #e2d8ee; transition: border-color .2s ease, background .2s ease; }
.certificate-carousel__controls button:hover:not(:disabled) { border-color: var(--orange); background: rgba(247,156,53,.06); }
.certificate-carousel__controls button:disabled { opacity: .3; cursor: default; }
.certificate-carousel__track { display: flex; align-items: stretch; gap: 16px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #526078 transparent; cursor: grab; }
.certificate-carousel__track.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.certificate-carousel__track.is-dragging a { cursor: grabbing; }
.certificate-slide { flex: 0 0 221px; height: 194px; min-width: 0; display: flex; flex-direction: column; border: 1px solid rgba(143,161,192,.2); border-radius: 14px; overflow: hidden; background: #0a101a; scroll-snap-align: start; transition: border-color .2s ease; }
.certificate-slide:hover { border-color: rgba(247,156,53,.6); }
.certificate-slide__preview { position: relative; height: 106px; flex-shrink: 0; background: #eae9e6; }
.certificate-slide__preview img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.certificate-slide__caption { display: flex; flex: 1; min-height: 0; flex-direction: column; align-items: flex-start; padding: 8px 10px; }
.certificate-slide__type { color: #a296b5; font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.certificate-slide__caption h4 { margin: 4px 0; color: #e7ebf3; font-size: 13px; line-height: 1.2; }
.certificate-slide__open { display: flex; justify-content: space-between; width: 100%; margin-top: auto; color: #d8ad7d; font-size: 11px; }
.certificate-slide__open span { font-size: 15px; }
.certificate-carousel__controls button:focus-visible, .certificate-carousel__track:focus-visible, .certificate-slide:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.contact-card { border: 1px solid rgba(138,161,194,.18); border-radius: 18px; background: radial-gradient(circle at 82% 20%, rgba(181,137,255,.10), transparent 25%), radial-gradient(circle at 12% 85%, rgba(247,156,53,.09), transparent 22%), rgba(7,12,20,.9); padding: 28px; display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: center; }
.contact-card h2 { margin: 7px 0 9px; font-size: clamp(40px,5vw,64px); line-height: .94; text-transform: uppercase; }
.contact-card p { margin: 0; max-width: 720px; color: #aab4c3; font-family: Inter,system-ui,sans-serif; line-height: 1.65; }
.contact-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; min-width: 260px; }
.contact-action { display: flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; color: #c0c8d4; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.contact-action:hover { border-color: rgba(247,156,53,.5); color: #fff; background: rgba(247,156,53,.045); }
.footer { padding: 16px 0 28px; color: #5f6a7c; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer__meta { display: flex; justify-content: space-between; gap: 12px; }
.footer__affiliation { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 18px; padding-top: 8px; border-top: 1px solid rgba(130,157,199,.12); color: var(--muted); font-size: 14px; line-height: 1.5; letter-spacing: .01em; text-transform: none; }
.footer__affiliation img { width: 64px; height: 64px; flex-shrink: 0; object-fit: contain; }
.footer__affiliation-name { color: #c4cbd8; transition: color .2s ease; }
.footer__affiliation:hover .footer__affiliation-name { color: var(--orange-2); }
.footer__affiliation:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; border-radius: 4px; }
.modal {
  position: fixed;
  z-index: 130;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(1,3,7,.76);
  backdrop-filter: blur(12px);
}
.modal.is-open { display: grid; }
.modal__dialog { width: min(1040px,100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 20px; border: 1px solid rgba(143,164,197,.2); background: linear-gradient(180deg,#0a101b,#060a11); box-shadow: 0 45px 150px rgba(0,0,0,.6); }
.modal__header { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding: 22px 24px 10px; }
.modal__eyebrow { color: #6f7c8f; font-size: 9px; }
.modal__title { margin: 7px 0 0; font-size: clamp(30px,4vw,46px); line-height: .96; text-transform: uppercase; }
.modal__close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; color: #b6bfcb; }
.modal__body { padding: 8px 24px 24px; }
.modal__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.modal__hero { height: 290px; overflow: hidden; border-radius: 14px; border: 1px solid rgba(255,255,255,.06); }
.modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.modal__gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 8px; }
.modal__thumb { overflow: hidden; border-radius: 9px; border: 1px solid rgba(255,255,255,.06); height: 75px; }
.modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal__grid--pdf { grid-template-columns: minmax(0, 1fr); }
.modal__grid > * { min-width: 0; }
.modal__pdf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.modal__pdf-title, .modal__pdf-label { color: #b6bfcb; font-size: 13px; }
.modal__pdf-label { display: grid; gap: 6px; max-width: 100%; }
.modal__pdf-label select { max-width: 100%; min-height: 44px; padding: 8px 12px; color: var(--text); background: #0a101b; border: 1px solid var(--line); border-radius: 8px; font: inherit; }
.modal__page-controls { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #b6bfcb; }
.modal__page-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 20px; }
.modal__page-controls button:disabled { opacity: .3; cursor: default; }
.modal__hero--pdf { display: block; height: auto; background: #03060c; }
.modal__hero--pdf img { height: auto; max-height: 65vh; object-fit: contain; }
.modal__gallery--pdf { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; margin-top: 12px; scrollbar-width: thin; scrollbar-color: #68758a transparent; }
.modal__gallery--pdf .modal__thumb { position: relative; flex: 0 0 112px; height: 90px; background: #03060c; }
.modal__gallery--pdf .modal__thumb img { object-fit: contain; }
.modal__gallery--pdf .modal__thumb span { position: absolute; right: 4px; bottom: 4px; padding: 2px 6px; border-radius: 4px; background: rgba(3,6,12,.9); color: #fff; font-size: 10px; }
.modal__gallery--pdf .modal__thumb[aria-current="page"] { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.modal__page-controls button:focus-visible, .modal__thumb:focus-visible, .modal__pdf-label select:focus-visible, .modal__hero--pdf:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.modal__impact { color: var(--muted); font-size: 12px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; }
.modal__copy { color: #c0c9d6; font-family: Inter,system-ui,sans-serif; font-size: 16px; line-height: 1.67; }
.modal__list { margin: 20px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.modal__list li { border: 1px solid rgba(255,255,255,.08); border-radius: 10px; background: rgba(255,255,255,.02); padding: 13px 16px; color: #d0d7e2; font-family: Inter,system-ui,sans-serif; font-size: 16px; line-height: 1.5; }
.modal__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.modal__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; max-width: 100%; border: 1px solid var(--line-strong); border-radius: 999px; padding: 12px 18px; color: #e7ebf3; font-family: Inter,system-ui,sans-serif; font-size: 16px; line-height: 1.4; text-align: center; transition: border-color .2s ease, background .2s ease; }
.modal__link:hover { border-color: var(--orange); background: rgba(247,156,53,.08); }
.modal__link:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
/* Fine alignment to the approved desktop composition */
.hero__title,
.section__title {
  font-family: Arial, Helvetica, sans-serif;
}
.method__right-words {
  display: grid;
  gap: 2px;
}
.method__caption {
  position: relative;
  padding-left: 27px;
  text-align: left;
}
.method__number {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
}
.projects__viewport { padding-top: 12px; }
.sidebar__spacer { flex: 0 0 16px; }
