:root {
  --background: #ffffff;
  --foreground: #0b1c3c;
  --card: #ffffff;
  --primary: #0b1c3c;
  --primary-foreground: #ffffff;
  --secondary: #e3f0f3;
  --muted-foreground: #5a6169;
  --accent: #137990;
  --accent-text: #106878;
  --border: #e2e4e9;
  --radius: 1rem;
  --font-heading: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  border-color: var(--border);
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  font-family: var(--font-body);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

img, svg {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: 0;
}

.page-bg {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  background: linear-gradient(180deg, #F7F8FA 0%, #E9F3F4 100%);
}

.radial-overlay {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.6;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(18,121,143,0.07), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(10,27,62,0.03), transparent 70%);
}

main {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  width: 100%;
  max-width: 440px;
  padding: 0 clamp(1rem, 5vw, 1.5rem) calc(3rem + env(safe-area-inset-bottom, 0px));
  padding-left: max(clamp(1rem, 5vw, 1.5rem), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(1rem, 5vw, 1.5rem), env(safe-area-inset-right, 0px));
}

/* Hero */

.hero {
  text-align: center;
  padding-top: max(2rem, env(safe-area-inset-top, 0px));
  animation: fade-up 1.1s cubic-bezier(.22,1,.36,1) both;
}

.sound-bars {
  margin-bottom: 1.5rem;
  opacity: 0.4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  height: 70px;
}

.sound-bars span {
  width: 4px;
  border-radius: 999px;
  background-color: var(--accent);
  height: var(--h);
  transform-origin: bottom;
  animation: bar-pulse 2.4s ease-in-out infinite;
  animation-delay: var(--d);
}

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(.3); opacity: .3; }
  50% { transform: scaleY(1); opacity: .85; }
}

.wordmark {
  margin: 0;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
}

.wordmark-top,
.wordmark-bottom {
  display: block;
  font-size: clamp(1.75rem, 8vw, 2.25rem);
}

.wordmark-top {
  color: var(--foreground);
}

.wordmark-bottom {
  color: var(--accent);
  margin-top: -0.15em;
}

.subtitle {
  margin: 1.25rem auto 0;
  max-width: 300px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-foreground);
  overflow-wrap: break-word;
}

.hours-line {
  margin-top: 0;
  margin-bottom: 1.25rem;
  text-align: center;
  font-size: 13px;
  color: var(--muted-foreground);
}

/* Buttons */

.action-card {
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1.25rem;
}

.action-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pill-row {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill {
  border-radius: 999px;
  border: 1px solid var(--border);
  background-color: #ffffff;
  padding: 0.3rem 0.85rem;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
}

.action-btn {
  margin-top: 1rem;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 0.875rem;
  background-color: var(--foreground);
  padding: 0.9rem 1rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-foreground);
  box-shadow: 0 8px 20px -6px rgba(10,27,62,0.25);
  transition: box-shadow .3s, transform .2s;
  cursor: pointer;
  border: none;
}

.action-btn:hover {
  transform: translateY(-2px);
}

.action-btn:active {
  transform: scale(.98);
}

.action-btn .icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: currentColor;
}

.action-btn.accent {
  background-color: var(--accent);
  box-shadow: 0 8px 20px -6px rgba(19,121,144,0.35);
}

/* Sections */

.section {
  margin-top: 2rem;
}

.stack > * + * {
  margin-top: 0.75rem;
}

.divider {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.divider .line {
  height: 1px;
  flex: 1;
  background-color: var(--border);
}

.divider p {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-family: var(--font-heading);
  white-space: nowrap;
}

/* Accordion */

.accordion {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
}

.accordion + .accordion {
  margin-top: 0.75rem;
}

.accordion-header {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.icon-box {
  display: flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background-color: var(--secondary);
}

.icon-box .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.accordion-title {
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  overflow-wrap: break-word;
}

.chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
  transition: transform .3s;
}

.accordion.open .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height .35s ease-in-out;
}

.accordion-inner {
  border-top: 1px solid var(--border);
  padding: 1rem;
}

.team-list li {
  display: flex;
  flex-direction: column;
}

.team-list li + li {
  margin-top: 0.75rem;
}

.team-list .name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
}

.team-list .role {
  font-size: 13px;
  color: var(--muted-foreground);
}

.dot-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 13px;
  color: rgba(11,28,60,0.8);
}

.dot-list li + li {
  margin-top: 0.5rem;
}

.dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.bold {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.muted-text {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-foreground);
  overflow-wrap: break-word;
}

.accordion-inner .muted-text {
  margin-top: 0.5rem;
  display: block;
}

/* Location card */

.location-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 1rem;
  transition: border-color .3s;
}

.location-card:hover {
  border-color: rgba(19,121,144,0.4);
}

.featured-card {
  border-color: rgba(19,121,144,0.35);
  background-color: rgba(19,121,144,0.04);
}

.featured-card:hover {
  border-color: rgba(19,121,144,0.6);
}

.icon-box-light {
  background-color: #ffffff;
  border: 1px solid rgba(19,121,144,0.25);
}

.chevron-right {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--accent);
}

.location-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.location-text .title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  overflow-wrap: break-word;
}

.location-card .arrow {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

/* Footer */

footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
}

.footer-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-row + .footer-row {
  margin-top: 0.75rem;
}

.footer-row .icon {
  margin-top: 0.125rem;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-row p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-note {
  margin-top: 1rem;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
}

.footer-note a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--accent-text);
}

.footer-note a:hover {
  text-decoration: underline;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero, .sound-bars span {
    animation: none !important;
  }
}

@media (max-width: 360px) {
  main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .action-card {
    padding: 1rem;
  }

  .action-btn {
    font-size: 0.875rem;
    padding: 0.8rem 0.75rem;
  }

  .pill {
    font-size: 11px;
    padding: 0.25rem 0.7rem;
  }

  .sound-bars {
    height: 56px;
  }
}

@media (min-width: 480px) {
  main {
    padding-top: 1rem;
  }
}
