Files

543 lines
13 KiB
CSS

/* hanzo.ventures
*
* Palette, type ramp and radii are @hanzo/design tokens. Nothing here invents
* a value, so this page moves with every other Hanzo surface and cannot drift
* off-brand on its own.
*
* MONOCHROME, and that is load-bearing rather than a preference. The tokens
* resolve to #0a0a0a ground and #fafafa ink with a white-alpha hairline ladder
* — there is no hue anywhere in the ramp. The one gate in e2e/ reads every
* computed colour on the rendered page and fails on any pixel whose channels
* are not equal, so a green reintroduced through a token bump is caught in the
* job that publishes rather than by a person looking at it.
*
* Dark at :root, light on `.light`. applyTheme() from @hanzo/iam/react is the
* one control; components/Chrome.tsx mirrors its answer onto that class.
*/
@import '@hanzo/design/styles.css';
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-text-size-adjust: 100%;
}
body {
margin: 0;
background: var(--background);
color: var(--foreground);
font-family: var(--font-sans);
font-size: var(--text-base);
line-height: 1.65;
-webkit-font-smoothing: antialiased;
}
/* The measure. One rail, so nav, hero and every section align on one edge. */
.wrap {
max-width: 62rem;
margin: 0 auto;
padding: 0 1.75rem;
}
/* ── Nav ─────────────────────────────────────────────────────────────── */
nav {
border-bottom: 1px solid var(--border);
}
nav .in {
max-width: 62rem;
margin: 0 auto;
padding: 1.1rem 1.75rem;
display: flex;
justify-content: space-between;
align-items: center;
gap: 1rem;
}
.brand {
display: inline-flex;
align-items: center;
gap: 0.6rem;
font-family: var(--font-mono);
font-size: 0.85rem;
letter-spacing: 0.14em;
text-transform: uppercase;
color: var(--foreground);
text-decoration: none;
}
.brand i {
font-style: normal;
color: var(--muted-foreground);
}
.navlinks {
display: flex;
align-items: center;
gap: 1.1rem;
}
.navlink {
font-family: var(--font-mono);
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
white-space: nowrap;
color: var(--muted-foreground);
text-decoration: none;
background: none;
border: 0;
padding: 0;
cursor: pointer;
}
.navlink:hover {
color: var(--foreground);
}
/* The nav is one row of mono set in wide tracking, so it runs out of phone
before anything else does — four destinations plus the wordmark measured
~228px of links into ~195px of room at 390, and "SIGN IN" went off the
right edge.
It WRAPS rather than dropping a destination: the brand keeps row one and
the links take row two, all four still reachable. Hiding one would have
been the easy fix and would have made a link that exists on a desktop
vanish on a phone. The `no horizontal overflow` gate measures this. */
@media (max-width: 34rem) {
nav .in {
flex-wrap: wrap;
padding: 1rem 1.1rem;
gap: 0.6rem;
}
.brand {
font-size: 0.75rem;
gap: 0.45rem;
}
.navlinks {
width: 100%;
gap: 0.9rem;
}
.navlink {
font-size: 0.62rem;
letter-spacing: 0.08em;
}
.wrap {
padding: 0 1.1rem;
}
}
/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
position: relative;
overflow: hidden;
border-bottom: 1px solid var(--border);
}
/* One repeating radial-gradient, masked out along the diagonal so it reads as
a wave rather than wallpaper. Drawn in --border-strong, so it is part of the
monochrome ladder and not a decoration with its own colour. */
.hero::before {
content: '';
position: absolute;
inset: 0;
background-image: radial-gradient(var(--border-strong) 1px, transparent 1px);
background-size: 7px 7px;
-webkit-mask-image: linear-gradient(115deg, #000 0%, rgb(0 0 0 / 0.55) 38%, transparent 72%);
mask-image: linear-gradient(115deg, #000 0%, rgb(0 0 0 / 0.55) 38%, transparent 72%);
pointer-events: none;
}
.hero .wrap {
position: relative;
padding-top: 6rem;
padding-bottom: 4.5rem;
}
/* ── Type ────────────────────────────────────────────────────────────── */
h1 {
font-family: var(--font-mono);
font-size: clamp(2rem, 5.4vw, 3.4rem);
line-height: 1.12;
letter-spacing: -0.02em;
margin: 0 0 1.15rem;
font-weight: 500;
text-wrap: balance;
}
h1 em {
font-style: normal;
color: var(--muted-foreground);
}
.lede {
color: var(--muted-foreground);
font-size: 1.05rem;
max-width: 56ch;
margin: 0 0 2.25rem;
}
h2 {
font-family: var(--font-mono);
font-size: 1.1rem;
letter-spacing: -0.01em;
margin: 0 0 0.4rem;
font-weight: 500;
}
p {
margin: 0 0 1rem;
max-width: 70ch;
}
a {
color: var(--foreground);
text-decoration: underline;
text-underline-offset: 3px;
text-decoration-color: var(--border-strong);
}
a:hover {
text-decoration-color: var(--foreground);
}
a:focus-visible,
button:focus-visible {
outline: 1px solid var(--ring);
outline-offset: 3px;
}
code {
font-family: var(--font-mono);
font-size: 0.85em;
}
/* ── Buttons ─────────────────────────────────────────────────────────── */
.btns {
display: flex;
flex-wrap: wrap;
gap: 0.7rem;
}
/* Pills — --radius-full is 9999px, the same shape hanzo.ai sets its calls to
action in. The gate asserts the computed value, so this cannot quietly
become a rounded rectangle. */
.btn {
display: inline-flex;
align-items: center;
border-radius: var(--radius-full);
font-family: var(--font-mono);
font-size: 0.72rem;
letter-spacing: 0.14em;
text-transform: uppercase;
padding: 0.8rem 1.6rem;
border: 1px solid var(--border-strong);
color: var(--foreground);
text-decoration: none;
background: transparent;
cursor: pointer;
}
.btn:hover {
background: var(--card);
border-color: var(--border-selected);
text-decoration: none;
}
.btn.solid {
background: var(--primary);
color: var(--primary-foreground);
border-color: var(--primary);
}
.btn.solid:hover {
background: var(--primary-hover);
}
/* ── The credential line under the hero ──────────────────────────────── */
.stamp {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin: 2.25rem 0 0;
padding: 0;
list-style: none;
}
.stamp li {
font-family: var(--font-mono);
font-size: 0.7rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: var(--muted-foreground);
border: 1px solid var(--border);
border-radius: var(--radius-full);
padding: 0.45rem 1rem;
}
/* ── Sections ────────────────────────────────────────────────────────── */
.group {
margin: 4.5rem 0 0;
}
.grouphead {
border-bottom: 1px solid var(--border);
padding-bottom: 0.7rem;
margin-bottom: 1.75rem;
}
.grouphead h2 {
font-size: 0.7rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted-foreground);
}
.grouphead p {
margin: 0.55rem 0 0;
color: var(--muted-foreground);
font-size: 0.95rem;
max-width: 64ch;
}
/* ── Cards ───────────────────────────────────────────────────────────── */
/* --radius-2xl is 1.5rem = 24px, hanzo.ai's card radius. */
.cards {
display: grid;
gap: 0.85rem;
grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
}
.card {
background: var(--background);
border: 1px solid var(--border);
border-radius: var(--radius-2xl);
padding: 1.5rem 1.5rem 1.35rem;
display: flex;
flex-direction: column;
gap: 0.55rem;
}
.card:hover {
background: var(--card);
border-color: var(--border-strong);
}
.card h3 {
font-family: var(--font-mono);
font-size: 0.95rem;
font-weight: 500;
margin: 0;
letter-spacing: -0.01em;
}
.card p {
margin: 0;
font-size: 0.92rem;
color: var(--foreground);
opacity: 0.86;
}
/* ── Portfolio ───────────────────────────────────────────────────────── */
.folio {
display: grid;
gap: 0.85rem;
grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
}
.holding {
display: flex;
flex-direction: column;
gap: 0.7rem;
background: var(--background);
border: 1px solid var(--border);
border-radius: var(--radius-2xl);
padding: 1.5rem;
text-decoration: none;
color: var(--foreground);
}
.holding:hover {
background: var(--card);
border-color: var(--border-strong);
text-decoration: none;
}
.holding .top {
display: flex;
align-items: center;
gap: 0.75rem;
}
/* The monogram plate. Every holding wears the same one, drawn from the
design tokens — never a sourced look-alike of somebody's trademark. The
policy is written down in hanzo.ai/scripts/gen-marks.mjs: "a uniform
monogram is the honest fallback; a look-alike pictograph is not." Uniform
across the whole grid also means the grid ranks nothing by who happens to
have a redistributable SVG. */
.plate {
flex: none;
width: 2.25rem;
height: 2.25rem;
display: grid;
place-items: center;
border: 1px solid var(--border-strong);
border-radius: var(--radius-full);
font-family: var(--font-mono);
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.02em;
color: var(--foreground);
background: var(--card);
}
.holding h3 {
font-family: var(--font-mono);
font-size: 0.98rem;
font-weight: 500;
margin: 0;
letter-spacing: -0.01em;
}
.holding .addr {
display: block;
font-family: var(--font-mono);
font-size: 0.68rem;
letter-spacing: 0.06em;
color: var(--muted-foreground);
margin-top: 0.1rem;
}
.holding p {
margin: 0;
font-size: 0.9rem;
color: var(--foreground);
opacity: 0.84;
}
.holding .tag {
margin-top: auto;
padding-top: 0.9rem;
font-family: var(--font-mono);
font-size: 0.65rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted-foreground);
}
/* ── The program, as numbered steps ──────────────────────────────────── */
.steps {
display: grid;
gap: 1.75rem;
grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.step b {
display: block;
font-family: var(--font-mono);
font-size: 0.68rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted-foreground);
font-weight: 400;
margin: 0 0 0.6rem;
border-bottom: 1px solid var(--border);
padding-bottom: 0.4rem;
}
.step p {
font-size: 0.93rem;
margin: 0;
color: var(--foreground);
opacity: 0.86;
}
/* ── Apply ───────────────────────────────────────────────────────────── */
.apply {
margin: 4.5rem 0 0;
border: 1px solid var(--border);
border-radius: var(--radius-2xl);
background: var(--card);
padding: 2.25rem;
}
.apply h2 {
font-size: 1.25rem;
margin-bottom: 0.75rem;
}
.apply p {
color: var(--foreground);
opacity: 0.86;
font-size: 0.95rem;
}
.apply .btns {
margin-top: 1.5rem;
}
@media (max-width: 34rem) {
.apply {
padding: 1.5rem;
}
}
/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
margin-top: 5rem;
padding: 2rem 0 4rem;
border-top: 1px solid var(--border);
color: var(--muted-foreground);
font-size: 0.85rem;
}
footer a {
color: var(--muted-foreground);
}
.fend {
border-top: 1px solid var(--border);
padding-top: 1.25rem;
margin-top: 2rem;
font-size: 0.82rem;
}
.fmap {
display: grid;
gap: 1.75rem;
grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
margin: 0;
font-size: 0.85rem;
}
.fmap b {
display: block;
font-family: var(--font-mono);
font-size: 0.68rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: var(--muted-foreground);
font-weight: 400;
margin: 0 0 0.6rem;
border-bottom: 1px solid var(--border);
padding-bottom: 0.4rem;
}
.fmap a {
display: block;
color: var(--foreground);
text-decoration: none;
margin: 0.3rem 0 0;
}
.fmap a:hover {
text-decoration: underline;
}