:root {
  --ink: #151714;
  --ink-soft: #2a2d28;
  --cream: #f5f0e6;
  --paper: #fbf8f1;
  --copper: #c96f3c;
  --copper-light: #e29b6e;
  --line: rgba(21, 23, 20, 0.15);
  --muted: #6d7068;
  --white: #fffdf8;
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--white); color: var(--ink); padding: .75rem 1rem; border-radius: 999px; }
.skip-link:focus { top: 1rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 10; height: 88px; padding: 0 clamp(1.25rem, 4vw, 4.5rem); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.2); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; font-size: 1.2rem; letter-spacing: -.03em; width: max-content; }
.brand-mark { width: 32px; height: 32px; display: inline-flex; }
.brand-mark svg { width: 100%; fill: var(--copper-light); }
.brand-mark .brand-cut { fill: var(--ink); }
.desktop-nav { display: flex; align-items: center; gap: 2rem; font-size: .88rem; }
.desktop-nav a { opacity: .78; transition: opacity .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; }
.header-cta { justify-self: end; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; padding: .55rem 1rem; font-size: .85rem; font-weight: 600; }

.hero { min-height: 760px; height: 94vh; max-height: 980px; position: relative; display: flex; align-items: center; overflow: hidden; background: var(--ink); color: var(--white); }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-shade { background: linear-gradient(90deg, rgba(10,11,9,.94) 0%, rgba(10,11,9,.72) 39%, rgba(10,11,9,.08) 76%), linear-gradient(0deg, rgba(10,11,9,.55), transparent 42%); }
.hero-content { position: relative; z-index: 1; width: min(690px, 90%); margin-left: clamp(1.25rem, 7vw, 8rem); padding-top: 5rem; }
.eyebrow, .section-kicker { margin: 0 0 1rem; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--copper); }
.hero .eyebrow { color: var(--copper-light); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.045em; line-height: .95; margin: 0; }
h1 { font-size: clamp(4.1rem, 7.2vw, 7.4rem); }
h2 { font-size: clamp(3rem, 5.5vw, 5.8rem); }
h3 { margin: 0; line-height: 1.2; }
.hero-copy { max-width: 610px; font-size: clamp(1rem, 1.4vw, 1.24rem); line-height: 1.65; color: rgba(255,255,255,.78); margin: 2rem 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font-size: .92rem; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--copper); color: white; }
.button-ghost { color: white; border: 1px solid rgba(255,255,255,.45); }
.button-light { background: var(--cream); color: var(--ink); }
.hero-proof { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 720px; margin-left: clamp(1.25rem, 7vw, 8rem); border-top: 1px solid rgba(255,255,255,.24); }
.hero-proof div { display: flex; align-items: baseline; gap: .8rem; padding: 1.35rem 1.3rem 1.35rem 0; }
.hero-proof strong { font-family: var(--serif); font-size: 2rem; color: var(--copper-light); }
.hero-proof span { color: rgba(255,255,255,.62); font-size: .77rem; line-height: 1.35; max-width: 105px; }

.section-pad { padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 7vw, 8rem); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 8vw; align-items: start; }
.intro-grid h2 { max-width: 720px; }
.large-copy { font-size: clamp(1.08rem, 1.55vw, 1.35rem); line-height: 1.65; margin: 0; }
.quiet-copy { color: var(--muted); margin: 2rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.record-section { background: #e7e0d2; }
.section-heading { display: grid; grid-template-columns: 1.35fr .65fr; gap: 6vw; align-items: end; margin-bottom: 4rem; }
.section-heading > p { font-size: 1.05rem; color: #555950; margin: 0 0 .25rem; max-width: 480px; }
.section-heading.compact { grid-template-columns: 1fr; }
.app-shell { display: grid; grid-template-columns: 230px 1fr; background: #f8f7f2; border: 1px solid rgba(21,23,20,.14); border-radius: 24px; overflow: hidden; box-shadow: 0 30px 80px rgba(54,45,32,.14); }
.app-sidebar { background: var(--ink); color: white; padding: 1.5rem; min-height: 570px; }
.mini-brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; margin-bottom: 3.2rem; }
.mini-mark { width: 16px; height: 19px; border-radius: 45% 45% 50% 50%; border: 4px solid var(--copper-light); }
.sidebar-label, .card-label { color: #999d94; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; }
.horse-row { width: 100%; padding: .7rem; margin: .35rem 0; border: 0; background: transparent; color: white; display: flex; text-align: left; gap: .7rem; border-radius: 12px; cursor: pointer; }
.horse-row.active { background: rgba(255,255,255,.09); }
.horse-row small, .horse-row b { display: block; }
.horse-row small { color: #9d9f98; font-size: .68rem; }
.horse-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--copper); display: grid; place-items: center; flex: none; }
.horse-avatar.pale { background: #8b765f; }
.side-note { margin-top: 8rem; padding: 1rem; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; }
.side-note span, .side-note strong, .side-note small { display: block; }
.side-note span, .side-note small { color: #9d9f98; font-size: .7rem; }
.side-note strong { margin: .35rem 0; font-size: .85rem; }
.app-main { padding: clamp(1.4rem, 3vw, 2.5rem); overflow: hidden; }
.app-topline { display: flex; justify-content: space-between; gap: 1rem; align-items: end; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.app-topline h3 { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.7rem); font-weight: 500; margin-top: .4rem; }
.status-chip { font-size: .65rem; background: #dae4cf; color: #344125; padding: .28rem .55rem; border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.app-meta { font-size: .73rem; color: var(--muted); }
.hoof-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin: 1.6rem 0; }
.hoof-tab { border: 1px solid var(--line); background: transparent; border-radius: 12px; padding: .85rem; text-align: left; color: var(--muted); }
.hoof-tab b, .hoof-tab span { display: block; }
.hoof-tab b { color: var(--ink); font-size: .9rem; }
.hoof-tab span { font-size: .66rem; }
.hoof-tab.active { border-color: var(--copper); box-shadow: inset 0 -3px var(--copper); }
.record-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; }
.photo-card, .visit-card { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.photo-card > div:last-child { padding: .8rem; }
.photo-card small, .photo-card strong { display: block; }
.photo-card small { color: var(--muted); font-size: .68rem; }
.photo-card strong { font-size: .82rem; }
.hoof-photo { display: block; width: 100%; height: 180px; object-fit: cover; object-position: 67% 75%; }
.hoof-photo-two { filter: saturate(.52) brightness(.82); object-position: 74% 78%; }
.visit-card { padding: 1.2rem; display: flex; flex-direction: column; }
.visit-card > strong { font-family: var(--serif); font-size: 1.55rem; }
.visit-card > p:not(.card-label) { color: var(--muted); font-size: .8rem; }
.visit-footer { margin-top: auto; display: flex; justify-content: space-between; color: var(--muted); font-size: .7rem; }
.visit-footer span:last-child { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--ink); font-weight: 700; }
.timeline-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.timeline-dot { width: 10px; height: 10px; background: var(--copper); border-radius: 50%; box-shadow: 0 0 0 5px rgba(201,111,60,.12); }
.timeline-row strong, .timeline-row small { display: block; }
.timeline-row small, .timeline-row time { color: var(--muted); font-size: .7rem; }

.flow-section { background: var(--paper); }
.flow-list { list-style: none; padding: 0; margin: 3.5rem 0 0; border-top: 1px solid var(--line); }
.flow-list li { display: grid; grid-template-columns: 80px 1fr; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.flow-list li > span { color: var(--copper); font-size: .75rem; font-weight: 700; }
.flow-list div { display: grid; grid-template-columns: .6fr 1fr; gap: 2rem; align-items: baseline; }
.flow-list h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.flow-list p { margin: 0; max-width: 520px; color: var(--muted); }

.audience-section { background: var(--ink); color: var(--white); }
.section-kicker.light { color: var(--copper-light); }
.audience-grid { margin-top: 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.audience-grid article { background: var(--ink); }
.audience-primary { padding: clamp(2rem, 4vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; min-height: 500px; }
.audience-number, .audience-stack article > span { color: var(--copper-light); font-size: .75rem; }
.audience-label { text-transform: uppercase; font-size: .7rem; letter-spacing: .15em; color: #a8aba3; }
.audience-primary h2 { font-size: clamp(2.8rem, 4vw, 4.6rem); }
.audience-primary p:last-child { color: #b4b7b0; max-width: 520px; }
.audience-stack { display: grid; }
.audience-stack article { padding: 2rem; display: grid; grid-template-columns: 55px 1fr; align-content: center; border-bottom: 1px solid rgba(255,255,255,.14); }
.audience-stack article:last-child { border: 0; }
.audience-stack h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }
.audience-stack p { margin: .35rem 0 0; color: #a8aba3; font-size: .9rem; }

.ai-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 8vw; align-items: center; background: #eee6d7; }
.ai-copy h2 { margin-bottom: 2rem; }
.boundary-note { margin-top: 2rem; padding: 1.1rem; border: 1px solid rgba(201,111,60,.4); background: rgba(255,255,255,.38); display: flex; gap: .85rem; }
.boundary-note span { color: var(--copper); }
.boundary-note p { margin: 0; font-size: .82rem; }
.ai-panel { background: #20231f; color: white; border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.4rem); box-shadow: 0 30px 70px rgba(39,32,25,.18); }
.prompt-row { display: grid; grid-template-columns: 54px 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.prompt-row span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #725c49; font-size: .6rem; }
.prompt-row p { margin: 0; padding: .9rem 1rem; background: rgba(255,255,255,.08); border-radius: 4px 16px 16px 16px; }
.answer-card { background: #f6f2e9; color: var(--ink); padding: 1.4rem; border-radius: 16px; margin-left: 54px; }
.answer-title { display: flex; align-items: center; gap: .6rem; }
.spark { color: var(--copper); }
.answer-card > p { color: #595d55; font-size: .88rem; }
.question-box { background: white; border-left: 3px solid var(--copper); padding: .9rem; margin-top: 1.2rem; }
.question-box small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .6rem; }
.question-box p { margin: .35rem 0 0; font-weight: 600; font-size: .84rem; }

.early-section { margin: 0 clamp(1.25rem, 4vw, 4.5rem); padding: clamp(3rem, 6vw, 6rem); background: var(--copper); color: white; display: flex; gap: 3rem; align-items: end; justify-content: space-between; }
.early-section h2 { font-size: clamp(3.2rem, 6vw, 6rem); }
.early-section p:not(.section-kicker) { margin: 1.5rem 0 0; color: rgba(255,255,255,.82); max-width: 560px; }
.early-section .button { flex: none; }
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 8vw; }
.faq h2 { font-size: clamp(3rem, 4vw, 4.5rem); }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.3rem 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--copper); font-size: 1.3rem; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 660px; }
.site-footer { background: var(--ink); color: white; padding: 3rem clamp(1.25rem, 7vw, 8rem); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; align-items: center; }
.footer-brand .brand-cut { fill: var(--ink); }
.site-footer > p { text-align: center; color: #9da098; font-size: .78rem; }
.site-footer > div { justify-self: end; display: flex; gap: 1.4rem; color: #9da098; font-size: .75rem; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero { min-height: 720px; height: 90vh; }
  .hero-shade { background: linear-gradient(90deg,rgba(10,11,9,.92),rgba(10,11,9,.3)),linear-gradient(0deg,rgba(10,11,9,.7),transparent 60%); }
  .hero-content { margin-left: clamp(1.25rem, 5vw, 3rem); }
  .hero-proof { margin-left: clamp(1.25rem, 5vw, 3rem); margin-right: 1rem; }
  .intro-grid, .section-heading, .ai-section, .faq { grid-template-columns: 1fr; }
  .section-heading { align-items: start; }
  .app-shell { grid-template-columns: 1fr; }
  .app-sidebar { min-height: auto; display: none; }
  .audience-grid { grid-template-columns: 1fr; }
  .audience-primary { min-height: 430px; }
  .early-section { align-items: start; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { height: 72px; padding: 0 1rem; }
  .header-cta { padding: .45rem .7rem; font-size: .75rem; }
  .brand { font-size: 1.05rem; }
  .brand-mark { width: 27px; height: 27px; }
  .hero { min-height: 740px; height: 100svh; max-height: none; align-items: flex-start; }
  .hero-image { object-position: 62% center; }
  .hero-shade { background: linear-gradient(180deg,rgba(10,11,9,.55),rgba(10,11,9,.08) 30%,rgba(10,11,9,.93) 68%); }
  .hero-content { align-self: flex-end; margin: 0; padding: 7rem 1.25rem 9.5rem; width: 100%; }
  h1 { font-size: clamp(3.7rem, 16vw, 5.4rem); }
  .hero-copy { font-size: 1rem; line-height: 1.5; margin: 1.2rem 0; }
  .hero-actions .button { flex: 1; }
  .hero-proof { margin: 0 1.25rem; grid-template-columns: 1fr 1fr; }
  .hero-proof div { padding: .8rem 0; }
  .hero-proof div:last-child { display: none; }
  .section-pad { padding: 4.5rem 1.25rem; }
  h2 { font-size: clamp(2.8rem, 14vw, 4.3rem); }
  .section-heading { margin-bottom: 2.5rem; }
  .app-main { padding: 1rem; }
  .app-meta { display: none; }
  .hoof-tabs { overflow-x: auto; grid-template-columns: repeat(4, minmax(95px, 1fr)); }
  .record-grid { grid-template-columns: 1fr 1fr; }
  .visit-card { grid-column: 1 / -1; min-height: 220px; }
  .hoof-photo { height: 145px; }
  .timeline-row { display: none; }
  .flow-list li { grid-template-columns: 45px 1fr; }
  .flow-list div { grid-template-columns: 1fr; gap: .35rem; }
  .audience-primary { min-height: 450px; padding: 1.5rem; }
  .audience-stack article { grid-template-columns: 40px 1fr; padding: 1.5rem; }
  .ai-section { gap: 3rem; }
  .answer-card { margin-left: 0; }
  .early-section { margin: 0; padding: 4rem 1.25rem; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer > p { text-align: left; }
  .site-footer > div { justify-self: start; }
}

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