/* McKays website styles
   Fonts are hosted on this site (see /fonts). Colours and spacing live in :root. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Patrick Hand";
  src: url("../fonts/patrick-hand.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --green: #1F3D2B;
  --green-deep: #163021;
  --ink: #15202E;
  --text: #3E4A5E;
  --muted: #4A5563;
  --sage: #EEF2EC;
  --sage-line: #C3CDC5;
  --on-green: #D7E2DA;
  --pale: #C9DCCF;
  --red: #D2232A;
  --red-text: #B91C22;
  --hl: #FFE45C;
  --kraft: #C69C6D;
  --kraft-dark: #B88B5B;
  --manila: #EBD7AE;
  --cork: #C9A274;
  --line: #DDE2EA;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Patrick Hand", "Segoe Print", "Bradley Hand", cursive;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(20px, 5vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: #FFFFFF;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 0 0 5px var(--green); }
[hidden] { display: none !important; }
button { font: inherit; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #FFFFFF; color: var(--ink); padding: 10px 14px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.band-green { background: var(--green); color: #FFFFFF; }
.band-sage { background: var(--sage); }
.band-cork {
  background-color: var(--cork);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

/* Type */
.h1 { font-weight: 800; font-size: clamp(3rem, 6.4vw, 5.8rem); line-height: 0.95; letter-spacing: -0.045em; margin: 0 0 28px; }
.h1-page { font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 22px; }
.h2 { font-weight: 800; font-size: clamp(2.4rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.04em; margin: 0 0 22px; }
.h3 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; }
.lead { font-size: 20px; line-height: 1.55; max-width: 32em; margin: 0 0 34px; }
.text { color: var(--text); }
.small { font-size: 15px; }
.band-green .lead, .band-green .on-green { color: var(--on-green); }
.hand { font-family: var(--hand); font-weight: 400; }
.measure { max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 26px; border-radius: 8px;
  font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1.2; text-align: center;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
}
.btn-light { background: #FFFFFF; color: var(--green); }
.btn-light:hover { background: var(--sage); color: var(--green); }
.btn-dark { background: var(--green); color: #FFFFFF; }
.btn-dark:hover { background: var(--green-deep); color: #FFFFFF; }
.btn-ghost { background: transparent; color: #FFFFFF; border-color: rgba(255,255,255,0.7); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #FFFFFF; }
.btn-outline { background: #FFFFFF; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--sage); color: var(--green); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { background: var(--green); color: #FFFFFF; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-block: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font-weight: 800; font-size: 25px; letter-spacing: -0.03em; }
.brand:hover { color: #FFFFFF; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; font-weight: 500; }
.nav-links a { color: #FFFFFF; text-decoration: none; }
.nav-links a:hover { color: var(--pale); }
.nav-links a.btn { color: var(--green); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border-radius: 8px; border: 1.5px solid rgba(255,255,255,0.7); background: transparent; color: #FFFFFF;
  font-weight: 700; font-size: 16px; cursor: pointer;
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; width: 100%; flex-direction: column; align-items: flex-start; gap: 0; padding: 4px 0 8px; }
  .nav-links.is-open { display: flex; }
  .nav-links a { min-height: 44px; display: flex; align-items: center; }
  .nav-links a.btn { margin-top: 8px; }
}

/* Hero (home) */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 112px); }
.hero-copy { flex: 1 1 420px; min-width: 0; }
.hero-visual { flex: 1.2 1 520px; min-width: 0; }
.hand-note { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--pale); }
.hand-note svg { flex: none; margin-top: -6px; }
.hand-note span { font-family: var(--hand); font-size: 23px; line-height: 1.2; display: inline-block; transform: rotate(-2deg); max-width: 15em; }

/* Redaction and highlighting: plain until .is-clean is on a parent */
.redact, .keep { padding: 0 2px; border-radius: 2px; transition: background-color 0.35s ease, color 0.35s ease; }
.is-clean .redact { background-color: var(--ink); color: transparent; }
.is-clean .keep { background-color: var(--hl); }
.hl { background: var(--hl); padding: 0 2px; border-radius: 2px; }
.pen-wrap { position: relative; display: inline-block; }
.pen { position: absolute; left: -10px; top: -9px; width: calc(100% + 20px); height: calc(100% + 18px); overflow: visible; pointer-events: none; }
.pen path { fill: none; stroke: var(--red); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; transition: stroke-dashoffset 0.15s ease, opacity 0s linear 0.15s; }
.is-clean .pen path, .pen.is-drawn path { stroke-dashoffset: 0; opacity: 1; transition: stroke-dashoffset 0.7s ease 0.4s, opacity 0s linear 0.4s; }
.gold-note { font-family: var(--hand); font-size: 21px; line-height: 1.1; color: var(--red); margin-top: 8px; text-align: right; opacity: 0; transform: rotate(-3deg); transition: opacity 0.15s ease; }
.is-clean .gold-note { opacity: 1; transition: opacity 0.4s ease 1s; }

/* The desk */
.desk { position: relative; height: 640px; }
.doc {
  position: absolute; color: var(--ink); background: #FFFFFF; border: 1px solid #D9DEE7;
  cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  transform: translate(var(--x, 0px), var(--y, 0px)) rotate(var(--tilt, 0deg));
}
.doc:active { cursor: grabbing; }
.doc-drawing { top: 0; right: 0; width: 56%; background: #F7F9FC; border-radius: 3px; box-shadow: 0 18px 36px -20px rgba(0,0,0,0.6); padding: 14px; z-index: 1; --tilt: 3deg; }
.doc-drawing svg { display: block; width: 100%; height: auto; pointer-events: none; font-family: var(--mono); }
.doc-quote { top: 76px; left: 0; width: 70%; border-radius: 3px; box-shadow: 0 30px 50px -24px rgba(0,0,0,0.65); padding: 22px 22px 18px; font-family: var(--mono); font-size: 12.5px; line-height: 1.55; color: #1E2A40; z-index: 2; --tilt: -2deg; }
.doc-ticket { top: 410px; right: 2%; width: 64%; border-radius: 10px; box-shadow: 0 24px 46px -22px rgba(0,0,0,0.65); padding: 20px 20px 16px; font-size: 14.5px; line-height: 1.55; z-index: 3; --tilt: 1.5deg; }
.doc-quote .q-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.doc-quote .q-firm { font-family: var(--font); font-weight: 700; font-size: 15px; color: var(--ink); }
.doc-quote .q-addr { font-size: 11.5px; }
.doc-quote .q-title { font-family: var(--font); font-weight: 800; font-size: 15px; color: var(--ink); }
.doc-quote .q-right { text-align: right; flex: none; }
.doc-quote .q-table { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 5px 14px; border-top: 1px solid #D9DEE7; padding-top: 10px; }
.doc-quote .q-table .r { text-align: right; }
.doc-quote .q-table .th { color: #5A6478; }
.doc-quote .q-total { display: flex; justify-content: space-between; border-top: 1px solid #D9DEE7; margin-top: 10px; padding-top: 8px; font-weight: 500; }
.doc-quote .q-note { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #C9CFDA; }
.coffee { position: absolute; top: -24px; right: -20px; width: 100px; height: 100px; pointer-events: none; }
.clip { position: absolute; top: -20px; left: 26px; pointer-events: none; }
.doc-ticket .t-meta { font-size: 13px; color: var(--muted); }
.doc-ticket .t-title { font-weight: 700; margin: 4px 0 8px; }
.desk-sticky {
  position: absolute; top: 474px; left: 0; width: 30%; min-width: 150px; z-index: 6; pointer-events: none;
  background: #FFF2A1; padding: 16px 16px 20px; box-shadow: 0 14px 24px -14px rgba(0,0,0,0.65);
  font-family: var(--hand); font-size: 21px; line-height: 1.2; color: var(--ink);
  opacity: 0; transform: rotate(-5deg) translateY(10px); transition: opacity 0.15s ease, transform 0.15s ease;
}
.is-clean .desk-sticky { opacity: 1; transform: rotate(-5deg); transition: opacity 0.4s ease 1.1s, transform 0.4s ease 1.1s; }
.desk-tools { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; margin-top: 22px; }
.desk-tools span { font-size: 15px; color: var(--on-green); }
.band-sage .desk-tools span, .light-tools span { color: var(--muted); }
@media (max-width: 700px) {
  .desk { height: auto; display: flex; flex-direction: column; gap: 18px; }
  .desk .doc, .desk .desk-sticky { position: relative; top: auto; left: auto; right: auto; width: 100%; transform: none; touch-action: auto; cursor: default; }
  .coffee { right: -8px; }
}

/* On/off switch */
.switch {
  display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 6px 22px 6px 8px;
  border: 0; border-radius: 999px; background: #FFFFFF; color: var(--ink); font-weight: 700; font-size: 16px; cursor: pointer;
}
.switch.on-light { border: 1px solid #C9D0DC; }
.switch-track { position: relative; display: inline-block; width: 56px; height: 32px; border-radius: 16px; background: #B9C1CF; transition: background-color 0.25s; }
.switch-knob { position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; box-shadow: 0 1px 3px rgba(0,0,0,0.35); transition: left 0.25s; }
.switch[aria-checked="true"] .switch-track { background: var(--green); }
.switch[aria-checked="true"] .switch-knob { left: 28px; }

/* Proof */
.proof { display: flex; flex-wrap: wrap; gap: 40px 80px; align-items: center; }
.proof .h2 { flex: 1 1 360px; margin: 0; }
.proof-stats { flex: 1.2 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.stat { position: relative; display: inline-block; padding: 10px 18px; font-weight: 800; font-size: clamp(3.4rem, 6vw, 5rem); line-height: 1; letter-spacing: -0.045em; }
.stat svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.stat path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.stat-label { margin: 14px 0 0; color: var(--muted); font-size: 17px; max-width: 20em; }
.footnote { margin: 48px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); max-width: 52em; }

/* Wanted board */
.wanted-intro { margin: 0 0 52px; color: #2A1E10; max-width: 36em; }
.wanted-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px 32px; align-items: stretch; }
.pin-card { position: relative; background: #FFFFFF; color: var(--ink); padding: 36px 28px 28px; box-shadow: 0 24px 40px -22px rgba(40,24,8,0.75); display: flex; flex-direction: column; }
.pin-card:nth-child(3n+1) { transform: rotate(-1.2deg); }
.pin-card:nth-child(3n+2) { transform: rotate(1deg); }
.pin-card:nth-child(3n+3) { transform: rotate(-0.6deg); }
.pin-card.is-sticky { background: #FFF2A1; }
.pin { position: absolute; top: -10px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--red); box-shadow: inset -3px -3px 0 rgba(0,0,0,0.2), 0 4px 6px rgba(0,0,0,0.35); }
.pin.dark { background: var(--ink); }
.stamp-tag { margin: 0 0 14px; align-self: flex-start; border: 2px solid var(--red); color: var(--red); font-weight: 800; font-size: 13px; letter-spacing: 0.08em; padding: 2px 8px; transform: rotate(-3deg); }
.pin-card h3 { font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 6px; }
.pin-card .size { margin: 0 0 18px; font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--red-text); }
.pin-card .ask { margin: 0 0 10px; font-weight: 700; font-size: 16px; }
.pin-card ul { margin: 0 0 26px; padding: 0 0 0 20px; font-size: 16px; line-height: 1.5; color: #2E3747; display: flex; flex-direction: column; gap: 6px; }
.pin-card p.body { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: #2E3747; }
.pin-card .btn { margin-top: auto; align-self: flex-start; }

/* Chips and sector links */
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0; padding: 0; }
.chip-link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border-radius: 6px; background: #F4EAD3; border: 1px solid #D9C49A; color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; }
.chip-link:hover { border-color: var(--green); color: var(--ink); }
.chip-link.is-dark { background: var(--green); border-color: var(--green); color: #FFFFFF; }
.chip-link.is-dark:hover { background: var(--green-deep); color: #FFFFFF; }

/* Archive box */
.box-layout { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.box-col { flex: 1 1 400px; min-width: 0; max-width: 500px; }
.box-text { flex: 1 1 380px; min-width: 0; }
.box { position: relative; height: 520px; }
.box-lid { position: absolute; left: -2%; width: 104%; bottom: 222px; height: 42px; border-radius: 6px; background: var(--kraft-dark); box-shadow: 0 6px 0 rgba(0,0,0,0.08); pointer-events: none; transform-origin: right bottom; transition: transform 0.5s cubic-bezier(.2,.8,.2,1); z-index: 4; }
.box.is-open .box-lid { transform: translate(16%, -262px) rotate(12deg); z-index: 1; }
.folder {
  position: absolute; bottom: 40px; left: var(--left); width: 22%; height: 188px; z-index: 2;
  border: 1px solid rgba(21,32,46,0.28); border-radius: 3px 6px 0 0; padding: 0; cursor: pointer;
  background: var(--c); color: var(--ink);
  transition: transform 0.55s cubic-bezier(.2,.8,.2,1);
}
.folder:disabled { cursor: default; opacity: 1; }
.box.is-open .folder { transform: translateY(calc(var(--rise) * -1px)) rotate(calc(var(--rot) * 1deg)); transition-delay: calc(var(--i) * 0.06s); }
.box.is-open .folder[aria-pressed="true"] { transform: translateY(calc((var(--rise) + 18) * -1px)) rotate(calc(var(--rot) * 1deg)); outline: 3px solid var(--ink); outline-offset: 2px; transition-delay: 0s; }
.folder-tab { position: absolute; top: -27px; left: 6px; height: 28px; padding: 0 10px; border: 1px solid rgba(21,32,46,0.28); border-bottom: 0; border-radius: 7px 7px 0 0; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; white-space: nowrap; background: var(--c); }
.folder-line { position: absolute; left: 14%; right: 14%; height: 2px; background: rgba(21,32,46,0.18); }
.box-front { position: absolute; left: 0; right: 0; bottom: 0; height: 230px; z-index: 3; border: 0; border-radius: 4px 4px 10px 10px; background: var(--kraft); cursor: pointer; padding: 0; box-shadow: inset 0 -12px 0 rgba(0,0,0,0.08), 0 34px 50px -30px rgba(21,32,46,0.55); }
.box-handle { position: absolute; top: 24px; left: 50%; width: 84px; height: 22px; margin-left: -42px; border-radius: 11px; background: #5E4022; }
.box-label { position: absolute; top: 66px; left: 50%; width: 220px; margin-left: -110px; background: #FFFFFF; border: 1px solid rgba(21,32,46,0.2); padding: 8px 14px 10px; transform: rotate(-1.5deg); display: block; font-family: var(--hand); font-size: 26px; line-height: 1.15; color: var(--ink); text-align: center; }
.box-label small { display: block; font-size: 17px; color: var(--muted); }
.box-hint { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 16px; font-weight: 700; color: #3A2814; }
.open-it { display: flex; align-items: center; gap: 10px; color: var(--red); }
.open-it span { font-family: var(--hand); font-size: 25px; line-height: 1.1; }
.box-more { margin: 0; padding-top: 18px; border-top: 1px solid #CBD5CC; color: var(--text); max-width: 30em; }

/* Record viewer */
.rec-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 20px; margin-bottom: 48px; }
.rec-group-title { font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--pale); margin: 0 0 12px; }
.rec-btns { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.rec-btn { min-height: 44px; padding: 0 18px; border-radius: 8px; font-weight: 700; font-size: 15px; cursor: pointer; text-align: left; background: transparent; color: #FFFFFF; border: 1.5px solid rgba(255,255,255,0.45); }
.rec-btn:hover { border-color: #FFFFFF; }
.rec-btn[aria-pressed="true"] { background: #FFFFFF; color: var(--green); border-color: #FFFFFF; }
.rec-panel { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: center; }
.rec-art { flex: 1.5 1 520px; min-width: 0; }
.rec-side { flex: 1 1 300px; min-width: 0; }
.rec-side .why { margin: 0 0 20px; color: var(--on-green); }
.rec-side .where { margin: 0 0 24px; font-size: 16px; }
.rec-side .note { font-family: var(--hand); font-size: 24px; line-height: 1.2; color: var(--pale); margin: 0; transform: rotate(-2deg); display: inline-block; }

/* Record cards */
.card { background: #FFFFFF; color: var(--ink); border-radius: 12px; box-shadow: 0 30px 50px -26px rgba(0,0,0,0.65); overflow: hidden; transform: rotate(var(--tilt, 0deg)); }
.band-sage .card, .card.on-light { box-shadow: 0 30px 50px -30px rgba(21,32,46,0.45); border: 1px solid #DDE2EA; }
.card-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #F2F4F7; border-bottom: 1px solid #E1E5EB; font-size: 14px; color: var(--muted); }
.card-head strong { color: var(--ink); }
.card-head svg { flex: none; }
.card-head .meta { margin-left: auto; font-family: var(--mono); font-size: 12px; text-align: right; }
.card-body { padding: 18px 22px 22px; }
.card-heading { font-family: var(--font); font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0 0 12px; color: var(--ink); }
.k-doc { font-size: 15.5px; line-height: 1.6; }
.k-doc p { margin: 0 0 8px; }
.k-table { font-size: 14.5px; line-height: 1.45; overflow-x: auto; }
.k-table p { margin: 16px 0 0; }
.k-mono { font-family: var(--mono); font-size: 13px; line-height: 1.9; background: #F7FAF7; overflow-x: auto; }
.k-mono p { margin: 0; white-space: pre-wrap; }
.k-note { font-family: var(--hand); font-size: 20px; line-height: 34px; color: #1E3A6E; background-color: #FFFFFF; background-image: linear-gradient(#DCE6F2 1px, transparent 1px), linear-gradient(90deg, #DCE6F2 1px, transparent 1px); background-size: 17px 17px; }
.k-note p { margin: 0; }
.card-body p.has-circle { margin-top: 14px; margin-bottom: 12px; }
.trow { display: grid; grid-template-columns: var(--cols); gap: 4px 14px; padding: 8px 0; border-bottom: 1px solid #E8EBF0; min-width: 400px; }
.trow.th { color: #5A6478; font-size: 13px; font-weight: 600; }
.trow > span { min-width: 0; }
.del { color: var(--red); text-decoration: line-through; }
.ins { color: #1D4ED8; text-decoration: underline; }
.mute { color: #5A6478; }
.diff-r { color: #B42318; background: #FDECEC; padding: 0 4px; }
.diff-g { color: #067647; background: #E6F4EC; padding: 0 4px; }
.msgs { padding: 18px 22px 6px; }
.msgs.chat { padding: 6px 22px 10px; }
.msgs .subject { font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.msg { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid #EEF0F3; }
.msgs.chat .msg { border-top: 0; padding: 12px 0; }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); }
.avatar.sq { border-radius: 8px; }
.msg-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.msg p { margin: 4px 0 0; font-size: 15.5px; line-height: 1.5; }
.cad-body { padding: 18px 22px 20px; background: #F7F9FC; }
.cad-body svg { display: block; width: 100%; height: auto; font-family: var(--mono); }
.rev-table { overflow-x: auto; margin-top: 14px; }
.rev-grid { display: grid; grid-template-columns: auto auto minmax(180px, 1fr) auto; gap: 6px 16px; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; min-width: 440px; }
.rev-grid .th { color: #5A6478; }
.fanfold { display: flex; background: #FFFFFF; color: var(--ink); border-radius: 3px; box-shadow: 0 30px 50px -26px rgba(0,0,0,0.65); overflow: hidden; transform: rotate(0.8deg); }
.fan-holes { flex: none; width: 26px; background-image: radial-gradient(circle at 13px 14px, var(--green) 5px, transparent 5.5px); background-size: 26px 28px; }
.fan-holes.l { border-right: 1px dashed #C9D3CB; }
.fan-holes.r { border-left: 1px dashed #C9D3CB; }
.fan-body { flex: 1; min-width: 0; overflow-x: auto; padding: 0 18px; font-family: var(--mono); font-size: 13px; line-height: 28px; white-space: nowrap; background-image: repeating-linear-gradient(to bottom, #E4F1E6 0, #E4F1E6 56px, #FFFFFF 56px, #FFFFFF 112px); }
.fan-body .pen-wrap { line-height: 20px; }

/* Systems */
.sys { margin-top: clamp(72px, 9vw, 112px); padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid rgba(255,255,255,0.2); }
.sys-head { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.sys-head > div { flex: 1 1 420px; min-width: 0; }
.sys-head .hand { margin: 0; font-size: 24px; line-height: 1.1; color: var(--pale); transform: rotate(-2deg); }
.sys-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.sys-card { background: var(--manila); color: var(--ink); border-radius: 4px 14px 14px 14px; padding: 20px 20px 22px; box-shadow: 0 20px 34px -24px rgba(0,0,0,0.6); }
.sys-card h4 { font-weight: 800; font-size: 19px; margin: 0 0 14px; }
.sys-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sys-chip { min-height: 44px; padding: 0 14px; border-radius: 6px; border: 1.5px solid #C9B48A; background: #FFFFFF; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.sys-chip[aria-pressed="true"] { background: var(--green); color: #FFFFFF; border-color: var(--green); }
.sys-foot { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; margin-top: 28px; }
.sys-foot p { margin: 0; font-weight: 700; font-size: 19px; }

/* Steps as sticky notes */
.stickies { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 36px; }
.sticky-note { position: relative; padding: 30px 26px 34px; box-shadow: 0 20px 30px -20px rgba(21,32,46,0.5); min-height: 250px; }
.sticky-note:nth-child(1) { background: #FFF2A1; transform: rotate(-1.5deg); }
.sticky-note:nth-child(2) { background: #FFD3DC; transform: rotate(1.2deg); }
.sticky-note:nth-child(3) { background: #CDE7FF; transform: rotate(-0.6deg); }
.sticky-note:nth-child(4) { background: #D8EBD3; transform: rotate(0.8deg); }
.sticky-note h3 { font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 12px; }
.sticky-note p { margin: 0; }
.tape { position: absolute; top: -12px; left: 50%; width: 80px; margin-left: -40px; height: 24px; background: rgba(255,255,255,0.65); transform: rotate(3deg); }

/* Scale sliders */
.scale { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.scale > div { flex: 1 1 400px; min-width: 0; }
.range { display: block; margin-bottom: 28px; }
.range-top { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; font-size: 17px; }
.range output { font-weight: 800; }
.range input[type="range"] { width: 100%; height: 36px; margin: 6px 0 0; accent-color: var(--green); cursor: pointer; }
.boxes { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; max-width: 440px; }
.boxes svg { display: block; width: 100%; height: auto; }
.boxes .b-body, .boxes .b-lid { fill: transparent; stroke: #AEB9AF; stroke-width: 1.2; }
.boxes .b-hole { fill: transparent; }
.boxes .on .b-body { fill: var(--kraft); stroke: #8A6338; }
.boxes .on .b-lid { fill: var(--kraft-dark); stroke: #8A6338; }
.boxes .on .b-hole { fill: #5E4022; }
.big-num { margin: 0; font-weight: 800; font-size: clamp(3rem, 6vw, 4.8rem); line-height: 1; letter-spacing: -0.045em; }

/* Folder tabs */
.ftabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; }
.ftab { border: 0; border-radius: 12px 12px 0 0; padding: 0 22px; font-weight: 700; font-size: 16px; cursor: pointer; color: var(--ink); background: #C9A774; min-height: 48px; }
.ftab[aria-pressed="true"] { background: var(--manila); min-height: 58px; }
.ftab-panel { background: var(--manila); color: var(--ink); border-radius: 0 14px 14px 14px; padding: clamp(28px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; box-shadow: 0 30px 50px -34px rgba(0,0,0,0.45); }
.ftab-panel > div { flex: 1 1 420px; min-width: 0; }
.ftab-panel h3 { font-weight: 800; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 12px; }
.ftab-panel p { margin: 0; color: #2E3747; max-width: 34em; }

/* Founder */
.founder { display: flex; flex-wrap: wrap; gap: 56px 80px; align-items: center; }
.founder-photo { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; }
.founder-copy { flex: 1.3 1 440px; min-width: 0; }
.polaroid { margin: 0; position: relative; width: min(100%, 380px); background: #FFFFFF; padding: 16px 16px 66px; transform: rotate(-3deg); box-shadow: 0 30px 50px -28px rgba(21,32,46,0.55); border: 1px solid #E3E7EE; }
.polaroid .photo { position: relative; aspect-ratio: 1 / 1; background: #D9E1DB; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.polaroid .initials { font-weight: 800; font-size: 96px; letter-spacing: -0.05em; color: #3D4A42; }
.polaroid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 14px; text-align: center; font-family: var(--hand); font-size: 24px; line-height: 1.1; color: var(--ink); }
.tape-a, .tape-b { position: absolute; top: -14px; width: 96px; height: 30px; background: rgba(255,236,160,0.8); }
.tape-a { left: 22px; transform: rotate(-9deg); }
.tape-b { right: 18px; transform: rotate(7deg); }
.signature { font-family: var(--hand); font-size: 38px; line-height: 1; margin: 28px 0 6px; transform: rotate(-3deg); display: inline-block; }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq .h2 { flex: 1 1 280px; margin: 0; }
.faq-list { flex: 2 1 520px; min-width: 0; border-top: 1.5px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--sage-line); padding: 16px 0; }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; font-weight: 700; font-size: 20px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.plus { font-weight: 600; font-size: 30px; line-height: 1; color: var(--red); transition: transform 0.2s; }
.faq-list details[open] .plus { transform: rotate(45deg); }
.faq-list p { margin: 6px 0 0; color: var(--text); max-width: 40em; }

/* Enquiry form, styled as a job sheet */
.enquire { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: flex-start; }
.enquire-copy { flex: 1 1 320px; min-width: 0; }
.enquire-copy p { color: var(--on-green); margin: 0 0 16px; max-width: 26em; }
.enquire-copy .hand { font-size: 24px; line-height: 1.2; color: var(--pale); margin: 0 0 28px; transform: rotate(-2deg); display: inline-block; }
.enquire-copy a { color: #FFFFFF; font-weight: 700; }
.sheet-wrap { flex: 1.4 1 500px; min-width: 0; position: relative; }
.sheet-carbon { position: absolute; top: 12px; left: 10px; right: -10px; bottom: -12px; background: #DCE8F5; border-radius: 4px; transform: rotate(1.6deg); }
@media (max-width: 700px) { .sheet-carbon { right: 0; left: 6px; } }
.sheet { position: relative; background: #FFFFFF; color: var(--ink); border-radius: 4px; padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; gap: 22px; box-shadow: 0 30px 50px -28px rgba(0,0,0,0.6); }
.sheet-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 12px; }
.sheet-head strong { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.sheet-head span { font-family: var(--mono); font-size: 14px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 2px; font-weight: 700; font-size: 14px; }
.field input, .field select { min-height: 44px; padding: 8px 2px; border: 0; border-bottom: 1.5px solid #8A94A3; border-radius: 0; font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); background: transparent; }
.field textarea { padding: 0 4px; border: 0; border-top: 1px solid #D5DBE3; font: inherit; font-weight: 400; font-size: 17px; line-height: 32px; color: var(--ink); background-color: transparent; background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #D5DBE3 31px, #D5DBE3 32px); resize: vertical; }
.ticks { border: 0; margin: 0; padding: 0; min-width: 0; }
.ticks legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.tick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 2px 20px; }
.tick { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; cursor: pointer; }
.tick input { width: 20px; height: 20px; accent-color: var(--green); }
.from-line { margin: 0; font-size: 15px; }
.from-line b { font-weight: 700; }
.btn-submit { min-height: 58px; border: 0; border-radius: 8px; background: var(--green); color: #FFFFFF; font-weight: 700; font-size: 18px; cursor: pointer; }
.btn-submit:hover { background: var(--green-deep); }
.btn-submit:disabled { opacity: 0.7; cursor: default; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.gotcha { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.stamp { position: absolute; top: 34%; left: 50%; width: 320px; margin-left: -160px; transform: rotate(-10deg); border: 5px solid var(--red); border-radius: 10px; padding: 14px 18px; background: rgba(255,255,255,0.94); color: var(--red); text-align: center; }
.stamp b { display: block; font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: 0.04em; }
.stamp span { display: block; font-family: var(--hand); font-size: 21px; line-height: 1.2; margin-top: 6px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-block: 48px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot-brand { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; color: var(--ink); }
.foot-brand b { font-weight: 800; font-size: 18px; }
.foot p { margin: 12px 0 0; max-width: 46em; }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }

/* Inner page parts */
.page-hero { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; padding-block: clamp(36px, 5vw, 64px) clamp(56px, 7vw, 96px); }
.page-hero-copy { flex: 1 1 420px; min-width: 0; }
.page-hero-visual { flex: 1 1 460px; min-width: 0; }
.page-hero.text-only .page-hero-copy { flex-basis: 100%; }
.crumbs { font-size: 15px; color: var(--on-green); margin: 0 0 18px; }
.crumbs a { color: #FFFFFF; }
.two-col { display: flex; flex-wrap: wrap; gap: 48px 80px; }
.two-col > :first-child { flex: 1 1 340px; min-width: 0; }
.two-col > :last-child { flex: 1.4 1 480px; min-width: 0; }
.rec-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rec-list li { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.rec-list svg { flex: none; margin-top: 3px; }
.rec-list strong { display: block; font-size: 21px; line-height: 1.3; }
.rec-list span { color: var(--muted); font-size: 17px; }
.band-sage .rec-list, .band-sage .rec-list li { border-color: var(--sage-line); }
.types { columns: 3 220px; column-gap: 32px; list-style: none; padding: 0; margin: 0; }
.types li { break-inside: avoid; padding: 9px 0; border-bottom: 1px solid var(--sage-line); font-size: 16px; }
.sector-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.sector-card { display: flex; flex-direction: column; gap: 8px; background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 24px; text-decoration: none; color: var(--ink); box-shadow: 0 14px 28px -24px rgba(21,32,46,0.5); }
.sector-card:hover { border-color: var(--green); color: var(--ink); }
.sector-card strong { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.sector-card span { color: var(--muted); font-size: 16px; }
.sector-card em { font-style: normal; font-weight: 700; color: var(--green); font-size: 15px; margin-top: auto; padding-top: 8px; }
.search { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 15px; max-width: 520px; margin: 0 0 12px; }
.search input { min-height: 52px; padding: 10px 16px; border: 1.5px solid #8A94A3; border-radius: 8px; font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); background: #FFFFFF; }
.search-count { min-height: 1.6em; margin: 0 0 24px; font-size: 15px; color: var(--muted); }
.type-block { margin-bottom: 44px; }
.type-block h3 { font-weight: 800; font-size: 24px; letter-spacing: -0.02em; margin: 0 0 14px; }
.type-block h3 a { text-decoration: none; }
.type-block h3 a:hover { text-decoration: underline; }
.callout { background: #FFF2A1; padding: 28px 30px; box-shadow: 0 20px 30px -24px rgba(21,32,46,0.5); transform: rotate(-0.6deg); max-width: 760px; }
.callout h2, .callout h3 { font-weight: 800; font-size: 24px; letter-spacing: -0.01em; margin: 0 0 8px; }
.callout p { margin: 0; color: #2E3747; }
.point-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.point { background: #FFFFFF; border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.point h3 { font-weight: 800; font-size: 21px; line-height: 1.2; margin: 0 0 8px; }
.point p { margin: 0; color: var(--text); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist .box-tick { flex: none; width: 22px; height: 22px; border: 2px solid var(--ink); border-radius: 3px; margin-top: 3px; }
.checklist strong { display: block; }
.checklist span { color: var(--text); }
.glossary dt { font-weight: 800; font-size: 19px; margin-top: 22px; }
.glossary dd { margin: 4px 0 0; color: var(--text); max-width: 40em; }

/* Blog and long text */
.prose { max-width: 68ch; }
.prose h2 { font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -0.02em; margin: 48px 0 14px; }
.prose h3 { font-weight: 800; font-size: 21px; margin: 32px 0 8px; }
.prose p, .prose li { color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose a:not(.btn) { color: var(--green); font-weight: 600; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; }
.post-card { display: block; padding: 28px 30px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: #FFFFFF; }
.post-card:hover { border-color: var(--green); color: var(--ink); }
.post-card h2 { font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.15; letter-spacing: -0.02em; margin: 6px 0 10px; }
.post-card p { margin: 0; color: var(--text); }
.post-date { font-size: 14px; color: var(--muted); }
.band-green .post-date { color: var(--on-green); }
.post-end { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

@media print {
  .site-header, .site-footer, .no-print { display: none !important; }
  body { font-size: 12pt; }
  .band-green { background: #FFFFFF !important; color: #000000 !important; }
}
.brand-logo { display: inline-flex; line-height: 0; }
.brand-logo img { height: 34px; width: auto; display: block; }
.foot-brand .brand-logo { padding: 0; }
.foot-brand .brand-logo img { height: 26px; }

/* Wider, chunkier desktop layout (matches Claude preview proportions) */
.brand-logo img { height: 40px; }
@media (min-width: 1000px) {
  :root { --gutter: clamp(40px, 4vw, 64px); }
  .wrap { max-width: min(1520px, 100%); }
  body { font-size: 20px; }
  .h1 { font-size: clamp(4rem, 6.4vw, 6.4rem); font-weight: 850; }
  .hero-copy { flex: 1.1 1 480px; }
  .hero-visual { flex: 1 1 480px; }
  .h1-page { font-size: clamp(3.6rem, 6vw, 5.8rem); font-weight: 850; }
  .h2 { font-size: clamp(3rem, 5vw, 4.8rem); font-weight: 850; }
  .h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
  .lead { font-size: 23px; }
  .btn { min-height: 62px; padding: 0 32px; font-size: 19px; border-radius: 10px; }
  .btn-sm { min-height: 52px; padding: 0 24px; font-size: 18px; }
  .nav-links { font-size: 18px; }
  .brand-logo img { height: 46px; }
  .pin-card p.body { font-size: 18px; }
  .card { border-radius: 14px; }
  .wanted-grid { grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 48px 40px; }
  .pin-card { padding: 44px 36px 36px; }
  .pin-card h3 { font-size: 32px; }
  .pin-card .size { font-size: 20px; }
  .pin-card .ask, .pin-card ul { font-size: 18px; }
}
