/* VARIABLES: Academic Brutalism */
:root {
  --bg: #ffffff;
  --text: #000000;
  --accent: #0033cc; /* Cobalt Blue */
  --border: 1px solid #000000;
  --border-w: 1px solid rgba(255, 255, 255, 0.3);

  --font-serif: "Playfair Display", serif;
  --font-mono: "Space Mono", monospace;

  --pad: 24px;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-mono); /* Base font is Mono */
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  filter: grayscale(100%);
  transition: 0.3s;
}
img:hover {
  filter: grayscale(0%);
}

/* TYPOGRAPHY */
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
h1 {
  font-size: 4.5rem;
  margin-bottom: 30px;
  letter-spacing: -2px;
}
h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  letter-spacing: -1px;
}
h3 {
  font-size: 2rem;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  max-width: 650px;
}
.lead {
  font-size: 1.2rem;
  font-weight: 400;
  font-family: var(--font-serif);
}
.italic {
  font-style: italic;
  color: var(--accent);
}
.big-text {
  font-size: 1.5rem;
  line-height: 1.4;
  font-family: var(--font-serif);
}
.huge-text {
  font-size: 5rem;
}

/* UTILS */
.container {
  max-width: 1300px;
  margin: 0 auto;
  border-left: var(--border);
  border-right: var(--border);
  min-height: 100%;
}
.section {
  padding: 100px 0;
}
.border-top {
  border-top: var(--border);
  padding-top: 80px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.border-top-white {
  border-top: var(--border-w);
  padding-top: 80px;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.bg-light {
  background: #f4f4f4;
}
.bg-black {
  background: #000;
  color: #fff;
}
.text-white p,
.text-white h2 {
  color: #fff;
}
.center {
  text-align: center;
}
.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

/* BUTTONS */
.btn-brut {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid var(--accent);
}
.btn-brut:hover {
  background: #fff;
  color: var(--accent);
}

.btn-brut-sm {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  font-size: 0.8rem;
  font-weight: 700;
}
.btn-brut-sm:hover {
  background: var(--accent);
}

.btn-brut-white {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 15px 30px;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid #fff;
}
.btn-brut-white:hover {
  background: #000;
  color: #fff;
}

.btn-link {
  text-decoration: underline;
  font-weight: 700;
  text-transform: uppercase;
}
.btn-arrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  border-bottom: 1px solid #000;
}
.full {
  width: 100%;
}

/* HEADER */
.brut-bar {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 5px;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: var(--border);
}
.header {
  border-bottom: var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
}
.grid-head {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  border-left: var(--border);
  border-right: var(--border);
  justify-content: space-between;
}
.brand-box {
  border-right: var(--border);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.nav-box {
  display: flex;
  height: 80px;
  align-items: center;
  padding-left: 40px;
}
.nav-box a {
  margin-right: 30px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
.nav-box a:hover {
  text-decoration: underline;
}

.act-box {
  display: flex;
  height: 80px;
  align-items: center;
  border-left: var(--border);
}
.loc {
  padding: 0 20px;
  font-size: 0.75rem;
  color: #666;
  border-right: var(--border);
  height: 100%;
  display: flex;
  align-items: center;
}
.btn-brut-sm {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 30px;
}
.menu-btn {
  height: 100%;
  width: 80px;
  background: #000;
  color: #fff;
  font-size: 1.5rem;
  display: none;
}

/* HERO */
.hero-sec {
  padding: 0;
  border-bottom: var(--border);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}
.hg-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: var(--border);
}
.badge-outline {
  display: inline-block;
  border: 1px solid #000;
  padding: 5px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  width: fit-content;
}
.hero-btns {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.hg-right {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}
.img-frame {
  height: 100%;
  width: 100%;
  position: relative;
}
.img-frame img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.frame-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: #fff;
  border: 1px solid #000;
  padding: 5px 10px;
  font-size: 0.7rem;
}

/* TICKER */
.ticker-brut {
  background: #000;
  color: #fff;
  padding: 15px 0;
  overflow: hidden;
  border-bottom: var(--border);
}
.ticker-track {
  white-space: nowrap;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  text-transform: uppercase;
  animation: tick 30s linear infinite;
}
@keyframes tick {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* MANIFESTO */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.sl-title h2 {
  font-size: 1.5rem;
  margin: 0;
}

/* TRACKS */
.tracks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin-top: 60px;
  border: var(--border);
}
.track-item {
  padding: 40px;
  border-right: var(--border);
  transition: 0.3s;
  background: #fff;
}
.track-item:last-child {
  border-right: none;
}
.track-item:hover {
  background: #000;
  color: #fff;
}
.track-item:hover .btn-arrow {
  border-color: #fff;
}
.ti-head {
  margin-bottom: 20px;
}
.ti-code {
  font-size: 0.7rem;
  opacity: 0.6;
  display: block;
  margin-bottom: 10px;
}
.ti-meta {
  margin-bottom: 30px;
  font-size: 0.8rem;
  opacity: 0.7;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* QUIZ */
.quiz-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
}
.qw-left h3 {
  margin-bottom: 20px;
}
.brut-list {
  margin-top: 30px;
  list-style: square;
  padding-left: 20px;
}
.brut-list li {
  margin-bottom: 10px;
}

.q-card {
  display: none;
  border: var(--border);
  padding: 40px;
  background: #fff;
  box-shadow: 10px 10px 0 #000;
}
.q-card.active {
  display: block;
}
.qc-num {
  font-size: 0.7rem;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 700;
}
.qc-opts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}
.q-card button {
  padding: 15px;
  background: transparent;
  border: 1px solid #000;
  text-align: left;
  transition: 0.2s;
}
.q-card button:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* STEPS */
.steps-brut {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}
.sb-col {
  border-top: 1px solid #000;
  padding-top: 20px;
}
.sb-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* JOURNAL */
.journal-list {
  margin-top: 40px;
}
.j-row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid #000;
  gap: 30px;
}
.j-row:first-child {
  border-top: 1px solid #000;
}
.j-meta {
  font-size: 0.8rem;
  color: var(--accent);
}
.j-title h4 {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
}
.j-title p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}
.j-link {
  text-decoration: underline;
  font-size: 0.8rem;
}

/* CONTACT */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.brut-box {
  border: 1px solid #fff;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}
.brut-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.bf-row label {
  display: block;
  font-size: 0.7rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}
.bf-row input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  padding: 10px 0;
}
.bf-row input:focus {
  outline: none;
  border-color: var(--accent);
}
.bf-check {
  font-size: 0.8rem;
}
.bf-check a {
  text-decoration: underline;
}

/* FOOTER */
.footer {
  padding: 80px 0 20px;
  border-top: var(--border);
}
.grid-footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  border-top: none;
  padding-top: 0;
}
.f-logo {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}
.footer h5 {
  margin-bottom: 20px;
  border-bottom: 1px solid #000;
  display: inline-block;
  padding-bottom: 5px;
}
.footer a,
.footer p {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #000;
}
.footer a:hover {
  color: var(--accent);
}
.footer-btm {
  margin-top: 60px;
  font-size: 0.8rem;
  color: #666;
}

/* MOBILE MENU */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #fff;
  z-index: 200;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateY(-100%);
  transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-overlay.active {
  transform: translateY(0);
}
#closeMenu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  background: none;
}
.mob-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 60px;
}
.mob-nav a {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: #000;
}
.mob-foot {
  font-size: 0.8rem;
  border-top: 1px solid #000;
  padding-top: 20px;
}

/* COOKIE */
.cookie-brut {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  border: 1px solid #000;
  padding: 15px;
  box-shadow: 5px 5px 0 #000;
  z-index: 5000;
  display: none;
  align-items: center;
  gap: 15px;
}
#acceptCookie {
  background: #000;
  color: #fff;
  padding: 5px 10px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nav-box,
  .loc,
  .act-box .btn-brut-sm {
    display: none;
  }
  #menuTrigger {
    display: block;
    width: 60px;
    border-left: var(--border);
  }
  .grid-head {
    display: flex;
  }
  .brand-box {
    width: 60px;
    border-right: none;
  }

  h1 {
    font-size: 3rem;
  }
  .huge-text {
    font-size: 2.7rem;
  }

  .f-item {
    margin-bottom: 50px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hg-left {
    border-right: none;
    border-bottom: var(--border);
    padding: 40px 24px;
  }
  .hg-right {
    height: 300px;
  }

  .split-layout,
  .quiz-wrapper,
  .contact-layout,
  .grid-footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .tracks-grid,
  .steps-brut {
    grid-template-columns: 1fr;
  }
  .track-item {
    border-right: none;
    border-bottom: var(--border);
  }
  .j-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.pages {
  padding: 120px 0;
}

.pages-wrap {
  max-width: 1000px;
  padding: 0 10px;
  margin: 0 auto 20px;
}

.pages h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 40px;
  text-align: center;
}

.text-wrapper {
  background: #f8fafc;
  padding: 50px 40px;
  border-radius: 20px;
  line-height: 1.8;
}

.text-wrapper h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 5px;
}

.text-wrapper h3 {
  color: #000000;
  margin-bottom: 20px;
}

.text-wrapper p {
  color: #64748b;
  margin-bottom: 20px;
}

.text-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.text-wrapper ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 15px;
  color: #1e293b;
}

.text-wrapper ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  font-size: 20px;
  line-height: 1;
  color: var(--primary);
  top: 0;
}

.text-wrapper strong {
  color: var(--color-error);
}

.text-wrapper a {
  color: #001eff;
  text-decoration: underline;
  font-weight: 600;
}

.text-wrapper ol {
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: #000000;
}

.margin {
  margin: 120px 0 50px;
  font-size: 40px;
  color: var(--accent);
}

@media (max-width: 768px) {
  .pages {
    padding: 100px 0 60px;
  }
  .pages h1 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .text-wrapper {
    padding: 30px 20px;
  }
  .text-wrapper h2 {
    font-size: 24px;
    margin-top: 30px;
  }
  .margin {
    font-size: 28px;
  }
}
