/* ASURA Sushi — Coming Soon */

:root {
  --paper: #f4f1ea;
  --ink: #1c1b19;
  --ink-soft: #6b675f;
  --line: #cfc9bd;
  --vermilion: #b4372a;

  --font-latin: "Cormorant Garamond", "Times New Roman", serif;
  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html,
body {
  margin: 0;
  height: 100%;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-latin);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0 0.1  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: var(--gutter);
}

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 0;
}

.seal {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
  color: var(--vermilion);
  font-family: var(--font-jp);
  font-size: 26px;
  margin-bottom: 44px;
}

.brand {
  margin: 0;
  font-weight: 300;
  line-height: 1;
}

.brand__name {
  display: block;
  font-size: clamp(44px, 9vw, 104px);
  letter-spacing: 0.38em;
  /* letter-spacing adds trailing space; offset to keep optical centre */
  margin-right: -0.38em;
}

.brand__sub {
  display: block;
  margin-top: 18px;
  font-size: clamp(12px, 1.4vw, 15px);
  letter-spacing: 0.9em;
  margin-right: -0.9em;
  color: var(--ink-soft);
}

.rule {
  display: block;
  width: 1px;
  height: 56px;
  margin: 44px 0 32px;
  background: var(--line);
}

.status {
  margin: 0;
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0.04em;
}

.lead {
  max-width: 34ch;
  margin: 20px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
}

/* ---------- Vertical Japanese text ---------- */

.vertical {
  position: absolute;
  top: 50%;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--font-jp);
  font-size: 15px;
  letter-spacing: 0.5em;
  color: var(--ink);
  transform: translateY(-50%);
}

.vertical--left {
  left: var(--gutter);
}

.vertical--right {
  right: var(--gutter);
  color: var(--ink-soft);
  font-size: 13px;
}

/* ---------- Footer ---------- */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.footer a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  outline: none;
}

.dot {
  color: var(--line);
}

/* ---------- Entrance animation ---------- */

/* Only hide when JS is running, so the page is never blank without it */
.js .reveal {
  opacity: 0;
  translate: 0 12px;
  transition: opacity 1.4s var(--ease), translate 1.4s var(--ease);
  transition-delay: calc(var(--i, 0) * 140ms);
}

.js .vertical.reveal {
  translate: 0 0;
}

.is-loaded .reveal {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .vertical--right {
    display: none;
  }

  .vertical--left {
    top: var(--gutter);
    transform: none;
    font-size: 13px;
  }

  .seal {
    margin-bottom: 32px;
  }

  .brand__name {
    letter-spacing: 0.24em;
    margin-right: -0.24em;
  }

  .brand__sub {
    letter-spacing: 0.6em;
    margin-right: -0.6em;
  }

  .footer {
    font-size: 13px;
    gap: 8px 20px;
  }

  .dot {
    display: none;
  }
}
