/* Spinner Hydrodine — light theme */

:root {
  --color-bg: #ffffff;
  --color-bg-subtle: #f8fafc;
  --color-bg-elevated: #f1f5f9;
  --color-surface: #ffffff;
  --color-surface-hover: #f1f5f9;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-text: #0f172a;
  --color-text-muted: #64748b;
  --color-accent: #0284c7;
  --color-accent-strong: #0369a1;
  --color-accent-light: #e0f2fe;
  --color-accent-warm: #d97706;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-height: 4.5rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.1);
  --transition: 0.2s ease;
  --max-width: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(14, 165, 233, 0.08), transparent),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.site-logo img {
  height: 2.75rem;
  width: auto;
  border-radius: var(--radius-sm);
}

.site-logo__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-text);
}

.site-logo__text span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition:
    color var(--transition),
    background var(--transition);
}

.site-nav a:hover {
  color: var(--color-text);
  background: var(--color-bg-subtle);
}

.site-nav a.is-active {
  color: var(--color-accent-strong);
  background: var(--color-accent-light);
  box-shadow: inset 0 0 0 1px rgba(2, 132, 199, 0.2);
}

/* Hero (home) */

.hero {
  position: relative;
  flex: 1;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-bg-subtle);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.75) 40%, rgba(255, 255, 255, 0.3) 100%),
    linear-gradient(135deg, rgba(224, 242, 254, 0.4) 0%, transparent 50%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  width: 100%;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--color-accent-light);
  border: 1px solid rgba(2, 132, 199, 0.2);
  color: var(--color-accent-strong);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  color: var(--color-text);
}

.hero__subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-muted);
  margin: 0 0 2rem;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-strong));
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn--primary:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn--ghost {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
  box-shadow: var(--shadow-sm);
}

.btn--ghost:hover {
  background: var(--color-bg-subtle);
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

/* Page layout */

.page {
  flex: 1;
  padding: 3rem 1.5rem 4rem;
  background: var(--color-bg);
}

.page__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page__header {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.page__title {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  color: var(--color-text);
}

.page__lead {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* Content cards */

.content-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.content-card:last-child {
  margin-bottom: 0;
}

.content-card h2,
.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  line-height: 1.3;
  color: var(--color-text);
}

.content-card p {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
}

.content-card p:last-child {
  margin-bottom: 0;
}

.content-card--highlight {
  background: linear-gradient(135deg, #f0f9ff 0%, #fffbeb 100%);
  border-color: rgba(2, 132, 199, 0.2);
  box-shadow: var(--shadow-md);
}

/* Video grid */

.video-grid {
  display: grid;
  gap: 2rem;
}

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.video-card__header {
  padding: 1.5rem 1.5rem 0;
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.video-card__desc {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  margin: 1.25rem 1.5rem 1.5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #0f172a;
  box-shadow: var(--shadow-md);
}

.video-card__embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery */

.gallery-card {
  text-align: center;
  padding: 3rem 2rem;
}

.gallery-card p {
  color: var(--color-text-muted);
}

.gallery-card__thumb {
  display: inline-block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  margin-bottom: 1.5rem;
}

.gallery-card__thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.gallery-card__thumb img {
  width: min(100%, 28rem);
}

/* FAQ */

.faq-toc {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .faq-toc {
    grid-template-columns: repeat(2, 1fr);
  }
}

.faq-toc a {
  display: block;
  padding: 0.75rem 1rem;
  background: var(--color-bg-subtle);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9375rem;
  transition:
    background var(--transition),
    color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.faq-toc a:hover {
  background: var(--color-accent-light);
  color: var(--color-accent-strong);
  border-color: rgba(2, 132, 199, 0.25);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  padding-top: 0.5rem;
}

.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 0 1rem;
  line-height: 1.35;
  color: var(--color-text);
}

.faq-item h3 a {
  color: inherit;
  text-decoration: none;
}

/* Contact */

.contact-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.contact-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-strong);
}

.contact-item__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin-bottom: 0.5rem;
}

.contact-item__value {
  font-size: 1rem;
  color: var(--color-text);
}

.contact-item__value a {
  text-decoration: none;
}

.contact-item__value a:hover {
  text-decoration: underline;
}

.contact-item img {
  margin: 0 auto;
  height: 2rem;
  width: auto;
}

/* Footer */

.site-footer {
  margin-top: auto;
  background: var(--color-bg-elevated);
  border-top: 1px solid var(--color-border);
  padding: 2rem 1.5rem;
}

.site-footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.site-footer .heart {
  color: var(--color-accent-warm);
}

/* Responsive nav */

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

  .site-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1rem 1rem;
    display: none;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    padding: 0.75rem 1rem;
  }

  .content-card {
    padding: 1.5rem;
  }

  .hero__content {
    padding-bottom: 3rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
