@font-face {
  font-family: Bricolage;
  src: url("/assets/fonts/bricolage-grotesque.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("/assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --cotton: #f6f4ee;
  --ink: #1f2226;
  --brown: #4a2e1b;
  --muted: #655e58;
  --crimson: #9e2a2b;
  --amber: #d4a373;
  --line: #d9d4ca;
  --display: Bricolage, Georgia, serif;
  --body: Manrope, "Segoe UI", sans-serif;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cotton);
  color: var(--ink);
  font: 400 16px/1.65 var(--body);
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--crimson);
  color: var(--cotton);
}
html {
  scrollbar-color: var(--muted) var(--cotton);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
a:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 6px;
  border-radius: 3px;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.wrap {
  width: min(1192px, calc(100% - 96px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: 10px;
  left: 12px;
  z-index: 5;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cotton);
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand-logo {
  display: block;
  width: 240px;
  height: auto;
}
.site-header nav {
  display: flex;
  gap: 34px;
  align-items: center;
  font-size: 14px;
  font-weight: 650;
}
.site-header nav a {
  padding-block: 10px;
}
.site-header nav a:hover {
  color: var(--crimson);
}
.nav-contact {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}
.nav-contact svg {
  width: 17px;
  height: 17px;
}
.hero h1 span {
  color: var(--crimson);
}
.hero-description {
  font-size: 19px;
  line-height: 1.7;
  color: var(--muted);
  margin-top: 26px;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  min-height: 55px;
  padding: 14px 23px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 7px;
  transition: background 0.2s ease;
}
.primary {
  background: var(--crimson);
  color: var(--cotton);
  margin-top: 30px;
}
.primary:hover {
  background: #7e2022;
}
.button svg {
  width: 19px;
  height: 19px;
}
.location {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.location svg {
  width: 15px;
  height: 15px;
}
.projects {
  padding-top: 24px;
  padding-bottom: 36px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 36px;
}
.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.project {
  min-width: 0;
}
.project-art {
  position: relative;
  display: flex;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: background 0.25s ease;
}
.project-art:focus-visible {
  outline-offset: 6px;
}
.rvlry-art {
  background: var(--crimson);
  color: var(--cotton);
}
.rvlry-art:hover {
  background: #8d2426;
}
.art-edge {
  position: absolute;
  top: 24px;
  left: 27px;
  font-size: 11px;
  letter-spacing: 0.08em;
  font-weight: 650;
}
.rvlry-logo {
  font-family: var(--display);
  font-size: clamp(72px, 7.5vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  z-index: 1;
}
.logo-period {
  color: var(--amber);
}
.art-tagline {
  font-size: 12px;
  margin-top: 11px;
  z-index: 1;
}
.art-open {
  position: absolute;
  bottom: 23px;
  right: 25px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f6f4ee60;
  border-radius: 50%;
  transition: background 0.2s ease;
}
.art-open svg {
  width: 17px;
  height: 17px;
}
.project-art:hover .art-open {
  background: #f6f4ee18;
}
.rvlry-diamond {
  position: absolute;
  width: 90px;
  height: 90px;
  border: 1px solid #f6f4ee22;
  transform: rotate(45deg);
}
.diamond-one {
  bottom: -26px;
  left: 6px;
}
.diamond-two {
  top: -22px;
  right: -20px;
  width: 128px;
  height: 128px;
}
.quiz-art {
  background: var(--ink);
  color: var(--cotton);
}
.quiz-art:hover {
  background: #2c3035;
}
.quiz-art .art-edge {
  color: #d0c9bc;
}
.quiz-logo {
  position: relative;
  font-family: var(--display);
  font-size: 68px;
  font-weight: 750;
  line-height: 0.85;
  letter-spacing: -0.035em;
  padding-right: 60px;
  padding-top: 12px;
}
.quiz-logo > span {
  color: var(--amber);
}
.quiz-star {
  position: absolute;
  top: 30px;
  right: -18px;
  width: 85px;
  height: 85px;
  color: var(--amber);
  stroke-width: 9;
  stroke-linecap: butt;
}
.quiz-art .art-tagline {
  margin-top: 20px;
  color: #d0c9bc;
}
.project-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 18px;
}
.project h3 {
  font-size: 29px;
  letter-spacing: -0.025em;
}
.project-kind {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 11px;
  white-space: nowrap;
}
.project > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
  max-width: 59ch;
  line-height: 1.8;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 750;
  min-height: 40px;
}
.text-link svg {
  width: 18px;
  height: 18px;
}
.text-link:hover {
  color: var(--crimson);
  text-decoration: underline;
}
.coming-soon {
  font-size: 12px;
  color: var(--muted);
}
.about-section {
  background: #ebe7de;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-block: 36px;
}
.about h2 {
  font-size: 47px;
}
.about h2 span {
  color: var(--crimson);
}
.about-copy {
  font-size: 14px;
  color: var(--muted);
  max-width: 57ch;
}
.about-copy p:first-child {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 12px;
}
.about-copy p + p {
  margin-top: 16px;
}
.email-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--crimson);
  margin-top: 14px;
  overflow-wrap: anywhere;
}
.email-link:hover {
  text-decoration: underline;
}
.email-link svg {
  width: 20px;
  height: 20px;
}
.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.footer-brand {
  display: block;
  width: 150px;
  height: auto;
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .project-grid {
    gap: 28px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .about {
    gap: 40px;
  }
  .about h2 {
    font-size: 40px;
  }
  .project-art {
    height: 220px;
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 72px;
    gap: 15px;
  }
  .brand-logo {
    width: 160px;
  }
  .site-header nav {
    gap: 18px;
    font-size: 12px;
  }
  .site-header .nav-contact {
    display: none;
  }
  .hero-description {
    font-size: 16px;
    margin-top: 21px;
  }
  .primary {
    margin-top: 25px;
  }
  .projects {
    padding-top: 20px;
    padding-bottom: 28px;
  }
  .section-heading {
    display: block;
    margin-bottom: 18px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .project-art {
    height: 220px;
  }
  .rvlry-logo {
    font-size: 94px;
  }
  .art-edge {
    font-size: 10px;
    left: 22px;
    top: 22px;
  }
  .project-heading {
    margin-top: 16px;
  }
  .project h3 {
    font-size: 27px;
  }
  .project > p {
    margin-top: 12px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 28px;
  }
  .about h2 {
    font-size: 40px;
  }
  .about-copy {
    font-size: 14px;
  }
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 96px;
    padding-block: 16px;
  }
  .email-link {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  .button,
  .project-art,
  .art-open {
    transition: none;
  }
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 32px 20px;
}
.hero h1 {
  font-size: clamp(38px, 4.2vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero .location {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}
.project-availability {
  margin-top: 14px;
}
@media (max-width: 700px) {
  .hero {
    display: block;
    padding-block: 24px 16px;
  }
  .hero h1 {
    font-size: clamp(36px, 8vw, 48px);
  }
  .hero .location {
    margin-top: 12px;
  }
  .project-grid {
    gap: 28px;
  }
}
