/* Smartz Graphics public design system.
   Palette from the diamond logo mark: space navy, flare orange, star gold, teal, grape.
   One typeface, Bricolage Grotesque: display by weight 800 + wide optical size, text at 400. */

:root {
  --space: #0f1322;
  --space-2: #181d31;
  --paper: #fdfcf9;
  --mist: #eef0f5;
  --mist-2: #e1e4ec;
  --ink: #171a26;
  --muted: #5b6072;
  --line: rgba(23, 26, 38, 0.12);
  --flare: #ff5c2e;
  --flare-ink: #c23a12;
  --gold: #ffc42e;
  --teal: #1fb6a8;
  --grape: #6a3fd1;
  --font: "Bricolage Grotesque", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 18px;
  --radius-s: 10px;
  --gutter: clamp(18px, 4vw, 48px);
  --wrap: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font); font-optical-sizing: auto; font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--flare-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }
button { font: inherit; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.025em; line-height: 1.02; margin: 0 0 0.45em; text-wrap: balance; font-variation-settings: "opsz" 96; }
h1 { font-size: clamp(2.6rem, 7.4vw, 6.2rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.12; }
h4 { font-size: 1.1rem; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 36em; color: var(--ink); }
.muted { color: var(--muted); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 44em; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }

/* ---------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  background: var(--flare); color: #fff; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform 0.18s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease); cursor: pointer; line-height: 1.1;
}
.btn:hover { background: var(--flare-ink); color: #fff; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.on-dark .btn-ghost:hover, .is-dark .btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd35e; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 0.95rem; }
.btn-lg { padding: 18px 30px; font-size: 1.1rem; }

/* ---------------- header */
.head { position: sticky; top: 0; z-index: 50; background: rgba(253, 252, 249, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.is-home .head { background: rgba(15, 19, 34, 0.78); color: #fff; border-bottom-color: rgba(255, 255, 255, 0.1); }
.head-in { display: flex; align-items: center; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; color: inherit; }
.brand img { width: 44px; height: 44px; }
.brand span small { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.02em; color: var(--muted); margin-top: -2px; }
.is-home .brand span small { color: rgba(255, 255, 255, 0.65); }
.brand:hover { color: inherit; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 9px 12px; border-radius: 999px; font-weight: 600; font-size: 0.98rem; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(23, 26, 38, 0.07); color: inherit; }
.is-home .nav a:hover, .is-home .nav a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); }
.avail { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 600; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(31, 182, 168, 0.12); color: #0d7a70; margin-left: 10px; white-space: nowrap; }
.is-home .avail { background: rgba(31, 182, 168, 0.18); color: #8ff0e6; }
.avail i { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(31, 182, 168, 0.25); }
.head .btn { margin-left: 6px; }
.menu { display: none; }
@media (max-width: 1040px) {
  .nav, .avail, .head .btn-cta { display: none; }
  .menu { display: block; margin-left: auto; }
  .menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-weight: 700; border: 2px solid currentColor; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu[open] summary { background: var(--ink); color: #fff; border-color: var(--ink); }
  .is-home .menu[open] summary { background: #fff; color: var(--ink); border-color: #fff; }
  .drawer { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 24px; display: grid; gap: 4px; box-shadow: 0 30px 60px rgba(15, 19, 34, 0.18); }
  .drawer a { text-decoration: none; font-weight: 700; font-size: 1.25rem; padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .drawer .avail { display: inline-flex; margin: 14px 0 4px; }
  .drawer .btn { display: inline-flex; justify-self: start; margin-top: 10px; }
}
@media (min-width: 1041px) { .drawer { display: none; } }

/* ---------------- hero */
.hero { background: var(--space); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -60% auto; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(106, 63, 209, 0.45), rgba(106, 63, 209, 0) 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; left: -10%; top: -30%; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(31, 182, 168, 0.22), rgba(31, 182, 168, 0) 70%); pointer-events: none; }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.9fr); gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(56px, 8vw, 110px) 0 clamp(48px, 6vw, 84px); }
.hero h1 { margin-bottom: 0.35em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero .lede { color: rgba(255, 255, 255, 0.82); margin-bottom: 1.6em; }
.hero-kicker { font-weight: 600; color: var(--teal); margin-bottom: 1.4em; display: inline-flex; align-items: center; gap: 10px; }
.hero-kicker::before { content: ""; width: 10px; height: 10px; background: var(--teal); transform: rotate(45deg); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art .mark { width: min(88%, 460px); filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.5)); animation: float 7s ease-in-out infinite; }
.hero-art .sticker { position: absolute; right: -4%; bottom: 2%; width: clamp(140px, 38%, 220px); transform: rotate(-7deg); border-radius: 12px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45); border: 4px solid #fff; animation: sticker 0.9s var(--ease) 0.3s both; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
@keyframes sticker { from { opacity: 0; transform: rotate(-16deg) scale(0.7) translateY(30px); } to { opacity: 1; transform: rotate(-7deg) scale(1) translateY(0); } }
@media (max-width: 860px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 360px; margin: 0 auto; order: -1; }
  .hero-art .sticker { right: -8%; }
}

/* ---------------- stats strip */
.strip { background: var(--flare); color: #fff; }
.strip ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.strip li { display: flex; align-items: baseline; gap: 10px; padding: 16px 26px 16px 0; margin-right: 26px; position: relative; }
.strip li + li::before { content: ""; position: absolute; left: -31px; top: 50%; width: 9px; height: 9px; background: var(--gold); transform: translateY(-50%) rotate(45deg); }
.strip b { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variation-settings: "opsz" 96; }
.strip span { font-weight: 600; font-size: 0.98rem; opacity: 0.95; }
@media (max-width: 640px) { .strip ul { display: grid; grid-template-columns: 1fr 1fr; } .strip li { display: block; padding: 14px 0; margin: 0; } .strip li + li::before { display: none; } .strip b { display: block; margin-bottom: 2px; } }

/* ---------------- sections */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section.tight { padding: clamp(40px, 6vw, 80px) 0; }
.is-mist { background: var(--mist); }
.is-dark { background: var(--space); color: #fff; }
.is-dark .muted { color: rgba(255, 255, 255, 0.7); }
.is-dark .lede { color: rgba(255, 255, 255, 0.85); }
.is-dark a:hover { color: var(--gold); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.sec-head h2 { margin: 0; }
.sec-head .lede { margin: 0; font-size: 1.15rem; }
.sec-head .more { grid-column: 2; justify-self: start; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; align-items: start; } .sec-head .more { grid-column: 1; } }
.kicker { font-weight: 700; color: var(--flare-ink); margin: 0 0 14px; font-size: 0.98rem; }
.is-dark .kicker { color: var(--gold); }

/* intro statement */
.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.intro h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); }
.intro .collage { border-radius: var(--radius); overflow: hidden; transform: rotate(2deg); box-shadow: 0 30px 60px rgba(15, 19, 34, 0.18); }
.intro .collage img { width: 100%; }
.intro figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 18px; transform: rotate(-2deg); }
@media (max-width: 800px) { .intro { grid-template-columns: 1fr; } }

/* ---------------- work cards */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.work-grid .work-card:nth-child(1), .work-grid .work-card:nth-child(2) { grid-column: span 6; }
.work-grid .work-card { grid-column: span 4; }
@media (max-width: 900px) { .work-grid .work-card, .work-grid .work-card:nth-child(1), .work-grid .work-card:nth-child(2) { grid-column: span 6; } }
@media (max-width: 560px) { .work-grid .work-card, .work-grid .work-card:nth-child(1), .work-grid .work-card:nth-child(2) { grid-column: span 12; } }
.work-card { display: block; text-decoration: none; color: inherit; background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.is-dark .work-card { background: var(--space-2); border-color: rgba(255, 255, 255, 0.08); }
.work-card:hover { color: inherit; }
.work-card .cover { aspect-ratio: 4 / 3; overflow: hidden; background: var(--mist-2); position: relative; }
.work-card .cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-card:hover .cover img { transform: scale(1.04); }
.work-card .cover.icon img { object-fit: contain; width: 46%; height: 46%; margin: auto; position: absolute; inset: 0; }
.work-card .cover.type { display: grid; place-items: center; }
.work-card .cover.type > b { font-weight: 800; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: -0.04em; color: #fff; font-variation-settings: "opsz" 96; line-height: 1; }
.work-card .cover.cat-branding { background: var(--grape); } .work-card .cover.cat-websites { background: var(--teal); } .work-card .cover.cat-events { background: var(--flare); } .work-card .cover.cat-campaigns { background: var(--gold); } .work-card .cover.cat-campaigns > b { color: var(--ink); } .work-card .cover.cat-games { background: var(--grape); }
.work-card .cover .tag { position: absolute; left: 14px; top: 14px; background: rgba(15, 19, 34, 0.78); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.work-card .body { padding: 18px 20px 22px; }
.work-card h3 { margin: 0 0 6px; font-size: 1.25rem; }
.work-card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.is-dark .work-card p { color: rgba(255, 255, 255, 0.7); }
.work-card .client { font-weight: 600; font-size: 0.9rem; color: var(--flare-ink); margin-bottom: 6px; }
.is-dark .work-card .client { color: var(--gold); }
.work-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.work-filters a { text-decoration: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.work-filters a[aria-current="page"], .work-filters a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* project page */
.project-head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.project-meta { display: grid; gap: 14px; }
.project-meta dt { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.project-meta dd { margin: 2px 0 0; font-weight: 700; }
.project-cover { border-radius: var(--radius); overflow: hidden; margin: clamp(28px, 4vw, 56px) 0; background: var(--mist); }
.project-cover img { width: 100%; }
.project-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 80px); }
.results { background: var(--mist); border-radius: var(--radius); padding: 24px; align-self: start; }
.results h3 { font-size: 1.05rem; margin-bottom: 14px; }
.results ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.results li { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; padding-left: 20px; position: relative; }
.results li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 9px; height: 9px; background: var(--flare); transform: rotate(45deg); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-top: 32px; }
.gallery img { border-radius: var(--radius-s); width: 100%; }
@media (max-width: 800px) { .project-head, .project-body { grid-template-columns: 1fr; } }
.prose { max-width: 42em; font-size: 1.08rem; }
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.4em; }
.prose img { border-radius: var(--radius-s); margin: 1.2em 0; }
.prose blockquote { margin: 1.4em 0; padding-left: 20px; border-left: 4px solid var(--gold); font-weight: 600; font-size: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.3em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* ---------------- services */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 64px); }
.svc { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px; padding: 26px 0; border-top: 1px solid var(--line); align-items: start; }
.svc img { width: 64px; height: 64px; object-fit: contain; }
.svc h3 { margin: 4px 0 6px; font-size: 1.3rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { color: var(--flare-ink); }
.svc p { color: var(--muted); margin-bottom: 10px; }
.svc ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.95rem; font-weight: 600; }
.svc ul li::before { content: "+ "; color: var(--flare); }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }
.speed { background: var(--gold); color: var(--ink); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center; margin-top: clamp(32px, 5vw, 64px); }
.speed h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0; }
.speed ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-weight: 600; }
.speed li { padding-left: 26px; position: relative; }
.speed li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 12px; background: var(--ink); transform: rotate(45deg); }
@media (max-width: 760px) { .speed { grid-template-columns: 1fr; } }

/* ---------------- packages */
.pk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.pk { display: flex; flex-direction: column; background: var(--space-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 26px 24px; position: relative; }
.pk.featured { background: #fff; color: var(--ink); border-color: #fff; }
.pk.featured .muted { color: var(--muted); }
.pk .tier { font-weight: 800; font-size: 0.85rem; color: var(--gold); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.pk.featured .tier { color: var(--flare-ink); }
.pk .tier i { width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); display: inline-block; }
.pk h3 { font-size: 1.5rem; margin-bottom: 10px; }
.pk .tag { margin: 0 0 14px; font-size: 0.98rem; }
.pk dl { margin: 0 0 16px; padding: 14px 0; border-top: 1px solid rgba(128, 128, 140, 0.3); border-bottom: 1px solid rgba(128, 128, 140, 0.3); display: grid; gap: 6px; font-size: 0.92rem; }
.pk dt { font-weight: 700; }
.pk dd { margin: 0 0 6px; opacity: 0.85; }
.pk .inc { font-size: 0.95rem; flex: 1; }
.pk .inc ul { padding-left: 1.1em; margin: 0.4em 0; }
.pk .inc li { margin: 0.3em 0; }
.pk .inc p { margin-bottom: 0.4em; }
.pk .fine { font-size: 0.82rem; opacity: 0.7; margin: 10px 0 0; }
.pk .btn { margin-top: 18px; justify-content: center; }
.pk.featured .btn-ghost { color: var(--ink); }
.pk.featured .btn-ghost:hover { background: var(--ink); color: #fff; }
.pk .badge { position: absolute; top: -12px; right: 18px; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 0.78rem; padding: 6px 10px; border-radius: 999px; }
@media (max-width: 1000px) { .pk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pk-grid { grid-template-columns: 1fr; } }

/* ---------------- testimonials */
.quote-hero { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px clamp(20px, 3vw, 40px); align-items: start; margin-bottom: clamp(28px, 4vw, 48px); }
.quote-hero img { width: 120px; height: 120px; border-radius: 50%; }
.quote-hero blockquote { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; text-wrap: balance; }
.quote-hero cite { display: block; font-style: normal; margin-top: 16px; font-size: 1rem; font-weight: 600; }
.quote-hero cite small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 600px) { .quote-hero { grid-template-columns: 1fr; } .quote-hero img { width: 80px; height: 80px; } }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; position: relative; display: flex; flex-direction: column; }
.is-mist .t-card { background: #fff; }
.t-card::before { content: "\201C"; font-size: 4rem; line-height: 0.6; color: var(--flare); font-weight: 800; display: block; margin-bottom: 14px; }
.t-card blockquote { margin: 0 0 16px; flex: 1; font-size: 1rem; }
.t-card cite { font-style: normal; font-weight: 700; display: flex; gap: 12px; align-items: center; font-size: 0.95rem; }
.t-card cite img { width: 44px; height: 44px; border-radius: 50%; }
.t-card cite small { display: block; font-weight: 500; color: var(--muted); }
.t-leaders { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 900px) { .t-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .t-grid { grid-template-columns: 1fr; } }
.review-cta { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 36px; padding: 22px 24px; border-radius: var(--radius); background: var(--mist); }
.review-cta img { width: 88px; height: 88px; border-radius: var(--radius-s); }

/* ---------------- about */
.about { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.about .photo { border-radius: var(--radius); overflow: hidden; }
.about .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-weight: 600; font-size: 0.98rem; }
.facts li { padding: 8px 0; border-top: 1px solid var(--line); }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 500px) { .facts { grid-template-columns: 1fr; } }

/* ---------------- impact */
.impact-sec { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 20px clamp(24px, 5vw, 80px); }
.impact-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); position: sticky; top: 94px; }
.feat { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; padding: 18px 0; }
.feat img { width: 72px; height: 72px; object-fit: contain; }
.feat h3 { font-size: 1.25rem; margin: 2px 0 6px; }
.feat p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .impact-sec { grid-template-columns: 1fr; } .impact-sec h2 { position: static; } }

/* ---------------- posts */
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.post-card .cover { aspect-ratio: 16 / 10; background: var(--mist-2); overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 18px 20px 22px; }
.post-card time { font-size: 0.88rem; color: var(--muted); font-weight: 600; }
.post-card h3 { font-size: 1.2rem; margin: 6px 0 8px; }
.post-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.post-card:hover { color: inherit; }
@media (max-width: 900px) { .post-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .post-list { grid-template-columns: 1fr; } }

/* ---------------- forms */
.form { display: grid; gap: 16px; max-width: 640px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
label { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
label small { font-weight: 500; color: var(--muted); }
input, select, textarea { font: inherit; padding: 13px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--mist-2); background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(255, 196, 46, 0.5); }
textarea { min-height: 150px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices label { display: inline-flex; }
.choices input { position: absolute; opacity: 0; width: 0; height: 0; }
.choices span { padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--mist-2); cursor: pointer; font-weight: 600; font-size: 0.95rem; background: #fff; }
.choices input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choices input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 16px 18px; border-radius: var(--radius-s); background: var(--mist); font-weight: 600; }
.notice.err { background: #ffe7df; color: #8a2a0f; }
.notice.ok { background: #dff6f3; color: #0d5a53; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); }
.contact-card { background: var(--space); color: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); align-self: start; }
.contact-card a { text-decoration: none; }
.contact-card .big { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; display: block; line-height: 1.1; margin: 6px 0 18px; }
.contact-card .big:hover { color: var(--gold); }
.contact-card p { color: rgba(255, 255, 255, 0.78); }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------------- CTA band */
.cta { background: var(--flare); color: #fff; text-align: center; padding: clamp(60px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.4rem); margin: 0 auto 0.4em; max-width: 12em; }
.cta .lede { margin: 0 auto 1.6em; color: rgba(255, 255, 255, 0.9); }
.cta .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta .btn { background: #fff; color: var(--flare-ink); }
.cta .btn:hover { background: var(--ink); color: #fff; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta .btn-ghost:hover { background: #fff; color: var(--flare-ink); }
.cta .rocket { position: absolute; right: -2%; bottom: -8%; width: clamp(120px, 18vw, 260px); opacity: 0.9; transform: rotate(-20deg); pointer-events: none; }

/* ---------------- footer */
.foot { background: var(--space); color: rgba(255, 255, 255, 0.78); padding: clamp(40px, 6vw, 72px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--gold); }
.foot .brand { color: #fff; margin-bottom: 14px; }
.foot .note { font-size: 0.92rem; max-width: 30em; }
.foot-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 0.88rem; justify-content: space-between; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------------- faq */
.faq details { border-top: 1px solid var(--line); padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.15rem; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--flare); flex: none; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 0 18px; max-width: 42em; color: var(--muted); }

/* ---------------- ask widget */
.ask { position: fixed; right: 18px; bottom: 18px; z-index: 60; font-family: var(--font); }
.ask-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--ink); color: #fff; border: 0; font-weight: 700; cursor: pointer; box-shadow: 0 14px 34px rgba(15, 19, 34, 0.3); }
.ask-btn img { width: 30px; height: 30px; border-radius: 50%; }
.ask-panel { position: absolute; right: 0; bottom: 64px; width: min(380px, calc(100vw - 36px)); background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 70px rgba(15, 19, 34, 0.35); padding: 18px; display: none; }
.ask[data-open="1"] .ask-panel { display: block; }
.ask-panel h3 { font-size: 1.1rem; margin: 0 0 4px; }
.ask-panel .hint { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }
.ask-log { max-height: 280px; overflow: auto; display: grid; gap: 10px; margin-bottom: 12px; }
.ask-log .q { justify-self: end; background: var(--mist); padding: 10px 14px; border-radius: 16px 16px 4px 16px; max-width: 90%; font-size: 0.95rem; }
.ask-log .a { background: var(--space); color: #fff; padding: 10px 14px; border-radius: 16px 16px 16px 4px; max-width: 92%; font-size: 0.95rem; }
.ask-form { display: flex; gap: 8px; }
.ask-form input { flex: 1; padding: 11px 12px; }
.ask-form button { border: 0; background: var(--flare); color: #fff; border-radius: var(--radius-s); padding: 0 16px; font-weight: 700; cursor: pointer; }
.ask-panel .close { position: absolute; top: 10px; right: 12px; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--muted); }

/* ---------------- arcade */
.arcade { display: grid; gap: 28px; }
.arcade iframe { width: 100%; height: 720px; border: 0; border-radius: var(--radius); background: #fff; }
.arcade h2 { text-align: center; }

/* ---------------- 404 */
.nf { text-align: center; padding: clamp(60px, 10vw, 140px) 0; }
.nf h1 { font-size: clamp(3rem, 12vw, 9rem); color: var(--flare); margin-bottom: 0.1em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
