:root {
  color-scheme: light;
  --page: #382f24;
  --page-glow: #72552f;
  --panel: #f4dfb6;
  --text: #2c241b;
  --muted: #665541;
  --accent: #936018;
  --line: rgba(91, 67, 35, 0.24);
  --shadow: 0 32px 78px rgba(31, 24, 16, 0.42);
  font-family:
    "Segoe UI",
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--page);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 30%, rgba(205, 133, 43, 0.52), transparent 32rem),
    linear-gradient(180deg, #4b3b27 0%, var(--page) 58%, #211b15 100%);
  display: grid;
  grid-template-rows: 1fr auto;
}

.page-shell {
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 6vw, 5.75rem) clamp(1rem, 4vw, 2rem);
  display: grid;
  align-items: center;
}

.project-panel {
  position: relative;
  min-height: clamp(26rem, 52vw, 32.5rem);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(247, 226, 183, 0.08), rgba(247, 226, 183, 0.24)),
    url("/assets/cerrado-texture.webp?v=20260702-cerrado2") center / cover no-repeat,
    var(--panel);
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.project-panel::before,
.project-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-panel::before {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 247, 224, 0.72), rgba(255, 247, 224, 0.16) 25rem, transparent 38rem),
    linear-gradient(180deg, rgba(35, 29, 21, 0.04), rgba(35, 29, 21, 0.2));
}

.project-panel::after {
  z-index: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 218, 0.32);
}

.content {
  position: relative;
  z-index: 1;
  min-height: inherit;
  padding: clamp(2rem, 7vw, 5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: clamp(0.72rem, 1.2vw, 0.88rem);
  font-weight: 750;
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(4.35rem, 12vw, 8.5rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lede {
  max-width: 28rem;
  margin: 1.45rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 700;
  line-height: 1.45;
}

.summary {
  max-width: 25rem;
  margin: 0.75rem 0 0;
  color: #5c4935;
  font-size: clamp(0.92rem, 1.3vw, 1.02rem);
  font-weight: 600;
  line-height: 1.5;
}

.signature {
  margin: 1.6rem 0 0;
  padding-top: 1rem;
  color: #4f3d2a;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.4;
}

.site-footer {
  width: min(100%, 58rem);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) clamp(1rem, 3vw, 2rem);
  color: rgba(255, 244, 217, 0.76);
  font-size: 0.9rem;
  text-align: center;
}

@media (max-width: 44rem) {
  .page-shell {
    padding: 1rem;
  }

  .project-panel {
    min-height: 31rem;
    background-position: right center;
  }

  .content {
    padding: 2rem 1.25rem;
  }

  .site-footer {
    padding-inline: 1rem;
  }
}
