/* troymilligan.com — warm paper and gold, same family as Mindset Magic Academy. */

:root {
  --paper: #f3ece0;
  --paper-2: #e9dfcd;
  --card: #fbf7f0;
  --ink: #221a12;
  --ink-soft: #4a3d2e;
  --muted: #7a6a55;
  --gold: #a8792a;
  --gold-light: #d9ad4c;
  --rust: #8c3a1e;
  --line: #d8cbb3;
  --dark: #1a120c;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Georgia, "Times New Roman", serif; font-size: 19px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rust); }
a:hover { color: var(--ink); }

h1, h2, h3, .brand { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 600; line-height: 1.12; color: var(--ink); }
h1 { font-size: clamp(44px, 6.5vw, 76px); margin: 0 0 14px; }
h2 { font-size: clamp(32px, 4.4vw, 46px); margin: 0 0 18px; }
h3 { font-size: 28px; margin: 0 0 8px; }
.eyebrow { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.lede { font-size: 22px; color: var(--ink-soft); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 700px; margin: 0 auto; }
.center { text-align: center; }
section { padding: 80px 0; }
.rule { width: 70px; height: 1px; background: var(--gold); margin: 24px auto; }

/* Header */
.site-header { background: rgba(243,236,224,.95); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { font-size: 26px; text-decoration: none; color: var(--ink); }
.nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 16px; }
.nav a { color: var(--ink-soft); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--rust); }

/* Buttons */
.btn { display: inline-block; background: var(--ink); color: var(--paper); text-decoration: none; padding: 14px 26px; border-radius: 4px; font-size: 17px; border: 1px solid var(--ink); }
.btn:hover { background: var(--rust); border-color: var(--rust); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

/* Hero */
.hero { padding: 56px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-img { border-radius: 4px; box-shadow: 0 24px 60px rgba(34,26,18,.25); }

/* Doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.door { background: var(--card); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.door:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(34,26,18,.15); color: var(--ink); }
.door img { height: 260px; width: 100%; object-fit: cover; object-position: top; }
.door .body { padding: 22px 24px 28px; }
.door p { margin: 0; color: var(--ink-soft); font-size: 17px; }
.door .go { display: block; margin-top: 14px; color: var(--rust); font-size: 16px; }
.door.business { background: #14223b; color: #eadfc8; border-color: #14223b; }
.door.business h3 { color: #f0d48a; }
.door.business p { color: #cdbf9f; }
.door.business .go { color: #f0d48a; }

/* Bands */
.band-dark { background: var(--dark); color: #eadfc8; }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .eyebrow { color: var(--gold-light); }
.band-dark a { color: var(--gold-light); }
.band-2 { background: var(--paper-2); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Proof grid */
.proof { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.proof figure { margin: 0; }
.proof img { border-radius: 3px; box-shadow: 0 14px 34px rgba(34,26,18,.2); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.proof figcaption { font-size: 16px; color: var(--muted); font-style: italic; margin-top: 8px; }

/* Timeline */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--gold); }
.timeline li { padding: 0 0 26px 26px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 9px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline .yr { font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; color: var(--rust); display: block; line-height: 1.2; }

.list { padding-left: 22px; }
.list li { margin-bottom: 6px; }
.quote { font-style: italic; font-size: 22px; color: var(--ink-soft); border-left: 3px solid var(--gold); padding-left: 20px; margin: 26px 0; }
.placeholder { background: #fff3c4; padding: 2px 6px; border-radius: 3px; font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer .sites { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .ai-note { width: 100%; font-size: 14px; font-style: italic; }

@media (max-width: 860px) {
  body { font-size: 18px; }
  section { padding: 56px 0; }
  .hero { padding: 32px 0 56px; }
  .hero-grid, .two { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid .pic { order: -1; max-width: 420px; margin: 0 auto; }
  .doors, .proof { grid-template-columns: 1fr; }
  .nav { gap: 14px; font-size: 15px; }
}
