@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --chalkboard: #243028;
  --chalkboard-deep: #1A221C;
  --chalk: #F4EFE4;
  --chalk-muted: #D4CBBB;
  --paper: #F6F1E8;
  --card: #FBF7F0;
  --ink: #2A241C;
  --muted: #6F675C;
  --line: #E4D9C8;
  --terracotta: #C45C3E;
  --terracotta-hover: #A94B31;
  --coffee: #6B3F2A;
  --sun: #F5D24A;
  --shadow: 0 8px 24px rgba(42, 36, 28, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 400;
}

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

a {
  color: inherit;
}

/* ----- Cheerful top stripe ----- */
.top-stripe {
  background: var(--sun);
  color: var(--ink);
  text-align: center;
  padding: 0.55rem 1.25rem 0.72rem;
  position: relative;
}

.top-stripe p {
  margin: 0;
  font-weight: 650;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.top-stripe::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: linear-gradient(
    90deg,
    #e36a4f 0%,
    #f5d24a 18%,
    #e2ce76 34%,
    #9ec8b8 50%,
    #9ec1d2 66%,
    #beacd2 82%,
    #e4aab2 100%
  );
}

/* ----- Header / hero on chalkboard ----- */
.site-header {
  background: var(--chalkboard);
  color: var(--chalk);
}

.bar {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  column-gap: 0.75rem;
  padding: 0.85rem 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  color: var(--chalk);
}

.logo span {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-muted);
  margin-top: 0.15rem;
}

.draft-tag {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-muted);
  border: 1px solid rgba(244, 239, 228, 0.28);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  gap: 1.15rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.site-header nav a {
  color: var(--chalk);
  text-decoration: none;
  opacity: 0.88;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  text-align: center;
  padding: 2.4rem 1.25rem 2.8rem;
  max-width: 44rem;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk-muted);
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 450;
  font-size: clamp(1.7rem, 4.4vw, 2.75rem);
  line-height: 1.22;
  color: var(--chalk);
}

.chalk-rule {
  width: 4.5rem;
  height: 2px;
  margin: 1.25rem auto 0;
  background: linear-gradient(90deg, transparent, var(--chalk-muted), transparent);
  border: 0;
  opacity: 0.85;
}

/* ----- Product grid ----- */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

.section-returns {
  padding-top: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  font-size: 1.55rem;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.35rem;
}

.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-image {
  background: #fff;
  aspect-ratio: 1 / 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.95rem 1.05rem 1.1rem;
  flex: 1;
}

.product h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 520;
  font-size: 1.08rem;
  line-height: 1.3;
  flex: 1;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.price {
  margin: 0;
  font-weight: 650;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.colors {
  display: flex;
  gap: 0.3rem;
}

.swatch {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  border: 1px solid rgba(42, 36, 28, 0.18);
}

.buy {
  display: block;
  margin-top: 0.55rem;
  text-align: center;
  text-decoration: none;
  background: var(--terracotta);
  color: #fffaf5;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  min-height: 44px;
}

.buy:hover,
.buy:focus-visible {
  background: var(--terracotta-hover);
}

.note {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ----- About, shipping & returns ----- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem 1.6rem;
}

.panel h2 {
  margin: 0 0 0.7rem;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 550;
  font-size: 1.4rem;
}

.draft-label {
  display: inline-block;
  margin-left: 0.4rem;
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-weight: 650;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--coffee);
  border: 1px solid #d8b7a2;
  background: #f6e6db;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  vertical-align: middle;
}

.panel p {
  margin: 0 0 0.85rem;
  color: #3d372f;
}

.panel p:last-child {
  margin-bottom: 0;
}

.panel a {
  color: var(--coffee);
  text-underline-offset: 3px;
}

.panel a:hover,
.panel a:focus-visible {
  color: var(--terracotta);
}

/* ----- Footer ----- */
footer {
  background: var(--chalkboard-deep);
  color: var(--chalk-muted);
  text-align: center;
  padding: 1.3rem 1.25rem 1.5rem;
  font-size: 0.88rem;
}

footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  margin-top: 0.55rem;
}

.footer-links a {
  color: var(--chalk);
  text-decoration: none;
  opacity: 0.88;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ----- Layout breakpoints ----- */
@media (min-width: 560px) {
  .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
  }

  .bar {
    grid-template-columns: 1fr auto 1fr;
    padding: 0.95rem 1.75rem;
  }

  .site-header nav {
    justify-self: center;
  }

  .draft-tag {
    justify-self: end;
  }

  .logo {
    font-size: 1.35rem;
  }

  .section {
    padding: 3rem 1.75rem;
  }

  .section-returns {
    padding-top: 0;
  }
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .hero {
    padding: 3.1rem 1.75rem 3.4rem;
  }

  .bar {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .site-header nav {
    gap: 1.35rem;
  }
}

@media (max-width: 559px) {
  .site-header nav {
    display: none;
  }
}
