@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #647169;
  --paper: #f4f1e8;
  --panel: #fbfaf6;
  --accent: #d65b3e;
  --accent-soft: #f1c5a5;
  --line: rgba(23, 33, 27, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--paper);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  background:
    linear-gradient(135deg, rgba(214, 91, 62, 0.08), transparent 38%),
    radial-gradient(circle at 85% 12%, rgba(241, 197, 165, 0.58), transparent 28%),
    var(--paper);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-position: center;
  background-size: 64px 64px;
  content: '';
  opacity: 0.3;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.page-shell {
  display: flex;
  flex-direction: column;
  width: min(100% - 48px, 1180px);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(32px, 7vw, 88px) 0 28px;
}

.intro {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: 48px 0 96px;
  animation: rise-in 700ms ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  width: 10px;
  height: 10px;
  border: 3px solid var(--accent-soft);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(214, 91, 62, 0.1);
}

h1 {
  max-width: 720px;
  margin: 28px 0 24px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.94;
}

h1 span {
  color: var(--accent);
}

p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.project-mark {
  position: absolute;
  right: 4%;
  bottom: 60px;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  width: 180px;
  height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(251, 250, 246, 0.58);
  transform: rotate(-12deg);
  animation: float-in 900ms 180ms ease-out both;
}

.mark-line {
  display: block;
  width: 24px;
  border-radius: 99px 99px 4px 4px;
  background: var(--accent);
}

.mark-line-one {
  height: 42%;
  opacity: 0.48;
}

.mark-line-two {
  height: 72%;
}

.mark-line-three {
  height: 100%;
  background: var(--ink);
}

footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translate(20px, 12px) rotate(-12deg);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) rotate(-12deg);
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(100% - 32px, 1180px);
  }

  .intro {
    justify-content: flex-start;
    padding-top: 64px;
  }

  h1 {
    margin-top: 24px;
    font-size: clamp(3rem, 16vw, 5.4rem);
  }

  .project-mark {
    position: relative;
    right: auto;
    bottom: auto;
    align-self: flex-end;
    width: 124px;
    height: 124px;
    margin-top: 48px;
    padding: 18px;
  }

  .mark-line {
    width: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
