/* ===== FONTS ===== */
@font-face {
  font-family: PPMori;
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/PPMori-Extralight.woff') format('woff');
}
@font-face {
  font-family: PPMori;
  font-style: italic;
  font-weight: 200;
  font-display: swap;
  src: url('../fonts/PPMori-ExtralightItalic.woff') format('woff');
}
@font-face {
  font-family: PPMori;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/PPMori-Regular.woff') format('woff');
}
@font-face {
  font-family: PPMori;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/PPMori-RegularItalic.woff') format('woff');
}
@font-face {
  font-family: PPMori;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/PPMori-Semibold.woff') format('woff');
}
@font-face {
  font-family: PPMori;
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('../fonts/PPMori-Black.woff') format('woff');
}

/* ===== CSS VARIABLES ===== */
:root {
  --color-background: #f4f2f0;
  --color-foreground: #0f0802;
  --color-card: #e4e0da;
  --color-card-hover: #d8d4ce;
  --color-border: #d4d0ca;
  --color-primary: #1f110f;
  --color-muted: #f0ede8;
  --color-muted-foreground: #755850;
  --font-ppmori: PPMori, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius: 0.75rem;
}

/* ===== SPLASH SCREEN ===== */
#splash {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-card);
  pointer-events: none;
}

#splash-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  visibility: hidden;
}

#splash-svg {
  width: 280px;
  height: auto;
  color: var(--color-foreground);
  overflow: visible;
}

@media (min-width: 768px) {
  #splash-svg {
    width: 380px;
  }
}

#splash-text {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

#splash-zuri,
#splash-wave {
  font-family: var(--font-ppmori);
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-foreground);
  line-height: 1;
}

#splash-wave {
  font-weight: 200;
  color: var(--color-muted-foreground);
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-ppmori);
  background-color: var(--color-background);
  color: var(--color-foreground);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img, video {
  max-width: 100%;
  display: block;
}

/* ===== LAYOUT ===== */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 1.5rem;
  gap: 1.5rem;
}

/* ===== HEADER ===== */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .brand-main {
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.logo-text .brand-sub {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted-foreground);
}

.header-link {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-foreground);
  transition: opacity 0.2s;
}

.header-link:hover {
  opacity: 0.7;
}

.header-link .arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
}

/* ===== HERO SECTION ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  padding-top: 0.5rem;
  max-width: 680px;
}

/* ===== ANNOUNCEMENT CARD ===== */
.announcement-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 1.5rem;
}

.announcement-media {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background-color: var(--color-border);
}

.announcement-body {
  padding: 1rem 1.25rem;
}

.announcement-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.announcement-logo-icon {
  width: 28px;
  height: 28px;
}

.announcement-logo-text {
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.announcement-divider {
  height: 1px;
  background-color: var(--color-border);
  margin: 0 0 0.75rem;
}

.venture-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.venture-list-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.875rem;
  color: var(--color-muted-foreground);
  cursor: pointer;
  transition: color 0.2s;
}

.venture-list-item:last-child {
  border-bottom: none;
}

.venture-list-item:hover {
  color: var(--color-foreground);
}

.venture-list-item.active {
  color: var(--color-foreground);
  font-weight: 600;
}

/* ===== VENTURES GRID ===== */
.ventures-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.venture-card {
  background-color: var(--color-card);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
  overflow: hidden;
}

.venture-card:hover {
  background-color: var(--color-card-hover);
}

.venture-card-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 0.75rem;
  padding: 1rem 0;
}

.venture-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.venture-card-logo svg {
  height: 32px;
  width: auto;
}

.venture-card-name {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.venture-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.venture-card-desc {
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
  flex: 1;
}

.venture-card-arrow {
  display: flex;
  align-items: center;
  color: var(--color-muted-foreground);
  flex-shrink: 0;
}

.venture-card-icon-bg {
  position: absolute;
  bottom: 3.5rem;
  right: 1rem;
  opacity: 0.08;
  font-size: 5rem;
}

/* ===== FOOTER ===== */
footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-muted-foreground);
}

footer a {
  color: var(--color-muted-foreground);
  transition: color 0.2s;
}

footer a:hover {
  color: var(--color-foreground);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .page-wrapper {
    padding: 1rem;
    gap: 1rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .announcement-card {
    position: static;
  }

  .ventures-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-headline {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .ventures-grid {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}
