@font-face {
  font-family: "Pansa";
  src: url("/fonts/Pansa-Regular.otf") format("opentype"),
       url("/fonts/Pansa-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: optional;
}

@font-face {
  font-family: "Pansa Numbers";
  src: url("/fonts/PansaNumbers-Regular.otf") format("opentype"),
       url("/fonts/PansaNumbers-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.numbers {
  font-family: "Pansa Numbers", "Pansa", sans-serif;
}

@font-face {
  font-family: "Pansa Symbols";
  src: url("/fonts/Pansasymbols-Regular.otf") format("opentype"),
       url("/fonts/Pansasymbols-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.symbols {
  font-family: "Pansa Symbols", "Pansa", sans-serif;
}

:root {
  --blue: #304AE0;
  --red: #FF2D2D;
  --yellow: #FFD500;
  --green: #1FA855;
  --black: #111;
  --white: #fff;
  --gray: #999;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: var(--white);
}

body {
  font-family: "Fraunces", Georgia, serif;
  color: var(--black);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* wordmark + type */

.wordmark {
  font-family: "Pansa", sans-serif;
  font-weight: 400;
  color: var(--blue);
  font-size: clamp(2rem, 7vw, 6rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  user-select: none;
  text-decoration: none;
  display: inline-block;
}

.wordmark--small {
  font-size: clamp(1.1rem, 3vw, 1.6rem);
}

.wordmark--page {
  text-align: left;
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem;
}

.wordmark--red { color: var(--red); }
.wordmark--yellow { color: var(--yellow); }
.wordmark--blue { color: var(--blue); }
.wordmark--green { color: var(--green); }

/* header / top nav (present on every page) */

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-wrap {
  flex: 0 0 auto;
  width: clamp(4rem, 9vw, 6rem);
}

.nav-logo {
  width: 100%;
  height: auto;
  aspect-ratio: 445 / 594;
  display: block;
  transform-origin: 52% 49%;
  animation: spin 8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.top-nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
}

.nav-item {
  font-family: "Pansa", sans-serif;
  font-size: clamp(1rem, 2vw, 1.4rem);
  text-decoration: none;
  text-align: left;
}

.nav-item--red { color: var(--red); }
.nav-item--yellow { color: var(--yellow); }
.nav-item--blue { color: var(--blue); }
.nav-item--black { color: var(--black); }
.nav-item--green { color: var(--green); }

/* hero (home) */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.about {
  font-weight: 400;
  color: var(--black);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  line-height: 1.6;
  max-width: 34ch;
  text-align: left;
}

.about p + p {
  margin-top: 1em;
}

.about-brand {
  font-family: "Pansa", sans-serif;
  color: var(--blue);
}

/* illustration placeholder — hand-drawn artwork drops in here later */

.illustration-slot {
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 1 / 1;
  background: #f6f6f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.illustration-slot::before {
  content: "artwork";
}

/* generic inner page layout */

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
}

/* shop */

.shop-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.shop-card {
  flex: 1 1 14rem;
  display: block;
  padding: 1.5rem;
  background: #f6f6f6;
  text-decoration: none;
  color: var(--black);
}

.shop-card__title {
  font-family: "Pansa", sans-serif;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  display: inline-block;
  transition: transform 0.15s ease;
}

.shop-card:hover .shop-card__title {
  transform: scale(1.12);
}

.shop-card__title--red { color: var(--red); }
.shop-card__title--yellow { color: var(--yellow); }
.shop-card__title--blue { color: var(--blue); }

.shop-card__desc {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  line-height: 1.5;
}

/* forms */

.request-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 26rem;
  margin-top: 1.5rem;
}

.request-form label {
  font-family: "Pansa", sans-serif;
  font-size: 0.9rem;
  color: var(--black);
}

.form-hint {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--gray);
}

.request-form select,
.request-form input,
.request-form textarea {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1rem;
  padding: 0.6em 0.7em;
  border: none;
  background: #f0f0f0;
  color: var(--black);
}

.request-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.request-form button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.6em 1.4em;
  border: none;
  background: var(--black);
  color: var(--white);
  font-family: "Pansa", sans-serif;
  font-size: 1.1rem;
  cursor: pointer;
}

.request-form button:hover {
  opacity: 0.85;
}

.request-form button:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-error {
  color: var(--red);
  font-size: 0.9rem;
}

.confirmation {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  color: var(--blue);
}

.questions-box {
  max-width: 26rem;
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: #f6f6f6;
}

.questions-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.questions-box a {
  color: var(--blue);
  text-decoration: none;
}

.questions-box a:hover {
  opacity: 0.7;
}

/* faq */

.faq-list {
  margin: 0;
}

.faq-item {
  padding: 1.25rem 0;
}

.faq-item dt {
  font-family: "Pansa", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.faq-item dd {
  margin: 0.5rem 0 0;
  color: #333;
  line-height: 1.6;
}

.link-green {
  font-family: "Pansa", sans-serif;
  color: var(--green);
  text-decoration: none;
}

.link-green:hover {
  opacity: 0.7;
}

/* impact */

.impact-log {
  margin-top: 2rem;
  max-width: 34rem;
}

.impact-log__row {
  display: grid;
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3' fill='none' stroke='%23111' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: top;
  background-size: 20px 6px;
}

.impact-log__row:first-child {
  background-image: none;
}

.impact-log__row--head {
  font-family: "Pansa", sans-serif;
  color: var(--gray);
  font-size: 0.9rem;
}

.impact-log__empty {
  margin: 1.5rem 0 0;
  color: var(--gray);
  font-size: 0.95rem;
}

/* contact */

.contact-email {
  margin-top: 1.5rem;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
}

.contact-email a {
  font-family: "Pansa", sans-serif;
  text-decoration: none;
  color: var(--black);
}

.contact-email a:hover {
  opacity: 0.7;
}
