:root {
  /* Sumi · lacquer · shu (bermellón) · take (bambú) — ink + vermillion + bamboo */
  --black: #0a0b0c;
  --ink: #0e100f;
  --ink-soft: #2a322c;
  --muted: #5a6558;
  --paper: #dfe4dc;
  --paper-soft: #cfd7ce;
  --paper-warm: #b8c4b4;
  --snow: #f2f5f0;
  --red: #c41218;
  --red-deep: #7a0a0e;
  --red-soft: #e02a28;
  --bamboo: #2a4a28;
  --bamboo-soft: #4a7040;
  --bamboo-bright: #6a8f52;
  --indigo: #101820;
  --indigo-deep: #080c10;
  --line: rgba(10, 11, 12, 0.18);
  --header-h: 4.75rem;
  --font-display: "Shippori Mincho", "Noto Serif JP", serif;
  --font-body: "Noto Serif JP", "Shippori Mincho", serif;
  --font-ui: "Noto Sans JP", "Helvetica Neue", sans-serif;
  --font-jp: "Shippori Mincho", "Noto Serif JP", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1080px;
  --measure: 38rem;
  --gutter: clamp(1.25rem, 4.5vw, 2.25rem);
  --section-y: clamp(4.5rem, 9vw, 7.5rem);
  /* Asanoha — bambú más visible */
  --asanoha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='83' viewBox='0 0 72 83'%3E%3Cg fill='none' stroke='%232a4a28' stroke-width='0.85' opacity='0.42'%3E%3Cpath d='M36 2 L36 28 M36 2 L58 15 M36 2 L14 15 M36 28 L58 15 M36 28 L14 15 M36 28 L58 41 M36 28 L14 41 M58 41 L36 54 M14 41 L36 54 M36 54 L36 80 M58 41 L70 54 M14 41 L2 54'/%3E%3C/g%3E%3C/svg%3E");
  /* Seigaiha — rojo lacado sutil en oscuros */
  --seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%23e02a28' stroke-width='1' opacity='0.11'%3E%3Cpath d='M0 40c10 0 20-10 20-20S10 0 0 0'/%3E%3Cpath d='M20 40c10 0 20-10 20-20S30 0 20 0'/%3E%3Cpath d='M40 40c10 0 20-10 20-20S50 0 40 0'/%3E%3Cpath d='M60 40c10 0 20-10 20-20S70 0 60 0'/%3E%3C/g%3E%3C/svg%3E");
  --bamboo-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='240' viewBox='0 0 160 240'%3E%3Cg fill='none' stroke='%232a4a28' stroke-width='1.2'%3E%3Cpath d='M42 0v240M118 0v240' opacity='.28'/%3E%3Cpath d='M36 52h12M112 52h12M36 120h12M112 120h12M36 188h12M112 188h12' opacity='.38'/%3E%3C/g%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.125rem);
  line-height: 1.85;
  letter-spacing: 0.015em;
  color: var(--ink-soft);
  background-color: var(--paper);
  background-image:
    linear-gradient(180deg, rgba(223, 228, 220, 0.88), rgba(207, 215, 206, 0.92)),
    var(--asanoha),
    var(--bamboo-pattern);
  background-size: auto, 72px 83px, 160px 240px;
  background-position: 0 0, 0 0, 40px 20px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
}

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

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

a:hover {
  color: var(--red);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--snow);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.45s var(--ease);
}

.site-header[data-transparent] {
  background: transparent;
}

.site-header.is-solid {
  background: rgba(10, 11, 12, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 0 rgba(196, 18, 24, 0.55);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  height: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--snow);
  transition: color 0.25s ease;
}

.site-header.is-solid .brand {
  color: var(--snow);
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(196, 18, 24, 0.75);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.1;
}

.brand-jp {
  font-family: var(--font-jp);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}

.brand-en {
  font-family: var(--font-ui);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.site-header.is-solid .site-nav a {
  color: rgba(250, 248, 242, 0.78);
}

.site-nav a:hover,
.site-header.is-solid .site-nav a:hover {
  color: var(--red-soft);
}

/* Acceso al panel: sello (hanko) con 管理 */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hanko {
  display: inline-grid;
  place-items: center;
  writing-mode: vertical-rl;
  padding: 0.38rem 0.3rem;
  border: 1.5px solid var(--red-soft);
  border-radius: 3px;
  font-family: var(--font-jp);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.08em;
  color: var(--red-soft);
  background: rgba(196, 18, 24, 0.1);
  box-shadow: inset 0 0 0 1px rgba(224, 42, 40, 0.22);
  transform: rotate(-4deg);
  transition: transform 0.3s var(--ease), background 0.2s ease, color 0.2s ease;
}

.nav-cta:hover .hanko,
.nav-cta:focus-visible .hanko {
  transform: rotate(0deg) scale(1.06);
  background: var(--red);
  color: var(--snow);
}

.nav-cta-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 6px auto;
  background: var(--snow);
  transition: transform 0.3s var(--ease), background 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--snow);
  text-align: center;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  filter: contrast(1.05) saturate(0.85);
  animation: hero-drift 24s var(--ease) infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(196, 18, 24, 0.28) 0%, transparent 38%),
    radial-gradient(ellipse at 18% 70%, rgba(42, 74, 40, 0.22) 0%, transparent 42%),
    radial-gradient(ellipse at center, rgba(10, 11, 12, 0.32) 0%, rgba(10, 11, 12, 0.78) 58%, rgba(10, 11, 12, 0.94) 100%),
    linear-gradient(180deg, rgba(10, 11, 12, 0.65) 0%, transparent 34%, rgba(10, 11, 12, 0.9) 100%);
}

/* Marco tipo tokonoma / shoji */
.hero-frame {
  position: absolute;
  inset: clamp(4.8rem, 8vw, 5.5rem) clamp(1rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(242, 245, 240, 0.18);
  box-shadow: inset 0 0 0 1px rgba(196, 18, 24, 0.28);
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--red-soft);
  border-style: solid;
  opacity: 0.75;
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.hero-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.hero-side {
  position: absolute;
  top: 50%;
  z-index: 2;
  margin: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-jp);
  font-size: clamp(1.15rem, 2.4vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.6em;
  color: rgba(247, 244, 236, 0.34);
  pointer-events: none;
  user-select: none;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-side-left {
  left: clamp(0.85rem, 4vw, 2.6rem);
}

.hero-side-right {
  right: clamp(0.85rem, 4vw, 2.6rem);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 4rem;
  max-width: 46rem;
  margin: 0 auto;
  animation: rise-in 1.15s var(--ease) both;
}

.hero-seal {
  width: 78px;
  height: 78px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  box-shadow:
    0 0 0 2px rgba(196, 18, 24, 0.8),
    0 10px 36px rgba(0, 0, 0, 0.45);
  animation: seal-in 1.4s var(--ease) 0.15s both;
}

.hero-kicker {
  margin: 0 0 0.85rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.7);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: clamp(2.75rem, 9.5vw, 5.8rem);
  line-height: 1.12;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  color: var(--snow);
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero-roman {
  margin: 0.85rem 0 0;
  font-family: var(--font-ui);
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.78);
}

.torii-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.35rem auto 0;
  width: min(16rem, 70%);
}

.torii-line::before,
.torii-line::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-soft));
}

.torii-line::after {
  background: linear-gradient(90deg, var(--red-soft), transparent);
}

.torii-line span {
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--red-soft);
  transform: rotate(45deg);
  background: var(--red);
}

.hero-tagline {
  margin: 1.15rem auto 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  line-height: 1.7;
  letter-spacing: 0.035em;
  color: rgba(247, 244, 236, 0.92);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
  text-wrap: balance;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  z-index: 2;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 0;
  text-decoration: none;
}

.hero-scroll span {
  display: block;
  width: 3px;
  height: 8px;
  margin: 10px auto 0;
  background: var(--snow);
  animation: scroll-dot 1.6s ease infinite;
}

/* Welcome — noren */
.welcome-bar {
  position: relative;
  border-top: 4px solid var(--red);
  border-bottom: 1px solid rgba(106, 143, 82, 0.35);
  background:
    var(--seigaiha),
    linear-gradient(90deg, rgba(42, 74, 40, 0.55), transparent 22%, transparent 78%, rgba(42, 74, 40, 0.55)),
    linear-gradient(180deg, rgba(196, 18, 24, 0.12), transparent 60%),
    var(--black);
  background-size: 80px 40px, auto, auto, auto;
  text-align: center;
  padding: 1.15rem var(--gutter);
  overflow: hidden;
}

.welcome-bar::before,
.welcome-bar::after {
  content: "";
  position: absolute;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--bamboo-bright), transparent);
  opacity: 0.7;
}

.welcome-bar::before {
  left: clamp(1rem, 9vw, 5rem);
}

.welcome-bar::after {
  right: clamp(1rem, 9vw, 5rem);
}

.welcome-bar p {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 244, 236, 0.7);
}

.welcome-jp {
  font-family: var(--font-jp);
  letter-spacing: 0.32em;
  color: var(--red-soft);
  text-transform: none;
  font-size: 1rem;
  font-weight: 600;
}

.welcome-bar .dot {
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--bamboo-bright);
  opacity: 0.9;
}

/* Sections — ma (espacio) */
.section {
  position: relative;
  padding: var(--section-y) 0;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-inner.narrow {
  max-width: 42rem;
}

.section-inner.centered,
.split-copy.centered {
  text-align: center;
}

.section-plain {
  background:
    linear-gradient(180deg, rgba(223, 228, 220, 0.9), rgba(207, 215, 206, 0.94)),
    var(--asanoha),
    var(--bamboo-pattern);
  background-size: auto, 72px 83px, 160px 240px;
}

.section-soft {
  background:
    linear-gradient(180deg, rgba(184, 196, 180, 0.88), rgba(207, 215, 206, 0.95)),
    var(--asanoha),
    var(--bamboo-pattern);
  background-size: auto, 72px 83px, 160px 240px;
  background-position: 0 0, 24px 12px, 0 0;
}

.section-kicker {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  margin: 0 0 1.15rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bamboo-soft);
}

.section-kicker [lang="ja"] {
  position: relative;
  font-family: var(--font-jp);
  font-size: 1.2rem;
  letter-spacing: 0.22em;
  text-transform: none;
  color: var(--red);
  font-weight: 700;
  padding: 0.15rem 0.35rem 0.2rem;
}

/* Hanko (sello bermellón) detrás del kanji */
.section-kicker [lang="ja"]::before {
  content: "";
  position: absolute;
  inset: -0.15rem -0.2rem;
  border: 2px solid rgba(196, 18, 24, 0.7);
  transform: rotate(-3deg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(224, 42, 40, 0.25);
}

.section-kicker.align-left {
  display: flex;
}

.section-kicker.light {
  color: rgba(250, 248, 242, 0.55);
}

.section-kicker.light [lang="ja"] {
  color: var(--red-soft);
}

.section h2 {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.section h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.4vw, 1.55rem);
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.35;
}

.subhead {
  margin-top: 0.75rem !important;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem) !important;
  color: var(--ink-soft) !important;
}

.lead {
  margin: 0 auto;
  max-width: var(--measure);
  font-size: 1.06rem;
  line-height: 1.9;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.lead.italic,
.body-copy,
#nombre > .section-inner > .lead,
.blog-card p {
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  text-align: justify;
  -webkit-hyphens: manual;
  hyphens: manual;
  overflow-wrap: normal;
  word-break: normal;
}

#nombre > .section-inner > .lead {
  text-align-last: center;
}

.lead.italic {
  font-style: italic;
  font-weight: 400;
}

.lead.light {
  color: rgba(247, 244, 236, 0.86);
}

.body-copy {
  margin: 0;
  max-width: var(--measure);
  color: var(--ink-soft);
  line-height: 1.9;
  text-wrap: pretty;
}

.section-inner.centered .body-copy,
.split-copy.centered .body-copy {
  margin-left: auto;
  margin-right: auto;
}

/* Texto + collage de fotos (solo computadora) */
.split.has-collage {
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.split.has-collage .split-copy {
  text-align: left;
}

.split.has-collage .split-copy .lead,
.split.has-collage .split-copy .body-copy {
  margin-left: 0;
  max-width: none;
}

.split.has-collage .split-copy .ink-rule {
  margin-left: 0;
}

.split-media-left.has-collage .collage {
  order: -1;
}

.collage {
  position: relative;
  height: clamp(420px, 38vw, 540px);
}

.collage-item {
  position: absolute;
  margin: 0;
  width: 31%;
  height: 76%;
  background: var(--snow);
  padding: 6px;
  box-shadow: 0 18px 40px rgba(10, 11, 12, 0.22);
  transition: transform 0.6s var(--ease);
}

.collage-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04);
  transition: opacity 0.35s ease;
}

.collage-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(10, 11, 12, 0.55);
  pointer-events: none;
}

.collage-item-1 {
  left: 0;
  top: 0;
}

.collage-item-1::before {
  top: -16px;
  left: -16px;
}

.collage-item-2 {
  left: 34.5%;
  top: 24%;
  z-index: 2;
}

.collage-item-2::before {
  bottom: -16px;
  right: -16px;
  border-color: rgba(196, 18, 24, 0.7);
}

.collage-item-3 {
  right: 0;
  top: 0;
}

.collage-item-3::before {
  top: -16px;
  right: -16px;
}

.collage:hover .collage-item-1 { transform: translateY(-6px); }
.collage:hover .collage-item-2 { transform: translateY(6px); }
.collage:hover .collage-item-3 { transform: translateY(-6px); }

.collage.is-empty,
.collage-item[hidden],
.collage-nav[hidden] {
  display: none;
}

.collage.is-swapping .collage-item img {
  opacity: 0;
}

.collage-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--snow);
  color: var(--red);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(10, 11, 12, 0.2);
  transition: background 0.2s ease, color 0.2s ease;
}

.collage-nav:hover {
  background: var(--red);
  color: var(--snow);
}

.collage-prev { left: -1.3rem; }
.collage-next { right: -1.3rem; }

/* Ink brush rule */
.ink-rule,
.gold-rule {
  width: 2.75rem;
  height: 3px;
  margin: 2.25rem auto 0;
  background: linear-gradient(90deg, var(--red-deep), var(--red), var(--red-deep));
}

.ink-rule.align-left,
.gold-rule.align-left {
  margin-left: 0;
}

.ink-rule.light,
.gold-rule.light {
  background: linear-gradient(90deg, transparent, var(--red-soft), transparent);
}

.nombre-seal {
  width: 148px;
  height: 148px;
  margin: 0.25rem auto 1.75rem;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 3px var(--paper),
    0 0 0 5px rgba(196, 18, 24, 0.65),
    0 20px 44px rgba(10, 11, 12, 0.22);
}

/* Panels — shoji frames */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.75rem;
}

.panel {
  position: relative;
  min-height: 360px;
  border-radius: 0;
  overflow: hidden;
  color: var(--snow);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.panel-bg {
  position: absolute;
  inset: 0;
}

.panel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.08) brightness(0.9);
  transform: scale(1.03);
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.panel-bg img[src*="logo"] {
  object-fit: contain;
  object-position: center 32%;
  background: #0b0c0d;
  filter: none;
  padding: 2.4rem 2.4rem 5.5rem;
  transform: none;
}

.panel:hover .panel-bg img[src*="logo"] {
  transform: scale(1.04);
}

.panel:hover .panel-bg img {
  transform: scale(1.07);
  filter: grayscale(0.12) contrast(1.1) brightness(0.94);
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 12, 0.12) 0%, rgba(10, 11, 12, 0.55) 45%, rgba(10, 11, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(196, 18, 24, 0.28), transparent 42%),
    linear-gradient(270deg, rgba(42, 74, 40, 0.18), transparent 35%);
}

.panel-content {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.6rem;
}

.panel-content h3 {
  color: var(--snow);
  font-size: 1.7rem;
}

.panel-content p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(250, 248, 242, 0.84);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.color-notes {
  list-style: none;
  margin: 3rem auto 0;
  padding: 0;
  max-width: 42rem;
  display: grid;
  gap: 0.95rem;
}

.color-notes li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.98rem;
  text-align: left;
  line-height: 1.8;
}

.color-notes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 2px;
  height: 0.9em;
  background: linear-gradient(180deg, var(--bamboo-soft), var(--red));
}

/* Sensei */
.sensei-layout {
  display: grid;
  grid-template-columns: minmax(280px, 440px) 1fr;
  gap: 3.25rem;
  align-items: start;
}

.sensei-photo {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  margin: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 2px rgba(196, 18, 24, 0.55),
    16px 16px 0 var(--bamboo);
}

.sensei-photo img {
  width: 100%;
  height: auto;
  filter: brightness(1.1) contrast(1.03);
}

.eyebrow {
  margin: 0 0 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
}

.eyebrow.light {
  color: var(--red-soft);
}

.sensei-copy h2 {
  text-align: left;
}

/* Overlay sections */
.section-valores,
.section-ubicacion {
  color: var(--snow);
  min-height: 72vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.valores-bg,
.ubicacion-bg {
  position: absolute;
  inset: 0;
}

.valores-bg img,
.ubicacion-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.2) contrast(1.05);
}

.section-valores::before,
.section-ubicacion::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    var(--seigaiha),
    linear-gradient(110deg, rgba(10, 11, 12, 0.94) 0%, rgba(10, 11, 12, 0.72) 48%, rgba(42, 74, 40, 0.5) 100%),
    rgba(10, 11, 12, 0.35);
  background-size: 80px 40px, auto, auto;
  z-index: 1;
}

.ubicacion-bg img {
  filter: grayscale(0.05) contrast(1.12) brightness(1.05);
  object-position: center 38%;
}

.section-ubicacion::before {
  background:
    var(--seigaiha),
    linear-gradient(
      180deg,
      rgba(10, 11, 12, 0.72) 0%,
      rgba(10, 11, 12, 0.55) 42%,
      rgba(122, 10, 14, 0.35) 100%
    ),
    rgba(10, 11, 12, 0.18);
  background-size: 80px 40px, auto, auto;
}

.section-valores .section-inner,
.section-ubicacion .section-inner {
  position: relative;
  z-index: 2;
}

.section-valores h2,
.section-ubicacion h2 {
  color: var(--snow);
}

.valores-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 820px;
  margin: 2.25rem auto 0;
}

.valores-pair h3 {
  color: var(--snow);
}

.valores-pair p {
  margin: 0;
  color: rgba(250, 248, 242, 0.82);
  line-height: 1.85;
}

.ubicacion-kicker {
  margin: 0;
  font-family: var(--font-ui);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.7);
}

.ubicacion-place {
  margin: 0.4rem 0 2rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--red-soft);
}

.ubicacion-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2.25rem;
  align-items: start;
  max-width: 920px;
  margin: 0 auto 2.25rem;
  text-align: left;
}

.section-ubicacion .ubicacion-item {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(224, 42, 40, 0.5);
}

.section-ubicacion .ubicacion-item h3 {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--snow);
  line-height: 1.3;
}

.section-ubicacion .ubicacion-item p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(250, 248, 242, 0.86);
  line-height: 1.7;
}

.section-ubicacion .ubicacion-item a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.section-ubicacion .ubicacion-item a:hover {
  color: var(--red-soft);
  border-bottom-color: var(--red-soft);
}

.ubicacion-map {
  max-width: 920px;
  height: 230px;
  margin: 0 auto 2.25rem;
  border: 1px solid rgba(224, 42, 40, 0.55);
  background: rgba(10, 11, 12, 0.35);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.ubicacion-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) grayscale(0.4) brightness(0.95) contrast(0.95);
}

@media (max-width: 760px) {
  .ubicacion-map {
    height: 210px;
    margin-bottom: 1.75rem;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-light {
  background: var(--red);
  color: var(--snow);
  border: 1px solid var(--red-deep);
}

.btn-light:hover {
  background: transparent;
  color: var(--snow);
  border-color: var(--snow);
}

.btn-outline {
  background: transparent;
  color: var(--snow);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  border-color: var(--red-soft);
  color: var(--red-soft);
}

/* Footer */
.site-footer {
  background:
    linear-gradient(180deg, rgba(42, 74, 40, 0.28), transparent 48%),
    var(--black);
  color: var(--muted);
  padding: 3rem var(--gutter);
  border-top: 4px solid var(--red);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  text-align: center;
}

.footer-inner img {
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(196, 18, 24, 0.65);
}

.footer-inner p {
  margin: 0;
  font-size: 0.95rem;
}

.footer-inner [lang="ja"] {
  font-family: var(--font-jp);
  letter-spacing: 0.28em;
  color: var(--red-soft);
  font-size: 1.05rem;
}

.credit {
  font-family: var(--font-ui);
  font-size: 0.68rem !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Gallery (landing legacy helpers kept minimal; main UI is /galeria/) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.gallery-grid.is-empty {
  display: block;
  text-align: center;
  color: var(--muted);
  margin-top: 1.5rem;
}

.gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--black);
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.4s ease;
  filter: grayscale(0.2) contrast(1.05);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.08);
}

.gallery-item .gallery-badge,
.gallery-card .gallery-badge,
.gallery-featured-media .gallery-badge {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--snow);
  padding: 0.25rem 0.45rem;
  z-index: 2;
}

.gallery-item .gallery-cap {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 0.75rem 0.65rem;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 12, 0.82));
  color: rgba(242, 245, 240, 0.92);
  font-size: 0.85rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-cap {
  opacity: 1;
}

/* Gallery subpage */
.page-galeria .site-header {
  position: sticky;
  top: 0;
}

.gallery-page-hero {
  padding: calc(var(--header-h) + 3.5rem) var(--gutter) 1.5rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196, 18, 24, 0.12), transparent 55%),
    var(--paper);
}

.gallery-page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  margin: 0.35rem 0 0.75rem;
  letter-spacing: 0.02em;
}

.gallery-showcase {
  padding-bottom: 4.5rem;
}

.gallery-empty {
  text-align: center;
  color: var(--muted);
  margin: 2rem 0 0;
}

.gallery-featured {
  margin: 1.5rem 0 2.75rem;
}

.gallery-featured-stage {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(10, 11, 12, 0.12);
}

.gallery-featured-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
}

.gallery-featured-media img,
.gallery-featured-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.12) contrast(1.06);
  transition: transform 0.8s var(--ease), filter 0.4s ease;
}

.gallery-featured-media:hover img,
.gallery-featured-media:hover video {
  transform: scale(1.03);
  filter: grayscale(0) contrast(1.08);
}

.gallery-featured-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3.5rem 1.25rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(10, 11, 12, 0.88));
  color: var(--snow);
  text-align: left;
  pointer-events: none;
}

.gallery-featured-kicker {
  margin: 0 0 0.25rem;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 245, 240, 0.7);
}

.gallery-featured-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 600;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(242, 245, 240, 0.35);
  background: rgba(10, 11, 12, 0.45);
  color: var(--snow);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(4px);
}

.gallery-nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.gallery-nav-prev { left: 0.75rem; }
.gallery-nav-next { right: 0.75rem; }

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.gallery-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(10, 11, 12, 0.22);
  cursor: pointer;
}

.gallery-dots button.is-active {
  background: var(--red);
  transform: scale(1.15);
}

.gallery-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem 1rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.gallery-card-media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--black);
  border: 1px solid rgba(10, 11, 12, 0.1);
  box-shadow: 0 10px 28px rgba(10, 11, 12, 0.08);
}

.gallery-card-media img,
.gallery-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s var(--ease), filter 0.35s ease;
  filter: grayscale(0.18) contrast(1.05);
}

.gallery-card:hover .gallery-card-media img,
.gallery-card:hover .gallery-card-media video {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1.08);
}

.gallery-card-body {
  display: grid;
  gap: 0.15rem;
  padding: 0 0.1rem;
}

.gallery-card-title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.gallery-card-sub {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 11, 12, 0.92);
  display: grid;
  place-items: center;
  padding: var(--gutter);
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox-stage {
  max-width: min(960px, 100%);
  max-height: min(78vh, 100%);
}

.lightbox-stage img,
.lightbox-stage video {
  max-width: 100%;
  max-height: min(78vh, 100%);
  display: block;
  margin: 0 auto;
}

.lightbox-stage .lightbox-yt {
  display: block;
  width: min(960px, calc(100vw - 2 * var(--gutter)), calc(78vh * 16 / 9));
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3.4rem;
  height: 3.4rem;
  margin: -1.7rem 0 0 -1.7rem;
  border-radius: 50%;
  background: rgba(10, 11, 12, 0.62);
  border: 1.5px solid rgba(242, 245, 240, 0.85);
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.gallery-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.55rem 0 0.55rem 0.9rem;
  border-color: transparent transparent transparent var(--snow);
}

.gallery-card:hover .gallery-play,
.gallery-featured-media:hover .gallery-play {
  background: var(--red);
  transform: scale(1.06);
}

.lightbox-caption {
  margin: 1rem 0 0;
  color: rgba(242, 245, 240, 0.8);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-align: center;
  max-width: 36rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: var(--snow);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  border-color: var(--red-soft);
  color: var(--red-soft);
}

/* Blog */
.blog-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 42rem;
}

.blog-page {
  padding: 0 0 5rem;
}

.blog-page .blog-list {
  margin-top: 1rem;
}

.blog-list.is-empty {
  text-align: center;
  color: var(--muted);
  margin-top: 1.5rem;
}

.blog-card {
  text-align: left;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 249, 245, 0.92), rgba(239, 233, 220, 0.96));
}

.blog-type {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.55rem;
}

.blog-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.35rem;
}

.blog-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
  white-space: pre-wrap;
}

.blog-pdf {
  display: inline-block;
  margin-top: 0.9rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--snow);
  background: var(--red);
  padding: 0.55rem 0.9rem;
}

.blog-pdf:hover {
  color: var(--snow);
  filter: brightness(1.05);
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(0.86) rotate(-6deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.09) translate3d(-1%, -0.4%, 0);
  }
}

@keyframes scroll-dot {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(10px);
  }
}

@media (max-width: 960px) {
  .panel-grid,
  .gallery-grid,
  .valores-pair,
  .ubicacion-details,
  .sensei-layout {
    grid-template-columns: 1fr;
  }

  .gallery-card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem 0.85rem;
  }

  .ubicacion-details {
    gap: 1.15rem;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .section-ubicacion .ubicacion-item {
    text-align: center;
    align-items: center;
  }

  .sensei-copy,
  .sensei-copy h2 {
    text-align: center;
  }

  .sensei-photo {
    position: static;
  }

  .section-kicker.align-left {
    justify-content: center;
  }

  .ink-rule.align-left,
  .gold-rule.align-left {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-side,
  .hero-frame {
    display: none;
  }

  .panel,
  .panel-content {
    min-height: 280px;
  }

  .panel-content p {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .collage {
    display: none;
  }

  .split.has-collage {
    display: block;
    max-width: var(--max);
  }

  .split.has-collage .split-copy {
    text-align: center;
  }

  .split.has-collage .split-copy .lead,
  .split.has-collage .split-copy .body-copy {
    margin-left: auto;
    max-width: var(--measure);
  }

  .split.has-collage .split-copy .ink-rule {
    margin-left: auto;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

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

  .gallery-featured-media {
    aspect-ratio: 4 / 3;
  }

  .gallery-featured-meta {
    padding: 2.5rem 1rem 0.9rem;
  }

  .gallery-featured-title {
    font-size: 1.1rem;
    line-height: 1.35;
  }

  .gallery-nav {
    top: 38%;
    width: 2.4rem;
    height: 2.4rem;
  }

  .gallery-nav-prev { left: 0.5rem; }
  .gallery-nav-next { right: 0.5rem; }

  .gallery-dots button {
    width: 0.7rem;
    height: 0.7rem;
  }

  .gallery-card-title {
    font-size: 0.95rem;
  }

  .gallery-card-sub {
    font-size: 0.62rem;
  }

  .page-galeria .gallery-page-hero {
    padding-top: 2.25rem;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0 1rem;
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    background: var(--black);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.9rem 1.5rem;
    color: rgba(247, 244, 236, 0.88) !important;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem 0;
  }

  .nav-cta-label {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
  }

  .brand-jp {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
  }

  .brand-en {
    font-size: 0.52rem;
  }

  .hero h1 {
    letter-spacing: 0.14em;
    text-indent: 0.14em;
    font-size: clamp(2.4rem, 12vw, 3.4rem);
  }

  .welcome-bar p {
    flex-direction: column;
    gap: 0.3rem;
    letter-spacing: 0.08em;
  }

  .welcome-bar .dot {
    display: none;
  }

  .lead.italic,
  .body-copy,
  #nombre > .section-inner > .lead,
  .blog-card p {
    font-size: 0.93rem;
    line-height: 1.8;
  }

  .panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: var(--black);
  }

  .panel-bg {
    position: relative;
    inset: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
  }

  .panel-bg img[src*="logo"] {
    padding: 1rem 1rem 2.75rem;
    object-position: center;
  }

  .panel::after {
    inset: 0 0 auto;
    aspect-ratio: 16 / 10;
    background:
      linear-gradient(180deg, transparent 45%, rgba(10, 11, 12, 0.9) 100%),
      linear-gradient(90deg, rgba(196, 18, 24, 0.22), transparent 45%);
  }

  .panel-content {
    min-height: 0;
    height: auto;
    margin-top: -2.25rem;
    padding: 0 1.25rem 1.5rem;
  }

  .panel-content h3 {
    font-size: 1.5rem;
  }

  .sensei-photo {
    max-width: 28rem;
    margin: 0 auto;
    box-shadow:
      0 0 0 2px rgba(196, 18, 24, 0.55),
      10px 10px 0 var(--bamboo);
  }

  .sensei-layout {
    gap: 2.25rem;
  }

  .blog-card {
    padding: 1.1rem 1.15rem;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

/* Botón flotante de WhatsApp (arrastrable) */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 28px rgba(10, 11, 12, 0.32), 0 0 0 3px rgba(242, 245, 240, 0.9);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.2s ease, scale 0.2s ease;
}

.wa-float svg {
  width: 58%;
  height: 58%;
  pointer-events: none;
}

.wa-float:hover {
  scale: 1.06;
}

.wa-float:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.wa-float.is-dragging {
  cursor: grabbing;
  scale: 1.1;
  box-shadow: 0 16px 36px rgba(10, 11, 12, 0.4), 0 0 0 3px rgba(242, 245, 240, 0.9);
}

@media (max-width: 760px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 3.3rem;
    height: 3.3rem;
  }
}

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

  .hero-media img,
  .reveal,
  .hero-copy,
  .hero-seal,
  .hero-scroll span,
  .panel-bg img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
