:root {
  --bg-color: #000000;
  --bg-elevated: #1d1d1f;
  --text-main: #f5f5f7;
  --text-muted: #86868b;
  --accent: #2997ff;
  --layout-width: 1100px;
}

* {
  margin: 0; padding: 0; box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--layout-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }

.apple-nav {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-content {
  max-width: var(--layout-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 54px;
  padding: 0 2rem;
  font-size: 12px;
}

.nav-logo { font-weight: 600; letter-spacing: 0.5px; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { color: var(--text-main); opacity: 0.8; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }

.nav-button {
  background: var(--text-main);
  color: var(--bg-color);
  padding: 4px 12px;
  border-radius: 980px;
  font-weight: 500;
}

.section { padding: 12rem 0; }
.bg-elevated { background-color: var(--bg-elevated); }

.section-headline {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 2rem;
}

.section-subheadline {
  font-size: 28px;
  line-height: 1.14286;
  font-weight: 600;
  letter-spacing: .007em;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.subsection-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.mt-large { margin-top: 6rem; }
.mt-medium { margin-top: 3rem; }

.hero {
  padding-top: 150px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-text-container {
  z-index: 2;
  margin-bottom: 4rem;
}

.hero-headline {
  font-size: 100px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #fff 0%, #a2a2a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subheadline {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-image-container {
  width: 100%;
  max-width: 1200px;
  height: 60vh;
  min-height: 500px;
  position: relative;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 20px 20px 0 0;
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text .large-copy {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: 0.004em;
  margin-bottom: 2.5rem;
}

.about-text .medium-copy {
  font-size: 21px;
  line-height: 1.381;
  font-weight: 400;
  letter-spacing: 0.011em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--text-main);
  font-weight: 600;
}

.about-visual {
  position: relative;
}

.profile-image {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

.ooc-card {
  margin-top: 1.5rem;
  background: rgba(29, 29, 31, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  padding: 1.5rem 2rem;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.ooc-item {
  display: flex;
  flex-direction: column;
}

.ooc-label {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ooc-value {
  font-size: 16px;
  font-weight: 600;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.apple-card {
  background: var(--bg-color);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  text-align: left;
}

.apple-card h3 {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 600;
  letter-spacing: .009em;
  margin-bottom: 1rem;
}

.apple-card p {
  font-size: 17px;
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -.022em;
  color: var(--text-muted);
}

.feature-banner {
  background: var(--bg-elevated);
  border-radius: 24px;
  padding: 3rem;
  line-height: 1.381;
  font-weight: 500;
  letter-spacing: .011em;
}

.rp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  text-align: left;
}

.rp-item {
  background: var(--bg-elevated);
  padding: 3rem;
  border-radius: 24px;
}

.rp-icon {
  font-size: 12px;
  font-family: monospace;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  display: inline-block;
  padding: 4px 8px;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.rp-item h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.rp-item p {
  font-size: 17px;
  color: var(--text-muted);
}

.departments-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.dept-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.dept-icon-wrapper {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
  background: var(--bg-color);
  border-radius: 22px; 
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dept-icon-wrapper img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: contrast(1.1);
}

.star-hider {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 25%;
  height: 25%;
  background: var(--bg-color);
  border-top-left-radius: 10px;
}

.dept-info h4 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 4px;
}

.dept-info h5 {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.dept-info p {
  font-size: 17px;
  color: var(--text-muted);
}

.ranks-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: left;
}

.rank-category {
  font-size: 21px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.rank-list li {
  display: flex;
  gap: 1rem;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.rank-list li span {
  color: var(--text-muted);
  width: 20px;
  font-weight: 500;
}

.list-muted li {
  color: var(--text-muted);
}

.apple-footer {
  padding: 6rem 0;
  background: var(--bg-elevated);
}

.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
}

.footer-profile {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-profile h4 {
  font-size: 21px;
  font-weight: 600;
}

.footer-profile p {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-text {
  flex: 1;
  max-width: 600px;
  font-size: 17px;
  color: var(--text-muted);
}

.footer-text .highlight {
  margin-top: 1rem;
  color: var(--text-main);
  font-weight: 500;
}

.reveal-text, .reveal-image, .reveal-up {
  opacity: 0;
  will-change: transform, opacity, filter;
  transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text {
  transform: translateY(30px);
  filter: blur(5px);
}

.reveal-image {
  transform: scale(0.95);
}

.reveal-up {
  transform: translateY(40px);
}

.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

@media (max-width: 1068px) {
  .section-headline { font-size: 64px; }
  .hero-headline { font-size: 80px; }
  .about-grid, .departments-grid, .rp-grid { grid-template-columns: 1fr; gap: 4rem; }
  .cards-grid, .ranks-layout { grid-template-columns: 1fr; }
  .ooc-card { position: static; margin-top: 2rem; justify-content: center; }
  .footer-flex { flex-direction: column; text-align: center; }
}

@media (max-width: 734px) {
  .section-headline { font-size: 40px; }
  .hero-headline { font-size: 48px; }
  .hero-subheadline { font-size: 21px; }
  .nav-links { display: none; }
}
