/* Kelbridge — editorial hospitality */
:root {
  --bg: #eceef1;
  --bg-soft: #dfe2e7;
  --text: #1b1e24;
  --text-muted: #4a5058;
  --accent: #4a6d8c;
  --accent-light: #6289a8;
  --accent-dark: #3a5872;
  --brass: #9a7b52;
  --frost: rgba(255, 255, 255, 0.55);
  --frost-border: rgba(255, 255, 255, 0.75);
  --shadow: 0 4px 24px rgba(27, 30, 36, 0.06);
  --radius: 6px;
  --display: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", system-ui, sans-serif;
  --max-width: 1120px;
  --header-h: 72px;
  --transition: 0.35s ease;
}

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

html { scroll-behavior: smooth; font-size: 100%; }

body {
  font-family: var(--sans);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 85% 55% at 15% 0%, rgba(255, 255, 255, 0.75) 0%, transparent 58%),
    radial-gradient(ellipse 65% 45% at 92% 100%, rgba(74, 109, 140, 0.09) 0%, transparent 52%),
    radial-gradient(ellipse 40% 30% at 50% 50%, rgba(154, 123, 82, 0.05) 0%, transparent 60%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.35rem; }

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.25rem;
  background: var(--text);
  color: var(--bg);
  text-decoration: none;
  border-radius: var(--radius);
}

.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--frost);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--frost-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo em { color: var(--brass); font-style: normal; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--text-muted);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--text);
}

.main-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  padding: 0;
  margin: 0;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.hero-tagline {
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-muted);
  font-style: italic;
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

main { padding-bottom: 3rem; }

.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-alt {
  background: var(--frost);
  border-top: 1px solid var(--frost-border);
  border-bottom: 1px solid var(--frost-border);
}

.section-header {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--frost);
  border: 1px solid var(--frost-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27, 30, 36, 0.08);
}

.card h3 { color: var(--accent-dark); }
.card p { color: var(--text-muted); font-size: 0.95rem; }

.card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.feature-list li {
  padding: 1.25rem 1.5rem;
  background: var(--frost);
  border-left: 3px solid var(--brass);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.feature-list strong {
  display: block;
  font-family: var(--display);
  margin-bottom: 0.25rem;
}

.prose { max-width: 42rem; }
.prose-wide { max-width: 52rem; }
.prose h2 { margin-top: 2rem; }
.prose h2:first-child { margin-top: 0; }
.prose-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }

.faq-list { list-style: none; padding: 0; max-width: 48rem; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--bg-soft);
  background: var(--frost);
  margin-bottom: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item.is-open .faq-question::after { content: "−"; }

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  display: none;
}

.faq-item.is-open .faq-answer { display: block; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 48rem;
}

.contact-block {
  padding: 1.75rem;
  background: var(--frost);
  border-radius: var(--radius);
  border: 1px solid var(--frost-border);
}

.contact-block h3 { color: var(--accent-dark); margin-bottom: 0.75rem; }
.contact-block a { font-weight: 600; }

.notice {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.notice-info {
  background: rgba(74, 109, 140, 0.12);
  border-left: 4px solid var(--accent);
}

.notice-warning {
  background: rgba(27, 30, 36, 0.06);
  border-left: 4px solid var(--text-muted);
}

.notice-gaming {
  background: rgba(154, 123, 82, 0.12);
  border-left: 4px solid var(--brass);
}

.site-footer {
  background: var(--text);
  color: rgba(236, 238, 241, 0.85);
  padding: 3rem 1.5rem 2rem;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-brand .logo {
  color: var(--bg);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-brand p { font-size: 0.9rem; opacity: 0.8; }

.footer-nav h4,
.footer-legal h4 {
  font-family: var(--sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.footer-nav ul,
.footer-legal ul { list-style: none; padding: 0; }

.footer-nav a,
.footer-legal a {
  color: rgba(236, 238, 241, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  display: block;
  padding: 0.25rem 0;
}

.footer-nav a:hover,
.footer-legal a:hover { color: #fff; text-decoration: underline; }

.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(236, 238, 241, 0.15);
  font-size: 0.8rem;
  opacity: 0.65;
  text-align: center;
}

.footer-age {
  margin-top: 0.5rem;
  font-weight: 600;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(27, 30, 36, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.age-gate[hidden] { display: none; }

.age-gate-panel {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 2.5rem;
  max-width: 28rem;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.age-gate-panel h2 { margin-bottom: 1rem; }
.age-gate-panel p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.age-gate-actions .btn { width: 100%; }
.age-gate-decline { font-size: 0.85rem; color: var(--text-muted); margin-top: 1rem; }

.error-page {
  text-align: center;
  padding: 6rem 1.5rem;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-code {
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 8rem);
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible { opacity: 1; transform: translateY(0); }

.contact-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
  border: 1px solid var(--frost-border);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--frost-border);
  background: #fff;
  padding: 0.85rem;
  color: var(--text);
  font: inherit;
  border-radius: 2px;
}

.contact-form .full { grid-column: 1 / -1; }

.contact-form .form-help {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
}

.suite-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1.5rem 0;
}

.suite-table th,
.suite-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--bg-soft);
}

.suite-table th {
  font-family: var(--display);
  font-weight: 500;
  color: var(--accent-dark);
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--frost);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--frost-border);
    padding: 1rem 1.5rem;
    display: none;
  }

  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }

  .main-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--bg-soft);
  }

  .hero { padding-top: 2.5rem; }
}

@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 0.95fr 1.05fr; gap: 3rem; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .contact-form .full,
  .contact-form button,
  .contact-form .form-help { grid-column: 1 / -1; }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .fade-in { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}
