/* mikeyenglish.com — v1 */
:root {
  --paper:        #F6F1E7;
  --paper-warm:   #EFE8D8;
  --ink:          #0F1B3A;
  --ink-soft:     #2F3A56;
  --rule:         #C9C0A8;
  --irish:        #1D5A3A;
  --rugby:        #0B3B7A;
  --gold:         #B98837;
  --rosette:      #B0314B;
  --max:          1280px;
  --gutter:       clamp(20px, 4vw, 64px);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --text:  'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', Times, serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 17px; -webkit-text-size-adjust: 100%; }
@media (min-width: 1200px) { html { font-size: 18px; } }

body {
  font-family: var(--text);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--irish); }

/* ---------- HEADER ---------- */
.site-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 16px 32px;
  padding: 28px var(--gutter) 0;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.pronounce {
  font-family: var(--text);
  color: var(--ink-soft);
  font-size: 14px;
  font-style: italic;
}
.site-nav { display: flex; flex-wrap: wrap; gap: 18px 26px; }
.site-nav a {
  font-family: var(--serif);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: border-color .15s ease, color .15s ease;
}
.site-nav a:hover { border-bottom-color: var(--irish); color: var(--ink); }
.site-nav a.nav-media { color: var(--irish); font-weight: 600; }

/* ---------- HERO ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 32px var(--gutter) 56px;
  max-width: var(--max);
  margin: 0 auto;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: end; padding-top: 56px; }
}
.hero-photo img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}
.hero-photo figcaption,
.full-bleed figcaption,
.two-col figcaption,
.action-grid figcaption {
  font-family: var(--text);
  font-style: italic;
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 10px;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  color: var(--irish);
  margin: 0 0 14px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  text-wrap: balance;
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 38ch;
}
.hero-meta {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin: 24px 0 0;
}
.hero-meta span { display: inline-block; }

/* ---------- CHAPTERS ---------- */
.chapter {
  padding: 64px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--rule);
}
.chapter:first-of-type { border-top: 0; }
.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  gap: 4px 24px;
  margin-bottom: 36px;
}
.chapter-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--irish);
  grid-row: 1; grid-column: 1;
}
.chapter-head h2 {
  grid-row: 1; grid-column: 2;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
}
.chapter-sub {
  grid-row: 2; grid-column: 2;
  font-family: var(--text);
  color: var(--ink-soft);
  font-size: 17px;
  margin: 6px 0 0;
  font-style: italic;
}
.body-lede { font-size: 19px; line-height: 1.5; margin: 0 0 18px; max-width: 50ch; }

/* ---------- HORSES ---------- */
.horse-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.horse-card {
  padding: 24px 22px;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  border-radius: 2px;
}
.horse-card.aside { background: transparent; border-style: dashed; }
.horse-name { margin-bottom: 10px; }
.horse-name h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.horse-name span {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--irish);
}
.horse-card p { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--ink-soft); }

/* ---------- TWO COLUMN ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 800px) {
  .two-col { grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 4vw, 64px); }
  .two-col.reverse { grid-template-columns: 1.2fr 1fr; }
  .two-col.reverse > :first-child { order: 1; }
}
.two-col p { margin: 0 0 16px; }
.kit-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--rule);
}
.kit-list li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.kit-list span {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.kit-list strong { font-weight: 500; }

/* ---------- ACTION GRID ---------- */
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 56px 0;
}
@media (min-width: 700px) {
  .action-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}
.action-grid img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  border-radius: 2px;
}

/* ---------- FULL BLEED ---------- */
.full-bleed {
  margin: 48px calc(-1 * var(--gutter)) 0;
}
.full-bleed img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  border-radius: 0;
}
.full-bleed figcaption {
  padding: 0 var(--gutter);
}

/* ---------- RUGBY (accent swap) ---------- */
.chapter-rugby .chapter-num,
.chapter-rugby .kit-list span { color: var(--rugby); }
.chapter-rugby a:hover { color: var(--rugby); }
.rugby-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 40px 0 12px;
}
@media (min-width: 800px) {
  .rugby-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.rugby-grid img {
  width: 100%; height: auto;
  object-fit: cover;
  border-radius: 2px;
}
.photo-credit {
  font-family: var(--text);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 12px 0 0;
}

/* ---------- SKIING ---------- */
.chapter-skiing .chapter-num { color: #5C7A99; }
.chapter-skiing figure img { aspect-ratio: 3/4; object-fit: cover; }

/* ---------- SPORTS ROW ---------- */
.sports-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.sport {
  padding: 32px 22px;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  border-radius: 2px;
}
.sport h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.sport p {
  margin: 0;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- MEDIA STRIP ---------- */
.media-strip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .media-strip-grid { grid-template-columns: repeat(2, 1fr); }
}
.media-strip-card {
  display: block;
  padding: 20px 18px;
  border: 1px solid var(--rule);
  background: var(--paper-warm);
  text-decoration: none;
  border-radius: 2px;
}
.media-strip-card:hover { border-color: var(--irish); color: var(--ink); }
.media-strip-card .src {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--irish);
  margin-bottom: 8px;
}
.media-strip-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.media-strip-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- SHOP / CONTACT ---------- */
.shop-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 8px 0 32px;
}
@media (min-width: 700px) { .shop-teaser { grid-template-columns: repeat(5, 1fr); gap: 18px; } }
.shop-tile {
  display: block;
  aspect-ratio: 11/13;
  overflow: hidden;
  border-radius: 2px;
  background: var(--paper-warm);
}
.shop-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.shop-tile:hover img { transform: scale(1.02); }
.shop-cta {
  font-family: var(--serif);
  font-size: 18px;
  margin: 0;
}
.shop-cta a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 3px;
}
.contact-line {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 24px 0 0;
}
.contact-line a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
}

/* ---------- FOOTER ---------- */
.site-foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 56px;
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
}
.foot-line, .foot-cred {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin: 0;
}
.foot-cred { font-style: italic; letter-spacing: 0; }

/* ---------- TYPOGRAPHIC POLISH ---------- */
::selection { background: var(--ink); color: var(--paper); }
p, li { hyphens: auto; -webkit-hyphens: auto; }
