/* Woro Group Inc. — worogroup.ca */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f6f2;
  --ink: #10261f;
  --spruce: #1e5a47;
  --muted: #4b6157;
  --mist: #d5e0d8;
  --blaze: #f4b41a;

  --display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --measure: 34rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

a {
  color: var(--spruce);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}
a:hover {
  color: var(--ink);
}
a:focus-visible {
  outline: 3px solid var(--blaze);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Header */

.masthead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.masthead nav ul {
  display: flex;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.masthead nav a {
  color: var(--ink);
  text-decoration: none;
}
.masthead nav a:hover {
  text-decoration: underline;
}

/* Hero */

.hero {
  padding-top: clamp(2rem, 7vw, 5.5rem);
}

.hero h1 {
  margin: 0;
  max-width: 13ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.75rem, 8.4vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero p {
  max-width: var(--measure);
  margin: 1.75rem 0 0;
  font-size: 1.25rem;
  color: var(--muted);
}

.trail {
  display: block;
  width: 100%;
  height: auto;
  margin-top: clamp(1.5rem, 4vw, 3rem);
}
.trail .ground {
  fill: var(--mist);
}
.trail .line {
  fill: none;
  stroke: var(--spruce);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.trail .stop circle {
  fill: var(--paper);
  stroke: var(--spruce);
  stroke-width: 5;
}
.trail .stop text {
  font-family: var(--display);
  font-weight: 600;
  font-size: 54px;
  fill: var(--ink);
  text-anchor: middle;
}
.trail .summit rect {
  fill: var(--blaze);
}
.trail .summit text {
  font-size: 84px;
  font-weight: 800;
}

@media (prefers-reduced-motion: no-preference) {
  .trail .line {
    animation: walk 1.6s cubic-bezier(0.6, 0, 0.3, 1) 0.2s both;
  }
  .trail .stop {
    animation: arrive 0.3s ease-out both;
  }
  .trail .stop:nth-of-type(1) { animation-delay: 0.5s; }
  .trail .stop:nth-of-type(2) { animation-delay: 0.95s; }
  .trail .stop:nth-of-type(3) { animation-delay: 1.4s; }
  .trail .stop:nth-of-type(4) { animation-delay: 1.8s; }
}
@keyframes walk {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}
@keyframes arrive {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sections */

.band {
  background: var(--mist);
}

.section {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.section > h2 {
  margin: 0 0 2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

/* Apps */

.apps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.app {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 1rem 3rem;
  padding: 2.25rem 0;
  border-top: 2px solid var(--ink);
}
.app:last-child {
  border-bottom: 2px solid var(--ink);
}

.app h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.025em;
}

.app p {
  max-width: var(--measure);
  margin: 0;
}

.app .status {
  margin-top: 1rem;
  color: var(--muted);
}
.app .status::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 1.1rem;
  margin-right: 0.6rem;
  vertical-align: -0.15rem;
  background: var(--blaze);
}

/* Company and contact */

.pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
}
.pair h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.pair p {
  max-width: var(--measure);
  margin: 0 0 1rem;
}
.pair .email {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}

/* Footer */

.colophon {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  font-size: 1rem;
  color: var(--muted);
}
.colophon p {
  margin: 0;
}

/* Text pages (privacy, not found) */

.prose {
  max-width: 40rem;
  padding-top: clamp(2rem, 6vw, 4rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.prose h1 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.prose .dated {
  margin: 0 0 2.5rem;
  color: var(--muted);
}
.prose h2 {
  margin: 2.5rem 0 0.5rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}
.prose p {
  margin: 0 0 1rem;
}

@media (max-width: 44rem) {
  body {
    font-size: 1.0625rem;
  }
  .app,
  .pair {
    grid-template-columns: minmax(0, 1fr);
  }
  .pair {
    gap: 2.5rem;
  }
  .hero p {
    font-size: 1.125rem;
  }
}
