/* Columbus Kennel Club: everything here follows the embroidered patch logo.
   Black twill, gold satin thread, gray twill, and a grayscale dog with gold highlights. */
:root {
  --black: #151514;
  --black-2: #20201f;
  --gold: #e7a92b;
  --gold-hi: #f6c859;
  --gold-lo: #b9811a;
  --gold-text: #7a540c;          /* gold that stays readable on light gray */
  --gray: #8e8e8c;               /* the patch's center twill */
  --gray-lt: #c4c4c1;
  --bg: #e9e9e6;
  --white: #f7f7f4;
  --text: #1b1b1a;
  --muted: #55554f;
  --line: rgba(21, 21, 20, .14);
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --wrap: 1180px;
  --radius: 8px;

  /* Fabric textures, drawn with CSS */
  --twill-dark: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 4px),
                repeating-linear-gradient(-45deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 5px);
  --twill-light: repeating-linear-gradient(45deg, rgba(255, 255, 255, .45) 0 1px, transparent 1px 4px),
                 repeating-linear-gradient(-45deg, rgba(0, 0, 0, .035) 0 1px, transparent 1px 5px);
  --satin: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background-color: var(--bg); background-image: var(--twill-light); color: var(--text); font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: .05em; }
p { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--gold); padding: .5rem 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* Draft-only helpers: remove before launch */
.draft-note { background: #2b2b29; color: #d6d6d2; text-align: center; font: 600 .78rem/1 var(--font); padding: .55rem 1rem; letter-spacing: .02em; }
mark.todo { background: #ffe36e; color: #3a2a00; padding: 0 .3em; border-radius: 3px; box-shadow: 0 0 0 1px #d6b100 inset; }

/* Dark "black twill" surfaces with gold thread headings */
.dark { background-color: var(--black); background-image: var(--twill-dark); color: #deded9; }
.dark h1, .dark h2 { color: var(--white); }
.gold-thread { color: var(--gold); text-shadow: 0 1px 0 #8f6412, 0 2px 3px rgba(0, 0, 0, .55); }

/* Stitched divider: a dashed gold seam */
.seam { height: 0; border: 0; border-top: 2px dashed rgba(231, 169, 43, .6); margin: 0; }

/* Small embroidered tab used as a section label */
.tab { display: inline-flex; align-items: center; gap: .5rem; font: 800 .72rem/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); background-color: var(--black); background-image: var(--twill-dark); border: 2px solid var(--gold); border-radius: 999px; padding: .5rem .95rem; margin-bottom: 1.2rem; box-shadow: 0 0 0 3px var(--black); }
.label { font: 800 .75rem/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.dark .label { color: var(--gold); }

/* Buttons: gold satin, or outlined */
.btn { display: inline-block; font: 800 .88rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 1.05rem 1.6rem; border-radius: 999px; border: 2px solid transparent; transition: transform .15s, filter .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--satin); color: var(--black); box-shadow: 0 0 0 3px var(--black), 0 0 0 4px var(--gold-lo); }
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--gray-lt); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--black); }
.btn-dark { background: var(--black); color: var(--gold); border-color: var(--gold); }
.btn-dark:hover { background: var(--gold); color: var(--black); }
.btn-small { padding: .7rem 1.1rem; font-size: .78rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background-color: rgba(21, 21, 20, .97); background-image: var(--twill-dark); border-bottom: 2px solid transparent; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; border-top: 2px dashed rgba(231, 169, 43, .5); pointer-events: none; }  /* the stitched seam (drawn separately so it can sew itself in) */
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand img { width: 58px; height: 58px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .6)); }
.brand-text strong { display: block; font: 800 1.02rem/1.1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.brand-text small { display: block; font: 600 .7rem/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: var(--gray); margin-top: .25rem; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav a, .brand-text small { white-space: nowrap; }
.site-nav a:not(.btn) { color: #e2e2dd; text-decoration: none; font: 700 .8rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; padding: .45rem 0; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover, .site-nav a:not(.btn)[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.menu-toggle { display: none; background: none; border: 2px solid var(--gold); color: var(--gold); font: 800 .78rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; padding: .65rem 1rem; border-radius: 999px; cursor: pointer; }

/* Home hero: black twill with the patch "sewn on" */
.hero { position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -10%; top: -30%; width: 70%; height: 160%; background: radial-gradient(closest-side, rgba(231, 169, 43, .16), transparent); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; padding-block: clamp(4rem, 8vw, 6.5rem) clamp(7rem, 11vw, 9rem); }
.hero h1 { font-size: clamp(3.6rem, 9vw, 7.4rem); font-weight: 900; line-height: .92; letter-spacing: .01em; margin-bottom: 1.6rem; }
.hero h1 .w, .hero h1 .dot { display: inline-block; }
.hero h1 .dot { color: var(--gold); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); font-weight: 500; max-width: 34rem; color: #cfcfca; }
.lede strong { color: var(--gold); font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 1.1rem; margin-top: 2rem; }
.patch { position: relative; justify-self: center; width: min(100%, 430px); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hero-patch { width: 100%; transform: rotate(-5deg); filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .7)) drop-shadow(0 2px 0 rgba(0, 0, 0, .9)); }

/* Page hero for inner pages */
.page-hero { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.page-hero h1 { overflow-wrap: anywhere; font-size: clamp(1.9rem, 6.5vw, 4.8rem); font-weight: 900; margin-bottom: 1.2rem; }
.page-hero .lede { max-width: 42rem; }

/* Meeting card: gold satin with a black stitched border */
.ticket { position: relative; z-index: 2; margin-top: -5rem; display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; background: var(--satin); color: var(--black); padding: 2.4rem 2.8rem; border-radius: 14px; box-shadow: 0 0 0 5px var(--black), 0 30px 50px -22px rgba(0, 0, 0, .55); }
.ticket::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(21, 21, 20, .5); border-radius: 8px; pointer-events: none; }
.ticket .label { color: rgba(21, 21, 20, .72); }
.ticket-when { font: 900 clamp(1.7rem, 3.4vw, 2.5rem)/1.05 var(--font); text-transform: uppercase; margin-bottom: .8rem; }
.ticket { font-weight: 500; }
.ticket-side { border-left: 2px dashed rgba(21, 21, 20, .4); padding-left: 2.5rem; }
.ticket-where { font: 800 1.25rem/1.25 var(--font); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .5rem; }
.ticket-links { display: grid; gap: .4rem; margin-top: 1.1rem; }
.ticket-links a { font: 800 .8rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.ticket-links a:hover { text-decoration: underline; }

/* Sections */
.section { padding-block: clamp(4rem, 8vw, 6.5rem); }
.section + .section:not(.dark) { padding-top: 0; }
.split h2 { margin-bottom: 1.2rem; }
.section-head { margin-bottom: 2.6rem; max-width: 46rem; }
.section-head p:last-child { color: var(--muted); font-weight: 500; }

/* Sports cards: grayscale like the patch dog; color comes back on hover */
.sports { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.sport { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 4; background: var(--black); color: var(--white); box-shadow: 0 0 0 4px var(--black), 0 0 0 6px var(--gold); margin: 6px; }
.sport img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); transition: filter .5s, transform .6s; }
.sport:hover img { filter: none; transform: scale(1.04); }
.sport::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 15, 14, .96) 0%, rgba(15, 15, 14, .6) 38%, rgba(15, 15, 14, 0) 68%); }
.sport-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.8rem; }
.sport .num { font: 900 .8rem/1 var(--font); color: var(--gold); letter-spacing: .25em; }
.sport h3 { font-size: 1.9rem; font-weight: 900; margin: .5rem 0 .7rem; color: var(--gold); text-shadow: 0 1px 0 #8f6412, 0 2px 3px rgba(0, 0, 0, .6); }
.sport p { font-size: .95rem; font-weight: 500; color: #d6d6d1; margin: 0; }

/* Values band over a grayscale photo */
.band { position: relative; overflow: hidden; padding-block: clamp(4.5rem, 9vw, 7rem); }
.band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; filter: grayscale(1) contrast(1.1) brightness(.5); }
.band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(21, 21, 20, .92), rgba(21, 21, 20, .7)), var(--twill-dark); }
.band > .wrap { position: relative; z-index: 2; }
.band .seam { position: absolute; left: 0; right: 0; z-index: 2; }
.band .seam.top { top: 14px; }
.band .seam.bottom { bottom: 14px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
.value { border-top: 3px solid var(--gold); padding-top: 1.4rem; }
.value h3 { color: var(--gold); margin-bottom: .8rem; }
.value p { color: #d3d3ce; font-weight: 500; }

/* Founding donors */
.donate { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.donate h2 { margin-bottom: 1.2rem; }
.donate-copy p { font-weight: 500; color: var(--muted); }
.donate-copy .btn { margin-top: .8rem; }
.fine { font-size: .85rem; margin-top: 1.2rem; }
.wishlist { background: var(--white); border-radius: 14px; padding: 2rem; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(0, 0, 0, .4); }
.wishlist ul { list-style: none; margin: 0 0 2rem; padding: 0; }
.wishlist li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 2px dashed var(--line); font-weight: 600; }
.wishlist li b { font-weight: 900; }

/* Donor tiers as round patches */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; text-align: center; }
.tier-patch { width: 118px; aspect-ratio: 1; margin: 0 auto .8rem; border-radius: 50%; display: grid; place-content: center; background-color: var(--black); background-image: var(--twill-dark); border: 3px solid var(--gold); box-shadow: 0 0 0 5px var(--black), 0 8px 14px -6px rgba(0, 0, 0, .6); }
.tier-patch b { font: 900 1.55rem/1 var(--font); color: var(--gold); }
.tier-patch span { font: 800 .6rem/1.6 var(--font); letter-spacing: .2em; text-transform: uppercase; color: #cfcfca; }
.tiers small { display: block; font-size: .82rem; font-weight: 500; line-height: 1.4; color: var(--muted); }

/* Link tiles */
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.hub-tile { position: relative; display: block; text-decoration: none; background: var(--white); border-radius: 14px; padding: 2rem 2rem 3.8rem; box-shadow: 0 0 0 1px var(--line); transition: background .2s, transform .2s, color .2s; }
.hub-tile p:not(.label) { color: var(--muted); font-weight: 500; }
.hub-tile:hover { background-color: var(--black); background-image: var(--twill-dark); color: var(--white); transform: translateY(-3px); }
.hub-tile:hover h3, .hub-tile:hover .label { color: var(--gold); }
.hub-tile:hover p:not(.label) { color: #cfcfca; }
.hub-tile h3 { margin-bottom: .8rem; }
.hub-tile .arrow { position: absolute; left: 2rem; bottom: 1.5rem; font: 900 1.5rem/1 var(--font); color: var(--gold-text); transition: transform .2s; }
.hub-tile:hover .arrow { color: var(--gold); transform: translateX(6px); }

/* Breeder page */
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: tip; }
.tip { background: var(--white); border-radius: 14px; padding: 1.8rem; box-shadow: 0 0 0 1px var(--line); counter-increment: tip; }
.tip::before { content: counter(tip, decimal-leading-zero); display: block; font: 900 .8rem/1 var(--font); letter-spacing: .25em; color: var(--gold-text); margin-bottom: .9rem; }
.tip h3 { margin-bottom: .6rem; }
.tip p { color: var(--muted); font-weight: 500; margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.empty-card { border: 2px dashed rgba(21, 21, 20, .25); border-radius: 14px; padding: 2.2rem; text-align: center; }
.empty-card img { width: 96px; margin: 0 auto 1rem; opacity: .9; }
.empty-card p { color: var(--muted); font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding: .55rem 0 .55rem 2.1rem; font-weight: 500; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .85rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--satin); box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--gold-lo); }
.apply { position: relative; border-radius: 14px; padding: 2.2rem; background-color: var(--black-2); background-image: var(--twill-dark); box-shadow: 0 0 0 2px var(--gold); }
.apply::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(231, 169, 43, .45); border-radius: 8px; pointer-events: none; }
.apply ol { margin: 0 0 1.6rem; padding-left: 1.2rem; }
.apply li { margin-bottom: .45rem; font-weight: 500; }
.apply li::marker { color: var(--gold); font-weight: 800; }
.apply .fine { color: #a9a9a3; }

/* Footer */
.site-footer { padding: 4rem 0 2rem; border-top: 4px solid var(--gold); }
.footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 2rem; }
.footer-brand { display: flex; gap: 1.1rem; align-items: center; }
.footer-brand img { filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .6)); }
.footer-brand strong { font: 800 1rem/1.3 var(--font); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); }
.site-footer p { font-weight: 500; font-size: .95rem; }
.site-footer a { text-decoration: none; color: #ecece7; }
.site-footer a:hover { color: var(--gold); }
.copyright { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px dashed rgba(231, 169, 43, .3); font-size: .8rem; color: var(--gray); }

/* Tablet and phone */
@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background-color: var(--black); background-image: var(--twill-dark); padding: .5rem 1.25rem 1.25rem; border-bottom: 2px solid var(--gold); }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: .9rem; }
  .site-nav .btn { margin-top: 1rem; text-align: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .tips { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .patch { order: -1; width: 210px; justify-self: start; }
  .ticket { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 1.7rem; margin-top: -4rem; }
  .ticket-side { border-left: 0; border-top: 2px dashed rgba(21, 21, 20, .4); padding: 1.5rem 0 0; }
  .sports, .values, .hub, .donate, .tips, .split, .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .wishlist { padding: 1.4rem; }
  .sport { aspect-ratio: 4 / 3; }
  .tiers { grid-template-columns: 1fr 1fr 1fr; gap: .5rem; }
  .tier-patch { width: 84px; }
  .tier-patch b { font-size: 1.2rem; }
  .brand-text small { display: none; }
}

/* Boarding & training directory */
.jump { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.jump a { font: 800 .75rem/1 var(--font); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--gold); border: 2px solid var(--gold); border-radius: 999px; padding: .6rem 1rem; }
.jump a:hover { background: var(--gold); color: var(--black); }
.notice { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: start; background: var(--white); border-radius: 14px; padding: 2rem 2.2rem; box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px var(--black); margin-top: -2.5rem; z-index: 2; }
.notice::before { content: ""; position: absolute; inset: 9px; border: 2px dashed rgba(185, 129, 26, .45); border-radius: 8px; pointer-events: none; }
.notice-badge { width: 64px; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; background-color: var(--black); background-image: var(--twill-dark); color: var(--gold); font: 900 .95rem/1 var(--font); letter-spacing: .06em; box-shadow: 0 0 0 3px var(--gold), 0 0 0 6px var(--black); }
.notice h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.notice p { font-weight: 500; color: var(--muted); }
.notice p:last-child { margin-bottom: 0; }
.dir-section { scroll-margin-top: 100px; }
.dir-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.dir-head h2 { margin: 0; }
.dir-head p { margin: 0; color: var(--muted); font-weight: 500; max-width: 30rem; }
.directory { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.2rem; }
.biz { display: flex; flex-direction: column; background: var(--white); border-radius: 14px; padding: 1.5rem 1.6rem 1.3rem; box-shadow: 0 0 0 1px var(--line); border-top: 5px solid var(--gold); }
.biz h3 { font-size: 1.05rem; letter-spacing: .04em; margin-bottom: .7rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: 0 0 .9rem; padding: 0; list-style: none; }
.tags li { font: 700 .65rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase; background: var(--black); color: var(--gold); border-radius: 999px; padding: .4rem .6rem; }
.biz .contact { display: grid; gap: .2rem; margin-bottom: 1rem; font-weight: 600; font-size: .95rem; }
.biz .contact a { text-decoration: none; color: var(--text); }
.biz .contact a:hover { color: var(--gold-text); text-decoration: underline; }
.biz .lic { margin-top: auto; padding-top: .8rem; border-top: 2px dashed var(--line); font-size: .75rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.biz .lic::before { content: "✓ "; color: var(--gold-text); font-weight: 900; }
.biz-note { font-size: .88rem; font-weight: 500; color: var(--muted); margin-bottom: .9rem; }
.checked { font-size: .85rem; color: var(--muted); font-weight: 500; margin-top: 2.5rem; }
@media (max-width: 760px) {
  .notice { grid-template-columns: 1fr; padding: 1.8rem 1.5rem; }
}
.biz-cta { position: relative; display: block; text-decoration: none; border-radius: 14px; padding: 1.5rem 1.6rem 3.4rem; color: #deded9; background-color: var(--black); background-image: var(--twill-dark); box-shadow: 0 0 0 2px var(--gold); transition: transform .2s; }
.biz-cta::before { content: ""; position: absolute; inset: 8px; border: 2px dashed rgba(231, 169, 43, .45); border-radius: 8px; pointer-events: none; }
.biz-cta:hover { transform: translateY(-3px); }
.biz-cta .label { color: var(--gold); }
.biz-cta h3 { color: var(--white); font-size: 1.15rem; margin-bottom: .6rem; }
.biz-cta p:not(.label) { font-size: .92rem; font-weight: 500; margin: 0; }
.biz-cta .arrow { position: absolute; left: 1.6rem; bottom: 1.2rem; font: 900 1.4rem/1 var(--font); color: var(--gold); transition: transform .2s; }
.biz-cta:hover .arrow { transform: translateX(6px); }
.dark .checklist a { color: var(--gold); }

/* Headline tagline: keeps the keyword phrase inside the H1 for search engines */
.kicker { display: block; font: 800 clamp(.9rem, 1.6vw, 1.15rem)/1.3 var(--font); letter-spacing: .16em; color: var(--gold); margin-bottom: 1rem; }

/* "What you get" highlights shown in the home hero */
.highlights { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1.4rem; max-width: 36rem; }
.highlights li { position: relative; padding-left: 2rem; font-weight: 700; color: var(--white); line-height: 1.35; }
.highlights li::before { content: ""; position: absolute; left: 0; top: .1rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--satin); box-shadow: 0 0 0 2px var(--black), 0 0 0 3px var(--gold-lo); }
.highlights small { display: block; font-weight: 500; color: #b9b9b3; font-size: .85rem; }

/* Next meeting details */
.ticket-when small { display: block; font: 800 .75rem/1.4 var(--font); letter-spacing: .16em; margin-top: .6rem; opacity: .8; }
.ticket a.map { font-weight: 700; }

/* Plain reading text */
.prose { max-width: 46rem; }
.prose p { font-weight: 500; color: var(--muted); }
.prose h2 { margin: 2.6rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.dark .prose p { color: #d3d3ce; }

/* Activity list (events page) */
.activities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.activity { background: var(--white); border-radius: 14px; padding: 1.7rem; box-shadow: 0 0 0 1px var(--line); border-left: 5px solid var(--gold); }
.activity h3 { margin-bottom: .3rem; }
.activity .when { font: 800 .75rem/1.4 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .8rem; }
.activity p:last-child { margin: 0; color: var(--muted); font-weight: 500; }
.badge-free { display: inline-block; vertical-align: middle; margin-left: .5rem; font: 800 .62rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; background: var(--satin); color: var(--black); border-radius: 999px; padding: .35rem .55rem; }

/* Embedded Google Calendar */
.calendar { background: var(--white); border-radius: 14px; padding: .6rem; box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px var(--black); }
.calendar iframe { display: block; width: 100%; height: 520px; border: 0; border-radius: 8px; }

/* Join page */
.price { display: grid; grid-template-columns: auto 1fr; gap: 1.6rem; align-items: center; background: var(--white); border-radius: 14px; padding: 1.8rem 2rem; box-shadow: 0 0 0 1px var(--line); }
.price .tier-patch { margin: 0; width: 130px; }
.price p { margin: 0 0 .4rem; font-weight: 500; color: var(--muted); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.steps li { counter-increment: step; background: var(--white); border-radius: 14px; padding: 1.6rem; box-shadow: 0 0 0 1px var(--line); }
.steps li::before { content: counter(step); display: grid; place-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; margin-bottom: 1rem; font: 900 1rem/1 var(--font); color: var(--gold); background-color: var(--black); box-shadow: 0 0 0 2px var(--gold), 0 0 0 4px var(--black); }
.steps h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.steps p { margin: 0; color: var(--muted); font-weight: 500; font-size: .95rem; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.perks li { background: var(--white); border-radius: 14px; padding: 1.5rem; box-shadow: 0 0 0 1px var(--line); border-top: 5px solid var(--gold); }
.perks b { display: block; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.perks span { color: var(--muted); font-weight: 500; font-size: .95rem; }

/* Application form */
.form-card { background: var(--white); border-radius: 14px; padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: 0 0 0 2px var(--gold), 0 0 0 6px var(--black); max-width: 820px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.4rem; }
.field { display: grid; gap: .4rem; }
.field.full, fieldset.field { grid-column: 1 / -1; }
.field label, .field legend { font: 800 .78rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.field .hint { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field input[type=password], .field select, .field textarea { font: 500 1rem/1.4 var(--font); color: var(--text); background: #fff; border: 2px solid var(--gray-lt); border-radius: 8px; padding: .75rem .9rem; width: 100%; }
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(231, 169, 43, .3); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem 1rem; margin-top: .3rem; }
.checks label, .agree label { display: flex; gap: .55rem; align-items: flex-start; font: 500 .95rem/1.4 var(--font); letter-spacing: 0; text-transform: none; cursor: pointer; }
.checks input, .agree input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: var(--gold-lo); flex: none; }
.agree { grid-column: 1 / -1; background: var(--bg); border-radius: 8px; padding: 1rem; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.form-actions button { border: 0; cursor: pointer; }
.form-status { font-weight: 600; }
.form-status.error { color: #a4231a; }

/* Members' calendar sign-in */
.member-login { max-width: 520px; position: relative; z-index: 2; margin-top: -4rem; }
.member-login .form-actions { margin-top: 1.3rem; }
.member-login + .fine { max-width: 520px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.member-signout { margin-top: 1.4rem; }
.form-done { display: none; text-align: center; padding: 1.5rem; }
.form-done h3 { font-size: 1.6rem; margin-bottom: .8rem; }
.form-card.sent form { display: none; }
.form-card.sent .form-done { display: block; }

/* 404 */
.not-found { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.not-found img { width: 160px; margin: 0 auto 1.5rem; }

@media (max-width: 1180px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .highlights, .activities, .steps, .perks, .form-grid, .checks { grid-template-columns: minmax(0, 1fr); }
  .price { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .price .tier-patch { margin: 0 auto; }
  .calendar iframe { height: 460px; }
}
.page-hero.overlap { padding-bottom: 7rem; }
.price h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .7rem; }
.site-nav .btn-gold { box-shadow: none; }
.site-nav a.btn[aria-current="page"] { filter: brightness(1.1); }
.prose p.label { color: var(--gold-text); }
.dark .prose p.label, .dark .prose p.tab { color: var(--gold); }
picture { display: contents; }
picture > source { display: none; }   /* otherwise the <source> becomes a layout item and pushes the image down */
.notice.plain { grid-template-columns: minmax(0, 1fr); margin-top: 1.4rem; }

/* Social icon buttons (footer) */
.social { display: flex; gap: .7rem; margin: 0; }
.site-footer .social a { display: grid; place-content: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); box-shadow: 0 0 0 3px var(--black); transition: background .2s, color .2s, transform .2s; }
.site-footer .social a:hover { background: var(--gold); color: var(--black); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }

/* ---------- Motion ----------
   The patch catches the light and tilts toward the mouse, the headline bounces in, stitched seams sew themselves,
   the sports photos come into color and a burst of paw prints celebrates a membership application (js/site.js).
   Everything is off for people who ask for reduced motion, and printing shows it all. */
@property --sew { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

/* A satin highlight that sweeps across the patch, masked to the patch's shape */
.patch::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: rotate(-5deg); mix-blend-mode: screen;
  -webkit-mask: url(/img/logo-480.webp) center / contain no-repeat; mask: url(/img/logo-480.webp) center / contain no-repeat;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 236, 190, .5) 50%, transparent 64%) 100% 0 / 250% 100% no-repeat; }

@media (prefers-reduced-motion: no-preference) {
  .patch::after { animation: sheen 1.4s ease-in-out 1.2s backwards; }
  .patch.shine::after { animation: sheen-again 1.1s ease-in-out; }
  @media (hover: none) { .patch { animation: sway 7s ease-in-out infinite alternate; } }

  /* JUMP. RUN. SNIFF. drop in, then each gold dot lands like a bouncing ball */
  .hero h1 .kicker { animation: rise .6s ease-out both; }
  .hero h1 .w { animation: drop-in .7s cubic-bezier(.3, .6, .3, 1) both; }
  .hero h1 .w:nth-of-type(2) { animation-delay: .15s; }
  .hero h1 .w:nth-of-type(4) { animation-delay: .35s; }
  .hero h1 .w:nth-of-type(6) { animation-delay: .55s; }
  .hero h1 .dot { transform-origin: 50% 88%; animation: ball 1.1s linear both; }
  .hero h1 .dot:nth-of-type(3) { animation-delay: .6s; }
  .hero h1 .dot:nth-of-type(5) { animation-delay: .8s; }
  .hero h1 .dot:nth-of-type(7) { animation-delay: 1s; }

  /* The header seam sews itself across when the home page opens */
  body:has(.hero) .site-header::after { animation: sew-across 1.1s steps(44, end) .15s both; }
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes sheen-again { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes sway {
  from { transform: perspective(900px) rotateX(3deg) rotateY(-9deg); }
  to { transform: perspective(900px) rotateX(-2deg) rotateY(9deg); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes drop-in {
  0% { opacity: 0; transform: translateY(-.6em); }
  45% { opacity: 1; transform: translateY(.06em); }
  70% { transform: translateY(-.04em); }
  100% { transform: none; }
}
@keyframes ball {
  0% { opacity: 0; transform: translateY(-2.4em); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  34% { opacity: 1; transform: translateY(0) scale(1.3, .7); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  55% { transform: translateY(-.55em) scale(.95, 1.06); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  72% { transform: translateY(0) scale(1.15, .85); animation-timing-function: cubic-bezier(0, .55, .45, 1); }
  84% { transform: translateY(-.16em); animation-timing-function: cubic-bezier(.55, 0, 1, .45); }
  94% { transform: translateY(0) scale(1.05, .95); }
  100% { transform: none; }
}
@keyframes sew-across { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }

/* Seams and stitched borders sew themselves when they scroll into view (classes added by js/site.js) */
.sew::before { -webkit-mask: conic-gradient(from -90deg, #000 var(--sew), transparent 0); mask: conic-gradient(from -90deg, #000 var(--sew), transparent 0); --sew: 0deg; }
.sew.in::before { animation: sew-around 1.8s steps(60, end) .2s forwards; }
@keyframes sew-around { to { --sew: 360deg; } }
.seam.stitch { clip-path: inset(0 100% 0 0); }
.seam.bottom.stitch { clip-path: inset(0 0 0 100%); }
.seam.stitch.in { clip-path: inset(0); transition: clip-path 1.5s steps(56, end) .2s; }

/* Sports photos come into color as they scroll in; the Fast CAT whippet leaves speed streaks */
.sport.in img { filter: none; transition: filter 1.6s ease var(--d, 0s), transform .6s; }
.sport-fast::before { content: ""; position: absolute; z-index: 1; left: 0; top: 38%; width: 34%; height: 26%; pointer-events: none; opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .85) 70%, transparent) 20% 8% / 75% 2px no-repeat,
              linear-gradient(90deg, transparent, rgba(255, 255, 255, .6) 70%, transparent) 100% 30% / 90% 2px no-repeat,
              linear-gradient(90deg, transparent, rgba(255, 255, 255, .8) 70%, transparent) 40% 52% / 70% 2px no-repeat,
              linear-gradient(90deg, transparent, rgba(255, 255, 255, .55) 70%, transparent) 90% 74% / 85% 2px no-repeat,
              linear-gradient(90deg, transparent, rgba(255, 255, 255, .7) 70%, transparent) 30% 95% / 60% 2px no-repeat; }
.sport-fast.in::before { animation: whoosh .75s ease-out 2; animation-delay: calc(var(--d, 0s) + .6s); }
.sport-fast.zoom::before { animation: whoosh-again .75s ease-out 2; }
@keyframes whoosh { 0% { opacity: 0; transform: translateX(25%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(-75%); } }
@keyframes whoosh-again { 0% { opacity: 0; transform: translateX(25%); } 25% { opacity: 1; } 100% { opacity: 0; transform: translateX(-75%); } }

/* Paw-print confetti after a membership application goes through */
.paw-burst { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 60; pointer-events: none; }

@media print {
  .sew::before, .seam.stitch, .site-header::after { -webkit-mask: none !important; mask: none !important; clip-path: none !important; }
  .hero h1 .w, .hero h1 .dot { opacity: 1 !important; transform: none !important; }
  .patch::after, .sport-fast::before, .paw-burst { display: none; }
}
