/* Finding You — Brand v.1 (Miika's Brand Book v.1, 2026).
   Self-contained stylesheet for the brand page. Tokens here are the source of
   truth for the site reskin that follows. No inline styles: the site CSP is
   `style-src 'self' https://fonts.bunny.net`, so everything is a class here. */

:root {
  --ink: #1c1c1b;
  --ink-80: #3d3d3c;
  --ink-60: #6a6a68;
  --ink-40: #9a9a97;
  --ink-20: #cfcfcc;
  --paper: #f7f8fc;
  --paper-2: #eef0f6;
  --rule: #e2e4ec;
  --g1: #fadeef;
  --g2: #e3def1;
  --g3: #cddff3;
  --grad: linear-gradient(146deg, var(--g1), var(--g2) 52%, var(--g3));
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Amiko", system-ui, -apple-system, sans-serif;
  --mono: "Chivo Mono", ui-monospace, Menlo, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: #d8c4e6; color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: .7rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-60); margin: 0;
}
h1, h2, h3 {
  font-family: var(--serif); font-weight: 400; margin: 0;
  text-wrap: balance; letter-spacing: -.01em;
}
.lead { font-family: var(--serif); font-style: italic; font-weight: 400; }
p { margin: 0 0 1rem; }
.muted { color: var(--ink-60); }
.narrow { max-width: 58ch; }

/* ---- top bar ---- */
.topbar { background: var(--grad); }
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; gap: 16px;
}
.topbar-mark { height: 26px; width: auto; }
.topbar-right { display: flex; align-items: center; gap: 16px; }
.topbar-home {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-80); text-decoration: none;
}
.topbar-home:hover { color: var(--ink); }
.tag-chip {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-80);
  border: 1px solid rgba(28, 28, 27, .28); border-radius: 999px;
  padding: 6px 12px; white-space: nowrap;
}

/* ---- hero (key visual, book p.49) ---- */
.hero {
  position: relative; min-height: clamp(460px, 72vh, 720px);
  display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #1c1c1b;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,27,.42) 0%, rgba(28,28,27,.05) 34%, rgba(28,28,27,.14) 62%, rgba(28,28,27,.72) 100%);
}
.hero-top { position: absolute; top: 26px; left: 0; right: 0; }
.hero-top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hero-top-mark { height: 24px; width: auto; filter: drop-shadow(0 1px 8px rgba(0,0,0,.35)); }
.hero-inner { position: relative; width: 100%; padding-bottom: clamp(40px, 7vh, 84px); }
.hero .eyebrow { color: rgba(255,255,255,.82); }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.02; max-width: 15ch; margin: .5rem 0 0; }
.hero h1 em { font-style: italic; }
.hero-sub { margin-top: 20px; max-width: 46ch; color: rgba(255,255,255,.9); font-size: 1.02rem; }

/* ---- generic section ---- */
.section { padding: clamp(56px, 8vw, 104px) 0; border-top: 1px solid var(--rule); }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 34px; }
.section-head--tight { margin-bottom: 18px; }
.section-head .num { font-family: var(--mono); font-size: .72rem; color: var(--ink-40); letter-spacing: .1em; }
.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.9rem); line-height: 1.08; max-width: 20ch; }

/* thesis / quote card */
.thesis { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.quote-card { background: var(--grad); border-radius: 26px; padding: clamp(30px, 4vw, 52px); }
.quote-card .lead { font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.22; color: var(--ink); }
.thesis-body p { color: var(--ink-80); }
.thesis-body p:last-child { margin-bottom: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.step .dot {
  width: 60px; height: 60px; border-radius: 50%; background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: 16px;
}
.step h3 { font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0; margin-bottom: 8px; }
.step p { font-size: .92rem; color: var(--ink-60); margin: 0; }

/* benefits */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 72px); }
.benefit .eyebrow { margin-bottom: 14px; }
.benefit .lead { display: block; font-size: clamp(1.5rem, 2.5vw, 2.05rem); line-height: 1.18; margin-bottom: 22px; }
.benefit ul { margin: 0; padding: 0; list-style: none; }
.benefit li { padding: 11px 0; border-top: 1px solid var(--rule); color: var(--ink-80); font-size: 1rem; }

/* dark trust */
.dark { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.dark .section-head .num { color: rgba(255,255,255,.4); }
.dark h2 { color: #fff; }
.wm-ghost { position: absolute; right: -40px; bottom: -30px; width: min(52%, 540px); opacity: .06; pointer-events: none; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 8px; position: relative; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
.trust-num {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.05rem;
}
.trust-item p { margin: 0; color: rgba(255,255,255,.82); font-size: .96rem; line-height: 1.5; }

/* pulse concept */
.pulse { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.pulse-quote { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); margin: 6px 0 0; }
.pulse ul { margin: 18px 0 0; padding: 0; list-style: none; }
.pulse li { padding: 9px 0; border-top: 1px solid var(--rule); color: var(--ink-80); font-size: .98rem; }
.pulse-figure { background: var(--grad); border-radius: 26px; padding: clamp(24px, 3vw, 40px); display: flex; justify-content: center; margin: 0; }
.pulse-figure img { border-radius: 16px; box-shadow: 0 24px 60px rgba(28,28,27,.18); max-height: 560px; width: auto; }
.pill-new {
  display: inline-block; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase;
  background: var(--ink); color: #fff; border-radius: 999px; padding: 5px 11px; margin-bottom: 16px;
}

/* ---- brand system appendix ---- */
.sys { background: var(--paper-2); }
.sys-kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 10px; }
.sys-title { font-size: clamp(1.75rem, 3.6vw, 2.9rem); margin-bottom: 6px; }
.sysblock { padding: 38px 0; border-top: 1px solid var(--rule); }
.sysblock:first-of-type { border-top: 0; }
.sysblock h3 { font-size: 1.35rem; margin-bottom: 20px; }
.block-note { margin-top: -8px; }

.sys-lockups { display: grid; grid-template-columns: 1fr 1fr auto; gap: 18px; }
.lock { border-radius: 18px; padding: 34px; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.lock.light { background: #fff; border: 1px solid var(--rule); }
.lock.dark { background: var(--ink); }
.lock.icon { background: var(--grad); }
.lock img { height: 34px; width: auto; }
.lock.icon img { height: 78px; border-radius: 18px; }

.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sw { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.sw .chip { height: 96px; }
.chip-dark { background: #1c1c1b; }
.chip-light { background: #f7f8fc; border-bottom: 1px solid var(--rule); }
.chip-grad { background: var(--grad); }
.sw .meta { padding: 12px 13px; }
.sw .name { font-family: var(--sans); font-weight: 600; font-size: .9rem; }
.sw .hex { font-family: var(--mono); font-size: .72rem; color: var(--ink-60); letter-spacing: .02em; }
.sw.tbc .chip { background: repeating-linear-gradient(45deg, #e7e9f0, #e7e9f0 9px, #dfe1ea 9px, #dfe1ea 18px); display: flex; align-items: center; justify-content: center; }
.sw.tbc .chip span { font-family: var(--mono); font-size: .72rem; color: var(--ink-40); }

.type-rows { display: flex; flex-direction: column; gap: 26px; }
.type-row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; align-items: baseline; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.type-row:last-child { border-bottom: 0; padding-bottom: 0; }
.type-meta .tf { font-family: var(--sans); font-weight: 600; font-size: 1rem; }
.type-meta .role { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-60); margin-top: 4px; }
.spec-serif { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.7rem); line-height: 1.1; }
.spec-serif em { font-style: italic; }
.spec-sans { font-family: var(--sans); font-size: 1.15rem; line-height: 1.5; color: var(--ink-80); }
.spec-mono { font-family: var(--mono); font-size: 1.05rem; letter-spacing: .02em; }

.taglines { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; }
.tl { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule); }
.tl .n { font-family: var(--mono); font-size: .7rem; color: var(--ink-40); }
.tl .t { font-family: var(--serif); font-style: italic; font-size: 1.2rem; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { border-radius: 14px; aspect-ratio: 3 / 4; object-fit: cover; height: 100%; }

.iconrow { display: flex; flex-wrap: wrap; gap: 14px; }
.ic { width: 52px; height: 52px; border-radius: 13px; background: #fff; border: 1px solid var(--rule); display: flex; align-items: center; justify-content: center; color: var(--ink); }
.ic svg { width: 22px; height: 22px; }

.tov { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tov h4 { font-family: var(--sans); font-weight: 600; font-size: .82rem; letter-spacing: .02em; margin: 0 0 14px; }
.tov ul { margin: 0; padding: 0; list-style: none; }
.tov li { padding: 9px 0; border-top: 1px solid var(--rule); color: var(--ink-80); font-size: .96rem; }
.tov .good li::before { content: "↗"; color: #4a7a4a; margin-right: 9px; font-family: var(--mono); }
.tov .bad li::before { content: "×"; color: #a4463f; margin-right: 9px; font-family: var(--mono); }

/* footer */
.foot { background: var(--ink); color: #fff; padding: clamp(48px, 7vw, 90px) 0 46px; }
.foot-mark { height: 30px; width: auto; margin-bottom: 26px; }
.fmeta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; color: rgba(255,255,255,.55); }
.fnote { margin-top: 22px; color: rgba(255,255,255,.62); font-size: .92rem; max-width: 60ch; }

/* motion */
.fade { opacity: 0; transform: translateY(14px); animation: up .8s cubic-bezier(.2, .7, .2, 1) forwards; }
.fade.d1 { animation-delay: .08s; }
.fade.d2 { animation-delay: .16s; }
@keyframes up { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade { animation: none; opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 820px) {
  .thesis, .benefits, .pulse { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sys-lockups { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(2, 1fr); }
  .taglines, .gallery, .tov { grid-template-columns: 1fr 1fr; }
  .type-row { grid-template-columns: 1fr; }
  .pulse-figure { order: -1; }
}
@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .tag-chip { display: none; }
}
