/* Propology Digital · warm charcoal palette */
:root {
  --ink: #22201C;
  --cream: #F7F4EE;
  --stone: #EBE5DA;
  --card: #FDFBF7;
  --line: #DAD2C4;
  --outline: #B8B0A0;
  --accent: #A8452A;
  --accent-hover: #86361F;
  --muted: #54504A;
  --on-dark: #CFC8BC;
  --yellow: #F2D14B;
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'IBM Plex Sans', Arial, sans-serif;
  --gutter: clamp(20px, 5.5vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 6px; z-index: 10; }

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

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 36px; font-size: 16px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--accent); }

/* Buttons and links */
.btn { display: inline-block; text-decoration: none; font-weight: 600; border-radius: 8px; padding: 16px 28px; font-size: 18px; white-space: nowrap; }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #3A362F; color: var(--cream); }
.btn-sm { padding: 12px 22px; font-size: 16px; }
.btn-lg { padding: 18px 32px; font-size: 20px; }
.link-strong { color: var(--ink); font-weight: 600; font-size: 18px; padding: 16px 8px; }

/* Type */
.eyebrow { font-size: 16px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); }
.eyebrow-muted { font-size: 14px; color: var(--muted); }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.12; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; }
.h2-lg { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.15; }
.h2-sans { font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; line-height: 1.3; }
.h2-cta { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; max-width: 860px; }
.lead { font-size: clamp(19px, 1.6vw, 22px); color: var(--muted); max-width: 760px; }
.sub { font-size: clamp(18px, 1.5vw, 21px); color: var(--muted); }
.body { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 960px; }

/* Bands */
.band-cream, .band-stone, .band-yellow { padding: clamp(56px, 6vw, 80px) 0; }
.band-cream { background: var(--cream); }
.band-stone { background: var(--stone); }
.band-yellow { background: var(--yellow); }

/* Hero */
.hero { padding: clamp(56px, 7vw, 104px) 0; }
.hero-inner { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); }
.hero-copy { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.hero-photo { width: clamp(240px, 26vw, 380px); height: auto; aspect-ratio: 380 / 440; object-fit: cover; border-radius: 16px; flex-shrink: 0; background: var(--stone); }
.pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: nowrap; gap: clamp(6px, 0.8vw, 12px); }
.pills li { font-size: clamp(12px, 1.12vw, 16px); font-weight: 500; white-space: nowrap; border: 1px solid var(--outline); background: var(--card); padding: clamp(5px, 0.55vw, 8px) clamp(10px, 1.25vw, 18px); border-radius: 999px; }
.pills li.pill-yellow, .pill-yellow { background: var(--yellow); border-color: var(--yellow); font-weight: 600; }
.pill-solo { align-self: flex-start; font-size: 16px; padding: 8px 18px; border-radius: 999px; }
.actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* Problem */
.split { display: flex; gap: 64px; align-items: center; }
.split-head { width: 480px; flex-shrink: 0; display: flex; flex-direction: column; gap: 20px; }
.stack { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.note-card { padding: 24px 28px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; font-size: 19px; }

/* Services */
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.journey { list-style: none; padding: 0; margin: 0; display: flex; align-items: stretch; gap: 16px; }
.step { flex: 1; padding: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.step-num { font-family: var(--serif); font-size: 28px; color: var(--accent); }
.tag-yellow { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; background: var(--yellow); padding: 6px 12px; border-radius: 999px; }
.step h3 { font-size: 24px; font-weight: 600; }
.step p { font-size: 18px; color: var(--muted); }
.arrow { display: flex; align-items: center; font-size: 28px; color: var(--accent); }

/* Method */
.narrow-block { display: flex; flex-direction: column; gap: 20px; }
.narrow-block .h2 { max-width: 1000px; }

/* About */
.about { display: flex; gap: 64px; align-items: center; }
.about-photo { width: 300px; height: 360px; object-fit: cover; border-radius: 16px; flex-shrink: 0; background: var(--stone); }
.about-copy { flex: 1; display: flex; flex-direction: column; gap: 24px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.three h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.three p { font-size: 17px; line-height: 1.55; color: var(--muted); }

/* Airtable panel */
.panel { border: 2px solid var(--ink); border-radius: 20px; padding: 48px 56px; background: var(--card); display: flex; flex-direction: column; gap: 36px; }
.panel-main { display: flex; gap: 64px; align-items: flex-start; }
.panel-intro { width: 380px; flex-shrink: 0; display: flex; flex-direction: column; gap: 18px; }
.panel-intro p { font-size: 17px; line-height: 1.6; color: var(--muted); }
.panel-rows { flex: 1; display: flex; flex-direction: column; }
.row { display: flex; flex-direction: column; gap: 6px; padding: 22px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.row:first-child { padding-top: 0; }
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row-title { font-size: 20px; font-weight: 600; }
.row:hover .row-title { color: var(--accent); }
.row-body { font-size: 17px; line-height: 1.55; color: var(--muted); }
.panel-foot { padding-top: 20px; border-top: 1px solid var(--line); font-size: 17px; color: var(--muted); }
.panel-foot b { color: var(--ink); }

/* CTA */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 48px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); font-size: 15px; padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-links { display: flex; gap: 24px; }
.site-footer a { color: var(--on-dark); }
.site-footer a:hover { color: var(--yellow); }

/* Privacy page */
.prose { max-width: 760px; padding: clamp(48px, 6vw, 88px) 0; display: flex; flex-direction: column; gap: 18px; }
.prose h1 { font-size: clamp(34px, 4vw, 48px); }
.prose h2 { font-size: 22px; font-weight: 600; margin-top: 16px; }
.prose p, .prose li { font-size: 18px; line-height: 1.6; color: var(--muted); }

/* Tablet */
@media (max-width: 1100px) {
  .hero-inner, .split, .about, .panel-main { gap: 40px; }
  .split-head { width: 380px; }
  .panel-intro { width: 300px; }
  .journey { flex-direction: column; }
  .arrow { justify-content: center; transform: rotate(90deg); font-size: 24px; }
}

/* Mobile */
@media (max-width: 760px) {
  .header-inner { height: 68px; }
  .logo { font-size: 18px; }
  .nav a:not(.btn) { display: none; }
  .btn-sm { padding: 10px 16px; font-size: 15px; }
  .hero-inner, .split, .about, .panel-main, .cta, .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-photo { order: -1; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .pills { flex-wrap: wrap; gap: 8px; }
  .pills li { font-size: 14px; padding: 6px 14px; }
  .about-photo { width: 160px; height: 192px; }
  .split-head, .panel-intro { width: auto; }
  .three { grid-template-columns: 1fr; }
  .panel { padding: 28px 22px; border-radius: 16px; }
  .step { padding: 28px; }
  .btn { white-space: normal; text-align: center; }
  .eyebrow { font-size: 13px; letter-spacing: 2px; }
  .row-title { font-size: 18px; }
  .link-strong { padding: 8px 0; }
}

/* Small tablets: let the pills wrap rather than squeeze */
@media (max-width: 880px) {
  .pills { flex-wrap: wrap; }
}