@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');
:root{--green:#153d32;--deep:#10362c;--cream:#f7f5eb;--paper:#f0efe4;--gold:#bd9c61;--red:#a33e36;--ink:#183b31;--muted:#69766c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}.announcement{text-align:center;background:#a53d35;color:#fff5e3;font-size:9px;font-weight:700;letter-spacing:.18em;padding:9px 12px}.site-header{height:86px;display:flex;align-items:center;justify-content:space-between;padding:0 7%;background:#faf9f2}.brand{display:flex;gap:11px;align-items:center;font-size:9px;line-height:1.4;font-weight:700;letter-spacing:.13em}.brand-mark{font-size:33px;line-height:1;color:var(--green)}.brand small{display:block;font-family:'Playfair Display',serif;font-size:15px;letter-spacing:.045em}.brand b{font-family:'DM Sans',sans-serif;font-size:9px;letter-spacing:.08em;color:var(--red)}nav{display:flex;gap:35px;font-size:12px;font-weight:600}nav a:hover,.text-link:hover{opacity:.7}.header-button{background:var(--green);color:white;padding:14px 19px;font-size:11px;font-weight:700}.header-button span,.button span{margin-left:25px}.hero{min-height:610px;background:var(--green);color:var(--cream);position:relative;overflow:hidden;display:flex;align-items:center;padding:80px 10% 110px}.hero-pattern{position:absolute;inset:0;opacity:.12;background-image:radial-gradient(#e6d9b8 .7px,transparent .7px);background-size:24px 24px}.hero-content{position:relative;z-index:1;width:55%}.eyebrow{font-size:10px;font-weight:700;letter-spacing:.17em;color:var(--red);margin:0 0 25px}.eyebrow span{color:var(--gold)}.eyebrow.light{color:#d9c79f}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;font-weight:500}h1{font-size:clamp(52px,5.7vw,85px);line-height:1.05;letter-spacing:-.045em;margin-bottom:26px}h1 em,h2 em{font-weight:500;color:#d6c096}.hero-copy{max-width:470px;color:#d9e0d5;font-size:15px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:30px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:space-between;padding:17px 20px;border:0;font-size:11px;font-weight:700;letter-spacing:.02em}.button-cream{background:#f5f1e5;color:var(--green)}.text-link{font-size:11px;font-weight:700}.text-link span{margin-left:16px}.hero-bottom{margin-top:80px;font-size:9px;letter-spacing:.12em;color:#d9c79f;font-weight:700}.hero-bottom span{font-size:17px;vertical-align:middle;margin-right:8px}.hero-bottom i{display:inline-block;width:25px;border-top:1px solid #b49d72;vertical-align:middle;margin:0 12px}.hero-art{position:absolute;right:7%;top:50%;transform:translateY(-55%);width:40%;height:430px;display:grid;place-items:center}.orbit{position:absolute;border:1px solid rgba(227,210,169,.25);border-radius:50%;width:370px;height:370px}.orbit-two{width:430px;height:430px;opacity:.45}.seal{width:275px;height:275px;border:1px solid #bfa878;border-radius:50%;padding:9px;transform:rotate(-10deg)}.seal-inner{border:1px solid #bfa878;width:100%;height:100%;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#e5d7b7}.seal-inner span,.seal-inner small{font-size:9px;letter-spacing:.22em;text-align:center;line-height:1.6}.seal-inner strong{font:italic 150px/.85 'Playfair Display',serif;margin:5px 0}.art-star{position:absolute;color:#d3ba85}.star-one{font-size:45px;top:5%;left:17%}.star-two{font-size:24px;right:7%;top:25%}.star-three{font-size:25px;bottom:4%;left:22%}.art-caption{position:absolute;right:0;bottom:3%;font-size:8px;letter-spacing:.15em;line-height:1.7;color:#d2c19e}.art-caption span{font-size:18px}.stars{position:absolute;top:38px;left:6%;color:#bba677;font-size:17px}.stars span{margin-left:70px}.hero-index{position:absolute;bottom:28px;left:10%;right:10%;border-top:1px solid #496c5f;padding-top:16px;color:#b8c5b8;font-size:9px;letter-spacing:.12em}.hero-index span{margin:0 15px;color:#9d9c78}.section{padding:105px 10%}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:58px}.section-heading>p{max-width:330px;color:var(--muted);font-size:14px;line-height:1.8;margin-bottom:5px}h2{font-size:clamp(40px,4.4vw,62px);line-height:1.12;letter-spacing:-.035em;margin-bottom:0}h2 em{color:var(--red)}.steps{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid #cfd4c7}.steps article{padding:28px 38px 0 0}.steps article+article{border-left:1px solid #cfd4c7;padding-left:38px}.step-number{display:flex;justify-content:space-between;color:#a83e37;font-size:11px;font-weight:700;letter-spacing:.1em}.step-number i{font-style:normal;font-size:23px;color:#b99a5f}.steps h3{font-size:25px;margin:32px 0 12px}.steps p,.join>p:not(.eyebrow){font-size:13px;line-height:1.8;color:#69766c;max-width:290px}.puzzles{background:#ecefe5}.demo-note{font-size:10px;color:#687b6e;letter-spacing:.07em;margin-bottom:16px}.puzzle-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.puzzle-card{background:#f9faf3;min-height:205px;padding:19px;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #dce3d7}.card-top,.card-bottom{display:flex;justify-content:space-between;align-items:center}.card-top{color:#89998b;font-size:9px;font-weight:700;letter-spacing:.12em}.card-top span+span{font-size:19px;color:#b49d70}.card-symbol{text-align:center;font-size:42px;color:#c7d2c3}.card-bottom strong,.card-bottom small{display:block}.card-bottom strong{font-size:14px;letter-spacing:.04em}.card-bottom small{font-size:10px;color:#8a998c;margin-top:5px}.points{font-size:9px;font-weight:700;color:#a83e37}.puzzle-foot{text-align:center;margin-top:35px;font-size:9px;font-weight:700;letter-spacing:.14em;color:#6c8070}.puzzle-foot span{color:#b29969;font-size:16px;margin:0 15px}.leaderboard{background:var(--green);color:var(--cream);display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center}.leader-copy h2 em{color:#d8c398}.leader-copy>p:not(.eyebrow){max-width:320px;font-size:14px;line-height:1.8;color:#d0dbd0;margin-top:24px}.leader-note{display:inline-block;margin-top:30px;color:#d7c59e;font-size:11px}.board{background:#f9f8ef;color:var(--ink);padding:30px}.board-heading{display:flex;justify-content:space-between;align-items:center}.board-heading span,.board-label,.board-footer{font-size:9px;letter-spacing:.12em;font-weight:700;color:#8a9a8b}.board-heading h3{font-size:30px;margin:8px 0}.board-heading .board-icon{font-size:35px;color:#b49d70}.board-demo{font-size:10px;color:#9d6c5b;margin:10px 0 20px}.board-label{display:flex;justify-content:space-between;border-bottom:1px solid #dce2d8;padding-bottom:12px}.board-row{display:flex;align-items:center;gap:18px;border-bottom:1px solid #e2e6dc;padding:18px 0;font-size:12px}.rank{color:#aa8c5c;font-size:11px}.score{margin-left:auto;font-weight:700}.score small{color:#b79b63;margin-left:8px}.board-footer{padding-top:22px;font-size:8px}.board-footer span{float:right;color:#b79b63}.join{text-align:center;padding-top:100px;padding-bottom:105px}.join-star{color:#b79b63;font-size:35px;margin-bottom:20px}.join>p:not(.eyebrow){margin:22px auto;max-width:400px}.button-green{background:var(--green);color:white;margin-top:8px;cursor:pointer}.join small{display:block;margin-top:13px;color:#89978a;font-size:10px}footer{background:#e7eae0;padding:50px 10% 20px;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:25px}footer p{font-size:11px;line-height:1.8;color:#77867a}footer>a:last-of-type{font-size:9px;font-weight:700;letter-spacing:.1em}.footer-bottom{width:100%;display:flex;justify-content:space-between;border-top:1px solid #cbd4c9;padding-top:20px;margin-top:20px;font-size:8px;font-weight:700;letter-spacing:.1em;color:#8a9a8b}
@media(max-width:800px){.site-header{padding:0 5%;height:75px}nav{gap:15px}.hero{padding:70px 7% 95px;min-height:570px}.hero-content{width:70%}.hero-art{right:-18%;opacity:.35}.hero-index{left:7%;right:7%}.section{padding:75px 7%}.section-heading{gap:25px}.puzzle-grid{grid-template-columns:repeat(2,1fr)}.leaderboard{gap:7%}}@media(max-width:560px){.announcement{font-size:8px}.site-header{height:auto;min-height:74px;flex-wrap:wrap;padding:15px 5%;gap:15px}.brand{font-size:8px}.brand small{font-size:13px}nav{width:100%;justify-content:space-between;font-size:11px}.hero{min-height:590px;align-items:flex-start;padding-top:80px}.hero-content{width:100%}.hero-art{right:-45%;top:55%;opacity:.18}.hero-copy{max-width:330px}.hero-bottom{margin-top:65px;font-size:8px}.hero-bottom i{width:10px;margin:0 5px}.section-heading{display:block;margin-bottom:38px}.section-heading>p{margin-top:20px}.steps{grid-template-columns:1fr}.steps article,.steps article+article{border-left:0;border-bottom:1px solid #cfd4c7;padding:22px 0}.steps h3{margin:15px 0 8px}.steps p{max-width:none;margin-bottom:0}.puzzle-card{min-height:160px;padding:15px}.card-symbol{font-size:32px}.leaderboard{grid-template-columns:1fr;gap:40px}.board{padding:23px}.footer-bottom{gap:15px;line-height:1.6}footer p{width:100%}}

#team-auth:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.team-form { width: min(100%, 21rem); margin: 0 auto 1rem; padding: 1rem; text-align: left; }
#team-auth .team-form { margin: 0 0 1rem; }
.team-form label, .answer-form label { display: grid; gap: .35rem; margin: .75rem 0; }
.team-form input, .answer-form input { min-width: 0; padding: .65rem; font: inherit; border: 1px solid #577368; border-radius: .3rem; }
.team-form small { display: block; margin: 0 0 .75rem; }
#hold [hidden] { display: none; }
.puzzle-card a { display: block; margin-top: .5rem; }
.answer-form { margin-top: .75rem; }

.roster-heading { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.roster-heading h3 { margin: 0; }
.add-member { border: 1px solid #577368; border-radius: 50%; width: 2.25rem; height: 2.25rem; background: transparent; color: inherit; font: inherit; font-size: 1.35rem; cursor: pointer; }

.header-actions { display: flex; flex-wrap: wrap; gap: .4rem; }
.header-button { display: inline-flex; align-items: center; white-space: nowrap; cursor: pointer; }
.header-button[hidden] { display: none; }
.header-login { background: transparent; color: var(--green); border: 1px solid var(--green); }
.button-green:disabled { opacity: .65; cursor: default; }
form[aria-busy="true"] button:disabled { cursor: progress; }
.form-feedback { color: var(--red); margin: .75rem 0 0; font-size: .875rem; }
.form-feedback:empty { margin: 0; }
@media (max-width: 800px) {
  .header-button { padding: .65rem .7rem; }
}
@media (max-width: 560px) {
  .site-header nav { order: 1; }
}

.puzzle-gift { display: grid; place-items: center; min-height: 5rem; font-size: 2.75rem; }
.puzzle-preview { display: block; width: 100%; margin: .65rem 0; padding: 0; border: 1px solid #dce3d7; background: white; cursor: zoom-in; }
.puzzle-preview[hidden] { display: none; }
.puzzle-preview img { display: block; width: 100%; height: clamp(5rem, 14vw, 10rem); object-fit: contain; }
.puzzle-dialog { width: min(56rem, 94vw); max-height: 92vh; padding: 1rem; border: 1px solid #dce3d7; background: var(--cream); color: var(--ink); }
.puzzle-dialog::backdrop { background: #10362cbb; }
.puzzle-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .75rem; }
.puzzle-dialog-top h2 { font-size: 1.5rem; }
.puzzle-dialog-top .button { margin: 0; }
.puzzle-dialog img { display: block; width: 100%; max-height: 68vh; object-fit: contain; background: white; }

.team-save-result { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.team-save-result .form-feedback { font-weight: 700; }

.puzzle-deadline, .winner-note { margin: .9rem 0 0; font-size: .875rem; line-height: 1.5; }
.puzzle-deadline strong, .winner-note strong { color: var(--red); }
