:root{--ink:#253f36;--cream:#f7f3e7;--muted:#5a6b5e;--rust:#ba5749;--yellow:#f0c960;--border:#c8cbb9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:Arial,Helvetica,sans-serif}a{color:inherit}button{font:inherit}.skip-link{position:absolute;top:-100px;left:1rem;background:white;z-index:30;padding:1rem}.skip-link:focus{top:1rem}.site-header{height:94px;display:flex;align-items:center;justify-content:space-between;padding:0 6%;border-bottom:1px solid #d8dbca}.brand{font-weight:900;font-size:27px;letter-spacing:-1.6px;text-decoration:none}.brand span:not(.brand-mark){color:var(--rust)}.brand-mark{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#f2ce76;font-size:27px;vertical-align:-3px;letter-spacing:0}nav{display:flex;align-items:center;gap:38px}nav a{font-size:13px;font-weight:700;text-decoration:none}nav a:hover{text-decoration:underline}.nav-cta{border:1px solid var(--ink);border-radius:50px;padding:13px 19px}.nav-cta span{margin-left:18px}.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.55px;display:flex;align-items:center;gap:9px}.tiny-sun{font-size:18px;color:var(--rust);line-height:1}.section-head h2,.about-copy h2,.next-section h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-3px}.section-head h2 em,.about-copy h2 em,.next-section h2 em{color:var(--rust);font-weight:400}.button{display:inline-flex;justify-content:space-between;gap:38px;padding:18px 23px;border-radius:5px;text-decoration:none;font-size:13px;font-weight:700;transition:transform .2s}.button:hover{transform:translateY(-3px)}.button-dark{background:var(--ink);color:#fff}.games-section{padding:115px 6% 120px;max-width:1600px;margin:auto}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:44px}.section-head h2,.about-copy h2,.next-section h2{font-size:clamp(43px,4.4vw,68px);line-height:1.05;margin:20px 0 0}.section-intro{max-width:300px}.section-intro p,.next-section p{font-size:15px;line-height:1.7;color:var(--muted);margin:0 0 17px}.text-button{border:0;border-bottom:1px solid var(--ink);padding:0 0 5px;background:none;color:var(--ink);font-weight:700;cursor:pointer}.text-button span{margin-left:18px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.game-card{border:1px solid #cdd0c0;border-radius:9px;overflow:hidden;background:#fffdf5;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}.game-card:hover{transform:translateY(-5px);box-shadow:0 10px 25px #253f3614}.card-art{height:190px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:#e0c7ad}.card-art:before,.card-art:after{content:'✳';position:absolute;opacity:.45;color:#496356;font-size:22px}.card-art:before{top:20px;left:25px}.card-art:after{bottom:20px;right:25px}.game-card:nth-child(4n+2) .card-art{background:#d9e2c5}.game-card:nth-child(4n+3) .card-art{background:#efcb9c}.game-card:nth-child(4n+4) .card-art{background:#d9d2e4}.card-symbol{font-size:78px;filter:drop-shadow(0 6px 0 #243d3014)}.card-body{padding:25px;display:flex;flex-direction:column;flex:1}.game-tag{color:#a35142;font-size:9px;letter-spacing:1.5px;font-weight:900;text-transform:uppercase}.card-body h3{font-family:Georgia,serif;font-size:27px;font-weight:400;letter-spacing:-.6px;margin:10px 0}.card-body p{color:var(--muted);font-size:14px;line-height:1.6;margin:0 0 25px}.play-button{margin-top:auto;border:0;border-top:1px solid #e1e3d8;padding:18px 0 0;background:none;text-align:left;color:var(--ink);font-weight:800;font-size:12px;cursor:pointer;display:flex;justify-content:space-between}.play-button span{font-size:17px}.about-section{display:grid;grid-template-columns:1fr 1fr;background:#dfe6d3}.about-art{min-height:440px;background:#b8cbb2;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden}.about-art:before{content:'';width:290px;height:290px;border:1px solid #698976;border-radius:50%;position:absolute}.sun-icon{font-size:110px;color:#bc594b;line-height:1}.about-art span{font-family:Georgia,serif;text-align:center;font-size:16px;letter-spacing:2px;line-height:1.4}.about-wave{font-size:53px;color:#517968}.about-copy{padding:80px 12%}.about-copy p{font-size:15px;color:#54665a;line-height:1.8;max-width:490px}.button-light{margin-top:18px;background:var(--ink);color:white}.next-section{padding:100px 6%;display:flex;justify-content:space-between;align-items:center;gap:30px}.next-section>div{max-width:700px}.next-section p{margin-top:24px;max-width:560px}.next-mark{font-size:120px;color:#d1a449;line-height:1}footer{border-top:1px solid #d8dbca;padding:35px 6%;display:flex;align-items:center;justify-content:space-between;gap:30px}footer p{font-size:12px;color:var(--muted)}footer p span{color:var(--rust)}footer>a:last-child{font-size:10px;letter-spacing:1px;font-weight:800;text-decoration:none}dialog{width:min(680px,calc(100% - 28px));max-height:min(90vh,900px);border:0;border-radius:12px;padding:30px;background:#fffdf5;color:var(--ink);box-shadow:0 20px 80px #10251dbb}dialog::backdrop{background:#14281dc9}.dialog-header{display:flex;align-items:start;justify-content:space-between;border-bottom:1px solid #dee1d2;padding-bottom:20px;margin-bottom:22px}.dialog-header h2{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:10px 0 0}.close-button{height:42px;width:42px;border:1px solid #bdc8b8;border-radius:50%;background:transparent;color:var(--ink);font-size:27px;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b35640;outline-offset:3px}@media(max-width:900px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.about-copy{padding:65px 9%}}@media(max-width:640px){.site-header{height:74px}.brand{font-size:24px}nav{gap:12px}nav a:not(.nav-cta){display:none}.nav-cta{padding:10px 14px}.nav-cta span{margin-left:8px}.games-section{padding:80px 6%}.section-head{display:block}.section-intro{margin-top:20px}.game-grid{grid-template-columns:1fr}.card-art{height:170px}.about-section{grid-template-columns:1fr}.about-art{min-height:300px}.about-art:before{width:235px;height:235px}.about-copy{padding:65px 6%}.next-section{padding:75px 6%}.next-mark{font-size:70px}footer{align-items:start;flex-direction:column;gap:12px}footer p{margin:0}dialog{padding:22px}.dialog-header h2{font-size:32px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.game-tools{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 22px;flex-wrap:wrap}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter-button{border:1px solid #cbd2c2;border-radius:99px;background:transparent;color:var(--ink);padding:10px 16px;font-size:12px;font-weight:700;cursor:pointer}.filter-button.active{background:var(--ink);border-color:var(--ink);color:#fff}.filter-button:hover:not(.active){background:#e8ecdf}.filter-note{font-size:11px;color:var(--muted);line-height:1.5;margin:0}.card-favorite{position:absolute;bottom:16px;right:16px;z-index:1;width:42px;height:42px;border:1px solid #94a597;border-radius:50%;background:#fffdf5;color:#9c5648;cursor:pointer;font-size:20px;line-height:1}.card-favorite[aria-pressed="true"]{color:#a83e36;background:#fff3e9}.empty-filter{grid-column:1/-1;padding:35px;border:1px dashed #b8c5b4;border-radius:8px;color:var(--muted);line-height:1.6}.favorite-help{font-size:11px;color:var(--muted);margin:12px 0 0}.game-card[hidden]{display:none}

.multiplayer-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 6%;
  background: #ead6ae;
  border-block: 1px solid #cfbe9b;
}

.multiplayer-callout h2 {
  margin: 0 0 8px;
  font: 400 clamp(2rem, 5vw, 3.5rem)/1.1 Georgia, serif;
}

.multiplayer-callout p {
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
}

.multiplayer-callout .button {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .multiplayer-callout {
    align-items: flex-start;
    flex-direction: column;
  }
}


.game-card.packet-card .card-art {
  background: radial-gradient(ellipse at 50% 35%, #1a4e48, #0a2225 72%);
  color: #9de9d4;
}

.packet-card .card-symbol {
  color: #b6ffe8;
  text-shadow: 0 0 20px #76d2b9;
}

.game-card a.play-button {
  text-decoration: none;
}

/* Central arcade catalogue. Cards and detail links exist before JavaScript runs. */
[hidden]{display:none!important}
.arcade-section{padding:88px 6% 90px;max-width:1600px;margin:auto}
.arcade-section .section-head h2{font:400 clamp(40px,4.4vw,66px)/1.06 Georgia,serif;letter-spacing:-2px;margin:18px 0 0}
.arcade-section .section-head h2 em{color:var(--rust);font-weight:400}
.arcade-section .section-intro{max-width:340px}
.catalogue-controls{display:flex;align-items:flex-end;gap:16px;padding:18px 0;border-block:1px solid var(--border);margin-bottom:14px}
.catalogue-controls label{display:grid;gap:8px;font-size:14px;font-weight:700;flex:1}
.catalogue-controls label:first-child{flex:2}
.catalogue-controls input,.catalogue-controls select{width:100%;background:#fffdf5;border:1px solid #707d70;border-radius:5px;padding:12px 14px;color:var(--ink);font:inherit;font-weight:400;height:46px}
.catalogue-controls select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink) 50%),linear-gradient(135deg,var(--ink) 50%,transparent 50%);background-position:calc(100% - 19px) 20px,calc(100% - 14px) 20px;background-size:5px 5px;background-repeat:no-repeat;padding-right:35px}
.catalogue-controls button{background:var(--ink);color:white;border:1px solid var(--ink);border-radius:5px;padding:12px 20px;height:46px;font-size:14px;cursor:pointer}
.collection-count{font-size:13px;color:var(--muted);min-height:20px;margin:16px 0}
.arcade-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.arcade-card{background:#fffdf5;border:1px solid #c1c8b7;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;position:relative}
.arcade-art{height:170px;display:flex;align-items:center;justify-content:center;background:var(--card-color,#d9e2c5);font-size:70px;position:relative;overflow:hidden}
.arcade-art::before{content:'';position:absolute;width:170px;height:170px;border:1px solid #253f3620;border-radius:50%;transform:translate(60px,35px)}
.arcade-art::after{content:'✳';position:absolute;right:22px;top:16px;font-size:24px;opacity:.6;color:var(--ink)}
.arcade-art img,.card-art img.card-symbol{border-radius:14px;position:relative;z-index:1;filter:drop-shadow(0 6px 0 #253f3615)}
.arcade-body{padding:24px;display:flex;flex-direction:column;flex:1}
.arcade-body h3{font:400 28px/1.12 Georgia,serif;letter-spacing:-.6px;margin:12px 0}
.arcade-body h3 a{text-decoration:none}
.arcade-body p{font-size:16px;line-height:1.6;color:var(--muted);margin:0 0 20px;flex:1}
.arcade-body .play-button{font-size:14px;text-decoration:none;display:inline-flex;align-items:center;min-height:43px;margin-top:auto}
.arcade-direct{font-size:15px;font-weight:800;text-decoration:none;color:white;background:var(--ink);border-radius:8px;padding:13px 19px;min-height:46px;display:inline-flex;align-items:center}
.arcade-about{font-size:13px;text-underline-offset:4px;color:#38594a}
.arcade-actions{display:flex;align-items:baseline;gap:20px;justify-content:space-between;flex-wrap:wrap}
.arcade-card:hover{box-shadow:0 8px 28px #253f3614}
.arcade-card:focus-within{outline:2px solid #9c5648;outline-offset:4px}
.games-section{padding-top:80px;border-top:1px solid var(--border)}
.site-header nav a,.button,.filter-button,.play-button{font-size:14px}
.eyebrow,.game-tag{font-size:12px}
.card-body p,.section-intro p,.about-copy p,.next-section p{font-size:16px}
.filter-note,footer p,.footer-links a{font-size:13px}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
input:focus-visible,select:focus-visible{outline:3px solid #b35640;outline-offset:3px}
body:has(#game-dialog[open]){overflow:hidden}
#game-dialog{max-height:min(90dvh,900px);overscroll-behavior:contain}
#game-dialog .dialog-header{position:sticky;top:-30px;z-index:2;background:#fffdf5;padding-top:12px}
#game-dialog .close-button{flex-shrink:0;min-width:44px;min-height:44px}
@media(max-width:640px){#game-dialog .dialog-header{top:-22px}.dialog-header h2{overflow-wrap:anywhere}}
@media(max-width:1000px){.arcade-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.site-header nav{gap:20px}}
@media(max-width:640px){.arcade-section{padding:60px 6%}.arcade-grid{grid-template-columns:1fr}.catalogue-controls{flex-wrap:wrap;gap:12px}.catalogue-controls label:first-child{flex-basis:100%}.catalogue-controls label{min-width:180px}.arcade-art{height:160px}.arcade-body{padding:22px}.site-header nav a{font-size:13px}.eyebrow{flex-wrap:wrap}.about-copy p{font-size:16px}}

/* Harbour front page */
.home-page {
  --harbour-width: 1472px;
  --harbour-gutter: clamp(20px, 4.6vw, 76px);
}
.home-page .site-header {
  height: auto;
  min-height: 76px;
  padding: 12px max(var(--harbour-gutter), calc((100% - var(--harbour-width)) / 2 + var(--harbour-gutter)));
}
.home-page .site-header nav a { display: inline-flex; align-items: center; min-height: 44px; }
.harbour {
  background: #faf6e9;
  border-bottom: 1px solid #c7c9b8;
}
.harbour-inner {
  max-width: var(--harbour-width);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 62px) var(--harbour-gutter);
  display: grid;
  grid-template-columns: minmax(0, .79fr) minmax(0, 1.21fr);
  gap: clamp(24px, 3.8vw, 56px);
  align-items: center;
}
.harbour-copy { min-width: 0; }
.harbour h1 {
  margin: 0;
  font: 400 clamp(3.6rem, 6.4vw, 6.4rem)/.92 Georgia, 'Times New Roman', serif;
  letter-spacing: -.065em;
  color: #233f3c;
}
.harbour h1 em { font-weight: 400; color: #9c4836; }
.harbour-copy p {
  max-width: 35ch;
  margin: clamp(16px, 2.1vw, 30px) 0 clamp(18px, 2.3vw, 32px);
  color: #425950;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.55;
}
.hero-games { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.hero-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 61px;
  padding: 7px 17px 7px 8px;
  background: #21463f;
  color: #fff9ec;
  text-decoration: none;
  border: 1px solid #153c34;
  border-radius: 10px;
  box-shadow: 0 3px 0 #162e28;
  font-size: clamp(.98rem, 1.3vw, 1.16rem);
  font-weight: 750;
  line-height: 1.2;
}
.hero-play img { flex: none; display: block; border-radius: 6px; }
.hero-play:hover { background: #143d35; }
.hero-play.curling { background: #faf6e9; color: #21463f; }
.hero-play.curling:hover { background: #eaeadd; }
.hero-play:active { box-shadow: none; transform: translateY(2px); }
.harbour-browse {
  display: table;
  margin: 16px 0 0;
  padding: 5px 0;
  color: #2b5048;
  font-size: .93rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}
.harbour-browse:hover { text-decoration-thickness: 2px; }
.harbour-print {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #526c61;
  border-radius: 3px;
  background: #d5e4d9;
}
@media (max-width: 900px) and (min-width: 721px) {
  .harbour-inner { grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: 26px; }
  .harbour h1 { font-size: clamp(3.3rem, 7.2vw, 4.1rem); }
}
@media (max-width: 720px) {
  .home-page .site-header { min-height: 62px; }
  .home-page .site-header nav { gap: 0 16px; }
  .harbour-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding-block: clamp(20px, 5vw, 34px) clamp(20px, 5vw, 32px);
  }
  .harbour h1 { font-size: clamp(3.5rem, 11vw, 5rem); }
  .harbour-copy p { margin: 14px 0 18px; max-width: 40ch; }
  .harbour-browse { margin-top: 9px; min-height: 40px; line-height: 30px; }
  .harbour-print { max-width: 630px; }
}
@media (max-width: 540px) {
  .home-page .site-header { display: block; padding-block: 11px 0; }
  .home-page .site-header nav { flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .home-page .site-header nav a { font-size: .82rem; }
}

@media (forced-colors: active) {
  .catalogue-controls select { appearance: auto; background-image: none; }
}
