#work-with-us .turn-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#work-with-us .turn-link:hover {
  opacity: 0.7;
}
#ventures {
  background: #ffffff;
  color: #000000;
}

#ventures .heading,
#ventures .ventures-subtext,
#ventures .ventures-subtext p {
  color: #000000;
}

#ventures .venture-card {
  background: #ffffff;
  color: #000000;
}
#work-with-us .marc-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

#work-with-us .marc-link:hover {
  opacity: 0.7;
}
@font-face {
  font-family: 'GT America Compressed';
  src: url('./fonts/GT-America-Compressed-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT America Compressed';
  src: url('./fonts/GT-America-Compressed-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  scroll-padding-top: 0;
  background: #ff0000;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: #ff0000;
  color: #000000;
  line-height: 1.4;
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: auto;
  text-rendering: geometricPrecision;
  font-weight: 600;
  overflow-x: hidden;
  position: relative;
}

.corner-logo {
  position: fixed;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  z-index: 999;
  opacity: 0.9;
  color: #000000;
  pointer-events: none;
}

.corner-logo svg {
  width: clamp(32px, 4vw, 48px);
  height: clamp(32px, 4vw, 48px);
}

body[data-logo="black"] .corner-logo {
  color: #000000;
}

body[data-logo="white"] .corner-logo {
  color: #ffffff;
}

body[data-logo="red"] .corner-logo {
  color: #ff0000;
}

/* Typography */
.gt {
  font-family: 'GT America Compressed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
}

/* Sections */
.section {
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  box-sizing: border-box;
}

.section-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.section:not(#hero) .section-inner {
  margin: 0 clamp(1.5rem, 4vw, 4rem);
  max-width: none;
  align-items: flex-start;
  text-align: left;
  padding-right: clamp(1.5rem, 4vw, 5rem);
  padding-left: 0;
}

/* Label */
.label {
  font-size: 0.875rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

/* Heading */
.heading {
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.8;
  margin-bottom: 1.5rem;
  font-weight: 900;
  font-style: normal;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HERO */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #ff0000;
  padding: clamp(2rem, 5vh, 5rem) 0;
}

#hero .section-inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - clamp(2rem, 5vh, 5rem));
  gap: clamp(1.5rem, 3vh, 3rem);
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
}

.hero-main {
  font-family: 'GT America Compressed', sans-serif;
  font-size: clamp(6rem, 24vw, 30rem);
  line-height: 0.8;
  margin: 0 auto;
  font-weight: 900;
  font-style: normal;
  color: #000000;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2vh, 2rem);
  width: min(92vw, 1400px);
  text-align: center;
}

.hero-main span {
  display: block;
  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.hero-subtext {
  margin: clamp(1rem, 2.5vh, 3.5rem) auto 0;
  font-family: 'GT America Compressed', sans-serif;
  font-size: clamp(1.25rem, 2vw, 2.25rem);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  color: #000000;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  display: inline-flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 3.5rem);
  width: auto;
  max-width: calc(100% - clamp(2rem, 6vw, 6rem));
  align-self: center;
  border-top: 4px solid #000000;
  padding-top: clamp(0.75rem, 2vh, 1.5rem);
  text-align: center;
}

.hero-subtext a {
  white-space: nowrap;
  color: #000000;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-subtext a:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #ffffff;
}

@media (max-width: 900px) {
  .hero-main {
    width: 100%;
  }
  
  .hero-subtext {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    border-top: 3px solid #000000;
    gap: 1rem;
  }
}

.hero-nav {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-nav a {
  font-family: 'GT America Compressed', sans-serif;
  color: #000000;
  text-decoration: none;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  border-bottom: 3px solid transparent;
  transition: all 0.1s;
  padding-bottom: 3px;
  cursor: pointer;
  position: relative;
}

.hero-nav a:hover {
  border-bottom-color: #000000;
  transform: scale(1.08);
  color: #ffffff;
}

/* CURRENT TIME */
#current-time {
  background: #ff0000;
  color: #000000;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#current-time .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 4rem);
  width: 100%;
  max-width: none;
}

.time-display {
  font-family: 'GT America Compressed', sans-serif;
  font-size: clamp(4rem, 18vw, 20rem);
  line-height: 0.8;
  font-weight: 900;
  font-style: normal;
  color: #000000;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  text-align: center;
  width: auto;
  margin: 0 auto;
  font-variant-numeric: tabular-nums;
  min-width: 1ch;
  word-break: keep-all;
  overflow-wrap: normal;
  box-sizing: border-box;
}

/* THEORY */
.body-text {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1.5rem;
  max-width: 900px;
  line-height: 1.4;
  font-weight: 700;
}

.body-text p {
  margin-bottom: 1rem;
}

#theory {
  background: #000000;
  color: #ffffff;
}

#theory .heading,
#theory .body-text,
#theory .body-text p {
  color: #ffffff;
}

.time-red {
  color: #ffffff;
  font-weight: inherit;
}

.theory-close {
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 900;
  line-height: 1.3;
}

/* RULES */
.rules-section {
  background: #000000;
  color: white;
  position: relative;
}

.rules-section .section-inner {
  max-width: 1400px;
  padding: 0 2rem;
}

.rules-label {
  color: white;
  margin-bottom: 1rem;
}

.rules-intro {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  color: white;
  font-weight: 600;
  margin-bottom: 4rem;
  max-width: 100%;
  line-height: 1.5;
}

.rules-layout {
  display: grid;
  grid-template-columns: 35% 65%;
  gap: 5rem;
  max-width: 1400px;
  margin: 0;
  align-items: start;
  width: 100%;
}

.rules-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-start;
  min-height: 100%;
}

.rule-item {
  cursor: pointer;
  transition: all 0.2s;
}

.rule-item.active .rule-title {
  color: #ffffff;
}

.rule-item:hover .rule-title {
  color: #ff0000;
}

/* When hovering over rules-left, make non-hovered items darker */
.rules-left:hover .rule-item:not(:hover) .rule-title {
  color: #333333;
}

/* Keep hovered item white even when parent is hovered */
.rules-left:hover .rule-item:hover .rule-title {
  color: #ff0000;
}

.rule-title {
  font-family: 'GT America Compressed', sans-serif;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 0.7;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-weight: 900;
  font-style: normal;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  transition: all 0.3s ease;
  color: #888888;
  margin: 0;
  padding: 0;
}

.rules-right {
  min-height: 400px;
  display: flex;
  align-items: flex-start;
  padding-top: 0;
  margin: 0;
  position: relative;
}

.rule-content {
  font-family: 'GT America Compressed', sans-serif;
  color: #ffffff;
  text-transform: uppercase;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  width: 100%;
  max-width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.rule-content .rule-opening {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0;
  padding: 0;
}

.rule-content .rule-body {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  margin: 0;
  padding: 0;
}

.rule-content .rule-example {
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.02em;
  opacity: 0.9;
  margin: 0;
  padding: 0;
}

.rule-content .rule-punchline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-top: 1rem;
}

.rule-content.visible {
  opacity: 1;
  visibility: visible;
}

/* VENTURES */
.ventures-subtext {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.ventures-subtext p {
  margin-bottom: 0.5rem;
}

.ventures-projects {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.ventures-projects li::before {
  content: '— ';
}

/* WORK WITH US */
.work-subline {
  font-family: 'GT America Compressed', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.8;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 900;
  font-style: normal;
}

.work-text {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
}

.work-text p {
  margin-bottom: 0.5rem;
}

#work-with-us {
  background: #ff0000;
  color: #000000;
  align-items: flex-start;
  padding-top: clamp(2rem, 5vh, 4rem);
  position: relative;
}

#work-with-us .heading,
#work-with-us .work-subline,
#work-with-us .work-text,
#work-with-us .work-text p {
  color: #000000;
}

#work-with-us .section-inner {
  align-items: flex-start;
  justify-content: flex-start;
  min-height: calc(100vh - clamp(2rem, 5vh, 4rem));
  padding-top: 0;
  padding-bottom: 0;
}

.work-bottom {
  position: absolute;
  bottom: clamp(1rem, 2vh, 1.5rem);
  right: clamp(1rem, 4vw, 4rem);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
}

.work-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000000;
  transition: opacity 0.2s ease;
  width: clamp(24px, 3vw, 32px);
  height: clamp(24px, 3vw, 32px);
  flex-shrink: 0;
}

.work-icon:hover {
  opacity: 0.7;
}

.work-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 1rem 0;
  }
  
  .section-inner {
    padding: 0 1.5rem;
  }
  
  .hero-nav {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .rules-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .rules-right {
    min-height: 200px;
  }
  
  .ventures-grid {
    grid-template-columns: 1fr;
  }
}
