:root {
  --linen: #f4ead8;
  --cream: #faf3e8;
  --paper: #fffaf2;
  --ink: #2a1f16;
  --ink-soft: #6a5343;
  --terracotta: #c45c3e;
  --terracotta-deep: #8f3a26;
  --kraft: #c4784a;
  --kraft-light: #e8c4a0;
  --blush: #efc6b5;
  --forest: #3d5644;
  --berry: #a33b4a;
  --line: rgba(42, 31, 22, 0.14);
  --header: 4.6rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.55;
  background:
    url("/grain.png"),
    radial-gradient(900px 520px at 8% -8%, #ffe3cc 0%, transparent 55%),
    radial-gradient(700px 420px at 100% 0%, #f3d0c2 0%, transparent 50%),
    var(--linen);
  background-size: 180px 180px, auto, auto, auto;
}

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

a { color: var(--terracotta-deep); }

h1, h2, h3, .brand-name {
  font-family: Fraunces, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.skip {
  position: absolute;
  left: 0.8rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 0.8rem;
  z-index: 40;
}

.skip:focus { top: 0.8rem; }

.wrap,
.header-inner,
.promise,
.spotlight,
.film,
.shop,
.gallery,
.about,
.enquire,
.site-footer {
  width: min(1180px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--linen) 78%, white);
  border-bottom: 1px dashed color-mix(in srgb, var(--kraft) 55%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  transform: rotate(-8deg);
}

.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.2rem; }
.brand-by {
  font-family: Caveat, cursive;
  font-size: 1.05rem;
  color: var(--terracotta-deep);
  letter-spacing: 0.02em;
}

.nav { display: flex; gap: 1.2rem; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 1.02rem;
  font-weight: 600;
}
.nav a:hover { color: var(--terracotta-deep); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.btn, .bag-btn, .chip, .menu-btn, .icon-close {
  font: inherit;
  cursor: pointer;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.4rem;
  border-radius: 999px 999px 999px 1.4rem;
  font-family: Fraunces, serif;
  font-weight: 650;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px) rotate(-0.4deg); }

.btn-primary {
  background: var(--terracotta);
  color: #fff8f2;
  box-shadow: 0 10px 24px rgba(196, 92, 62, 0.22);
}

.btn-primary:hover { background: var(--terracotta-deep); }

.btn-secondary, .btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.bag-btn, .menu-btn {
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.62rem 0.95rem;
  font-family: Fraunces, serif;
  font-weight: 650;
}

.bag-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.2rem;
  border-radius: 999px;
  background: var(--terracotta);
  font-size: 0.78rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 3.2rem;
  align-items: center;
  padding: 2.6rem 0 1rem;
  min-height: min(46rem, calc(100svh - var(--header) - 2rem));
}

.eyebrow {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-family: Fraunces, serif;
  font-size: 0.68rem;
  font-weight: 650;
  color: var(--forest);
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 7.4vw, 6.1rem);
}

.hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--terracotta);
  font-size: 0.62em;
}

.script-line {
  margin: 0.7rem 0 1rem;
  font-family: Caveat, cursive;
  font-size: 1.7rem;
  color: var(--terracotta-deep);
}

.lede, .section-lede {
  max-width: 36rem;
  color: var(--ink-soft);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.hero-mail { color: var(--ink-soft); font-size: 1.05rem; }

.hero-frame { margin: 0; position: relative; }

.hero-stack { position: relative; min-height: 34rem; }

.hero-main {
  width: 86%;
  height: min(74vh, 720px);
  object-fit: cover;
  border-radius: 2.8rem 1.1rem 3rem 1.4rem;
  box-shadow: 0 28px 70px rgba(42, 31, 22, 0.18);
  border: 10px solid #fffaf2;
}

.hero-side {
  position: absolute;
  right: 0;
  bottom: 1.4rem;
  width: 42%;
  height: 15rem;
  object-fit: cover;
  border: 9px solid #fffaf2;
  border-bottom-width: 2.2rem;
  border-radius: 0.4rem;
  box-shadow: 0 18px 40px rgba(42, 31, 22, 0.16);
  transform: rotate(7deg);
}

.hang-tag {
  position: absolute;
  left: -1.1rem;
  top: 1.4rem;
  width: 6.4rem;
  filter: drop-shadow(0 10px 16px rgba(42, 31, 22, 0.18));
  transform: rotate(-12deg);
}

.hero-frame figcaption {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  font-style: italic;
}

.ticker {
  overflow: hidden;
  margin: 2.4rem 0 0;
  padding: 0.9rem 0;
  border-block: 1px dashed color-mix(in srgb, var(--kraft) 60%, transparent);
  white-space: nowrap;
  font-family: Caveat, cursive;
  font-size: 1.55rem;
  color: var(--terracotta-deep);
}

.ticker span {
  display: inline-block;
  padding-left: 1rem;
  animation: slide 32s linear infinite;
}

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.promise { padding: 4.4rem 0 2rem; }

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.stitch-card,
.enquire-form,
.bag-panel {
  background:
    linear-gradient(180deg, rgba(255,250,242,0.92), rgba(255,247,236,0.96)),
    var(--paper);
  border: 1.5px dashed #c4784a;
  border-radius: 1.6rem 1.1rem 1.8rem 1.2rem;
  padding: 1.45rem 1.4rem 1.5rem;
  box-shadow: 0 10px 30px rgba(42, 31, 22, 0.06);
}

.stitch-card .num {
  margin: 0 0 0.4rem;
  font-family: Caveat, cursive;
  font-size: 1.5rem;
  color: var(--kraft);
}

.promise h2,
.spotlight h2,
.film h2,
.shop h2,
.gallery h2,
.about h2,
.enquire h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  margin: 0 0 0.65rem;
}

.spotlight,
.about {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2.6rem;
  align-items: center;
  padding: 2.6rem 0 1rem;
}

.spotlight-mosaic,
.gallery-grid {
  display: grid;
  gap: 0.85rem;
}

.spotlight-mosaic {
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: 210px 210px;
}

.spotlight-mosaic img,
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 8px solid #fffaf2;
  border-radius: 1.5rem 0.7rem 1.7rem 0.9rem;
  box-shadow: 0 16px 36px rgba(42, 31, 22, 0.1);
}

.spotlight-mosaic img:first-child { grid-row: span 2; }
.spotlight-mosaic img:nth-child(2) { transform: rotate(2.4deg); }
.spotlight-mosaic img:nth-child(3) { transform: rotate(-2.2deg); }
.spotlight-mosaic img:nth-child(4) { transform: rotate(1.4deg); }

.text-link { font-weight: 650; font-family: Fraunces, serif; }

.film { padding: 4rem 0 2rem; }

.film-frame {
  margin-top: 1.3rem;
  padding: 0.85rem;
  background: linear-gradient(180deg, #e4b48a, #c4784a);
  border-radius: 1.8rem 1.1rem 1.9rem 1.2rem;
  box-shadow: 0 24px 50px rgba(42, 31, 22, 0.14);
}

.film-frame video {
  width: 100%;
  border-radius: 1.2rem;
  background: #2a1f16;
}

.shop, .gallery, .enquire { padding: 3.4rem 0; }

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

.filters { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.chip {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  color: var(--ink-soft);
  font-family: Fraunces, serif;
  font-size: 0.92rem;
}

.chip.is-on {
  background: var(--forest);
  color: #f3f6ef;
  box-shadow: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: #fffaf2;
  border-radius: 1.3rem 0.8rem 1.5rem 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(42, 31, 22, 0.08);
  position: relative;
}

.product-card .photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #efe0ce;
}

.product-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.product-card:hover .photo img { transform: scale(1.045); }

.mini-tag {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  width: 3.2rem;
  height: auto;
  transform: rotate(12deg);
  filter: drop-shadow(0 6px 10px rgba(42, 31, 22, 0.16));
  z-index: 2;
  pointer-events: none;
}

.product-card .body {
  padding: 1rem 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.product-card h3 {
  margin: 0;
  font-size: 1.32rem;
}

.product-card p { margin: 0; color: var(--ink-soft); font-size: 1.02rem; }

.price {
  font-family: Fraunces, serif;
  font-weight: 650;
  color: var(--terracotta-deep);
}

.stock {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  font-family: Fraunces, serif;
}

.product-card .btn { margin-top: auto; }

.gallery-grid { grid-template-columns: repeat(4, 1fr); }

.polaroid-wall button {
  padding: 0.55rem 0.55rem 1.85rem;
  border: 0;
  background: #fffaf2;
  cursor: zoom-in;
  box-shadow: 0 12px 28px rgba(42, 31, 22, 0.1);
  border-radius: 0.3rem;
  font: inherit;
  color: var(--ink-soft);
}

.polaroid-wall button::after {
  content: attr(data-caption);
  display: block;
  margin-top: 0.55rem;
  font-family: Caveat, cursive;
  font-size: 1.05rem;
  text-align: center;
}

.polaroid-wall img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.polaroid-wall button:nth-child(3n) { transform: rotate(-1.6deg); }
.polaroid-wall button:nth-child(4n) { transform: rotate(1.8deg); }
.polaroid-wall button:nth-child(5n) { transform: rotate(-2.2deg); }
.polaroid-wall button:hover { transform: rotate(0deg) scale(1.03); z-index: 1; }

.about { padding-bottom: 2rem; }
.about-photo img { height: 30rem; }

.signature {
  margin: 1.1rem 0 0;
  font-family: Caveat, cursive;
  font-size: 2.1rem;
  color: var(--terracotta-deep);
}

.enquire {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: start;
}

.enquire-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.enquire-form label {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  font-family: Fraunces, serif;
  font-size: 0.95rem;
}

.enquire-form .full, .form-foot { grid-column: 1 / -1; }
.optional { font-weight: 400; color: var(--ink-soft); }

input, textarea {
  font: inherit;
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 0.85rem;
  padding: 0.72rem 0.85rem;
  color: var(--ink);
}

input:focus, textarea:focus, .btn:focus-visible, .chip:focus-visible, .bag-btn:focus-visible, .gallery-grid button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--terracotta) 65%, white);
  outline-offset: 2px;
}

.form-status { min-height: 1.35rem; color: var(--forest); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2.2rem 0 3.2rem;
  color: var(--ink-soft);
  border-top: 1px dashed color-mix(in srgb, var(--kraft) 60%, transparent);
}

.footer-tag { width: 4.4rem; transform: rotate(-8deg); }

.bag[hidden],
.lightbox[hidden],
.toast[hidden] {
  display: none !important;
}

.bag {
  position: fixed;
  inset: 0;
  background: rgba(42, 31, 22, 0.38);
  z-index: 30;
  display: grid;
  justify-items: end;
}

.bag-panel {
  width: min(28rem, 100%);
  height: 100%;
  border-radius: 1.4rem 0 0 1.4rem;
  display: flex;
  flex-direction: column;
}

.bag-panel header, .bag-panel footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bag-panel footer { flex-direction: column; align-items: stretch; }

.bag-lines {
  flex: 1;
  overflow: auto;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  padding: 0.4rem 0 1rem;
}

.bag-line {
  display: grid;
  grid-template-columns: 4.2rem 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.bag-line img {
  width: 4.2rem;
  height: 4.2rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.bag-line button {
  font: inherit;
  background: none;
  border: 0;
  color: var(--terracotta-deep);
  cursor: pointer;
}

.icon-close {
  background: none;
  font-family: Fraunces, serif;
  font-weight: 650;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 10, 0.88);
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.lightbox img {
  max-height: 82vh;
  max-width: min(920px, 92vw);
  border: 10px solid #fffaf2;
}

.lightbox p, .lightbox .icon-close { color: #f8efe6; }

.toast {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  z-index: 50;
}

.menu-btn, .header-enquire { display: none; }

@media (max-width: 980px) {
  .hero, .spotlight, .about, .enquire, .promise-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .nav, .header-enquire { display: none; }
  .nav.is-open {
    display: flex;
    position: absolute;
    inset: var(--header) 0 auto 0;
    background: var(--linen);
    flex-direction: column;
    padding: 1rem 1.2rem 1.2rem;
    border-bottom: 1px dashed var(--kraft);
  }
  .menu-btn { display: inline-flex; }
  .hero { min-height: unset; padding-top: 1.4rem; }
  .hero-stack { min-height: 26rem; }
  .hero-main, .about-photo img { height: 22rem; }
  .hero-side { height: 10rem; }
  .spotlight-mosaic { grid-template-rows: 170px 170px; }
  .hang-tag { width: 4.8rem; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker span, .product-card img { animation: none; transition: none; }
}
