/* Daniel's Tech Shop — single-page site. No build step. Colors and type follow the brand guide
   (logo_files/mini brand guide.pdf): cyan #01C9E4 family, green #02B192 family, Fredoka Semi-Bold. */
@font-face {
  font-family: "Fredoka";
  src: url("assets/fredoka-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
:root {
  --ink: #14202B;
  --ink-2: #3D4B57;
  --muted: #5F6D78;
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --line: #E3E6E8;
  --cyan: #01C9E4;
  --cyan-dark: #0C96A8;
  --cyan-light: #44E9FF;
  --green: #02B192;
  --green-dark: #148B7A;
  --green-light: #04CFAB;
  --gradient: linear-gradient(90deg, #01D8E4, #02F8D5);
  --accent: var(--cyan);
  --accent-ink: #0A6B78;  /* darker brand teal: brand hues fail AA as body text on white */
  --soft: #E3FAFD;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(20, 32, 43, 0.06), 0 8px 24px rgba(20, 32, 43, 0.06);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; }
a { color: var(--accent-ink); }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(250, 249, 246, 0.9); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; padding: 8px 0; text-decoration: none; }
.brand-mark { height: 44px; width: auto; }
.brand-word { height: 26px; width: auto; }
@media (max-width: 380px) { .brand-word { height: 20px; } }
nav { display: flex; gap: 18px; }
nav a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--accent-ink); }
@media (max-width: 560px) { nav { display: none; } }

/* Hero */
.hero { padding: 88px 0 72px; background:
  radial-gradient(900px 420px at 85% -10%, rgba(1, 216, 228, 0.18), transparent 60%),
  radial-gradient(700px 360px at -10% 110%, rgba(2, 248, 213, 0.14), transparent 60%); }
.eyebrow { margin: 0 0 12px; color: var(--accent-ink); font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; font-size: 13px; }
h1, h2, h3, .btn, .brand { font-family: "Fredoka", -apple-system, "Segoe UI", Roboto, sans-serif; font-weight: 600; }
h1 { font-size: clamp(34px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -0.5px; margin: 0 0 18px; max-width: 20ch; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 60ch; margin: 0 0 28px; }
.btn { display: inline-block; background: var(--gradient); color: var(--ink); text-decoration: none; font-size: 17px; padding: 13px 24px; border-radius: 14px; }
.btn:hover { filter: brightness(1.05) saturate(1.1); }

/* Hero art: the product icons, loosely stacked */
.hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hero-art { position: relative; height: 320px; }
.tile { position: absolute; border-radius: 28px; box-shadow: 0 18px 40px rgba(20, 32, 43, 0.18); }
.t1 { width: 120px; height: 120px; left: 8%; top: 18%; transform: rotate(-8deg); }
.t2 { width: 150px; height: 150px; left: 38%; top: 40%; transform: rotate(5deg); }
.t3 { width: 104px; height: 104px; left: 62%; top: 4%; transform: rotate(10deg); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { display: none; } }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: linear-gradient(180deg, #EFFBFC, #EEFAF6); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.2vw, 34px); margin: 0 0 28px; letter-spacing: -0.3px; }
h3 { margin: 0; font-size: 20px; }

/* Project cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.card p { margin: 0; color: var(--ink-2); }
.card-head { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.card-head img, .placeholder-icon { width: 64px; height: 64px; border-radius: 16px; }
.placeholder-icon { display: grid; place-items: center; background: var(--soft); color: var(--accent-ink); font-weight: 800; font-size: 26px; }
.kind { margin: 2px 0 0 !important; color: var(--muted) !important; font-size: 14px; }
.status { grid-column: 1 / -1; justify-self: start; font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-soon { background: #E3F2E8; color: #1E6B41; }
.status-test { background: #E1EEF6; color: #1D5A82; }
.status-live { display: inline-flex; align-items: center; gap: 7px; background: #DCF2E6; color: #145C36; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1FA463; box-shadow: 0 0 0 3px rgba(31, 164, 99, 0.25); }
.card-links { margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
.card-links .link { margin-top: 0; }
.status-wip { background: #DDF6F0; color: #0E6B5E; }
.points { margin: 0; padding-left: 20px; color: var(--ink-2); }
.points li { margin: 4px 0; }
.link { margin-top: auto; font-weight: 700; text-decoration: none; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.principles h3 { margin-bottom: 6px; }
.principles p { margin: 0; color: var(--ink-2); }

/* Contact & footer */
.contact p { max-width: 60ch; }
.contact p { color: var(--ink-2); }
.product-help { font-size: 15px; margin-top: 18px; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-mark { height: 56px; width: auto; }
.footer-row address { font-style: normal; }
.footer-row p { margin: 0; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Pixl Screen mark: a tiny 3x3 pixel grid lit in the accent colors */
.pixl-icon { display: grid !important; place-items: stretch !important; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 5px; padding: 12px; background: #14202B !important; }
.pixl-icon span { display: block; min-height: 0; border-radius: 3px; background: #2A3A47; }
.pixl-icon span:nth-child(1), .pixl-icon span:nth-child(5), .pixl-icon span:nth-child(9) { background: var(--cyan); }
.pixl-icon span:nth-child(3), .pixl-icon span:nth-child(7) { background: var(--green-light); }
.t3.pixl-icon { padding: 18px; gap: 8px; }
