/* pasi.llc: calm, editorial, mobile-first. Palette and type follow marketing/landing-page-design.md. */
@font-face { font-family: 'Playfair Display'; font-weight: 600; font-display: swap; src: url('../fonts/playfair-display-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-weight: 700; font-display: swap; src: url('../fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('../fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('../fonts/inter-latin-600-normal.woff2') format('woff2'); }

:root {
  --paper: #faf8f3;
  --paper-2: #f3efe6;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2ddd2;
  --accent: #10b981;
  --button: #047857;
  --button-hover: #065f46;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --dark-text: #e2e8f0;
  --dark-muted: #94a3b8;
  --amber: #fbbf24;
  --radius: 12px;
  --max: 1120px;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--button); text-underline-offset: 3px; }
a:hover { color: var(--button-hover); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 12px; }
.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--button); margin-bottom: .9em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.section { padding: 72px 0; }
.section + .section { border-top: 1px solid var(--line); }
.notice { background: #fff7e0; border-bottom: 1px solid #f5d98b; color: #6b4e00; font-size: .85rem; text-align: center; padding: 6px 12px; }

/* Buttons: at least 44px tall; emerald-700 on light passes AA with white text. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 46px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--button); color: #fff; }
.btn-primary:hover { background: var(--button-hover); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-link { font-weight: 600; text-decoration: none; min-height: 46px; display: inline-flex; align-items: center; }
.btn-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 243, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.wordmark { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; letter-spacing: .06em; color: var(--ink); text-decoration: none; }
.nav { display: none; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 600; }
.nav a:hover { color: var(--button); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.header-actions .btn { min-height: 44px; padding: 0 14px; font-size: .92rem; }
.header-actions .talk { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; min-width: 44px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 10px; font-weight: 600; font-size: .9rem; padding: 0 10px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: flex; }
.menu-panel { display: none; position: absolute; right: 0; top: 52px; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 30px rgba(15, 23, 42, .12); padding: 8px; min-width: 220px; }
.menu-panel a { padding: 12px 14px; text-decoration: none; color: var(--ink); font-weight: 600; border-radius: 8px; }
.menu-panel a:hover { background: var(--paper-2); }
@media (min-width: 900px) {
  .nav { display: flex; }
  .menu { display: none; }
  .header-actions .talk { display: inline-flex; }
}

/* Hero: text column beside the image on desktop (the desktop image has no empty area for text). */
.hero { padding: 40px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; margin: 28px 0 12px; }
.hero-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 20px 50px rgba(15, 23, 42, .14); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 80px; }
  .hero-grid { grid-template-columns: 5fr 6fr; gap: 48px; }
  .hero-media img { aspect-ratio: 16 / 10; }
}

/* Generic two-column feature rows */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.reverse > :first-child { order: 2; } }
.points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.points li { padding-left: 34px; position: relative; }
.points li::before { content: ''; position: absolute; left: 0; top: .35em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.points strong { color: var(--ink); }

/* Dark flagship band */
.band { background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%); color: var(--dark-text); padding: 80px 0; }
.band h2, .band h3 { color: #fff; }
.band .lead, .band p { color: var(--dark-muted); }
.band .eyebrow { color: #6ee7b7; }
.band a { color: #6ee7b7; }
.band a:hover { color: #a7f3d0; }
.pillars { display: grid; gap: 18px; margin: 40px 0 28px; }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 24px; }
.pillar .tag { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6ee7b7; }
.pillar h3 { margin-top: .4em; }
.pillar p { margin: 0; }
.shots { display: grid; gap: 28px; margin-top: 44px; align-items: start; }
@media (min-width: 900px) { .shots { grid-template-columns: 1fr 1fr; } .shot.wide, .shot-note { grid-column: 1 / -1; } }
.shot { margin: 0; }
.shot a { display: block; border-radius: 10px; }
.shot img { box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.shot-note { margin: 0; color: var(--dark-muted); }
.shot .frame { aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: repeating-linear-gradient(135deg, rgba(255,255,255,.03) 0 12px, rgba(255,255,255,.06) 12px 24px); display: grid; place-items: center; text-align: center; color: var(--dark-muted); font-size: .85rem; padding: 16px; overflow: hidden; }
.shot img { border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); }
.shot figcaption { margin-top: 10px; font-size: .92rem; color: var(--dark-muted); }
.shield { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.shield svg { width: 22px; height: 22px; }

/* How it works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps li { counter-increment: step; padding-left: 58px; position: relative; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-weight: 700; display: grid; place-items: center; }
.steps strong { display: block; font-size: 1.1rem; }

.closing { font-family: var(--serif); font-style: italic; font-size: 1.25rem; margin-top: 28px; color: var(--ink); }

/* Founding firms */
.founding { background: var(--paper-2); }
.cards { display: grid; gap: 18px; margin: 32px 0; }
@media (min-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; }
.card ul { margin: 0; padding-left: 1.2em; }
.card li + li { margin-top: .5em; }

/* About */
.note { margin: 28px 0 0; padding: 28px; border-left: 4px solid var(--accent); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.note p:last-child { margin: 0; }
.signoff { font-weight: 600; color: var(--muted); }

/* Footer */
.site-footer { background: var(--dark); color: var(--dark-muted); padding: 48px 0; font-size: .92rem; }
.site-footer a { color: #e2e8f0; }
.footer-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 3fr; align-items: start; } }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer-links a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: .06em; color: #fff; }
