/* Frontdesk landing — Concierge: a hotel front desk in bottle green, brass and ivory. */
:root {
  --green: #0e3a2c;
  --green-2: #15513e;
  --green-3: #1d6a52;
  --brass: #d1a640;
  --brass-dk: #8a6a1f;
  --ivory: #f7f2e4;
  --paper: #fffdf7;
  --ink: #1c1b17;
  --ink-2: #4a473f;
  --ink-3: #6d6a5f;
  --mist: #c9d6cf;
  --line-dark: rgba(28, 27, 23, 0.12);
  --line-light: rgba(247, 242, 228, 0.18);
  --wood: #5b3a22;
  --wood-dk: #3f2716;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing { margin: 0; background: var(--green); color: var(--ivory); font-family: var(--body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---------- buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 13px 22px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s ease, background-color .2s ease; }
.btn-brass { background: var(--brass); color: var(--ink); }
.btn-brass:hover { background: #ddb453; transform: translateY(-1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.text-link { font-weight: 600; font-size: 15px; text-underline-offset: 4px; }
.kick { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.kick.dark { color: var(--brass-dk); }

/* ---------- nav ---------- */
.nav-bar { position: sticky; top: 0; z-index: 20; background: var(--green); border-bottom: 1px solid var(--line-light); padding-top: env(safe-area-inset-top, 0px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -0.01em; }
.logo svg { color: var(--brass); }
.nav-menu { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.nav-menu a:not(.btn) { text-decoration: none; color: var(--mist); }
.nav-menu a:not(.btn):hover { color: var(--ivory); }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-light); color: var(--ivory); border-radius: 10px; padding: 8px; cursor: pointer; }

/* ---------- hero ---------- */
.hero { padding-block: 56px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero-copy { min-width: 0; padding-bottom: 56px; }
h1 { font-family: var(--display); font-weight: 400; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.02em; margin: 18px 0 0; text-wrap: balance; }
h1 em { color: var(--brass); font-style: italic; }
.lede { font-size: 18px; color: var(--mist); max-width: 31em; margin: 22px 0 0; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.ctas.center { justify-content: center; }
.hero-meta { margin: 24px 0 0; font-family: var(--mono); font-size: 12px; color: var(--mist); opacity: .85; }

/* the desk scene */
.desk { position: relative; height: 540px; min-width: 0; }
.desk-glow { position: absolute; inset: 0 0 110px 0; background: radial-gradient(420px 260px at 60% 30%, rgba(209, 166, 64, .16), transparent 70%); }
.counter { position: absolute; left: -60px; right: -60px; bottom: 0; height: 110px; background: linear-gradient(var(--wood), var(--wood-dk)); border-top: 6px solid #7a5232; box-shadow: inset 0 10px 20px rgba(0,0,0,.25); }
.counter::after { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 2px; background: rgba(209, 166, 64, .35); }
.note { position: absolute; left: 4%; top: 16px; width: 68%; background: var(--ivory); color: var(--ink); border-radius: 6px; padding: 20px 22px 18px; box-shadow: 0 30px 50px -20px rgba(0,0,0,.55); transform: rotate(-1.5deg); font-size: 14px; line-height: 1.55; display: grid; gap: 12px; z-index: 2; }
.note-head { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px dashed #c9c2ad; padding-bottom: 10px; }
.note > :not(.note-head) { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s ease; }
.note > .show { opacity: 1; transform: none; }
.note-q { font-family: var(--display); font-size: 19px; font-style: italic; }
.note-looking { font-size: 12px; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.note-looking i { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.note-person { justify-self: start; font: inherit; font-size: 12.5px; font-weight: 600; border: 1px solid var(--green); color: var(--green); background: transparent; border-radius: 999px; padding: 6px 14px; transition: background-color .2s, color .2s, transform .2s; }
.note-person.press { background: var(--green); color: var(--ivory); transform: scale(.96); }
.note-agent { background: #e8efe9; border-left: 3px solid var(--green); padding: 10px 12px; border-radius: 4px; }
.note-agent span { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 2px; }
.keytag { position: absolute; right: 3%; top: 150px; width: 150px; transform-origin: 50% -40px; transform: rotate(4deg); opacity: 0; transition: opacity .3s; z-index: 3; }
.keytag.show { opacity: 1; animation: swing 2.4s ease-out; }
@keyframes swing { 0% { transform: rotate(40deg); } 30% { transform: rotate(-12deg); } 55% { transform: rotate(8deg); } 75% { transform: rotate(-3deg); } 100% { transform: rotate(4deg); } }
.keytag-string { position: absolute; left: 50%; top: -40px; width: 1px; height: 44px; background: rgba(247, 242, 228, .5); }
.keytag-body { background: var(--brass); color: var(--ink); border-radius: 10px 10px 40px 40px; padding: 26px 14px 22px; text-align: center; box-shadow: 0 14px 24px -10px rgba(0,0,0,.5); }
.keytag-hole { width: 14px; height: 14px; border-radius: 50%; background: var(--green); margin: -14px auto 10px; box-shadow: inset 0 2px 3px rgba(0,0,0,.4); }
.keytag b { display: block; font-size: 30px; font-weight: 600; line-height: 1; }
.keytag span { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.bell { position: absolute; left: 50%; bottom: 96px; width: 120px; margin-left: -60px; transform-origin: 50% 100%; z-index: 1; }
.bell.ring { animation: ring .6s ease-in-out; }
@keyframes ring { 20% { transform: rotate(-9deg); } 40% { transform: rotate(8deg); } 60% { transform: rotate(-5deg); } 80% { transform: rotate(3deg); } }
.ding { position: absolute; left: 50%; bottom: 150px; width: 40px; height: 40px; margin-left: -20px; border-radius: 50%; border: 2px solid var(--brass); opacity: 0; pointer-events: none; }
.ding.go { animation: ding 1s ease-out; }
@keyframes ding { from { opacity: .9; transform: scale(.5); } to { opacity: 0; transform: scale(3.4); } }
.ding-word { position: absolute; left: 50%; bottom: 210px; transform: translateX(-50%); font-family: var(--display); font-style: italic; color: var(--brass); font-size: 22px; opacity: 0; pointer-events: none; }
.ding-word.go { animation: word 1s ease-out; }
@keyframes word { 0% { opacity: 0; transform: translate(-50%, 10px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, -20px); } }

/* ---------- sections ---------- */
.section { padding-block: 96px; }
.section.ivory { background: var(--ivory); color: var(--ink); }
.section.ivory + .section.ivory { border-top: 1px solid var(--line-dark); }
.section.green { background: var(--green); color: var(--ivory); }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; letter-spacing: -0.015em; margin: 12px 0 0; max-width: 18em; text-wrap: balance; }
.body-copy { font-size: 17px; line-height: 1.65; color: var(--mist); max-width: 34em; margin: 18px 0 0; }
.body-copy.dark { color: var(--ink-2); }

.steps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.steps li { border-top: 1px solid var(--line-dark); padding-top: 22px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--brass); font-family: var(--display); font-size: 17px; }
.steps h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; }
.steps p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.65; }

.keys { margin-top: 44px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.key { background: var(--paper); border: 1px solid #e3dcc6; border-radius: 12px 12px 34px 34px; padding: 22px 20px 28px; text-align: center; display: grid; gap: 8px; justify-items: center; align-content: start; transition: transform .3s ease, box-shadow .3s ease; }
.key:hover { transform: rotate(-1.5deg) translateY(-3px); box-shadow: 0 16px 30px -18px rgba(14, 58, 44, .45); }
.key-hole { width: 12px; height: 12px; border-radius: 50%; background: var(--ivory); border: 1px solid #d7cfb5; margin-bottom: 4px; }
.key h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--green); }
.key p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split > * { min-width: 0; }
.ticks { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; color: var(--mist); }
.ticks.dark { color: var(--ink-2); }
.ticks li { display: flex; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brass); transform: translateY(-1px); }

.queue-card { background: var(--ivory); color: var(--ink); border-radius: 14px; padding: 8px; box-shadow: 0 30px 50px -24px rgba(0,0,0,.55); }
.queue-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; font-size: 13px; font-weight: 600; }
.pill-wait { font-size: 12px; font-weight: 600; color: #8a4a0c; background: #fbe6c8; border-radius: 999px; padding: 3px 10px; }
.queue-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border-radius: 10px; margin-top: 6px; font-size: 13.5px; }
.queue-row div { min-width: 0; display: grid; }
.queue-row b { font-weight: 600; }
.queue-row span { color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-row em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--ink-3); flex: none; }
.queue-row em.wait { color: #a5530e; }
.queue-row em.live { color: var(--green-2); font-weight: 500; }

.code-card { background: var(--green); color: var(--ivory); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 40px -24px rgba(14, 58, 44, .6); }
.code-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--line-light); font-size: 13px; color: var(--mist); }
.copy-btn { font: inherit; font-size: 12px; font-weight: 600; background: var(--brass); color: var(--ink); border: 0; border-radius: 999px; padding: 6px 14px; cursor: pointer; }
.code-card pre { margin: 0; padding: 18px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; }

.faq-wrap { max-width: 820px; }
details { border-top: 1px solid var(--line-dark); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--line-dark); }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--brass-dk); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 10px 0 0; color: var(--ink-2); line-height: 1.65; max-width: 40em; }

.cta { text-align: center; }
.cta h2 { margin-inline: auto; }

.footer { background: var(--green); border-top: 1px solid var(--line-light); padding-bottom: env(safe-area-inset-bottom, 0px); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; font-size: 13px; color: var(--mist); }
.footer a { color: var(--mist); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .nav-toggle { display: inline-grid; }
  .nav-menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--green); border-bottom: 1px solid var(--line-light); padding: 8px max(20px, env(safe-area-inset-left, 0px)) 18px; }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line-light); }
  .nav-menu .btn { margin-top: 14px; justify-content: center; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-bottom: 0; }
  .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .keys { grid-template-columns: minmax(0, 1fr); }
  .desk { height: 600px; }
  .note { width: 92%; left: 4%; }
  .keytag { top: auto; bottom: 150px; right: 4%; width: 116px; }
  .keytag-body { padding: 20px 10px 18px; }
  .bell { width: 96px; margin-left: -48px; }
  .section { padding-block: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
