/* Copyright (c) 2026 Trent Polack. All Rights Reserved.
 * Licensed under the MIT License.
 */
/* Copyright (c) 2026 Trent Polack. All Rights Reserved.
 * Licensed under the MIT License.
 */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@500;700&family=Archivo+Black&display=swap");

:root {
  --background: #1b293d;
  --orange: #ed6c39;
  --orange-hover: #ffb69a;
  --headers: #ed6c39;
  --text: #fafaf9;
  --project-text: #fafaf9;
  --project-background: #3e5577;
  --project-accent: #3e5577;
  --base-font-size: 16px;
}
* {
  box-sizing: border-box;
}
html {
  background: var(--background);
}
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Archivo", Arial, sans-serif;
  font-weight: 500;
  font-size: var(--base-font-size);
}
a {
  color: inherit;
}
.site-header {
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 18px clamp(22px, 4vw, 64px);
  color: var(--orange);
  border-bottom: 10px solid var(--orange);
}
.site-title {
  font-family: "Archivo Black";
  font-size: 2.5em;
  font-style: normal;
  font-weight: 400;
  line-height: 1.2em;
  letter-spacing: -0.03em;
  text-decoration: none;
  text-transform: uppercase;
}
.home-link {
  color: var(--text);
  font-size: 2.5em;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.home-link:hover,
.home-link:focus-visible {
  color: var(--orange-hover);
}
.hero {
  position: relative;
  isolation: isolate;
  min-height: 54vh;
  padding: 50px clamp(22px, 6vw, 90px);
  overflow: hidden;
  background: var(--background);
}
.eyebrow
{
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--orange);
  padding: 8px 12px;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: var(--orange);
  transform: skewY(-4deg);
  transform-origin: bottom left;
}
.hero h1 {
  max-width: 1050px;
  margin: 14px 0 20px;
  font:
    clamp(3.8rem, 10vw, 9.5rem)/0.82 "Archivo Black",
    "Arial Black",
    sans-serif;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  background: var(--orange);
}
.hero-copy {
  max-width: 660px;
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.45;
  background: var(--orange);
}
.projects {
  padding: 24px clamp(22px, 6vw, 90px);
  padding-bottom: clamp(120px, 14vw, 220px);
  background: var(--background);
}
.project-number,
.project-status {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: bold;
}
.section-heading {
  display: flex;
  gap: 20px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}
.section-heading h2 {
  margin: 0;
  font:
    clamp(2.2rem, 5vw, 5rem) / 1 "Archivo Black",
    "Arial Black",
    sans-serif;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.section-heading span {
  color: var(--orange);
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}
.project-card {
  --project-accent: var(--orange);
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: clamp(24px, 2.5vw, 36px);
  overflow: hidden;
  background: var(--project-background);
  border: 2px solid var(--orange);
  color: var(--text);
  text-decoration: none;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}
a.project-card:hover,
a.project-card:focus-visible {
  box-shadow: 15px 15px 0 var(--project-accent);
  outline: 0;
  transform: translate(-5px, -5px);
}
.project-number {
  color: var(--project-accent);
  text-transform: uppercase;
  font-size: 1rem;
}
.project-card h3 {
  max-width: 600px;
  margin: auto 0 18px;
  font:
    clamp(2.2rem, 4vw, 4rem)/0.95 "Archivo Black",
    "Arial Black",
    sans-serif;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.project-description {
  max-width: 560px;
  margin: 0 0 32px;
  color: #cad0d5;
  line-height: 1.45;
}
.project-footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #5b6876;
}
.project-action {
  color: var(--project-accent);
  font-weight: 700;
  font-size: 1.5rem;
  overflow-wrap: anywhere;
}

.project-placeholder {
  background: transparent;
  border-style: dashed;
}

.mystery-preview {
  display: grid;
  place-items: center;
  color: var(--orange);
  background: repeating-linear-gradient(-45deg, transparent 0 18px, rgb(237 108 57 / 5%) 18px 20px);
  font: clamp(4rem, 9vw, 8rem) "Archivo Black", sans-serif;
  letter-spacing: -0.08em;
}

@media (max-width: 760px) {
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
.site-footer {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 34px clamp(22px, 4vw, 64px);
  background: var(--orange);
  color: var(--text);
  font-size: 1.25rem;
}
.site-footer a {
  color: var(--text);
  font-size: 1.25rem;
}
@media (max-width: 600px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    min-height: 500px;
  }
  .hero::after {
    right: -28vw;
    bottom: -10vw;
    width: 90vw;
    height: 90vw;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-card {
    min-height: 350px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .project-card {
    transition: none;
  }
}

/* Preserve the complete captured playfield at every card width. */
.project-preview {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  margin-bottom: 24px;
  border: 1px solid #5b6876;
}
.mystery-preview {
  display: grid;
}
.project-preview ~ h3 {
  margin-top: 24px;
}
@media (max-width: 600px) {
  .project-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-action {
    font-size: 1.5rem;
    overflow-wrap: anywhere;
  }
}
