:root {
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: #e5e5ea;
  --accent: #c8091e;
  --accent-2: #ff4d3d;
  --dark: #000000;
  --dark-muted: #a1a1a6;
  --radius: 22px;
  --max: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

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

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 16px; }
.brand { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-logo { width: 40px; height: 40px; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; font-size: 16px; font-weight: 500; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; background: var(--accent); color: #fff;
  border: 1px solid var(--accent); transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: #a80719; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: rgba(200, 9, 30, 0.06); }
.btn-sm { font-size: 14px; padding: 8px 16px; }
.btn-lg { font-size: 18px; padding: 14px 26px; }

/* Type */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin-bottom: 14px; letter-spacing: 0.01em; }
.eyebrow-dark { color: #ff5a5f; }
.grad {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero */
.hero { padding: 72px 0 88px; background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 700; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 52ch; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips li { font-size: 13px; font-weight: 500; color: var(--text); background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }

.hero-portrait { position: relative; background: #fff; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04); }
.hero-portrait img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.hero-portrait figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 16px; padding: 12px 16px; font-size: 14px;
}
.hero-portrait figcaption strong { font-size: 16px; }
.hero-portrait figcaption span { color: var(--muted); }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); letter-spacing: -0.03em; line-height: 1.1; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--bg-soft); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: 80px; transition: transform 0.3s, box-shadow 0.3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.25); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 26px 26px 30px; display: flex; flex-direction: column; gap: 10px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 16px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.card li { font-size: 15px; padding-left: 24px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 0; top: 0.35em; width: 14px; height: 14px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Image band */
.band {
  padding: 0; min-height: 420px; display: flex;
  background: url("https://images.unsplash.com/photo-1557804506-669a67965ba0?auto=format&fit=crop&w=2000&q=75") center / cover no-repeat;
}
.band-overlay { flex: 1; display: flex; align-items: flex-end; background: linear-gradient(90deg, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 55%, rgba(0,0,0,0.1) 100%); padding: 56px 0; }
.band-quote { text-shadow: 0 2px 24px rgba(0,0,0,0.4); color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; max-width: 18ch; }

/* Dark */
.dark { background: var(--dark); color: #f5f5f7; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.principle { background: #1d1d1f; border-radius: var(--radius); padding: 30px; }
.principle .idx { display: block; font-size: 13px; color: var(--dark-muted); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.principle h3 { font-size: 20px; margin-bottom: 8px; letter-spacing: -0.015em; }
.principle p { font-size: 16px; color: var(--dark-muted); }

/* Contact */
.contact-box {
  border-radius: 28px; padding: 48px;
  background: linear-gradient(135deg, #fff1f1 0%, #fff6ef 100%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.contact-box h2 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; line-height: 1.15; }
.contact-box p { color: var(--muted); margin-top: 8px; }

footer { border-top: 1px solid var(--line); padding: 24px 0 36px; color: var(--muted); font-size: 13px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-portrait { max-width: 420px; }
  .pillars, .principles { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero { padding: 48px 0 64px; }
  section { padding: 64px 0; }
  .band { min-height: 300px; }
  .band-overlay { padding: 36px 0; }
  .contact-box { padding: 30px; }
}

/* Portrait caption sits below the image instead of over it */
.hero-portrait figcaption { position: static; background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-radius: 0; padding: 16px 20px; border-top: 1px solid var(--line); }
.band-overlay .wrap { width: 100%; }
