/* Nick Lyons for Judge — site styles
   Mode switch: <html data-mode="preview"> shows the preview bar and unfinished blocks.
                <html data-mode="live"> hides both. */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/archivo-latin-wght-normal.woff2') format('woff2-variations'),
       url('../fonts/archivo-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
}

:root {
  --navy: #0F223D;
  --navy-hover: #19355C;
  --navy-deep: #091629;
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --surface-alt: #F3F0E8;
  --border: rgba(15, 34, 61, 0.14);
  --border-strong: rgba(15, 34, 61, 0.28);
  --border-input: rgba(15, 34, 61, 0.45);
  --text: #0F223D;
  --muted: #475569;
  --accent: #C59B38;
  --accent-hover: #D4AD4D;
  --on-accent: #0F223D;
  --accent-ink: #73570F;
  --accent-soft: rgba(197, 155, 56, 0.16);
  --accent-line: rgba(197, 155, 56, 0.6);
  --accent-on-dark: #D9B65C;
  --on-dark-muted: rgba(250, 249, 246, 0.84);
  --shadow-card: 0 8px 24px -10px rgba(15, 34, 61, 0.09);
  --shadow-elevated: 0 20px 40px -15px rgba(9, 22, 41, 0.45);
  --radius: 6px;
  --radius-sm: 4px;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;
  --container: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
@media (min-width: 900px) { html { scroll-padding-top: 100px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--navy); }
a:hover { color: var(--navy-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 12px; z-index: 100;
  padding: 12px 16px; font-weight: 700; background: #FFFFFF; color: var(--navy);
}
.skip:focus { left: 12px; }

.page { background: var(--bg); }
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Preview mode ---------- */
.preview-bar {
  padding: 8px var(--pad);
  font-family: var(--mono); font-size: 13px; line-height: 1.5; text-align: center;
  color: #FFFFFF; background: #111827;
}
.preview-bar strong { color: #FDE68A; font-weight: 500; letter-spacing: 0.08em; }
.draft-flag {
  display: inline-block; margin-bottom: 20px; padding: 4px 10px;
  font-family: var(--mono); font-size: 12px; line-height: 1.5; letter-spacing: 0.04em; text-transform: uppercase;
  color: #111827; background: #FDE68A; border: 1px dashed #111827;
}
html[data-mode="live"] .preview-bar,
html[data-mode="live"] .draft-flag,
html[data-mode="live"] [data-ready="false"] { display: none !important; }

/* Placeholder text (preview only; every placeholder sits inside a data-ready="false" block) */
.ph {
  font-family: var(--mono); font-size: 14px; font-weight: 400; line-height: 1.55;
  color: var(--text); background: var(--surface-alt); border: 1px dashed rgba(15, 34, 61, 0.45); padding: 2px 6px;
}
.ph--block { display: block; align-self: stretch; padding: 16px; font-size: 15px; }
.ph--dark { color: #FFFFFF; background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.5); }
.ph--plain { background: none; border: 0; padding: 0; color: var(--muted); }

/* ---------- Shared pieces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 22px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; font-weight: 800; letter-spacing: 0.01em; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn--navy { background: var(--navy); color: #FFFFFF; }
.btn--navy:hover { background: var(--navy-hover); color: #FFFFFF; }
.btn--outline { background: #FFFFFF; color: var(--navy); border-color: var(--border-input); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--lg { min-height: 60px; padding: 0 40px; font-size: 19px; }
.btn--block { width: 100%; }
.btn:disabled { cursor: not-allowed; background: #E7E3D8; color: #475569; border-color: transparent; }

.chip {
  display: inline-block; padding: 4px 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase;
  border-radius: var(--radius-sm); color: var(--accent-ink); background: var(--accent-soft);
}
.chip--plain { background: #FFFFFF; border: 1px solid var(--border); }
.chip--dark { color: var(--accent-on-dark); background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); }

.rule { width: 72px; height: 4px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); }
.h2 { font-size: clamp(30px, 3.3vw, 44px); line-height: 1.1; font-weight: 800; letter-spacing: -0.025em; text-wrap: balance; }
.muted { color: var(--muted); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-card); }

.band { padding: 96px 0; }
.band--white { background: var(--surface); border-bottom: 1px solid var(--border); }
.band--cream { background: var(--bg); }
.band--alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band--deep { background: var(--navy-deep); color: #FFFFFF; }
.band--top { border-top: 1px solid var(--border); }
@media (max-width: 700px) { .band { padding: 64px 0; } }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 720px; margin-bottom: 48px; }
.section-head .rule { margin-top: 4px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 32px; }
.grid-3--tight { gap: 24px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
@media (min-width: 900px) { .site-header { position: sticky; top: 0; z-index: 30; } }
.site-header__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand donate" "nav nav";
  align-items: center; gap: 4px 20px; padding-top: 12px; padding-bottom: 8px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 12px; min-height: 52px; text-decoration: none; color: var(--navy); }
.brand img { flex: none; width: 52px; height: 52px; }
.brand__name { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.brand__office { display: block; margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.3; text-transform: uppercase; color: var(--muted); }
.nav { grid-area: nav; display: flex; flex-wrap: wrap; align-items: center; gap: 0 22px; }
.nav a { display: flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--navy); }
.header-donate { grid-area: donate; }
@media (min-width: 900px) {
  .site-header__inner { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand nav donate"; gap: 10px 32px; padding-bottom: 12px; }
  .nav { justify-content: flex-end; gap: 2px 26px; }
}
@media (max-width: 420px) { .brand__office { display: none; } }

/* ---------- Hero ---------- */
.hero {
  color: #FFFFFF;
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(135deg, #091629 0%, #0F223D 60%, #173154 100%);
}
.hero__inner { display: grid; gap: 48px 56px; align-items: start; padding-top: 72px; padding-bottom: 88px; }
@media (min-width: 980px) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 448px); } }
@media (max-width: 700px) { .hero__inner { padding-top: 48px; padding-bottom: 56px; } }
.hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; min-width: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase;
  color: #FFFFFF; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); border-radius: var(--radius-sm);
}
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* The badge scales with the name: 2.2 x the type size, a little taller than the two-line name beside it (1.84 x).
   Where the column is too narrow for that, it takes the room left beside the name (the name is about 2.83 x the
   type size wide) instead of dropping onto its own line. On the narrowest phones it sits above the name at full size. */
.lockup {
  --name: clamp(64px, 8vw, 104px); --lockup-gap: clamp(16px, 2.4vw, 28px);
  display: flex; flex-wrap: wrap; align-items: center; align-self: stretch; gap: 20px var(--lockup-gap);
}
.lockup img { flex: none; width: min(calc(var(--name) * 2.2), calc(100% - var(--name) * 2.86 - var(--lockup-gap))); }
@media (max-width: 350px) { .lockup img { width: calc(var(--name) * 2.2); } }
.hero h1 { font-size: var(--name, clamp(64px, 8vw, 104px)); line-height: 0.92; font-weight: 800; letter-spacing: -0.035em; }
.hero h1 span { display: block; }
.hero__office { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 560px; color: var(--on-dark-muted); }
.hero__links { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.hero__links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 700; color: #FFFFFF; }
.hero__links a:hover { color: var(--accent-on-dark); }

/* ---------- Donate card ---------- */
.donate-card {
  display: flex; flex-direction: column; align-items: stretch; gap: 18px; padding: 34px 32px 30px;
  color: var(--text); background: var(--surface);
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  outline: 3px double var(--accent-line); outline-offset: -8px;
  box-shadow: var(--shadow-elevated);
}
.donate-card .chip { align-self: flex-start; }
.donate-card h2 { font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.donate-card__who { font-size: 16px; line-height: 1.5; color: var(--muted); }
.donate-form { display: flex; flex-direction: column; gap: 18px; }
.amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.amount { position: relative; display: block; }
.amount input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.amount span {
  display: flex; align-items: center; justify-content: center; height: 54px;
  font-size: 17px; font-weight: 800; color: var(--navy); background: #FFFFFF;
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.amount input:hover + span { border-color: var(--navy); }
.amount input:checked + span { color: #FFFFFF; background: var(--navy); border-color: var(--navy); }
.amount input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.fineprint { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; line-height: 1.45; color: var(--muted); }

/* ---------- Qualifications ---------- */
.pillar { padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.pillar__icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); color: var(--accent-ink); background: var(--accent-soft); }
.pillar__icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { margin-bottom: 12px; font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.pillar p { font-size: 16px; line-height: 1.625; color: var(--muted); }

/* ---------- Ballot ---------- */
.ballot__inner { display: grid; gap: 48px 72px; align-items: center; }
@media (min-width: 900px) { .ballot__inner { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.ballot__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ballot__text p { max-width: 460px; color: var(--on-dark-muted); }
.ballot__list { display: flex; flex-direction: column; gap: 6px; }
.ballot__row { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; }
.ballot__box { flex: none; width: 26px; height: 26px; border: 2px solid rgba(255, 255, 255, 0.28); }
.ballot__bar { height: 12px; background: rgba(255, 255, 255, 0.12); }
.ballot__pick {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  min-height: 68px; padding: 14px 16px; border-radius: var(--radius-sm); color: var(--navy); background: var(--accent);
}
.ballot__name { display: flex; align-items: center; gap: 16px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; font-weight: 800; letter-spacing: -0.02em; }
.ballot__name::before { content: ""; flex: none; width: 26px; height: 26px; background: var(--navy); }
.ballot__where { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.ballot__note { margin-top: 12px; padding: 0 16px; font-family: var(--mono); font-size: 12px; line-height: 1.5; color: rgba(250, 249, 246, 0.72); }

/* ---------- About ---------- */
.about__inner { display: grid; gap: 48px 72px; align-items: start; }
@media (min-width: 900px) { .about__inner { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } }
/* The portrait is shown whole, in the shape it was shot in, at every width. Its width and height
   attributes tell the browser that shape, so the page does not jump when the photo arrives. */
.portrait { margin: 0; max-width: 420px; overflow: hidden; background: var(--surface-alt); border: 1px solid rgba(15, 34, 61, 0.2); border-radius: var(--radius); }
.portrait img { display: block; width: 100%; height: auto; }
.about__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.bio { display: grid; gap: 16px; max-width: 64ch; }
.bio p { font-size: 18px; line-height: 1.6; }
.facts { align-self: stretch; border-bottom: 1px solid var(--border); }
.facts > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 16px 0; border-top: 1px solid var(--border); }
.facts dt { flex: 0 0 170px; font-size: 12px; font-weight: 700; line-height: 2.2; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.facts dd { flex: 1 1 240px; font-weight: 600; }
.facts dd > span:not(.ph) { display: block; }
.facts dd > span + span { margin-top: 6px; }
/* A job: the title on one line, the employer and years on the next, so a narrow column never breaks a name mid-way. */
.role__title, .role__org { display: block; }
.role__org { font-weight: 500; color: var(--muted); }
.role__org .facts__when { margin-left: 0; }
.facts dd > .role + .role { margin-top: 14px; }
.facts__when { margin-left: 2px; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--muted); white-space: nowrap; }

/* ---------- Vote (one question, one answer, then voting information) ---------- */
.statement { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 880px; }
.statement .rule { margin: 2px 0 8px; }
.statement__answer { font-size: clamp(24px, 3vw, 38px); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.statement__answer strong { font-weight: 800; color: var(--accent-ink); }
/* Voting information under the answer */
.vote { margin-top: 56px; }
.vote__h { margin: 0 0 24px; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; }
.vote__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 24px; }
.vote__card { padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.vote__card h4 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.vote__card p { font-size: 16px; line-height: 1.55; color: var(--muted); }
.vote__card p strong { color: var(--text); }
.vote__card .deadline {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 16px;
  color: var(--text); background: var(--surface-alt); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.deadline__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; line-height: 1.5; text-transform: uppercase; color: var(--accent-ink); }
.deadline__date { font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; }
.vote__links { margin-top: auto; padding-top: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.vote__links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }
.vote__source { margin-top: 20px; max-width: 760px; font-size: 14px; line-height: 1.55; color: var(--muted); }

/* ---------- Volunteer ---------- */
.involved__inner { display: grid; gap: 48px 72px; align-items: start; }
@media (min-width: 900px) { .involved__inner { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); } }
.involved__text { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.involved__text p { max-width: 440px; color: var(--muted); }
.form { padding: 32px; display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 480px) { .form { padding: 22px; } }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .form legend { font-size: 14px; font-weight: 700; }
.field input {
  height: 50px; padding: 0 14px; font-family: inherit; font-size: 17px; color: var(--text); background: #FFFFFF;
  border: 1px solid var(--border-input); border-radius: var(--radius-sm);
}
.form legend { margin-bottom: 6px; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 0 20px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 16px; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--navy); }
.form .btn { align-self: flex-start; min-height: 54px; padding: 0 28px; font-size: 17px; }

/* ---------- Shop ---------- */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 24px; }
.product { display: flex; flex-direction: column; overflow: hidden; }
.product__art { height: 230px; display: flex; align-items: center; justify-content: center; background: var(--surface-alt); border-bottom: 1px solid var(--border); }
.product__body { flex: 1 1 auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.product h3 { font-size: 19px; line-height: 1.2; font-weight: 800; letter-spacing: -0.01em; }
.product p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: var(--muted); }
.product__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.shop__terms { margin-top: 28px; }

.art-tee { position: relative; width: 200px; height: 182px; }
.art-tee svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.art-tee path { fill: #FFFFFF; stroke: rgba(15, 34, 61, 0.32); stroke-width: 2; stroke-linejoin: round; }
.art-tee img { position: absolute; left: 66px; top: 52px; width: 68px; height: 68px; }

.art-sign { position: relative; width: 216px; height: 176px; }
.art-sign__stake { position: absolute; top: 120px; width: 3px; height: 56px; background: #8A93A3; }
.art-sign__stake--l { left: 52px; }
.art-sign__stake--r { left: 161px; }
.art-sign__board {
  position: absolute; left: 0; top: 0; width: 216px; height: 128px; padding: 12px 12px 8px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: #FFFFFF; background: var(--navy); border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(9, 22, 41, 0.4);
}
.art-sign__top { display: flex; align-items: center; gap: 10px; }
.art-sign__top img { flex: none; width: 72px; height: 72px; }
.art-sign__name { display: block; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; line-height: 0.95; }
.art-sign__for { display: block; margin-top: 4px; font-size: 12px; font-weight: 800; letter-spacing: 0.16em; line-height: 1.2; color: var(--accent-on-dark); }
.art-sign__legal { font-size: 6.5px; line-height: 1.2; letter-spacing: 0.02em; color: rgba(255, 255, 255, 0.88); }

.art-tote { position: relative; width: 170px; height: 190px; }
.art-tote svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.art-tote__handle { fill: none; stroke: #B9AB88; stroke-width: 7; stroke-linecap: round; }
.art-tote__bag { fill: #FBF8F0; stroke: rgba(15, 34, 61, 0.32); stroke-width: 1.5; stroke-linejoin: round; }
.art-tote img { position: absolute; left: 45px; top: 81px; width: 80px; height: 80px; }

.art-sticker { width: 150px; height: 150px; padding: 7px; background: #FFFFFF; border-radius: 50%; box-shadow: 0 8px 18px -6px rgba(9, 22, 41, 0.3); }
.art-sticker img { width: 100%; height: 100%; }

/* ---------- Closing card ---------- */
.closing { padding: 72px 0; background: var(--surface-alt); border-top: 1px solid var(--border); }
.closing__card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px;
  padding: 40px clamp(24px, 4vw, 48px); background: #FFFFFF;
  border: 1px solid var(--border-strong); border-radius: var(--radius);
  outline: 3px double var(--accent-line); outline-offset: -8px; box-shadow: var(--shadow-card);
}
.closing__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 56px; background: var(--navy); color: #FFFFFF; }
.site-footer a { color: #FFFFFF; }
.site-footer a:hover { color: var(--accent-on-dark); }
.footer__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px 56px; }
.footer__brand { flex: 1 1 320px; max-width: 420px; display: flex; align-items: center; gap: 18px; }
.footer__brand img { flex: none; width: 84px; height: 84px; }
.footer__name { display: block; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.footer__office { display: block; margin-top: 6px; font-size: 15px; line-height: 1.45; color: rgba(250, 249, 246, 0.78); }
.footer__contact { display: flex; flex-direction: column; gap: 4px; font-size: 16px; }
.footer__label { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 249, 246, 0.7); }
.footer__contact a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; }
.footer__contact a:hover { text-decoration: underline; }
.footer__nav { max-width: 280px; display: flex; flex-wrap: wrap; gap: 0 24px; font-size: 16px; }
.footer__nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.15); font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }

/* Social buttons (footer and the small standalone pages). A button with no href is a placeholder. */
.footer__social { margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.footer__social .draft-flag { margin-bottom: 16px; }
.social { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.social__list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social__btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px; padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; letter-spacing: 0.01em; text-decoration: none; color: #FFFFFF;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.social__btn[href]:hover { border-color: var(--accent-on-dark); color: var(--accent-on-dark); }
.social__btn:not([href]) { border-style: dashed; border-color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); cursor: default; }

/* ---------- Small standalone pages (thanks, 404) ---------- */
.solo {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 48px var(--pad); color: #FFFFFF;
  background:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px) 0 0 / 26px 26px,
    linear-gradient(135deg, #091629 0%, #0F223D 60%, #173154 100%);
}
.solo__card { max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.solo__card img { width: 148px; }
.solo__card h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.solo__card p { color: var(--on-dark-muted); }
.solo__legal { margin-top: 12px; font-size: 13px; color: rgba(250, 249, 246, 0.7); }
.solo__social { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.solo__social .draft-flag { margin-bottom: 0; }
.solo__social .social__list { justify-content: center; }
