@font-face {
  font-family: Fredoka;
  src: url('../fonts/fredoka.ttf') format('truetype');
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --paper: #fff8eb;
  --ink: #293c2f;
  --muted: #5b6254;
  --green: #2e523d;
  --line: #dcdccc;
  --heading: Fredoka, 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 17px/1.75 system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button[hidden] { display: none; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #926615; outline-offset: 5px; border-radius: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 500; letter-spacing: -.025em; }
h1 { font-size: clamp(60px, 7vw, 96px); line-height: 1.05; }
h2 { font-size: clamp(40px, 4.2vw, 58px); line-height: 1.12; }
h3 { font-size: 28px; line-height: 1.2; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.section-space { padding-block: 80px; }
.eyebrow { margin-bottom: 18px; font-size: 13px; font-weight: 600; line-height: 1.5; color: var(--muted); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 96px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 500 29px/1 var(--heading); letter-spacing: -.025em; white-space: nowrap; }
.brand img { border-radius: 10px; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 550; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1px solid var(--green); border-radius: 6px; background: var(--green); color: var(--paper); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.button:hover { background: #223f2e; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover { background: #e0e7d4; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 550; }

.hero { padding-block: 55px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 55px; }
.hero h1 { margin-bottom: 28px; }
.hero-intro { font-size: 22px; line-height: 1.5; margin-bottom: 18px; }
.hero-description { color: var(--muted); max-width: 430px; font-size: 16px; line-height: 1.8; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 25px; }
.hero-art { min-width: 0; }
.hero-sheep { width: 100%; aspect-ratio: 1; object-fit: contain; }
.game-details { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; margin-block: 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { color: var(--muted); font-size: 16px; max-width: 360px; margin-bottom: 3px; }
.play-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 65px; align-items: center; }
.swipe-art { margin: 0; background: #f3e4bb; border-radius: 8px; overflow: hidden; }
.swipe-illustration { position: relative; aspect-ratio: 1.5; }
.swipe-wool { position: absolute; width: 40%; height: 38%; object-fit: contain; left: 9%; bottom: 12%; }
.swipe-shears { position: absolute; width: 56%; height: 75%; object-fit: contain; top: 5%; left: 35%; }
.swipe-art figcaption { border-top: 1px solid #dfcfa3; padding: 14px 22px; font-size: 15px; }
.play-steps { padding-left: 24px; margin: 0; }
.play-steps li { padding: 20px 0 20px 8px; border-top: 1px solid var(--line); }
.play-steps li::marker { color: var(--muted); font-size: 14px; }
.play-steps li:last-child { padding-bottom: 0; }
.play-steps h3 { font-size: 27px; margin-bottom: 10px; }
.play-steps p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 0; }

.world-section { background: #2b4c39; color: var(--paper); }
.world-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: 35px 65px; padding-block: 65px 35px; align-items: center; }
.world-copy h2 { font-size: clamp(46px, 5vw, 66px); margin-bottom: 24px; }
.world-copy > p { color: #e0e7d8; font-size: 16px; line-height: 1.85; max-width: 390px; margin-bottom: 0; }
.farm-art { position: relative; min-width: 0; height: 380px; }
.farm-art img { position: absolute; object-fit: contain; }
.farm-windmill { width: 32%; height: 70%; bottom: 18%; left: 0; }
.farm-barn { width: 62%; height: 69%; bottom: 20%; left: 29%; }
.farm-market { width: 37%; height: 44%; bottom: 7%; right: 0; }
.farm-sheep { width: 26%; height: 25%; bottom: 11%; left: 17%; }
.world-ladder { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.world-ladder li { border-top: 1px solid #799176; padding-block: 15px 5px; font: 400 25px/1.3 var(--heading); }
.discover-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 45px; }
.breed-feature { border-top: 1px solid var(--line); padding-block: 24px; display: grid; grid-template-columns: 1.3fr .85fr; gap: 20px; align-items: center; }
.breed-feature > div:last-child { grid-column: 1; grid-row: 1; }
.breed-art { grid-column: 2; grid-row: 1; }
.breed-art img { width: 100%; }
.breed-feature h3 { font-size: 32px; margin-bottom: 15px; }
.breed-feature p, .farm-notes p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 0; }
.farm-notes article { border-top: 1px solid var(--line); padding-block: 24px; }
.farm-notes article:last-child { padding-bottom: 0; }
.farm-notes h3 { margin-bottom: 12px; font-size: 27px; }
.questions-section { background: #eef0e3; border-block: 1px solid var(--line); }
.questions-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 85px; padding-block: 65px; }
.questions-inner h2 { margin-bottom: 24px; }
.faq-list details { border-bottom: 1px solid #ccd0bc; padding-block: 5px; }
.faq-list details:first-child { border-top: 1px solid #ccd0bc; }
.faq-list summary { position: relative; padding: 17px 35px 17px 0; cursor: pointer; list-style: none; font: 450 21px/1.4 var(--heading); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 15px; font: 400 25px/1.4 var(--heading); }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0 25px 18px 0; }
.site-footer { border-top: 1px solid var(--line); }
.footer-top { padding-block: 40px; display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.footer-brand { font: 500 32px/1.2 var(--heading); text-decoration: none; letter-spacing: -.025em; }
.footer-top p { font-size: 14px; color: var(--muted); margin: 12px 0 0; }
.footer-top nav { display: grid; grid-template-columns: auto auto; column-gap: 45px; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; text-decoration: none; }
.footer-top nav a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px 25px; padding-block: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-bottom a { overflow-wrap: anywhere; min-height: 30px; display: inline-flex; align-items: center; }

.document { max-width: 820px; padding-block: 40px 80px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; margin-bottom: 35px; }
.document h1 { font-size: clamp(50px, 6.5vw, 78px); line-height: 1.1; margin-bottom: 25px; }
.document-lead { font-size: 20px; line-height: 1.75; }
.document h2 { font-size: 32px; letter-spacing: -.02em; margin: 40px 0 18px; line-height: 1.2; }
.document p, .document li { overflow-wrap: anywhere; }
.document p { margin-bottom: 22px; }
.document > p:not(.eyebrow):not(.document-lead), .document li { color: var(--muted); }
.document strong { color: var(--ink); }
.document ul, .document ol { padding-left: 24px; }
.document li { padding-left: 5px; margin-bottom: 12px; }
.document .policy-date { font-size: 14px; margin-top: -7px; }
.contact-card, .summary-card { background: #e7ecd5; border-radius: 8px; padding: 28px; margin: 30px 0 40px; }
.contact-card h2, .summary-card h2 { margin: 0 0 16px; }
.contact-card p:last-child, .summary-card ul { margin-bottom: 0; }
.contact-card p { font-size: 15px; }
.contact-card .email-address { font-size: 19px; font-weight: 600; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-block: 22px; }
.copy-status { font-weight: 600; color: var(--green); }
.copy-status:empty { display: none; }
.summary-card { background: #f7ebcf; }
.summary-card li { font-size: 16px; color: var(--ink); }
.not-found { text-align: center; min-height: 65vh; }
.not-found img { margin: 0 auto 25px; }
.not-found h1 { font-size: clamp(50px, 6.5vw, 78px); margin-bottom: 25px; }
.not-found .button { margin-top: 15px; }

@media (max-width: 1000px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 30px; padding-block: 45px; }
  .hero h1 { font-size: clamp(58px, 7.5vw, 78px); }
  .hero-intro { font-size: 20px; }
  .section-space { padding-block: 65px; }
  .section-heading > p { max-width: 285px; }
  .play-layout { gap: 35px; }
  .play-steps h3 { font-size: 24px; }
  .world-inner { gap: 30px; }
  .farm-art { height: 320px; }
  .discover-grid { gap: 30px; }
  .breed-feature { grid-template-columns: 1fr; }
  .breed-feature > div:last-child { grid-row: 2; }
  .breed-art { grid-column: 1; }
  .breed-art img { width: 150px; margin-inline: auto; }
  .breed-feature h3 { font-size: 29px; }
  .farm-notes { align-self: center; }
  .questions-inner { gap: 40px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 120px; flex-direction: column; justify-content: center; gap: 8px; padding-block: 14px 8px; }
  .brand { font-size: 27px; }
  .brand img { width: 38px; height: 38px; }
  .site-header nav { width: 100%; justify-content: space-between; gap: 10px; }
  .site-header nav a { font-size: 14px; }
  .hero { grid-template-columns: 1fr; padding-block: 35px; gap: 25px; }
  .hero h1 { font-size: clamp(58px, 11vw, 78px); margin-bottom: 22px; }
  .hero-intro { font-size: 20px; }
  .hero-description { max-width: 440px; font-size: 16px; margin-bottom: 24px; }
  .hero-art { width: min(100%, 380px); margin-inline: auto; }
  .game-details { flex-wrap: wrap; gap: 12px 20px; font-size: 14px; }
  .game-details li { width: calc(50% - 10px); }
  .section-space { padding-block: 55px; }
  .section-heading { flex-direction: column; align-items: start; gap: 18px; margin-bottom: 28px; }
  .section-heading > p { max-width: 430px; }
  h2 { font-size: clamp(38px, 8vw, 52px); }
  .play-layout { grid-template-columns: 1fr; gap: 25px; }
  .swipe-art figcaption { padding: 12px 18px; }
  .play-steps h3 { font-size: 26px; }
  .world-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 50px 30px; }
  .world-copy h2 { font-size: clamp(44px, 9vw, 60px); }
  .world-copy > p { max-width: 450px; }
  .farm-art { height: 290px; max-width: 450px; width: 100%; margin-inline: auto; }
  .world-ladder { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .world-ladder li { font-size: 24px; }
  .discover-grid { grid-template-columns: 1fr; gap: 25px; }
  .breed-art img { width: 180px; }
  .breed-feature h3 { font-size: 30px; }
  .questions-inner { grid-template-columns: 1fr; gap: 25px; padding-block: 50px; }
  .questions-inner h2 { margin-bottom: 18px; }
  .faq-list summary { font-size: 21px; }
  .footer-top { flex-direction: column; gap: 25px; padding-block: 30px; }
  .footer-top nav { width: 100%; justify-content: space-between; column-gap: 18px; }
  .footer-bottom { justify-content: start; gap: 2px 20px; }
  .document { padding-block: 22px 55px; }
  .back-link { margin-bottom: 25px; }
  .document h1 { font-size: clamp(48px, 10vw, 70px); }
  .document-lead { font-size: 18px; }
  .document h2 { font-size: 28px; margin-top: 35px; }
  .contact-card, .summary-card { padding: 24px 20px; }
  .contact-card .email-address { font-size: 16px; }
  .contact-actions { flex-direction: column; align-items: start; }
  .document .contact-card h2, .document .summary-card h2 { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
