:root {
  --ivory: #f7f1e6;
  --mustard: #e0a322;
  --terracotta: #c4623e;
  --charcoal: #1c1916;
  --muted: #5c534c;
  --muted-light: #ddd4c8;
  --line: rgba(28, 25, 22, 0.14);
  --line-light: rgba(247, 241, 230, 0.16);
  --pad: clamp(1.35rem, 4.4vw, 4.75rem);
  --display: "Kalam", "Noto Sans Devanagari", sans-serif;
  --sans: "Palanquin", "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: #f6ddb0;
  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);
  background: var(--ivory);
}

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

.wordmark {
  color: var(--charcoal);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  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.15fr) minmax(180px, 0.75fr);
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  min-height: calc(100svh - 4.4rem);
  padding: clamp(2.5rem, 8vh, 5rem) var(--pad) clamp(2.8rem, 8vh, 5rem);
}

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

.kicker,
.eyebrow {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.kicker,
.eyebrow {
  color: var(--charcoal);
}

.hero h1,
.shop h2,
.contact h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  text-wrap: balance;
}

.hero h1 {
  margin-top: 0.7rem;
  font-size: clamp(2.6rem, 5.6vw, 5.2rem);
  line-height: 1.35;
}

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

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

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

.cta:hover {
  background: #2a261f;
  transform: translateY(-1px);
}

.awning {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: min(100%, 280px);
  height: 180px;
  justify-self: end;
  align-self: center;
  overflow: hidden;
}

.awning span {
  flex: 1;
  height: 120px;
  background: var(--mustard);
  border-radius: 0 0 40px 40px;
}

.awning span:nth-child(even) {
  background: var(--terracotta);
}

.awning i {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 8px;
  height: 70px;
  background: var(--charcoal);
  transform: translateX(-50%);
}

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

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

.shop h2,
.contact h2 {
  margin-top: 0.4rem;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.35;
}

.shop-copy p,
.notes p {
  color: var(--muted);
}

.shop-copy p {
  margin-top: 0.85rem;
  max-width: 32rem;
  font-size: 1.12rem;
}

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

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

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

.notes h3 {
  margin: 0 0 0.2rem;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(4.2rem, 10vh, 6.5rem) var(--pad);
  background: var(--charcoal);
  color: var(--ivory);
  box-shadow: inset 0 6px 0 var(--mustard);
}

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

.contact p {
  max-width: 32rem;
  margin-top: 0.85rem;
  color: var(--muted-light);
  font-size: 1.12rem;
}

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

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

.mail {
  margin-top: 1.15rem;
  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(--terracotta);
}

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

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

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

  .hero {
    min-height: 0;
  }

  .awning {
    order: -1;
    width: min(240px, 78vw);
    height: 150px;
    justify-self: start;
  }
}

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

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

  .wordmark {
    letter-spacing: 0.06em;
    font-size: 0.72rem;
  }
}

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

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

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

  .hero h1 {
    animation-delay: 0.08s;
  }

  .lede {
    animation-delay: 0.14s;
  }

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

  .awning span {
    animation: drop 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .awning span:nth-child(2) {
    animation-delay: 0.05s;
  }

  .awning span:nth-child(3) {
    animation-delay: 0.1s;
  }

  .awning span:nth-child(4) {
    animation-delay: 0.15s;
  }

  .awning span:nth-child(5) {
    animation-delay: 0.2s;
  }
}

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

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

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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