:root {
  color-scheme: light;
  --bg: #f6f7f3;
  --surface: #ffffff;
  --ink: #1d2523;
  --muted: #69746f;
  --line: #d9ded7;
  --accent: #0b7a75;
  --accent-ink: #ffffff;
  --warm: #a55d30;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(11, 122, 117, 0.08), transparent 28rem),
    linear-gradient(315deg, rgba(165, 93, 48, 0.11), transparent 24rem),
    var(--bg);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 247, 243, 0.88);
  backdrop-filter: blur(16px);
}

.tabs {
  width: min(1120px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.tab {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.tab:hover {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.tab.is-active {
  color: var(--accent-ink);
  border-color: var(--accent);
  background: var(--accent);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100vh - 73px);
  margin: 0 auto;
  display: grid;
  place-items: center;
  padding: 56px 0;
}

.coming-soon {
  width: 100%;
  min-height: 52vh;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.project-index {
  margin: 0;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
}

h1 {
  max-width: 100%;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: clamp(42px, 7vw, 92px);
  line-height: 0.95;
  font-weight: 850;
}

.status-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 700;
}

.utility-link {
  margin-top: 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.utility-link:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .tabs {
    width: calc(100% - 20px);
    min-height: 64px;
  }

  .tab {
    padding: 0 12px;
    font-size: 13px;
  }

  .page-shell {
    width: calc(100% - 28px);
    padding: 36px 0;
  }

  .coming-soon {
    min-height: 58vh;
  }
}
