:root {
  --paper: #fffdf8;
  --warm: #f6efe4;
  --cream: #fbf6ed;
  --honey: #c98d2e;
  --gold: #b8822a;
  --brown: #3b271c;
  --brown-soft: #755d4b;
  --line: #e8dccd;
  --white: #ffffff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--brown);
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.85;
  letter-spacing: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px clamp(18px, 4vw, 44px);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 72%, transparent);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: grid;
  gap: 0;
  line-height: 1.2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.brand-mark small {
  color: var(--brown-soft);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: 500;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 22px;
  color: var(--brown-soft);
  font-size: 0.84rem;
}

.section-band,
.section-pad {
  width: min(100% - 36px, var(--max));
  margin: 0 auto;
}

.section-pad {
  padding: 76px 0;
}

.soft-bg {
  width: 100%;
  max-width: none;
  padding-inline: max(18px, calc((100vw - var(--max)) / 2));
  background: var(--cream);
}

.hero {
  display: grid;
  grid-template-areas:
    "image"
    "copy";
  gap: 34px;
  min-height: calc(100svh - 73px);
  padding: 28px 0 42px;
}

.hero-copy {
  grid-area: copy;
  align-self: center;
}

.eyebrow,
.product-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.45;
  font-weight: 600;
}

h1 {
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", "Yu Mincho", serif;
  font-size: clamp(2.05rem, 6.6vw, 2.65rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 5.4vw, 2.35rem);
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.lead,
.text-block,
.case-copy p,
.contact-copy p,
.product-body p,
.value-card p {
  color: var(--brown-soft);
}

.lead {
  max-width: 36rem;
  margin-bottom: 28px;
  font-size: 1rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 20px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hero .button {
  flex: 1 1 150px;
}

.button.primary,
.form-button {
  background: var(--brown);
  color: var(--white);
}

.button.secondary {
  background: transparent;
  color: var(--brown);
}

.button:hover,
.text-link:hover {
  border-color: var(--honey);
  color: var(--honey);
}

.button.primary:hover,
.form-button:hover {
  background: var(--honey);
  color: var(--white);
}

.image-frame {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  min-height: 260px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
}

.image-frame::before {
  position: absolute;
  inset: 18px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--gold) 22%, transparent);
  color: color-mix(in srgb, var(--brown-soft) 65%, transparent);
  content: "HoneyBear";
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  z-index: 0;
}

.image-frame img {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.image-frame img.is-missing {
  opacity: 0;
}

.hero-image {
  grid-area: image;
  min-height: 0;
  aspect-ratio: 16 / 9;
  background: var(--paper);
}

.hero-image img {
  object-fit: contain;
}

.hero-product-image {
  order: -1;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 30px;
}

.intro {
  display: grid;
  gap: 28px;
}

.text-block {
  display: grid;
  gap: 16px;
  max-width: 720px;
}

.intro-image {
  min-height: 260px;
  aspect-ratio: 4 / 3;
}

.text-block p,
.case-copy p,
.contact-copy p {
  margin-bottom: 0;
}

.value-grid,
.product-grid {
  display: grid;
  gap: 16px;
}

.value-card,
.product-card,
.contact-panel,
.company-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in srgb, var(--white) 82%, var(--paper));
}

.value-card {
  padding: 26px;
}

.card-number {
  display: block;
  margin-bottom: 30px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.88rem;
}

.featured-products {
  margin-bottom: 16px;
}

.product-card {
  overflow: hidden;
}

.product-image {
  min-height: 230px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  aspect-ratio: 4 / 3;
}

.product-body {
  padding: 24px;
}

.text-link {
  display: inline-flex;
  margin-top: 6px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.case {
  display: grid;
  gap: 28px;
  padding: 72px 0;
}

.case-image {
  aspect-ratio: 4 / 3;
}

.case-copy {
  align-self: center;
}

.contact-panel {
  display: grid;
  gap: 34px;
  padding: clamp(24px, 6vw, 48px);
}

.contact-copy .button-row {
  margin-top: 24px;
}

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

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--brown-soft);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--brown);
  font: inherit;
  font-size: 16px;
  outline: none;
  padding: 12px 13px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}

.form-button {
  width: 100%;
  cursor: pointer;
}

.company-list {
  margin: 0;
  overflow: hidden;
}

.company-list div {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
}

.company-list dd {
  margin: 0;
  color: var(--brown-soft);
}

.business-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.business-list li {
  position: relative;
  padding-left: 14px;
}

.business-list li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  content: "";
}

.company-list a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 18px 36px;
  border-top: 1px solid var(--line);
  color: var(--brown-soft);
  text-align: center;
}

.site-footer p {
  margin: 0;
  color: var(--brown);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
}

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

  .button,
  .text-link,
  .reveal {
    transition: none;
  }
}

@media (min-width: 720px) {
  .header-nav {
    display: flex;
  }

  .section-band,
  .section-pad {
    width: min(100% - 72px, var(--max));
  }

  .section-pad {
    padding: 104px 18;
  }

  .soft-bg {
    width: 100%;
  }

  .hero,
  .case,
  .intro,
  .contact-panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero {
    grid-template-areas: "copy image";
    gap: 56px;
    padding: 68px 0 72px;
  }

  h1 {
    font-size: clamp(3.2rem, 7vw, 5rem);
  }

  .hero-image {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .hero-product-image {
    order: initial;
  }

  .intro {
    align-items: start;
    gap: 48px;
  }

  .intro-copy {
    padding-top: 10px;
  }

  .intro-image {
    min-height: 420px;
    /* aspect-ratio: 3 / 4; */
  }

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

  .featured-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-bottom: 22px;
  }

  .compact-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .product-card.compact {
    display: grid;
    grid-template-columns: 0.86fr 1fr;
  }

  .product-card.compact .product-image {
    min-height: 100%;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    aspect-ratio: auto;
  }

  .case {
    gap: 64px;
  }

  /* .case-image {
    min-height: 420px;
  } */

  .contact-panel {
    gap: 56px;
  }

  .company-list div {
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 20px 28px;
  }
}

@media (min-width: 1040px) {
  .hero-copy {
    padding-left: 18px;
  }

  .lead {
    font-size: 1.06rem;
  }
}
