/* Joymoment — Aura System 01, hotel */

:root {
  --matte: #c8c8cc;
  --bg: #050507;
  --surface: #18181b;
  --surface-2: #0a0a0c;
  --text: #e5e5e5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --orange: #ff4500;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--matte); }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--body);
  font-weight: 400;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 69, 0, 0.07), transparent 28rem),
    linear-gradient(180deg, #d4d4d8 0%, #c8c8cc 55%, #b8b8be 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--orange); color: #fff; }
a { color: inherit; text-decoration: none; }
button { border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

.page-pad {
  min-height: 100vh;
  /* padding: clamp(12px, 2vw, 22px); */
}
.master-shell {
  position: relative;
  width: 100%;
  /* max-width: 90rem; */
  margin: 0 auto;
  /* border-radius: 12px; */
  overflow: hidden;
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.38),
    0 12px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.rails {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  margin-inline: 9%;
  border-left: 1px solid rgba(255, 255, 255, 0.045);
  border-right: 1px solid rgba(255, 255, 255, 0.045);
}
.noise {
  position: absolute; inset: -50%; z-index: 1; pointer-events: none; opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 260 260' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 9s steps(6) infinite;
}

.wrap { width: min(100% - 2.25rem, 72rem); margin-inline: auto; }
@media (min-width: 768px) { .wrap { width: min(100% - 3.5rem, 72rem); } }

.mono { font-family: var(--mono); }
.kicker {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
}
.h-display {
  font-family: var(--body);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--text);
}
.body-muted { color: var(--muted); font-weight: 300; line-height: 1.7; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 7, 0.86);
  backdrop-filter: blur(18px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 4.25rem;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 36px; width: auto; }
.nav-shell { display: none; }
nav.primary {
  display: flex; align-items: center; gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(24, 24, 27, 0.65);
}
nav.primary a {
  height: 32px; display: inline-flex; align-items: center;
  padding: 0 12px; border-radius: 6px;
  font-family: var(--mono);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(229, 229, 229, 0.48);
  transition: color 0.2s ease, background 0.2s ease;
}
nav.primary a:hover, nav.primary a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}
nav.primary a.active { color: var(--orange); }
.header-tools { display: none; align-items: center; gap: 1rem; }
.header-phone { text-align: right; border-right: 1px solid var(--line); padding-right: 1rem; }
.header-phone a { display: block; font-size: 0.75rem; font-weight: 500; color: var(--text); }
.header-phone span { display: block; font-size: 0.68rem; color: var(--muted); }

@media (min-width: 960px) { .nav-shell { display: block; } }
@media (min-width: 1100px) { .header-tools { display: flex; } }

.menu-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
}
@media (min-width: 960px) { .menu-btn { display: none; } }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 1rem 0 1.25rem;
}
.mobile-menu.open { display: block; }
.mobile-menu nav { display: grid; gap: 2px; }
.mobile-menu a {
  border-radius: 8px; padding: 0.75rem 0.85rem;
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.mobile-menu a:hover { background: var(--surface); color: var(--text); }
.mobile-card {
  margin-top: 0.75rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 1rem;
}

/* Buttons */
.btn, .btn-primary, .btn-secondary, .btn-ghost {
  position: relative;
  min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 8px;
  padding: 0 18px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  overflow: hidden;
  transition: transform 0.25s var(--ease), filter 0.25s ease, background 0.2s ease;
}
.btn-primary {
  color: #fff;
  background: var(--orange);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-secondary {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover { border-color: rgba(255, 69, 0, 0.45); }
.btn-ghost {
  min-height: auto; padding: 0.5rem 0; border-radius: 0;
  color: var(--text);
}
.btn-ghost:hover { color: var(--orange); }
[data-magnetic] { transition: transform 500ms var(--ease); }

/* Cards + frames */
.card {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0a0a0c, #050507);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.card:hover { border-color: rgba(255, 255, 255, 0.14); }

.frame {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
}
.frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(#a1a1aa, #a1a1aa) 0 0 / 5px 5px no-repeat,
    linear-gradient(#a1a1aa, #a1a1aa) 100% 0 / 5px 5px no-repeat,
    linear-gradient(#a1a1aa, #a1a1aa) 0 100% / 5px 5px no-repeat,
    linear-gradient(#a1a1aa, #a1a1aa) 100% 100% / 5px 5px no-repeat;
}

.pips { display: flex; gap: 4px; }
.pips span {
  width: 6px; height: 6px;
  background: #3f3f46;
}
.pips span.on { background: var(--orange); box-shadow: 0 0 10px var(--orange); }

.page-hero {
  position: relative; min-height: 22rem; overflow: hidden;
  border-radius: 8px; border: 1px solid var(--line);
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 7, 0.92) 0%, rgba(5, 5, 7, 0.28) 55%, transparent 100%);
}
.page-hero .content {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 22rem; padding: 2rem;
}

.breadcrumb {
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.14em;
  color: var(--muted); display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.25rem;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--orange); }

/* Forms */
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  font: inherit; color: var(--text);
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  background: rgba(24, 24, 27, 0.9);
  padding: 0.85rem 1rem;
  outline: none;
}
input[type="checkbox"] {
  width: 1.05rem; height: 1.05rem; accent-color: var(--orange);
  flex-shrink: 0;
}
input:focus, select:focus, textarea:focus { border-color: rgba(255, 69, 0, 0.55); }
label.field {
  display: block;
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.12em; color: var(--muted);
}
label.field > * { margin-top: 0.45rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #070709;
}
.footer-grid {
  display: grid; gap: 2.5rem;
  padding: 2.75rem 0;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 1fr; }
}
.site-footer nav { display: grid; gap: 0.7rem; }
.site-footer nav a {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.site-footer nav a:hover { color: var(--text); }
.footer-legal {
  display: flex; flex-direction: column; gap: 0.75rem;
  border-top: 1px solid var(--line); padding: 1.25rem 0 0;
  font-family: var(--mono); font-size: 0.65rem; letter-spacing: 0.08em;
  color: #8c8c8c;
}
@media (min-width: 640px) {
  .footer-legal { flex-direction: row; justify-content: space-between; align-items: center; }
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-4%, 3%); }
  40% { transform: translate(3%, -5%); }
  60% { transform: translate(-3%, -2%); }
  80% { transform: translate(4%, 4%); }
}

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

@media (max-width: 640px) {
  .page-pad { padding: 10px; }
  .cta-row a { width: 100%; }
}
