:root {
  color-scheme: light;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: #231942;
  background: #f7f4ef;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-optical-sizing: auto;
  font-weight: 400;

  --ink: #231942;
  --muted: #625c70;
  --violet: #5e548e;
  --lilac: #9f86c0;
  --pink: #e0b1cb;
  --paper: #f7f4ef;
  --line: #dfd9e2;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 5px;
}

.page-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  padding: 0 clamp(24px, 8vw, 120px);
  background:
    radial-gradient(ellipse at 82% 43%, rgb(224 177 203 / 24%), transparent 34rem),
    radial-gradient(#d7c8dc 0.6px, transparent 0.6px);
  background-size: auto, 10px 10px;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-header {
  min-height: 104px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: Georgia, serif;
  font-size: 23px;
  line-height: 1;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-divider {
  width: 1px;
  height: 20px;
  background: #bcb4c5;
}

.brand-product {
  color: var(--violet);
  font-family: Georgia, serif;
  font-size: 18px;
  font-style: italic;
}

.header-note,
.site-footer {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

main {
  display: grid;
  flex: 1;
  align-items: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: 590px;
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.75fr);
  gap: clamp(24px, 6vw, 96px);
  padding: 72px 0 84px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 690px;
}

.eyebrow,
.contact-label {
  margin: 0;
  color: var(--violet);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  line-height: 1.5;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ba8eae;
  box-shadow: 0 0 0 4px rgb(224 177 203 / 30%);
}

h1 {
  max-width: 700px;
  margin: 26px 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 6.1vw, 82px);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 1.01;
}

h1 em {
  color: var(--violet);
  font-weight: 400;
}

.hero-description {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.75;
}

.investor-contact {
  display: grid;
  width: fit-content;
  grid-template-columns: auto auto;
  align-items: baseline;
  column-gap: 22px;
  row-gap: 5px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid #cfc7d4;
}

.contact-label {
  grid-column: 1 / -1;
  margin-bottom: 3px;
}

.contact-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  text-decoration-color: var(--lilac);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.contact-link span {
  display: inline-block;
  color: var(--violet);
  font-family: sans-serif;
  font-size: 16px;
  transition: transform 160ms ease;
}

.contact-link:hover span {
  transform: translate(3px, -3px);
}

.contact-email {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

.contact-email:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.light-graphic {
  position: relative;
  display: grid;
  width: min(100%, 410px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: center;
  border: 1px solid rgb(94 84 142 / 14%);
  border-radius: 50%;
}

.light-orbit {
  position: absolute;
  border: 1px solid rgb(94 84 142 / 18%);
  border-radius: 50%;
}

.light-orbit-outer {
  inset: 9%;
}

.light-orbit-inner {
  inset: 20%;
  border-color: rgb(94 84 142 / 24%);
}

.light-core {
  display: grid;
  width: 40%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(94 84 142 / 22%);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff8f6 0, #e6d9ea 46%, #c4afd3 100%);
  box-shadow:
    0 0 55px rgb(190 149 196 / 30%),
    inset 0 0 32px rgb(255 255 255 / 62%);
}

.light-core span {
  width: 23%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fffaf3;
  box-shadow: 0 0 32px 12px rgb(255 249 235 / 86%);
}

.light-caption {
  position: absolute;
  right: 2%;
  bottom: 17%;
  color: var(--violet);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.7;
}

.site-footer {
  min-height: 68px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .page-shell {
    padding-right: 24px;
    padding-left: 24px;
    background:
      radial-gradient(ellipse at 74% 58%, rgb(224 177 203 / 26%), transparent 23rem),
      radial-gradient(#d7c8dc 0.6px, transparent 0.6px);
    background-size: auto, 10px 10px;
  }

  .site-header {
    min-height: 78px;
  }

  .header-note {
    max-width: 110px;
    text-align: right;
  }

  .hero {
    min-height: unset;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 72px 0 60px;
  }

  h1 {
    max-width: 560px;
    font-size: clamp(48px, 11vw, 72px);
  }

  .light-graphic {
    position: absolute;
    top: 45%;
    right: -24%;
    width: min(76vw, 360px);
    opacity: 0.4;
    pointer-events: none;
  }

  .hero-copy {
    max-width: 600px;
  }

  .investor-contact {
    position: relative;
    z-index: 1;
    margin-top: 36px;
  }
}

@media (max-width: 420px) {
  .page-shell {
    padding-right: 20px;
    padding-left: 20px;
  }

  .brand {
    gap: 8px;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-product {
    font-size: 16px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .header-note {
    max-width: 90px;
    font-size: 10px;
  }

  .hero {
    padding-top: 58px;
  }

  .eyebrow {
    font-size: 9px;
  }

  .contact-email {
    font-size: 11px;
  }
}

.contact-note {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 14px;
}

.projects {
  padding: 96px 0 84px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  max-width: 720px;
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.project-card {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgb(255 255 255 / 52%);
}

.project-card + .project-card {
  margin-top: 32px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag,
.project-stage {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-tag {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.project-stage {
  color: var(--violet);
}

.project-card h3 {
  margin: 22px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.project-lead {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 17px);
  line-height: 1.75;
}

.feature-list {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  list-style: none;
}

.feature-list li {
  padding: 15px 18px;
  border-left: 2px solid var(--lilac);
  border-radius: 0 14px 14px 0;
  background: rgb(247 244 239 / 75%);
  font-size: 14px;
  line-height: 1.6;
}

.progress {
  max-width: 480px;
  margin-top: 28px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--line);
}

.progress-fill {
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lilac), var(--violet));
}

.project-note {
  max-width: 640px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.project-split {
  display: grid;
  margin-top: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.slideshow {
  min-width: 0;
}

.slides {
  display: grid;
}

.slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slide-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #1c1730;
  box-shadow: 0 18px 40px rgb(35 25 66 / 10%);
  overflow: hidden;
  cursor: zoom-in;
}

.slide-zoom img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.slide figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.02em;
}

.slideshow-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.slideshow-controls button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.slideshow-controls button:hover,
.slideshow-controls button:focus-visible {
  border-color: var(--violet);
  color: var(--violet);
}

.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox::backdrop {
  background: rgb(20 14 36 / 85%);
}

.lightbox img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
  cursor: zoom-out;
}

@media (max-width: 760px) {
  .projects {
    padding: 72px 0 60px;
  }

  .project-card {
    padding: 22px;
    border-radius: 20px;
  }

  .project-split {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
