/* Ben Lucas, Mental Health First Aid. Concept A: "Say it".
   Slate navy for depth, sunset for the handwriting, paper and cool grey for light.
   Type: Rethink Sans (headlines), Hanken Grotesk (text), Caveat (Ben's handwriting). */

:root {
  --deep: #2f4b72;
  --deep-2: #3f5f8a;
  --tint: #e9eef5;
  --sunset: #f06b3f;
  --sunset-ink: #c9502a;
  --stone: #e4e9f0;
  --paper: #fafafa;
  --text: #23262b;
  --soft: #5b616c;
  --line: #dcdfe5;
  --radius: 14px;
  --maxw: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
/* fine grain, background only */
body::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .5; 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='1.1' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--sunset); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
h1, h2, h3 { font-family: "Rethink Sans", system-ui, sans-serif; font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--soft); max-width: 50ch; }
section { padding-block: clamp(64px, 9vw, 120px); }

/* handwriting */
.hand { font-family: "Caveat", cursive; font-weight: 600; color: var(--sunset-ink); font-size: 1.6rem; line-height: 1.05; display: inline-block; }
.hand.lg { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.mark { fill: none; stroke: var(--sunset); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.anim .write { animation: wipe 1.1s var(--d, 0s) ease-out both; }
.anim .mark { stroke-dasharray: var(--len, 400); stroke-dashoffset: var(--len, 400); animation: draw .9s var(--d, 0s) ease-out forwards; }
@keyframes wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
.u { position: relative; white-space: nowrap; }
.u svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .34em; overflow: visible; }
.u .mark { stroke-width: 5; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .anim .write, .anim .mark, .anim .bubble, .ticker-track { animation: none !important; stroke-dashoffset: 0 !important; clip-path: none !important; opacity: 1 !important; transform: none !important; }
}

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(250, 250, 250, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 14px; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.brand b { font: 800 1.3rem "Rethink Sans", system-ui, sans-serif; letter-spacing: -.04em; }
.brand small { font-size: .95rem; color: var(--soft); font-weight: 500; }
.nav { display: flex; gap: clamp(12px, 2.4vw, 28px); align-items: center; font-size: .97rem; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 860px) { .nav .hide-sm { display: none; } }
@media (max-width: 520px) { .brand small { display: none; } }
.drop { position: relative; }
.drop summary { list-style: none; cursor: pointer; }
.drop summary::-webkit-details-marker { display: none; }
.drop summary::after { content: ""; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); margin-left: 8px; }
.drop .menu { position: absolute; right: 0; top: calc(100% + 12px); background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px; display: grid; min-width: 210px; box-shadow: 0 20px 40px -24px rgba(47, 75, 114, .5); }
.drop .menu a { padding: 9px 12px; border-radius: 8px; }
.drop .menu a:hover { background: var(--tint); text-decoration: none; }
.mnav { display: none; }
@media (max-width: 860px) { .mnav { display: block; } .mnav .menu { right: -8px; } }

.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--deep); color: #fff; text-decoration: none; border: 0; cursor: pointer; font: 600 1rem "Hanken Grotesk", system-ui, sans-serif; padding: 14px 22px; border-radius: 10px; position: relative; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.light { background: var(--tint); color: var(--deep); }
.btn.sm { padding: 10px 16px; font-size: .95rem; }
.btn .circle { position: absolute; left: -12px; top: -10px; width: calc(100% + 24px); height: calc(100% + 20px); overflow: visible; pointer-events: none; }
.btn .circle path { stroke-dasharray: 440; stroke-dashoffset: 440; transition: stroke-dashoffset .6s ease; }
.btn:hover .circle path, .btn:focus-visible .circle path { stroke-dashoffset: 0; }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.hero .copy { display: grid; gap: 22px; }
.hero .note { justify-self: end; transform: rotate(-3deg); margin-top: -6px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.stage { position: relative; min-height: 470px; }
.stage.nob { min-height: 400px; }
.stage.nob .print.b { top: auto; bottom: 0; }
.stage.three { min-height: 540px; }
.stage.three .print.a { left: 0; top: 40px; width: 68%; transform: rotate(-2deg); }
.stage.three .print.b { right: 0; top: 0; width: 38%; transform: rotate(4deg); }
.stage.three .print.b img { aspect-ratio: 4 / 3; }
.print.c { right: 0; bottom: 0; width: 46%; transform: rotate(-2.5deg); z-index: 1; }
.stage.three .bubbles { width: min(50%, 270px); bottom: 34px; left: -2%; }
.bubble.you { white-space: nowrap; }
@media (max-width: 520px) { .stage.three .bubbles { width: 88%; bottom: auto; } }
.print { position: absolute; background: #fff; padding: 10px; box-shadow: 0 22px 40px -22px rgba(47, 75, 114, .55); }
.print img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.print .cap { position: absolute; left: 14px; bottom: 8px; }
.print.a { left: 2%; top: 0; width: 76%; transform: rotate(-2deg); }
.print.b { right: 0; top: 34%; width: 42%; transform: rotate(3deg); }
.print.b img { aspect-ratio: 1; }
.bubbles { position: absolute; left: 0; bottom: 0; display: grid; gap: 8px; z-index: 2; width: min(52%, 280px); }
.bubble { padding: 11px 15px; border-radius: 18px; font: 600 1rem/1.3 "Hanken Grotesk", system-ui, sans-serif; box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .5); }
.bubble.them { background: var(--deep); color: #fff; border-bottom-left-radius: 4px; justify-self: start; }
.bubble.you { background: #fff; color: var(--text); border-bottom-right-radius: 4px; justify-self: end; }
.anim .bubble { animation: pop .5s var(--d, 0s) ease-out both; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .stage { min-height: 420px; max-width: 560px; } }
@media (max-width: 520px) { .stage.three { min-height: 370px; } .stage { min-height: 250px; margin-bottom: 120px; } .print.b { top: 40%; } .stage.nob { min-height: 300px; margin-bottom: 0; } .bubbles { top: calc(100% + 20px); bottom: auto; left: 0; width: 88%; } }

/* who it's for */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 780px) { .two { grid-template-columns: 1fr; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 14px; align-content: start; }
.panel .price { font: 800 2rem "Rethink Sans", system-ui, sans-serif; letter-spacing: -.04em; color: var(--deep); }
.panel .price small { font: 500 1rem "Hanken Grotesk", system-ui, sans-serif; color: var(--soft); letter-spacing: 0; }
.panel .btn { justify-self: start; }
.sec-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 760px; }

/* conversation */
.convo .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.convo .wrap > div:first-child { position: sticky; top: 120px; padding-top: 70px; }
@media (max-width: 900px) { .convo .wrap > div:first-child { position: static; padding-top: 0; } }
@media (max-width: 900px) { .convo .wrap { grid-template-columns: 1fr; } }
.thread { display: grid; gap: 10px; max-width: 440px; }
.thread .bubble { font-size: 1.08rem; }
.freeze { display: flex; align-items: flex-start; gap: 10px; margin-top: 6px; }
.freeze .hand { font-size: clamp(2.1rem, 3.6vw, 2.9rem); color: var(--sunset-ink); transform: rotate(-2deg); }
.freeze svg { width: 64px; height: 56px; flex: none; overflow: visible; margin-top: -18px; }
.learn { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.learn li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 1.05rem; }
.learn svg { margin-top: 4px; }

/* take-aways */
.take-grid { margin-top: clamp(36px, 5vw, 56px); }
.take-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 800px) { .take-grid { grid-template-columns: 1fr; } }
.take-grid figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: space-between; }
.take-grid blockquote { margin: 0; font-size: 1.05rem; }
.take-grid figcaption { color: var(--soft); font-size: .88rem; }

/* testimonials ticker, left to right */
.proof { background: var(--tint); overflow: hidden; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(32px, 4vw, 48px); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stat { border-top: 3px solid var(--deep); padding-top: 14px; display: grid; gap: 4px; }
.stat b { font: 800 clamp(2.6rem, 5vw, 3.6rem)/1 "Rethink Sans", system-ui, sans-serif; letter-spacing: -.05em; color: var(--deep); }
.stat span { color: var(--soft); }
.sub { font: 800 1.45rem "Rethink Sans", system-ui, sans-serif; letter-spacing: -.025em; }
.ticker { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 18px; width: max-content; animation: slide var(--dur, 120s) linear infinite; padding-block: 26px; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.quote { width: 340px; flex: none; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 12px; align-content: space-between; transition: transform .25s ease, box-shadow .25s ease; position: relative; }
.quote:hover, .quote:focus-within { transform: scale(1.07); box-shadow: 0 26px 40px -24px rgba(47, 75, 114, .55); z-index: 2; }
.quote p { font-size: 1.02rem; }
.quote .who { color: var(--soft); font-size: .88rem; }
.quote.dark { background: var(--deep); color: #fff; border-color: var(--deep); }
.quote.dark .who { color: #c3cad6; }
@media (prefers-reduced-motion: reduce) { .ticker { overflow-x: auto; } }

/* places, framed prints */
.places .prints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 34px); }
@media (max-width: 760px) { .places .prints { grid-template-columns: 1fr; max-width: 420px; } }
.prints figure { margin: 0; background: #fff; padding: 10px 10px 46px; position: relative; box-shadow: 0 20px 34px -24px rgba(47, 75, 114, .6); }
.prints figure:nth-child(odd) { transform: rotate(-1.6deg); }
.prints figure:nth-child(even) { transform: rotate(1.4deg); margin-top: 14px; }
.prints img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.prints figcaption { position: absolute; left: 14px; bottom: 8px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 3px solid var(--deep); padding-top: 16px; display: grid; gap: 8px; }
.step .n { font: 800 1rem "Rethink Sans", system-ui, sans-serif; color: var(--sunset-ink); }
.step p { color: var(--soft); font-size: .98rem; }
.promise { margin-top: clamp(36px, 5vw, 56px); background: var(--deep); color: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
@media (max-width: 700px) { .promise { grid-template-columns: 1fr; } }
.promise .big { font: 800 clamp(3rem, 6vw, 4.4rem)/1 "Rethink Sans", system-ui, sans-serif; letter-spacing: -.05em; }
.promise .hand { color: #ffb08f; }
.promise p { color: #dde2ea; max-width: 56ch; }

/* about */
.about .wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .about .wrap { grid-template-columns: 1fr; } }
.about .print { position: relative; transform: rotate(-2deg); max-width: 380px; }
.about .print img { aspect-ratio: 4 / 5; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding-block: 12px; border-top: 1px solid var(--line); }
.timeline li span:first-child { color: var(--soft); font-variant-numeric: tabular-nums; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }
.logos { padding-block: clamp(28px, 4vw, 44px); border-block: 1px solid var(--line); background: #fff; }
.logos p { color: var(--soft); font-size: .95rem; margin-bottom: 16px; }
.logos { overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(36px, 5vw, 64px); width: max-content; animation: slide 45s linear infinite; padding-right: clamp(36px, 5vw, 64px); }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logos li { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .marquee-track li[aria-hidden] { display: none; } }
.logos li { font: 800 clamp(1.2rem, 1.8vw, 1.5rem) "Rethink Sans", system-ui, sans-serif; letter-spacing: -.03em; color: #7a8394; }

/* faq */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); padding-block: 18px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 800 1.2rem "Rethink Sans", system-ui, sans-serif; letter-spacing: -.02em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sunset-ink); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin-top: 10px; color: var(--soft); max-width: 68ch; }

/* enquire */
.enquire { background: var(--deep); color: #fff; }
.enquire .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .enquire .wrap { grid-template-columns: 1fr; } }
.enquire .lede { color: #d3d9e3; }
.enquire .hand { color: #ffb08f; }
form.card { background: var(--paper); color: var(--text); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
label { font-weight: 600; font-size: .93rem; }
input, select, textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--text); font: inherit; font-size: 1rem; }
textarea { min-height: 110px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.fine { font-size: .86rem; color: var(--soft); }
form .btn { background: var(--sunset); justify-self: start; }

/* footer */
.site-foot { padding-block: 40px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--soft); }
.site-foot .wrap { display: grid; gap: 8px; }
.site-foot a { color: var(--text); }

/* locations */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 780px) { .cards { grid-template-columns: 1fr; } }
a.panel { text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
a.panel:hover { border-color: var(--deep); transform: translateY(-2px); }
.panel .go { color: var(--sunset-ink); font-weight: 600; }
.areas { columns: 3 220px; column-gap: 32px; list-style: none; margin: 0; padding: 0; }
.areas li { break-inside: avoid; padding-block: 12px; border-top: 1px solid var(--line); }
.areas b { display: block; font-family: "Rethink Sans", system-ui, sans-serif; letter-spacing: -.02em; }
.areas span { color: var(--soft); font-size: .95rem; }
.alt { background: var(--tint); }
.talk { margin: 0; background: var(--tint); border-radius: var(--radius); padding: 22px 24px; display: grid; gap: 10px; }
.talk blockquote { margin: 0; font: 800 1.2rem/1.35 "Rethink Sans", system-ui, sans-serif; letter-spacing: -.02em; }
.talk figcaption { color: var(--soft); font-size: .92rem; }
.talk b { color: var(--deep); }
.accred { display: flex; align-items: center; gap: 12px; margin-top: 4px; font-size: .92rem; color: var(--soft); }
.accred b { display: block; color: var(--text); font-weight: 600; }
.accred img { height: 38px; width: auto; }
.answer { font-size: 1.12rem; }
.convo h3 { margin-top: 6px; }
.logos li.img img { height: 34px; width: auto; filter: grayscale(1) opacity(.7); transition: filter .2s ease; }
.logos li.img:hover img { filter: none; }
.logos .marquee-track { align-items: center; }
