@font-face {
  font-family: 'Michroma';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/michroma-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Michroma';
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/michroma-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Murecho';
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/murecho-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Murecho';
  font-weight: 300 700;
  font-display: swap;
  src: url('assets/fonts/murecho-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Murecho';
  font-weight: 500;
  font-display: swap;
  src: url('assets/fonts/murecho-kana.woff2') format('woff2');
  unicode-range: U+304F, U+3055, U+3089;
}

:root {
  --ink: #0b0b0b;
  --ink-raised: #121011;
  --red: #e3001b;
  --red-hot: #ff2233;
  --red-deep: #7a0008;
  --petal: #f7b3c3;
  --petal-light: #ffd3dc;
  --paper: #f7f1f1;
  --soft: #d6cbcd;
  --mute: #9a8f92;
  --line: rgb(255 255 255 / 0.1);

  --display: 'Michroma', 'Eurostile', 'Arial Black', sans-serif;
  --body: 'Murecho', 'Hiragino Sans', 'Segoe UI', sans-serif;

  --max: 75rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html[lang='hu'] [lang='en'],
html[lang='en'] [lang='hu'] {
  display: none;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--soft);
  font-family: var(--body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--red);
  color: #fff;
}

h1,
h2,
h3,
p,
ul,
table,
address {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--petal);
  outline-offset: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
}

.top__kana {
  color: var(--petal);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5em;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  color: var(--mute);
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
}

.lang-switch button {
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 0 0 0.2em;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  transition: color 0.2s;
}

.lang-switch button:hover {
  color: var(--paper);
}

.lang-switch button[aria-pressed='true'] {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.6em;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 6.5rem 4rem;
}

.hero__copy > * {
  animation: rise 0.9s var(--ease) both;
}
.hero__copy > :nth-child(1) { animation-delay: 0.15s; }
.hero__copy > :nth-child(2) { animation-delay: 0.25s; }
.hero__copy > :nth-child(3),
.hero__copy > :nth-child(4) { animation-delay: 0.35s; }
.hero__copy > :nth-child(5) { animation-delay: 0.45s; }
.hero__copy > :nth-child(6) { animation-delay: 0.55s; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--petal);
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  flex: none;
  width: 2.25rem;
  height: 2px;
  background: var(--red);
}

h1 {
  margin-top: 1.5rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.75rem, 0.9rem + 3vw, 3.25rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.lede {
  margin-top: 1.5rem;
  max-width: 30rem;
  font-size: 1.125rem;
  font-weight: 300;
  text-wrap: pretty;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.75rem;
  color: var(--paper);
  font-size: 0.9375rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.status[hidden] {
  display: none;
}

.status__dot {
  width: 0.5rem;
  height: 0.5rem;
  border: 1.5px solid var(--mute);
  border-radius: 50%;
}

.status.is-open .status__dot {
  border-color: var(--petal);
  background: var(--petal);
  animation: pulse 2.4s ease-out infinite;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.25rem;
}

.btn {
  --cut: 0.9rem;
  --shape: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.125rem;
  padding: 0 2.1rem;
  clip-path: var(--shape);
  color: #fff;
  font-family: var(--display);
  font-size: 0.71875rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s, color 0.2s;
}

.btn--solid {
  background: var(--red);
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--paper);
  color: var(--ink);
}

.btn--ghost {
  background: rgb(255 255 255 / 0.32);
}

.btn--ghost::before {
  content: '';
  position: absolute;
  inset: 1px;
  z-index: -1;
  clip-path: var(--shape);
  background: var(--ink);
  transition: background-color 0.2s;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--petal);
  color: var(--petal-light);
}

.btn--ghost:hover::before,
.btn--ghost:focus-visible::before {
  background: #1d0f12;
}

.hero__mark {
  position: relative;
  justify-self: center;
  width: min(100%, 40rem);
  animation: mark-in 1.2s var(--ease) both;
}

.hero__mark::before {
  content: '';
  position: absolute;
  inset: -18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(227 0 27 / 0.4), rgb(227 0 27 / 0.12) 55%, transparent);
  animation: breathe 7s ease-in-out infinite;
}

.hero__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.petals {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.petals i {
  position: absolute;
  top: -2rem;
  left: var(--x);
  width: var(--s);
  height: calc(var(--s) * 0.7);
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, var(--petal-light), var(--petal) 55%, #e58aa2);
  opacity: 0;
  animation: petal var(--t) linear var(--d) infinite;
}

.petals i:nth-child(1)  { --x: 4%;  --s: 13px; --t: 17s; --d: -3s;  --drift: 9vw;   --spin: 320deg; }
.petals i:nth-child(2)  { --x: 16%; --s: 9px;  --t: 23s; --d: -14s; --drift: 14vw;  --spin: -410deg; }
.petals i:nth-child(3)  { --x: 29%; --s: 15px; --t: 19s; --d: -8s;  --drift: -6vw;  --spin: 500deg; }
.petals i:nth-child(4)  { --x: 41%; --s: 10px; --t: 26s; --d: -20s; --drift: 11vw;  --spin: 380deg; }
.petals i:nth-child(5)  { --x: 53%; --s: 12px; --t: 21s; --d: -1s;  --drift: -10vw; --spin: -300deg; }
.petals i:nth-child(6)  { --x: 64%; --s: 16px; --t: 18s; --d: -11s; --drift: 7vw;   --spin: 440deg; }
.petals i:nth-child(7)  { --x: 74%; --s: 9px;  --t: 25s; --d: -17s; --drift: -12vw; --spin: -520deg; }
.petals i:nth-child(8)  { --x: 83%; --s: 14px; --t: 20s; --d: -6s;  --drift: 8vw;   --spin: 360deg; }
.petals i:nth-child(9)  { --x: 91%; --s: 11px; --t: 24s; --d: -12s; --drift: -8vw;  --spin: -340deg; }
.petals i:nth-child(10) { --x: 97%; --s: 13px; --t: 22s; --d: -18s; --drift: -15vw; --spin: 480deg; }

.offer,
.visit {
  padding-block: clamp(4rem, 10vw, 7.5rem);
}

.section-title {
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1rem + 1.2vw, 1.875rem);
  font-weight: 400;
  line-height: 1.25;
}

.section-title::after {
  content: '';
  display: block;
  width: 5.5rem;
  height: 14px;
  margin-top: 1.1rem;
  background:
    linear-gradient(var(--red), var(--red)) 0 0 / 100% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 6px / 64% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 0 12px / 34% 2px no-repeat;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.875rem, 2vw, 1.5rem);
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding: 0;
  list-style: none;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5 / 7;
  padding: 1.75rem 1.6rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 0.9rem;
  background: var(--ink-raised);
  transition: transform 0.45s var(--ease), border-color 0.3s;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0.5rem;
  border: 1px solid rgb(227 0 27 / 0.5);
  border-radius: 0.5rem;
  pointer-events: none;
  transition: border-color 0.3s;
}

.card__no {
  color: var(--red-hot);
  font-family: var(--display);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
}

.card h3 {
  margin-top: 0.9rem;
  color: var(--paper);
  font-family: var(--display);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}

.card p {
  margin-top: 0.7rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  text-wrap: pretty;
}

.card__art {
  position: absolute;
  inset: auto 0.5rem 0.5rem;
  height: 36%;
  overflow: hidden;
  border-radius: 0 0 0.5rem 0.5rem;
  opacity: 0.55;
  transition: opacity 0.45s;
}

.card__art::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 26px;
  width: 58%;
  aspect-ratio: 2 / 1;
  border-radius: 999px 999px 0 0;
  background: radial-gradient(circle at 50% 70%, #ff4a4a, var(--red) 55%, #b8000e);
  transform: translate(-50%, 38%);
  transition: transform 0.6s var(--ease);
}

.card__art::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 26px;
  background:
    linear-gradient(var(--red), var(--red)) 50% 0 / 76% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 50% 7px / 56% 2px no-repeat,
    linear-gradient(var(--red), var(--red)) 50% 14px / 32% 2px no-repeat,
    var(--ink-raised);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-0.4rem);
    border-color: rgb(255 255 255 / 0.4);
  }
  .card:hover::before {
    border-color: var(--red);
  }
  .card:hover .card__art {
    opacity: 1;
  }
  .card:hover .card__art::before {
    transform: translate(-50%, 0);
  }
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: stretch;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.label {
  margin-top: 2.75rem;
  color: var(--petal);
  font-family: var(--display);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.hours {
  width: 100%;
  margin-top: 0.75rem;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.hours th,
.hours td {
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 400;
  text-align: left;
}

.hours td {
  text-align: right;
}

.hours tr:not([data-open]) {
  color: var(--mute);
}

.hours tr.is-today {
  color: var(--paper);
  font-weight: 600;
}

.hours tr.is-today th,
.hours tr.is-today td {
  border-bottom-color: var(--red);
  font-weight: inherit;
}

.hours tr.is-today th::before {
  content: '';
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-right: 0.7rem;
  background: var(--red-hot);
  transform: translateY(-0.12em) rotate(45deg);
}

address {
  margin-top: 1rem;
  color: var(--paper);
  font-size: 1.1875rem;
  font-style: normal;
}

.text-link {
  display: inline-block;
  margin-top: 0.75rem;
  padding-block: 0.4rem;
  color: var(--petal);
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4em;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--paper);
}

.map {
  --cut: 1.75rem;
  --shape: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  min-height: 30rem;
  padding: 1px;
  clip-path: var(--shape);
  background: linear-gradient(135deg, var(--red), var(--red-deep));
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  clip-path: var(--shape);
  background: var(--ink-raised);
  filter: invert(0.92) hue-rotate(180deg) saturate(0.85) contrast(0.92);
}

.foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.875rem;
}

.foot [lang='ja'] {
  color: var(--petal);
  letter-spacing: 0.5em;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
}

@keyframes mark-in {
  from {
    opacity: 0;
    transform: scale(0.94) rotate(-3deg);
  }
}

@keyframes breathe {
  50% {
    opacity: 0.65;
    transform: scale(1.06);
  }
}

@keyframes pulse {
  from {
    box-shadow: 0 0 0 0 rgb(247 179 195 / 0.55);
  }
  to {
    box-shadow: 0 0 0 0.6rem rgb(247 179 195 / 0);
  }
}

@keyframes petal {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(0deg) rotateX(0deg);
  }
  8%,
  80% {
    opacity: 0.8;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), 105svh, 0) rotate(var(--spin)) rotateX(720deg);
  }
}

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

@media (max-width: 60rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    align-content: center;
    gap: 2.5rem;
    padding-block: 5.5rem 3.5rem;
  }

  .hero__mark {
    order: -1;
    width: min(78vw, 26rem);
  }

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

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

  .map {
    min-height: 24rem;
  }
}

@media (max-width: 35rem) {
  .cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .card {
    aspect-ratio: auto;
    padding: 1.6rem 7.5rem 1.6rem 1.5rem;
  }

  .card__art {
    inset: 0.5rem 0.5rem 0.5rem auto;
    width: 6rem;
    height: auto;
    border-radius: 0 0.5rem 0.5rem 0;
  }

  .card__art::before {
    bottom: calc(50% - 4px);
    width: 64%;
    transform: translate(-50%, 0);
  }

  .card__art::after {
    inset: calc(50% + 4px) 0 auto;
    background-color: transparent;
  }

  .actions .btn {
    flex: 1 1 auto;
  }

  .eyebrow {
    gap: 0.7rem;
    letter-spacing: 0.16em;
  }

  .eyebrow::before {
    width: 1.5rem;
  }
}

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

  .petals {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
