/* michaelrkeeler.com — Seth Godin direction
   Paper #F6F1E9 · Ink #181410 · Terracotta #D9531E / #B23F13 */

:root {
  --paper: #F6F1E9;
  --paper-2: #EFE9DE;
  --card: #FFFDF9;
  --ink: #181410;
  --ink-2: #34302A;
  --muted: #4A4339;
  --muted-2: #6B6255;
  --border: #E2DACB;
  --border-2: #D8CFBC;
  --accent: #D9531E;        /* large text + solid fills only */
  --accent-text: #B23F13;   /* links + small type (AA on paper) */
  --accent-dark-bg: #E8763F;
  --dark-surface: #23201A;
  --dark-border: #3A352D;
  --dark-muted: #A8A093;
  --dark-muted-2: #9A9287;
  --gutter: clamp(20px, 6vw, 88px);
  --maxw: 1264px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: pretty;
}

p { margin: 0; }

a { color: var(--accent-text); text-decoration: none; }
a:hover { color: #8A2F0D; text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: var(--paper);
  padding: 12px 20px; border-radius: 0 0 8px 0; z-index: 100;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }

/* ---------- nav ---------- */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding-block: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: 'Fraunces', Georgia, serif; font-size: 19px; font-weight: 600;
}
.brand span { font-family: 'Fraunces', Georgia, serif; font-size: 20px; font-weight: 600; white-space: nowrap; }
.nav-links { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.btn {
  display: inline-block; border-radius: 999px; font-weight: 600; white-space: nowrap;
  padding: 14px 26px; font-size: 16px; border: 1px solid transparent;
  cursor: pointer; text-align: center;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent-text); color: #fff; }
.btn-primary:hover { background: #8A2F0D; color: #fff; }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--border-2); }
.btn-ghost:hover { background: #EFE9DE; color: var(--ink); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding-block: clamp(48px, 7vw, 76px) clamp(56px, 8vw, 92px); }
.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent-text); flex: none; }
.eyebrow span { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.hero h1 { font-size: clamp(38px, 5.1vw, 66px); line-height: 1.06; margin-bottom: 26px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.62; color: var(--muted); max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }

.portrait-wrap { justify-self: end; position: relative; width: min(400px, 100%); }
.portrait-wrap::after {
  content: ""; position: absolute; inset: 16px -16px -16px 16px;
  background: var(--accent); border-radius: 26px; z-index: 0;
}
.portrait {
  position: relative; z-index: 1; aspect-ratio: 40 / 43;
  background: #E7E2D8; border: 1px solid var(--border-2); border-radius: 22px;
  display: grid; place-items: center; overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.portrait .ph { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); text-align: center; padding: 20px; }
.portrait-chip {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--paper); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 8px 16px;
  border-radius: 999px; white-space: nowrap; z-index: 2;
}

/* ---------- proof bar ---------- */
.proof {
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.proof ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 10px 18px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.proof li { display: flex; align-items: center; gap: 18px; }
.proof li:not(:last-child)::after { content: "\00B7"; color: #B9AC92; }

/* ---------- two-column prose ---------- */
.split { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(28px, 5vw, 72px); }
.split h2 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.12; }
@media (min-width: 1001px) {
  .split > h2, .split > .about-side { position: sticky; top: 36px; align-self: start; }
}
.about-side .inset { max-width: 360px; }
.about-side figcaption { font-size: 14px; line-height: 1.5; color: var(--muted-2); padding-top: 10px; }
.prose { display: flex; flex-direction: column; gap: 20px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.72; color: var(--ink-2); }
.prose .pull {
  font-family: 'Fraunces', Georgia, serif; font-size: clamp(20px, 1.8vw, 23px);
  line-height: 1.5; color: var(--accent-text); font-style: italic;
}

/* ---------- cards ---------- */
.kicker { font-size: 14px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 36px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 18px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 14px;
}
.card-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-text); }
.card h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.22; }
.card p { font-size: 16px; line-height: 1.65; color: var(--muted); }
.card .more { font-size: 15px; font-weight: 600; margin-top: auto; padding-top: 4px; }
.talk-list {
  list-style: none; margin: 2px 0 0; padding: 15px 0 0;
  border-top: 1px solid #EDE6DA;
  display: flex; flex-direction: column; gap: 7px;
  font-size: 15px; line-height: 1.45; color: var(--ink-2);
}

/* ---------- testimonials ---------- */
.tsection { background: var(--paper-2); border-top: 1px solid var(--border); }
.tsection-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; margin-bottom: 38px; }
.tsection-head h2 { font-size: clamp(30px, 3.3vw, 42px); line-height: 1.12; }
.tcard {
  background: var(--card); border: 1px dashed #C8AF96; border-radius: 18px;
  padding: 30px 26px; display: flex; flex-direction: column; gap: 16px;
}
.tcard.filled { border: 1px solid var(--border); }
.tcard.filled blockquote { color: var(--ink); }
.tcard figcaption b { color: var(--ink); font-weight: 600; }
.tcard .quote-mark { font-family: 'Fraunces', Georgia, serif; font-size: 40px; line-height: .6; color: var(--accent); }
.tcard blockquote { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.tcard figcaption { margin-top: auto; padding-top: 14px; border-top: 1px solid #EDE6DA; font-size: 14px; line-height: 1.5; color: var(--muted-2); }
.tcard-top { display: flex; justify-content: space-between; align-items: flex-start; }
.tnum { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; color: #7D7259; }

/* ---------- dark sections ---------- */
.dark { background: var(--ink); color: var(--paper); }
.dark h2 { color: var(--paper); }
.dark .eyebrow::before { background: var(--accent-dark-bg); }
.dark .eyebrow span { color: var(--accent-dark-bg); }
.dark p { color: var(--dark-muted); }
.dark a { color: var(--accent-dark-bg); }
.magnet { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.magnet h2 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.panel {
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; gap: 13px;
}
.panel h3 { font-size: 24px; color: var(--paper); }
.fine { font-size: 13px; line-height: 1.5; color: var(--dark-muted-2); }

/* ---------- forms ---------- */
label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--paper); }
input, textarea {
  width: 100%; font: inherit; font-size: 15px;
  background: var(--ink); color: var(--paper);
  border: 1px solid var(--dark-border); border-radius: 12px;
  padding: 14px 16px;
}
.panel input { background: var(--ink); border-radius: 999px; }
input::placeholder, textarea::placeholder { color: var(--dark-muted-2); }
.field { margin-bottom: 12px; }
.hp { position: absolute; left: -9999px; }

.contact { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.04; margin-bottom: 16px; }
.email-link { font-size: 18px; font-weight: 600; }

/* ---------- footer ---------- */
.foot {
  display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between;
  margin-top: 68px; padding-top: 24px; border-top: 1px solid var(--dark-border);
  font-size: 14px; color: var(--dark-muted-2);
}
.foot a { color: var(--dark-muted-2); }
.foot nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* ---------- inner page bits ---------- */
.page-head { padding-block: clamp(48px, 7vw, 76px) clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--border); }
.page-head h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.06; margin-bottom: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 30px 6px; list-style: none; margin: 0; padding-inline: 0; }
.chip { display: inline-block; font-size: 14px; font-weight: 600; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--border-2); color: var(--muted); background: var(--paper); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.note-box {
  margin-top: 28px; background: var(--paper-2); border: 1px dashed #C8AF96;
  border-radius: 18px; padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.note-box b { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-text); }
.note-box span { font-size: 16px; line-height: 1.6; color: var(--muted); }
.cta-bar { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.cta-bar h2 { font-size: clamp(28px, 3.3vw, 42px); line-height: 1.08; margin-bottom: 12px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; gap: 40px; }
  .portrait-wrap { justify-self: start; width: min(340px, 100%); }
  .split, .magnet, .contact { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .nav { flex-wrap: wrap; row-gap: 14px; }
  .brand span { font-size: 18px; }
  .nav .btn-sm { font-size: 13px; padding: 9px 16px; }
  .nav-links {
    order: 3; width: 100%; gap: 20px; font-size: 14px;
    overflow-x: auto; padding-bottom: 4px;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links a { white-space: nowrap; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .proof ul { justify-content: flex-start; }
  .portrait-wrap { width: 100%; max-width: 340px; }
}
@media (max-width: 420px) {
  .nav .btn-sm { display: none; }
}

/* ---------- light-background forms (share your story) ---------- */
.card label.lbl { color: var(--ink); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.card .hint { font-size: 14px; line-height: 1.5; color: var(--muted-2); margin-bottom: 8px; }
.card input, .card textarea, .card select {
  background: var(--paper); color: var(--ink); border: 1px solid var(--border-2); border-radius: 12px;
}
.card input::placeholder, .card textarea::placeholder { color: #948B7C; }
.card select { width: 100%; font: inherit; font-size: 15px; padding: 14px 16px; appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 14px) 22px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.card .field { margin-bottom: 20px; }

/* ---------- photography ---------- */
.portrait { background: #E7E2D8; }
.portrait picture, .portrait img { width: 100%; height: 100%; display: block; }
.portrait img { object-fit: cover; }

.band { position: relative; line-height: 0; background: var(--paper-2); }
.band img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; display: block; }
.band figcaption {
  line-height: 1.55; font-size: 14px; color: var(--muted-2);
  padding: 14px var(--gutter) 0; max-width: var(--maxw); margin: 0 auto;
}

.inset { line-height: 0; }
.inset img { border-radius: 18px; border: 1px solid var(--border-2); }
.inset img { width: 100%; display: block; }
.prose .inset { margin-top: 8px; max-width: 360px; }
.prose figure { margin: 0; }
.prose figcaption { font-size: 14px; line-height: 1.55; color: var(--muted-2); padding-top: 10px; }

.page-head-media { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
@media (max-width: 860px) { .page-head-media { grid-template-columns: 1fr; } .page-head-media .inset { max-width: 340px; } }
