@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap");

:root {
  --bg: #08141a;
  --panel: rgba(7, 20, 28, 0.58);
  --panel-strong: rgba(7, 20, 28, 0.78);
  --text: #f4efe5;
  --muted: #d8c8ae;
  --accent: #c1ff72;
  --accent-soft: rgba(193, 255, 114, 0.16);
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at top left, rgba(193, 255, 114, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(97, 176, 191, 0.16), transparent 24%),
    var(--bg);
  color: var(--text);
  font-family: "Roboto", "Segoe UI", sans-serif;
}

body {
  position: relative;
  overflow-x: hidden;
  isolation: isolate;
}

.site-footer {
  position: relative;
  z-index: 2;
  padding: 0 40px 28px;
  color: rgba(244, 239, 229, 0.72);
  font-size: 0.7rem;
}

.site-footer .content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.video-shell {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
  pointer-events: none;
}

.video-shell video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(3, 11, 15, 0.76), rgba(3, 11, 15, 0.32) 42%, rgba(3, 11, 15, 0.82)),
    linear-gradient(to top, rgba(4, 12, 16, 0.92), rgba(4, 12, 16, 0.28));
  z-index: 1;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.3) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

.page {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 32px 40px 40px;
}

.content {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero,
.detail {
  display: grid;
  gap: 24px;
}

.hero {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "top top"
    "title side"
    "copy side";
  align-items: start;
  gap: 36px;
}

.hero-top {
  grid-area: top;
}

.hero-title {
  grid-area: title;
}

.hero-copy {
  grid-area: copy;
  display: grid;
  align-content: start;
  gap: 20px;
  max-width: none;
}

.hero-side {
  grid-area: side;
  display: grid;
  align-content: start;
  gap: 24px;
}

.hero-brief-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-top: 1px solid rgba(244, 239, 229, 0.28);
  border-bottom: 1px solid rgba(244, 239, 229, 0.28);
  width: fit-content;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(193, 255, 114, 0.12);
  flex: 0 0 auto;
}

h1,
h2 {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 0.75rem;
  line-height: 3.25rem;
  
  margin: 0;
}

h1 {
  font-size: clamp(3.6rem, 9vw, 7.8rem);
  max-width: 8ch;
}

.home-title {
  font-family: "Roboto", "Segoe UI", sans-serif;
  font-weight: 300;
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  margin: 18px 0 24px;
}

.subhead,
.lede,
.page-copy {
  max-width: 62ch;
  padding-bottom: 20px;
  color: rgba(244, 239, 229, 0.88);
  line-height: 1.65;
}

.page-panel .page-copy {
  max-width: none;
}

.subhead {
  font-size: 1.15rem;
}

.two-column-copy {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.two-column-copy p {
  margin: 0;
}

.actions,
.page-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.ghost-link,
.page-link {
  text-decoration: none;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.button {
  background: var(--accent);
  color: #102029;
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button:hover,
.ghost-link:hover,
.page-link:hover {
  transform: translateY(-2px);
}

.card,
.page-panel,
.nav-panel {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card {
  padding: 28px;
  border-radius: 28px;
}

.card h3,
.page-panel h3,
.nav-panel h3 {
  margin: 0 0 12px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.card p,
.page-panel p,
.nav-panel p {
  margin: 0;
  color: rgba(244, 239, 229, 0.84);
  line-height: 1.65;
}

.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.project-grid {
  align-self: stretch;
  margin-top: 0;
  align-content: start;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hero-actions {
  justify-content: flex-start;
}

.brief-tile {
  min-height: 38px;
  border: 1px solid rgba(147, 247, 17, 0.32);
  border-radius: 999px;
  background: rgba(140, 246, 3, 0.78);
  box-shadow: var(--shadow);
  color: #102029;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 18px;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.brief-tile:hover,
.brief-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(144, 250, 5, 0.8);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)),
    rgba(193, 255, 114, 0.24);
  color: #102029;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.project-tile {
  min-height: 112px;
  border: 1px solid rgba(244, 239, 229, 0.2);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    rgba(7, 20, 28, 0.46);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  color: var(--text);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.project-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(193, 255, 114, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 45%);
  opacity: 0.8;
}

.project-tile span {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: left;
  line-height: 1.3;
  transition: color 180ms ease;
}

.project-tile:hover,
.project-tile:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(193, 255, 114, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
    rgba(9, 27, 37, 0.68);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.project-tile:hover span,
.project-tile:focus-visible span {
  color: #fff8ee;
}

.project-tile:focus-visible {
  outline: 2px solid rgba(193, 255, 114, 0.8);
  outline-offset: 2px;
}

.page-link {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.page-link strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.page-link span {
  display: block;
  color: rgba(244, 239, 229, 0.72);
  line-height: 1.5;
  font-size: 0.96rem;
}

.detail {
  grid-template-columns: minmax(0, 4fr) minmax(220px, 1fr);
  align-items: start;
  gap: 28px;
}

.page-panel {
  border-radius: 30px;
  padding: 30px;
}

.page-panel strong {
  color: var(--accent);
}

.page-top-links {
  margin-bottom: 12px;
}

.brief-cta-row {
  margin: 0 0 18px;
}

.page-credit {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(244, 239, 229, 0.28);
  color: rgba(244, 239, 229, 0.72);
  font-size: 0.85rem;
  line-height: 1.6;
}

.brief-page .page-copy {
  max-width: none;
}

.brief-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 12px 0 28px;
  border-radius: 16px;
}

.reflection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-bottom: 12px;
}

.reflection-column h3 {
  margin: 16px 0 14px;
}

.reflection-column .page-copy:last-child {
  padding-bottom: 0;
}

.honest-reveal {
  position: relative;
  margin-top: 6px;
}

.honest-content {
  position: relative;
}

.honest-content .page-copy:last-child {
  padding-bottom: 0;
}

.honest-toggle {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  height: 100%;
  margin: 0;
  min-height: 100%;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 239, 229, 0.82);
  background: rgba(16, 28, 34, 0.95);
  border: 0;
  border-radius: 0px;
  padding: 14px 16px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  text-align: left;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.honest-toggle span {
  display: inline-block;
  color: inherit;
}

.honest-toggle:hover,
.honest-toggle:focus-visible {
  background: rgba(16, 28, 34, 0.74);
  color: rgba(193, 255, 114, 0.96);
}

.honest-column.is-revealed .honest-toggle {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .honest-column:hover .honest-toggle,
  .honest-column:focus-within .honest-toggle {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.page-nav {
  margin-top: 28px;
}

.nav-panel {
  border-radius: 24px;
  padding: 22px;
}

.nav-home {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 22px;
  padding: 10px 12px;
  border-radius: 12px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.nav-panel a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 12px;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.nav-panel a:hover,
.nav-panel a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff8ee;
  transform: translateX(3px);
}

.nav-panel a.current {
  color: var(--accent);
  background: rgba(193, 255, 114, 0.12);
}

.page-meta {
  display: grid;
  gap: 16px;
  align-content: start;
}

.meta-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.meta-item {
  padding: 18px;
  border-radius: 22px;
  background: var(--panel-strong);
  border: 1px solid var(--line);
}

.meta-item span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}

.meta-item strong {
  font-size: 1rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .hero,
  .detail,
  .catalog {
    grid-template-columns: 1fr;
  }

  .hero {
    grid-template-areas:
      "top"
      "title"
      "side"
      "copy";
    gap: 28px;
  }

  .hero-copy {
    max-width: none;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .reflection-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-brief-row {
    grid-template-columns: 1fr 1fr;
  }

  .page {
    padding: 24px 24px 28px;
  }

  .site-footer {
    padding: 0 24px 24px;
  }

  h1 {
    max-width: 12ch;
  }
}

@media (max-width: 640px) {
  .page-panel,
  .card,
  .nav-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .meta-strip {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.4rem);
  }

  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-tile {
    min-height: 96px;
    border-radius: 14px;
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }
}
