:root {
  --cream: #fbf7ef;
  --paper: #fffdf8;
  --ink: #2d241e;
  --muted: #756a60;
  --cocoa: #5b3729;
  --sage: #667a61;
  --denim: #2f5f73;
  --clay: #b76147;
  --honey: #e9b34d;
  --line: rgba(45, 36, 30, 0.16);
  --shadow: 0 24px 70px rgba(59, 42, 28, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 22px 22px auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  color: var(--paper);
  transition: color 180ms ease;
}

.brand,
.nav-links,
.contact-button {
  min-height: 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: clamp(150px, 15vw, 206px);
  height: 58px;
  padding: 7px 10px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.brand-logo {
  width: 100%;
  height: 92%;
  object-fit: contain;
  transform: translateY(4px);
  filter: drop-shadow(0 2px 8px rgba(255, 253, 248, 0.22));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 253, 248, 0.32);
  border-radius: 8px;
  background: rgba(45, 36, 30, 0.22);
  backdrop-filter: blur(18px);
}

.nav-links a,
.contact-button,
.primary-action,
.secondary-action,
.contact-large,
.review-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.nav-links a {
  padding: 10px 14px;
  color: rgba(255, 253, 248, 0.86);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255, 253, 248, 0.18);
  color: var(--paper);
}

.contact-button {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--cocoa);
}

.site-header.is-over-hero .brand,
.site-header.is-over-hero .contact-button {
  border-color: rgba(255, 253, 248, 0.42);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 10px 26px rgba(33, 25, 20, 0.14);
}

.contact-button:hover,
.primary-action:hover,
.secondary-action:hover,
.contact-large:hover,
.review-toggle:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  min-height: clamp(680px, 88svh, 860px);
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(33, 25, 20, 0.78), rgba(33, 25, 20, 0.44) 44%, rgba(33, 25, 20, 0.08)),
    linear-gradient(0deg, rgba(33, 25, 20, 0.54), transparent 34%);
}

.hero-copy {
  width: min(920px, calc(100% - 44px));
  padding: clamp(130px, 20svh, 188px) 0 58px;
  margin-left: clamp(22px, 8vw, 112px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f5dca9;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: none;
  font-size: clamp(1.95rem, 7vw, 6.1rem);
  font-weight: 700;
  white-space: nowrap;
}

.hero-lede {
  max-width: 570px;
  margin: 24px 0 0;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  min-height: 48px;
  padding: 13px 18px;
}

.primary-action {
  background: var(--honey);
  color: #312015;
}

.secondary-action {
  border: 1px solid rgba(255, 253, 248, 0.48);
  color: var(--paper);
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.intro-strip p {
  margin: 0;
  padding: 20px;
  border-right: 1px solid var(--line);
  color: var(--cocoa);
  font-weight: 800;
  text-align: center;
}

.intro-strip p:last-child {
  border-right: 0;
  color: var(--denim);
}

.section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 112px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.64fr);
  gap: clamp(28px, 6vw, 82px);
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p:not(.eyebrow) {
  grid-column: 2;
  margin: 0 0 6px;
  color: var(--muted);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.9rem);
}

.compact {
  display: block;
  max-width: 780px;
}

.compact h2 {
  margin-bottom: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.story-card,
.upcoming-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(62, 43, 30, 0.08);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.product-card:hover {
  border-color: rgba(91, 55, 41, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.product-image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
}

.product-image img,
.story-card img,
.upcoming-card img,
.material-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.product-image img {
  transition: transform 400ms ease;
}

.product-content {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.product-kicker {
  color: var(--clay);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1;
}

.product-copy {
  color: var(--muted);
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.price {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--denim);
  font-weight: 900;
}

.sale-price {
  color: var(--denim);
  font-size: 1.18rem;
  line-height: 1;
}

.original-price {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.discount-badge {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--honey);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.shop-link {
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
}

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

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-grid.is-collapsed .review-card:nth-child(n + 7) {
  display: none;
}

.review-card {
  display: grid;
  gap: 12px;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgba(255, 253, 248, 0.96), rgba(245, 237, 222, 0.92)),
    var(--paper);
  box-shadow: 0 16px 42px rgba(62, 43, 30, 0.08);
}

.stars {
  color: var(--honey);
  font-size: 1.05rem;
  font-weight: 900;
}

.review-title {
  color: var(--cocoa);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.review-card p {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  font-weight: 700;
  line-height: 1.22;
}

.review-card span {
  align-self: end;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.review-toggle {
  width: min(100%, 260px);
  min-height: 50px;
  margin: 24px auto 0;
  padding: 13px 18px;
  border: 0;
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(62, 43, 30, 0.14);
}

.craft-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.craft-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
}

.craft-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.craft-points span {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--cocoa);
  font-weight: 800;
}

.material-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.material-gallery img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1 / 1;
  padding: 10px;
  border-radius: 8px;
  background: #fffaf1;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.material-gallery img:first-child {
  transform: none;
}

.story-grid,
.upcoming-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.story-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.story-card,
.upcoming-card {
  display: grid;
}

.story-carousel,
.story-card img {
  aspect-ratio: 1 / 1;
}

.story-carousel {
  position: relative;
  overflow: hidden;
  background: #f6efe3;
}

.story-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 720ms ease;
}

.story-carousel img.is-active {
  opacity: 1;
}

.story-card div,
.upcoming-card div {
  padding: 20px;
}

.story-card .story-carousel {
  padding: 0;
}

.story-card p,
.upcoming-card p {
  margin: 0 0 9px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-card h3,
.upcoming-card h3 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

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

.upcoming-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.upcoming-card img {
  aspect-ratio: 16 / 10;
  object-position: center 62%;
}

.upcoming-card.image-focus-low img {
  object-position: center 72%;
}

.upcoming-card.image-focus-mid img {
  object-position: center 64%;
}

.upcoming-card.image-focus-shiba img {
  object-position: center 44%;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.74fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding: clamp(46px, 8vw, 76px) max(22px, calc((100vw - 1180px) / 2));
  background: var(--sage);
  color: var(--paper);
}

.contact-section .eyebrow {
  color: #f3dcae;
}

.contact-section h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.3vw, 4.2rem);
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-large {
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 253, 248, 0.36);
  background: rgba(255, 253, 248, 0.08);
  color: var(--paper);
  gap: 8px;
  text-align: center;
}

.contact-large span {
  color: #f3dcae;
}

.contact-large strong {
  font-size: clamp(0.92rem, 1.6vw, 1.04rem);
  overflow-wrap: anywhere;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.qr-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(255, 253, 248, 0.24);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--cocoa);
  text-align: center;
  box-shadow: 0 18px 40px rgba(33, 25, 20, 0.14);
}

.qr-card img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 6px;
  object-fit: cover;
}

.qr-card figcaption {
  font-size: 0.82rem;
  font-weight: 900;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(22px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 152px;
  }

  .site-header {
    inset: 14px 14px auto;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .brand {
    width: clamp(128px, 34vw, 168px);
    height: 50px;
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 2px;
    padding: 3px;
    order: 3;
  }

  .nav-links a {
    flex: 1;
    padding-inline: 6px;
    font-size: clamp(0.74rem, 2.8vw, 0.88rem);
  }

  .contact-button {
    grid-column: 2;
  }

  .hero {
    min-height: 88svh;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(33, 25, 20, 0.74), rgba(33, 25, 20, 0.2) 56%, rgba(33, 25, 20, 0.3)),
      linear-gradient(90deg, rgba(33, 25, 20, 0.54), rgba(33, 25, 20, 0.08));
  }

  .hero-copy {
    width: calc(100% - 28px);
    margin: 0 14px;
    padding-top: clamp(210px, 42svh, 340px);
    padding-bottom: 50px;
  }

  .hero-actions {
    gap: 10px;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .intro-strip,
  .section-heading,
  .product-grid,
  .review-grid,
  .craft-section,
  .story-grid,
  .upcoming-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .intro-strip p {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section-heading p:not(.eyebrow) {
    grid-column: 1;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-link {
    width: 100%;
  }

  .material-gallery {
    grid-template-columns: 1fr;
  }

  .material-gallery img {
    min-height: 260px;
  }

  .material-gallery img:first-child {
    transform: none;
  }

  .contact-large {
    width: 100%;
    flex-direction: column;
  }

  .qr-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section {
    width: calc(100% - 28px);
  }

  .hero-copy {
    padding-top: 230px;
  }

  h1 {
    font-size: clamp(1.95rem, 8vw, 3.1rem);
  }

  .product-content,
  .story-card div,
  .upcoming-card div {
    padding: 18px;
  }

  .nav-links a {
    padding-inline: 4px;
    font-size: clamp(0.68rem, 3vw, 0.78rem);
  }

  .contact-button {
    font-size: 0.88rem;
  }

  .qr-grid {
    grid-template-columns: 1fr;
  }

  .qr-card {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    text-align: left;
  }

  .qr-card img {
    width: 96px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
