@font-face {
  font-family: "Rubik";
  src: url("assets/rubik.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Space Mono";
  src: url("assets/space-mono-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0a0a0a;
  --paper: #fffdfa;
  --cream: #f6f3ee;
  --yellow: #fcd200;
  --pink: #ffbdff;
  --green: #08b8a8;
  --purple: #9956ef;
  --muted: #565656;
  --line: #0a0a0a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Rubik", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

.container {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(10, 10, 10, 0.18);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: "Space Mono", monospace;
  font-size: 16px;
  letter-spacing: -0.04em;
}

.logo img {
  width: 24px;
  height: 24px;
}

.maker-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-weight: 650;
}

.maker-link svg,
.button svg,
.text-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.maker-link:hover svg,
.button:hover svg,
.text-link:hover svg {
  transform: translateX(4px);
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: hidden;
  padding: 124px 0 0;
  background:
    linear-gradient(rgba(255, 253, 250, 0.58), rgba(255, 253, 250, 0.58)),
    linear-gradient(135deg, var(--paper) 0%, #f8f4ff 57%, #fff8d5 100%);
}

.hero-grid {
  min-height: 700px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(430px, 0.96fr);
  align-items: center;
  gap: 80px;
  padding-bottom: 74px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* Prominent opening announcement, using the existing brand palette. */
.hero-copy .eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px 18px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 2px 3px 0 var(--ink);
  font-family: "Rubik", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy .eyebrow-badge span {
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 1px 1px 0 var(--ink);
}

.hero h1 {
  max-width: 750px;
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  display: inline-block;
  font-style: normal;
  white-space: nowrap;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -1.5%;
  right: -1%;
  bottom: 4%;
  height: 25%;
  border-radius: 50%;
  background: var(--pink);
  transform: rotate(-1.2deg);
}

.hero-text {
  max-width: 680px;
  display: grid;
  gap: 11px;
  margin: 30px 0;
  color: #3f3f3f;
  font-size: 17px;
  line-height: 1.56;
}

.hero-text p:last-child {
  max-width: 620px;
  color: var(--muted);
  font-size: 15px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 21px;
  border: 1.5px solid var(--ink);
  border-radius: 9px;
  font-weight: 650;
  box-shadow: 2px 3px 0 var(--ink);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.button:hover {
  transform: translate(1px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

.button-primary {
  background: var(--yellow);
}

.button-secondary {
  background: #fff;
}

.button:focus-visible,
.maker-link:focus-visible,
.text-link:focus-visible,
.footer-links a:focus-visible,
.footer-bottom a:focus-visible,
.logo:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 510px);
  height: 610px;
  justify-self: end;
}

.visual-card {
  position: absolute;
  overflow: hidden;
  border: 1.5px solid var(--ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: 8px 10px 0 var(--ink);
}

.visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
}

.visual-card figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 13px 16px;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.08em;
}

.visual-card-main {
  top: 5px;
  right: 0;
  width: 72%;
  height: 535px;
  transform: rotate(2.5deg);
}

.visual-card-main img {
  object-position: center 48%;
}

.visual-card-small {
  left: 0;
  bottom: 9px;
  z-index: 2;
  width: 52%;
  height: 245px;
  transform: rotate(-4deg);
}

.visual-card-small img {
  object-position: 54% center;
}

.visual-sticker {
  position: absolute;
  z-index: 4;
  top: 56px;
  left: 46px;
  width: 91px;
  height: 91px;
  display: grid;
  place-content: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  line-height: 1.05;
  text-align: center;
  transform: rotate(-9deg);
}

.visual-label {
  position: absolute;
  z-index: 4;
  right: -24px;
  bottom: 79px;
  padding: 10px 15px;
  border: 1px solid var(--ink);
  border-radius: 99px;
  background: var(--green);
  box-shadow: 2px 3px 0 var(--ink);
  font-family: "Space Mono", monospace;
  font-size: 9px;
  transform: rotate(6deg);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.45;
  filter: blur(1px);
}

.hero-orb-one {
  top: -110px;
  right: 6%;
  width: 330px;
  height: 330px;
  background: var(--pink);
}

.hero-orb-two {
  left: -110px;
  bottom: 110px;
  width: 230px;
  height: 230px;
  background: var(--yellow);
}

.hero-ticker {
  min-width: 110%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 14px 32px;
  border-block: 1px solid var(--ink);
  background: var(--yellow);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  transform: rotate(-1deg) translateX(-4%);
  white-space: nowrap;
}

.hero-ticker i {
  font-style: normal;
}

.directions {
  padding: 120px 0 130px;
  background: var(--paper);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 58px;
}

.section-heading .eyebrow {
  color: var(--purple);
}

.section-heading h2 {
  max-width: 760px;
  font-size: clamp(46px, 5.4vw, 74px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.055em;
  text-align: right;
}

.direction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.direction {
  position: relative;
  min-height: 470px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 31px 34px 34px;
  border: 1.5px solid var(--ink);
  border-radius: 30px;
  box-shadow: 6px 8px 0 var(--ink);
}

.direction-buyer {
  background: var(--green);
}

.direction-maker {
  background: var(--pink);
}

.direction-number {
  font-family: "Space Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
}

.direction-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  margin-top: auto;
  padding-top: 112px;
}

.direction h3 {
  max-width: 520px;
  margin-bottom: 20px;
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.direction p {
  max-width: 490px;
  font-size: 16px;
  line-height: 1.55;
}

.text-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 27px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 650;
}

.direction-mark {
  position: absolute;
  top: 58px;
  right: 34px;
  font-size: 86px;
  line-height: 1;
  transform: rotate(8deg);
}

.direction-heart {
  top: 50px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--ink);
}

.direction-heart img {
  width: 43px;
  height: 43px;
}

.site-footer {
  padding: 68px 0 25px;
  color: #fff;
  background: var(--ink);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: start;
  gap: 50px;
  padding-bottom: 68px;
}

.logo-inverse {
  color: #fff;
}

.footer-message {
  max-width: 700px;
  font-size: clamp(33px, 3.6vw, 50px);
  font-weight: 550;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  font-size: 14px;
}

.footer-links a {
  border-bottom: 1px solid #666;
  padding-bottom: 3px;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px solid #333;
  color: #888;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-top: 44px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-visual {
    width: min(620px, 90%);
    justify-self: center;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-top: 20px;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .header-inner {
    min-height: 64px;
  }

  .maker-link {
    font-size: 14px;
  }

  .hero {
    padding-top: 98px;
  }

  .hero-grid {
    min-height: auto;
    gap: 42px;
    padding-top: 0;
    padding-bottom: 58px;
  }

  .hero-copy .eyebrow-badge {
    padding: 11px 15px;
    font-size: 13px;
  }

  .hero h1 {
    font-size: clamp(32px, 8.9vw, 44px);
    line-height: 1.08;
  }

  .hero-text {
    margin: 24px 0 27px;
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    min-height: 56px;
    justify-content: space-between;
  }

  .hero-visual {
    width: 100%;
    height: 340px;
  }

  .visual-card-main {
    right: 3%;
    width: 65%;
    height: 310px;
    border-radius: 20px;
    box-shadow: 5px 6px 0 var(--ink);
  }

  .visual-card-small {
    left: 2%;
    width: 48%;
    height: 145px;
    border-radius: 17px;
    box-shadow: 4px 5px 0 var(--ink);
  }

  .visual-sticker {
    top: 26px;
    left: 17px;
    width: 67px;
    height: 67px;
    font-size: 8px;
  }

  .visual-label {
    right: 0;
    bottom: 50px;
  }

  .hero-ticker {
    justify-content: flex-start;
    gap: 20px;
    font-size: 9px;
  }

  .directions {
    padding: 82px 0 92px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 44px;
  }

  .direction-grid {
    grid-template-columns: 1fr;
  }

  .direction {
    min-height: 430px;
    padding: 25px 24px 27px;
    border-radius: 23px;
    box-shadow: 4px 6px 0 var(--ink);
  }

  .direction-content {
    padding-top: 96px;
  }

  .direction h3 {
    max-width: 100%;
    font-size: clamp(29px, 7.7vw, 36px);
  }

  .direction p {
    font-size: 15px;
  }

  .direction-mark {
    top: 50px;
    right: 24px;
    font-size: 68px;
  }

  .direction-heart {
    width: 64px;
    height: 64px;
  }

  .direction-heart img {
    width: 34px;
    height: 34px;
  }

  .site-footer {
    padding-top: 50px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 48px;
  }

  .footer-links {
    align-items: flex-start;
  }

  .footer-bottom {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
