* {
  box-sizing: border-box;
}

:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #25211d;
  --muted: #6f6860;
  --line: #ded8cf;
  --green: #536f61;
  --plum: #6f5267;
  --amber: #b57944;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(28px, 5vw, 76px);
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid rgba(222, 216, 207, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.footer-brand {
  font-size: 1.45rem;
  letter-spacing: 0;
  text-decoration: none;
}

.brand {
  min-width: 118px;
  padding-right: clamp(20px, 3vw, 42px);
  border-right: 1px solid var(--line);
}

.primary-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px 20px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a {
  color: var(--muted);
  text-decoration: none;
}

.primary-nav a.active,
.primary-nav a:hover {
  color: var(--ink);
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: end;
  padding: clamp(28px, 5vw, 70px);
  color: #fffaf2;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(37, 33, 29, 0.48), rgba(37, 33, 29, 0.18), rgba(37, 33, 29, 0.02));
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-bottom: 8vh;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-family: Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero .eyebrow {
  color: #f1c795;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 400;
}

h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 9vw, 7.8rem);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.25rem;
}

.home-hero p:not(.eyebrow),
.page-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.page-hero {
  padding: clamp(58px, 9vw, 118px) clamp(20px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
}

.page-hero.compact {
  min-height: 330px;
  display: flex;
  align-items: end;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}

.featured,
.category-overview,
.story-band,
.collection-grid,
.collection-switcher,
.prose,
.product-detail,
.related-section,
.contact-grid {
  padding: clamp(44px, 7vw, 90px) clamp(18px, 5vw, 72px);
}

.featured {
  background: var(--surface);
}

.category-overview {
  background: var(--paper);
}

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

.category-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
}

.category-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background: #efeae1;
}

.category-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.category-card span,
.collection-pill small {
  color: var(--amber);
  font-family: Arial, sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.collection-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.collection-pill {
  min-width: 180px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px 8px 0 0;
  text-decoration: none;
}

.collection-pill span {
  font-size: 1.05rem;
}

.collection-pill.active {
  border-color: var(--green);
  background: #eef1ec;
}

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

.collection-grid.small {
  padding: 0;
}

.product-card {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: #efeae1;
}

.product-card-copy {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.product-card h2 {
  min-height: 3.2em;
  font-size: 1.22rem;
}

.product-card h2 a,
.card-meta a {
  text-decoration: none;
}

.product-card p {
  margin: 0;
  color: var(--muted);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #eef1ec;
}

.story-band p,
.prose p,
.product-description p,
.notice span,
.contact-card p {
  color: var(--muted);
}

.story-band img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.prose {
  max-width: 820px;
  margin: 0 auto;
}

.prose p,
.prose li {
  font-size: 1.08rem;
}

.prose img {
  width: min(100%, 540px);
  margin: 0 0 28px;
  border-radius: 8px;
}

.prose img[src*="about-innhue"] {
  width: min(100%, 620px);
  max-height: none;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 96px;
}

.main-product-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  background: #efeae1;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.thumb-grid:empty {
  display: none;
}

.thumb-grid img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}

.product-info {
  display: grid;
  gap: 20px;
}

.product-info h1 {
  max-width: 16ch;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.product-price {
  margin: 0;
  color: var(--green);
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.product-description h2,
.product-description h3 {
  margin-top: 26px;
  font-size: 1.25rem;
}

.product-description ul {
  padding-left: 1.2rem;
}

.notice {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--plum);
  background: var(--surface);
  border-radius: 8px;
}

.button {
  width: fit-content;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  background: var(--ink);
  color: #fffaf2;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

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

.contact-card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 30px;
  padding: clamp(34px, 5vw, 58px) clamp(18px, 5vw, 72px);
  background: #25211d;
  color: #fffaf2;
}

.site-footer h2 {
  margin-bottom: 12px;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  color: #d8d0c3;
}

.site-footer a {
  display: block;
  margin-bottom: 8px;
}

.inquiry-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  font-family: Arial, sans-serif;
}

.inquiry-toggle {
  min-height: 48px;
  padding: 0 18px;
  color: #fffaf2;
  background: var(--ink);
  border: 1px solid rgba(255, 250, 242, 0.18);
  border-radius: 999px;
  box-shadow: 0 16px 44px rgba(37, 33, 29, 0.22);
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.inquiry-panel {
  position: absolute;
  right: 0;
  bottom: 62px;
  width: min(360px, calc(100vw - 32px));
  padding: 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(37, 33, 29, 0.24);
}

.inquiry-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.inquiry-panel h2 {
  font-size: 1.3rem;
}

.inquiry-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.inquiry-note {
  margin: 12px 0 14px;
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
}

.inquiry-form {
  display: grid;
  gap: 12px;
}

.inquiry-form label {
  display: grid;
  gap: 6px;
}

.inquiry-form label span {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 10px 11px;
  color: var(--ink);
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 6px;
  font: 0.95rem Arial, sans-serif;
}

.inquiry-form textarea {
  resize: vertical;
  min-height: 118px;
}

.inquiry-submit {
  width: 100%;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px 18px;
  }

  .brand {
    min-width: 0;
    width: fit-content;
    padding-right: 0;
    padding-bottom: 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .primary-nav {
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.72rem;
  }

  .home-hero {
    min-height: 560px;
  }

  .collection-grid,
  .category-grid,
  .story-band,
  .product-detail,
  .contact-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 12px 14px;
  }

  .brand {
    font-size: 1.25rem;
  }

  .primary-nav {
    gap: 7px 11px;
    font-size: 0.66rem;
    letter-spacing: 0.06em;
  }

  .home-hero {
    min-height: 430px;
    padding: 22px 18px;
  }

  .home-hero-content {
    max-width: 330px;
    padding-bottom: 26px;
  }

  h1 {
    max-width: 13ch;
    font-size: 2.75rem;
  }

  h2 {
    font-size: 1.45rem;
  }

  .home-hero p:not(.eyebrow),
  .page-hero p:not(.eyebrow) {
    margin-top: 14px;
    font-size: 1rem;
  }

  .page-hero {
    padding: 38px 18px;
  }

  .page-hero.compact {
    min-height: 230px;
  }

  .featured,
  .category-overview,
  .story-band,
  .collection-grid,
  .collection-switcher,
  .prose,
  .product-detail,
  .related-section,
  .contact-grid {
    padding: 34px 16px;
  }

  .section-heading {
    margin-bottom: 20px;
    text-align: left;
  }

  .collection-grid {
    gap: 18px;
  }

  .category-card div,
  .product-card-copy,
  .contact-card {
    padding: 16px;
  }

  .category-card img {
    aspect-ratio: 16 / 10;
  }

  .product-card h2 {
    min-height: 0;
    font-size: 1.1rem;
  }

  .collection-pill {
    min-width: 0;
    width: 100%;
    border-radius: 8px;
  }

  .product-info h1 {
    font-size: 2.25rem;
  }

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

  .site-footer {
    gap: 20px;
  }

  .inquiry-widget {
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
  }

  .inquiry-toggle,
  .inquiry-panel {
    pointer-events: auto;
  }

  .inquiry-toggle {
    min-height: 44px;
    padding: 0 15px;
    font-size: 0.72rem;
  }

  .inquiry-panel {
    right: 0;
    bottom: 58px;
    width: 100%;
    max-height: calc(100vh - 92px);
    overflow: auto;
    padding: 16px;
  }

  .inquiry-panel h2 {
    font-size: 1.18rem;
  }
}
