/* Irish Worksheets – copybook design (ported from design/b2.html, ws.html, class.html).
   Fonts are self-hosted (SIL OFL): Andika (text and logo), Patrick Hand (pencil notes). */
@font-face { font-family: "Andika"; src: url("fonts/Andika-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Andika"; src: url("fonts/Andika-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Patrick Hand"; src: url("fonts/PatrickHand-Regular.ttf") format("truetype"); font-display: swap; }

:root {
  --paper: #FBF7EE;        /* the desk: warm vellum */
  --ink: #1E2A44;
  --pencil: #6B6B6B;
  --pencil-dark: #4F4F4F;
  --rule: #B9CDE5;
  --margin: #D8473B;
  --slate: #3F5877;
  --edge: #CFC8B8;
  --line: 34px;            /* ruled line spacing */
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.55 "Andika", "Segoe UI", sans-serif; }
a { color: var(--slate); }
img { max-width: 100%; }
.page { max-width: 1120px; margin: 0 auto; padding: 0 32px; }
.pencil { font-family: "Patrick Hand", "Andika", sans-serif; color: var(--pencil); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.draft-banner { background: #B00000; color: #fff; text-align: center; font-weight: 700; padding: 6px 16px; letter-spacing: .03em; }
/* ad slots are empty markers for now (no ad code); they take no space */
.ad-slot { display: block; }

/* ---------- header: the logo is a copybook-sheet mark + wordmark; a knotwork cord under it */
.site-head { padding: 24px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cord { display: block; width: 100%; height: 12px; opacity: .42; }
/* The mark is centred on the wordmark's capitals (Andika caps are 0.713em tall):
   its bottom sits at cap/2 - mark/2 from the baseline. */
.brand { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 29px;
         line-height: 1.2; white-space: nowrap; }
.brand .mark { display: inline-block; width: 40px; height: 40px; margin-right: 13px; overflow: visible;
               vertical-align: calc(0.713em / 2 - 20px); }
.brand.small { font-size: 21px; }
.brand.small .mark { width: 29px; height: 29px; margin-right: 9px; vertical-align: calc(0.713em / 2 - 14.5px); }
.site-nav { display: flex; gap: 26px; font-size: 18px; font-weight: 700; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 2px 0; border-bottom: 3px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--margin); }

/* ---------- shared: headings, section heads, "see all" */
.block { padding: 34px 0 10px; }
.block-h { font-size: 28px; margin: 0 0 18px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.block-h .pencil { font-size: 21px; font-weight: 400; }
.section-head { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 14px; margin: 0 0 18px; }
.section-head.two { grid-template-columns: 1fr auto; }
.section-head h2 { margin: 0; font-size: 28px; }
.section-head .note { font-size: 21px; }
.section-head .all, .see-all { font-weight: 700; color: var(--ink); text-underline-offset: 4px; }
.see-all { display: inline-block; margin-top: 22px; }
.crumbs { display: block; margin: 22px 0 8px; font-size: 15px; color: var(--pencil); }
.crumbs a { color: var(--pencil); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { margin: 0 6px; }

/* ---------- home hero: a white ruled copybook page on the vellum desk */
.sheet-page { position: relative; margin: 30px 0 10px; border: 1px solid #DCD6C8; background-color: #fff;
              background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='34'%3E%3Cline x1='0' y1='33.5' x2='8' y2='33.5' stroke='%23B9CDE5' stroke-width='1'/%3E%3C/svg%3E");
              background-position: 0 -7px; }
.sheet-page::before { content: ""; position: absolute; top: 0; bottom: 0; left: 96px; border-left: 2px solid var(--margin); }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "text sheet" "list sheet";
        column-gap: 48px; padding: var(--line) 48px var(--line) 128px; line-height: var(--line); position: relative; }
.hero-text { grid-area: text; }
.hero .tick-list { grid-area: list; }
.hero .taped { grid-area: sheet; }
.margin-note { position: absolute; left: 8px; top: 44px; width: 84px; transform: rotate(-6deg); font-size: 27px;
               line-height: 1.05; text-align: center; color: var(--pencil-dark); }
.hero h1 { margin: 0 0 var(--line); font-size: 46px; line-height: calc(var(--line) * 2); font-weight: 700;
           letter-spacing: -.01em; position: relative; top: 10px; }
.hero h1 mark { background: none; color: inherit; box-shadow: inset 0 -.32em 0 #FFE38A; }
.intro { margin: 0 0 var(--line); font-size: 20px; max-width: 32em; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: var(--line); }
.btn { display: inline-block; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 19px;
       padding: 0 22px; line-height: calc(var(--line) * 1.5); }
.btn:hover { background: var(--slate); }
.cta .pencil { font-size: 21px; }
.tick-list { list-style: none; margin: 0; padding: 0; font-size: 20px; }
.tick-list li { display: flex; gap: 12px; align-items: baseline; }
.tick-list svg { flex: none; position: relative; top: 4px; }
.taped { align-self: start; margin: 6px 0 0; position: relative; transform: rotate(-2deg); }
.taped .paper { display: block; background: #fff; border: 1px solid var(--edge); }
.taped img { display: block; width: 100%; height: auto; }
.tape { position: absolute; top: -12px; width: 86px; height: 26px; background: rgba(236, 225, 190, .78);
        border-left: 1px dashed rgba(170, 155, 110, .55); border-right: 1px dashed rgba(170, 155, 110, .55); }
.tape.left { left: -18px; transform: rotate(-32deg); }
.tape.right { right: -18px; transform: rotate(32deg); }
.taped figcaption { font-family: "Patrick Hand", sans-serif; color: var(--pencil-dark); font-size: 19px; line-height: 1.3;
                    margin-top: 10px; text-align: center; }
.taped figcaption a { color: inherit; }

/* ---------- class tiles: copybook covers with a printed label */
.covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; }
.cover a { display: block; height: 100%; text-decoration: none; color: var(--ink); padding: 18px 18px 22px;
           background: var(--cover); border: 2px solid var(--ink); }
.cover a:hover, .cover a:focus-visible { background: var(--cover-dark); }
.cover .lbl { display: block; background: #fff; border: 2px solid var(--ink); padding: 8px 16px 10px; transition: transform .12s ease-out; }
.cover a:hover .lbl, .cover a:focus-visible .lbl { transform: translateY(-2px); }
.cover a:focus-visible { outline: 3px solid #FFE38A; outline-offset: 2px; }
.field { display: flex; align-items: baseline; gap: 10px; border-bottom: 1px solid #9AA3B0; padding-top: 6px; }
.flabel { flex: none; font-size: 14px; color: var(--pencil); letter-spacing: .02em; }
.fval { flex: 1; min-width: 0; line-height: 1.05; padding-bottom: 1px; }
.hand { font-family: "Patrick Hand", "Andika", sans-serif; font-size: 30px; color: var(--ink); }
.hand.pencil-ink { font-size: 24px; color: var(--pencil-dark); }
.cover .ga { display: block; font-size: 17px; color: var(--slate); margin: 4px 0 6px; }
.cover .count { display: block; font-size: 14px; color: var(--pencil); margin-top: 10px; }

/* ---------- topic links (home "Browse by topic", class-page jump links) */
.jumps { display: block; margin-top: 30px; padding: 14px 0; border-top: 1px solid #DCD6C8; border-bottom: 1px solid #DCD6C8; font-size: 17px; }
.jumps .jumps-h { display: inline; margin: 0 14px 0 0; font-size: 20px; font-weight: 400; color: var(--pencil-dark); }
.jumps ul { display: inline; list-style: none; margin: 0; padding: 0; }
.jumps li { display: inline-block; margin: 4px 22px 4px 0; }
.jumps a { color: var(--ink); text-decoration: none; }
.jumps a:hover { text-decoration: underline; text-underline-offset: 4px; }
.jumps .ga { color: var(--slate); }
.jumps .n { color: var(--pencil); }

/* ---------- home "Browse by topic": picture cards, seasonal group first */
.topic-group-h { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--pencil); margin: 22px 0 14px; }
.topic-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.topic-card a { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; color: var(--ink);
                text-decoration: none; border: 2px solid var(--edge); padding: 14px 12px 10px;
                transition: transform .12s ease-out, border-color .12s; }
.topic-card .pic { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; margin: 0 0 8px; }
.topic-card .en { font-weight: 700; font-size: 17px; line-height: 1.25; }
.topic-card .ga { font-size: 16px; line-height: 1.3; color: var(--slate); }
.topic-card .n { margin-top: auto; padding-top: 6px; font-size: 14px; color: var(--pencil); }
.topic-card .tag { position: absolute; top: -10px; right: 8px; font-size: 12px; line-height: 1; padding: 4px 7px 5px;
                   background: #fff; border: 1.5px solid var(--pencil); color: var(--pencil-dark); }
.topic-card .tag.now { background: #FFE38A; border-color: var(--ink); color: var(--ink); font-weight: 700; }
.topic-card a:hover, .topic-card a:focus-visible { border-color: var(--ink); transform: translateY(-3px); }
.topic-card a:hover .en, .topic-card a:focus-visible .en { text-decoration: underline; text-decoration-color: var(--margin);
  text-decoration-thickness: 3px; text-underline-offset: 4px; }
.topic-card a:focus-visible { outline: 3px solid #FFE38A; outline-offset: 3px; }
/* "Show all N topics" (phone only): a checkbox before the list + its label as the button.
   Only the general sibling combinator (~), no :has(), so no browser is left out; without
   CSS every card shows. */
.more-toggle, .more-btn { display: none; }

/* ---------- worksheet cards: sheets of paper lying on the desk */
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; list-style: none; margin: 0; padding: 0; }
.ws a { display: block; text-decoration: none; color: var(--ink); }
.ws .sheet { display: block; position: relative; margin-top: 26px; transition: transform .12s ease-out; }
.ws .sheet img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--edge); aspect-ratio: 210 / 297; }
/* the clip grips only the top 12px of the paper: always the sheet's white margin */
.ws .clip { position: absolute; top: -26px; left: 2.5%; width: 14px; height: 38px; }
/* the stamp hangs over the bottom-right corner, covering only the sheet's footer line */
.ws .stamp { position: absolute; right: -4%; bottom: -3%; width: 25%; transform: rotate(-12deg); opacity: .9; }
.ws .title { display: block; margin: 14px 0 0; font-size: 21px; font-weight: 700; line-height: 1.3; }
.ws .meta { display: block; font-size: 19px; line-height: 1.3; }
.ws .words { display: block; margin-top: 6px; font-size: 16px; line-height: 1.5; }
.ws .words .en { color: var(--pencil); }
.ws .w { white-space: nowrap; }
.ws .more-phone { display: none; }
.ws a:hover .sheet, .ws a:focus-visible .sheet { transform: translateY(-2px); }
.ws a:hover .title, .ws a:focus-visible .title { text-decoration: underline; text-decoration-color: var(--margin);
  text-decoration-thickness: 3px; text-underline-offset: 5px; }
.ws a:focus-visible { outline: 3px solid #FFE38A; outline-offset: 4px; }

/* ---------- page header on listing pages (class / topic / seasonal / class×topic) */
.list-head { display: flex; align-items: center; gap: 48px; margin-top: 18px; }
.list-cover { flex: none; width: 300px; background: var(--cover); border: 2px solid var(--ink); padding: 18px; }
.list-label { display: block; background: #fff; border: 2px solid var(--ink); padding: 8px 22px 16px; }
.list-label .field { gap: 12px; padding-top: 10px; }
.list-label .flabel { font-size: 15px; min-width: 3.6em; }
.list-label .hand { font-size: 40px; }
.list-label .hand.pencil-ink { font-size: 27px; }
.list-label .ga-name { display: block; font-size: 19px; color: var(--slate); margin: 4px 0 2px; }
.list-label .total { display: block; margin-top: 12px; font-size: 15px; color: var(--pencil); }
.list-intro { margin: 0; max-width: 34em; font-size: 18px; }
.list-intro h1 { margin: 0 0 10px; font-size: 32px; line-height: 1.2; }
.group { margin-top: 56px; scroll-margin-top: 16px; }
.group-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.group-head h2 { margin: 0; font-size: 30px; }
.group-head h2 a { color: inherit; text-decoration: none; }
.group-head h2 .ga { font-size: 22px; font-weight: 400; color: var(--slate); }
.group-head .count { font-size: 20px; }
.pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 16px; border-top: 1px solid #DCD6C8; font-weight: 700; }
.pager a { color: var(--ink); text-underline-offset: 4px; }
.pager .where { color: var(--pencil); font-weight: 400; }

/* ---------- worksheet page */
.ws-head h1 { margin: 0; font-size: 40px; line-height: 1.2; }
.ws-head .ga-line { margin: 6px 0 0; font-size: 19px; color: var(--slate); }
.ws-top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 64px; align-items: start; margin-top: 34px; }
.ws-sheet { position: relative; margin: 14px 0 0; max-width: 470px; transform: rotate(-1.5deg); }
.ws-sheet img { display: block; width: 100%; height: auto; background: #fff; border: 1px solid var(--edge); }
.ws-sheet .tape { width: 96px; height: 28px; }
.ws-sheet .tape.left { left: -20px; } .ws-sheet .tape.right { right: -20px; }
.ws-side { display: block; min-width: 0; }
.dl-card { background: var(--cover); border: 2px solid var(--ink); padding: 20px; }
.dl-label { display: block; background: #fff; border: 2px solid var(--ink); padding: 10px 22px 20px; }
.dl-label .field { gap: 12px; padding-top: 10px; }
.dl-label .flabel { font-size: 15px; min-width: 3.6em; }
.dl-label .hand.pencil-ink { font-size: 26px; }
.dl-label .gloss { color: var(--pencil); font-size: 22px; }
.btn-dl { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 26px 0 0; padding: 16px 20px;
          background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: 22px; line-height: 1.2; }
.btn-dl:hover { background: var(--slate); }
.btn-dl:focus-visible { outline: 3px solid #FFE38A; outline-offset: 3px; }
.dl-icon { width: 26px; height: 26px; flex: none; }
.facts { margin: 14px 0 0; font-size: 15px; color: var(--pencil); text-align: center; }
.facts .fact { white-space: nowrap; }
.print-note { margin: 10px 0 0; font-size: 21px; text-align: center; color: var(--pencil-dark); }
.wordlist { margin-top: 40px; }
.wordlist h2 { font-size: 24px; margin: 0 0 12px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.wordlist h2 .pencil { font-size: 19px; font-weight: 400; }
.ruled { position: relative; background: #fff; border: 1px solid #DCD6C8; padding: 10px 18px 14px 58px; }
.ruled::before { content: ""; position: absolute; top: 0; bottom: 0; left: 40px; border-left: 2px solid var(--margin); }
.ruled table { width: 100%; border-collapse: collapse; }
.ruled th { text-align: left; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
            color: var(--pencil); padding: 0 0 4px; border-bottom: 1px solid var(--rule); }
.ruled td { height: 36px; vertical-align: bottom; padding: 0 12px 4px 0; border-bottom: 1px solid var(--rule); font-size: 20px; line-height: 1.2; }
.ruled td[lang="ga"] { font-weight: 700; color: var(--ink); }
.ruled td.en, .ruled td.pron { color: var(--pencil); font-size: 18px; }
.lined { background: #fff; border: 1px solid #DCD6C8; position: relative; line-height: 34px;
         background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='34'%3E%3Cline x1='0' y1='33.5' x2='8' y2='33.5' stroke='%23B9CDE5' stroke-width='1'/%3E%3C/svg%3E");
         background-position: 0 6px; }
.lined::before { content: ""; position: absolute; top: 0; bottom: 0; left: 52px; border-left: 2px solid var(--margin); }
.home-note { margin: 48px auto 0; max-width: 760px; padding: 18px 30px 22px 74px; }
.home-note h2 { margin: 0; font-size: 28px; font-weight: 400; color: var(--pencil-dark); line-height: 34px; }
.home-note p { margin: 0; font-size: 17px; }
.home-note ol { margin: 0; padding-left: 24px; font-size: 17px; }
.home-note li { padding-left: 4px; }
.home-note li::marker { font-family: "Patrick Hand", sans-serif; font-size: 20px; color: var(--margin); }
.answers { margin: 48px auto 0; max-width: 760px; }
.answers h2 { font-size: 24px; margin: 0 0 12px; }
.answers summary { display: inline-flex; list-style: none; cursor: pointer; padding: 10px 20px; border: 2px solid var(--ink);
                   background: #fff; font-weight: 700; font-size: 18px; }
.answers summary::-webkit-details-marker { display: none; }
.answers summary:hover { background: #FFF6D6; }
.answers summary:focus-visible { outline: 3px solid #FFE38A; outline-offset: 3px; }
.answers .hide, .answers details[open] .show { display: none; }
.answers details[open] .hide { display: inline; }
.answers img { display: block; width: 100%; max-width: 470px; height: auto; margin-top: 18px; background: #fff; border: 1px solid var(--edge); }
.more { margin-top: 56px; }

/* ---------- text pages (about / privacy / contact) */
.prose { margin: 10px 0 0; max-width: 46em; }
.prose h1 { margin: 0 0 16px; font-size: 36px; line-height: 1.2; }
.prose h2 { margin: 30px 0 8px; font-size: 22px; }
.prose p, .prose li { font-size: 18px; }
.prose .updated { color: var(--pencil); font-size: 15px; }

/* ---------- footer: bound by the same cord */
.foot-cord { margin-top: 56px; }
.site-foot { padding: 26px 0 36px; font-size: 16px; color: var(--ink); }
.foot-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand p { margin: 12px 0 0; max-width: 26em; }
.signoff { font-size: 22px; }
.signoff .en { color: var(--pencil); }
.foot-nav { display: block; font-size: 17px; }
.foot-nav h2 { margin: 4px 0 8px; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--pencil); font-weight: 700; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav li { margin: 0 0 6px; }
.site-foot a:not(.brand) { color: var(--ink); text-decoration: none; }
.site-foot a:not(.brand):hover, .site-foot a:not(.brand):focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.legal { margin: 28px 0 0; padding-top: 12px; border-top: 1px solid #DCD6C8; font-size: 14px; color: var(--pencil); }

/* ---------- tablet */
@media (max-width: 1000px) and (min-width: 761px) {
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .covers { grid-template-columns: repeat(2, 1fr); }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-top { gap: 40px; }
  .topic-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .dl-label .hand { font-size: 26px; }
}

/* ---------- phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .page { padding: 0 16px; }
  .site-head { padding: 16px 0 14px; }
  .brand { font-size: 22px; }
  .brand .mark { width: 30px; height: 30px; margin-right: 10px; vertical-align: calc(0.713em / 2 - 15px); }
  .site-nav { gap: 18px; font-size: 16px; }
  .topic-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .topic-card a { padding: 14px 10px 10px; }
  .topic-card .en { font-size: 16px; }
  .topic-card .ga { font-size: 14px; }
  #topics { position: relative; }
  .more-toggle { display: block; position: absolute; left: 0; bottom: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
  .more-toggle:not(:checked) ~ .topic-cards .topic-card.extra { display: none; }
  .more-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 16px 0 0;
              background: #fff; border: 2px solid var(--ink); color: var(--ink); font-weight: 700; font-size: 17px; cursor: pointer; }
  .more-btn:hover { background: #FFF6D6; }
  .more-btn .close, .more-toggle:checked ~ .more-btn .open { display: none; }
  .more-toggle:checked ~ .more-btn .close { display: inline; }
  .more-toggle:focus-visible ~ .more-btn { outline: 3px solid #FFE38A; outline-offset: 3px; }
  .block-h, .section-head h2 { font-size: 24px; }
  .section-head { grid-template-columns: 1fr auto; grid-template-areas: "h h" "n a"; row-gap: 2px; }
  .section-head h2 { grid-area: h; } .section-head .note { grid-area: n; } .section-head .all { grid-area: a; }
  .section-head.two { grid-template-areas: "h a"; }
  .crumbs { margin-top: 16px; font-size: 14px; }

  .sheet-page { margin-top: 18px; --line: 30px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='30'%3E%3Cline x1='0' y1='29.5' x2='8' y2='29.5' stroke='%23B9CDE5' stroke-width='1'/%3E%3C/svg%3E");
                background-position: 0 -6px; }
  .sheet-page::before { left: 30px; }
  .hero { grid-template-columns: 1fr; grid-template-areas: "text" "sheet" "list"; padding: var(--line) 14px var(--line) 44px; gap: 0; }
  .margin-note { display: none; }
  .hero h1 { font-size: 28px; line-height: var(--line); top: 0; }
  .intro { font-size: 17px; }
  .btn { font-size: 18px; }
  .cta .pencil { font-size: 19px; }
  .hero .taped { width: 190px; justify-self: center; margin: 4px 0 var(--line); }
  .taped .tape { width: 64px; height: 20px; top: -9px; }
  .taped figcaption { font-size: 17px; margin: 6px -60px 0; white-space: nowrap; }
  .tick-list { font-size: 17px; }

  .covers { grid-template-columns: 1fr; gap: 8px; }
  .cover a { padding: 8px; }
  .cover .lbl { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 12px; padding: 0 12px 5px; }
  .cover .field { grid-column: 1 / -1; padding-top: 2px; }
  .cover .field.subject { display: none; }
  .cover .hand { font-size: 23px; }
  .cover .ga { margin: 2px 0 0; font-size: 16px; }
  .cover .count { margin: 0; font-size: 13px; text-align: right; white-space: nowrap; }

  .jumps { font-size: 16px; }
  .jumps .jumps-h { display: block; margin: 0 0 4px; font-size: 19px; }
  .jumps li { display: block; margin: 6px 0; }

  .sheets { grid-template-columns: 1fr; gap: 18px; }
  .ws a { display: grid; grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 14px; align-items: start; }
  .ws .sheet { margin-top: 0; grid-row: 1 / span 3; }
  .ws .clip, .ws .stamp { display: none; }
  .ws .title { margin: 0; font-size: 18px; line-height: 1.25; }
  .ws .meta { font-size: 17px; line-height: 1.25; margin-top: 2px; }
  .ws .words { margin-top: 4px; font-size: 14.5px; line-height: 1.4; }
  .ws .w { white-space: normal; }
  .ws .w4 { display: none; }
  .ws .more-desk { display: none; } .ws .more-phone { display: inline; }

  .list-head { display: block; margin-top: 12px; }
  .list-cover { width: auto; max-width: 300px; padding: 8px; }
  .list-label { padding: 4px 16px 12px; }
  .list-label .hand { font-size: 30px; }
  .list-label .hand.pencil-ink { font-size: 22px; }
  .list-label .ga-name { font-size: 17px; }
  .list-intro { margin-top: 22px; font-size: 17px; }
  .list-intro h1 { font-size: 26px; }
  .group { margin-top: 40px; }
  .group-head h2 { font-size: 24px; }
  .group-head h2 .ga { font-size: 18px; }
  .group-head .count { font-size: 18px; }

  .ws-head h1 { font-size: 28px; }
  .ws-head .ga-line { font-size: 17px; }
  .ws-top { grid-template-columns: 1fr; gap: 30px; margin-top: 22px; }
  .ws-sheet { width: 240px; justify-self: center; }
  .ws-sheet .tape { width: 70px; height: 22px; top: -10px; }
  .dl-card { padding: 10px; }
  .dl-label { padding: 6px 16px 16px; }
  .dl-label .hand { font-size: 25px; }
  .dl-label .hand.pencil-ink { font-size: 22px; }
  .dl-label .gloss { font-size: 19px; }
  .btn-dl { font-size: 20px; }
  .wordlist { margin-top: 30px; }
  .ruled { padding: 8px 12px 12px 46px; }
  .ruled::before { left: 32px; }
  .ruled td { font-size: 18px; }
  .ruled td.en { font-size: 16px; }
  .home-note { margin-top: 36px; padding: 12px 16px 18px 50px; }
  .lined::before { left: 34px; }
  .home-note h2 { font-size: 24px; }
  .home-note p, .home-note ol { font-size: 16px; }
  .home-note ol { padding-left: 20px; }
  .answers, .more { margin-top: 36px; }
  .prose h1 { font-size: 28px; }

  .foot-cord { margin-top: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  .foot-brand { grid-column: 1 / -1; }
  .site-foot { padding: 20px 0 28px; }
}
