@font-face {
  font-family: "Journey Levels";
  src: url("/assets/fonts/JourneyLevels-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Journey Levels";
  src: url("/assets/fonts/JourneyLevels-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("/assets/fonts/GlacialIndifference-Regular.woff2") format("woff2");
  unicode-range: U+0000-003F, U+0041-FFFF;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Glacial Indifference";
  src: url("/assets/fonts/GlacialIndifference-Bold.woff2") format("woff2");
  unicode-range: U+0000-003F, U+0041-FFFF;
  font-weight: 700;
  font-display: swap;
}

:root {
  --lavender: #cdacdd;
  --night: #152b30;
  --iris: #54d5e2;
  --white: #ffffff;

  --heading: "Journey Levels", "Marker Felt", "Chalkboard SE", system-ui, sans-serif;
  --body: "Glacial Indifference", "Century Gothic", "Avenir Next", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--night);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--night);
  outline-offset: 3px;
}
.hero :focus-visible,
.foot :focus-visible {
  outline-color: var(--iris);
}

.skip {
  position: absolute;
  left: 8px;
  top: -100px;
  padding: 8px 14px;
  background: var(--white);
  color: var(--night);
  z-index: 10;
}
.skip:focus { top: 8px; }

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

.hero {
  background: var(--night);
  color: var(--white);
  padding: clamp(28px, 5vw, 48px) 0 clamp(40px, 6vw, 56px);
}

.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.hero__hello {
  margin: 0;
  padding-top: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.hero__logo {
  width: clamp(180px, 42vw, 400px);
  margin-right: calc(var(--gutter) * -0.5);
}

.hero__title {
  margin: clamp(24px, 4vw, 40px) 0 clamp(36px, 5vw, 48px);
  max-width: 11ch;
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.75rem, 7.4vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.hero__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero__nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--white);
  font-size: 0.9375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.hero__nav a:hover {
  background: var(--lavender);
  border-color: var(--lavender);
  color: var(--night);
}

.lavender {
  background-color: var(--lavender);
  background-image: url("/assets/img/texture.jpg");
  background-size: 1000px auto;
  background-blend-mode: multiply;
}

.section {
  padding: clamp(40px, 6vw, 64px) 0;
  scroll-margin-top: 0;
}

.section__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  color: var(--night);
}

.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 6vw, 72px);
}

.product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product__mark {
  width: min(100%, 360px);
  margin-left: -8px;
}

.product p {
  margin: 8px 0 20px;
  max-width: 38ch;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 18px;
  align-self: center;
  border: 2px solid var(--iris);
  border-radius: 999px;
  background: var(--white);
  color: var(--night);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms ease;
}
.pill:hover { background: var(--iris); }

.product .pill { align-self: auto; margin-left: clamp(0px, 8vw, 96px); }

#products { padding-bottom: clamp(56px, 10vw, 120px); }

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.about__story p { margin: 0 0 1em; }

.manifesto {
  margin: 0 0 1em;
  padding-left: 1.6em;
}

.people {
  list-style: none;
  margin: 0;
  padding: clamp(0px, 6vw, 80px) 0 0;
  display: grid;
  gap: 40px;
}

.person {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 16px;
  align-items: start;
}

.person__art {
  background: var(--night);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 10px;
  clip-path: polygon(0 4%, 8% 0, 22% 3%, 40% 0, 60% 2%, 78% 0, 100% 3%, 100% 100%, 0 100%);
}
.person__art img { height: 100%; width: auto; }

.person__name {
  margin: 0 0 4px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
}

.person p { margin: 0; font-size: 1rem; }

.contact { background: var(--white); }

.contact__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.contact__list {
  list-style: none;
  margin: clamp(16px, 4vw, 56px) 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  font-size: 1.0625rem;
}

.contact__list a {
  display: inline-block;
  padding: 2px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(21, 43, 48, 0.5);
  overflow-wrap: anywhere;
}
.contact__list a:hover { border-bottom-color: var(--iris); }

.contact__art {
  background: var(--night);
  border-radius: 32px;
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  place-items: center;
  max-width: 420px;
  justify-self: end;
  width: 100%;
}
.contact__art img { width: 78%; }

@media (max-width: 760px) {
  .hero__top { flex-direction: column-reverse; gap: 16px; }
  .hero__logo { margin-right: 0; width: min(260px, 70vw); }
  .hero__nav { grid-template-columns: 1fr; }
  .products,
  .about,
  .contact__grid { grid-template-columns: 1fr; }
  .product .pill { margin-left: 0; }
  .people { padding-top: 0; }
  .person { grid-template-columns: 84px 1fr; }
  .contact__art { justify-self: center; max-width: 280px; }
}

.foot {
  background: var(--night);
  color: var(--white);
  padding: clamp(32px, 5vw, 48px) 0;
  font-size: 0.9375rem;
}

.foot__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
}

.foot__mark { width: 140px; }

.foot p { margin: 0; flex: 1 1 auto; }

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.foot__nav a {
  display: inline-block;
  padding: 4px 0;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.foot__nav a:hover { border-bottom-color: var(--iris); }
