/* Brightfish. Risograph: warm paper and three flat spot inks, printed slightly
   off-register. No gradients anywhere — a riso press cannot make one, and the
   constraint is what stops this looking like every other AI agency site.

   Anything sitting ON the fluorescent orange is set in --ink, not --paper.
   Cream on this orange measures 3.03:1, which fails AA at button and label
   sizes; dark ink on fluoro orange is both readable and the more honest riso
   pairing. Keep it that way if you add anything orange. */

:root {
  --paper:  #FFF3E2;
  --paper-2:#FBE8CE;
  --ink:    #171310;
  --ink-2:  #3A322A;
  --body:   #4A413A;
  --faint:  #857A6E;
  --orange: #FF4D12;
  --lime:   #C8E64B;
  --forest: #1E3A24;
  --rule:   #E0CDB0;

  --disp: "Archivo Black", "Arial Black", Impact, sans-serif;
  --site-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--body);
  font-family: var(--site-sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,p,dl,dd,ul,ol,figure,blockquote { margin: 0; }
ul,ol { padding: 0; list-style: none; }
img,svg { display: block; max-width: 100%; }
a { color: var(--orange); }
button,input,select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange);
}
:where(a,button,input,select,summary):focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

.linkbtn {
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
  color: var(--orange); text-decoration: underline; text-underline-offset: 4px;
}
.linkbtn:hover { color: var(--ink); }

/* Paper grain. Riso is a physical process and flat vector colour does not read
   as one; a little noise over everything is what sells it. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 999; pointer-events: none;
  opacity: 0.4; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
}

/* --- demo banner --- */
.demo-banner { margin: 0; padding: 9px 20px; text-align: center; background: var(--ink); color: var(--paper); font-size: 12.5px; }
.demo-banner strong { color: var(--lime); }
.demo-banner a { color: var(--paper); text-underline-offset: 3px; }

/* --- header --- */
.head {
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
  max-width: 1180px; margin: 0 auto; padding: 20px 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  font-family: var(--disp); font-size: 23px; letter-spacing: 0.02em; color: var(--ink);
}
.brand__fish { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--orange); }
.nav__cta {
  background: var(--ink); color: var(--paper) !important; padding: 9px 18px;
  border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--orange);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.nav__cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--orange); }

/* --- marquee --- */
.marquee {
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--orange); color: var(--ink); overflow: hidden; padding: 9px 0;
}
.marquee__t { display: flex; width: max-content; animation: slide 26s linear infinite; }
.marquee__t span {
  font-family: var(--disp); font-size: 15px; letter-spacing: 0.04em;
  text-transform: uppercase; white-space: nowrap; padding-right: 8px;
}
@keyframes slide { to { transform: translateX(-50%); } }

/* --- hero --- */
.hero { padding: 74px 0 60px; }
.hero h1 {
  font-family: var(--disp); font-size: clamp(44px, 8.2vw, 104px); line-height: 0.92;
  letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 24px;
}
/* Overprint: the highlight sits under the type and multiplies, the way a second
   ink pass does. */
.hl { position: relative; display: inline-block; color: var(--ink); }
.hl::before {
  content: ""; position: absolute; left: -0.06em; right: -0.06em; top: 0.14em; bottom: 0.1em;
  background: var(--lime); mix-blend-mode: multiply; z-index: -1;
  transform: rotate(-1.2deg);
}
.lede { font-size: 19px; max-width: 46ch; color: var(--ink-2); text-wrap: pretty; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--orange); color: var(--ink); border: 2px solid var(--ink);
  padding: 14px 28px; font-family: var(--mono); font-size: 14px; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(2px,2px); box-shadow: 2px 2px 0 var(--ink); }
.btn--ghost { background: var(--paper); color: var(--ink); }
.btn--ghost:hover { color: var(--ink); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 18px; margin-top: 56px; }
.fact {
  border-top: 3px solid var(--ink); padding-top: 12px;
  animation: rise 0.6s var(--ease) both; animation-delay: calc(var(--i) * 70ms);
}
.fact b { display: block; font-family: var(--disp); font-size: 48px; line-height: 0.9; color: var(--orange); }
.fact span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* --- bands --- */
.band { padding: 84px 0; border-top: 2px solid var(--ink); }
.band--ink { background: var(--ink); color: #D8CFC4; }
.band--lime { background: var(--lime); color: var(--forest); }
.headrow { display: flex; align-items: flex-end; justify-content: space-between; gap: 26px; flex-wrap: wrap; margin-bottom: 42px; }
.headrow h2 { font-family: var(--disp); font-size: clamp(32px, 4.4vw, 54px); line-height: 0.95; letter-spacing: -0.02em; color: var(--ink); }
.headrow p { font-size: 16px; max-width: 34ch; opacity: 0.8; }

/* These have to come after .headrow and out-specify it. The band rules were
   above with the same specificity, so .headrow h2 won and painted the section
   headings ink-on-ink — invisible on both coloured bands. */
.band--ink  h2, .band--ink  h3, .band--ink  .headrow h2 { color: var(--paper); }
.band--lime h2, .band--lime h3, .band--lime .headrow h2 { color: var(--forest); }

/* --- services --- */
.services { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.svc {
  background: var(--paper); color: var(--body); border: 2px solid var(--ink);
  padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 6px 6px 0 var(--orange);
  animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 55ms);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
}
.svc:hover { transform: translate(-3px,-3px); box-shadow: 9px 9px 0 var(--orange); }
.svc__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.svc__n { font-family: var(--disp); font-size: 34px; line-height: 1; color: var(--lime); -webkit-text-stroke: 1.5px var(--ink); }
.sticker {
  font-family: var(--mono); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; background: var(--lime); color: var(--ink);
  border: 2px solid var(--ink); padding: 4px 9px; transform: rotate(3deg);
}
.svc h3 { font-family: var(--disp); font-size: 22px; line-height: 1.1; color: var(--ink); }
.svc__sum { font-size: 14.5px; }
.svc__price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.svc__price b { font-family: var(--mono); font-size: 15px; color: var(--ink); }
.svc__price span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.svc .linkbtn { align-self: flex-start; }

/* --- detail panels --- */
.detail {
  position: relative; margin-top: 26px; background: var(--paper); color: var(--body);
  border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lime); padding: 30px 34px 34px;
}
.detail h3 { font-family: var(--disp); font-size: 30px; line-height: 1.05; color: var(--ink); margin: 8px 0 12px; }
.closer {
  position: absolute; top: 14px; right: 16px; width: 32px; height: 32px; cursor: pointer;
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink); line-height: 1;
}
.closer:hover { background: var(--orange); color: var(--ink); }
.sd__sum { font-size: 17px; color: var(--ink-2); max-width: 60ch; }
.sd__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin: 22px 0; }
.sd__label {
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--faint); margin: 18px 0 7px;
}
.sd__label:first-child { margin-top: 0; }
.sd__label--no { color: var(--orange); }
.sd__no { color: var(--ink-2); }
.ticks li { position: relative; padding-left: 22px; font-size: 14.5px; margin-bottom: 7px; }
.ticks li::before { content: "✳"; position: absolute; left: 0; color: var(--orange); }
.sd__work { display: flex; flex-wrap: wrap; gap: 6px; }
.chipbtn {
  cursor: pointer; background: var(--paper-2); border: 2px solid var(--ink);
  padding: 5px 11px; font-family: var(--mono); font-size: 11.5px; color: var(--ink);
}
.chipbtn:hover { background: var(--lime); }

/* --- work --- */
.filters { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.fbar { display: flex; flex-wrap: wrap; gap: 6px; }
.fbar button {
  cursor: pointer; background: var(--paper); border: 2px solid var(--ink);
  padding: 7px 14px; font-size: 13.5px; color: var(--ink);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.fbar button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.fbar button:hover { background: var(--lime); color: var(--ink); }

.work-summary { font-family: var(--mono); font-size: 13px; color: var(--faint); margin-bottom: 22px; }
.work-summary strong { color: var(--orange); font-size: 15px; }
.work-summary[data-tone="bad"] { color: var(--orange); }

.work { display: flex; flex-direction: column; gap: 0; border-top: 2px solid var(--ink); }
.proj {
  display: grid; grid-template-columns: 190px 1fr; gap: 26px; align-items: start;
  padding: 26px 4px; border-bottom: 2px solid var(--ink);
  animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 45ms);
  transition: background 0.2s var(--ease);
}
.proj:hover { background: var(--paper-2); }
.proj__m { display: flex; flex-direction: column; }
.proj__metric { font-family: var(--disp); font-size: 44px; line-height: 0.92; color: var(--orange); letter-spacing: -0.02em; }
.proj__ml { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 5px; }
.proj__c { font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }
.proj__b h3 { font-family: var(--disp); font-size: 23px; line-height: 1.15; color: var(--ink); margin: 6px 0 8px; }
.proj__o { font-size: 15px; max-width: 62ch; }
.proj .linkbtn { margin-top: 10px; }

.pj__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin: 20px 0; }
.pj__svc { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.pj__q {
  border-left: 5px solid var(--orange); padding: 4px 0 4px 20px;
  font-size: 17px; font-style: italic; color: var(--ink-2);
}
.pj__q cite { display: block; font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-top: 10px; }

/* --- quotes --- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.quote {
  background: var(--paper); border: 2px solid var(--forest); padding: 24px 26px 22px;
  box-shadow: 6px 6px 0 var(--forest);
  animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 55ms);
}
.quote blockquote { font-size: 16px; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: 16px; padding-top: 12px; border-top: 2px solid var(--forest); }
.quote__n { display: block; font-family: var(--disp); font-size: 14px; color: var(--forest); }
.quote__r { display: block; font-family: var(--mono); font-size: 11px; color: #4C6B52; margin-top: 3px; }

/* --- diary --- */
.diary__ctl { display: flex; gap: 16px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 220px; }
.field--wide { flex: 1 1 100%; }
.field > span { font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; color: #9A8F82; }
.field input, .field select {
  background: var(--paper); border: 2px solid var(--ink); color: var(--ink);
  padding: 12px 14px; font-size: 15px; width: 100%;
}
.field input::placeholder { color: #A79B8C; }

.slot-note { font-family: var(--mono); font-size: 13.5px; margin: 26px 0 14px; color: #CFC5B8; }
.slot-note[data-tone="bad"] { color: var(--lime); }
.slot-note .linkbtn { color: var(--lime); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot {
  cursor: pointer; background: transparent; color: var(--paper);
  border: 2px solid #4B423A; padding: 11px 16px; font-family: var(--mono); font-size: 14px;
  transition: background 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.slot:hover:not([disabled]) { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.slot--gone { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

.booking { margin-top: 38px; padding-top: 32px; border-top: 2px solid #4B423A; }
.booking__sum { font-size: 17px; color: var(--paper); line-height: 1.7; margin-bottom: 22px; }
.b-with { font-family: var(--mono); font-size: 12px; color: #9A8F82; }
.booking__form { display: flex; flex-wrap: wrap; gap: 16px; }
.booking__acts { flex: 1 1 100%; }
.booking__note { flex: 1 1 100%; font-size: 13px; color: #9A8F82; max-width: 60ch; }
.booked { max-width: 62ch; }
.booked h3 { font-family: var(--mono); font-size: 30px; letter-spacing: 0.08em; color: var(--lime); margin: 8px 0 16px; }
.bk__l { font-size: 16px; color: var(--paper); line-height: 1.7; margin-bottom: 14px; }
.bk__a { font-size: 14.5px; color: #C4BAAD; font-style: italic; margin-bottom: 16px; }
.demo-note { font-family: var(--mono); font-size: 11.5px; color: var(--lime); margin-bottom: 18px; }
.booked .btn--ghost { background: transparent; color: var(--paper); border-color: var(--paper); box-shadow: 5px 5px 0 var(--orange); }

/* Says out loud that nobody in the room pressed the button. */
.by-agent {
  display: inline-block; margin-bottom: 16px; padding: 9px 14px;
  background: var(--orange); color: var(--ink); border: 2px solid var(--paper);
  font-family: var(--mono); font-size: 11.5px;
}

/* --- footer --- */
.foot { padding: 54px 0 44px; border-top: 2px solid var(--ink); }
.foot__b { font-family: var(--disp); font-size: clamp(40px, 11vw, 128px); line-height: 0.85; letter-spacing: -0.03em; color: var(--ink); }
.foot__demo { margin-top: 18px; font-size: 13px; color: var(--faint); max-width: 62ch; }

/* --- the agent moved something --- */
.just-changed { animation: nudge 1.5s var(--ease); }
@keyframes nudge {
  0%   { box-shadow: 0 0 0 4px rgb(255 77 18 / 0.9); }
  100% { box-shadow: 0 0 0 4px rgb(255 77 18 / 0); }
}

@media (max-width: 760px) {
  .head { gap: 14px; }
  .nav { gap: 16px; font-size: 14px; }
  .proj { grid-template-columns: 1fr; gap: 12px; }
  .proj__metric { font-size: 36px; }
  .detail { padding: 24px 20px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__t, .fact, .svc, .proj, .quote, .just-changed { animation: none; }
  .btn, .svc, .nav__cta { transition: none; }
}

/* ======================================================================
   PORTFOLIO PAGE
   ====================================================================== */

.hero--tight { padding: 56px 0 44px; }
.hero--tight h1 { font-size: clamp(40px, 7vw, 84px); }

/* --- case index --- */
.cases { display: flex; flex-direction: column; border-top: 3px solid var(--ink); }
.case {
  display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start;
  padding: 30px 4px; border-bottom: 3px solid var(--ink);
  animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 45ms);
  transition: background 0.2s var(--ease);
}
.case:hover { background: var(--paper-2); }
.case__l { display: flex; flex-direction: column; }
.case__metric { font-family: var(--disp); font-size: 46px; line-height: 0.9; color: var(--orange); letter-spacing: -0.02em; }
.case__ml { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
.case__yr { font-family: var(--mono); font-size: 11px; color: var(--ink); margin-top: 14px; border-top: 2px solid var(--ink); padding-top: 8px; display: inline-block; width: fit-content; }
.case__c { font-family: var(--mono); font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--faint); }
.case__r h3 { font-family: var(--disp); font-size: 25px; line-height: 1.12; color: var(--ink); margin: 7px 0 9px; }
.case__o { font-size: 15px; max-width: 64ch; }
.case__svc { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 4px; }
.tagchip {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.04em;
  background: var(--paper-2); border: 2px solid var(--ink); padding: 3px 9px; color: var(--ink);
}
.case__acts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; }
.case__acts .linkbtn.is-on { color: var(--ink); background: var(--lime); padding: 2px 7px; text-decoration: none; }

/* --- one case, in full --- */
.cd__lead { font-size: 18px; color: var(--ink-2); max-width: 62ch; margin-bottom: 4px; }
.cd__meta {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px;
  margin: 24px 0; padding: 20px 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.cd__meta p:not(.sd__label) { font-size: 14px; }

.steps { counter-reset: s; margin-bottom: 8px; }
.steps li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; padding: 9px 0; align-items: baseline; }
.steps li b { font-family: var(--disp); font-size: 17px; color: var(--lime); -webkit-text-stroke: 1.2px var(--ink); }
.steps li span { font-size: 14.5px; }

.hurdles { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-bottom: 8px; }
.hurdle { border: 2px solid var(--ink); background: var(--paper-2); padding: 16px 18px; }
.hurdle__w { font-size: 14.5px; color: var(--ink); font-weight: 500; margin-bottom: 9px; }
.hurdle__d { font-size: 14px; color: var(--body); padding-left: 14px; border-left: 4px solid var(--orange); }

.results { width: 100%; border-collapse: collapse; margin-bottom: 10px; font-size: 14.5px; }
.results th, .results td { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--rule); }
.results thead th {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint); border-bottom: 3px solid var(--ink);
}
.results tbody td:last-child b { font-family: var(--mono); font-size: 16px; color: var(--orange); }
.results tbody td:nth-child(2) { color: var(--faint); font-family: var(--mono); font-size: 13px; }

.wrong { margin: 22px 0; padding: 20px 22px; background: var(--ink); color: #D8CFC4; }
.wrong .sd__label--no { color: var(--lime); margin-top: 0; }
.wrong p:not(.sd__label) { font-size: 15px; max-width: 64ch; }
.cd__svc { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }

/* --- comparison --- */
.detail--cmp { box-shadow: 8px 8px 0 var(--orange); }
.cmp-scroll { overflow-x: auto; margin-top: 18px; }
.cmp { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; }
.cmp th[scope="col"] {
  font-family: var(--disp); font-size: 17px; color: var(--ink); text-align: left;
  padding: 10px 14px; border-bottom: 3px solid var(--ink); background: var(--lime);
}
.cmp th[scope="row"] {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--faint); text-align: left; padding: 12px 14px 12px 0; vertical-align: top;
  width: 150px; border-bottom: 2px solid var(--rule);
}
.cmp td { padding: 12px 14px; vertical-align: top; border-bottom: 2px solid var(--rule); }
.cmp tbody tr:hover { background: var(--paper-2); }

@media (max-width: 760px) {
  .case { grid-template-columns: 1fr; gap: 12px; }
  .case__metric { font-size: 38px; }
  .case__yr { margin-top: 8px; }
}
