/* Hallmark v2.0.0 · theme: cobalt 2/3 · genre: modern-minimal · shape: feature ledger · hero: split stage · signature: Deskplus mark */
/* Critique: pair the single large mark with a restrained product ledger. Keep the design usable at narrow widths. */
/* Waivers 44c, 77, 79, 81: the brief calls for a short launch page. The CSS plus visibly occupies its own panel. */

@import url("tokens.css");

*, *::before, *::after { box-sizing: border-box; }

html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
}

:where(h1, h2, p, dl, dd) { margin: 0; }

:where(h1, h2) {
  min-width: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.wrap {
  width: min(calc(100% - var(--gutter) * 2), var(--content-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5.5rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font: 700 2.2rem/1 var(--display);
  letter-spacing: -0.07em;
  text-decoration: none;
}

.wordmark-plus { color: var(--accent); }

.release-status {
  color: var(--secondary);
  font-size: 0.875rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.75rem);
  padding-block: clamp(3.25rem, 8vw, 7.5rem);
}

.hero h1 { font-size: clamp(3.6rem, 7.8vw, 6.75rem); }

.hero h1 span { display: block; }

.hero-copy p {
  margin-block: 1.6rem 1.65rem;
  color: var(--secondary);
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
}

.primary-link {
  display: inline-flex;
  align-items: center;
  min-height: 3.25rem;
  padding-inline: 1.225rem;
  border: 1px solid var(--accent-deep);
  border-radius: 0.4rem;
  background: var(--accent);
  box-shadow: 0 3px 0 var(--accent-deep);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.primary-link:hover { background: var(--accent-deep); }

.primary-link:active { box-shadow: 0 1px 0 var(--accent-deep); }

.plus-panel {
  display: grid;
  place-items: center;
  aspect-ratio: 1.08;
  border: 1px solid var(--rule);
  border-radius: 1.125rem;
  background: radial-gradient(circle, var(--grid-ink) 1px, transparent 1.25px) center / 1.125rem 1.125rem,
    var(--panel);
}

.plus-mark {
  width: 59%;
  aspect-ratio: 1;
  background: var(--accent);
  clip-path: polygon(36% 0, 64% 0, 64% 36%, 100% 36%, 100% 64%, 64% 64%, 64% 100%, 36% 100%, 36% 64%, 0 64%, 0 36%, 36% 36%);
}

.overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.75rem);
  padding-block: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 1rem;
}

.overview h2 { max-width: 13ch; font-size: clamp(2.5rem, 5vw, 4.5rem); }

.overview-copy p {
  max-width: 35ch;
  margin-top: 1.25rem;
  color: var(--secondary);
}

.work-list > div {
  display: grid;
  grid-template-columns: minmax(0, 10rem) minmax(0, 1fr);
  gap: 0.75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--rule);
}

.work-list > div:last-child { border-bottom: 1px solid var(--rule); }

.work-list dt { font-weight: 650; }

.work-list dd { color: var(--secondary); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--rule);
  color: var(--secondary);
  font-size: 0.875rem;
}

.site-footer a { text-underline-offset: 0.25em; }

.site-footer a:hover { color: var(--accent-deep); }

@media (max-width: 53rem) {
  .hero, .overview { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { font-size: clamp(3.3rem, 10vw, 5.5rem); }
  .site-header { min-height: 4.5rem; }
  .plus-panel { max-width: 34rem; }
}

@media (max-width: 28rem) {
  .work-list > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; }
  .hero { gap: 1.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto; }
}
