/* Honestish brand tokens + logo classes
   Mark: The asterisk. Drop this in once and use the custom properties everywhere. */

:root {
  --hns-ink: #1c1b19;
  --hns-mustard: #e3b23c;
  --hns-teal: #3f7d7b;
  --hns-stone: #e8e2d6;
  --hns-paper: #faf6ee;
  --hns-white: #ffffff;

  --hns-text: #1c1b19;
  --hns-text-muted: #6e675c;
  --hns-text-on-ink: #faf6ee;
  --hns-muted-on-ink: #a9a294;
  --hns-accent-deep: #a07714;

  --hns-font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hns-wordmark-tracking: -0.04em;

  --hns-radius: 0px;  /* everything — this brand has no rounded corners */
  --hns-radius-card: 0px;  /* cards and panels */
  --hns-radius-pill: 999px;  /* the asterisk strokes only */
  --hns-rule: 1px;
}

/* Wordmark — "Honest" heavy, "ish" regular. Never re-weight, never letterspace. */
.hns-wordmark {
  font-family: var(--hns-font);
  font-weight: 800;
  letter-spacing: var(--hns-wordmark-tracking);
  line-height: 1;
  color: var(--hns-text);
  white-space: nowrap;
}
.hns-wordmark span { font-weight: 400; }
.hns-wordmark--on-ink { color: var(--hns-text-on-ink); }

.hns-tagline {
  font-family: var(--hns-font);
  font-weight: 700;
  font-size: 0.26em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--hns-accent-deep);
}

/* The mark — The asterisk.
   Every part is a percentage of one square, so --hns-mark: 16px and 512px are one drawing.
   font-size tracks the size so em-based strokes scale with it. */
.hns-mark {
  --hns-mark: 64px;
  position: relative;
  flex: none;
  width: var(--hns-mark);
  height: var(--hns-mark);
  font-size: var(--hns-mark);
  border-radius: 50%;
  overflow: hidden;
  background: var(--hns-ink);
}
.hns-mark > * { position: absolute; box-sizing: border-box; }

.hns-mark__lit { left: 12%; top: 14%; width: 76%; height: 72%; background: var(--hns-mustard); clip-path: polygon(50% 2%, 39% 35%, 4% 35%, 32% 56%, 21% 90%, 50% 69%); }
.hns-mark__dim { left: 12%; top: 14%; width: 76%; height: 72%; background: var(--hns-teal); clip-path: polygon(50% 2%, 61% 35%, 96% 35%, 68% 56%, 79% 90%, 50% 69%); }

/* The mark already sits on ink. On paper, swap the disc — the star keeps its two tones. */
.hns-mark--on-ink { background: var(--hns-paper); }

/* One color, for embroidery, foil and single-plate print. */
.hns-mark--mono { background: var(--hns-text); }
.hns-mark--mono .hns-mark__lit { background: var(--hns-text-on-ink); }
.hns-mark--mono .hns-mark__dim { background: color-mix(in srgb, var(--hns-text-on-ink) 45%, var(--hns-text)); }

/* Below 32px — the star grows into the disc so both halves stay countable. */
.hns-mark--simple .hns-mark__lit,
.hns-mark--simple .hns-mark__dim { left: 6%; top: 9%; width: 88%; height: 82%; }

/* Lockups. Clear space on every side = 25% of the mark. */
.hns-lockup {
  display: flex;
  align-items: center;
  gap: 0.4em;
  font-size: 32px;
  text-decoration: none;
}
.hns-lockup .hns-mark { --hns-mark: 1.15em; }
.hns-lockup__text { display: flex; flex-direction: column; gap: 0.16em; }
.hns-lockup .hns-wordmark { font-size: 1em; }
.hns-lockup--stacked { flex-direction: column; align-items: flex-start; gap: 0.5em; }

/* Site chrome */
.hns-header {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 24px;
  background: var(--hns-white);
  border-bottom: var(--hns-rule) solid color-mix(in srgb, var(--hns-text) 16%, transparent);
}
.hns-header__nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-family: var(--hns-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hns-text-muted);
}
.hns-band { background: var(--hns-ink); }
.hns-footer { background: #faf6ee; color: var(--hns-muted-on-ink); }
.hns-rule { height: var(--hns-rule); border: 0; margin: 0; background: color-mix(in srgb, var(--hns-text) 18%, transparent); }
.hns-card {
  background: var(--hns-white);
  border: var(--hns-rule) solid color-mix(in srgb, var(--hns-text) 12%, transparent);
  border-radius: var(--hns-radius-card);
  padding: 20px;
}
.hns-input {
  font-family: var(--hns-font);
  font-size: 14px;
  padding: 10px 14px;
  border: var(--hns-rule) solid color-mix(in srgb, var(--hns-text) 22%, transparent);
  border-radius: var(--hns-radius);
  background: var(--hns-white);
  color: var(--hns-text);
}
.hns-input:focus-visible { outline: 2px solid var(--hns-accent-deep); outline-offset: 2px; }

/* Buttons and chips */
.hns-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--hns-font);
  font-size: 14px;
  font-weight: 700;
  border: var(--hns-rule) solid var(--hns-text);
  border-radius: var(--hns-radius-pill);
  background: var(--hns-text);
  color: var(--hns-text-on-ink);
  text-decoration: none;
  cursor: pointer;
}
.hns-btn:hover { background: color-mix(in srgb, var(--hns-text) 86%, #000); }
.hns-btn:active { background: color-mix(in srgb, var(--hns-text) 74%, #000); }
.hns-btn:focus-visible { outline: 2px solid var(--hns-accent-deep); outline-offset: 2px; }
.hns-btn--secondary { background: transparent; color: var(--hns-text); }
.hns-btn--secondary:hover { background: var(--hns-ink); }
.hns-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-family: var(--hns-font);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--hns-radius-pill);
  background: var(--hns-ink);
  color: var(--hns-text);
}

/* Partner / embed badge */
.hns-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--hns-ink);
  border: var(--hns-rule) solid color-mix(in srgb, var(--hns-text) 22%, transparent);
  border-radius: var(--hns-radius);
  font-family: var(--hns-font);
  text-decoration: none;
}
.hns-badge .hns-mark { --hns-mark: 30px; }
.hns-badge__lines { display: flex; flex-direction: column; line-height: 1.15; }
.hns-badge__title { font-size: 14px; font-weight: 800; letter-spacing: -0.01em; color: var(--hns-text); }
.hns-badge__sub { font-size: 9px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--hns-accent-deep); }

/* Links + selection */
a { color: var(--hns-text); text-decoration-color: var(--hns-accent-deep); }
a:hover { color: var(--hns-accent-deep); }
::selection { background: var(--hns-ink); color: var(--hns-text); }
