/* Serena Head Therapy - warm ink zen direction */

:root {
  --rice: #f7f3ea;
  --rice-light: #fcfaf5;
  --rice-deep: #eee5d6;
  --ink: #1e2923;
  --ink-soft: #33443a;
  --bamboo: #8d9a82;
  --bamboo-light: #dde4d6;
  --bamboo-dark: #5f7057;
  --oldgold: #b89b5e;
  --clay: #b8a894;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--rice);
  color: var(--ink);
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(141, 154, 130, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(184, 155, 94, 0.09), transparent 34%),
    url("data:image/svg+xml,%3Csvg width='160' height='160' viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}

[data-lang] {
  display: none;
}

html:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

.lang-zh [data-lang="zh"],
.lang-en [data-lang="en"] {
  display: block;
}

.lang-zh span[data-lang="zh"],
.lang-en span[data-lang="en"] {
  display: inline;
}

#navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

#navbar.scrolled {
  background: rgba(252, 250, 245, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 30px rgba(30, 41, 35, 0.08);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand-seal {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 155, 94, 0.55);
  border-radius: 50%;
  color: var(--oldgold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1;
  background: rgba(252, 250, 245, 0.58);
}

.brand-word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  letter-spacing: 0.18em;
  font-weight: 400;
}

.nav-link,
.lang-button {
  color: rgba(30, 41, 35, 0.66);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-link:hover,
.lang-button:hover {
  color: var(--oldgold);
}

.active-link {
  color: var(--oldgold);
}

.lang-button {
  border: 1px solid rgba(184, 155, 94, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(252, 250, 245, 0.5);
}

.menu-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(184, 155, 94, 0.35);
  border-radius: 999px;
  background: rgba(252, 250, 245, 0.62);
}

.menu-button span {
  width: 15px;
  height: 1px;
  margin: 0 auto;
  background: var(--ink);
}

.mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

.mobile-menu-panel {
  margin-top: 12px;
  padding: 18px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(184, 155, 94, 0.22);
  border-radius: 8px;
  background: rgba(252, 250, 245, 0.94);
  backdrop-filter: blur(18px);
}

.hero-section {
  min-height: 94vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--rice-light);
}

.hero-image {
  position: absolute;
  inset: 0 0 0 45%;
  background:
    linear-gradient(90deg, var(--rice-light) 0%, rgba(247, 243, 234, 0.78) 18%, rgba(247, 243, 234, 0.08) 100%),
    url("https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1500&q=82") center / cover;
}

.zen-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(252, 250, 245, 0.15), rgba(247, 243, 234, 0.95)),
    repeating-linear-gradient(90deg, rgba(30, 41, 35, 0.025) 0 1px, transparent 1px 13px);
}

.hero-content {
  max-width: 660px;
  padding-top: 86px;
}

.section-kicker {
  margin: 0 0 22px;
  color: var(--oldgold);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero-title,
.section-title {
  margin: 0;
  color: var(--ink);
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.hero-title {
  font-size: clamp(54px, 9.4vw, 108px);
  line-height: 1.05;
}

.section-title {
  font-size: clamp(34px, 4.8vw, 58px);
  line-height: 1.22;
}

.hero-copy,
.section-note,
.copy-stack p,
.product-copy p,
.space-copy p,
.signature-copy p {
  color: rgba(30, 41, 35, 0.68);
  font-size: 15px;
  line-height: 2.05;
}

.hero-copy {
  max-width: 430px;
  margin: 36px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 44px;
}

.text-button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--oldgold);
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.text-button::after {
  content: '';
  width: 28px;
  height: 1px;
  margin-left: 12px;
  background: currentColor;
}

.text-button.muted {
  color: rgba(30, 41, 35, 0.58);
  border-color: rgba(30, 41, 35, 0.22);
}

.text-button:hover {
  color: var(--oldgold);
}

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

.intro-grid,
.split-heading,
.product-grid,
.space-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: stretch;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.quiet-metrics {
  margin-top: 82px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
}

.quiet-metrics div {
  min-height: 130px;
  padding: 30px 24px;
  border-right: 1px solid rgba(30, 41, 35, 0.1);
}

.quiet-metrics div:last-child {
  border-right: 0;
}

.quiet-metrics span {
  display: block;
  margin-bottom: 24px;
  color: rgba(184, 155, 94, 0.72);
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
}

.herbal-leaf-icon {
  position: relative;
  width: 42px;
  height: 32px;
}

.herbal-leaf-icon::before,
.herbal-leaf-icon::after {
  content: '';
  position: absolute;
  border: 1.5px solid rgba(184, 155, 94, 0.72);
  background: rgba(184, 155, 94, 0.06);
}

.herbal-leaf-icon::before {
  width: 26px;
  height: 18px;
  left: 12px;
  top: 3px;
  border-radius: 100% 0 100% 0;
  transform: rotate(-34deg);
}

.herbal-leaf-icon::after {
  width: 18px;
  height: 13px;
  left: 4px;
  top: 13px;
  border-radius: 100% 0 100% 0;
  transform: rotate(22deg);
}

.herbal-leaf-icon i {
  display: none;
}

.herbal-leaf-icon + p {
  margin-top: 0;
}

.herbal-leaf-icon {
  margin-bottom: 24px;
}

.quiet-metrics p {
  margin: 0;
  color: rgba(30, 41, 35, 0.72);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.center-heading {
  max-width: 760px;
  margin: 0 auto 70px;
  text-align: center;
}

.benefit-list,
.sense-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
}

.benefit-list article,
.sense-list article {
  min-height: 300px;
  padding: 38px 30px;
  border-right: 1px solid rgba(30, 41, 35, 0.1);
  background: transparent;
}

.benefit-list article:last-child,
.sense-list article:last-child {
  border-right: 0;
}

.benefit-index,
.ritual-index {
  display: block;
  margin-bottom: 62px;
  color: var(--oldgold);
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  letter-spacing: 0.18em;
}

.benefit-list h3,
.sense-list h3,
.ritual-card h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  font-weight: 300;
}

.benefit-list p,
.sense-list p,
.ritual-card p {
  margin: 0;
  color: rgba(30, 41, 35, 0.62);
  font-size: 14px;
  line-height: 1.9;
}

.section-note {
  max-width: 430px;
  align-self: end;
}

.philosophy-section {
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.96), rgba(221, 228, 214, 0.42)),
    var(--rice);
}

.philosophy-grid {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
}

.philosophy-grid article {
  min-height: 280px;
  padding: 38px 30px 34px;
  border-right: 1px solid rgba(30, 41, 35, 0.1);
}

.philosophy-grid article:last-child {
  border-right: 0;
}

.philosophy-grid article > span,
.ritual-timeline > article > span {
  display: block;
  margin-bottom: 54px;
  color: var(--oldgold);
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  line-height: 1;
}

.philosophy-grid h3,
.signature-card h3,
.ritual-timeline h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 300;
  line-height: 1.28;
}

.philosophy-grid p,
.ritual-timeline p {
  margin: 0;
  color: rgba(30, 41, 35, 0.64);
  font-size: 14px;
  line-height: 1.95;
}

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

.signature-card {
  border-top: 1px solid rgba(30, 41, 35, 0.12);
}

.signature-image {
  min-height: 420px;
  margin-bottom: 34px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.74) contrast(0.94);
}

.signature-image.ginger {
  background-image:
    linear-gradient(180deg, rgba(252, 250, 245, 0.02), rgba(247, 243, 234, 0.1)),
    url("../assets/images/herbal-products-zen.webp");
}

.signature-image.meridian {
  background-image:
    linear-gradient(180deg, rgba(252, 250, 245, 0.02), rgba(247, 243, 234, 0.1)),
    url("../assets/images/head-meridian-release.webp");
}

.signature-copy {
  padding: 0 8px 8px;
}

.signature-copy .ritual-index {
  margin-bottom: 38px;
}

.ritual-timeline {
  margin-top: 78px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  border-left: 1px solid rgba(30, 41, 35, 0.08);
}

.ritual-timeline article {
  min-height: 300px;
  padding: 34px 28px;
  border-right: 1px solid rgba(30, 41, 35, 0.08);
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
  background: rgba(252, 250, 245, 0.34);
}

.why-section {
  background: var(--rice-light);
}

.service-row,
.ritual-flow {
  margin-top: 76px;
}

.ritual-flow {
  display: grid;
  gap: 30px;
  border-top: 1px solid rgba(30, 41, 35, 0.1);
}

.ritual-card {
  padding: 16px 16px 34px;
  border: 1px solid rgba(30, 41, 35, 0.1);
  background: rgba(252, 250, 245, 0.74);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.ritual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(30, 41, 35, 0.09);
}

.ritual-step {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(30, 41, 35, 0.1);
}

.ritual-step:nth-child(even) .ritual-image {
  order: 2;
}

.ritual-step-copy {
  max-width: 520px;
}

.ritual-step h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: 'Noto Serif SC', 'Cormorant Garamond', serif;
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 300;
  line-height: 1.2;
}

.ritual-step p {
  margin: 0;
  color: rgba(30, 41, 35, 0.64);
  font-size: 15px;
  line-height: 2;
}

.ritual-image {
  height: 360px;
  margin-bottom: 30px;
  background-size: cover;
  background-position: center;
  filter: saturate(0.76) contrast(0.92);
}

.ritual-step .ritual-image {
  margin-bottom: 0;
}

.ritual-image.arrival {
  background-image: url("https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=900&q=80");
}

.ritual-image.wash {
  background-image: url("https://images.unsplash.com/photo-1515377905703-c4788e51af15?auto=format&fit=crop&w=900&q=80");
}

.ritual-image.meridian {
  background-image: url("../assets/images/head-meridian-release.webp");
}

.ritual-image.herbal {
  background-image: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=900&q=80");
}

.ritual-image.rest {
  background-image: url("https://images.unsplash.com/photo-1528319725582-ddc096101511?auto=format&fit=crop&w=900&q=80");
}

.ritual-card .ritual-index,
.ritual-card h3,
.ritual-card p {
  margin-left: 12px;
  margin-right: 12px;
}

.ritual-card .ritual-index {
  margin-bottom: 26px;
}

.herb-section {
  background:
    linear-gradient(120deg, rgba(221, 228, 214, 0.86), rgba(247, 243, 234, 0.96)),
    var(--rice);
}

.product-visual {
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(30, 41, 35, 0.02), rgba(30, 41, 35, 0.14)),
    url("../assets/images/herbal-products-zen.webp") center / cover;
  filter: saturate(0.72);
}

.product-copy {
  max-width: 520px;
}

.herb-points {
  margin-top: 38px;
  display: grid;
  gap: 12px;
}

.herb-points div {
  padding: 17px 0;
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  color: rgba(30, 41, 35, 0.76);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.product-entry {
  margin-top: 42px;
}

.space-copy {
  max-width: 480px;
}

.space-gallery {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.gallery-tall,
.gallery-small,
.space-image-main {
  background-size: cover;
  background-position: center;
  filter: saturate(0.68) contrast(0.95);
}

.gallery-tall {
  grid-row: span 1;
  background-image: url("https://images.unsplash.com/photo-1604014238170-4def1e4e6fcf?auto=format&fit=crop&w=900&q=82");
}

.gallery-small {
  grid-row: span 2;
  background-image: url("https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=700&q=82");
}

.space-image-main {
  flex: 1;
  min-height: 0;
  background-image:
    linear-gradient(180deg, rgba(252, 250, 245, 0.05), rgba(247, 243, 234, 0.18)),
    url("https://images.unsplash.com/photo-1519710164239-da123dc03ef4?auto=format&fit=crop&w=1000&q=82");
}

.space-details {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(30, 41, 35, 0.12);
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
}

.space-details div {
  padding: 18px 0;
  border-bottom: 1px solid rgba(30, 41, 35, 0.1);
  color: rgba(30, 41, 35, 0.64);
  font-size: 14px;
  letter-spacing: 0.12em;
}

.space-details div:last-child {
  border-bottom: 0;
}

.gallery-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  padding: 30px;
  border: 1px solid rgba(30, 41, 35, 0.12);
  background:
    linear-gradient(145deg, rgba(252, 250, 245, 0.94), rgba(238, 229, 214, 0.72)),
    radial-gradient(circle at 88% 18%, rgba(141, 154, 130, 0.22), transparent 34%);
}

.sense-words {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(30, 41, 35, 0.12);
}

.sense-words > span {
  color: rgba(30, 41, 35, 0.58);
  font-size: 13px;
  letter-spacing: 0.16em;
}

.gallery-note-index {
  color: var(--oldgold);
  font-family: "Cormorant Garamond", serif;
  font-size: 32px;
  line-height: 1;
}

.gallery-note p {
  max-width: 280px;
  margin: 0;
  color: rgba(30, 41, 35, 0.76);
  font-size: 16px;
  line-height: 1.9;
}

.product-page {
  background: var(--rice-light);
}

.product-hero {
  min-height: 68vh;
  padding: 152px 0 74px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse at 72% 0%, var(--bamboo-light) 0%, transparent 52%),
    radial-gradient(ellipse at 10% 100%, var(--bamboo-light) 0%, transparent 38%),
    linear-gradient(180deg, var(--rice-light) 0%, var(--rice) 100%);
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 70px;
  align-items: end;
}

.product-page .product-hero-grid {
  max-width: 860px;
  grid-template-columns: minmax(0, 1fr);
}

.product-hero-copy {
  max-width: 760px;
}

.product-hero-panel {
  min-height: 300px;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--bamboo);
  background: linear-gradient(180deg, var(--bamboo-light), var(--rice));
}

.product-hero-panel span:first-child {
  color: var(--bamboo-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 96px;
  line-height: 0.85;
}

.product-hero-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  letter-spacing: 0.16em;
}

.product-page .section-kicker {
  color: var(--bamboo-dark);
}

.product-index-band {
  position: sticky;
  top: 76px;
  z-index: 10;
  padding: 18px 0;
  border-top: 1px solid var(--bamboo-light);
  border-bottom: 1px solid var(--bamboo-light);
  background: color-mix(in srgb, var(--bamboo-light) 40%, var(--rice-light) 60%);
  backdrop-filter: blur(18px);
}

.product-line-tabs {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-line-tabs::-webkit-scrollbar {
  display: none;
}

.line-tab {
  min-width: 230px;
  padding: 16px 18px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--bamboo-light);
  color: var(--ink-soft);
  text-decoration: none;
  background: color-mix(in srgb, var(--bamboo-light) 20%, var(--rice-light) 80%);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.line-tab:hover,
.line-tab.active {
  border-color: var(--bamboo);
  color: var(--ink);
  background: var(--bamboo-light);
}

.line-tab-index {
  color: var(--bamboo-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
}

.product-line-section {
  padding: 92px 0 24px;
}

.product-line-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.product-line-heading > p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.95;
}

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

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

.catalog-entry {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: stretch;
  padding: 24px 0;
  border-top: 1px solid rgba(30, 41, 35, 0.12);
}

.catalog-entry:last-child {
  border-bottom: 1px solid rgba(30, 41, 35, 0.12);
}

.catalog-entry .catalog-image-wrap {
  min-height: 300px;
  aspect-ratio: 4 / 5;
}

.catalog-entry-body {
  padding: 8px 0 8px;
}

.catalog-entry-topline {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 48px;
  color: rgba(30, 41, 35, 0.5);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.catalog-entry-topline span:first-child {
  color: var(--oldgold);
  font-family: "Cormorant Garamond", serif;
  font-size: 30px;
  line-height: 1;
}

.catalog-entry h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Noto Serif SC", "Cormorant Garamond", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.15;
}

.lang-en .catalog-entry h3 {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
}

.catalog-summary {
  max-width: 700px;
  margin: 0;
  color: rgba(30, 41, 35, 0.66);
  font-size: 15px;
  line-height: 2;
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
  min-height: 430px;
  border: 1px solid var(--rice-deep);
  background: var(--rice-light);
}

.catalog-card.theme-herb {
  border-color: var(--bamboo);
  background: linear-gradient(135deg, var(--bamboo-light), var(--rice-light));
}

.catalog-image-wrap {
  min-height: 430px;
  margin: 0;
  overflow: hidden;
  background: var(--rice-deep);
}

.catalog-card.theme-herb .catalog-image-wrap {
  background: linear-gradient(180deg, var(--bamboo-light), var(--rice));
}

.catalog-image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.88) contrast(0.98);
  transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-image-wrap img {
  transform: scale(1.025);
}

.catalog-card-body {
  min-width: 0;
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
}

.catalog-card-topline {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
  color: rgba(30, 41, 35, 0.52);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-card-topline span:first-child {
  color: var(--oldgold);
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  line-height: 1;
}

.catalog-card.theme-herb .catalog-card-topline span:first-child {
  color: var(--bamboo-dark);
}

.catalog-card h3 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Noto Serif SC", "Cormorant Garamond", serif;
  font-size: clamp(25px, 2.4vw, 36px);
  font-weight: 300;
  line-height: 1.22;
}

.lang-en .catalog-card h3 {
  font-family: "Cormorant Garamond", "Noto Serif SC", serif;
}

.catalog-card p {
  margin: 0;
  color: rgba(30, 41, 35, 0.7);
  font-size: 15px;
  line-height: 1.9;
}

.product-line-placeholder {
  min-height: 420px;
  padding: 58px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--bamboo);
  background:
    linear-gradient(135deg, var(--bamboo-light), var(--rice-light)),
    radial-gradient(circle at 82% 22%, var(--bamboo-light), transparent 30%);
}

.placeholder-mark {
  color: var(--bamboo-dark);
  font-family: "Cormorant Garamond", serif;
  font-size: 86px;
  line-height: 0.9;
}

.product-line-placeholder h3 {
  margin: auto 0 18px;
  font-family: "Noto Serif SC", "Cormorant Garamond", serif;
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
}

.product-line-placeholder p {
  max-width: 560px;
  margin: 0;
  color: rgba(30, 41, 35, 0.68);
  font-size: 17px;
  line-height: 1.9;
}

.site-footer {
  padding: 34px 0 42px;
  background: var(--rice-light);
}

.footer-line {
  height: 1px;
  margin-bottom: 26px;
  background: rgba(30, 41, 35, 0.12);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-content p {
  margin: 0;
  color: rgba(30, 41, 35, 0.42);
  font-size: 12px;
  letter-spacing: 0.08em;
}

@media (max-width: 980px) {
  .hero-image {
    inset: 50% 0 0 0;
    opacity: 0.42;
  }

  .intro-grid,
  .split-heading,
  .product-grid,
  .space-layout {
    grid-template-columns: 1fr;
  }

  .quiet-metrics,
  .benefit-list,
  .sense-list,
  .service-row,
  .philosophy-grid,
  .signature-grid,
  .ritual-timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefit-list article:nth-child(2n),
  .sense-list article:nth-child(2n),
  .quiet-metrics div:nth-child(2n),
  .philosophy-grid article:nth-child(2n) {
    border-right: 0;
  }

  .benefit-list article,
  .sense-list article,
  .philosophy-grid article {
    border-bottom: 1px solid rgba(30, 41, 35, 0.1);
  }

  .product-visual {
    min-height: 420px;
  }

  .product-hero-grid,
  .product-catalog-grid {
    grid-template-columns: 1fr;
  }

  .product-hero-panel {
    min-height: 220px;
  }

  .catalog-card {
    grid-template-columns: minmax(220px, 0.58fr) minmax(0, 1fr);
  }

  .ritual-step {
    grid-template-columns: 1fr;
  }

  .ritual-step:nth-child(even) .ritual-image {
    order: 0;
  }

  .catalog-entry {
    grid-template-columns: 220px minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: 92vh;
    align-items: flex-start;
    padding-top: 112px;
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-title {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 14px;
    line-height: 1.9;
  }

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

  .quiet-metrics,
  .benefit-list,
  .sense-list,
  .service-row,
  .philosophy-grid,
  .signature-grid,
  .ritual-timeline {
    grid-template-columns: 1fr;
  }

  .quiet-metrics div,
  .benefit-list article,
  .sense-list article,
  .philosophy-grid article {
    border-right: 0;
  }

  .quiet-metrics div {
    border-bottom: 1px solid rgba(30, 41, 35, 0.1);
  }

  .quiet-metrics div:last-child {
    border-bottom: 0;
  }

  .benefit-index {
    margin-bottom: 36px;
  }

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

  .space-image-main {
    min-height: 340px;
  }

  .product-hero {
    min-height: auto;
    padding: 124px 0 56px;
  }

  .signature-image {
    min-height: 340px;
  }

  .ritual-timeline article,
  .philosophy-grid article {
    min-height: auto;
  }

  .product-hero-grid {
    gap: 34px;
  }

  .product-index-band {
    top: 68px;
  }

  .line-tab {
    min-width: 190px;
  }

  .product-line-section {
    padding: 70px 0 18px;
  }

  .catalog-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .catalog-entry {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .catalog-image-wrap {
    min-height: 360px;
    aspect-ratio: 4 / 5;
  }

  .catalog-entry .catalog-image-wrap {
    min-height: 340px;
  }

  .catalog-entry-topline {
    margin-bottom: 28px;
  }

  .catalog-card-body {
    padding: 26px 24px 28px;
  }

  .catalog-card-topline {
    margin-bottom: 30px;
  }

  .product-line-placeholder {
    min-height: 340px;
    padding: 34px;
  }

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