/* Solenne Hotel: hotel website */
:root {
  --ink-0: #020d07; --bg: #0c130f; --surface: #18251e; --surface-2: #213028; --line: rgba(255,255,255,.08);
  --line-2: rgba(255,255,255,.16); --text: #f3f6f5; --muted: rgba(255,255,255,.64); --faint: rgba(255,255,255,.4);
  --green: #41f999; --green-soft: #98f5c5; --cyan: #2eeaff;
  --grad: linear-gradient(90deg, #b9f6ff 0%, #6af1ab 55%, #41f999 100%);
  --font: "Kanit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 20px; --r-sm: 12px; --wrap: 1240px; --gut: 32px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--green-soft); }
h1, h2, h3 { margin: 0; font-weight: 600; font-style: italic; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--green); font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font: italic 600 16px/1 var(--font); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn-main { background: var(--grad); color: var(--ink-0); box-shadow: 0 0 32px rgba(65,249,153,.18); }
.btn-main:hover { transform: translateY(-1px); box-shadow: 0 0 44px rgba(65,249,153,.3); }
.btn-line { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-line:hover { border-color: var(--green); }
.btn:disabled { opacity: .6; cursor: wait; }

/* Header */
.hdr { position: absolute; inset: 0 0 auto; z-index: 5; }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.brand { display: flex; flex-direction: column; text-decoration: none; color: var(--text); line-height: 1; }
.brand b { font: italic 600 26px/1 var(--font); letter-spacing: .02em; }
.brand small { font-size: 11px; letter-spacing: .32em; text-transform: uppercase; color: var(--green-soft); margin-top: 4px; }
.hdr nav { display: flex; align-items: center; gap: 22px; }
.hdr nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.hdr nav a:not(.btn):hover { color: var(--text); }
.hdr .btn { min-height: 42px; padding: 10px 20px; font-size: 15px; }

/* Hero: full-bleed photo */
.hero { position: relative; min-height: min(92vh, 860px); padding-top: 110px; display: flex; align-items: flex-end; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,19,15,.7) 0%, rgba(12,19,15,.15) 35%, rgba(12,19,15,.85) 78%, var(--bg) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-bottom: 64px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); }
.hero-side { display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r); background: rgba(12,19,15,.72);
  border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.hero-side p { color: var(--muted); }
.stamp { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px dashed var(--green); color: var(--green); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* Intro strip */
.strip { border-block: 1px solid var(--line); }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip .wrap > div { padding: 26px 20px; border-left: 1px solid var(--line); }
.strip .wrap > div:first-child { border-left: 0; padding-left: 0; }
.strip b { display: block; font: italic 600 22px/1.1 var(--font); }
.strip span { color: var(--muted); font-size: 14px; }

/* Section heads */
.sec { padding: 104px 0; }
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.head h2 { font-size: clamp(34px, 4.6vw, 60px); }
.head p { color: var(--muted); max-width: 52ch; }

/* Directory: sticky floor index + stacked floors */
.dir { display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: start; }
.dir-index { position: sticky; top: 24px; list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.dir-index a { display: grid; grid-template-columns: 44px 1fr; padding: 12px 0 12px 20px; color: var(--muted); text-decoration: none; font-size: 15px; }
.dir-index a b { color: var(--green); font-style: italic; }
.dir-index a:hover { color: var(--text); }
.floors { display: grid; gap: 24px; }
.floor { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); scroll-margin-top: 24px; }
.floor figure { margin: 0; min-height: 340px; }
.floor figure img { width: 100%; height: 100%; object-fit: cover; }
.floor-body { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.floor-body .lvl { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.floor-body h3 { font-size: 34px; }
.floor-body p { color: var(--muted); }
.floor-body ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: #b8ccc1; }
.floor-body li { padding-left: 22px; position: relative; }
.floor-body li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--green); }
.floor.wide { grid-template-columns: 1fr; }
.floor.wide figure { min-height: 0; height: 280px; }
.floor.casino { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; border: 1px solid transparent; }
.age { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--grad); color: var(--ink-0); font-weight: 600; font-size: 13px; font-style: normal; }

/* Gift ticket */
.ticket { display: grid; grid-template-columns: 1.3fr 1fr; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); position: relative; }
.ticket-main { padding: 48px; display: flex; flex-direction: column; gap: 18px; border-right: 2px dashed var(--line-2); position: relative; }
.ticket-main::before, .ticket-main::after { content: ""; position: absolute; right: -15px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg); }
.ticket-main::before { top: -15px; } .ticket-main::after { bottom: -15px; }
.ticket-main h2 { font-size: clamp(32px, 4vw, 52px); }
.ticket-main p { color: var(--muted); }
.ticket ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.ticket ol li { counter-increment: s; display: grid; grid-template-columns: 36px 1fr; align-items: baseline; color: #b8ccc1; }
.ticket ol li::before { content: counter(s, decimal-leading-zero); color: var(--green); font-style: italic; font-weight: 600; }
.ticket-side { padding: 48px 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: radial-gradient(80% 80% at 80% 20%, rgba(65,249,153,.18), transparent 70%), var(--surface-2); }
.ticket-side .big { font: italic 600 72px/1 var(--font); }
.ticket-side span { color: var(--muted); }

/* Status board */
.board { width: 100%; border-collapse: collapse; border-radius: var(--r); overflow: hidden; background: var(--surface); }
.board th, .board td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board tr:last-child th, .board tr:last-child td { border-bottom: 0; }
.board th { width: 30%; font-weight: 500; color: var(--muted); }
.pill { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; margin-right: 10px; }
.pill.no { background: rgba(255,255,255,.08); color: #b8ccc1; }
.pill.yes { background: var(--grad); color: var(--ink-0); }

/* FAQ */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qa div { padding: 28px; border-radius: var(--r); border: 1px solid var(--line); }
.qa h3 { font-size: 21px; margin-bottom: 10px; }
.qa p { color: var(--muted); font-size: 16px; }

/* Sign-up */
.join { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.join figure { margin: 0; position: relative; min-height: 420px; }
.join figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.join form { padding: 48px; background: var(--surface); display: flex; flex-direction: column; gap: 18px; }
.join h2 { font-size: clamp(30px, 3.6vw, 44px); }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--muted); }
.field input { min-height: 52px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 16px var(--font); }
.field input:focus { outline: 2px solid var(--green); outline-offset: 1px; }
.tick { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; color: var(--muted); align-items: start; }
.tick input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.hp { position: absolute; left: -9999px; }
.msg { min-height: 1.4em; font-size: 15px; }
.msg.error { color: #ff9b8a; } .msg.ok { color: var(--green); }
.fine { font-size: 13px; color: var(--faint); }

/* Footer */
.ftr { border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.ftr-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ftr nav a { color: var(--muted); text-decoration: none; font-size: 15px; }
.ftr nav a:hover { color: var(--text); }
.ftr-note { margin-top: 28px; display: grid; gap: 8px; font-size: 13px; color: var(--faint); max-width: 90ch; }
.ftr-note a { color: var(--muted); }

/* Inner pages */
.page { padding: 140px 0 40px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(40px, 6vw, 64px); margin: 12px 0 8px; }
.page .sub { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 26px; margin: 40px 0 12px; }
.doc p, .doc li { color: #b8ccc1; }
.doc ul { padding-left: 20px; display: grid; gap: 6px; }
.done-card { padding: 40px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }

@media (max-width: 980px) {
  .hero .wrap, .head, .floor, .ticket, .join, .qa { grid-template-columns: 1fr; }
  .dir { grid-template-columns: 1fr; }
  .dir-index { position: static; display: grid; grid-template-columns: repeat(2, 1fr); border-left: 0; gap: 4px; }
  .dir-index a { padding: 10px 12px; border-radius: var(--r-sm); background: var(--surface); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .strip .wrap > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .strip .wrap > div { border-top: 1px solid var(--line); }
  .ticket-main { border-right: 0; border-bottom: 2px dashed var(--line-2); }
  .ticket-main::before, .ticket-main::after { display: none; }
  .floor figure { min-height: 240px; }
  .join figure { min-height: 240px; }
}
@media (max-width: 700px) {
  :root { --gut: 16px; }
  .hdr nav a:not(.btn) { display: none; }
  .sec { padding: 72px 0; }
  .hero { min-height: 640px; padding-top: 96px; }
  .hero .wrap { padding-bottom: 32px; }
  .floor-body, .ticket-main, .ticket-side, .join form { padding: 28px 22px; }
  .board th, .board td { display: block; width: 100%; padding: 14px 18px; }
  .board th { padding-bottom: 0; border-bottom: 0; }
  .dir-index { grid-template-columns: 1fr; }
}
