/* iotone2026 theme — extends the Variant B (Spatial Studio) prototype.
 * Spatial / XR studio aesthetic: light + airy, gradient accents, magazine-style news.
 */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --bg: #F7F6F2;
  --surface: #FFFFFF;
  --line: #E5E3DC;
  --line-soft: #ECEAE2;
  --text: #0B0B0F;
  --text-dim: #6B6B73;
  --text-muted: #98959A;
  --accent-1: #6E8CFF;
  --accent-2: #C062FF;
  --accent-3: #FF6FB8;
  --grad: linear-gradient(120deg, var(--accent-1), var(--accent-2) 50%, var(--accent-3));
  --status-active:     #1A8F4C;
  --status-shipped:    #1F4DA6;
  --status-eol:        #98959A;
  --status-experiment: #C062FF;
  --serif: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "JetBrains Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
a:hover { border-bottom-color: var(--accent-2); }
hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }

.page { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.skip-link {
  position: absolute; top: -40px; left: 8px;
  background: var(--text); color: var(--bg); padding: 8px 16px; border-radius: 4px; z-index: 1000;
}
.skip-link:focus { top: 8px; }

/* ---------- Top nav ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 32px;
}
.nav .brand {
  display: flex; gap: 12px; align-items: center;
  font-weight: 700; font-size: 18px; letter-spacing: -0.01em;
  color: var(--text);
  border-bottom: 0;
}
.nav .brand .logo {
  width: 36px; height: 36px; border-radius: 10px; display: block;
  box-shadow: 0 6px 20px rgba(192, 98, 255, 0.20), 0 0 0 1px rgba(11,11,15,0.06);
}
.nav .brand:hover { border-bottom: 0; }
.nav .links {
  display: flex; gap: 28px; margin-left: auto; font-size: 14px;
}
.nav .links a {
  color: var(--text-dim);
}
.nav .links a:hover, .nav .links a.active { color: var(--text); }
.nav .cta {
  background: var(--text); color: var(--bg);
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
  border-bottom: 0;
}
.nav .cta:hover { background: var(--accent-2); border-bottom: 0; }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn.primary { background: var(--text); color: var(--bg); border: 0; }
.btn.primary:hover { background: var(--accent-2); border-bottom: 0; }
.btn.ghost { color: var(--text); border: 1px solid var(--text); background: transparent; }
.btn.ghost:hover { background: var(--text); color: var(--bg); border-bottom: 1px solid var(--text); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  padding: 60px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -100px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(192,98,255,0.30), rgba(255,111,184,0.05) 50%, transparent 70%);
  filter: blur(40px);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle at center, rgba(110,140,255,0.25), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}
.hero .inner { position: relative; z-index: 1; max-width: 880px; }
.hero .logo-mark {
  width: 100px; height: 100px;
  display: block; margin-bottom: 28px;
  border-radius: 14px;
  box-shadow: 0 18px 40px -10px rgba(11,11,15,0.18), 0 0 0 1px rgba(11,11,15,0.06);
}
.hero .eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 24px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lede {
  font-size: 21px; color: var(--text-dim);
  max-width: 640px; margin: 0 0 32px;
  line-height: 1.55;
}
.hero .cta-row {
  display: flex; gap: 14px; flex-wrap: wrap;
}

/* ---------- Section header ---------- */
.section-h {
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 60px 0 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-h h2 {
  font-size: 36px; letter-spacing: -0.02em;
  margin: 0; font-weight: 700;
}
.section-h .all {
  font-size: 14px; color: var(--text-dim);
  border-bottom: 1px solid var(--line);
}
.section-h .all:hover { border-bottom-color: var(--accent-2); color: var(--text); }

/* ---------- Project showcase grid ---------- */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.showcase .panel {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.showcase .panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -20px rgba(11,11,15,0.18);
  border-color: var(--line);
}
.showcase .panel.tall { grid-row: span 2; }
.showcase .panel .visual {
  height: 240px;
  position: relative;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.85);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500;
}
.showcase .panel.tall .visual { height: 380px; }
.showcase .panel .visual.alt-1 { background: linear-gradient(135deg, #1a1a2e, #16213e 50%, #0f3460); }
.showcase .panel .visual.alt-2 { background: linear-gradient(135deg, #FFD86F, #FC6262); }
.showcase .panel .visual.alt-3 { background: linear-gradient(135deg, #00B4DB, #0083B0); }
.showcase .panel .visual.alt-4 { background: linear-gradient(135deg, #654ea3, #eaafc8); }
.showcase .panel .visual.alt-5 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.showcase .panel .visual img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.showcase .panel .body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex; flex-direction: column;
}
.showcase .panel h3 {
  margin: 0 0 6px; font-size: 22px;
  letter-spacing: -0.01em; line-height: 1.2;
}
.showcase .panel .pill {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(192,98,255,0.10);
  color: var(--accent-2);
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
  font-weight: 600;
}
.showcase .panel p {
  color: var(--text-dim); margin: 0 0 14px; font-size: 15px;
}
.showcase .panel .meta {
  margin-top: auto;
  display: flex; gap: 12px; font-size: 13px; color: var(--text-dim);
  align-items: center; flex-wrap: wrap;
}
.showcase .panel .meta .lang {
  background: var(--bg); padding: 2px 8px; border-radius: 4px;
  font-family: var(--mono); font-size: 12px;
}
.showcase .panel .meta .status-active     { color: var(--status-active); }
.showcase .panel .meta .status-shipped    { color: var(--status-shipped); }
.showcase .panel .meta .status-eol        { color: var(--status-eol); }
.showcase .panel .meta .status-experiment { color: var(--status-experiment); }
.showcase .panel .meta .status::before { content: "● "; }

/* ---------- News strip (home) ---------- */
.news-strip {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 20px;
  margin-top: 12px;
}
.news-strip article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  display: flex; flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s ease;
}
.news-strip article:hover { border-color: var(--accent-2); }
.news-strip article.lead {
  background: var(--text); color: var(--bg); border-color: var(--text);
}
.news-strip article.lead h3 { color: var(--bg); }
.news-strip article.lead .date,
.news-strip article.lead p { color: rgba(255,255,255,0.78); }
.news-strip article.lead a.read-more { color: var(--bg); border-bottom-color: rgba(255,255,255,0.5); }
.news-strip article.lead:hover { border-color: var(--accent-2); }
.news-strip article .date {
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500;
}
.news-strip article h3 {
  margin: 0; font-size: 22px; line-height: 1.25;
  letter-spacing: -0.01em;
}
.news-strip article h3 a { color: inherit; border-bottom: 0; }
.news-strip article h3 a:hover { border-bottom: 0; }
.news-strip article p { margin: 0; color: var(--text-dim); font-size: 14px; }
.news-strip article a.read-more { font-size: 14px; font-weight: 500; color: var(--text); margin-top: auto; border-bottom: 1px solid var(--line); align-self: flex-start; }

/* ---------- About / stats (home) ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
}
.about h2 { font-size: 36px; letter-spacing: -0.02em; margin: 0 0 18px; }
.about p { font-size: 18px; color: var(--text-dim); line-height: 1.7; }
.about p + p { margin-top: 14px; }
.about .stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px 40px; margin-top: 24px;
}
.about .stats .stat .num {
  font-size: 40px; font-weight: 700; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block;
}
.about .stats .stat .label { color: var(--text-dim); font-size: 14px; }

/* ---------- Project detail page ---------- */
.proj-hero {
  padding: 40px 0 60px;
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 48px; align-items: end;
}
.proj-hero .visual {
  height: 360px; border-radius: 24px; background: var(--grad);
  position: relative; overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(192,98,255,0.4);
}
.proj-hero .visual.alt-1 { background: linear-gradient(135deg, #1a1a2e, #16213e 50%, #0f3460); }
.proj-hero .visual.alt-2 { background: linear-gradient(135deg, #FFD86F, #FC6262); }
.proj-hero .visual.alt-3 { background: linear-gradient(135deg, #00B4DB, #0083B0); }
.proj-hero .visual.alt-4 { background: linear-gradient(135deg, #654ea3, #eaafc8); }
.proj-hero .visual.alt-5 { background: linear-gradient(135deg, #f7971e, #ffd200); }
.proj-hero .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.proj-hero .pill {
  display: inline-block;
  font-size: 11px; padding: 4px 12px; border-radius: 999px;
  background: rgba(192,98,255,0.10); color: var(--accent-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
.proj-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 16px; font-weight: 700;
}
.proj-hero p.lede {
  font-size: 19px; color: var(--text-dim);
  margin: 0 0 24px; line-height: 1.55;
}
.proj-hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

.proj-body {
  display: grid; grid-template-columns: 0.32fr 1fr;
  gap: 64px; padding: 0 0 80px;
}
.proj-body aside.facts {
  position: sticky; top: 24px; align-self: start;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.proj-body aside.facts dt {
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-dim); margin-top: 18px;
}
.proj-body aside.facts dt:first-of-type { margin-top: 0; }
.proj-body aside.facts dd { margin: 4px 0 0; font-size: 15px; color: var(--text); }
.proj-body aside.facts dd a { border-bottom: 1px solid var(--line); }
.proj-body aside.facts dd a:hover { border-bottom-color: var(--accent-2); }
.proj-body article.content h2 {
  font-size: 28px; letter-spacing: -0.02em; margin: 36px 0 12px; font-weight: 700;
}
.proj-body article.content h2:first-child { margin-top: 0; }
.proj-body article.content h3 { font-size: 20px; margin: 24px 0 8px; }
.proj-body article.content p { font-size: 17px; color: var(--text); margin: 0 0 14px; line-height: 1.7; }
.proj-body article.content a { border-bottom: 1px solid var(--accent-2); }
.proj-body article.content ul, .proj-body article.content ol {
  font-size: 17px; line-height: 1.7; padding-left: 22px; margin: 0 0 14px;
}
.proj-body article.content code {
  font-family: var(--mono); font-size: 0.92em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 4px;
}
.proj-body article.content pre {
  background: var(--surface); border: 1px solid var(--line);
  padding: 16px 18px; border-radius: 12px;
  overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.55;
  margin: 18px 0;
}
.proj-body article.content pre code { background: none; border: 0; padding: 0; }
.proj-body article.content blockquote {
  border-left: 3px solid var(--accent-2);
  padding: 4px 0 4px 18px;
  margin: 18px 0; color: var(--text-dim); font-style: italic;
}

/* ---------- Project list page ---------- */
.proj-list-hero {
  padding: 40px 0 24px;
}
.proj-list-hero .eyebrow {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.proj-list-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 14px; font-weight: 700;
}
.proj-list-hero p.lede { font-size: 19px; color: var(--text-dim); max-width: 640px; }

.proj-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 32px 0 80px;
}

/* ---------- News index magazine ---------- */
.news-magazine .feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 32px 0 60px;
  align-items: end;
}
.news-magazine .feature .visual {
  height: 380px; border-radius: 24px; background: var(--grad);
  box-shadow: 0 30px 60px -30px rgba(192,98,255,0.4);
}
.news-magazine .feature .meta {
  font-size: 12px; letter-spacing: 0.10em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px; font-weight: 500;
}
.news-magazine .feature h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px;
}
.news-magazine .feature h2 a { color: inherit; border-bottom: 0; }
.news-magazine .feature p { font-size: 18px; color: var(--text-dim); margin: 0 0 18px; }

.news-magazine .year-h {
  margin: 40px 0 16px;
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 1px solid var(--line); padding-bottom: 6px;
}
.news-magazine .year-h h2 {
  margin: 0; font-size: 24px; letter-spacing: -0.01em;
}
.news-magazine .year-h .count {
  font-size: 13px; color: var(--text-dim);
  font-family: var(--mono);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 0 0 40px;
}
.news-grid article {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 24px; border-top: 1px solid var(--line);
}
.news-grid .meta {
  font-size: 12px; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.news-grid h3 {
  font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0;
}
.news-grid h3 a { color: inherit; border-bottom: 0; }
.news-grid h3 a:hover { color: var(--accent-2); border-bottom: 0; }
.news-grid p { font-size: 14px; color: var(--text-dim); margin: 0; }
.news-grid a.read { font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line); align-self: flex-start; margin-top: auto; }

/* ---------- News article ---------- */
article.post { max-width: 760px; margin: 0 auto; padding: 40px 32px 80px; }
article.post .pill {
  display: inline-block; font-size: 11px; padding: 4px 12px; border-radius: 999px;
  background: rgba(192,98,255,0.10); color: var(--accent-2);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px; font-weight: 600;
}
article.post h1 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -0.03em; line-height: 1.05;
  margin: 0 0 16px; font-weight: 700;
}
article.post .lede { font-size: 21px; line-height: 1.55; color: var(--text-dim); margin: 0 0 24px; }
article.post .meta {
  color: var(--text-dim); font-size: 14px; margin-bottom: 32px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
article.post .meta a { color: var(--text); border-bottom: 1px solid var(--line); }
article.post .visual {
  height: 380px; border-radius: 24px; background: var(--grad);
  margin-bottom: 40px;
  box-shadow: 0 30px 60px -30px rgba(192,98,255,0.4);
  position: relative; overflow: hidden;
}
article.post .visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
article.post .content p { font-size: 18px; line-height: 1.75; color: var(--text); margin: 0 0 18px; }
article.post .content h2 {
  font-size: 26px; letter-spacing: -0.02em; margin: 36px 0 12px; font-weight: 700;
}
article.post .content h3 { font-size: 20px; margin: 24px 0 8px; }
article.post .content a { border-bottom: 1px solid var(--accent-2); }
article.post .content ul, article.post .content ol { font-size: 18px; line-height: 1.75; padding-left: 24px; margin: 0 0 18px; }
article.post .content blockquote {
  border-left: 3px solid var(--accent-2);
  padding: 4px 0 4px 18px; margin: 18px 0;
  color: var(--text-dim); font-style: italic;
}
article.post .content code {
  font-family: var(--mono); font-size: 0.92em;
  background: var(--surface); border: 1px solid var(--line);
  padding: 1px 6px; border-radius: 4px;
}
article.post .content pre {
  background: var(--surface); border: 1px solid var(--line);
  padding: 16px 18px; border-radius: 12px;
  overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.55;
  margin: 18px 0;
}
article.post .content pre code { background: none; border: 0; padding: 0; }
article.post .source-strip {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 14px; color: var(--text-dim);
}
article.post .tags { margin-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
article.post .tags .tag {
  font-size: 12px; padding: 3px 10px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text-dim); font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Generic /contact, /about, default single ---------- */
.single-page { max-width: 760px; margin: 0 auto; padding: 40px 32px 80px; }
.single-page .eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 12px;
}
.single-page h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 16px; font-weight: 700;
}
.single-page .lede { font-size: 21px; color: var(--text-dim); margin: 0 0 28px; line-height: 1.55; }
.single-page .content p { font-size: 18px; line-height: 1.75; margin: 0 0 16px; }
.single-page .content h2 { font-size: 26px; margin: 36px 0 12px; letter-spacing: -0.02em; }
.single-page .content a { border-bottom: 1px solid var(--accent-2); }
.single-page .content ul, .single-page .content ol { font-size: 18px; line-height: 1.75; padding-left: 24px; }

/* ---------- Contact page channels + form ---------- */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; padding: 40px 0 100px;
}
.contact-wrap h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.03em; margin: 0 0 18px; }
.contact-wrap p { color: var(--text-dim); font-size: 17px; line-height: 1.6; }
.contact-wrap form {
  display: flex; flex-direction: column;
  gap: 14px; max-width: 460px;
}
.contact-wrap input,
.contact-wrap textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
}
.contact-wrap input:focus,
.contact-wrap textarea:focus { border-color: var(--accent-2); }
.contact-wrap textarea { min-height: 160px; resize: vertical; }
.contact-wrap .channels {
  display: flex; flex-direction: column;
  gap: 14px; margin-top: 20px;
}
.contact-wrap .channels a {
  display: flex; gap: 16px; align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.contact-wrap .channels a:hover { border-color: var(--accent-2); border-bottom-color: var(--accent-2); }
.contact-wrap .channels .label {
  color: var(--text-dim); font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase;
  min-width: 90px; font-weight: 600;
}

/* ---------- Footer ---------- */
footer.site {
  padding: 60px 32px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  font-size: 14px;
}
footer.site .brand-block { color: var(--text-dim); max-width: 320px; }
footer.site .brand-block .brand {
  color: var(--text); font-size: 18px; font-weight: 700;
  margin-bottom: 12px; display: flex; gap: 10px; align-items: center;
  border-bottom: 0;
}
footer.site .brand-block .brand .logo {
  width: 28px; height: 28px; border-radius: 6px; display: block;
}
footer.site .col h4 {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-dim); margin: 0 0 12px;
}
footer.site .col a {
  display: block; color: var(--text); padding: 4px 0; font-size: 14px;
}
footer.site .col a:hover { color: var(--accent-2); }
footer.site .copyright {
  grid-column: 1 / -1;
  padding-top: 24px; margin-top: 12px;
  border-top: 1px solid var(--line);
  color: var(--text-dim); font-size: 13px; text-align: center;
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .nav { gap: 20px; padding: 18px 24px; }
  .nav .links { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: transparent; border: 0; color: var(--text); padding: 8px; }
  .page { padding: 0 24px; }
  .hero { padding: 40px 0 64px; }
  .hero .logo-mark { width: 80px; height: 80px; }
  .showcase, .news-strip, .news-grid, .proj-hero, .proj-body, .contact-wrap, .about, .news-magazine .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-grid { gap: 36px; }
  .showcase .panel.tall { grid-row: auto; }
  .showcase .panel.tall .visual { height: 240px; }
  .about { padding: 56px 0; gap: 32px; }
  .proj-body aside.facts { position: static; }
  footer.site { grid-template-columns: 1fr 1fr; padding: 48px 24px 32px; }
  footer.site .brand-block { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 36px; }
  .hero p.lede { font-size: 17px; }
  .section-h h2 { font-size: 28px; }
  footer.site { grid-template-columns: 1fr; }
}

/* ---------- Print ---------- */
@media print {
  .nav, footer.site, .nav-toggle { display: none; }
  body { background: white; color: black; font-size: 12pt; }
  .hero::before, .hero::after { display: none; }
  a { color: black; border-bottom: 0; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
