/* bare options: one face, two colours, nothing else */
@font-face { font-family: "Haus Heavy"; src: url("../fonts/haus-heavy-star.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root { --bg: #f6efe7; --fg: #170809; --fg-60: rgb(23 8 9 / .6); color-scheme: light dark; }
@media (prefers-color-scheme: dark) { :root { --bg: #0a0203; --fg: #f6efe7; --fg-60: rgb(246 239 231 / .6); } }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  background: var(--bg); color: var(--fg);
  font: 400 .8125rem/1.5 ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--fg); color: var(--bg); }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid #e32400; outline-offset: 4px; border-radius: 4px; }
main { display: grid; place-content: center; justify-items: center; padding: 24px; text-align: center; }
.eye { width: 64px; height: 64px; }
h1, .site { font-family: "Haus Heavy", "Helvetica Neue", Arial, sans-serif; font-weight: 900; text-transform: lowercase; letter-spacing: -.015em; line-height: .95; margin: 0; }
.site:hover { background: var(--fg); color: var(--bg); }
.mark { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.mark--haus     { --m: url("../images/marks/mark-haus.svg");       aspect-ratio: 1136 / 104; }
.mark--goonbate { --m: url("../images/marks/goonbate-logo.png");   aspect-ratio: 1200 / 173; }
.mark--vault    { --m: url("../images/marks/vault-liberated.png"); aspect-ratio: 1200 / 233; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; padding: 20px 24px 24px; color: var(--fg-60); }
footer a:hover { color: var(--fg); }

/* 1: words */
.o1 h1 { font-size: 1.25rem; margin: 18px 0 clamp(40px, 8svh, 72px); }
.o1 main nav { display: grid; gap: 6px; }
.o1 .site { font-size: clamp(2.5rem, 7vw, 5rem); padding: 4px 12px 8px; }

/* 2: marks */
.o2 h1 { font-size: 1.25rem; margin: 18px 0 clamp(48px, 9svh, 80px); }
.o2 nav { display: grid; gap: clamp(28px, 5svh, 44px); justify-items: center; }
.o2 .site { padding: 10px 14px; }
.o2 .mark--haus { width: min(420px, 78vw); }
.o2 .mark--goonbate { width: min(250px, 47vw); }
.o2 .mark--vault { width: min(280px, 52vw); }

/* 3: one line */
.o3 main { gap: clamp(28px, 6svh, 56px); }
.o3 .top { display: flex; align-items: center; gap: 12px; }
.o3 .top .eye { width: 44px; height: 44px; }
.o3 h1 { font-size: 1.5rem; }
.o3 nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px clamp(8px, 2vw, 24px); }
.o3 .site { font-size: clamp(1.375rem, 3vw, 2rem); padding: 6px 10px 8px; }
@media (max-width: 480px) { .o3 nav { flex-direction: column; align-items: center; } }

/* footer options for 1 */
/* a: the same line, red stars between */
footer.fa { gap: 4px 0; align-items: center; }
footer.fa a { padding: 2px 10px; }
footer.fa i { font-style: normal; color: #e32400; font-size: .625rem; }
footer.fa .fa-p { white-space: nowrap; }
footer.fa .fa-c { flex-basis: 100%; text-align: center; margin-top: 6px; }

/* b: an inverted strip */
footer.fb { background: var(--fg); color: var(--bg); padding: 16px 24px 18px; }
footer.fb a:hover { color: var(--bg); text-decoration: underline; text-decoration-color: #e32400; text-underline-offset: .2em; }
footer.fb span { opacity: .6; }

/* c: two centred lines, links in the heading face */
footer.fc { display: grid; justify-items: center; gap: 10px; padding-bottom: 28px; }
footer.fc nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 4px; }
footer.fc nav a { font: 900 1rem/1 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; color: var(--fg); padding: 6px 8px; border-radius: 10px; }
footer.fc nav a:hover { background: var(--fg); color: var(--bg); }
footer.fc p { margin: 0; font-size: .75rem; text-align: center; }

/* chosen: bold links with red stars */
footer.fd nav { align-items: center; gap: 2px 0; }
footer.fd .fd-p { display: inline-flex; align-items: center; white-space: nowrap; }
footer.fd i { font-style: normal; color: #e32400; font-size: .6875rem; padding: 0 4px; }
@media (max-width: 480px) {
}

/* ---------- site-display options (eye in the corner, no name) ---------- */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.corner { position: absolute; top: clamp(16px, 3vw, 32px); left: clamp(16px, 4vw, 48px); z-index: 2; border-radius: 50%; }
.corner img { width: clamp(40px, 4vw, 52px); height: auto; display: block; }
.s1 main, .s2 main, .s3 main { padding: clamp(80px, 12svh, 120px) clamp(16px, 4vw, 48px) 24px; }
.s1 .sites, .s2 .sites, .s3 .sites { display: grid; }
.sites a { color: var(--fg); }

/* s1: each name fills the width */
.s1 main { place-content: stretch; align-content: center; text-align: left; justify-items: stretch; }
.s1 .sites { container-type: inline-size; width: 100%; gap: 0; }
.big { display: block; font: 900 1px/1 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; text-transform: lowercase; white-space: nowrap; letter-spacing: -.03em; }
.big span { display: block; padding: .02em 0 .08em; line-height: .86; }
.big { font-size: min(17.4cqi, 19svh); }   /* one size, set so "the haus of sir" spans the width */
.big:hover { background: var(--fg); color: var(--bg); }

/* s2: centred, each name with its line */
.s2 .sites { gap: clamp(28px, 5svh, 48px); justify-items: center; }
.pair { display: grid; justify-items: center; gap: 10px; padding: 8px 16px 14px; border-radius: 12px; }
.pair-n { font: 900 clamp(2.5rem, 6.4vw, 4.75rem)/.95 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.015em; }
.pair-l { font-size: clamp(.875rem, 1.2vw, 1rem); color: var(--fg-60); max-width: 30em; }
.pair:hover { background: var(--fg); color: var(--bg); }
.pair:hover .pair-l { color: var(--bg); }

/* s3: three bands, name left, address right */
.s3 main { place-content: stretch; justify-items: stretch; align-content: stretch; padding-bottom: 0; }
.s3 .sites { grid-template-rows: repeat(3, 1fr); width: 100%; border-top: 2px solid var(--fg); }
.band { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 clamp(12px, 2vw, 24px); border-bottom: 2px solid var(--fg); }
.band-n { font: 900 clamp(2.25rem, 7vw, 6rem)/.9 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.02em; text-align: left; }
.band-d { font-size: .875rem; color: var(--fg-60); white-space: nowrap; }
.band:hover { background: var(--fg); color: var(--bg); }
.band:hover .band-d { color: var(--bg); }
@media (max-width: 600px) {
  .band { flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px; }
}

/* commissions closed */
.closed main { gap: clamp(28px, 5svh, 44px); }
.closed h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); max-width: 11ch; text-wrap: balance; }
.home-btn {
  font: 900 1.125rem/1 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; text-transform: lowercase;
  padding: 14px 20px 13px; border: 2px solid var(--fg); border-radius: 12px;
}
.home-btn:hover { background: var(--fg); color: var(--bg); }

/* ---------- the glass bubble (glass.js) ---------- */
.glass { position: absolute; z-index: 5; display: block; border-radius: 50%; }
.glass canvas { display: block; width: 100%; height: 100%; }
.glass--intro { position: fixed; inset: 0; margin: auto; width: min(88vw, 68svh, 684px); height: min(88vw, 68svh, 684px); pointer-events: none; }
.glass--fly { transition: transform .9s cubic-bezier(.16,.84,.24,1); transform-origin: 50% 50%; }
html.glass-on .corner { visibility: hidden; }
html.glass-arriving main, html.glass-arriving footer { visibility: hidden; }
.glass:focus-visible { outline: none; }
.glass:focus-visible canvas { outline: 3px solid #e32400; outline-offset: -30%; border-radius: 50%; }

/* footer icons: email, telegram, discord, x */
footer.fd .fi { display: inline-flex; align-items: center; gap: 2px; }
footer.fd .fi a { display: inline-flex; padding: 6px 7px; border-radius: 10px; }
footer.fd .fi svg { width: 18px; height: 18px; fill: currentColor; }
footer.fd .fi svg.stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
footer.fd .fi a:hover { background: var(--fg); color: var(--bg); }

/* tip page */
.tipp main { gap: 14px; }
.tipp .tip-line { margin: 0; color: var(--fg-60); font-size: .9375rem; }
.tipp .sites { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px clamp(16px, 4vw, 40px); margin-top: clamp(24px, 5svh, 48px); }

/* tip page: two clear buttons */
.pays { display: grid; gap: 12px; width: min(440px, 100%); margin-top: clamp(24px, 5svh, 44px); }
.pay {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 14px; text-align: left;
  background: #ff0000; color: #fff;
  box-shadow: 0 1px 0 rgb(0 0 0 / .15), 0 6px 18px -8px rgb(255 0 0 / .55);
}
.pay-logo { width: 26px; height: 26px; fill: currentColor; }
.pay-txt { display: grid; gap: 4px; }
.pay-n { font: 900 clamp(1.375rem, 4vw, 1.75rem)/1 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.01em; }
.pay-l { font-size: .8125rem; opacity: .85; }
.pay-arrow { width: 28px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pay:hover { background: var(--fg); color: var(--bg); box-shadow: none; }
.pay:active { transform: translateY(1px); }
.pay:focus-visible { outline: 3px solid var(--fg); outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .pay:hover .pay-arrow { transform: translateX(4px); } }
.pay-note { margin: 4px 0 0; color: var(--fg-60); font-size: .8125rem; max-width: 34em; }

/* privacy: one readable column */
.doc main { display: block; text-align: left; width: 100%; max-width: 46rem; margin: 0 auto; padding: clamp(96px, 14svh, 140px) clamp(16px, 4vw, 48px) clamp(48px, 8svh, 80px); }
.doc h1 { font-size: clamp(3rem, 9vw, 6rem); }
.doc .lede { font-size: clamp(.9375rem, 1.6vw, 1.0625rem); line-height: 1.6; margin: 24px 0 0; max-width: 38em; text-wrap: pretty; }
.doc h2 { font: 900 clamp(1.375rem, 3vw, 1.75rem)/1 "Haus Heavy", "Helvetica Neue", Arial, sans-serif; text-transform: lowercase; letter-spacing: -.01em; margin: clamp(36px, 6svh, 52px) 0 12px; }
.doc h2 i { font-style: normal; color: #e32400; font-size: .5em; vertical-align: .35em; margin-right: 8px; }
.doc p, .doc li { font-size: .875rem; line-height: 1.7; max-width: 62ch; text-wrap: pretty; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 1.4em; }
.doc main a { text-decoration: underline; text-decoration-color: #e32400; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.doc main a:hover { background: var(--fg); color: var(--bg); text-decoration: none; }
.doc .stamp { margin-top: clamp(36px, 6svh, 52px); color: var(--fg-60); font-size: .75rem; }
