/* Hallmark · shape: Corridor · genre: editorial · theme: reference-led (by request) · job: hire */
/* hero: Corridor · nav: raised wordmark · footer: social links · imagery: none · signature: the cobalt link mark · source: supplied Designknot reference */
/* Hallmark · pre-emit critique: P_ headline uses supplied name and destinations · H_ responsive spacing · E_ mail/social actions · S_ keyboard states · R_ small-screen stacking · V_ decorative accents */
@import url("./tokens.css");
@import url("./base.css");

:root {
  --color-paper: oklch(98.4% 0.012 285);
  --color-paper-2: oklch(97.4% 0.012 285);
  --color-ink: oklch(22% 0.035 255);
  --color-ink-2: oklch(35% 0.025 255);
  --color-muted: oklch(54% 0.018 255);
  --color-accent: oklch(49% 0.22 263);
  --color-accent-hi: oklch(43% 0.22 263);
  --color-focus: oklch(56% 0.2 263);
  --grid-size: 42px;
  --grid-line-opacity: 0.36;
  --grid-trail-opacity: 0.16;
  --shadow-card: 0 16px 28px -19px oklch(25% 0.05 263 / 0.25), 0 2px 4px oklch(25% 0.05 263 / 0.06);
  --font-display: "Funnel Display", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Funnel Sans", ui-sans-serif, system-ui, sans-serif;
}

html,
body {
  min-height: 100%;
  background: var(--color-paper);
}

.landing {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  overflow: clip;
  isolation: isolate;
  padding: 0 24px 26px;
}

.grid-trail {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.masthead {
  z-index: 2;
  display: flex;
  min-height: 86px;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 34px 20px;
  border-radius: 0 0 34px 34px;
  background: var(--color-light);
  box-shadow: 0 4px 12px -10px var(--color-ink);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
  white-space: nowrap;
}

.wordmark-mark {
  display: grid;
  width: 36px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-accent-ink);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.hero {
  display: flex;
  width: min(100%, 980px);
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 0 26px;
  text-align: center;
}

.hero-mark {
  display: block;
  margin-bottom: 36px;
  font-size: 54px;
  line-height: 1;
}

.intro {
  margin-bottom: 19px;
  color: var(--color-ink);
  font-size: 17px;
}

.hero h1 {
  max-width: 920px;
  color: var(--color-accent);
  font-size: clamp(3rem, 7vw, 5.15rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-copy {
  margin-top: 28px;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.75;
}

.primary-action {
  display: inline-flex;
  min-width: 310px;
  min-height: 86px;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  padding: 10px 28px 10px 12px;
  border-radius: var(--radius-pill);
  background: var(--color-ink);
  box-shadow: var(--shadow-cast);
  color: var(--color-accent-ink);
  font-size: 19px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}

.primary-action:hover {
  background: var(--color-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.primary-action:active {
  transform: translateY(0);
}

.action-icon {
  display: grid;
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-light);
  color: var(--color-accent);
}

.action-icon svg {
  width: 25px;
  height: 25px;
}

.action-arrow {
  width: 19px;
  height: 19px;
  margin-left: auto;
}

.footer {
  z-index: 1;
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
}

.footer-label {
  color: var(--color-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 13px;
}

.social-links a {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid color-mix(in oklab, var(--color-ink) 4%, transparent);
  border-radius: 50%;
  background: var(--color-light);
  box-shadow: 0 5px 12px -10px var(--color-ink);
  color: var(--color-muted);
  transition: color var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}

.social-links a:hover {
  color: var(--color-accent);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.social-links svg {
  width: 21px;
  height: 21px;
}

.site-link {
  justify-self: end;
  color: var(--color-muted);
  font-size: 14px;
  text-decoration-color: transparent;
  transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out);
}

.site-link:hover {
  color: var(--color-accent);
  text-decoration-color: currentColor;
}

.made-in {
  grid-column: 1 / -1;
  justify-self: center;
  padding-top: 5px;
  color: var(--color-muted);
  font-size: 13px;
}

.made-in span {
  color: var(--color-accent);
  font-size: 12px;
}

.accent {
  position: absolute;
  z-index: -1;
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-paper-2);
}

.accent span {
  display: block;
  width: 35px;
  height: 35px;
  border: 8px solid var(--color-shade-2);
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(25deg);
}

.accent-left {
  left: max(8%, calc((100vw - 1160px) / 2));
  bottom: 24%;
}

.accent-right {
  right: max(8%, calc((100vw - 1160px) / 2));
  bottom: 25%;
  transform: rotate(180deg);
}

.accent-right span {
  border-color: var(--spec-1);
  border-right-color: transparent;
}

@media (max-width: 700px) {
  .landing {
    min-height: 100svh;
    padding: 0 20px 20px;
  }

  .masthead {
    min-height: 72px;
    padding: 16px 22px;
    border-radius: 0 0 28px 28px;
  }

  .wordmark {
    gap: 9px;
    font-size: 16px;
  }

  .wordmark-mark {
    width: 32px;
    font-size: 15px;
  }

  .hero {
    padding: 54px 0 40px;
  }

  .hero-mark {
    margin-bottom: 30px;
    font-size: 46px;
  }

  .intro {
    margin-bottom: 15px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 11vw, 4.25rem);
  }

  .hero-copy {
    max-width: 34ch;
    margin-top: 20px;
    font-size: 17px;
    line-height: 1.65;
  }

  .desktop-break {
    display: none;
  }

  .primary-action {
    min-width: 272px;
    min-height: 74px;
    gap: 15px;
    margin-top: 38px;
    padding: 8px 23px 8px 9px;
    font-size: 17px;
  }

  .action-icon {
    width: 56px;
    height: 56px;
  }

  .footer {
    width: 100%;
    grid-template-columns: 1fr auto;
    gap: 10px 16px;
    padding-top: 10px;
  }

  .footer-label {
    grid-column: 1 / -1;
    text-align: center;
  }

  .social-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
  }

  .site-link {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    padding-top: 2px;
  }

  .social-links a {
    width: 48px;
    height: 48px;
  }

  .accent {
    width: 48px;
    height: 48px;
  }

  .accent span {
    width: 24px;
    height: 24px;
    border-width: 6px;
  }

  .accent-left {
    left: 5%;
    bottom: 25%;
  }

  .accent-right {
    right: 5%;
    bottom: 24%;
  }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.55rem;
  }

  .hero-mark {
    margin-bottom: 22px;
  }

  .primary-action {
    margin-top: 30px;
  }

  .accent {
    display: none;
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .grid-trail {
    display: none;
  }
}
