@import "tailwindcss";

@font-face {
  font-family: "Dela Gothic One";
  src: url("../fonts/DelaGothicOne-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f8edda;
  --paper-soft: #fff8ec;
  --ink: #11100f;
  --red: #df2b11;
  --red-deep: #b91e0b;
  --peach: #efb487;
  --pink: #f2c4bc;
  --line: rgba(187, 43, 18, 0.35);
  --font-joki-display: "Dela Gothic One", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  mix-blend-mode: multiply;
  background-image:
    repeating-linear-gradient(11deg, rgba(86, 48, 24, .10) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(101deg, rgba(255, 255, 255, .16) 0 1px, transparent 1px 7px);
  background-size: 130px 130px, 170px 170px;
}

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

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

#contenido {
  position: relative;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  bottom: auto !important;
  z-index: 12;
  width: 100%;
  height: auto !important;
  min-height: 88px;
  padding: 16px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(19, 16, 14, 0.14);
}

.nav-brand {
  justify-self: start;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--red);
  transition: width 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  justify-self: end;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: 180ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: var(--paper-soft);
  background: var(--ink);
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
  line-height: 0.86;
}

.wordmark-small {
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
}

.wordmark-small em {
  color: var(--red);
  font-style: normal;
}

.wordmark-main {
  display: flex;
  align-items: center;
  gap: 1px;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 3.6rem;
  font-weight: 900;
  letter-spacing: 0;
  transform: rotate(-2deg);
}

.wordmark-main b {
  color: var(--red);
  font-weight: inherit;
  text-shadow: 1px 0 var(--red-deep);
}

.wordmark-main i {
  color: var(--ink);
  font-style: normal;
  font-size: 0.82em;
}

.wordmark-rule {
  width: 100%;
  margin-top: 9px;
  padding-top: 7px;
  border-top: 2px solid var(--red);
  text-align: center;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.wordmark-compact {
  display: block;
}

.wordmark-compact .wordmark-main {
  font-size: 2rem;
}

.hero {
  position: relative;
  min-height: 940px;
  padding: 150px clamp(24px, 5vw, 76px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  left: -6vw;
  bottom: -190px;
  width: 45vw;
  height: 500px;
  content: "";
  border: 38px solid rgba(230, 76, 34, 0.1);
  border-radius: 51% 49% 70% 30% / 39% 67% 33% 61%;
  transform: rotate(17deg);
}

.hero-copy {
  position: relative;
  z-index: 5;
  max-width: 720px;
  padding-right: clamp(20px, 5vw, 80px);
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin-bottom: 32px;
  font-size: clamp(4.2rem, 7vw, 8.2rem);
  line-height: 0.84;
}

.hero h1 > span {
  position: relative;
  display: block;
  width: max-content;
  margin-bottom: 20px;
  font-size: 0.45em;
  transform: rotate(-2deg);
}

.hero h1 > span::after {
  position: absolute;
  left: 32%;
  right: -3%;
  bottom: -10px;
  height: 7px;
  content: "";
  background: var(--red);
  clip-path: polygon(0 45%, 100% 0, 93% 100%, 5% 74%);
}

.hero h1 em,
.hero h1 strong {
  display: block;
  color: var(--red);
  font-style: normal;
  font-weight: inherit;
}

.hero h1 > span em {
  display: inline;
}

.hero-lead {
  max-width: 610px;
  margin-bottom: 34px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  color: var(--paper-soft);
  border-color: var(--red);
  background: var(--red);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  color: var(--paper-soft);
  background: var(--ink);
}

.hero-visual {
  position: relative;
  height: min(760px, 72vw);
  min-height: 650px;
}

.sun-disc {
  position: absolute;
  top: 3%;
  right: -12%;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ecc2aa;
  opacity: 0.46;
}

.store-photo {
  position: absolute;
  top: 14%;
  right: -4%;
  width: 88%;
  height: 68%;
  overflow: hidden;
  box-shadow: 0 32px 90px rgba(41, 24, 17, 0.25);
  transform: rotate(2deg);
}

.store-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
  background: linear-gradient(90deg, rgba(248, 237, 218, 0.26), transparent 34%);
}

.store-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bowl {
  position: absolute;
  z-index: 4;
  right: -3%;
  bottom: -2%;
  width: 62%;
  filter: drop-shadow(0 34px 36px rgba(40, 19, 10, 0.34));
  transform: rotate(-4deg);
  animation: bowl-float 5s ease-in-out infinite;
}

.vertical-seal {
  position: absolute;
  z-index: 6;
  top: 8%;
  right: 0;
  padding: 13px 9px 10px;
  color: var(--paper-soft);
  border-radius: 2px;
  background: var(--red);
  font-family: Georgia, serif;
  font-size: 1.8rem;
  line-height: 1.05;
  text-align: center;
  box-shadow: 0 12px 30px rgba(99, 21, 7, 0.25);
}

.steam {
  position: absolute;
  z-index: 3;
  width: 90px;
  height: 250px;
  opacity: 0.62;
  border-left: 18px solid rgba(255, 251, 240, 0.8);
  border-radius: 52% 34% 40% 46%;
  filter: blur(7px);
  animation: steam-rise 4s ease-in-out infinite;
}

.steam-one {
  right: 29%;
  bottom: 27%;
  transform: rotate(-11deg);
}

.steam-two {
  right: 20%;
  bottom: 31%;
  transform: rotate(12deg) scale(.75);
  animation-delay: -1.7s;
}

.blossoms {
  position: absolute;
  z-index: 7;
  top: 3%;
  left: 3%;
  width: 220px;
  color: #d98579;
  font-size: 2rem;
  transform: rotate(-12deg);
}

.blossoms span {
  position: absolute;
  text-shadow: 26px 30px 0 #e7a398, 58px 8px 0 #e1a093, 84px 42px 0 #efc0b6;
}

.blossoms span:nth-child(2) { left: 70px; top: 52px; font-size: 1.3rem; }
.blossoms span:nth-child(3) { left: 128px; top: 6px; font-size: 1.55rem; }
.blossoms span:nth-child(4) { left: 165px; top: 64px; font-size: 1.1rem; }
.blossoms span:nth-child(5) { left: 111px; top: 98px; font-size: 1.15rem; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 7;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-cue i {
  width: 1px;
  height: 36px;
  background: var(--ink);
}

.story {
  position: relative;
  min-height: 620px;
  padding: 120px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 80px minmax(300px, .9fr) minmax(300px, 1fr) 160px;
  gap: clamp(24px, 4vw, 80px);
  align-items: center;
  color: var(--paper-soft);
  background: var(--ink);
  overflow: hidden;
}

.story::after {
  position: absolute;
  right: 14%;
  bottom: -100px;
  width: 330px;
  height: 420px;
  content: "";
  opacity: .2;
  border: 2px solid var(--red);
  border-radius: 45% 55% 39% 61%;
  transform: rotate(-18deg);
}

.section-number {
  align-self: start;
  padding-top: 6px;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .15em;
}

.story h2,
.section-intro h2,
.origin-card h2,
.experience h2,
.welcome h2 {
  margin-bottom: 0;
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  line-height: .9;
}

.story-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.6;
}

.definition {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.2);
  font-weight: 700;
}

.definition span {
  color: var(--red);
}

.story-kanji {
  position: relative;
  z-index: 2;
  color: var(--red);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 7vw, 8rem);
  line-height: 1;
  writing-mode: vertical-rl;
}

.origin-panel {
  min-height: 780px;
  display: grid;
  grid-template-columns: 1.16fr .84fr;
  background: var(--paper-soft);
}

.origin-image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.origin-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12,10,8,.55), transparent 55%);
}

.origin-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  left: 38px;
  bottom: 34px;
  z-index: 2;
  color: white;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
}

.origin-card {
  padding: clamp(64px, 8vw, 140px) clamp(36px, 6vw, 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.origin-card h2 {
  font-size: clamp(3.4rem, 5vw, 6rem);
}

.origin-card > p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 32px;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  line-height: 1.62;
}

.origin-stamp {
  margin-top: 42px;
  padding-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-top: 1px solid var(--line);
  color: var(--red);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.principles {
  padding: 120px clamp(24px, 6vw, 92px) 140px;
}

.section-intro {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr .6fr;
  gap: 50px;
  align-items: end;
}

.section-intro > p {
  max-width: 520px;
  margin-bottom: 8px;
  font-family: Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.6;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.principle-card {
  position: relative;
  min-height: 430px;
  padding: clamp(34px, 5vw, 72px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  transition: color 230ms ease, background 230ms ease;
}

.principle-card:hover {
  color: var(--paper-soft);
  background: var(--red);
}

.principle-card:hover .card-kicker,
.principle-card:hover .card-index {
  color: var(--paper-soft);
}

.principle-card:hover .icon-disc {
  color: var(--paper-soft);
  border-color: rgba(255,255,255,.75);
}

.card-index {
  position: absolute;
  top: 32px;
  right: 36px;
  color: rgba(224, 43, 17, .65);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
}

.icon-disc {
  width: 84px;
  height: 84px;
  margin-bottom: 34px;
  display: grid;
  place-items: center;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 50%;
}

.card-kicker {
  margin-bottom: 8px;
  color: var(--red);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.principle-card h3 {
  max-width: 690px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 3vw, 3.6rem);
  line-height: .94;
}

.principle-card > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  font-family: Georgia, serif;
  font-size: 1rem;
  line-height: 1.55;
}

.experience {
  min-height: 820px;
  padding: 100px clamp(24px, 6vw, 96px);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  color: var(--paper-soft);
  background: #12100f;
  overflow: hidden;
}

.experience-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
}

.experience-copy > p:not(.eyebrow) {
  max-width: 580px;
  margin-top: 32px;
  font-family: Georgia, serif;
  font-size: 1.13rem;
  line-height: 1.62;
}

.experience-quote {
  margin-top: 42px;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255,255,255,.24);
  color: var(--paper-soft);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.bowl-stage {
  position: relative;
  height: 670px;
}

.bowl-stage img {
  position: absolute;
  z-index: 3;
  right: -9%;
  bottom: -2%;
  width: 94%;
  filter: drop-shadow(0 45px 50px rgba(0,0,0,.55));
  transform: rotate(7deg);
}

.red-moon {
  position: absolute;
  top: 5%;
  right: 0;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--red);
}

.stage-steam {
  position: absolute;
  z-index: 4;
  width: 90px;
  height: 280px;
  opacity: .55;
  border-left: 22px solid var(--paper-soft);
  border-radius: 50%;
  filter: blur(8px);
  animation: steam-rise 4.5s ease-in-out infinite;
}

.stage-steam-a { top: 1%; right: 34%; transform: rotate(-12deg); }
.stage-steam-b { top: 7%; right: 22%; transform: rotate(13deg) scale(.7); animation-delay: -2.2s; }

.bowl-note {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 1%;
  padding: 16px 18px;
  color: var(--ink);
  background: var(--paper-soft);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.55;
  text-transform: uppercase;
}

.detail-strip {
  padding: 48px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.detail-item {
  min-height: 100px;
  padding: 6px clamp(18px, 3vw, 42px);
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
  gap: 16px;
  border-right: 1px solid var(--line);
}

.detail-item:last-child {
  border-right: 0;
}

.detail-item .mark {
  color: var(--red);
}

.detail-item p {
  margin: 0;
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}

.buba-teaser {
  min-height: 880px;
  padding: 100px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: clamp(55px, 8vw, 130px);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 222, 73, .35), transparent 26%),
    linear-gradient(135deg, #ff6900, #ef4308 60%, #da2c11);
  overflow: hidden;
}

.buba-teaser-visual {
  position: relative;
  height: 690px;
}

.buba-orb {
  position: absolute;
  left: -8%;
  top: 4%;
  width: 77%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffc812;
  opacity: .36;
}

.buba-poster-main,
.buba-poster-small {
  position: absolute;
  z-index: 3;
  object-fit: cover;
  box-shadow: 0 34px 70px rgba(81, 22, 4, .32);
}

.buba-poster-main {
  left: 1%;
  bottom: 0;
  width: 58%;
  height: 91%;
  border: 12px solid rgba(255,255,255,.94);
  transform: rotate(-4deg);
}

.buba-poster-small {
  right: 1%;
  top: 3%;
  width: 48%;
  height: 72%;
  border: 9px solid rgba(255,255,255,.94);
  transform: rotate(6deg);
}

.buba-teaser-stamp {
  position: absolute;
  z-index: 6;
  right: 3%;
  bottom: 4%;
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: white;
  border-radius: 50%;
  background: #59237d;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.15rem;
  line-height: .92;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

.buba-teaser-copy {
  position: relative;
  z-index: 5;
  color: white;
}

.buba-teaser-copy .eyebrow {
  color: #fff1a1;
}

.buba-teaser-copy h2 {
  margin-bottom: 30px;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: .88;
}

.buba-teaser-copy > p:not(.eyebrow) {
  max-width: 600px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  line-height: 1.6;
}

.buba-teaser-copy ul {
  margin: 34px 0 38px;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255,255,255,.35);
}

.buba-teaser-copy li {
  padding: 13px 0 13px 25px;
  border-bottom: 1px solid rgba(255,255,255,.35);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.buba-teaser-copy li::before {
  margin-left: -25px;
  margin-right: 12px;
  color: #ffd83f;
  content: "●";
}

.buba-teaser-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.buba-teaser .button-primary {
  color: var(--ink);
  border-color: white;
  background: white;
}

.buba-teaser .button-ghost {
  color: white;
  border-color: rgba(255,255,255,.75);
}

.buba-teaser .button-ghost:hover,
.buba-teaser .button-ghost:focus-visible {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
}

.welcome {
  min-height: 510px;
  padding: 80px clamp(24px, 7vw, 110px);
  display: grid;
  grid-template-columns: 160px 1fr auto;
  align-items: center;
  gap: 58px;
  color: white;
  background: var(--red);
}

.welcome-kanji {
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8vw, 8rem);
  line-height: 1;
  writing-mode: vertical-rl;
}

.welcome h2 {
  font-size: clamp(4rem, 8vw, 9rem);
}

.welcome h2 em {
  color: var(--ink);
  font-style: normal;
}

.welcome div > p:last-child {
  max-width: 650px;
  margin: 22px 0 0;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.5;
}

.welcome .eyebrow {
  color: white;
}

.button-light {
  color: var(--ink);
  border-color: white;
  background: white;
}

footer {
  min-height: 130px;
  padding: 28px clamp(24px, 5vw, 76px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--paper-soft);
  background: var(--ink);
}

footer p {
  margin: 0;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

footer > a {
  justify-self: end;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Componentes de íconos, separados y reutilizables */
.mark {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  color: inherit;
}

.mark-torii i,
.mark-torii b {
  position: absolute;
  display: block;
  background: currentColor;
}

.mark-torii i:nth-child(1) { left: 3px; top: 6px; width: 44px; height: 7px; transform: skewX(-12deg); }
.mark-torii i:nth-child(2) { left: 7px; top: 17px; width: 36px; height: 5px; }
.mark-torii b:nth-child(3) { left: 12px; top: 19px; width: 7px; height: 28px; transform: skewX(4deg); }
.mark-torii b:nth-child(4) { right: 12px; top: 19px; width: 7px; height: 28px; transform: skewX(-4deg); }

.mark-people {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.mark-people i {
  position: relative;
  width: 12px;
  height: 28px;
  border-radius: 8px 8px 3px 3px;
  background: currentColor;
}

.mark-people i::before {
  position: absolute;
  left: 1px;
  top: -13px;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: currentColor;
}

.mark-people i:nth-child(2) { height: 34px; }

.mark-fuji {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid currentColor;
}

.mark-fuji::after {
  position: absolute;
  left: -13px;
  top: 20px;
  width: 26px;
  height: 12px;
  content: "";
  background: var(--paper);
  clip-path: polygon(0 0, 28% 34%, 43% 5%, 62% 38%, 100% 0, 86% 100%, 15% 100%);
}

.principle-card:hover .mark-fuji::after { background: var(--red); }

.mark-bowl::before {
  position: absolute;
  left: 5px;
  bottom: 7px;
  width: 40px;
  height: 21px;
  content: "";
  border: 3px solid currentColor;
  border-top: 0;
  border-radius: 0 0 22px 22px;
}

.mark-bowl::after {
  position: absolute;
  left: 14px;
  bottom: 2px;
  width: 22px;
  height: 3px;
  content: "";
  background: currentColor;
}

.mark-bowl i,
.mark-bowl b {
  position: absolute;
  top: 0;
  width: 10px;
  height: 21px;
  border-left: 3px solid currentColor;
  border-radius: 50%;
}

.mark-bowl i { left: 15px; }
.mark-bowl b { right: 12px; }

.mark-bowl-chopsticks i {
  left: 29px;
  top: -4px;
  width: 3px;
  height: 40px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: rotate(20deg);
}

.mark-bowl-chopsticks b {
  right: 12px;
  top: -1px;
  width: 3px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: currentColor;
  transform: rotate(12deg);
}

.mark-cloud {
  width: 58px;
  height: 37px;
  margin-top: 10px;
  border: 3px solid currentColor;
  border-radius: 40% 48% 45% 50%;
}

.mark-cloud::before,
.mark-cloud::after {
  position: absolute;
  content: "";
  border: 3px solid currentColor;
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
  background: inherit;
}

.mark-cloud::before { left: 6px; top: -13px; width: 25px; height: 19px; }
.mark-cloud::after { right: 4px; top: -8px; width: 23px; height: 15px; }

.mark-noodles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.8rem;
  line-height: .44;
  transform: rotate(90deg);
}

.mark-noodles i { font-style: normal; }

@keyframes bowl-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-12px); }
}

@keyframes steam-rise {
  0%, 100% { opacity: .22; translate: 0 15px; }
  50% { opacity: .65; translate: 6px -10px; }
}

@media (max-width: 1120px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

  .hero-copy {
    max-width: 850px;
    padding-right: 0;
  }

  .hero-visual {
    width: min(850px, 100%);
    height: 720px;
    margin: 20px auto 0;
  }

  .story {
    grid-template-columns: 55px 1fr 1fr;
  }

  .story-kanji {
    display: none;
  }

  .detail-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-item:nth-child(2) { border-right: 0; }
  .detail-item:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .site-nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    padding: 10px 13px;
  }

  .hero h1 {
    font-size: clamp(4rem, 14vw, 7rem);
  }

  .story {
    padding-top: 90px;
    padding-bottom: 90px;
    grid-template-columns: 1fr;
  }

  .section-number { display: none; }

  .origin-panel,
  .experience,
  .buba-teaser {
    grid-template-columns: 1fr;
  }

  .origin-image { min-height: 560px; }

  .section-intro {
    grid-template-columns: 1fr;
  }

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

  .bowl-stage {
    height: min(660px, 95vw);
  }

  .buba-teaser-copy {
    grid-row: 1;
  }

  .buba-teaser-visual {
    width: min(760px, 100%);
    margin: auto;
  }

  .welcome {
    grid-template-columns: 90px 1fr;
  }

  .welcome .button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-nav {
    min-height: 72px;
    padding: 12px 18px;
  }

  .wordmark-compact .wordmark-main {
    font-size: 1.65rem;
  }

  .nav-cta {
    font-size: .6rem;
    letter-spacing: .08em;
  }

  .hero {
    padding: 112px 18px 62px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 14vw, 4.25rem);
  }

  .hero h1 > span {
    margin-bottom: 16px;
    font-size: .42em;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 0;
    height: 500px;
  }

  .store-photo {
    top: 16%;
    right: -18%;
    width: 108%;
    height: 60%;
  }

  .hero-bowl {
    right: -13%;
    bottom: 3%;
    width: 84%;
  }

  .vertical-seal {
    top: 8%;
    right: 2%;
    font-size: 1.35rem;
  }

  .scroll-cue { display: none; }

  .story,
  .principles,
  .experience,
  .buba-teaser {
    padding: 78px 20px;
  }

  .story h2,
  .section-intro h2,
  .origin-card h2,
  .experience h2,
  .buba-teaser-copy h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .origin-image { min-height: 430px; }
  .origin-card { padding: 70px 22px; }

  .principles { padding-left: 16px; padding-right: 16px; }
  .principle-card { min-height: auto; padding: 44px 26px; }

  .bowl-stage {
    height: 470px;
    margin-top: 30px;
  }

  .bowl-stage img {
    right: -18%;
    width: 120%;
  }

  .red-moon {
    right: -18%;
    width: 95%;
  }

  .bowl-note { display: none; }

  .buba-teaser-visual {
    height: 530px;
  }

  .buba-poster-main {
    left: -4%;
    width: 64%;
    height: 88%;
    border-width: 7px;
  }

  .buba-poster-small {
    right: -5%;
    width: 54%;
    height: 68%;
    border-width: 6px;
  }

  .buba-teaser-stamp {
    right: -1%;
    width: 106px;
    font-size: .92rem;
  }

  .buba-teaser-actions {
    display: grid;
  }

  .detail-strip {
    padding: 0 20px;
    grid-template-columns: 1fr;
  }

  .detail-item,
  .detail-item:nth-child(2) {
    min-height: 110px;
    padding: 18px 5px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .welcome {
    padding: 70px 22px;
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .welcome-kanji {
    font-size: 4.5rem;
    writing-mode: initial;
  }

  .welcome h2 {
    font-size: clamp(3.5rem, 18vw, 5.4rem);
  }

  .welcome .button {
    grid-column: 1;
    width: auto;
    min-width: 0;
    max-width: 100%;
    justify-self: stretch;
    letter-spacing: 0.08em;
  }

  footer {
    padding: 34px 22px;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  footer p {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

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

/* Portada v3.1.2: composicion original reconstruida con elementos web reales. */
.hero {
  position: relative;
  width: 100%;
  height: min(880px, calc(100svh - 24px));
  min-height: 640px;
  padding: 0;
  display: block;
  color: #11100f;
  background: #f3e7da;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  display: none;
}

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

.hero-backdrop {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(248, 237, 218, .74) 0%, rgba(248, 237, 218, .34) 38%, rgba(248, 237, 218, .04) 63%, transparent 78%);
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 12;
  min-height: 82px;
  padding: 14px clamp(24px, 4vw, 64px);
  display: grid;
  grid-template-columns: minmax(135px, .7fr) auto minmax(190px, .7fr);
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid rgba(207, 47, 15, .18);
  background: linear-gradient(90deg, rgba(248, 237, 218, .96), rgba(248, 237, 218, .78) 52%, rgba(17, 16, 15, .24));
  backdrop-filter: blur(7px);
}

.nav-brand {
  justify-self: start;
  font-size: 1.12rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: lowercase;
}

.nav-brand span {
  color: #cf2f0f;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  color: #11100f;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
}

.nav-links a {
  padding: 12px 0;
  font-size: inherit;
  white-space: nowrap;
}

.nav-links a::after {
  bottom: 5px;
  background: #cf2f0f;
}

.nav-links a.is-active::after {
  width: 100%;
}

.nav-cta {
  min-height: 48px;
  padding: 0 19px;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #f8edda;
  border: 1px solid #cf2f0f;
  border-radius: 4px;
  background: rgba(17, 16, 15, .9);
  box-shadow: 0 10px 26px rgba(24, 10, 5, .16);
}

.nav-cta img {
  width: 24px;
  height: 24px;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  color: white;
  border-color: #cf2f0f;
  background: #cf2f0f;
}

.hero-main {
  position: absolute;
  z-index: 4;
  top: 96px;
  left: clamp(24px, 4vw, 64px);
  bottom: 148px;
  width: min(49%, 720px);
  display: grid;
  grid-template-columns: minmax(118px, 150px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
}

.hero-logo {
  width: 100%;
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(65, 23, 8, .08));
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 520px;
  padding: 0;
}

.hero-cloud {
  position: absolute;
  z-index: -1;
  top: -104px;
  right: -150px;
  width: 360px;
  max-width: none;
  opacity: .66;
}

.hero-japanese {
  margin: 0 0 17px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.hero h1 {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 4.25rem;
  font-weight: 900;
  line-height: .94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 span,
.hero h1 strong {
  display: block;
}

.hero h1 .hero-line {
  white-space: nowrap;
}

.hero h1 strong {
  margin-top: 4px;
  color: #cf2f0f;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.18em;
  font-weight: 900;
  line-height: .88;
}

.hero-tagline {
  margin: 20px 0 20px;
  padding-top: 13px;
  border-top: 2px solid #cf2f0f;
  font-size: .83rem;
  font-weight: 900;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.brush-cta {
  position: relative;
  width: min(100%, 390px);
  min-height: 62px;
  display: grid;
  place-items: center;
  color: white;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-align: center;
  text-transform: uppercase;
  transition: transform 180ms ease, filter 180ms ease;
}

.brush-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.brush-cta span {
  position: relative;
  z-index: 1;
  padding: 0 28px;
}

.brush-cta:hover,
.brush-cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.hero-values {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 4vw, 64px);
  bottom: 76px;
  width: min(47%, 690px);
  height: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(207, 47, 15, .24);
}

.hero-value {
  min-width: 0;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  border-right: 1px solid rgba(207, 47, 15, .24);
  font-size: .63rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero-value:last-child {
  border-right: 0;
}

.hero-value-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid #cf2f0f;
  border-radius: 50%;
}

.hero-value-icon img {
  width: 21px;
  height: 21px;
}

.hero-facts {
  position: absolute;
  z-index: 8;
  inset: auto 0 0;
  min-height: 76px;
  padding: 0 clamp(18px, 3vw, 48px);
  display: grid;
  grid-template-columns: 1.12fr 1.38fr .9fr .9fr 1.08fr;
  align-items: stretch;
  border-top: 1px solid rgba(207, 47, 15, .24);
  background: rgba(248, 237, 218, .96);
  backdrop-filter: blur(10px);
}

.hero-facts > a,
.hero-facts > .hero-fact {
  min-width: 0;
  padding: 12px clamp(10px, 1.4vw, 22px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid rgba(207, 47, 15, .2);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.hero-facts > *:last-child {
  border-right: 0;
}

.hero-facts img {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
}

.hero-facts a:hover,
.hero-facts a:focus-visible,
.hero-value:hover,
.hero-value:focus-visible {
  color: #cf2f0f;
}

@media (max-width: 1180px) {
  .site-nav {
    grid-template-columns: minmax(110px, .55fr) auto minmax(170px, .55fr);
    gap: 18px;
  }

  .nav-links {
    gap: 22px;
  }

  .hero-main {
    width: 54%;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: 3.5rem;
  }

  .hero-values {
    width: 54%;
  }

  .hero-value {
    padding-inline: 8px;
  }

  .hero-facts {
    grid-template-columns: 1.1fr 1.35fr .86fr .86fr 1.05fr;
  }
}

@media (max-width: 780px) {
  .hero {
    height: auto;
    min-height: 0;
    padding-top: 126px;
    background: #f3e7da;
  }

  .hero-backdrop {
    height: 610px;
    object-position: 64% top;
  }

  .hero-shade {
    height: 720px;
    background:
      linear-gradient(180deg, rgba(248, 237, 218, .08), rgba(248, 237, 218, .24) 52%, #f3e7da 79%),
      linear-gradient(90deg, rgba(248, 237, 218, .94), rgba(248, 237, 218, .62) 58%, rgba(248, 237, 218, .18));
  }

  .site-nav {
    min-height: 112px;
    padding: 10px 18px 8px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 50px 38px;
    gap: 3px 14px;
    background: rgba(248, 237, 218, .94);
  }

  .nav-links {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    padding: 0 2px;
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-cta {
    grid-column: 2;
    grid-row: 1;
    min-height: 42px;
  }

  .hero-main {
    position: relative;
    inset: auto;
    width: min(100%, 690px);
    min-height: 505px;
    margin: 0;
    padding: 38px 24px 26px;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: 3.25rem;
  }

  .hero-cloud {
    top: -72px;
    right: -95px;
    width: 300px;
    opacity: .44;
  }

  .hero-values,
  .hero-facts {
    position: relative;
    inset: auto;
  }

  .hero-values {
    width: 100%;
    height: auto;
    padding: 0 20px 18px;
    border-top: 0;
    background: #f3e7da;
  }

  .hero-facts {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0 20px 14px;
    background: #f3e7da;
  }

  .hero-facts > a,
  .hero-facts > .hero-fact {
    min-height: 62px;
    border-right: 1px solid rgba(207, 47, 15, .2);
    border-bottom: 1px solid rgba(207, 47, 15, .2);
  }

  .hero-facts > :nth-child(2n) {
    border-right: 0;
  }

  .hero-facts > :last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .nav-brand {
    font-size: .92rem;
    white-space: nowrap;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 10px;
    font-size: .5rem;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: .62rem;
  }

  .nav-cta span {
    font-size: 0;
  }

  .nav-cta span::after {
    content: "Reservar";
    font-size: .62rem;
  }

  .nav-cta img {
    width: 21px;
    height: 21px;
  }

  .hero-backdrop {
    height: 560px;
    object-position: 68% top;
  }

  .hero-main {
    min-height: 350px;
    padding: 26px 18px 18px;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
  }

  .hero-logo {
    max-height: 230px;
  }

  .hero-cloud {
    display: none;
  }

  .hero-japanese {
    margin-bottom: 12px;
    font-size: .86rem;
  }

  .hero h1 {
    font-size: 2.05rem;
    line-height: .96;
  }

  .hero-tagline {
    margin: 15px 0 13px;
    padding-top: 10px;
    font-size: .65rem;
    letter-spacing: .1em;
  }

  .brush-cta {
    min-height: 54px;
    font-size: .55rem;
  }

  .brush-cta span {
    padding: 0 10px;
    white-space: nowrap;
  }

  .hero-values {
    padding: 0 14px 16px;
  }

  .hero-value {
    min-height: 96px;
    padding: 12px 6px;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    text-align: center;
  }

  .hero-value-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero-facts {
    padding: 0 14px 14px;
  }

  .hero-facts > a,
  .hero-facts > .hero-fact {
    padding: 12px 7px;
    flex-direction: column;
    gap: 6px;
    font-size: .58rem;
  }
}

/* Identidad tipografica Joki: exhibicion japonesa para marca y emocion. */
.hero-japanese,
.hero h1,
.hero h1 strong,
.hero-tagline,
.nav-cta,
.brush-cta,
.hero-value {
  font-family: var(--font-joki-display);
  font-weight: 400;
  font-synthesis: none;
}
