/* Nameyard prototype v2, "gallery of brands".
   The chrome is quiet. Every colour on the page comes from a domain's own
   brand world. See DECISIONS.md. */

@font-face { font-family: 'Familjen Grotesk'; src: url('fonts/familjen-grotesk-var.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-300.woff2') format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Mono'; src: url('fonts/dm-mono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

/* the brand faces the names wear */
@font-face { font-family: 'Fraunces'; src: url('fonts/fraunces-var.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('fonts/instrument-serif.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url('fonts/space-grotesk-var.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Outfit'; src: url('fonts/outfit-var.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Archivo Narrow'; src: url('fonts/archivo-narrow-var.woff2') format('woff2-variations'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('fonts/sora-var.woff2') format('woff2-variations'); font-weight: 300 700; font-display: swap; }

:root {
  --yard: #F7F6F2;
  --paper: #FFFFFF;
  --ink: #1D211F;
  --ink-2: #5C6360;
  --ink-3: #7A817D;
  --moss: #1F7A52;
  --moss-d: #175C3E;
  --tint: #E4F0E9;
  --ochre: #A4632A;
  --rule: #DCDCD4;

  --sans: 'Familjen Grotesk', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, Menlo, monospace;

  --measure: 1280px;
  --gut: 40px;
  --r: 4px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* the header is sticky, so anything jumped to must clear it */
[id] { scroll-margin-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* author display rules otherwise beat the UA sheet and [hidden] stops hiding */
[hidden] { display: none !important; }

body {
  margin: 0; background: var(--yard); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--moss); text-decoration: none; }
a:hover { color: var(--moss-d); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--measure); margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -9999px; z-index: 50; background: var(--ink); color: var(--yard); padding: 12px 18px; }
.skip:focus { left: 8px; top: 8px; color: var(--yard); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- type */

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
p { margin: 0; }

.t-hero { font-size: clamp(3rem, 6.6vw, 5.4rem); }
.t-sec  { font-size: clamp(2rem, 3.6vw, 3rem); }

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tld { opacity: .58; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }

.lede { color: var(--ink-2); font-size: 1.05rem; max-width: 58ch; }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border: 1px solid transparent; border-radius: 2px;
  font-size: 15px; font-weight: 700; letter-spacing: -0.01em; cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--moss); color: #fff; }
.btn--primary:hover { background: var(--moss-d); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--ghost:hover { background: var(--paper); border-color: var(--ink-3); color: var(--ink); }
.btn--quiet { background: transparent; color: var(--ink-2); padding: 13px 4px; font-weight: 400; }
.btn--quiet:hover { color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 30px; font-size: 16px; }
.btn--onink { background: #fff; color: var(--ink); }
.btn--onink:hover { background: var(--tint); color: var(--ink); }

/* -------------------------------------------------------------- header */

/* a thin live-market line above the chrome, the way a trading floor announces itself */
.topbar { background: var(--ink); color: #8E968F; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 34px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .01em; }
.tick { display: flex; align-items: center; gap: 9px; min-width: 0; }
.tick::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #4E9E76; flex: none; }
.tick span { color: #D3D9D5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity .3s var(--ease); }
.tick.is-out span { opacity: 0; }
.topbar-r { white-space: nowrap; }

.site-head { position: sticky; top: 0; z-index: 30; background: rgba(247,246,242,.93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.head-in { display: flex; align-items: center; gap: 30px; height: 76px; transition: height .25s var(--ease); }

/* the search follows you down the page instead of being stranded in the hero */
.headsearch {
  margin-left: auto; display: flex; align-items: center; gap: 8px;
  width: 0; opacity: 0; overflow: hidden; pointer-events: none;
  border-bottom: 1px solid var(--rule);
  transition: width .3s var(--ease), opacity .25s var(--ease);
}
.headsearch svg { flex: none; color: var(--ink-3); }
.headsearch input { width: 100%; border: 0; background: transparent; padding: 7px 0; font-family: var(--mono); font-size: 13px; }
.headsearch input:focus { outline: none; }
.site-head.is-stuck .head-in { height: 64px; }
.site-head.is-stuck .headsearch { width: 250px; opacity: 1; pointer-events: auto; }
.site-head.is-stuck .nav { margin-right: 0; }
.mark { display: inline-flex; align-items: baseline; font-size: 21px; font-weight: 700; letter-spacing: -0.045em; color: var(--ink); }
.mark:hover { color: var(--ink); }
.mark i { font-style: normal; color: var(--moss); letter-spacing: 0; }
.nav { display: flex; gap: 26px; margin-right: auto; }
.nav a { color: var(--ink-2); font-size: 15px; }
.nav a:hover, .nav a.is-on { color: var(--ink); }
.head-act { display: flex; align-items: center; gap: 10px; }

/* -------------------------------------------------------------- bands */

.band { padding: 100px 0; }
.band--ink { background: var(--ink); color: #C7CDC9; }
.band--ink h2, .band--ink h3, .band--ink b { color: #fff; }
.band--ink .eyebrow { color: #8B948F; }
.band--moss { background: var(--moss); color: #C6DFD1; padding: 74px 0; }
.band--moss b { color: #fff; }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 40px; }
.sec-head p { margin-top: 14px; }

/* ---------------------------------------------------------------- hero */

.hero { padding: 80px 0 70px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 70px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero .lede { font-size: 1.12rem; }

.search { display: flex; margin-top: 36px; background: var(--paper); border: 1px solid var(--ink); border-radius: 2px; }
.search:focus-within { box-shadow: 0 0 0 3px var(--tint); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 19px 20px; font-family: var(--mono); font-size: 15px; }
.search input::placeholder { color: var(--ink-3); }
.search input:focus { outline: none; }
.search .btn { border-radius: 0; margin: -1px -1px -1px 0; }

.ledger-line { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }
.ledger-line b { font-weight: 500; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 28px; max-width: 560px; }
.chip {
  padding: 8px 15px; border: 1px solid var(--rule); border-radius: 2px;
  background: transparent; color: var(--ink-2); font-size: 14px; cursor: pointer;
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--yard); }
.chip i { font-family: var(--mono); font-style: normal; font-size: 11px; margin-left: 7px; color: var(--ink-3); }
.chip[aria-pressed="true"] i { color: rgba(255,255,255,.62); }

/* the hero thesis: a name arriving as a brand, over and over */
.hero-brand {
  position: relative; aspect-ratio: 1 / 1.02; border-radius: var(--r); overflow: hidden;
  background: var(--field, var(--ink)); color: var(--on, #fff);
  display: flex; flex-direction: column; padding: 34px;
  transition: background .7s var(--ease), color .7s var(--ease);
}
.hero-brand .hb-mark { width: 46px; height: 46px; }
.hero-brand .hb-mark svg { width: 100%; height: 100%; }
.hero-brand .hb-word {
  margin-top: auto; font-family: var(--face, var(--sans)); font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: .98; letter-spacing: -0.02em;
}
.hero-brand .hb-foot {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 26px; padding-top: 18px; border-top: 1px solid currentColor;
  font-family: var(--mono); font-size: 14px;
}
.hero-brand .hb-foot em { font-style: normal; opacity: .62; }
.hb-fade { transition: opacity .34s var(--ease); }
.hero-brand.is-out .hb-fade { opacity: 0; }

.slot-cap { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.slot-dots { display: flex; gap: 5px; margin-left: auto; }
.slot-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--rule); transition: background .3s var(--ease); }
.slot-dots i.is-on { background: var(--ink); }

/* --------------------------------------------------------------- trust */

.trust { border-block: 1px solid var(--rule); background: var(--paper); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-it {
  display: flex; align-items: center; gap: 11px; padding: 22px 24px 22px 0;
  font-size: 13.5px; line-height: 1.35; color: var(--ink-2);
}
.trust-it + .trust-it { border-left: 1px solid var(--rule); padding-left: 24px; }
.trust-it svg { flex: none; color: var(--moss); }

/* ------------------------------------------------- the wall of brands */

.wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.wall.is-filtered .brandcard { grid-column: span 4 !important; grid-row: auto !important; }

.brandcard {
  grid-column: span var(--span, 4);
  position: relative; display: flex; flex-direction: column; min-height: 300px;
  padding: 26px; border-radius: var(--r); overflow: hidden;
  background: var(--field); color: var(--on);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.brandcard--feature { grid-row: span 2; min-height: 0; padding: 34px; }
a.brandcard:hover { color: var(--on); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(29,33,31,.13); }

.bc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.bc-mark { width: 40px; height: 40px; transition: transform .35s var(--ease); }
.bc-mark svg { width: 100%; height: 100%; }
.brandcard--feature .bc-mark { width: 58px; height: 58px; }
a.brandcard:hover .bc-mark { transform: scale(1.14) rotate(-2deg); }

.bc-badge {
  font-family: var(--mono); font-size: 11px; padding: 5px 10px; border-radius: 2px;
  border: 1px solid currentColor; opacity: .72; white-space: nowrap;
}

/* the word is the brand: each name in the face its business would wear */
.bc-word {
  margin-top: auto; font-family: var(--face); font-weight: 400;
  font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -0.02em;
}
.brandcard--feature .bc-word { font-size: clamp(3rem, 5.6vw, 4.6rem); }

.bc-tag { margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .58; }

.bc-body { position: relative; margin-top: 12px; min-height: 42px; }
.bc-pitch { font-size: 14.5px; line-height: 1.45; opacity: .78; transition: opacity .22s var(--ease); }
.brandcard--feature .bc-pitch { font-size: 16px; max-width: 34ch; }

/* the registry ledger, still one hover away */
.bc-ledger { position: absolute; inset: 0; display: flex; align-items: flex-start; opacity: 0; pointer-events: none; transition: opacity .22s var(--ease); }
/* the rule spans the column's own text, not whatever height the box happens
   to have, or it reads as a stray tick floating above the label */
.bc-ledger div { flex: 1; position: relative; }
.bc-ledger div + div { padding-left: 12px; }
.bc-ledger div + div::before {
  content: ''; position: absolute; left: 0; top: 1px; bottom: 2px;
  width: 1px; background: currentColor; opacity: .22;
}
.bc-ledger dt { font-size: 10px; letter-spacing: .09em; text-transform: uppercase; opacity: .58; }
.bc-ledger dd { margin: 4px 0 0; font-family: var(--mono); font-size: 13.5px; }
a.brandcard:hover .bc-pitch, a.brandcard:focus-visible .bc-pitch { opacity: 0; }
a.brandcard:hover .bc-ledger, a.brandcard:focus-visible .bc-ledger { opacity: 1; }

.bc-foot {
  display: flex; flex-direction: column; gap: 9px;
  margin-top: 20px; padding-top: 15px; border-top: 1px solid currentColor;
  font-family: var(--mono); font-size: 15px;
}
.bc-name { letter-spacing: -0.02em; }
.bc-fmeta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; }
.bc-price { opacity: .8; }
.bc-offer { opacity: .55; }
a.brandcard:hover .bc-offer { opacity: .95; }
.brandcard--feature .bc-foot { font-size: 19px; }
.brandcard--feature .bc-fmeta { font-size: 14.5px; }

.wall-empty { grid-column: 1 / -1; padding: 60px 0; text-align: center; color: var(--ink-2); }
.wall-empty b { display: block; font-family: var(--mono); color: var(--ink); margin-bottom: 8px; }

/* -------------------------------------------------------------- seller */

.sell-in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); gap: 70px; align-items: start; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { padding: 0 26px; border-left: 1px solid rgba(255,255,255,.17); }
.step:first-child { padding-left: 0; border-left: 0; }
.step-n { font-family: var(--mono); font-size: 13px; color: #6FB392; margin-bottom: 14px; }
.step h3 { font-size: 1.02rem; letter-spacing: -0.015em; line-height: 1.32; }
.step p { margin-top: 9px; font-size: 14px; opacity: .8; }
.ns { display: inline-block; margin-top: 14px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 2px; font-family: var(--mono); font-size: 13px; color: #8FCCAE; }

/* --------------------------------------------------------------- stats */

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding-right: 30px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.26); padding-left: 30px; }
.stat b { display: block; font-family: var(--mono); font-weight: 400; font-size: clamp(2.2rem, 3.6vw, 3.1rem); letter-spacing: -0.05em; line-height: 1; }
.stat span { display: block; margin-top: 13px; font-size: 14px; max-width: 22ch; }

/* -------------------------------------------------------------- footer */

.site-foot { background: var(--ink); color: #A8AFAB; padding: 74px 0 34px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(4, minmax(0, 1fr)); gap: 40px; }
.site-foot .mark { color: #fff; }
.site-foot p { font-size: 14px; margin-top: 14px; max-width: 30ch; }
.foot-col h4 { font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; font-weight: 400; }
.foot-col a { display: block; color: #A8AFAB; font-size: 14.5px; padding: 5px 0; }
.foot-col a:hover { color: #fff; }
.foot-end { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; margin-top: 58px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); font-size: 13px; }

/* ==================================================== detail page ===== */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; padding: 22px 0; font-size: 13.5px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.crumbs a:hover { color: var(--moss); }
.crumbs span { color: var(--ink-3); }
.crumbs .mono { color: var(--ink); font-size: 13px; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 56px; align-items: start; }

/* the board: the name already wearing its brand */
.board {
  background: var(--field); color: var(--on); border-radius: var(--r);
  padding: 44px; position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 440px;
}
.board-mark { display: block; width: 64px; height: 64px; flex: none; }
.board-mark svg { width: 100%; height: 100%; }
.board-word {
  margin-top: auto; padding-top: 40px; font-family: var(--face); font-weight: 400;
  font-size: clamp(3.4rem, 7.4vw, 5.6rem); line-height: .94; letter-spacing: -0.025em;
}
.board-dname {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid currentColor;
  font-family: var(--mono); font-size: clamp(1.4rem, 3vw, 2.1rem); letter-spacing: -0.03em;
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.board-dname em { font-style: normal; opacity: .62; font-size: .74em; }

.alts { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; }
.altfig { margin: 0; display: grid; gap: 9px; justify-items: start; }
.altfig figcaption { font-size: 11.5px; line-height: 1.3; color: var(--ink-2); max-width: 88px; }
.alt { width: 54px; height: 54px; border: 1px solid var(--rule); border-radius: 2px; display: grid; place-items: center; flex: none; background: var(--paper); color: var(--moss); }
.alt svg { width: 28px; height: 28px; }
.alt--brand { background: var(--field); color: var(--on); border-color: transparent; }
.alt--ink { background: var(--ink); color: #fff; border-color: transparent; }

.blockhead { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.blockhead h2 { font-size: 1.3rem; letter-spacing: -0.025em; }
.blockhead::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

.sect { padding-top: 46px; }
.story { font-size: 1.12rem; line-height: 1.6; max-width: 58ch; }

/* the first sentence of a story is the pitch, so it gets to be one */
.pullquote {
  font-family: var(--face, var(--sans)); font-size: clamp(1.5rem, 2.5vw, 2rem);
  line-height: 1.24; letter-spacing: -0.02em; padding-left: 22px;
  border-left: 2px solid var(--field); margin-bottom: 22px;
}
.story b { font-weight: 400; box-shadow: inset 0 -0.42em 0 var(--tint); }

.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 11px; border: 1px solid var(--rule); border-radius: 2px;
  font-size: 13.5px; color: var(--ink-2); background: var(--paper);
  transition: border-color .16s var(--ease), color .16s var(--ease);
}
.tag:hover { border-color: var(--ink-3); color: var(--ink); }
.tag svg { width: 15px; height: 15px; flex: none; color: var(--moss); }

.fitbox { border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; }
.fitrow { display: flex; gap: 10px; }
.fitrow input { flex: 1; min-width: 0; padding: 13px 15px; border: 1px solid var(--rule); border-radius: 2px; background: var(--paper); font-family: var(--mono); font-size: 14px; }
.fitrow input:focus { outline: none; border-color: var(--moss); }
.fitans { display: flex; gap: 18px; margin-top: 18px; padding: 20px; background: var(--tint); border-radius: 2px; }

/* the score reads as a measurement, so draw it as one */
.score { position: relative; flex: none; width: 62px; height: 62px; display: grid; place-items: center; }
.score svg { position: absolute; inset: 0; width: 62px; height: 62px; transform: rotate(-90deg); }
.score .ring-bg { fill: none; stroke: rgba(31,122,82,.2); stroke-width: 4; }
.score .ring-fg { fill: none; stroke: var(--moss); stroke-width: 4; stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.score b { font-family: var(--mono); font-size: 19px; font-weight: 400; color: var(--moss-d); }

.fitans p { font-size: 14.5px; line-height: 1.5; color: #264437; }
.fitans .fitv { display: block; margin-bottom: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .09em; text-transform: uppercase; color: var(--moss-d); }
.fitans .fitv em { font-style: normal; color: #4A7A63; }

.attrs { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.attrs span { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: #2E5544; }
.attrs svg { width: 13px; height: 13px; color: var(--moss); flex: none; }

/* the preview concept, in the name's own brand world */
.previewframe { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.previewbar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--rule); background: var(--paper); }
.previewbar i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.previewbar span { margin-left: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--ink-2); }
.previewport { height: 420px; overflow: hidden; }
.mini { width: 1400px; transform: scale(.55); transform-origin: 0 0; background: var(--paper); }
.mini-head { display: flex; align-items: center; gap: 24px; padding: 30px 52px; background: var(--field); color: var(--on); }
.mini-head .mh-mark { width: 40px; height: 40px; }
.mini-head .mh-mark svg { width: 100%; height: 100%; }
.mini-word { font-family: var(--face); font-size: 34px; letter-spacing: -0.02em; }
.mini-nav { margin-left: auto; display: flex; gap: 32px; font-size: 15px; opacity: .74; }
.mini-hero { background: var(--field); color: var(--on); padding: 90px 52px 110px; }
.mini-hero h3 { font-family: var(--face); font-weight: 400; font-size: 66px; line-height: 1.04; letter-spacing: -0.025em; max-width: 18ch; }
.mini-hero p { margin-top: 20px; font-size: 19px; opacity: .72; }
.mini-hero .pill { margin-top: 34px; display: inline-block; padding: 15px 32px; border: 1px solid currentColor; font-size: 16px; }
.mini-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 42px 52px; }
.mini-strip div { height: 170px; border-radius: 2px; background: var(--field); opacity: .42; }
.mini-strip div:nth-child(2) { opacity: .68; }
.previewcap { font-size: 12.5px; color: var(--ink-2); margin-top: 12px; }

/* deal */
.deal { position: sticky; top: 96px; }
.dealcard { border: 1px solid var(--ink); border-radius: var(--r); padding: 26px; background: var(--paper); }
.dealprice { font-family: var(--mono); font-size: 2.6rem; letter-spacing: -0.055em; line-height: 1; }
.dealprice small { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.dealprice i { font-style: normal; font-size: 1.1rem; font-weight: 300; color: var(--ink-2); letter-spacing: 0; vertical-align: .3em; margin-right: 3px; }
.dealacts { display: grid; gap: 9px; margin-top: 24px; }
.rentline { display: block; margin-top: 16px; font-size: 14px; text-align: center; }
.fineprint { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }

.seller { margin-top: 12px; border: 1px solid var(--rule); border-radius: var(--r); padding: 20px; }
.seller-top { display: flex; align-items: center; gap: 10px; }
.seller-top b { font-size: 14.5px; letter-spacing: -0.01em; }
.tickmark { width: 18px; height: 18px; flex: none; color: var(--moss); }
.seller-meta { margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); line-height: 1.7; }
.seller-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.seller-stats div { border: 1px solid var(--rule); border-radius: 2px; padding: 12px 14px; }
.seller-stats b { display: block; font-family: var(--mono); font-size: 1.15rem; letter-spacing: -0.03em; }
.seller-stats span { display: block; margin-top: 4px; font-size: 11.5px; color: var(--ink-2); }

.tbadges { margin-top: 12px; display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.tbadge { display: flex; align-items: center; gap: 11px; padding: 13px 16px; background: var(--yard); font-size: 13.5px; color: var(--ink-2); }
.tbadge svg { flex: none; color: var(--moss); }

/* interest */
.interest { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 34px; }
.chartcard { border: 1px solid var(--rule); border-radius: var(--r); padding: 24px 24px 14px; }
.chartcard figcaption { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }
.plot { position: relative; }
.plot svg { width: 100%; height: auto; display: block; }
.tick { font-family: var(--mono); font-size: 10px; fill: var(--ink-3); }
.tip { position: absolute; pointer-events: none; opacity: 0; transform: translate(-50%, -100%); background: var(--ink); color: #fff; padding: 8px 11px; border-radius: 2px; font-family: var(--mono); font-size: 12px; white-space: nowrap; transition: opacity .12s var(--ease); z-index: 4; }
.tip.is-on { opacity: 1; }
.tiles { display: grid; gap: 12px; align-content: start; }
.tile { border: 1px solid var(--rule); border-radius: var(--r); padding: 20px 22px; }
.tile b { display: block; font-family: var(--mono); font-size: 2rem; letter-spacing: -0.05em; line-height: 1; font-weight: 400; }
.tile span { display: block; margin-top: 9px; font-size: 13.5px; color: var(--ink-2); }

/* facts */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.fact { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.fact dt { font-size: 14.5px; color: var(--ink-2); }
.fact dd { margin: 0; font-family: var(--mono); font-size: 14px; text-align: right; }
.fact dd a { font-size: 13px; }

/* offer form */
.offerform { max-width: 640px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 14px 15px; background: var(--paper); border: 1px solid var(--rule); border-radius: 2px; font-size: 15px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); }
.field textarea { min-height: 110px; resize: vertical; font-family: var(--sans); }
.field .hint { margin-top: 7px; font-size: 12.5px; color: var(--ink-2); }
.field--money input { font-family: var(--mono); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.formnote { font-size: 12.5px; color: var(--ink-2); margin-top: 14px; }
.sent { display: none; align-items: center; gap: 10px; margin-top: 16px; padding: 16px 18px; background: var(--tint); border-radius: 2px; font-size: 14.5px; color: #264437; }
.sent.is-on { display: flex; }

/* similar strip reuses the wall, at one size */
.similar-wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.similar-wall .brandcard { grid-column: auto; min-height: 250px; padding: 22px; }
.similar-wall .bc-word { font-size: 1.7rem; }

/* wider cards carry a bigger word, so the wall reads as composition not tiling */
.brandcard--wide .bc-word { font-size: clamp(2.2rem, 3.2vw, 3.1rem); }

/* the wall settles in, once */
.brandcard { opacity: 1; }
.js .brandcard:not(.is-in) { opacity: 0; transform: translateY(14px); }
.js .brandcard { transition: opacity .5s var(--ease), transform .5s var(--ease), box-shadow .3s var(--ease); }

/* ------------------------------------------- the catalogue, a second gear */

.sorts { display: flex; gap: 6px; }
.sortb {
  font-family: var(--mono); font-size: 12px; padding: 7px 12px; cursor: pointer;
  background: transparent; border: 1px solid var(--rule); border-radius: 2px; color: var(--ink-2);
  transition: border-color .16s var(--ease), color .16s var(--ease), background .16s var(--ease);
}
.sortb:hover { border-color: var(--ink); color: var(--ink); }
.sortb.is-on { background: var(--ink); border-color: var(--ink); color: var(--yard); }

.ledger { border-top: 1px solid var(--ink); }
.lrow {
  display: grid; grid-template-columns: 22px minmax(0, 2.4fr) minmax(0, 1.5fr) .8fr .9fr 1fr;
  align-items: center; gap: 20px; padding: 15px 14px 15px 12px;
  border-bottom: 1px solid var(--rule); color: var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.lrow--head { padding-top: 12px; padding-bottom: 12px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom-color: var(--rule); }
.lrow--head span:last-child, .lrow .l-price { text-align: right; }

a.lrow:hover { background: var(--field); color: var(--on); }
a.lrow:hover .l-meta, a.lrow:hover .l-price { opacity: .78; }
a.lrow:hover .l-swatch { transform: scale(1.5); }

.l-swatch { width: 13px; height: 13px; border-radius: 2px; background: var(--field); box-shadow: inset 0 0 0 1px rgba(29,33,31,.16); transition: transform .2s var(--ease); }
.l-name { font-family: var(--mono); font-size: 17px; letter-spacing: -0.02em; }
.l-meta { font-size: 13.5px; color: inherit; opacity: .62; }
.l-price { font-family: var(--mono); font-size: 15px; }
.lrow .l-num { font-family: var(--mono); font-size: 13.5px; opacity: .62; }

.cat-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 26px; }
.cat-foot p { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); }

/* -------------------------------- detail page, the deal needs to anchor */

.dealcard { background: var(--ink); border: 0; color: #C7CDC9; padding: 28px; }
.dealcard .dealprice { color: #fff; }
.dealcard .dealprice small { color: #8E968F; }
.dealcard .dealprice i { color: #8E968F; }
.dealcard .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.dealcard .btn--ghost:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.5); color: #fff; }
.dealcard .rentline { color: #7FC3A0; }
.dealcard .rentline:hover { color: #A5D8BD; }
.dealcard .fineprint { border-top-color: rgba(255,255,255,.16); color: #8E968F; }

/* the story and what it is for, read together */
.storygrid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 46px; align-items: start; }

/* interest as one panel, the numbers first */
.interest { display: block; border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-bottom: 1px solid var(--rule); }
.tile { border: 0; border-radius: 0; padding: 24px 26px; }
.tile + .tile { border-left: 1px solid var(--rule); }
.tile b { font-size: 2.4rem; }
.chartcard { border: 0; border-radius: 0; padding: 24px 26px 14px; }

/* the alternates belong inside the board, they are part of the identity */
.board-alts { display: flex; align-items: center; gap: 10px; margin-top: 26px; }
.balt {
  width: 46px; height: 46px; border-radius: 3px; display: grid; place-items: center;
  flex: none; background: rgba(255,255,255,.1); color: var(--on);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.16);
}
.balt svg { width: 24px; height: 24px; }
.balt--paper { background: #fff; color: var(--field); box-shadow: none; }
.balt--sand { background: #E7D9C6; color: #4A3620; box-shadow: none; }
.balt--ink { background: #16191A; color: #fff; box-shadow: none; }
.board-alts p { font-size: 11.5px; opacity: .68; line-height: 1.35; margin-left: 4px; }
.boardcap { margin-top: 12px; font-size: 12.5px; color: var(--ink-2); }

/* what the brand looks like off the page, three surfaces */
.concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.concept { border: 1px solid var(--rule); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.concept-body { height: 280px; overflow: hidden; position: relative; }
.concept-cap { padding: 11px 14px; border-top: 1px solid var(--rule); font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }

.cmini { width: 1400px; transform: scale(.335); transform-origin: 0 0; }

/* a card, the way a brand first exists in your hand */
.ccard { height: 100%; background: var(--field); color: var(--on); display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 16px; padding: 26px; text-align: center; }
.ccard .cmark { width: 44px; height: 44px; }
.ccard .cword { font-family: var(--face); font-size: 2rem; letter-spacing: -0.02em; line-height: 1; }
.ccard .crule { width: 34px; height: 1px; background: currentColor; opacity: .45; }
.ccard .cdom { font-family: var(--mono); font-size: 12px; opacity: .68; }

/* and on a phone */
.capp { height: 100%; background: var(--yard); display: grid; place-items: end center; padding-top: 26px; }
.phone { width: 168px; height: 258px; border-radius: 20px 20px 0 0; background: var(--field); color: var(--on); padding: 20px 18px; box-shadow: 0 6px 22px rgba(29,33,31,.16); }
.phone .pmark { width: 26px; height: 26px; }
.phone .pword { font-family: var(--face); font-size: 1.35rem; margin-top: 14px; letter-spacing: -0.02em; }
.phone .pline { height: 7px; border-radius: 4px; background: currentColor; opacity: .22; margin-top: 12px; }
.phone .pline--s { width: 62%; }
.phone .ptile { height: 62px; border-radius: 6px; background: currentColor; opacity: .16; margin-top: 16px; }
.phone .pbtn { margin-top: 16px; padding: 9px 0; text-align: center; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; opacity: .82; }

/* facts as a ledger of cells */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.fact { display: block; padding: 16px 20px 17px 0; border-bottom: 1px solid var(--rule); }
.fact:nth-child(odd) { border-right: 1px solid var(--rule); padding-right: 26px; }
.fact:nth-child(even) { padding-left: 26px; }
.fact dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); }
.fact dd { margin: 7px 0 0; font-family: var(--mono); font-size: 15.5px; text-align: left; letter-spacing: -0.01em; }
.fact dd a { font-size: 13px; }

/* the rental option is a product, not a footnote */
.rentblock { margin-top: 18px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 2px; }
.rentblock .rlabel { display: flex; align-items: baseline; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #8E968F; }
.rentblock .rprice { font-family: var(--mono); font-size: 1.7rem; color: #fff; letter-spacing: -0.04em; margin-top: 8px; }
.rentblock .rprice em { font-style: normal; font-size: .82rem; color: #8E968F; letter-spacing: 0; margin-left: 4px; }
.rentblock p { font-size: 12.5px; color: #8E968F; margin-top: 6px; }

/* trust marks belong on the deal, not in a box beside it */
.dealtrust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); text-align: center; }
.dealtrust div { font-size: 11px; line-height: 1.3; color: #8E968F; }
.dealtrust svg { width: 17px; height: 17px; margin: 0 auto 7px; color: #6FB392; }

/* bars read a twelve-month series better than a hairline does */
.bar { fill: var(--tint); transition: fill .15s var(--ease); }
.bar--up { fill: var(--moss); }
.barhit { fill: transparent; cursor: crosshair; }
.barhit:hover + .bar, .bar:hover { fill: var(--moss-d); }

/* what every listing includes, said once, plainly */
.includes { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 60px; align-items: center; }
.inc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.inc { border: 1px solid var(--rule); border-radius: var(--r); padding: 22px; background: var(--paper); }
.inc-ico { width: 38px; height: 38px; border-radius: 3px; background: var(--tint); color: var(--moss); display: grid; place-items: center; margin-bottom: 16px; }
.inc-ico svg { width: 20px; height: 20px; }
.inc h3 { font-size: .98rem; letter-spacing: -0.015em; }
.inc p { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }

/* who is actually looking, by country */
.geo { border-top: 1px solid var(--rule); padding: 24px 26px 28px; }
.geo-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; }
.geo-head h3 { font-size: .98rem; letter-spacing: -0.015em; }
.geo-head span { font-size: 13px; color: var(--ink-2); }
.geo-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 52px; }
.geo-row { display: grid; grid-template-columns: 118px minmax(0, 1fr) 40px; align-items: center; gap: 14px; }
.geo-row span { font-size: 13.5px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-bar { height: 7px; border-radius: 1px; background: var(--tint); overflow: hidden; }
.geo-bar i { display: block; height: 100%; background: var(--moss); }
.geo-row--other .geo-bar i { background: var(--ink-3); }
.geo-row b { font-family: var(--mono); font-weight: 400; font-size: 13px; text-align: right; font-variant-numeric: tabular-nums; }

/* the deal, docked once the card above it has scrolled away */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: var(--ink); color: #fff;
  box-shadow: 0 -14px 34px rgba(29,33,31,.16);
  transform: translateY(102%); transition: transform .3s var(--ease);
}
.dock.is-on { transform: none; }
.dock-in { display: flex; align-items: center; gap: 30px; padding: 13px 0; }
.dock-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.dock-mark { display: block; width: 30px; height: 30px; color: var(--tint); flex: none; }
.dock-mark svg { width: 100%; height: 100%; }
.dock-name { font-family: var(--mono); font-size: 15px; letter-spacing: -0.03em; white-space: nowrap; }
.dock-name .tld { color: #8E968F; }
.dock-fig { display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.dock-fig small { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #8E968F; }
.dock-fig b { font-family: var(--mono); font-weight: 400; font-size: 16px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.dock-fig i { font-style: normal; font-size: 11.5px; color: #8E968F; margin-left: 2px; }
.dock-fig--rent { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); }
.dock-acts { display: flex; gap: 9px; margin-left: auto; }
.dock-acts .btn { padding: 12px 22px; font-size: 14px; }
.dock-acts .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.dock-acts .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.55); color: #fff; }

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
  :root { --gut: 30px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .hero-brand { aspect-ratio: 4 / 3; max-width: 520px; }
  .wall { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .brandcard { grid-column: span 3; }
  .brandcard--feature { grid-column: span 6; grid-row: auto; min-height: 320px; }
  .wall.is-filtered .brandcard { grid-column: span 3 !important; }
  .detail { grid-template-columns: 1fr; gap: 44px; }
  .deal { position: static; }
  .dealcard, .seller, .tbadges { max-width: 440px; }
  .interest { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .sell-in { grid-template-columns: 1fr; gap: 40px; }
  .foot-in { grid-template-columns: repeat(3, 1fr); }
  .similar-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .band { padding: 70px 0; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 20px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.17); }
  .step:first-child { border-top: 0; padding-top: 0; }
  .board { padding: 32px; }
  .dock-fig--rent { display: none; }
  .geo-list { grid-template-columns: 1fr; gap: 11px; }
  .previewport { height: 300px; }
  .mini { transform: scale(.38); }
}

@media (max-width: 640px) {
  :root { --gut: 20px; }
  body { font-size: 16px; }
  .wall, .wall.is-filtered { grid-template-columns: 1fr; }
  .brandcard, .brandcard--feature, .wall.is-filtered .brandcard { grid-column: span 1 !important; min-height: 260px; }
  .similar-wall { grid-template-columns: 1fr; }
  .head-in { height: 62px; gap: 14px; }
  .sec-head { flex-direction: column; align-items: flex-start; }
  .tiles { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; }
  .foot-in { grid-template-columns: repeat(2, 1fr); }
  .search { flex-wrap: wrap; }
  .search input { flex-basis: 100%; }
  .search .btn { width: 100%; margin: 0 -1px -1px -1px; }
  .dock-in { gap: 16px; padding: 11px 0; }
  .dock-id { display: none; }
  .dock-acts .btn--ghost { display: none; }
  .dock-acts .btn { padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
