/* Play 25 website. Built from the design lab's direction E; edit here directly. */
/* Fonts are served from this site: no requests to Google */
@font-face { font-family: 'Irish Penny'; src: url('/assets/fonts/irish-penny-logo.woff2') format('woff2'); font-display: block; }
@font-face { font-family: 'Poppins'; font-weight: 400; src: url('/assets/fonts/poppins-latin-400-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Poppins'; font-weight: 500 600; src: url('/assets/fonts/poppins-latin-600-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Poppins'; font-weight: 700 900; src: url('/assets/fonts/poppins-latin-700-normal.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Source Serif 4'; font-weight: 400 700; src: url('/assets/fonts/source-serif-4-latin-600-normal.woff2') format('woff2'); font-display: swap; }

/* ---- Base: tokens, phone frame, badges, cards ---- */
:root { /* App greens */ --emerald-900: #04281f; --emerald-800: #0a3b2e; --emerald-700: #0f4836; --emerald-500: #1f8a5c; --go: #2ecc71; /* app primary button */ --go-ink: #0b2f22; --mint: #8de6c1; /* Light-led surfaces */ --cream: #f4f0e6; /* app text colour, used here as page */ --paper: #fbf8f1; --linen: #ebe4d3; --ink: #1b2a24; --ink-soft: #4a5a52; --ink-faint: #7a867f; --rule: rgba(27, 42, 36, 0.14); --heart: #c8312f; --gold: #b88a2e; --font-logo: 'Irish Penny', Georgia, serif; /* the Play 25 wordmark only */ --font-display: 'Source Serif 4', Georgia, serif; /* headings */ --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; /* the app's font */ --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --shadow-1: 0 1px 2px rgba(10, 40, 30, 0.08), 0 4px 14px rgba(10, 40, 30, 0.06); --shadow-2: 0 2px 4px rgba(10, 40, 30, 0.1), 0 18px 40px rgba(10, 40, 30, 0.14); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--paper); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--emerald-500); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Phone frame around an app screenshot */
.phone { position: relative; border-radius: 38px; padding: 9px; background: #0d1512; box-shadow: var(--shadow-2); }
.phone img { border-radius: 30px; width: 100%; height: auto; }
/* Store badges: phones see the badges, desktops get the QR card */
.badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badges a { display: inline-flex; min-height: 44px; align-items: center; }
.badges img { height: 48px; width: auto; }
.qr-card { display: none; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-1); max-width: 320px; }
.qr-card .qr { width: 84px; height: 84px; flex: none; }
.qr-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.qr-card strong { display: block; color: var(--ink); font-size: 15px; }
@media (min-width: 900px) and (hover: hover) {
  .qr-card { display: flex; }
}
/* Playing cards drawn in CSS */
.pcard { --w: 64px; width: var(--w); aspect-ratio: 5 / 7; border-radius: calc(var(--w) * 0.1); background: #fff; box-shadow: var(--shadow-1); display: grid; place-items: center; font-family: Georgia, serif; font-size: calc(var(--w) * 0.42); line-height: 1; color: #111; border: 1px solid rgba(0,0,0,0.08); }
.pcard span { display: grid; justify-items: center; gap: 2px; }
.pcard.red { color: var(--heart); }
.hero > * { min-width: 0; }
/* Even line lengths in headings; no single-word last lines in paragraphs */
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
/* Desktop shows the store badges and the QR together (iPads and laptops can tap a badge) */
.badges + .qr-card { margin-top: 14px; }

/* ---- Homepage (body.home) ---- */
/* E — Expressive: the kitchen table. Baize, the app on a phone at the round table, warm paper, a little motion */
body { background: var(--paper); }
.giftbar { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 44px; padding: 8px 16px; background: var(--cream); color: var(--emerald-900); font-size: 14px; text-align: center; text-decoration: none; border-bottom: 3px solid transparent; border-image: repeating-linear-gradient(90deg, var(--emerald-800) 0 14px, var(--heart) 14px 28px) 3; }
.giftbar b { font-weight: 700; }
.giftbar .d { color: var(--heart); }
.giftbar .go { color: var(--emerald-500); font-weight: 600; }
.giftbar:hover .go { text-decoration: underline; }
.giftbar .cap, .giftbar .arr { display: none; }
@media (max-width: 560px) {
  .giftbar .go, .giftbar .lead, .giftbar .low { display: none; }
  .giftbar .cap, .giftbar .arr { display: inline; }
}
body.home .table { position: relative; color: var(--cream); padding: 18px 20px 120px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #15583f 0%, #0d4331 45%, #082f22 100%); }
body.home .table::before { content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
body.home .table::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 70px; background: var(--paper); clip-path: polygon(0 60%, 6% 40%, 13% 55%, 21% 35%, 30% 52%, 38% 38%, 47% 56%, 55% 36%, 64% 50%, 72% 34%, 81% 54%, 89% 40%, 100% 55%, 100% 100%, 0 100%); }
body.home .in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
body.home .top { display: flex; justify-content: space-between; align-items: center; }
body.home .logo { font-family: var(--font-logo); font-size: 30px; color: var(--cream); text-decoration: none; }
body.home .top nav { display: none; gap: 24px; }
body.home .top nav a { color: rgba(244,240,230,.8); text-decoration: none; }
body.home .hero { display: grid; gap: 30px; padding-top: 34px; align-items: center; }
body.home h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(54px, 13vw, 112px); line-height: .9; margin: 0 0 18px; }
body.home h1 span { color: var(--mint); }
body.home .hero .eyebrow { max-width: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--mint); margin: 0 0 14px; }
body.home .hero p { font-size: 19px; color: rgba(244,240,230,.8); max-width: 30ch; margin: 0 0 26px; }
body.home .hero .qr-card { color: var(--ink); }
body.home .hero .qr-card p { color: var(--ink-soft); font-size: 14px; margin: 0; max-width: none; }
body.home .stage { position: relative; justify-self: center; width: min(340px, 92vw); }
body.home .stage .phone { position: relative; z-index: 2; width: 220px; margin: 0 auto; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
body.home section { padding: 56px 20px; }
body.home .wrap { max-width: 1120px; margin: 0 auto; }
body.home .suit { font-size: 22px; color: var(--heart); }
body.home h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px, 7vw, 56px); color: var(--emerald-900); margin: 2px 0 10px; line-height: 1; }
body.home .sub { color: var(--ink-soft); font-size: 18px; margin: 0 0 26px; max-width: 40ch; }
body.home .ways { display: grid; gap: 14px; }
body.home .way { background: #fff; border-radius: var(--r-md); padding: 20px 20px 18px; box-shadow: var(--shadow-1); border-top: 4px solid var(--emerald-800); }
body.home .way .ico { font-size: 26px; line-height: 1; color: var(--emerald-800); }
body.home .way .ico.red { color: var(--heart); }
body.home .way h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--emerald-900); margin: 8px 0 6px; }
body.home .way p { margin: 0; color: var(--ink-soft); font-size: 15px; }
body.home .way a { color: var(--emerald-800); font-weight: 700; }
body.home .gift-way { background: var(--cream); }
@media (min-width: 640px) {
  body.home .ways { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  body.home .ways { grid-template-columns: repeat(3, 1fr); }
}
body.home .learn { background: var(--cream); }
body.home .learn-grid { display: grid; gap: 30px; align-items: center; }
body.home .learn-grid .phone { width: min(250px, 66vw); justify-self: center; }
body.home .big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 520px; margin-bottom: 24px; }
body.home .big3 div { text-align: center; }
body.home .big3 .pcard { --w: 100%; max-width: 110px; margin: 0 auto 8px; font-size: 40px; }
body.home .big3 small { color: var(--ink-soft); font-size: 14px; }
body.home .btn-line { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--emerald-800); color: var(--emerald-800); font-weight: 700; text-decoration: none; }
body.home .gift-grid { display: grid; gap: 16px; }
body.home .gift { background: #fff; border-radius: var(--r-md); padding: 24px 20px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; transition: transform .2s ease-out, box-shadow .2s ease-out; }
body.home .gift:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-2); }
body.home .gift::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--emerald-800) 0 14px, var(--heart) 14px 28px); }
body.home .gift b { font-size: 17px; }
body.home .gift .price { font-family: var(--font-display); font-size: 46px; color: var(--emerald-900); line-height: 1.1; }
body.home .gift small { display: block; color: var(--ink-faint); margin-bottom: 14px; }
body.home .gift a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--emerald-800); color: var(--cream); font-weight: 700; text-decoration: none; }
body.home .quote { background: var(--emerald-900); color: var(--cream); text-align: center; }
body.home .quote p { font-family: var(--font-display); font-size: clamp(28px, 5vw, 44px); line-height: 1.15; max-width: 22ch; margin: 0 auto 10px; }
body.home .quote small { color: var(--mint); }
footer { padding: 30px 20px 90px; font-size: 14px; color: var(--ink-faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer .follow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; width: 100%; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--rule); }
footer .follow span { font-weight: 600; color: var(--ink-soft); margin-right: 4px; }
footer .follow a { color: var(--emerald-800); font-weight: 600; text-decoration: none; }
footer .follow a:hover { text-decoration: underline; }
footer a { min-height: 40px; display: inline-flex; align-items: center; }
footer .web { opacity: .6; }
@media (min-width: 820px) {
  body.home .top nav { display: flex; }
  body.home .hero { grid-template-columns: 1.1fr .9fr; }
  body.home .stage { width: 440px; }
  body.home .stage .phone { width: 270px; }
  body.home .gift-grid { grid-template-columns: repeat(3, 1fr); }
  body.home .learn-grid { grid-template-columns: 1.2fr .8fr; }
}

/* ---- Inner pages (body.page) ---- */
/* Inner pages, in E's look: a short baize band on top, warm paper below */
body { background: var(--paper); }
body.page .band { position: relative; color: var(--cream); padding: 18px 20px 76px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #15583f 0%, #0d4331 45%, #082f22 100%); }
body.page .band::before { content: ''; position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E"); }
body.page .band::after { content: ''; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 44px; background: var(--paper); clip-path: polygon(0 60%, 6% 40%, 13% 55%, 21% 35%, 30% 52%, 38% 38%, 47% 56%, 55% 36%, 64% 50%, 72% 34%, 81% 54%, 89% 40%, 100% 55%, 100% 100%, 0 100%); }
body.page .band .in { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
body.page .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
body.page .logo { font-family: var(--font-logo); font-size: 30px; color: var(--cream); text-decoration: none; }
body.page .top nav { display: none; gap: 24px; }
body.page .top nav a { color: rgba(244,240,230,.8); text-decoration: none; }
body.page .top nav a[aria-current] { color: var(--mint); }
body.page .top .get { display: inline-flex; min-height: 40px; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--go); color: var(--go-ink); font-weight: 700; font-size: 14px; text-decoration: none; }
body.page .band header { padding-top: 34px; max-width: 760px; }
body.page .band .eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--mint); margin: 0 0 10px; }
body.page .band h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(40px, 9vw, 72px); line-height: .98; margin: 0 0 14px; }
body.page .band h1 span { color: var(--mint); }
body.page .band header p { font-size: 18px; color: rgba(244,240,230,.82); margin: 0; max-width: 40ch; }
body.page main { padding: 28px 20px 56px; }
body.page .wrap { max-width: 1120px; margin: 0 auto; }
body.page .prose { max-width: 680px; font-size: 17px; }
body.page .prose h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 5vw, 34px); color: var(--emerald-900); line-height: 1.1; margin: 40px 0 10px; }
body.page .prose h2:first-child { margin-top: 0; }
body.page .prose h3 { font-size: 17px; margin: 24px 0 4px; color: var(--emerald-900); }
body.page .prose p, body.page .prose li { color: var(--ink-soft); }
body.page .prose ul { padding-left: 1.2em; }
body.page .prose li { margin: 6px 0; }
body.page .prose a { color: var(--emerald-800); font-weight: 600; }
body.page .prose .updated { font-size: 14px; color: var(--ink-faint); }
body.page .sign { font-family: var(--font-display); font-size: 22px; color: var(--emerald-900); margin-top: 28px; }
body.page .note { background: var(--cream); border-radius: var(--r-md); padding: 18px 20px; border-left: 4px solid var(--emerald-800); margin: 22px 0; }
body.page .note p { margin: 0; color: var(--ink); }
body.page .note p + p { margin-top: 8px; }
body.page .draft { background: #fff6dc; border-left-color: var(--gold); font-size: 14px; }
body.page .btn { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px; background: var(--emerald-800); color: var(--cream) !important; font-weight: 700; text-decoration: none; }
body.page .btn-line { display: inline-flex; min-height: 48px; align-items: center; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--emerald-800); color: var(--emerald-800); font-weight: 700; text-decoration: none; }
/* Gift packs (same cards as the homepage) */
body.page .gift-grid { display: grid; gap: 16px; margin: 6px 0 10px; }
body.page .gift { background: #fff; border-radius: var(--r-md); padding: 24px 20px; box-shadow: var(--shadow-1); position: relative; overflow: hidden; transition: transform .2s ease-out, box-shadow .2s ease-out; }
body.page .gift:hover { transform: translateY(-3px) rotate(-.4deg); box-shadow: var(--shadow-2); }
body.page .gift::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--emerald-800) 0 14px, var(--heart) 14px 28px); }
body.page .gift b { font-size: 17px; }
body.page .gift .price { font-family: var(--font-display); font-size: 46px; color: var(--emerald-900); line-height: 1.1; }
body.page .gift small { display: block; color: var(--ink-faint); }
body.page .gift p { margin: 10px 0 16px; color: var(--ink-soft); font-size: 15px; }
body.page .gift a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 18px; border-radius: 999px; background: var(--emerald-800); color: var(--cream); font-weight: 700; text-decoration: none; }
/* Numbered steps */
body.page ol.steps { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 14px; }
body.page ol.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; margin: 0; }
body.page ol.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--emerald-800); color: var(--cream); font-family: var(--font-display); font-size: 20px; }
body.page ol.steps b { color: var(--ink); }
/* Free vs member table */
body.page .compare { width: 100%; border-collapse: collapse; margin: 10px 0 6px; font-size: 15px; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
body.page .compare th, body.page .compare td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--rule); }
body.page .compare thead th { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); }
body.page .compare td + td, body.page .compare th + th { text-align: center; width: 26%; }
body.page .compare .yes { color: var(--emerald-500); font-weight: 700; }
body.page .compare tr:last-child td { border-bottom: 0; }
/* Story timeline */
body.page ol.years { list-style: none; padding: 0; margin: 10px 0; border-left: 2px solid var(--linen); }
body.page ol.years li { position: relative; padding: 0 0 18px 22px; margin: 0; }
body.page ol.years li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--emerald-800); }
body.page ol.years b { display: block; color: var(--emerald-900); }
body.page .photo { margin: 24px 0; border: 2px dashed var(--linen); border-radius: var(--r-md); min-height: 200px; display: grid; place-items: center; color: var(--ink-faint); font-size: 14px; text-align: center; padding: 20px; background: var(--cream); }
/* Socials and contact cards */
body.page .cards { display: grid; gap: 14px; margin: 10px 0; }
body.page .card { background: #fff; border-radius: var(--r-md); padding: 18px 20px; box-shadow: var(--shadow-1); }
body.page .card h3 { margin: 0 0 4px; }
body.page .card p { margin: 0; font-size: 15px; }
body.page .social { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
body.page .social li { margin: 0; }
body.page .social a { display: inline-flex; min-height: 44px; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--cream); text-decoration: none; color: var(--emerald-800); font-weight: 600; }
/* Install strip at the foot of every page */
body.page .install { background: var(--emerald-900); color: var(--cream); padding: 44px 20px; }
body.page .install .wrap { display: grid; gap: 18px; align-items: center; }
body.page .install h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 40px); line-height: 1.05; margin: 0 0 6px; }
body.page .install p { margin: 0; color: rgba(244,240,230,.78); }
body.page .install .qr-card { color: var(--ink); }
body.page .install .qr-card p { color: var(--ink-soft); }
footer { padding: 30px 20px 90px; font-size: 14px; color: var(--ink-faint); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer a { min-height: 40px; display: inline-flex; align-items: center; }
footer .web { opacity: .6; }
footer a[aria-current] { color: var(--ink); font-weight: 600; text-decoration: none; }
@media (min-width: 640px) {
  body.page .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 820px) {
  body.page .top nav { display: flex; }
  body.page .gift-grid { grid-template-columns: repeat(3, 1fr); }
  body.page .install .wrap { grid-template-columns: 1fr auto; }
}
/* Our story: map and then-and-now screenshots */
body.page figure { margin: 0; }
body.page figcaption { font-size: 14px; color: var(--ink-faint); margin-top: 8px; text-align: center; }
body.page .then { display: grid; gap: 22px; align-items: center; margin: 14px 0 34px; max-width: 900px; }
body.page .then figure { justify-self: center; width: min(240px, 70vw); }
body.page .phone-old img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(10,40,30,.18)); }
body.page .then .prose h2:first-child { margin-top: 0; }
@media (min-width: 820px) {
  body.page .then { grid-template-columns: 260px 1fr; gap: 44px; }
  body.page .then.flip { grid-template-columns: 1fr 260px; }
  body.page .then.flip figure { order: 2; }
}
footer .follow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; width: 100%; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--rule); }
footer .follow span { font-weight: 600; color: var(--ink-soft); margin-right: 4px; }
footer .follow a { color: var(--emerald-800); font-weight: 600; text-decoration: none; }
footer .follow a:hover { text-decoration: underline; }
body.page .then figure.map { justify-self: center; width: min(400px, 88vw); }
body.page .map svg { width: 100%; height: auto; display: block; overflow: visible; }
body.page .map .ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(3); } }
@media (min-width: 820px) {
  body.page .then.heart { grid-template-columns: 1fr 400px; }
}
/* The Kilbeggan pin turns slowly through the four suits: heart, club, diamond, spade (s1 heart, s2 diamond, s3 spade, s4 club) */
body.page .map .suit { opacity: 0; animation: suitcycle 12s ease-in-out infinite; }
body.page .map .suit.s1 { opacity: 1; }
body.page .map .suit.s1 { animation-delay: -1s; }
body.page .map .suit.s4 { animation-delay: 2s; }
body.page .map .suit.s2 { animation-delay: 5s; }
body.page .map .suit.s3 { animation-delay: 8s; }
/* the heart starts already showing (delay -1s); the others wait their turn at opacity 0 */
@keyframes suitcycle { 0% { opacity: 0; } 5% { opacity: 1; } 25% { opacity: 1; } 30% { opacity: 0; } 100% { opacity: 0; } }
/* Our story, v2: one centred column; chapters alternate picture and text */
body.page .story { max-width: 940px; margin: 0 auto; }
body.page .story > .prose { max-width: none; }
body.page .chap { display: grid; gap: 22px; align-items: center; margin: 8px 0 56px; }
body.page .chap .prose { max-width: 520px; }
body.page .chap .prose h2 { margin-top: 0; }
body.page .chap figure { justify-self: center; }
body.page .chap .shot { width: min(250px, 68vw); }
body.page .chap .map { width: min(380px, 86vw); }
body.page .covid { background: var(--emerald-900); color: var(--cream); border-radius: var(--r-lg); padding: 30px 24px; margin: 0 0 56px; text-align: center; }
body.page .covid .suits { color: var(--mint); letter-spacing: .4em; font-size: 18px; }
body.page .covid h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 36px); margin: 8px 0 12px; }
body.page .covid p { max-width: 58ch; margin: 0 auto 12px; color: rgba(244,240,230,.82); font-size: 17px; }
body.page .covid p:last-child { margin-bottom: 0; }
body.page .closing { max-width: 620px; margin: 0 auto; text-align: center; border-top: 1px solid var(--rule); padding-top: 40px; }
body.page .closing h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 5vw, 36px); color: var(--emerald-900); margin: 0 0 10px; }
body.page .closing p { color: var(--ink-soft); font-size: 17px; }
body.page .closing .sign { margin: 18px 0; font-size: 24px; color: var(--emerald-900); }
body.page .closing .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 820px) {
  body.page .chap { grid-template-columns: 300px 1fr; gap: 56px; }
  body.page .chap.flip { grid-template-columns: 1fr 300px; }
  body.page .chap.flip figure { order: 2; }
  body.page .chap:has(.map) { grid-template-columns: 1fr 400px; }
  body.page .covid { padding: 44px 56px; }
}
/* Gift bar above the header (not on the gifts page itself) */
.giftbar { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 44px; padding: 8px 16px; background: var(--cream); color: var(--emerald-900); font-size: 14px; text-align: center; text-decoration: none; border-bottom: 3px solid transparent; border-image: repeating-linear-gradient(90deg, var(--emerald-800) 0 14px, var(--heart) 14px 28px) 3; }
.giftbar b { font-weight: 700; }
.giftbar .d { color: var(--heart); }
.giftbar .go { color: var(--emerald-500); font-weight: 600; }
.giftbar:hover .go { text-decoration: underline; }
.giftbar .cap, .giftbar .arr { display: none; }
@media (max-width: 560px) {
  .giftbar .go, .giftbar .lead, .giftbar .low { display: none; }
  .giftbar .cap, .giftbar .arr { display: inline; }
}

/* ---- Site extras ---- */
body.home .quote small a { color: inherit; }
body.home p.more { margin: 18px 0 0; }
body.page .notfound { text-align: center; padding: 20px 0 10px; }
body.page .notfound p { color: var(--ink-soft); }
body.page .notfound .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 18px; }

/* ---- Christmas push (Nov 2026) ---- */
/* Gift bar: long wording on wide screens, short on phones */
.giftbar .short { display: none; }
@media (max-width: 560px) {
  .giftbar .long { display: none; }
  .giftbar .short { display: inline; }
}
/* Gift link in the homepage hero, under the store badges */
body.home .hero .xmas { display: flex; align-items: center; gap: 12px; margin-top: 16px; max-width: 400px; padding: 12px 16px; border-radius: var(--r-md); background: rgba(244,240,230,.08); border: 1.5px dashed rgba(141,230,193,.55); color: var(--cream); text-decoration: none; transition: background .2s ease-out; }
body.home .hero .xmas:hover { background: rgba(244,240,230,.14); }
body.home .hero .xmas .bow { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--heart); color: #fff; font-size: 18px; }
body.home .hero .xmas span:nth-child(2) { font-size: 14px; color: rgba(244,240,230,.78); line-height: 1.4; }
body.home .hero .xmas b { display: block; font-size: 16px; color: var(--cream); }
body.home .hero .xmas .arr { margin-left: auto; color: var(--mint); font-size: 20px; }
body.home .hero .badges + .xmas { margin-top: 18px; }

/* Homepage: live board and proof points */
body.home .live { padding-top: 40px; }
body.home .live-grid { display: grid; gap: 28px; align-items: start; }
body.home .proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
body.home .proof li { display: grid; grid-template-columns: 132px 1fr; gap: 12px; align-items: baseline; color: var(--ink-soft); font-size: 15px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
body.home .proof b { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--emerald-900); }
body.home .board { background: var(--emerald-900); color: var(--cream); border-radius: var(--r-lg); padding: 20px 20px 16px; box-shadow: var(--shadow-2); }
body.home .board[hidden] { display: none; }
body.home .board-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); padding-bottom: 10px; border-bottom: 1px solid rgba(244,240,230,.14); }
body.home .board ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
body.home .board li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid rgba(244,240,230,.08); }
body.home .board li::before { content: counter(r); font-family: var(--font-display); font-size: 20px; color: var(--mint); }
body.home .board .who b { display: block; font-weight: 600; }
body.home .board .who small { color: rgba(244,240,230,.65); font-size: 13px; }
body.home .board .wins { font-family: var(--font-display); font-size: 22px; }
body.home .board-foot { margin: 12px 0 0; font-size: 13px; color: rgba(244,240,230,.65); }
body.home .board-foot a { color: var(--mint); font-weight: 600; text-decoration: none; }
body.home p.more { display: flex; flex-wrap: wrap; gap: 10px; }
body.home .county { display: grid; gap: 18px; align-items: center; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: 22px; }
body.home .county h3 { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.2; color: var(--emerald-900); margin: 0 0 8px; }
body.home .county p { margin: 0; color: var(--ink-soft); font-size: 15px; }
body.home .seat-chip { justify-self: start; display: flex; align-items: center; gap: 12px; background: var(--emerald-900); color: var(--cream); border-radius: 999px; padding: 8px 22px 8px 8px; box-shadow: var(--shadow-2); }
body.home .seat-chip .av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--emerald-900); font-weight: 700; font-size: 17px; letter-spacing: .02em; }
body.home .seat-chip b { display: block; font-weight: 600; font-size: 17px; }
body.home .seat-chip small { color: rgba(244,240,230,.72); font-size: 14px; }
@media (min-width: 820px) {
  body.home .live-grid { grid-template-columns: 1fr 420px; gap: 56px; }
  body.home .county { grid-column: 1 / -1; grid-template-columns: 1fr auto; gap: 32px; padding: 26px 32px; }
  body.home .seat-chip { justify-self: end; }
}

/* Press page */
body.page .press-top { display: grid; gap: 28px; align-items: start; margin-bottom: 48px; }
body.page .press .lead { font-size: 19px; color: var(--ink); }
body.page .facts { background: #fff; border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-1); border-top: 4px solid var(--emerald-800); }
body.page .facts h3 { margin: 0 0 10px; font-family: var(--font-display); font-size: 22px; color: var(--emerald-900); }
body.page .facts dl { margin: 0; display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; font-size: 15px; }
body.page .facts dt { color: var(--ink-faint); }
body.page .facts dd { margin: 0; color: var(--ink); }
body.page .press h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 5vw, 34px); color: var(--emerald-900); line-height: 1.1; margin: 0 0 14px; }
body.page .angles { margin-bottom: 48px; }
body.page .angles .card h3 { color: var(--emerald-900); font-size: 17px; margin-bottom: 6px; }
body.page .angles .card p { color: var(--ink-soft); }
body.page .quote-block { background: var(--emerald-900); color: var(--cream); border-radius: var(--r-lg); padding: 30px 26px; margin-bottom: 48px; }
body.page .quote-block blockquote { margin: 0 auto; max-width: 720px; }
body.page .quote-block p { font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px); line-height: 1.25; margin: 0 0 12px; }
body.page .quote-block footer { padding: 0; font-size: 15px; color: var(--mint); }
body.page .shots { margin-bottom: 48px; }
body.page .shot-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 980px; }
body.page .shot-row .phone { border-radius: 24px; padding: 6px; }
body.page .shot-row .phone img { border-radius: 19px; }
body.page .kit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 24px 0 0; }
body.page .kit span { font-size: 14px; color: var(--ink-faint); }
body.page .press .contact { max-width: 680px; }
@media (min-width: 820px) {
  body.page .press-top { grid-template-columns: 1fr 360px; gap: 48px; }
  body.page .shot-row { grid-template-columns: repeat(5, 1fr); gap: 22px; }
}

/* Printable gift card */
body.page .giftcard-page { display: grid; gap: 28px; align-items: start; }
body.page .gc-form { display: grid; gap: 14px; max-width: 420px; }
body.page .gc-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; color: var(--emerald-900); }
body.page .gc-form input, body.page .gc-form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: var(--r-sm); background: #fff; color: var(--ink); }
body.page .gc-form input:focus, body.page .gc-form textarea:focus { outline: none; border-color: var(--emerald-500); }
body.page .gc-form input[name="code"] { font-family: ui-monospace, Menlo, monospace; letter-spacing: .04em; }
body.page .gc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 0; }
body.page .gc-actions span { font-size: 14px; color: var(--ink-faint); }
body.page button.btn { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
body.page .gc-card { display: grid; gap: 0; max-width: 560px; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-2); }
body.page .gc-front { position: relative; text-align: center; padding: 34px 24px 28px; color: var(--cream); background: radial-gradient(120% 90% at 50% 0%, #15583f 0%, #0d4331 45%, #082f22 100%); border-bottom: 8px solid transparent; border-image: repeating-linear-gradient(90deg, var(--emerald-800) 0 14px, var(--heart) 14px 28px) 8; }
body.page .gc-front p { margin: 0; }
body.page .gc-eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); font-weight: 700; }
body.page .gc-to { font-family: var(--font-display); font-size: 34px; line-height: 1.1; margin-top: 4px !important; }
body.page .gc-logo { font-family: var(--font-logo); font-size: 56px; line-height: 1.1; margin-top: 14px !important; }
body.page .gc-tag { font-size: 15px; color: rgba(244,240,230,.82); }
body.page .gc-note { font-family: var(--font-display); font-style: italic; font-size: 18px; margin-top: 18px !important; }
body.page .gc-from { margin-top: 10px !important; font-size: 15px; color: var(--mint); }
body.page .gc-back { position: relative; background: #fff; padding: 22px 24px 20px; display: grid; grid-template-columns: 1fr 96px; gap: 4px 18px; }
body.page .gc-back > * { grid-column: 1; }
body.page .gc-code-label { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; }
body.page .gc-code { margin: 0 0 8px; font-family: ui-monospace, Menlo, monospace; font-size: 22px; font-weight: 700; color: var(--emerald-900); letter-spacing: .04em; word-break: break-all; }
body.page .gc-back ol { margin: 0; padding-left: 1.2em; font-size: 14px; color: var(--ink-soft); }
body.page .gc-back li { margin: 3px 0; }
body.page .gc-qr { grid-column: 2 !important; grid-row: 1 / span 3; align-self: center; width: 96px; height: 96px; }
body.page .gc-help { margin: 8px 0 0; font-size: 12px; color: var(--ink-faint); }
@media (min-width: 900px) {
  body.page .giftcard-page { grid-template-columns: 380px 1fr; gap: 48px; }
}
@media print {
  @page { margin: 12mm; }
  body.page { background: #fff; }
  body.page > *:not(main), body.page .gc-form { display: none !important; }
  body.page main { padding: 0; }
  body.page .giftcard-page { display: block; }
  body.page .gc-card { box-shadow: none; border: 1px solid #ccc; margin: 0 auto; max-width: 150mm; }
  body.page .gc-front, body.page .gc-back { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
body.page .gc-first { background: var(--cream); border-left: 4px solid var(--heart); border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; color: var(--ink); }
body.page .gc-first p { margin: 0; }
body.page .gc-first a { color: var(--emerald-800); font-weight: 700; }
body.page .gc-buy { margin-top: 8px !important; }
body.page .gc-error { margin: 0; padding: 10px 14px; border-radius: var(--r-sm); background: #fdecea; color: #8a1f1c; font-size: 14px; }
body.page .gc-error[hidden] { display: none; }
body.page .gc-linked { display: none; background: #e7f6ee; border-left: 4px solid var(--emerald-500); border-radius: var(--r-sm); padding: 14px 16px; font-size: 15px; }
body.page .gc-linked p { margin: 0; }
body.page .from-email .gc-linked { display: block; }
body.page .from-email .gc-first { display: none; }
/* Board: the Irish date and the app's time-and-place line */
body.home .board-when { margin: 10px 0 2px; display: grid; gap: 2px; }
body.home .board-when [data-board-date] { font-family: var(--font-display); font-size: 20px; color: var(--cream); }
body.home .board-tagline { font-size: 14px; font-style: italic; color: rgba(244,240,230,.75); }
body.home .board li.unplayed { counter-increment: none; opacity: .55; }
body.home .board li.unplayed::before { content: '–'; }
body.home .board ol.scrolls { overflow-y: auto; padding-right: 10px; scrollbar-width: thin; scrollbar-color: rgba(244,240,230,.25) transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent); }
body.home .board ol.scrolls.at-end { -webkit-mask-image: none; mask-image: none; }
body.home .board-champ { margin: 12px 0 0; font-size: 14px; color: var(--cream); }
body.home .board-champ[hidden] { display: none; }
/* /gift-card shows the form only when opened from the gift email */
body.page .gc-nolink { max-width: 560px; }
body.page .gc-nolink p { color: var(--ink-soft); font-size: 17px; }
body.page .gc-nolink a:not(.btn) { color: var(--emerald-800); font-weight: 700; }
body.page .giftcard-page:not(.from-email) .gc-form, body.page .giftcard-page:not(.from-email) .gc-card { display: none; }
body.page .giftcard-page.from-email .gc-nolink { display: none; }
body.page .gc-linked { display: block; }
/* Sample card on /gifts */
body.page .gc-sample { margin: 18px 0 8px; max-width: 460px; }
body.page .gc-sample .gc-card { position: relative; transform: rotate(-1.2deg); }
body.page .gc-sample-tag { position: absolute; top: 14px; right: -34px; z-index: 2; transform: rotate(35deg); background: var(--heart); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 40px; }
body.page .gc-sample figcaption { text-align: left; }

/* Press screenshots open large */
body.page a.phone[data-shot] { display: block; cursor: zoom-in; transition: transform .15s ease; }
body.page a.phone[data-shot]:hover { transform: translateY(-3px); }
body.page a.phone[data-shot]:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; overflow: hidden; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(2, 18, 13, .88); }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 10px; min-height: 0; }
.lightbox img { max-height: calc(100vh - 90px); max-width: calc(100vw - 140px); width: auto; height: auto; border-radius: 22px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox figcaption { color: var(--cream); font-size: 14px; }
.lightbox button { background: rgba(244,240,230,.12); color: var(--cream); border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; justify-self: center; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(244,240,230,.24); outline: none; }
.lightbox .lb-close { position: absolute; top: 14px; right: 14px; font-size: 28px; }
@media (max-width: 600px) {
  .lightbox[open] { grid-template-columns: 1fr; }
  .lightbox .lb-prev, .lightbox .lb-next { position: absolute; bottom: 16px; }
  .lightbox .lb-prev { left: 24px; } .lightbox .lb-next { right: 24px; }
  .lightbox img { max-width: calc(100vw - 32px); max-height: calc(100vh - 140px); }
}

/* Homepage: a taste of home */
body.home .taste { background: radial-gradient(120% 120% at 50% 0%, #15583f 0%, #0d4331 45%, #082f22 100%); color: var(--cream); text-align: center; padding: 64px 20px; }
body.home .taste .wrap { max-width: 640px; margin: 0 auto; }
body.home .taste .shamrock { font-size: 34px; color: var(--mint); line-height: 1; }
body.home .taste h2 { color: var(--cream); margin-top: 8px; }
body.home .taste p { font-size: 19px; line-height: 1.6; color: rgba(244,240,230,.88); margin: 0 0 14px; }
body.home .taste .hush { font-family: var(--font-display); font-style: italic; font-size: 21px; color: var(--mint); margin-bottom: 22px; }
body.home .taste .story-link { color: var(--cream); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(244,240,230,.4); padding-bottom: 2px; }
body.home .taste .story-link:hover { border-bottom-color: var(--mint); }
body.page .angles .card.wide { grid-column: 1 / -1; }

/* Press: founder photo beside the quote */
body.page .quote-block { display: grid; gap: 22px; justify-items: center; }
body.page .quote-block .founder { width: 160px; height: auto; border-radius: var(--r-md); border: 3px solid var(--mint); }
body.page .press .photos { font-size: 15px; color: var(--ink-soft); }
@media (min-width: 820px) {
  body.page .quote-block { grid-template-columns: 200px 1fr; align-items: center; justify-items: start; padding: 34px 40px; gap: 36px; }
  body.page .quote-block .founder { width: 200px; }
  body.page .quote-block blockquote { margin: 0; }
}
/* Press screenshots on phones: an odd last one sits centred under the pairs */
@media (max-width: 819px) {
  body.page .shot-row figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 7px); }
}
