@font-face {
  font-family: Gilroy;
  src: url("./assets/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("./assets/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("./assets/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --base: #111a2b;
  --surface: #1d283b;
  --line: #3b4a63;
  --text: #fcf8ee;
  --muted: #c4cad3;
  --accent: #ebc994;
  --accent-light: #f5dcb1;
  --accent-ink: #251c12;
  background: var(--base);
  color: var(--text);
  font: 400 16px/1.5 Gilroy, Arial, sans-serif;
}
* { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
body {
  min-height: 100svh;
  background: radial-gradient(ellipse 660px 510px at 50% 0%, #26374e 0%, transparent 100%), var(--base);
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }
svg { display: block; }
.symbols { position: absolute; width: 0; height: 0; }
.icon { width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; z-index: 2; top: .5rem; left: .5rem; padding: .65rem; background: var(--base); transform: translateY(-150%); }
.skip:focus { transform: none; }

.page { width: min(100% - 36px, 572px); margin-inline: auto; padding-block: 28px 20px; }
.topbar {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--surface);
}
.brand-mark, .social {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent-light);
}
.brand-mark { background: #2c3b54; }
.brand-mark svg { width: 25px; height: 25px; }
.social .icon { width: 19px; height: 19px; }
.social:hover { background: #2c3b54; }
h1 {
  text-align: center;
  font-size: clamp(.91rem, 4.1vw, 1.21rem);
  letter-spacing: -.032em;
  line-height: 1.2;
  font-weight: 700;
}
.intro {
  display: grid;
  grid-template-columns: clamp(92px, 24vw, 138px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 3vw, 22px);
  padding: 18px 4px;
}
.portrait {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.roles { color: var(--muted); font-size: .88rem; line-height: 1.55; }
.intro-title { margin-top: 9px; font-size: clamp(1rem, 3.8vw, 1.19rem); font-weight: 600; letter-spacing: -.025em; }
.intro-title, .event h2 { text-wrap: balance; }
.intro-link { display: inline-grid; place-items: center; min-height: 44px; color: var(--accent-light); font-size: .85rem; font-weight: 700; }
.intro-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.destinations, .projects { display: grid; gap: 14px; }
.destinations { scroll-margin-top: 12px; }
.destination {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  transition: border-color .18s ease;
}
a.destination:hover { border-color: var(--accent); }
.event {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  padding: 24px;
  border-color: #a18c6d;
  background: linear-gradient(138deg, #35445a, #263449 56%, #202b40);
}
.event::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -72px;
  right: -72px;
  width: 235px;
  height: 235px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 13px, #ebc9943b 14px 15px, transparent 16px 23px);
  mask-image: linear-gradient(150deg, black, transparent 87%);
}
.event-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border: 1px solid #a18c6d;
  border-radius: 99px;
  background: #202b40;
  color: var(--accent-light);
  font-size: .78rem;
  font-weight: 600;
}
.event-label .icon { width: 16px; height: 16px; }
.event h2 {
  max-width: 425px;
  margin-top: 12px;
  font-size: clamp(1.4rem, 5.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -.043em;
  line-height: 1.16;
}
.event-date { margin-top: 10px; color: var(--muted); font-size: .87rem; }
.event-date time { color: var(--text); font-weight: 700; }
.action {
  display: flex;
  min-height: 48px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 8px 13px;
  border-radius: 99px;
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
}
.action .icon { width: 20px; height: 20px; }
.event-action { margin-top: 17px; color: var(--accent-ink); background: var(--accent); }
.event:hover .event-action { background: var(--accent-light); }

.project {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 17px 19px;
}
.project-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, #2c3b54, var(--surface));
  color: var(--accent-light);
}
.project-copy h2 { font-size: 1.15rem; line-height: 1.2; font-weight: 700; letter-spacing: -.025em; }
.project-copy p, .course p { margin-top: 4px; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.project-arrow { color: var(--accent); }
.project-arrow .icon { width: 17px; height: 17px; }

.course { display: block; padding: 11px; background: linear-gradient(130deg, #2c3b54, var(--surface) 64%); }
.course-cover {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 15px;
  background: var(--surface);
}
.course-copy { padding: 14px 9px 7px; }
.course-label { display: block; margin-bottom: 4px; color: var(--accent-light); font-size: .75rem; font-weight: 700; }
.course h2 { font-size: clamp(1.25rem, 5vw, 1.55rem); line-height: 1.2; font-weight: 700; letter-spacing: -.035em; }
.course .course-format { margin-top: 9px; color: var(--accent-light); font-size: .76rem; }
.course-action { margin-top: 13px; border: 1px solid #a18c6d; color: var(--accent-light); }
.course:hover .course-action { background: #2c3b54; }
footer { display: flex; justify-content: center; margin-top: 10px; }
footer a { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--muted); font-size: .78rem; }
footer a:hover { color: var(--text); }
footer .icon { width: 15px; height: 15px; }

@media (max-width: 400px) {
  .page { width: calc(100% - 28px); padding-top: 16px; }
  .event { padding: 19px; }
  .project { padding: 15px; gap: 11px; }
  .course { padding: 9px; }
  .course-copy { padding-inline: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .destination { transition: none; }
}
