/* AumCreate static site — shared design system.
   Brand tokens mirror the main aumcreate site: warm orange-red accent
   (#e8501a) on a warm off-white "paper" surface. Loaded by every page so
   the whole site stays visually consistent. */

:root {
  --brand: #e8501a;
  --brand-600: #cf3f0f;
  --brand-50: #fef4f0;
  --brand-100: #fde6dc;
  --paper: #faf7f2;
  --surface: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4a463f;
  --ink-muted: #8a847a;
  --line: #ece7df;
  --shadow-brand: 0 8px 24px rgba(232, 80, 26, 0.24);
  --radius: 14px;
  --maxw: 1180px;
  --content: 760px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── Header / nav ─────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800; font-size: 20px; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.brand span { color: var(--brand); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--ink-soft); font-size: 15px; font-weight: 500;
  text-decoration: none; transition: color 0.15s;
}
.nav-links a:hover { color: var(--brand); }
.nav-cta {
  background: var(--brand); color: #fff !important;
  padding: 9px 18px; border-radius: 10px; font-weight: 600;
  box-shadow: var(--shadow-brand);
}
.nav-cta:hover { background: var(--brand-600); text-decoration: none !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 24px; cursor: pointer; color: var(--ink); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 12px; cursor: pointer;
  transition: transform 0.15s, background 0.15s; border: 0;
}
.btn-primary {
  background: var(--brand); color: #fff !important;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); text-decoration: none !important; }
.btn-ghost {
  background: transparent; color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand) !important; text-decoration: none !important; }

/* ── Sections ─────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.eyebrow {
  display: inline-block; border: 1px solid var(--brand);
  background: var(--brand-50); color: var(--brand);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px;
}
h1.display {
  font-size: clamp(34px, 5vw, 56px); font-weight: 800;
  letter-spacing: -0.025em; line-height: 1.08; margin-top: 22px;
}
h2.display {
  font-size: clamp(26px, 3.5vw, 38px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.15;
}
.lead { font-size: 19px; color: var(--ink-soft); margin-top: 22px; max-width: 680px; }
.hero { background: radial-gradient(125% 125% at 0% 0%, var(--brand-50) 0%, var(--paper) 55%); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(28,26,23,0.08); }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--ink); color: #d8d4cc; padding: 56px 0 32px;
}
.site-footer a { color: #d8d4cc; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand { font-size: 22px; font-weight: 800; color: #fff; }
.footer-brand span { color: var(--brand); }
.footer-col h4 { font-size: 14px; color: #fff; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; font-size: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); margin-top: 40px;
  padding-top: 24px; font-size: 13px; color: var(--ink-muted);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ── Utilities ────────────────────────────────────────────── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.muted { color: var(--ink-muted); }
.chip {
  display: inline-block; background: var(--brand-50); color: var(--brand);
  font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 999px;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 64px; left: 0; right: 0; background: var(--surface);
    border-bottom: 1px solid var(--line); padding: 16px 24px; gap: 16px;
  }
  .nav-toggle { display: block; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
}

/* ── Case filter chips ────────────────────────────────────── */
.filter-chip {
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-soft); font-size: 14px; font-weight: 500;
  padding: 8px 16px; border-radius: 999px; cursor: pointer;
  transition: all 0.15s; font-family: var(--font);
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ── Case cards with thumbnail ────────────────────────────── */
.case-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(28,26,23,0.12); }
.case-card:hover .case-overlay { opacity: 1; }
.case-card:hover .case-thumb img { transform: scale(1.04); }
.case-thumb {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background: var(--paper); border-bottom: 1px solid var(--line);
}
.case-thumb img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 0.4s ease;
}
.case-overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(232,80,26,0.82);
  color: #fff; font-weight: 700; font-size: 15px; opacity: 0;
  transition: opacity 0.2s;
}
.case-body { padding: 16px 18px 18px; }
.case-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.case-head strong { font-size: 16px; letter-spacing: -0.01em; }
.case-desc { color: var(--ink-muted); font-size: 13px; margin-top: 8px; line-height: 1.5; }
