/* daymondmartin.com — shared design system */

:root {
  --bg: #0a0a0b;
  --bg-elev: #111113;
  --line: #1f1f23;
  --line-strong: #2e2e34;
  --text: #ededef;
  --muted: #8b8b93;
  --muted-dim: #62626a;
  --accent: #e9b872;
  --accent-dim: rgba(233, 184, 114, 0.12);
  --live: #4ade80;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --max: 660px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

/* Soft light source behind the content, keeps the page from feeling flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(760px 420px at 50% -10%, rgba(233, 184, 114, 0.07), transparent 70%),
    radial-gradient(600px 400px at 100% 100%, rgba(120, 140, 220, 0.05), transparent 70%);
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Links ---------- */

a {
  color: inherit;
  text-decoration: none;
}

.link {
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 1px;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ---------- Status pill ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg-elev);
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5);
  animation: pulse 2.6s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Typography ---------- */

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 9vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  line-height: 1.45;
  color: var(--accent);
  margin: 18px 0 0;
}

p {
  color: var(--muted);
  margin: 20px 0 0;
  max-width: 54ch;
}

p strong {
  color: var(--text);
  font-weight: 500;
}

.eyebrow {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 18px;
}

/* ---------- Sections ---------- */

.hero {
  min-height: 92svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0 64px;
}

.meta-line {
  font-size: 13.5px;
  color: var(--muted-dim);
  margin-top: 20px;
  line-height: 1.7;
}

.meta-line .sep {
  opacity: 0.45;
  padding: 0 7px;
}

/* ---------- Credentials ---------- */

.creds {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.cred {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg-elev);
  color: var(--muted);
}

.cred-mvp {
  color: var(--accent);
  border-color: rgba(233, 184, 114, 0.35);
  background: var(--accent-dim);
}

/* ---------- Focus areas ---------- */

.focus {
  border-top: 1px solid var(--line);
}

.focus-item {
  display: flex;
  gap: 20px;
  padding: 22px 2px;
  border-bottom: 1px solid var(--line);
}

.focus-num {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  opacity: 0.6;
  width: 26px;
  flex-shrink: 0;
  padding-top: 5px;
}

.focus-item h3 {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.focus-item p {
  margin: 0;
  font-size: 14px;
  max-width: 50ch;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

.section {
  padding: 72px 0;
}

.section-title {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin: 0 0 26px;
}

/* ---------- Actions ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid var(--line-strong);
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1407;
}

.btn-primary:hover {
  background: #f2c88c;
  border-color: #f2c88c;
}

.btn-ghost {
  background: transparent;
  color: var(--muted);
}

.btn-ghost:hover {
  background: var(--bg-elev);
  border-color: var(--muted-dim);
  color: var(--text);
}

/* ---------- Solution list ---------- */

.solutions {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.solution {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

a.solution:hover {
  padding-left: 12px;
  background: linear-gradient(90deg, var(--accent-dim), transparent 60%);
}

.solution-name {
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  flex-shrink: 0;
}

a.solution:hover .solution-name {
  color: var(--accent);
}

.solution-desc {
  font-size: 14px;
  color: var(--muted-dim);
  flex: 1;
  min-width: 0;
}

.tag {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  border: 1px solid var(--line-strong);
  color: var(--muted-dim);
  white-space: nowrap;
  flex-shrink: 0;
}

.tag-building {
  color: var(--accent);
  border-color: rgba(233, 184, 114, 0.35);
  background: var(--accent-dim);
}

.tag-live {
  color: var(--live);
  border-color: rgba(74, 222, 128, 0.3);
  background: rgba(74, 222, 128, 0.08);
}

/* ---------- Footer ---------- */

footer {
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted-dim);
}

footer nav {
  display: flex;
  gap: 20px;
}

footer nav a {
  color: var(--muted-dim);
  transition: color 0.25s var(--ease);
}

footer nav a:hover {
  color: var(--text);
}

/* ---------- Solution page ---------- */

.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-dim);
  padding: 44px 0 0;
  transition: color 0.25s var(--ease), gap 0.25s var(--ease);
}

.back:hover {
  color: var(--text);
  gap: 12px;
}

.page {
  padding: 48px 0 72px;
  min-height: 72svh;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid var(--line);
}

.detail-list li {
  display: flex;
  gap: 18px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
  color: var(--muted);
}

.detail-list .k {
  width: 112px;
  flex-shrink: 0;
  color: var(--muted-dim);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}

/* ---------- Entrance ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.85s var(--ease) forwards;
}

.reveal:nth-child(1) { animation-delay: 0.05s; }
.reveal:nth-child(2) { animation-delay: 0.14s; }
.reveal:nth-child(3) { animation-delay: 0.23s; }
.reveal:nth-child(4) { animation-delay: 0.32s; }
.reveal:nth-child(5) { animation-delay: 0.41s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .dot {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 84px 0 56px;
  }
  .solution {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .solution-desc {
    order: 3;
    flex-basis: 100%;
  }
  .detail-list li {
    flex-direction: column;
    gap: 4px;
  }
  .detail-list .k {
    width: auto;
  }
  .focus-item {
    gap: 14px;
  }
  .focus-num {
    width: 20px;
  }
}
