:root {
  --bg: #f4efe4;
  --surface: rgba(255, 250, 241, 0.7);
  --surface-strong: rgba(255, 251, 246, 0.88);
  --ink: #1d1a16;
  --muted: #62574a;
  --line: rgba(29, 26, 22, 0.08);
  --accent: #d7642c;
  --accent-soft: #ffcf6b;
  --teal: #2f7f7a;
  --shadow: 0 28px 80px rgba(42, 30, 13, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 225, 167, 0.7), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(92, 159, 151, 0.16), transparent 22%),
    linear-gradient(180deg, #f7f1e7 0%, #efe7d9 100%);
  color: var(--ink);
  font-family: "Avenir Next", "Nunito Sans", "Trebuchet MS", sans-serif;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(12px);
  opacity: 0.65;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite;
}

.ambient-a {
  top: 12vh;
  left: -4rem;
  width: 12rem;
  height: 12rem;
  background: rgba(215, 100, 44, 0.22);
}

.ambient-b {
  top: 48vh;
  right: -2rem;
  width: 10rem;
  height: 10rem;
  background: rgba(47, 127, 122, 0.2);
  animation-delay: -4s;
}

.ambient-c {
  bottom: 4rem;
  left: 18%;
  width: 7rem;
  height: 7rem;
  background: rgba(255, 207, 107, 0.28);
  animation-delay: -8s;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 2rem;
}

.topbar,
.hero-card,
.panel,
.footer {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.brand-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 0 6px rgba(215, 100, 44, 0.14);
}

.brand-name,
.status-pill,
.eyebrow,
.section-label,
.project-count {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-name {
  font-size: 0.95rem;
  font-weight: 700;
}

.status-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(29, 26, 22, 0.06);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-card {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-label {
  margin: 0 0 0.6rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.hero-copy {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  gap: 1rem;
  margin-top: 1rem;
}

.panel {
  min-height: 16rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 252, 247, 0.75);
  box-shadow: var(--shadow);
}

.profile-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-panel {
  background:
    linear-gradient(155deg, rgba(215, 100, 44, 0.1), transparent 50%),
    rgba(255, 252, 247, 0.78);
}

.project-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.project-count {
  color: rgba(29, 26, 22, 0.24);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
}

h2 {
  margin-top: 0.15rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.04em;
}

.panel-copy {
  margin-top: 0.65rem;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

.panel-note {
  margin-top: 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border: 1px solid rgba(29, 26, 22, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0.6rem, -1rem, 0);
  }
}

@media (max-width: 820px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .footer,
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    gap: 0.45rem;
  }
}
