@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/playfair-italic-600.woff2") format("woff2");
}

:root {
  --bg: #14110f;
  --bg-card: #1e1a17;
  --bg-card-hover: #262019;
  --text: #f2ede7;
  --text-muted: #a89d92;
  --accent: #f2740b;
  --accent-soft: rgba(242, 116, 11, 0.12);
  --border: #322b25;
  --radius: 12px;
}

* { box-sizing: border-box; }

#velocity-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

header.site, main, footer.site {
  position: relative;
  z-index: 1;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

header.site {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--text);
  font-size: 2.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.logo .mark {
  display: block;
  height: 64px;
  width: auto;
}

.logo:hover { text-decoration: none; }

.logo b { font-weight: 700; }

.logo span { color: var(--accent); }

nav a {
  color: var(--text-muted);
  margin-left: 24px;
  font-size: 0.95rem;
}

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

@media (max-width: 720px) {
  header.site { padding: 16px 0; }

  header.site .wrap {
    flex-direction: column;
    gap: 14px;
  }

  .logo { font-size: 1.6rem; gap: 12px; }

  .logo .mark { height: 44px; }

  nav {
    display: flex;
    gap: 26px;
  }

  nav a { margin-left: 0; }
}

.hero {
  padding: 72px 0 40px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.08em;
  color: var(--accent);
  padding-right: 0.06em;
}

/* Sheen sweeping through the glyphs themselves (same cadence as the cards). */
@supports (-webkit-background-clip: text) {
  .hero h1 em {
    background: linear-gradient(100deg, var(--accent) 42%, #ffdcb0 50%, var(--accent) 58%);
    background-size: 200% 100%;
    background-position: 150% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: text-sheen 3.8s ease-in-out infinite;
  }
}

@keyframes text-sheen {
  0% { background-position: 150% 0; }
  100% { background-position: -50% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 em { animation: none; }
}

.hero p {
  color: #d9cfc5;
  font-size: 1.3rem;
  max-width: 620px;
  margin: 0 auto;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 8px;
}

section { padding: 32px 0; }

section.panel {
  background: rgba(28, 23, 20, 0.82);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 44px 40px;
  margin: 28px 0;
}

@media (max-width: 640px) {
  section.panel { padding: 32px 24px; }
}

section h2 {
  font-size: 1.6rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: #241e19;
  border: 1px solid #3a322b;
  border-radius: var(--radius);
  padding: 24px;
  transition: background 0.15s ease;
}

.card:hover { background: var(--bg-card-hover); }

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.card-head img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card h3 span { color: var(--accent); }

.card .role {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin: 2px 0 0;
}

.card p.desc {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 16px;
}

.badge {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.principle {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #d97e33 0%, #bd6012 55%, #a85408 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow:
    0 12px 30px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(242, 116, 11, 0.18),
    0 18px 44px -18px rgba(242, 116, 11, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.principle:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 30px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(242, 116, 11, 0.4),
    0 22px 52px -16px rgba(242, 116, 11, 0.45);
}

@keyframes transit-sheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(220%); }
}

.principle::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: transit-sheen 7.2s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .principle::after { animation: none; }
}

.principle.wide {
  grid-column: 1 / -1;
  background: #241e19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

.principle.wide::after { display: none; }

.principle.wide:hover {
  transform: none;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5);
}

@media (max-width: 760px) {
  .principles { grid-template-columns: 1fr; }
}

.principle h3 {
  font-size: 1.02rem;
  margin: 0 0 6px;
  color: #120900;
}

.principle p {
  color: #1e1002;
  font-size: 0.95rem;
  margin: 0;
}

.principle.wide h3 { color: var(--text); }

.principle.wide p { color: var(--text-muted); }

footer.site {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  margin-top: 48px;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--bg);
}

footer.site .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
}

.prose {
  padding: 56px 0;
  max-width: 720px;
}

.prose h1 { font-size: 2rem; margin: 0 0 8px; }

.prose .updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0 32px;
}

.prose h2 { font-size: 1.25rem; margin: 32px 0 8px; }

.prose p, .prose li { color: var(--text); }
