:root {
  --ink: #22211d;
  --muted: #69645b;
  --paper: #faf8f2;
  --soft: #f1ece0;
  --field: #dfe9d9;
  --leaf: #315c45;
  --leaf-dark: #213d32;
  --bean: #672f3f;
  --sun: #c8914b;
  --white: #fffdf8;
  --shadow: 0 24px 80px rgba(38, 34, 26, 0.14);
}

@media (max-width: 640px) {
  body > .mobile-menu-trigger {
    position: fixed !important;
    top: 12px !important;
    right: 13px !important;
    left: auto !important;
    z-index: 1000 !important;
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    appearance: none !important;
  }

  body > .mobile-menu-trigger span {
    display: block !important;
    width: 34px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #211c17 !important;
  }
}

@media (min-width: 641px) {
  body > .mobile-menu-trigger {
    display: none !important;
  }
}

.hero-dot:disabled {
  opacity: 1 !important;
  cursor: default !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui,
    sans-serif;
  line-height: 1.8;
}

body.is-intro-running {
  overflow: hidden;
}

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

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

.mobile-menu-trigger {
  display: none;
}

.photo-scene--hero.is-slide-forced .hero-slide {
  transition: none !important;
}

.photo-scene--hero.is-slide-forced .hero-slide:not(.is-active) {
  opacity: 0 !important;
  visibility: hidden !important;
}

.photo-scene--hero.is-slide-forced .hero-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #1c241f;
  color: var(--white);
  animation: intro-exit 2.8s ease forwards;
}

.intro__photo,
.intro__veil {
  position: absolute;
  inset: 0;
}

.intro__photo {
  background:
    linear-gradient(rgba(26, 35, 30, 0.3), rgba(26, 35, 30, 0.5)),
    url("assets/images/hero-favorite.jpg")
      center / cover;
  transform: scale(1.06);
  animation: intro-photo 2.8s ease forwards;
}

.intro__veil {
  background: radial-gradient(circle at center, rgba(255, 253, 248, 0.08), rgba(22, 28, 25, 0.72));
}

.intro__eyebrow,
.intro__message {
  position: relative;
  margin: 0;
  text-align: center;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}

.intro__eyebrow {
  align-self: end;
  padding-bottom: 0.4rem;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2.3rem, 8vw, 5.6rem);
  font-weight: 700;
  line-height: 1.2;
  opacity: 0;
  animation: float-in 1.4s ease 0.18s forwards;
}

.intro__message {
  align-self: start;
  color: rgba(255, 253, 248, 0.88);
  font-size: clamp(1.1rem, 3.7vw, 2.25rem);
  letter-spacing: 0;
  opacity: 0;
  animation: float-in 1.35s ease 0.72s forwards;
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-photo {
  to {
    transform: scale(1);
  }
}

@keyframes intro-exit {
  0%,
  72% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(250, 248, 242, 0.9);
  border-bottom: 1px solid rgba(34, 33, 29, 0.08);
  backdrop-filter: blur(18px);
}

.brand img {
  display: block;
  width: 154px;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .site-header {
    height: 5.323vw;
    min-height: 0;
    padding: 0 2.811vw;
  }

  .brand img {
    width: auto;
    height: clamp(61px, 4.522vw, 76px);
    max-width: 22.68vw;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .brand img {
    width: auto;
    height: 34px;
    max-width: 114px;
  }
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem 1.1rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.site-nav a {
  padding: 0.35rem 0;
}

.site-nav a:hover {
  color: var(--leaf);
}

main {
  overflow: hidden;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  min-height: calc(100vh - 78px);
  background: var(--soft);
}

.hero__image {
  min-height: 560px;
  background:
    linear-gradient(rgba(35, 41, 36, 0.04), rgba(35, 41, 36, 0.1)),
    url("assets/images/hero-favorite.jpg")
      center / cover;
}

.hero__content {
  align-self: center;
  max-width: 650px;
  padding: clamp(2.5rem, 8vw, 6.5rem);
}

.section-label {
  margin: 0 0 0.7rem;
  color: var(--bean);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2 {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  line-height: 1.25;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.5rem);
}

#hero-title {
  display: grid;
  gap: 0;
  width: max-content;
  max-width: 100%;
  text-align: center;
  overflow-wrap: normal;
  word-break: keep-all;
  transform: translateX(-0.28em);
}

#hero-title span {
  display: block;
  white-space: nowrap;
}

#hero-title .hero-care {
  font-size: 0.78em;
  line-height: 0.88;
  letter-spacing: 0.12em;
  padding-left: 0.12em;
}

#hero-title .hero-cross {
  margin: -0.06em 0 -0.02em;
  font-size: 0.28em;
  line-height: 0.58;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

h3 {
  margin: 0 0 0.35rem;
  font-size: 1.18rem;
  line-height: 1.45;
}

.hero__lead {
  margin: 1.1rem 0 0;
  color: var(--leaf);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 800;
}

.hero__text {
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.1rem;
  border: 1px solid rgba(49, 92, 69, 0.28);
  border-radius: 6px;
  color: var(--leaf-dark);
  font-weight: 800;
  line-height: 1.35;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(33, 61, 50, 0.12);
}

.button--primary {
  background: var(--leaf);
  color: var(--white);
}

.button--light {
  border-color: rgba(255, 253, 248, 0.55);
  color: var(--white);
}

.concept,
.page-links,
.story,
.facility,
.split,
.guide,
.news,
.company,
.care-tourism {
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 5vw, 5rem);
}

.section-heading {
  max-width: 860px;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section-heading p:last-child {
  color: var(--muted);
}

.story__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.story__summary {
  position: sticky;
  top: 110px;
  padding: 2rem;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.long-copy p,
.story__summary p,
.story__body p,
.split p,
.guide p,
.facility p,
.terakoya p,
.news p {
  color: var(--muted);
}

.long-copy,
.story__body {
  max-width: 920px;
  font-size: 1.05rem;
}

.story__body h3 {
  margin-top: 2.25rem;
  color: var(--leaf-dark);
}

.long-copy .emphasis-line {
  display: block;
  margin: 2rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 4px solid var(--sun);
  background: var(--soft);
  color: var(--leaf-dark);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 700;
  line-height: 1.55;
}

.photo-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 380px;
}

.photo-band img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.page-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.page-link-grid a {
  min-height: 130px;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
}

.page-link-grid span {
  display: block;
  color: var(--bean);
  font-size: 0.78rem;
  font-weight: 800;
}

.page-link-grid strong {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.14rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split--reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(0, 0.95fr);
  background: var(--soft);
}

.wide-photo {
  width: 100%;
  max-height: 620px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.facility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 4rem);
}

.facility-grid article,
.info-grid article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
}

.facility-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.facility-grid h3,
.facility-grid p,
.info-grid h3,
.info-grid p {
  padding-inline: 1.1rem;
}

.facility-grid h3,
.info-grid h3 {
  margin-top: 1rem;
}

.facility-grid p,
.info-grid p {
  padding-bottom: 1.2rem;
}

.feature-list,
.steps {
  display: grid;
  gap: 1rem;
}

.feature-list div,
.steps div {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
}

.feature-list span,
.steps span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
}

.guide {
  background: var(--field);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

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

.table-wrap {
  margin-top: 2rem;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
  padding: 1rem;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(34, 33, 29, 0.1);
  text-align: left;
}

thead th {
  color: var(--leaf-dark);
}

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

.terakoya {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 5vw, 5rem);
  background:
    linear-gradient(120deg, rgba(33, 61, 50, 0.95), rgba(103, 47, 63, 0.9)),
    url("https://kuromamesan-kaigo.com/wp-content/uploads/2019/09/kuromamesan_top05-768x512.png")
      center / cover;
  color: var(--white);
}

.terakoya > div {
  max-width: 780px;
}

.terakoya .section-label,
.terakoya p {
  color: rgba(255, 253, 248, 0.78);
}

.recruit-photo {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(34, 33, 29, 0.08), rgba(34, 33, 29, 0.08)),
    url("https://kuromamesan-kaigo.com/wp-content/uploads/2019/09/kuromamesan_top06-768x512.png")
      center / cover;
  box-shadow: var(--shadow);
}

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

.news__list a {
  min-height: 150px;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
}

.news__list time {
  display: block;
  color: var(--bean);
  font-size: 0.82rem;
  font-weight: 800;
}

.news__list span {
  display: block;
  margin-top: 0.65rem;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.company {
  display: grid;
  grid-template-columns: minmax(240px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(2rem, 6vw, 5rem);
  background: var(--white);
}

dl {
  margin: 0;
}

dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(34, 33, 29, 0.1);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

.company dd a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.company dd a:hover,
.company dd a:focus-visible {
  color: var(--bean);
}

.care-tourism {
  background: var(--soft);
}

.site-footer {
  padding: 3rem clamp(1rem, 5vw, 5rem);
  background: var(--leaf-dark);
  color: rgba(255, 253, 248, 0.82);
}

.site-footer p {
  margin: 0 0 1rem;
  color: var(--white);
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--white);
  font-weight: 800;
}


.history-hero {
  min-height: min(88svh, 760px);
  background: var(--white);
}

.history-hero__photo {
  height: min(88svh, 760px);
  min-height: 500px;
  overflow: hidden;
}

.history-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.history-hero__copy {
  display: none;
}

.history-hero__lead {
  margin: 1rem 0 0;
  color: var(--leaf);
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  font-weight: 900;
  line-height: 1.55;
}

.history-hero__copy p:not(.section-label):not(.history-hero__lead) {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.history-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(4.5rem, 10vw, 8rem) clamp(1rem, 6vw, 6rem);
  background: var(--paper);
}

.history-intro h2 {
  max-width: 620px;
}

.history-intro__body,
.history-chapter__content,
.history-future__body {
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.history-intro__body p,
.history-chapter__content p,
.history-future__body p {
  margin: 0 0 1.15rem;
}

.history-timeline {
  padding: 0 clamp(1rem, 6vw, 6rem) clamp(5rem, 10vw, 8rem);
  background: var(--paper);
}

.history-chapter {
  display: grid;
  grid-template-columns: 92px minmax(0, 920px);
  gap: clamp(1.25rem, 4vw, 3rem);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  border-top: 1px solid rgba(34, 33, 29, 0.1);
}

.history-chapter__marker {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(49, 92, 69, 0.28);
  border-radius: 50%;
  color: var(--leaf);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
  font-weight: 800;
}

.history-chapter h2,
.history-future h2 {
  margin-bottom: clamp(1.4rem, 3vw, 2rem);
  font-size: clamp(1.9rem, 4vw, 3.8rem);
}

.history-chapter--accent {
  max-width: 1260px;
  margin-top: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--white);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.history-wide-photo {
  max-width: 1160px;
  margin: clamp(1rem, 4vw, 3rem) auto clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.history-wide-photo img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
}

.history-wide-photo--left img {
  object-position: center 42%;
}

.history-future {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  max-width: 1260px;
  margin: clamp(3rem, 7vw, 5rem) auto 0;
  padding: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(135deg, rgba(33, 61, 50, 0.96), rgba(103, 47, 63, 0.9));
  border-radius: 8px;
  color: var(--white);
  box-shadow: var(--shadow);
}

.history-future .section-label,
.history-future__body {
  color: rgba(255, 253, 248, 0.82);
}

.history-future h2 {
  color: var(--white);
}

.history-next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.history-future .button:not(.button--primary) {
  border-color: rgba(255, 253, 248, 0.48);
  color: var(--white);
}

.site-nav a[aria-current="page"] {
  color: var(--leaf-dark);
}

@media (max-width: 980px) {
  .history-hero,
  .history-intro,
  .history-future {
    grid-template-columns: 1fr;
  }

  .history-hero {
    min-height: auto;
  }

  .history-hero__photo {
    height: 50vh;
    min-height: 420px;
  }

  .history-chapter,
  .history-chapter--accent {
    grid-template-columns: 1fr;
  }

  .history-chapter__marker {
    width: 56px;
    height: 56px;
  }
}

@media (max-width: 640px) {
  .history-hero__photo {
    height: 52vh;
    min-height: 320px;
  }

  .history-hero__copy,
  .history-intro,
  .history-timeline,
  .history-chapter--accent,
  .history-future {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .history-chapter {
    padding: 3rem 0;
  }

  .history-next-actions,
  .history-next-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body.is-intro-running {
    overflow: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .hero,
  .story__grid,
  .split,
  .split--reverse,
  .company {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero__image {
    min-height: 58vh;
  }

  .story__summary {
    position: static;
  }

  .facility-grid,
  .info-grid,
  .page-link-grid,
  .steps,
  .news__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 640px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 68px;
    padding: 18px;
    align-items: center;
    flex-direction: row;
  }

  .brand img {
    width: auto;
    height: 31px;
    max-width: 122px;
  }

  .site-nav {
    display: none;
    font-size: 0.86rem;
  }

  body.is-mobile-menu-open .site-nav {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    z-index: 999;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    max-height: calc(100svh - 68px);
    padding: 12px 20px 20px;
    overflow-y: auto;
    background: rgba(250, 248, 242, 0.98);
    box-shadow: 0 18px 34px rgba(29, 27, 23, 0.12);
    backdrop-filter: blur(16px);
  }

  body.is-mobile-menu-open .site-nav a {
    padding: 11px 4px;
    border-bottom: 1px solid rgba(29, 27, 23, 0.1);
  }

  .hero__image {
    min-height: 320px;
  }

  .hero__content {
    padding: 2rem 1rem 3rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .steps,
  .news__list,
  .photo-band {
    grid-template-columns: 1fr;
  }

  .concept,
  .page-links,
  .story,
  .facility,
  .split,
  .guide,
  .news,
  .company,
  .care-tourism {
    padding: 3.5rem 1rem;
  }

  .photo-band img {
    min-height: 260px;
  }

  .recruit-photo {
    min-height: 330px;
  }

  .facility-grid,
  .info-grid,
  .info-grid--compact {
    grid-template-columns: 1fr;
  }

  .page-link-grid {
    grid-template-columns: 1fr;
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}


/* polish updates 20260712 */
.guide {
  background: var(--white);
}

.wide-photo--contain {
  max-height: none;
  padding: clamp(0.75rem, 2vw, 1.25rem);
  background: var(--white);
  object-fit: contain;
}

.history-intro {
  display: block;
  padding-block: clamp(4rem, 9vw, 7rem);
}

.history-intro__body {
  max-width: 900px;
  margin-inline: auto;
}

.history-intro__body strong {
  color: var(--ink);
  font-weight: 900;
}

.history-inline-photo {
  margin: 0 0 clamp(1.4rem, 3vw, 2.2rem);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.history-inline-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.company h1 {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.recruit-page {
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 5rem) clamp(5rem, 10vw, 8rem);
  background: var(--white);
}

.recruit-page > .section-heading,
.staff-voices,
.job-section {
  width: min(100%, 1180px);
  margin-inline: auto;
}

.recruit-hero-image {
  display: block;
  width: min(100%, 1180px);
  margin: clamp(1.5rem, 4vw, 2.75rem) auto 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: 0 24px 64px rgba(38, 34, 26, 0.13);
}

.recruit-message {
  width: min(100%, 1180px);
  margin: clamp(4rem, 9vw, 7rem) auto 0;
}

.recruit-message__heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-bottom: 1px solid rgba(34, 33, 29, 0.14);
}

.recruit-message__heading p,
.recruit-message__heading h2 {
  margin-bottom: 0;
}

.recruit-message__heading h2 {
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  line-height: 1.35;
}

.recruit-representative {
  position: relative;
  width: min(100%, 700px);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 24px 64px rgba(22, 52, 44, 0.16);
}

.recruit-representative__base {
  display: block;
  width: 100%;
}

.recruit-representative__replacement {
  position: absolute;
  inset: 0 auto 0 0;
  width: 46%;
  overflow: hidden;
}

.recruit-representative__replacement img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 57%;
  transform: scale(1.55);
  transform-origin: 52% 57%;
}

.recruit-representative__replacement::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 16%;
  background: linear-gradient(90deg, rgba(0, 65, 56, 0), rgba(0, 65, 56, 0.92));
  pointer-events: none;
}

.recruit-message__body {
  width: min(100%, 820px);
  margin: clamp(2rem, 5vw, 3.5rem) auto 0;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 2.05;
}

.recruit-message__body,
.staff-card p,
.job-grid p {
  color: var(--muted);
}

.staff-voices,
.job-section {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.staff-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid rgba(34, 33, 29, 0.1);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(38, 34, 26, 0.08);
}

.staff-card img {
  width: 100%;
  max-width: 360px;
  justify-self: start;
  border-radius: 5px;
}

.staff-card h3 {
  margin-top: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.6;
}

.recruit-life-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  width: min(100%, 980px);
  margin: clamp(3rem, 7vw, 5.5rem) auto 0;
}

.recruit-life-grid img,
.recruit-summary {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 18px 50px rgba(38, 34, 26, 0.1);
}

.recruit-summary {
  display: block;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  background: var(--white);
}

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

.job-grid article {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(34, 33, 29, 0.08);
  border-top: 3px solid rgba(103, 47, 63, 0.72);
  border-radius: 8px;
  background: var(--paper);
}

.job-grid h3 {
  margin-top: 0;
  font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.job-grid a {
  color: var(--leaf);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

@media (max-width: 980px) {
  .staff-card {
    grid-template-columns: 1fr;
  }

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

/* root index reviewer fixes 20260712 */
@media (min-width: 981px) {
  .page-link-grid strong {
    font-size: 1.02rem;
    white-space: nowrap;
  }
}

.concept-seed {
  display: inline-block;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}


/* Requested page refinements 20260712 */
.history-hero {
  min-height: auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 5vw, 4rem) 0;
  background: var(--paper);
}

.history-hero__photo,
.history-wide-photo,
.history-inline-photo {
  width: min(100%, 1040px);
  margin: 0 auto clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.history-hero__photo {
  height: auto;
  min-height: 0;
}

.history-hero__photo img,
.history-wide-photo img,
.history-inline-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.history-wide-photo--left img {
  object-position: center;
}

.history-chapter--accent {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(91, 80, 68, 0.16);
  border-radius: 0;
  box-shadow: none;
}

.history-future {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5.5rem) 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  color: var(--ink);
  background: transparent;
  border-top: 1px solid rgba(91, 80, 68, 0.16);
  border-radius: 0;
  box-shadow: none;
}

.history-future .section-label {
  color: var(--bean);
}

.history-future__body,
.history-future__body p {
  color: var(--muted);
}

.history-future h2 {
  color: var(--ink);
}

.history-future .button:not(.button--primary) {
  color: var(--leaf-dark);
  border-color: rgba(43, 83, 62, 0.34);
  background: rgba(255, 255, 255, 0.5);
}

.site-nav a {
  white-space: nowrap;
}



.history-intro {
  padding: clamp(1.8rem, 4vw, 3rem) clamp(1rem, 6vw, 6rem) clamp(3.5rem, 7vw, 5.5rem);
}

.history-hero__photo {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

@media (max-width: 980px) {
  .history-future {
    grid-template-columns: 1fr;
  }

  .staff-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .history-hero {
    padding: 2.5rem 1rem 1rem;
  }

  .history-hero__photo,
  .history-wide-photo,
  .history-inline-photo {
    width: 100%;
    margin-bottom: 2rem;
  }

  .history-hero__photo img,
  .history-wide-photo img,
  .history-inline-photo img {
    max-height: 360px;
    aspect-ratio: 4 / 3;
  }

  .history-chapter--accent,
  .history-future {
    padding: 3rem 0;
  }

  .recruit-message__heading {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .recruit-message__heading h2 {
    font-size: 1.85rem;
  }

  .recruit-representative {
    width: auto;
    margin-inline: -1rem;
  }

  .recruit-representative img,
  .recruit-hero-image {
    border-radius: 0;
  }

  .recruit-life-grid {
    grid-template-columns: 1fr;
  }
}

/* Formal slideshow home 20260712 */
.floating-header {
  position: absolute;
  top: 28px;
  left: clamp(22px, 3vw, 54px);
  right: clamp(22px, 3vw, 54px);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 2.4vw, 34px);
  min-height: 72px;
  padding: 12px clamp(18px, 2.4vw, 34px);
  border: 1px solid rgba(255, 253, 248, 0.62);
  border-radius: 8px;
  background: rgba(20, 18, 14, 0.34);
  color: #fff;
  box-shadow: 0 18px 70px rgba(20, 18, 14, 0.24);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.floating-brand {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(26px, 2.2vw, 40px);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.floating-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px clamp(22px, 2.9vw, 48px);
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.floating-nav a {
  position: relative;
  padding: 6px 0;
}

.floating-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.floating-nav a:hover::after {
  opacity: 0.72;
  transform: scaleX(1);
}

.floating-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 22px;
  border: 1px solid rgba(255, 253, 248, 0.82);
  border-radius: 999px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 700;
  white-space: nowrap;
}

.photo-scene {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
}

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

.hero-slide {
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.7s ease-in-out;
}

.hero-slide--okudo {
  object-position: 48% center;
}

.hero-slide--sueko {
  object-position: 45% center;
}

.hero-slide--okudo-mobile,
.hero-slide--sueko-mobile {
  display: none;
}

.photo-scene--hero .hero-slide.is-active {
  opacity: 1;
}

.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 13, 10, 0.12) 0%, rgba(12, 13, 10, 0.34) 45%, rgba(12, 13, 10, 0.72) 100%),
    linear-gradient(180deg, rgba(12, 13, 10, 0.1) 0%, rgba(12, 13, 10, 0.18) 42%, rgba(12, 13, 10, 0.54) 100%);
  transition: opacity 1.7s ease-in-out;
}

.photo-scene--hero[data-slide="sueko"] .scene-shade {
  opacity: 0.16;
}

.photo-scene--hero[data-slide="okudo"] .scene-shade {
  opacity: 1;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  align-content: center;
  min-height: 100svh;
  width: min(820px, calc(100% - 36px));
  margin-left: auto;
  padding: 150px clamp(36px, 6.5vw, 122px) 96px 0;
  text-align: center;
}

.scene-label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.photo-scene--hero #hero-title {
  display: grid;
  gap: 0.04em;
  width: max-content;
  max-width: 100%;
  color: #fff;
  font-size: clamp(58px, 11vw, 142px);
  line-height: 1.16;
  text-align: center;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.36);
  transform: none;
}

.photo-scene--hero #hero-title span {
  display: block;
  white-space: nowrap;
}

.photo-scene--hero #hero-title .hero-cross {
  display: inline-block;
  margin: 0 0.12em;
  font-size: 0.52em;
  line-height: 1;
  transform: translateY(-0.05em);
}

.photo-scene--hero #hero-title::after {
  content: "";
  display: block;
  width: min(100%, 520px);
  height: 1px;
  margin: 0.18em auto 0;
  background: rgba(255, 255, 255, 0.82);
}

.photo-scene--hero .hero-copy p:not(.scene-label) {
  margin: clamp(18px, 2.3vw, 30px) 0 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(22px, 2.8vw, 38px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.36);
  white-space: nowrap;
}

.scene-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 20px;
  margin-top: clamp(28px, 3.6vw, 44px);
}

.scene-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(176px, 16vw, 248px);
  min-height: 64px;
  padding: 16px 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  background: rgba(20, 18, 14, 0.08);
  color: #fff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: clamp(18px, 1.65vw, 27px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
}

.scene-actions a:first-child {
  background: rgba(255, 255, 255, 0.95);
  color: #1d1b17;
}

.hero-dots,
.mobile-menu-button {
  display: none;
}

@media (max-width: 900px) {
  .floating-header {
    gap: 14px;
  }

  .floating-nav {
    gap: 4px 16px;
    font-size: 14px;
  }

  .floating-cta {
    min-height: 34px;
    padding: 6px 14px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .photo-scene--hero {
    width: 100%;
    max-width: 100vw;
    min-height: 100svh;
    padding-top: 86px;
    background: #1d1b17;
  }

  .photo-scene--hero .hero-slide--okudo,
  .photo-scene--hero .hero-slide--sueko {
    display: none;
  }

  .photo-scene--hero .hero-slide--okudo-mobile,
  .photo-scene--hero .hero-slide--sueko-mobile {
    display: block;
    object-position: center center;
  }

  .floating-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 86px;
    padding: 18px 20px 16px;
    border: 0;
    border-radius: 0;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 1px 18px rgba(29, 27, 23, 0.08);
    color: #1d1b17;
    text-shadow: none;
    backdrop-filter: blur(16px);
  }

  .floating-brand {
    max-width: calc(100vw - 92px);
    overflow: hidden;
    font-size: clamp(29px, 9vw, 38px);
    line-height: 1;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .floating-nav,
  .floating-cta {
    display: none;
  }

  .mobile-menu-button {
    position: fixed;
    top: 28px;
    right: 20px;
    display: grid;
    gap: 7px;
    width: 44px;
    padding: 4px 0;
    border: 0;
    background: transparent;
    z-index: 60;
  }

  .mobile-menu-button span {
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: #1d1b17;
  }

  body.is-mobile-menu-open .floating-nav {
    position: absolute;
    top: 86px;
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    width: 100%;
    padding: 12px 20px 16px;
    overflow: visible;
    background: rgba(255, 253, 248, 0.96);
    color: #1d1b17;
    box-shadow: 0 18px 34px rgba(29, 27, 23, 0.12);
    backdrop-filter: blur(16px);
  }

  body.is-mobile-menu-open .floating-nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(29, 27, 23, 0.1);
  }

  .photo-scene--hero .scene-shade {
    top: 86px;
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.08) 35%, rgba(0, 0, 0, 0.58) 72%, rgba(0, 0, 0, 0.86) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.04) 48%, rgba(0, 0, 0, 0.18));
  }

  .photo-scene--hero[data-slide="sueko"] .scene-shade {
    opacity: 0.3;
  }

  .hero-copy {
    justify-items: start;
    align-content: end;
    width: 100%;
    max-width: 100vw;
    min-height: calc(100svh - 86px);
    margin-left: 0;
    padding: 0 24px 22px;
    text-align: left;
  }

  .photo-scene--hero .scene-label {
    max-width: none;
    margin-bottom: 5px;
    font-size: clamp(10px, 2.55vw, 12px);
    line-height: 1.3;
    letter-spacing: 0.2em;
    white-space: nowrap;
  }

  .photo-scene--hero #hero-title {
    gap: 0.03em;
    font-size: clamp(50px, 15.2vw, 66px);
    line-height: 1.04;
    text-align: left;
  }

  .photo-scene--hero #hero-title::after {
    width: min(100%, 305px);
    margin: 0.16em 0 0;
  }

  .photo-scene--hero #hero-title .hero-cross {
    margin: 0 0.18em;
    font-size: 0.44em;
  }

  .photo-scene--hero .hero-copy p:not(.scene-label) {
    margin-top: 15px;
    font-size: clamp(16px, 4.5vw, 19px);
    line-height: 1.35;
    letter-spacing: 0.02em;
  }

  .hero-dots {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    margin: 18px 0 15px;
  }

  .hero-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.18);
  }

  .photo-scene--hero[data-slide="okudo"] .hero-dot--okudo,
  .photo-scene--hero[data-slide="sueko"] .hero-dot--sueko {
    background: rgba(255, 255, 255, 0.96);
  }

  .photo-scene--hero .scene-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .photo-scene--hero .scene-actions a {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 48px;
    padding: 9px 22px 9px 8px;
    border-radius: 8px;
    font-size: clamp(13px, 3.55vw, 15px);
    line-height: 1.2;
    text-align: center;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .photo-scene--hero .scene-actions a::after {
    content: none;
    display: none;
  }
}

@media (max-width: 640px) {
  body .mobile-menu-button {
    position: fixed !important;
    top: 24px !important;
    left: min(calc(100vw - 64px), 326px) !important;
    right: auto !important;
    z-index: 100 !important;
    display: grid !important;
    place-items: center;
    width: 44px !important;
    height: 38px !important;
    padding: 0 !important;
  }

  body .mobile-menu-button span {
    width: 44px !important;
    height: 3px !important;
    background: #1d1b17 !important;
  }

  body .photo-scene--hero .scene-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    width: min(100%, 342px) !important;
    max-width: 342px !important;
  }

  body .photo-scene--hero .scene-actions a {
    min-width: 0 !important;
    width: 100% !important;
    padding: 8px 22px 8px 8px !important;
    font-size: 13px !important;
    letter-spacing: 0.03em !important;
  }
}

/* Top renewal 20260713 */
.floating-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  min-height: 90px;
  padding: 18px clamp(28px, 4vw, 48px);
  border: 0;
  border-bottom: 1px solid rgba(78, 62, 44, 0.1);
  border-radius: 0;
  background: rgba(255, 253, 248, 0.96);
  color: #251f19;
  box-shadow: 0 8px 28px rgba(39, 30, 19, 0.08);
  text-shadow: none;
  backdrop-filter: blur(14px);
}

.floating-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1d1b17;
  font-size: clamp(21px, 1.65vw, 29px);
  letter-spacing: 0.08em;
}

.brand-logo {
  display: none;
}

.floating-brand::before {
  content: "";
  width: 32px;
  height: 32px;
  border-radius: 48% 52% 50% 50%;
  background:
    radial-gradient(circle at 65% 25%, #1d1b17 0 16%, transparent 17%),
    #1d1b17;
  transform: rotate(-24deg);
}

.brand-prefix {
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 0.68em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.floating-nav {
  gap: clamp(18px, 2.4vw, 42px);
  color: #1d1b17;
  font-size: clamp(14px, 1.02vw, 17px);
  font-weight: 800;
}

.floating-cta {
  min-height: 46px;
  padding: 10px 26px;
  border-color: rgba(172, 126, 69, 0.82);
  background: rgba(255, 253, 248, 0.72);
  color: #a6743c;
  font-size: clamp(13px, 0.95vw, 16px);
}

.nav-mobile-cta {
  display: none;
}

.photo-scene--hero {
  min-height: 100svh;
  padding-top: 90px;
  background: #fffdf8;
  color: #35271d;
}

.hero-slides {
  top: 90px;
  height: calc(100% - 90px);
  background: #fffdf8;
}

.hero-slide {
  display: block;
  overflow: hidden;
  opacity: 0;
  transition: opacity 1.45s ease-in-out;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.hero-slide--vegetable img {
  object-position: center center;
}

.hero-slide--kamado img {
  object-position: center center;
}

.photo-scene--hero .hero-slide.is-active {
  opacity: 1;
}

.photo-scene--hero .scene-shade {
  display: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  justify-items: start;
  align-content: center;
  width: min(620px, 44vw);
  min-height: calc(100svh - 90px);
  margin: 90px 0 0;
  padding: clamp(34px, 5vw, 70px) 0 clamp(34px, 5vw, 72px) clamp(56px, 6.3vw, 112px);
  color: #33261d;
  text-align: left;
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(62vw, 820px);
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 253, 248, 0.76) 0%, rgba(255, 253, 248, 0.5) 38%, rgba(255, 253, 248, 0.18) 62%, rgba(255, 253, 248, 0) 84%),
    linear-gradient(90deg, rgba(255, 253, 248, 0.72) 0%, rgba(255, 253, 248, 0.34) 48%, rgba(255, 253, 248, 0) 100%);
  pointer-events: none;
}

.photo-scene--hero[data-slide="kamado"] .hero-copy::before {
  content: none;
  display: none;
  background: none;
}

.photo-scene--hero .scene-label {
  margin: 0 0 22px;
  color: #9c7346;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(13px, 1.15vw, 20px);
  font-weight: 700;
  letter-spacing: 0.2em;
  white-space: nowrap;
  text-shadow: none;
}

.photo-scene--hero #hero-title {
  display: block;
  width: auto;
  color: #33261d;
  font-size: clamp(46px, 4.8vw, 72px);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-align: left;
  text-shadow: none;
  white-space: nowrap;
}

.photo-scene--hero #hero-title span {
  display: inline;
}

.photo-scene--hero #hero-title .hero-cross {
  margin: 0 0.24em;
  color: #6e5137;
  font-size: 0.72em;
}

.photo-scene--hero #hero-title::after {
  display: none;
}

@media (min-width: 1024px) {
  body[data-hero-slide] .desktop-scale-shell {
    width: 100%;
    container-type: inline-size;
  }

  body[data-hero-slide] .pc-firstview {
    position: relative;
    width: 100%;
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    background: #fffdf8;
  }

  body[data-hero-slide] .pc-firstview .floating-header {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 20;
    display: block;
    width: 100cqw;
    min-height: 0;
    height: 5.323cqw;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow: none;
    backdrop-filter: none;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero {
    position: absolute;
    left: 0;
    top: 5.323cqw;
    width: 100cqw;
    height: 50.957cqw;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  body[data-hero-slide] .pc-firstview .hero-slides,
  body[data-hero-slide] .pc-firstview .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  body[data-hero-slide="kamado"] .pc-firstview .hero-slide--kamado img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: 0 0;
    transform: none;
    filter: none;
    opacity: 1;
  }

  body[data-hero-slide] .pc-firstview .floating-brand {
    position: absolute;
    left: 2.811cqw;
    top: 1.675cqw;
    width: 20.031cqw;
    gap: 0.777cqw;
    font-size: 1.316cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #31261f;
  }

  body[data-hero-slide] .pc-firstview .floating-brand::before {
    display: none;
  }

  body[data-hero-slide] .pc-firstview .brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 2.512cqw;
    height: 1.675cqw;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
  }

  body[data-hero-slide] .pc-firstview .floating-nav {
    position: absolute;
    left: 36.065cqw;
    top: 2.273cqw;
    display: flex;
    flex: none;
    width: 42.592cqw;
    gap: 2.811cqw;
    justify-content: flex-start;
    font-size: 0.957cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  body[data-hero-slide] .pc-firstview .floating-cta {
    position: absolute;
    left: 81.519cqw;
    top: 1.256cqw;
    display: inline-flex;
    width: 14.414cqw;
    min-height: 0;
    height: 2.931cqw;
    padding: 0;
    border-radius: 1.465cqw;
    font-size: 0.957cqw;
    font-weight: 500;
  }

  body[data-hero-slide] .pc-firstview .mobile-menu-button,
  body[data-hero-slide] .pc-firstview .slider-dots,
  body[data-hero-slide] .pc-firstview .slide-progress,
  body[data-hero-slide] .pc-firstview .carousel-indicator,
  body[data-hero-slide] .pc-firstview .scroll-cue {
    display: none;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-copy {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-eyebrow {
    position: absolute;
    left: 3.947cqw;
    top: 13.457cqw;
    width: 23.700cqw;
    margin: 0;
    font-size: 1.077cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.22em;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero #hero-title.hero-title {
    position: absolute;
    left: 3.947cqw;
    top: 16.687cqw;
    width: 41.647cqw;
    margin: 0;
    font-size: 4.545cqw;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero #hero-title.hero-title .hero-cross {
    margin: 0 0.32em;
    font-size: 0.68em;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-copy-lines {
    position: absolute;
    left: 3.947cqw;
    top: 23.386cqw;
    display: block;
    width: 24.708cqw;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-subcopy,
  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-message {
    margin: 0;
    font-size: 1.615cqw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-actions {
    position: absolute;
    left: 3.888cqw;
    top: 31.758cqw;
    display: flex;
    gap: 1.794cqw;
    margin: 0;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-actions a {
    min-width: 0;
    width: 13.278cqw;
    min-height: 0;
    height: 4.366cqw;
    padding: 0;
    border-radius: 0;
    font-size: 1.435cqw;
    font-weight: 500;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero .hero-actions a + a {
    width: 13.158cqw;
  }
}

.hero-subcopy,
.hero-message,
.photo-scene--hero .hero-copy p:not(.scene-label) {
  color: #33261d;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  text-shadow: none;
}

.hero-subcopy,
.hero-message {
  margin: 20px 0 0;
  font-size: clamp(22px, 2vw, 31px);
  font-weight: 700;
  line-height: 1.65;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.hero-message {
  margin-top: 6px;
}

.hero-dots {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.hero-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border: 1px solid rgba(93, 71, 51, 0.65);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.hero-dot.is-active {
  background: #a6743c;
  border-color: #a6743c;
}

.scene-actions {
  justify-content: flex-start;
  gap: 24px;
  margin-top: 34px;
}

.scene-actions a {
  min-width: 224px;
  min-height: 62px;
  border: 1px solid rgba(113, 83, 56, 0.58);
  border-radius: 7px;
  background: rgba(255, 253, 248, 0.72);
  color: #5b3f28;
  font-size: clamp(19px, 1.45vw, 25px);
  text-shadow: none;
}

.scene-actions a:first-child {
  border-color: rgba(190, 133, 61, 0.88);
  background: linear-gradient(135deg, #d8a05c, #c48a45);
  color: #fffdf8;
}

.floating-header a:focus-visible,
.mobile-menu-button:focus-visible,
.hero-dot:focus-visible,
.scene-actions a:focus-visible {
  outline: 3px solid rgba(166, 116, 60, 0.44);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  .brand-prefix {
    display: none;
  }

  .floating-nav {
    gap: 18px;
    font-size: 13px;
  }

  .floating-cta {
    padding-inline: 18px;
  }
}

@media (max-width: 640px) {
  .photo-scene--hero {
    min-height: 100svh;
    padding-top: 86px;
  }

  .hero-slides {
    top: 86px;
    height: calc(100% - 86px);
  }

  .hero-slide img {
    object-fit: cover;
  }

  .hero-slide--vegetable img,
  .hero-slide--kamado img {
    object-position: center center;
  }

  .floating-header {
    min-height: 86px;
    padding: 20px 28px;
    background: rgba(255, 253, 248, 0.98);
  }

  .floating-brand {
    display: inline-flex;
    gap: 0;
    max-width: calc(100vw - 108px);
    font-size: clamp(34px, 9.5vw, 43px);
    letter-spacing: 0.1em;
  }

  .floating-brand::before,
  .brand-prefix {
    display: none;
  }

  .mobile-menu-button {
    position: fixed !important;
    top: 28px !important;
    right: 28px !important;
    left: auto !important;
    z-index: 110 !important;
    width: 44px !important;
    height: 34px !important;
    display: grid !important;
    gap: 8px;
    background: transparent;
  }

  .mobile-menu-button span {
    width: 44px !important;
    height: 3px !important;
    background: #2a211a !important;
  }

  .floating-nav,
  .floating-cta {
    display: none;
  }

  body.is-mobile-menu-open .floating-nav {
    position: fixed;
    top: 86px;
    left: 0;
    right: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 14px 28px 24px;
    background: rgba(255, 253, 248, 0.98);
    color: #251f19;
    box-shadow: 0 20px 40px rgba(39, 30, 19, 0.14);
  }

  body.is-mobile-menu-open .floating-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(39, 30, 19, 0.1);
    font-size: 16px;
  }

  body.is-mobile-menu-open .floating-nav .nav-mobile-cta {
    display: block;
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(172, 126, 69, 0.7);
    border-radius: 999px;
    color: #a6743c;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
  }

  .hero-copy {
    align-content: end;
    width: 100%;
    min-height: calc(100svh - 86px);
    margin: 86px 0 0;
    padding: 0 clamp(28px, 7vw, 42px) 34px;
    color: #fff;
  }

  .hero-copy::before {
    inset: auto 0 0;
    height: 46%;
    background:
      linear-gradient(180deg, rgba(35, 27, 20, 0) 0%, rgba(35, 27, 20, 0.36) 35%, rgba(35, 27, 20, 0.58) 100%);
  }

  .photo-scene--hero .scene-label {
    margin-bottom: 8px;
    color: #fff;
    font-size: clamp(12px, 3.2vw, 16px);
    letter-spacing: 0.18em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
  }

  .photo-scene--hero #hero-title {
    color: #fff;
    font-size: clamp(42px, 10.6vw, 58px);
    line-height: 1.16;
    letter-spacing: 0.05em;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
  }

  .photo-scene--hero #hero-title::after {
    content: "";
    display: block;
    width: min(100%, 570px);
    height: 1px;
    margin: 0.28em 0 0;
    background: rgba(255, 255, 255, 0.72);
  }

  .photo-scene--hero #hero-title .hero-cross {
    color: #fff;
    font-size: 0.72em;
  }

  .hero-subcopy {
    display: none;
  }

  .hero-message,
  .photo-scene--hero .hero-copy p.hero-message {
    margin-top: 14px;
    color: #fff;
    font-size: clamp(19px, 5vw, 25px);
    line-height: 1.45;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.26);
  }

  .hero-dots {
    justify-content: center;
    width: 100%;
    gap: 18px;
    margin: 22px 0 20px;
  }

  .hero-dot {
    width: 16px;
    height: 16px;
    border-color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.18);
  }

  .hero-dot.is-active {
    background: #fff;
    border-color: #fff;
  }

  .photo-scene--hero .scene-actions,
  body .photo-scene--hero .scene-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0;
  }

  .photo-scene--hero .scene-actions a,
  body .photo-scene--hero .scene-actions a {
    min-height: 64px !important;
    padding: 12px 34px 12px 14px !important;
    border-radius: 8px !important;
    font-size: clamp(20px, 5.4vw, 27px) !important;
    letter-spacing: 0.08em !important;
  }

  .photo-scene--hero .scene-actions a:first-child {
    background: rgba(255, 253, 248, 0.96);
    color: #33261d;
    border-color: rgba(255, 253, 248, 0.96);
  }

  .photo-scene--hero .scene-actions a:last-child {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.78);
  }
}

@media (min-width: 1024px) {
  .desktop-scale-shell {
    width: 100%;
    container-type: inline-size;
  }

  .pc-firstview {
    position: relative;
    width: 100%;
    aspect-ratio: 1672 / 941;
    overflow: hidden;
    background: #fffdf8;
  }

  .pc-firstview .floating-header {
    position: absolute;
    inset: 0 auto auto 0;
    z-index: 20;
    display: block;
    width: 100cqw;
    min-height: 0;
    height: 5.323cqw;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fffdf8;
    box-shadow: none;
    backdrop-filter: none;
  }

  .pc-firstview .photo-scene--hero {
    position: absolute;
    left: 0;
    top: 5.323cqw;
    width: 100cqw;
    height: 50.957cqw;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }

  .pc-firstview .hero-slides,
  .pc-firstview .hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .pc-firstview .photo-scene--hero .hero-slide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.45s ease-in-out, visibility 0s linear 1.45s;
  }

  .pc-firstview .photo-scene--hero .hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 1.45s ease-in-out;
  }

  .pc-firstview .hero-slide img {
    width: 100%;
    height: 100%;
    transform: none;
    filter: none;
    opacity: 1;
  }

  .pc-firstview .hero-slide--kamado img {
    object-fit: fill;
    object-position: 0 0;
  }

  .pc-firstview .hero-slide--vegetable img {
    position: absolute;
    top: 0;
    right: -10cqw;
    left: auto;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center center;
  }

  .pc-firstview .floating-brand {
    position: absolute;
    left: 2.811cqw;
    top: 1.675cqw;
    width: 20.031cqw;
    gap: 0.777cqw;
    font-size: 1.316cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
    color: #31261f;
  }

  .pc-firstview .floating-brand::before {
    display: none;
  }

  .pc-firstview .brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 2.512cqw;
    height: 1.675cqw;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
  }

  .pc-firstview .floating-nav {
    position: absolute;
    left: 36.065cqw;
    top: 2.273cqw;
    display: flex;
    flex: none;
    width: 42.592cqw;
    gap: 2.811cqw;
    justify-content: flex-start;
    font-size: 0.957cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .pc-firstview .floating-cta {
    position: absolute;
    left: 81.519cqw;
    top: 1.256cqw;
    display: inline-flex;
    width: 14.414cqw;
    min-height: 0;
    height: 2.931cqw;
    padding: 0;
    border-radius: 1.465cqw;
    font-size: 0.957cqw;
    font-weight: 500;
  }

  .pc-firstview .mobile-menu-button,
  .pc-firstview .slider-dots,
  .pc-firstview .slide-progress,
  .pc-firstview .carousel-indicator,
  .pc-firstview .scroll-cue {
    display: none;
  }

  .pc-firstview .photo-scene--hero .hero-copy {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
  }

  .pc-firstview .photo-scene--hero .hero-copy::before {
    content: none;
    display: none;
    background: none;
  }

  .pc-firstview .photo-scene--hero .hero-eyebrow {
    position: absolute;
    left: 3.947cqw;
    top: 13.457cqw;
    width: 23.700cqw;
    margin: 0;
    font-size: 1.077cqw;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.22em;
  }

  .pc-firstview .photo-scene--hero #hero-title.hero-title {
    position: absolute;
    left: 3.947cqw;
    top: 16.687cqw;
    width: 41.647cqw;
    margin: 0;
    font-size: 4.545cqw;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: 0.06em;
    white-space: nowrap;
  }

  .pc-firstview .photo-scene--hero #hero-title.hero-title .hero-cross {
    margin: 0 0.32em;
    font-size: 0.68em;
  }

  .pc-firstview .photo-scene--hero .hero-copy-lines {
    position: absolute;
    left: 3.947cqw;
    top: 23.386cqw;
    display: block;
    width: 24.708cqw;
  }

  .pc-firstview .photo-scene--hero .hero-subcopy,
  .pc-firstview .photo-scene--hero .hero-message {
    margin: 0;
    font-size: 1.615cqw;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.02em;
  }

  .pc-firstview .photo-scene--hero .hero-actions {
    position: absolute;
    left: 3.888cqw;
    top: 31.758cqw;
    display: flex;
    gap: 1.794cqw;
    margin: 0;
  }

  .pc-firstview .photo-scene--hero .hero-actions a {
    min-width: 0;
    width: 13.278cqw;
    min-height: 0;
    height: 4.366cqw;
    padding: 0;
    border-radius: 0;
    font-size: 1.435cqw;
    font-weight: 500;
  }

  .pc-firstview .photo-scene--hero .hero-actions a + a {
    width: 13.158cqw;
  }

  .pc-firstview .photo-scene--hero .hero-dots {
    position: absolute;
    left: 15.15cqw;
    top: 29.35cqw;
    z-index: 4;
    display: flex;
    width: auto;
    gap: 0.78cqw;
    margin: 0;
  }

  .pc-firstview .photo-scene--hero .hero-dot {
    width: 0.66cqw;
    height: 0.66cqw;
    border: 1px solid rgba(111, 81, 55, 0.68);
    border-radius: 50%;
    background: rgba(255, 253, 248, 0.74);
  }

  .pc-firstview .photo-scene--hero .hero-dot.is-active {
    border-color: #9c7346;
    background: #9c7346;
  }
}

@media (max-width: 640px) {
  .floating-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .photo-scene--hero {
    padding-top: 68px;
  }

  .hero-slides {
    top: 68px;
    height: calc(100% - 68px);
  }

  .floating-brand {
    gap: 9px;
    max-width: calc(100vw - 92px);
    font-size: clamp(24px, 7vw, 30px);
    letter-spacing: 0.04em;
  }

  .floating-brand .brand-prefix {
    display: none;
  }

  .floating-brand::before {
    display: none;
  }

  .floating-brand .brand-logo {
    display: block;
    flex: 0 0 auto;
    width: 32px;
    height: 22px;
    border-radius: 0;
    background: transparent;
    object-fit: contain;
  }

  .mobile-menu-button {
    top: 20px !important;
    right: 20px !important;
    width: 36px !important;
    height: 28px !important;
    gap: 6px;
  }

  .mobile-menu-button span {
    width: 36px !important;
    height: 2px !important;
  }

  body.is-mobile-menu-open .floating-nav {
    top: 68px;
  }

  .hero-copy {
    min-height: calc(100svh - 68px);
    margin-top: 68px;
  }
}

@media (min-width: 1024px) {
  body[data-hero-slide="vegetable"] .pc-firstview .photo-scene--hero::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 43%;
    pointer-events: none;
    background: linear-gradient(
      90deg,
      #fffdf8 0%,
      rgba(255, 253, 248, 0.96) 24%,
      rgba(255, 253, 248, 0.68) 48%,
      rgba(255, 253, 248, 0.18) 76%,
      rgba(255, 253, 248, 0) 100%
    );
  }

  .pc-firstview .photo-scene--hero .hero-copy {
    z-index: 3;
  }
}

@media (max-width: 640px) {
  .photo-scene--hero .hero-slides {
    top: 68px !important;
    height: calc(100% - 68px) !important;
  }

  .photo-scene--hero[data-slide="vegetable"] .hero-slide--vegetable img {
    object-position: 50% 46% !important;
  }

  body[data-hero-slide="vegetable"] .photo-scene--hero .hero-copy::before {
    height: 42% !important;
    background: linear-gradient(
      180deg,
      rgba(28, 22, 17, 0) 0%,
      rgba(28, 22, 17, 0.18) 42%,
      rgba(28, 22, 17, 0.46) 100%
    ) !important;
  }

  .floating-header {
    position: fixed !important;
    inset: 0 0 auto 0 !important;
    z-index: 40 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 0 !important;
    height: 68px !important;
    padding: 12px 18px !important;
    background-color: #fffdf8 !important;
  }

  .floating-brand {
    position: static !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: calc(100vw - 96px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    transform: none !important;
    gap: 7px !important;
    font-size: clamp(20px, 6vw, 25px) !important;
    line-height: 1 !important;
    white-space: nowrap !important;
  }

  .floating-brand .brand-logo {
    width: 27px !important;
    height: 18px !important;
  }

  .mobile-menu-button {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    display: inline-flex !important;
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 26px !important;
    margin-left: auto !important;
    padding: 0 !important;
    gap: 5px !important;
    background: transparent !important;
  }

  .mobile-menu-button span {
    display: block !important;
    width: 34px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #211c17 !important;
  }

  .photo-scene--hero .scene-actions,
  body .photo-scene--hero .scene-actions {
    left: 24px !important;
    right: 24px !important;
    bottom: 24px !important;
    width: auto !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  .photo-scene--hero .scene-actions a,
  body .photo-scene--hero .scene-actions a {
    width: 100% !important;
    min-width: 0 !important;
    height: 58px !important;
    padding: 0 12px !important;
    font-size: clamp(17px, 5vw, 21px) !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 640px) {
  .floating-brand {
    position: fixed !important;
    left: 18px !important;
    top: 22px !important;
    z-index: 50 !important;
    max-width: calc(100vw - 104px) !important;
    transform: none !important;
  }

  .pc-firstview .floating-header .mobile-menu-button,
  .pc-firstview .mobile-menu-button,
  .mobile-menu-button {
    position: fixed !important;
    top: 21px !important;
    right: 18px !important;
    z-index: 51 !important;
    display: inline-flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 26px !important;
    padding: 0 !important;
    gap: 5px !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .pc-firstview .floating-header .mobile-menu-button span,
  .pc-firstview .mobile-menu-button span,
  .mobile-menu-button span {
    display: block !important;
    width: 34px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #211c17 !important;
  }

  .photo-scene--hero.is-slide-forced .hero-slide {
    transition: none !important;
  }

  .pc-firstview .photo-scene--hero.is-slide-forced .hero-slide:not(.is-active) {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .pc-firstview .photo-scene--hero.is-slide-forced .hero-slide.is-active {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .mobile-menu-trigger {
    position: fixed !important;
    top: 12px !important;
    right: 13px !important;
    left: auto !important;
    z-index: 200 !important;
    display: inline-flex !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    appearance: none !important;
  }

  .mobile-menu-trigger span {
    display: block !important;
    width: 34px !important;
    height: 2px !important;
    border-radius: 999px !important;
    background: #211c17 !important;
  }

}

.pc-firstview .photo-scene--hero.is-slide-forced .hero-slide {
  transition: none !important;
}

.pc-firstview .photo-scene--hero.is-slide-forced .hero-slide:not(.is-active) {
  opacity: 0 !important;
  visibility: hidden !important;
}

.pc-firstview .photo-scene--hero.is-slide-forced .hero-slide.is-active {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Brand refinement: logo, hero title, and desktop navigation rhythm */
.site-logo::before,
.site-logo::after {
  content: none !important;
  display: none !important;
}

.site-logo .brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 641px) and (max-width: 1023px) {
  .site-logo.floating-brand {
    width: auto !important;
    height: 34px !important;
    max-width: 114px !important;
    gap: 0 !important;
    font-size: 0 !important;
  }

  .site-logo.floating-brand .brand-logo {
    width: auto !important;
    height: 34px !important;
    max-width: 100% !important;
  }
}

@media (min-width: 1024px) {
  body[data-hero-slide] .pc-firstview .site-logo.floating-brand {
    top: 50% !important;
    width: auto !important;
    height: clamp(61px, 4.522cqw, 76px) !important;
    gap: 0 !important;
    font-size: 0 !important;
    transform: translateY(-50%) !important;
  }

  body[data-hero-slide] .pc-firstview .site-logo.floating-brand .brand-logo {
    width: auto !important;
    height: clamp(61px, 4.522cqw, 76px) !important;
    max-width: 22.68cqw !important;
  }

  .pc-firstview .floating-nav > a {
    position: relative;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  body[data-hero-slide] .pc-firstview .floating-nav {
    flex-wrap: nowrap;
    gap: 1.2cqw;
  }

  .pc-firstview .photo-scene--hero #hero-title.hero-title {
    display: flex;
    align-items: baseline;
    gap: clamp(10px, 0.72cqw, 12px);
    letter-spacing: 0.045em;
    font-feature-settings: "palt" 1;
  }

  .pc-firstview .photo-scene--hero #hero-title.hero-title .hero-title__care,
  .pc-firstview .photo-scene--hero #hero-title.hero-title .hero-title__country {
    display: inline-block;
  }

  body[data-hero-slide] .pc-firstview .photo-scene--hero #hero-title.hero-title .hero-title__cross {
    display: inline-block;
    margin: 0;
    color: #6e5137;
    font-size: 0.44em;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.74;
    transform: translateY(-0.08em);
  }
}

.floating-nav a:not(.nav-mobile-cta) {
  display: inline-flex;
}

.floating-nav a:not(.nav-mobile-cta),
.floating-cta {
  align-items: center;
  gap: 0.42em;
}

.menu-bean {
  display: block;
  flex: 0 0 auto;
  width: 1.4em;
  height: 1.4em;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .pc-firstview .photo-scene--hero .hero-actions {
    width: 28.23cqw;
    flex-wrap: wrap;
    column-gap: 1.794cqw;
    row-gap: 0.8cqw;
  }

  .pc-firstview .photo-scene--hero .hero-actions .hero-training-link {
    flex: 0 0 100%;
    width: 100%;
    border-color: rgba(156, 115, 70, 0.72);
    background: rgba(255, 253, 248, 0.82);
    color: #4a3028;
  }
}

@media (max-width: 640px) {
  .photo-scene--hero .scene-actions .hero-training-link {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.05);
    color: #fffdf7;
    border-color: rgba(255, 255, 255, 0.78);
  }

  .photo-scene--hero .scene-actions .hero-training-link::after {
    content: none;
    display: none;
  }
}

@media (max-width: 640px) {
  .site-logo.floating-brand {
    top: 18px !important;
    left: 18px !important;
    width: auto !important;
    height: 31px !important;
    max-width: calc(100vw - 96px) !important;
    gap: 0 !important;
    font-size: 0 !important;
  }

  .site-logo.floating-brand .brand-logo {
    width: auto !important;
    height: 31px !important;
    max-width: min(122px, calc(100vw - 96px)) !important;
  }

  .photo-scene--hero #hero-title.hero-title {
    display: flex;
    align-items: baseline;
    gap: clamp(7px, 2vw, 9px);
    max-width: 100%;
    letter-spacing: 0.035em;
    font-feature-settings: "palt" 1;
    white-space: nowrap;
  }

  .photo-scene--hero #hero-title.hero-title .hero-title__care,
  .photo-scene--hero #hero-title.hero-title .hero-title__country {
    display: inline-block;
  }

  .photo-scene--hero #hero-title.hero-title .hero-title__cross {
    display: inline-block;
    margin: 0;
    font-size: 0.42em;
    line-height: 1;
    letter-spacing: 0;
    opacity: 0.78;
    transform: translateY(-0.08em);
  }
}

/* Mobile hero refinements */
.hero-message-mobile {
  display: none;
}

@media (max-width: 640px) {
  .site-logo.floating-brand {
    height: 42px !important;
  }

  .site-logo.floating-brand .brand-logo {
    height: 42px !important;
    max-width: min(168px, calc(100vw - 96px)) !important;
  }

  .hero-message-desktop {
    display: none;
  }

  .hero-message-mobile {
    display: inline;
  }
}

/* Top hero: reveal the concept after the active photo is ready. */
.hero-intro-pending .hero-eyebrow,
.hero-intro-pending .hero-title,
.hero-intro-pending .hero-copy-lines,
.hero-intro-pending .hero-dots,
.hero-intro-pending .hero-actions {
  opacity: 0;
}

.photo-scene--hero.is-intro-ready .hero-eyebrow {
  animation: hero-concept-reveal 1.5s ease-out 0.25s both;
}

.photo-scene--hero.is-intro-ready .hero-title {
  animation: hero-concept-reveal 2s ease-out 0.55s both;
}

.photo-scene--hero.is-intro-ready .hero-copy-lines {
  animation: hero-concept-reveal 2.2s ease-out 1.8s both;
}

.photo-scene--hero.is-intro-ready .hero-dots,
.photo-scene--hero.is-intro-ready .hero-actions {
  animation: hero-concept-reveal 1.4s ease-out 3.6s both;
}

.photo-scene--hero.is-intro-skip .hero-eyebrow,
.photo-scene--hero.is-intro-skip .hero-title,
.photo-scene--hero.is-intro-skip .hero-copy-lines,
.photo-scene--hero.is-intro-skip .hero-dots,
.photo-scene--hero.is-intro-skip .hero-actions {
  opacity: 1;
  filter: none;
  animation: none;
}

@keyframes hero-concept-reveal {
  from {
    opacity: 0;
    filter: blur(4px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes hero-mobile-shade-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .photo-scene--hero:not(.is-slide-forced) .hero-slide {
    z-index: 1;
    visibility: visible !important;
    opacity: 1;
    transition: none !important;
  }

  .photo-scene--hero:not(.is-slide-forced) .hero-slide.is-active {
    z-index: 2;
  }

  .photo-scene--hero:not(.is-slide-forced) .hero-slide.is-mobile-entering {
    animation: hero-mobile-slide-reveal 1.45s ease-in-out both;
  }

  .photo-scene--hero.hero-intro-pending .hero-copy::before,
  .photo-scene--hero.is-intro-ready .hero-copy::before,
  body[data-hero-slide] .photo-scene--hero.hero-intro-pending .hero-copy::before,
  body[data-hero-slide] .photo-scene--hero.is-intro-ready .hero-copy::before {
    content: "" !important;
    display: block !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: 48% !important;
    background: linear-gradient(
      180deg,
      rgba(48, 33, 24, 0) 0%,
      rgba(48, 33, 24, 0.16) 30%,
      rgba(48, 33, 24, 0.42) 66%,
      rgba(48, 33, 24, 0.68) 100%
    ) !important;
    opacity: 0;
  }

  .photo-scene--hero.is-intro-ready .hero-copy::before {
    animation: hero-mobile-shade-reveal 0.75s ease-out 0.2s both;
  }

  .photo-scene--hero.is-intro-skip .hero-copy::before,
  body[data-hero-slide] .photo-scene--hero.is-intro-skip .hero-copy::before {
    opacity: 1;
    animation: none;
  }
}

@keyframes hero-mobile-slide-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro-pending .hero-eyebrow,
  .hero-intro-pending .hero-title,
  .hero-intro-pending .hero-copy-lines,
  .hero-intro-pending .hero-dots,
  .hero-intro-pending .hero-actions,
  .photo-scene--hero.is-intro-ready .hero-eyebrow,
  .photo-scene--hero.is-intro-ready .hero-title,
  .photo-scene--hero.is-intro-ready .hero-copy-lines,
  .photo-scene--hero.is-intro-ready .hero-dots,
  .photo-scene--hero.is-intro-ready .hero-actions {
    opacity: 1;
    filter: none;
    animation: none;
  }

  .photo-scene--hero.hero-intro-pending .hero-copy::before,
  .photo-scene--hero.is-intro-ready .hero-copy::before {
    opacity: 1;
    animation: none;
  }
}

/* iPhone Safari: keep copy rendering independent from photo fades. */
@keyframes hero-mobile-opacity-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .photo-scene--hero .hero-copy {
    isolation: isolate;
  }

  .photo-scene--hero .hero-copy::before,
  body[data-hero-slide="kamado"] .photo-scene--hero .hero-copy::before,
  body[data-hero-slide="vegetable"] .photo-scene--hero .hero-copy::before {
    content: "" !important;
    display: block !important;
    inset: auto 0 0 !important;
    width: 100% !important;
    height: 48% !important;
    background: linear-gradient(
      180deg,
      rgba(48, 33, 24, 0) 0%,
      rgba(48, 33, 24, 0.16) 30%,
      rgba(48, 33, 24, 0.42) 66%,
      rgba(48, 33, 24, 0.68) 100%
    ) !important;
    opacity: 1 !important;
    animation: none !important;
    transition: none !important;
  }

  .photo-scene--hero .hero-eyebrow,
  .photo-scene--hero .hero-title,
  .photo-scene--hero .hero-copy-lines,
  .photo-scene--hero .hero-dots,
  .photo-scene--hero .hero-actions {
    filter: none !important;
    backface-visibility: hidden;
    will-change: opacity;
  }

  .photo-scene--hero.is-intro-ready .hero-eyebrow {
    animation: hero-mobile-opacity-reveal 1.5s ease-out 0.25s both;
  }

  .photo-scene--hero.is-intro-ready .hero-title {
    animation: hero-mobile-opacity-reveal 2s ease-out 0.55s both;
  }

  .photo-scene--hero.is-intro-ready .hero-copy-lines {
    animation: hero-mobile-opacity-reveal 2.2s ease-out 1.8s both;
  }

  .photo-scene--hero.is-intro-ready .hero-dots,
  .photo-scene--hero.is-intro-ready .hero-actions {
    animation: hero-mobile-opacity-reveal 1.4s ease-out 3.6s both;
  }
}

@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .photo-scene--hero.is-intro-ready .hero-eyebrow,
  .photo-scene--hero.is-intro-ready .hero-title,
  .photo-scene--hero.is-intro-ready .hero-copy-lines,
  .photo-scene--hero.is-intro-ready .hero-dots,
  .photo-scene--hero.is-intro-ready .hero-actions {
    opacity: 1;
    filter: none;
    animation: none;
  }

  .photo-scene--hero.hero-intro-pending .hero-copy::before,
  .photo-scene--hero.is-intro-ready .hero-copy::before {
    opacity: 1;
    animation: none;
  }
}
