:root {
  --ivory: #f6f1e8;
  --terracotta: #c45c3e;
  --mustard: #c8962e;
  --charcoal: #1c1916;
  --muted: #5c534c;
  --line: rgba(28, 25, 22, 0.14);
  --pad: clamp(1.35rem, 4.4vw, 4.75rem);
  --serif: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;
  --sans: "Hind", "Noto Sans Devanagari", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: #f3d7a8;
  color: var(--charcoal);
}

:focus-visible {
  outline: 2px solid var(--charcoal);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  z-index: 30;
  left: var(--pad);
  top: 0.8rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--charcoal);
  color: var(--ivory);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: var(--pad);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: calc(1.05rem + env(safe-area-inset-top));
  padding-bottom: 1.05rem;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a,
.foot a {
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.7fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(100svh - 4.5rem);
  padding: clamp(2.6rem, 8vh, 5rem) var(--pad) clamp(2.8rem, 8vh, 5rem);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 40rem;
}

.kicker,
.eyebrow,
.brand-line {
  margin: 0;
  font-weight: 600;
}

.kicker,
.brand-line {
  color: var(--charcoal);
  font-size: 1.05rem;
}

.brand-line {
  margin-top: 0.35rem;
  color: var(--charcoal);
  font-weight: 500;
}

.hero h1,
.bazaar h2,
.contact h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 1rem;
  font-size: clamp(2.6rem, 5.4vw, 5.1rem);
  line-height: 1.25;
}

.line {
  display: block;
}

.line-mark {
  width: fit-content;
  max-width: 100%;
  background-image: linear-gradient(var(--mustard), var(--mustard));
  background-repeat: no-repeat;
  background-position: 0 96%;
  background-size: 3.4em 4px;
}

.lede,
.bazaar-copy p,
.contact p,
.notes p {
  margin: 0;
  color: var(--muted);
}

.lede {
  max-width: 36rem;
  margin-top: 1.2rem;
  font-size: 1.15rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  margin-top: 1.7rem;
  padding: 0.85rem 1.35rem;
  background: var(--charcoal);
  color: var(--ivory);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--terracotta);
  transform: translateY(-1px);
}

.still {
  position: relative;
  width: min(100%, 280px);
  height: min(42vh, 340px);
  justify-self: end;
  align-self: center;
}

.cloth,
.parcel,
.seed {
  position: absolute;
  display: block;
}

.cloth {
  left: 0;
  bottom: 8%;
  width: 78%;
  height: 46%;
  background: var(--terracotta);
}

.parcel {
  right: 0;
  top: 18%;
  width: 48%;
  height: 42%;
  border: 2px solid var(--charcoal);
  background: transparent;
}

.seed {
  left: 38%;
  top: 8%;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--mustard);
}

#bazaar,
#contact {
  scroll-margin-top: 5rem;
}

.bazaar,
.contact {
  padding-inline: var(--pad);
}

.bazaar {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-top: clamp(1rem, 3vh, 2rem);
  padding-bottom: clamp(4rem, 10vh, 6.5rem);
  border-top: 1px solid var(--line);
}

.eyebrow {
  color: var(--charcoal);
  font-size: 1rem;
}

.bazaar h2,
.contact h2 {
  margin-top: 0.45rem;
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 1.35;
}

.bazaar-copy p,
.contact p {
  margin-top: 0.9rem;
  max-width: 34rem;
  font-size: 1.12rem;
}

.notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notes li {
  padding: 1.15rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.notes li:last-child {
  border-bottom: 1px solid var(--line);
}

.notes h3 {
  margin: 0 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.35;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: clamp(4.2rem, 10vh, 6.5rem);
  padding-bottom: clamp(4.2rem, 10vh, 6.5rem);
  background: var(--charcoal);
  color: var(--ivory);
}

.contact .eyebrow {
  color: var(--mustard);
}

.contact p {
  color: #ddd6cc;
}

.contact .cta {
  background: var(--ivory);
  color: var(--charcoal);
}

.contact .cta:hover {
  background: #fff;
  color: var(--charcoal);
}

.mail {
  margin-top: 1.2rem;
  color: var(--ivory);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  border-bottom: 3px solid var(--mustard);
}

.mail:hover {
  color: var(--ivory);
}

.foot {
  padding-top: 1.15rem;
  padding-bottom: calc(1.3rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

@media (max-width: 860px) {
  .hero,
  .bazaar {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .still {
    order: -1;
    width: min(220px, 70vw);
    height: 200px;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cta {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .nav {
    gap: 0.9rem;
  }

  .wordmark {
    letter-spacing: 0.08em;
    font-size: 0.78rem;
  }
}

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

  .cta,
  .still span {
    transition: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy .kicker,
  .brand-line,
  .hero h1 .line,
  .lede,
  .hero .cta {
    animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .brand-line {
    animation-delay: 0.05s;
  }

  .hero h1 .line:nth-child(1) {
    animation-delay: 0.1s;
  }

  .hero h1 .line:nth-child(2) {
    animation-delay: 0.16s;
  }

  .lede {
    animation-delay: 0.22s;
  }

  .hero .cta {
    animation-delay: 0.28s;
  }

  .still span {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .parcel {
    animation-delay: 0.08s;
  }

  .seed {
    animation-delay: 0.16s;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}
