/* DeedzLabs about page. Colours come from the DeedzLabs logo: cyan into violet on deep navy. */
:root {
  color-scheme: dark;
  --bg: #0b0d1a;
  --bg-2: #111428;
  --card: rgba(20, 24, 46, .86);
  --text: #f4f7ff;
  --muted: #b6bfd8;
  --line: rgba(255, 255, 255, .13);
  --cyan: #00e2ff;
  --violet: #8b3dff;
  --gold: #ffcb3d;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --radius: 24px;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7ff;
  --bg-2: #eceffd;
  --card: rgba(255, 255, 255, .92);
  --text: #111633;
  --muted: #4e5878;
  --line: rgba(17, 22, 51, .12);
  --cyan: #0089a8;
  --violet: #6a1fe0;
  --shadow: 0 20px 50px rgba(40, 50, 110, .14);
  --dz-nav-bg: rgba(255, 255, 255, .82);
  --dz-nav-text: #111633;
  --dz-nav-muted: #4e5878;
  --dz-nav-line: rgba(17, 22, 51, .12);
  --dz-nav-accent: #0089a8;
}

* { box-sizing: border-box; }
html { background: var(--bg); scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--text); line-height: 1.55;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(800px 480px at 0% -5%, rgba(0, 226, 255, .14), transparent 60%),
    radial-gradient(800px 520px at 100% 10%, rgba(139, 61, 255, .18), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}
.shell { width: min(1100px, calc(100% - 32px)); margin: 0 auto; padding: 16px 0 40px; }
deedz-nav { min-height: 50px; position: sticky; top: 12px; z-index: 10; }
a { color: var(--cyan); }

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; gap: clamp(24px, 5vw, 56px);
  margin-top: 22px; padding: clamp(24px, 5vw, 56px);
  border-radius: calc(var(--radius) + 6px); border: 1px solid var(--line); box-shadow: var(--shadow);
  background: linear-gradient(135deg, rgba(0, 226, 255, .08), rgba(139, 61, 255, .12)), #0d1022;
  color: #f4f7ff;
}
.hero-mark { width: 100%; height: auto; border-radius: 28px; box-shadow: 0 0 60px rgba(0, 226, 255, .18); }
.eyebrow { margin: 0 0 8px; color: #7fefff; font-weight: 850; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1; letter-spacing: -.04em; font-weight: 900; }
h1 span {
  background: linear-gradient(90deg, #00e2ff, #8b3dff); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { margin: 18px 0 0; max-width: 540px; font-size: clamp(1rem, 2.2vw, 1.15rem); color: #cdd5ee; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 850; text-decoration: none; transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn.primary { color: #06101e; background: linear-gradient(135deg, #00e2ff, #7d6bff); box-shadow: 0 10px 30px rgba(0, 190, 255, .28); }
.btn.ghost { color: #f4f7ff; border: 1px solid rgba(255, 255, 255, .32); background: rgba(255, 255, 255, .06); }

/* Sections */
.block { margin-top: clamp(40px, 6vw, 60px); }
.section-title {
  display: flex; align-items: center; gap: 14px; margin: 0 0 18px;
  font-size: .82rem; font-weight: 850; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.value {
  padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.value-icon { font-size: 1.7rem; }
.value h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project {
  display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none;
  border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .18s ease, border-color .18s ease;
}
a.project:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cyan) 55%, transparent); }
a.project:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.project.featured { grid-column: 1 / -1; flex-direction: row; }
.project.featured img { width: 50%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.project-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; flex: 1; }
.project h3 { margin: 0; font-size: 1.4rem; letter-spacing: -.01em; }
.project p { margin: 0; color: var(--muted); }
.more { margin-top: auto; padding-top: 6px; color: var(--cyan); font-weight: 850; }
.status {
  align-self: flex-start; padding: 3px 11px; border-radius: 999px; font-size: .72rem; font-weight: 850;
  letter-spacing: .12em; text-transform: uppercase; border: 1px solid currentColor;
}
.status.live { color: #3fe38a; }
.status.new { color: var(--gold); }
.status.lab { color: #b88bff; }
.status.beta { color: var(--cyan); }
:root[data-theme="light"] .status.live { color: #11804a; }
:root[data-theme="light"] .status.new { color: #9a6a00; }
:root[data-theme="light"] .status.lab { color: #6a1fe0; }
.honk-now { margin-top: auto !important; padding-top: 6px; }
.honk-now strong { font-size: 1.9rem; font-weight: 900; color: var(--gold); font-variant-numeric: tabular-nums; }
:root[data-theme="light"] .honk-now strong { color: #9a6a00; }
.honk-now strong.bump { display: inline-block; animation: honk-bump .5s ease; }
@keyframes honk-bump { 40% { transform: scale(1.12); } }
.tool-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 4px 0 0; padding: 0; }
.tool-links a {
  display: inline-block; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  color: var(--text); font-weight: 750; font-size: .9rem; text-decoration: none;
  background: color-mix(in srgb, var(--cyan) 10%, transparent);
}
.tool-links a:hover { border-color: var(--cyan); }

/* Closing */
.closing {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 28px;
  padding: clamp(22px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--card); box-shadow: var(--shadow);
}
.closing img { width: 100%; height: auto; border-radius: 20px; }
.closing h2 { margin: 0 0 8px; font-size: clamp(1.5rem, 3vw, 2rem); }
.closing p { margin: 0 0 18px; color: var(--muted); max-width: 620px; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 650; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }

@media (max-width: 900px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-mark { width: min(220px, 60%); margin: 0 auto; }
  .lede { margin-inline: auto; }
  .actions { justify-content: center; }
  .values, .projects { grid-template-columns: 1fr; }
  .project.featured { flex-direction: column; }
  .project.featured img { width: 100%; aspect-ratio: 16 / 10; }
  .closing { grid-template-columns: 1fr; text-align: center; }
  .closing img { width: 140px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* HONK button on the Global HONK card */
.btn.honk-btn {
  align-self: flex-start; margin-top: 6px; border: 0; font: inherit; font-weight: 850; cursor: pointer;
  color: #1b1003; background: linear-gradient(135deg, #ffcb3d, #ff9a3d); box-shadow: 0 10px 26px rgba(255, 170, 61, .3);
}
.btn.honk-btn:active { transform: scale(.95); }

/* Closing card buttons sit on the card background, so the ghost button follows the theme. */
.closing .actions { margin-top: 0; }
.closing .btn.ghost { color: var(--text); border-color: var(--line); background: transparent; }

/* Secret Box clue: the lab logo is a button that wobbles and whispers a hint. */
.mark-wrap { display: grid; justify-items: center; gap: 12px; }
.mark-button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 28px; }
.mark-button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.mark-button.wobble .hero-mark { animation: lab-wobble .6s ease; }
@keyframes lab-wobble { 25% { transform: rotate(-6deg) scale(1.03); } 50% { transform: rotate(5deg); } 75% { transform: rotate(-3deg); } }
.lab-clue { margin: 0; min-height: 1.4em; font-weight: 800; color: #ffcb3d; text-align: center; }
@media (max-width: 700px) { .mark-button { width: min(220px, 60%); } .hero-mark { width: 100%; } }

/* Phones: roomier footer links so they're easy to tap. */
@media (max-width: 700px) {
  .footer-links { gap: 2px 6px; }
  .footer-links a { display: inline-block; padding: 9px 6px; }
}

/* The work: projects grouped the same way as the site nav (Games, Apps) plus what's still in the lab. */
.group-title {
  margin: 28px 0 12px; font-size: 1rem; font-weight: 850; letter-spacing: .04em; color: var(--text);
}
.group-title:first-of-type { margin-top: 0; }
.group-title small { margin-left: 8px; font-size: .85rem; font-weight: 650; letter-spacing: 0; color: var(--muted); }
.all-apps { margin-top: auto; padding-top: 6px; font-weight: 850; text-decoration: none; }
.all-apps:hover { text-decoration: underline; }
