/*
  GigTwist — shared stylesheet for links.gig-twist.com.

  Editorial / playbill direction: warm paper, ink type, one lime accent.
  Lime (#B6FF00, the app's gtLime) is only ever a FILL — highlight marks,
  buttons, numerals on the ink band. Lime text on paper is ~1.2:1 contrast
  and must never be used for anything a person has to read.

  Every page links this file, so a deploy without /assets unstyles the whole
  site — upload the full directory (see README).
*/

/* Self-hosted fonts (SIL OFL 1.1 — licenses in /assets/fonts). Subsets and
   unicode-ranges copied from Google Fonts so the browser fetches only what a
   page uses. Nothing on this site requests fonts.googleapis.com. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/geist-latin.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: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/geist-mono-latin.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: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-italic-latin.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: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-serif-latin.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;
}

:root {
  --paper: #F3EEE3;
  --paper-deep: #E8E1D0;
  --paper-lift: #F9F6EF;
  --ink: #11110F;
  --ink-2: #3D3A33;
  --ink-3: #6B665A;
  --rule: rgba(17, 17, 15, 0.16);
  --rule-strong: #11110F;
  --lime: #B6FF00;
  --lime-ink: #1A2E05;
  --night: #0B0D0A;
  --error: #9E2F1C;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 10vw, 128px);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(17, 17, 15, 0.35);
  text-underline-offset: 3px;
  transition: background-color 120ms ease, text-decoration-color 120ms ease;
}
a:hover { text-decoration-color: var(--ink); background-color: var(--lime); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10;
}
.skip:focus { left: 8px; }

/* ---------- Type primitives ---------- */

.kicker, .label {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.kicker::before {
  content: "";
  width: 10px; height: 10px;
  background: var(--lime);
  outline: 1px solid var(--ink);
  outline-offset: -1px;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 10vw, 136px);
  line-height: 0.92;
  letter-spacing: -0.025em;
}
.display em, .h-serif em { font-style: italic; }
.display .line { display: block; }

mark {
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.04em;
}

.h-serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.lede {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 36em;
}

.prose p, .prose ul, .prose ol { color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p, .prose p + ol { margin-top: 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--ink-3); }
.prose strong { color: var(--ink); font-weight: 600; }

.path {
  font-family: var(--mono);
  font-size: 0.82em;
  font-weight: 500;
  color: var(--ink);
  background: var(--paper-deep);
  padding: 0.12em 0.45em;
  border-radius: 3px;
  white-space: nowrap;
}

/* ---------- Masthead ---------- */

.masthead { border-bottom: 1px solid var(--rule-strong); }
.masthead .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 14px;
  padding-bottom: 14px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { background: none; }
.wordmark em { font-style: italic; }
.wordmark .label { letter-spacing: 0.06em; margin-left: 12px; vertical-align: 0.35em; }

.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 2px;
}
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }

@media (max-width: 640px) {
  .wordmark .label { display: none; }
  .nav { width: 100%; justify-content: space-between; gap: 4px 12px; }
}

/* ---------- Page header (inner pages) ---------- */

.page-head { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--rule); }
.page-head .display { font-size: clamp(52px, 9vw, 112px); margin-top: 20px; }
.page-head .lede { margin-top: 24px; }
.page-head .updated { margin-top: 24px; display: block; }

/* ---------- Home: hero ---------- */

.hero { padding: clamp(48px, 8vw, 112px) 0 clamp(48px, 7vw, 96px); }
.hero .display { margin-top: 28px; max-width: 11.5em; }
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px var(--gutter);
  margin-top: clamp(40px, 6vw, 72px);
  align-items: end;
}
.hero-grid .intro { grid-column: 1 / span 6; }
.hero-grid .brief { grid-column: 8 / span 5; }
.platform {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
}
.platform::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); outline: 1px solid var(--ink); }

.brief { border-top: 2px solid var(--ink); }
.brief .label { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.brief dl { display: grid; grid-template-columns: auto 1fr; }
.brief dt, .brief dd { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.brief dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); padding-right: 24px; padding-top: 15px; }
.brief dd { font-family: var(--serif); font-size: 22px; line-height: 1.25; text-align: right; }

@media (max-width: 860px) {
  .hero-grid .intro, .hero-grid .brief { grid-column: 1 / -1; }
}

/* ---------- Home: figures strip ---------- */

.figures { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.figures ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.figures li { padding: 28px var(--gutter) 28px 0; }
.figures li + li { padding-left: var(--gutter); border-left: 1px solid var(--rule); }
.figures .num { font-family: var(--serif); font-size: clamp(48px, 6vw, 72px); line-height: 1; letter-spacing: -0.03em; display: block; }
.figures .cap { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 16em; }
@media (max-width: 860px) {
  .figures ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .figures li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}

/* ---------- Generic section ---------- */

.section { padding: var(--section) 0; }
.section + .section { border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .h-serif { font-size: clamp(40px, 6vw, 76px); }

/* Two editorial columns separated by a vertical rule */
.columns { display: grid; grid-template-columns: 1fr 1fr; }
.columns > * { padding-right: clamp(24px, 4vw, 56px); }
.columns > * + * { padding-left: clamp(24px, 4vw, 56px); padding-right: 0; border-left: 1px solid var(--rule); }
.columns .numeral { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink-3); display: block; }
.columns .h-serif { font-size: clamp(36px, 4.4vw, 56px); margin: 8px 0 24px; }
@media (max-width: 760px) {
  .columns { grid-template-columns: 1fr; }
  .columns > *, .columns > * + * { padding: 0; border-left: 0; }
  .columns > * + * { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--rule); }
}

/* Sidehead layout: label column + body column */
.sidehead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px var(--gutter); }
.sidehead > .head { grid-column: 1 / span 4; }
.sidehead > .body { grid-column: 6 / span 7; }
.sidehead .h-serif { font-size: clamp(40px, 5vw, 64px); margin-top: 12px; }
@media (max-width: 860px) {
  .sidehead > .head, .sidehead > .body { grid-column: 1 / -1; }
}

.standfirst {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 32px;
}


/* ---------- Ink band (how it works) ---------- */

.band { background: var(--night); color: var(--paper); padding: var(--section) 0; }
.band .kicker { color: var(--paper); }
.band .kicker::before { outline-color: var(--lime); }
.band .h-serif { font-size: clamp(44px, 7vw, 96px); margin-top: 20px; max-width: 10em; }
.steps { list-style: none; padding: 0; margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.steps li { padding: 24px 28px 8px 0; border-top: 1px solid rgba(243, 238, 227, 0.22); }
.steps li + li { padding-left: 28px; border-left: 1px solid rgba(243, 238, 227, 0.12); }
.steps .num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--lime); display: block; letter-spacing: -0.03em; }
.steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; margin: 24px 0 12px; }
.steps p { font-size: 15px; line-height: 1.6; color: rgba(243, 238, 227, 0.74); }
@media (max-width: 960px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .steps li { padding-bottom: 40px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { padding-left: 0; padding-right: 0; border-left: 0; }
}

/* ---------- Support ---------- */

.contact-block {
  background: var(--lime);
  color: var(--ink);
  padding: clamp(28px, 5vw, 56px);
  margin: clamp(40px, 6vw, 72px) 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px 48px;
  align-items: end;
}
.contact-block .label { color: var(--lime-ink); }
.contact-block .email {
  display: block;
  margin-top: 12px;
  font-family: var(--serif);
  font-size: clamp(30px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.contact-block .email:hover { background: none; text-decoration: underline; text-decoration-thickness: 2px; }
.contact-block p { max-width: 22em; font-size: 15px; color: var(--lime-ink); }
@media (max-width: 760px) { .contact-block { grid-template-columns: 1fr; } }

/* Indexed article: sticky index rail + numbered entries */
.indexed { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 var(--gutter); padding: clamp(48px, 7vw, 96px) 0 var(--section); }
.indexed > .rail { grid-column: 1 / span 3; }
.indexed > .entries { grid-column: 5 / span 8; min-width: 0; }
.rail-inner { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; }
.rail .label { display: block; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.rail ul { list-style: none; padding: 0; }
.rail li { border-bottom: 1px solid var(--rule); }
.rail a { display: block; padding: 10px 0; font-size: 14px; line-height: 1.4; text-decoration: none; color: var(--ink-2); }
.rail a:hover { color: var(--ink); }

.entry { padding: 40px 0; border-top: 1px solid var(--rule); }
.entry:first-child { padding-top: 0; border-top: 0; }
.entry .label { display: block; }
.entry h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.015em; margin: 8px 0 20px; }
@media (max-width: 860px) {
  .indexed > .rail, .indexed > .entries { grid-column: 1 / -1; }
  .rail-inner { position: static; max-height: none; margin-bottom: 48px; }
}

/* ---------- Legal documents ---------- */
/* Wording of these pages is controlled text — only the chrome is styled here. */

.legal .entries { max-width: 44em; }
.legal section { padding: 36px 0; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.legal section:first-child { padding-top: 0; border-top: 0; }
.legal section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.legal section:target h2 { background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 94%, transparent 94%); display: inline; }
.legal section:target h2 + * { margin-top: 18px; }
.legal p, .legal ul, .legal ol { color: var(--ink-2); font-size: 16px; line-height: 1.7; }
.legal p + p, .legal p + ul, .legal ul + p, .legal p + ol, .legal ol + p, .legal ul + ul { margin-top: 0.9em; }
.legal ul, .legal ol { padding-left: 1.2em; }
.legal li + li { margin-top: 0.35em; }
.legal li::marker { color: var(--ink-3); }
.legal .sub {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 1.8em;
}
.legal .sub + p { margin-top: 0.6em; }
.legal h2 + .sub { margin-top: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 1em 0; display: block; overflow-x: auto; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.legal th { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; border-bottom-color: var(--ink); }

.toc h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.toc ul { list-style: none; padding: 0; }
.toc li { border-bottom: 1px solid var(--rule); }
.toc a { display: block; padding: 9px 0; font-size: 13.5px; line-height: 1.4; text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .toc ul { columns: 2; column-gap: var(--gutter); }
  .toc li { break-inside: avoid; }
}
@media (max-width: 520px) { .toc ul { columns: 1; } }

/* ---------- Forms (reset password) ---------- */

.form-page { padding: clamp(48px, 9vw, 120px) 0 var(--section); }
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px var(--gutter); }
.form-grid > .aside { grid-column: 1 / span 5; }
.form-grid > .panel { grid-column: 7 / span 5; }
@media (max-width: 860px) { .form-grid > .aside, .form-grid > .panel { grid-column: 1 / -1; } }
.panel { border-top: 2px solid var(--ink); padding-top: 28px; }
.panel h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -0.02em; }
.panel p.sub { margin: 14px 0 32px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.panel label { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.panel input[type="password"] {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper-lift);
  border: 1px solid rgba(17, 17, 15, 0.4);
  border-radius: 4px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.panel input[type="password"]:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--lime); }
.panel .hint { font-size: 13px; color: var(--ink-3); margin: -10px 0 24px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: var(--lime);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background-color 120ms ease;
}
.btn:hover { background: #A3E600; }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--paper-deep); color: var(--ink-3); border-color: var(--rule); cursor: default; transform: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--lime); }

.msg { font-size: 14px; line-height: 1.5; margin-top: 18px; padding: 14px 16px; border-left: 3px solid; display: none; }
.msg.error { display: block; background: #F4E2DC; color: var(--error); border-color: var(--error); }
.msg.ok { display: block; background: #EEFFC7; color: var(--lime-ink); border-color: var(--ink); }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule-strong); padding: clamp(56px, 8vw, 96px) 0 32px; }
.footer-cta .h-serif { font-size: clamp(36px, 5vw, 64px); max-width: 12em; }
.footer-cta a.mail {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(26px, 3.4vw, 40px);
  overflow-wrap: anywhere;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 32px var(--gutter);
  margin-top: clamp(48px, 7vw, 88px);
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.footer-cols > div { grid-column: span 3; }
.footer-cols > .entity { grid-column: span 6; }
.footer-cols .label { display: block; margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; }
.footer-cols li + li { margin-top: 6px; }
.footer-cols a { text-decoration: none; font-size: 15px; }
.footer-cols .entity p { font-family: var(--serif); font-size: 26px; line-height: 1.15; }
.footer-cols .entity p + p { font-family: var(--sans); font-size: 14px; color: var(--ink-3); margin-top: 8px; }
.footer-base { margin-top: 48px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .footer-cols > div { grid-column: span 6; }
  .footer-cols > .entity { grid-column: 1 / -1; }
}

@media print {
  .masthead .nav, .site-footer .footer-cta, .rail, .skip { display: none; }
  body { background: #fff; font-size: 12pt; }
  .indexed > .entries { grid-column: 1 / -1; }
  a { text-decoration: none; }
}
.footer-cta .h-serif { margin-top: 20px; }
.footer-cols:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.form-grid .aside .standfirst { margin-top: 20px; }
.form-grid .aside .note { font-size: 14px; color: var(--ink-3); max-width: 26em; }
.actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Logo mark ---------- */
/* The traced app mark, used as a mask so it takes the current text colour
   (ink on paper, lime on the night band). Source: assets/brand/gigtwist-mark.svg */
.logo-mark {
  display: inline-block;
  width: 0.69em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: url("/assets/brand/gigtwist-mark.svg") center / contain no-repeat;
  mask: url("/assets/brand/gigtwist-mark.svg") center / contain no-repeat;
  vertical-align: -0.16em;
  margin-right: 0.3em;
}
.wordmark .logo-mark { font-size: 34px; }
.logo-mark--lg { display: block; font-size: 72px; margin: 0 0 20px; }
