
/* BTT Studios — Refined Creative Brutalism */

:root {
  /* Core palette */
  --paper: #F5F0E6;
  --ink: #252720;
  --yellow: #F2C94C;
  --red: #E96B56;
  --blue: #5575BE;
  --green: #94B8A1;

  /* Supporting colors */
  --cream: #FFF9EF;
  --surface: #E9D9B8;
  --surface-muted: #EDE6D9;
  --text-muted: #676961;
  --text-light: #E0DDD5;
  --border-light: #FFFFFF40;

  /* Layout */
  --page-gutter: max(24px, calc((100vw - 1160px) / 2));

  /* Brutalist details */
  --border-width: 2px;
  --shadow-sm: 3px 3px 0 var(--ink);
  --shadow-md: 5px 5px 0 var(--ink);
  --shadow-lg: 7px 7px 0 var(--ink);
}

/* Global */
html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

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

::selection {
  background: var(--yellow);
  color: var(--ink);
}

/* Hero */
.hero {
  padding: 48px var(--page-gutter) 64px;
}

.hero-poster {
  max-width: 880px;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
  transform: none;
}

.hero-poster::before,
.hero-poster::after {
  width: 90px;
  height: 24px;
  top: -12px;
}

.hero-foot {
  max-width: 1040px;
  margin-top: 40px;
  gap: 40px;
  align-items: start;
}

.hero-foot > p {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.hero-note {
  font-size: 0.85rem;
  line-height: 1.5;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
  transform: none;
}

/* Principles */
.principles {
  padding: 72px var(--page-gutter);
  gap: 24px;
}

.principles article {
  min-height: 260px;
  padding: 28px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: none !important;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.principles article:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 7px 7px 0 var(--ink);
}

.principles article:first-child {
  background: var(--yellow);
}

.principles article:nth-child(2) {
  background: var(--red);
}

.principles article:nth-child(3) {
  background: var(--green);
}

.principles h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin-top: 44px;
}

.principles p {
  line-height: 1.65;
  font-size: 1rem;
}

/* Projects */
.projects {
  padding: 72px var(--page-gutter);
}

.section-top {
  margin-bottom: 0;
  border-bottom-width: 1px;
  border-bottom-color: var(--border-light);
  align-items: center;
}

.project,
.project:nth-of-type(2n) {
  display: grid;
  grid-template-columns:
    40px
    minmax(180px, 32%)
    minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin: 0;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-light);
}

.project:nth-of-type(2n) .project-art {
  grid-column: auto;
}

.project:nth-of-type(2n) .project-info {
  grid-area: auto;
}

.project-number {
  width: 32px;
  height: 32px;
  font-size: 0.7rem;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--red);
}

/* Project artwork */
.project-art,
.project:nth-of-type(2n) .project-art {
  height: 190px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--red);
  transform: none;
  overflow: hidden;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.project:nth-of-type(2n) .project-art {
  box-shadow: 5px 5px 0 var(--yellow);
}

.project:hover .project-art {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--red);
}

.project:nth-of-type(2n):hover .project-art {
  box-shadow: 7px 7px 0 var(--yellow);
}

/* Project descriptions */
.project-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 18px 0 16px;
  font-weight: 750;
}

.project-info small {
  display: inline-block;
  line-height: 1.4;
  font-size: 0.7rem;
  letter-spacing: 0.035em;
}

.project-info p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* Project UI artwork details */
.schedule-ui b {
  font-size: 1.3rem;
}

.schedule-ui i {
  height: 16px;
}

.hollow-type {
  font-size: 3.5rem;
}

/* Founder */
.founder {
  padding: 80px var(--page-gutter);
  gap: 56px;
  align-items: center;
}

.founder h2 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  margin-top: 24px;
  font-weight: 750;
}

.founder-image {
  height: 440px;
  border: 2px solid var(--ink);
  box-shadow: 7px 7px 0 var(--blue);
  transform: none;
  overflow: hidden;
}

.founder-copy {
  padding: 36px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  transform: none;
}

.founder-copy > p:not(.label) {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Contact */
.contact {
  min-height: 0;
  padding: 80px var(--page-gutter);
  overflow: hidden;
}

.contact h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.05em;
  margin: 40px 0;
  font-weight: 800;
}

.contact::after {
  font-size: 28rem;
  opacity: 0.18;
  pointer-events: none;
}

.contact > a {
  font-size: clamp(1rem, 2vw, 1.5rem);
  overflow-wrap: anywhere;
  max-width: 100%;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--yellow);
}

.contact > a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--yellow);
}

/* Footer */
footer {
  padding-inline: var(--page-gutter);
  min-height: 140px;
}

/* Tablet */
@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .principles article {
    min-height: 0;
  }

  .principles h3 {
    margin-top: 32px;
    font-size: 2rem;
  }

  .project,
  .project:nth-of-type(2n) {
    grid-template-columns:
      32px
      minmax(140px, 32%)
      minmax(0, 1fr);
    gap: 24px;
  }

  .project-art,
  .project:nth-of-type(2n) .project-art {
    grid-area: auto;
    height: 170px;
  }

  .project-info,
  .project:nth-of-type(2n) .project-info {
    grid-area: auto;
  }

  .founder-image {
    max-width: 440px;
    width: 100%;
  }
}

/* Mobile */
@media (max-width: 540px) {
  .hero {
    padding-top: 24px;
  }

  .hero-foot {
    display: block;
  }

  .hero-note {
    margin-top: 24px;
  }

  .principles,
  .projects,
  .founder,
  .contact {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .project,
  .project:nth-of-type(2n) {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 20px;
  }

  .project-number {
    width: 24px;
    height: 24px;
    margin: 0;
  }

  .project-art,
  .project:nth-of-type(2n) .project-art {
    grid-column: 2;
    height: 180px;
    margin: 0;
  }

  .project-info,
  .project:nth-of-type(2n) .project-info {
    grid-column: 2;
  }

  .project-info h2 {
    font-size: 1.8rem;
  }

  .founder-image {
    height: 360px;
  }

  .founder-copy {
    padding: 24px;
  }

  .contact h2 {
    font-size: clamp(2rem, 8.6vw, 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
