@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300..600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --navy-950: #0a1a3d;
  --navy-900: #0d2358;
  --navy-700: #12327b;
  --navy-500: #2c4f9e;
  --navy-300: #7d94c9;
  --steel-50:  #f7f8fa;
  --steel-100: #eef1f6;
  --steel-200: #dde2ea;
  --steel-400: #a7afc0;
  --steel-600: #5b6479;
  --white: #ffffff;
  --ink: #101828;
  --text-strong: #000B22;
  --radius: 24px;
  --max-width: 1180px;
  --font-primary: 'Inter', sans-serif;
  --font-display: 'Fraunces', serif;
  --transition-fast: 180ms ease;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

button, a { font: inherit; }

.page-shell {
  position: relative;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  background: var(--white);
  border-bottom: 1px solid var(--steel-200);
}

.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { display: block; width: 144px; height: auto; }

.site-header .button {
  padding: 0.76rem 1.44rem;
  font-size: 0.68rem;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 1rem;
  min-width: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.12rem;
  flex: 1;
  min-width: 0;
}

.site-nav a {
  position: relative;
  color: var(--text-strong);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: var(--navy-700);
  transition: width var(--transition-fast);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.button-primary {
  background: var(--text-strong);
  color: var(--white);
  border: 1px solid var(--text-strong);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-700);
  border-color: var(--navy-700);
}

.button-secondary {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.18);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255,255,255,0.14);
}

.hero .button-primary {
  background: var(--white);
  color: var(--text-strong);
  border-color: var(--white);
}

.hero .button-primary:hover,
.hero .button-primary:focus-visible {
  background: var(--steel-100);
  border-color: var(--steel-100);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 5rem 3rem;
  border-radius: 28px;
  background: var(--navy-950);
  color: var(--white);
  overflow: hidden;
}

.home-page .hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  padding: 6rem 0;
  border-radius: 0;
}

.about-page .hero {
  padding: 2rem 0 3rem;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.about-page .hero-copy .eyebrow { color: var(--navy-700); opacity: 1; }
.about-page .hero h1 { color: var(--text-strong); }
.about-page .hero .intro { color: var(--steel-600); }

.stories-page .hero h1 { white-space: pre-line; }

.hero-bg-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(10, 26, 61, 0.85) 0%, rgba(13, 35, 88, 0.65) 45%, rgba(18, 50, 123, 0.45) 100%);
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlideshow 7.5s ease-in-out infinite;
}

.hero-slideshow__slide:nth-child(1) { animation-delay: 0s; }
.hero-slideshow__slide:nth-child(2) { animation-delay: 2.5s; }
.hero-slideshow__slide:nth-child(3) { animation-delay: 5s; }

@keyframes heroSlideshow {
  0% { opacity: 0; }
  20% { opacity: 1; }
  50% { opacity: 1; }
  80% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slideshow__slide {
    animation: none;
    opacity: 0;
  }
  .hero-slideshow__slide:first-child {
    opacity: 1;
  }
}

.about-page .band h2 {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: pre-line;
}

.about-page .band-grid {
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
}

.about-page .band-grid.band-grid--text-image {
  grid-template-columns: minmax(0, 1fr) max-content;
}

.hero > .band-grid { width: 100%; }

.hero-video {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  z-index: 0;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  object-fit: cover;
  object-position: center top;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.home-page .hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

.hero-copy { position: relative; z-index: 2; max-width: 640px; }
.home-page .hero-copy { max-width: 760px; padding-top: 8rem; }

.hero-portrait {
  flex: 0 0 auto;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(16,24,40,0.12);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption {
  margin: 0.75rem 0 0;
  font-family: var(--font-primary);
  font-size: 0.82rem;
  font-style: italic;
  color: var(--steel-600);
}

.hero-copy .eyebrow {
  margin: 0 0 1.3rem;
  color: var(--steel-50);
  opacity: 0.88;
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 1.6rem;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.home-page .hero h1 {
  max-width: none;
  white-space: pre-line;
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
}

.hero .intro {
  margin: 0 0 2.2rem;
  color: rgba(255,255,255,0.86);
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 44rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.band {
  border-top: 1px solid var(--steel-200);
  padding: 4rem 0 0;
}

.band:first-of-type { border-top: 0; }

.band-head {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.band-head .eyebrow {
  color: var(--navy-700);
  opacity: 1;
}

.band h2,
.closing-cta h2 {
  margin: 0;
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--text-strong);
}

.band p,
.closing-cta p,
.story-card p,
.feature-card p,
.card-copy {
  margin: 0;
  color: var(--steel-600);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.8;
}

.band-grid,
.story-grid {
  display: grid;
  gap: 1.5rem;
}

.band-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

.band-grid--3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.band-grid--auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.story-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.feature-card,
.story-card {
  padding: 2rem;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--steel-200);
  box-shadow: 0 30px 60px rgba(16,24,40,0.06);
}

.feature-card__video {
  position: relative;
  overflow: hidden;
}

.feature-card__video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.feature-card__video.is-playing .play-badge {
  display: none;
}

.play-badge::after {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--navy-900);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  color: var(--navy-700);
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.card-link::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.card-link:hover::after,
.card-link:focus-visible::after {
  transform: translateX(4px);
}

.feature-card__image {
  min-height: 280px;
  border-radius: 18px;
  background: var(--navy-300);
}

.feature-card__image--large {
  min-height: 420px;
  margin-bottom: 1.5rem;
}

.feature-card > .feature-card__image {
  margin-bottom: 1.5rem;
}

.feature-card--photo {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  padding: 0;
  display: flex;
  align-items: flex-end;
}

.feature-card--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 26, 61, 0) 35%, rgba(10, 26, 61, 0.88) 100%);
  pointer-events: none;
}

.feature-card--photo .feature-card__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 0;
  margin: 0;
  border-radius: 0;
}

.feature-card--photo .feature-card__text {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.feature-card--photo .feature-card__text .label {
  color: var(--steel-50);
  opacity: 0.9;
}

.feature-card--photo .feature-card__text h3 {
  color: var(--white);
}

.feature-card--photo .feature-card__text p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-card--photo .card-link {
  color: var(--white);
}

.protected-image {
  position: relative;
  background-size: cover;
  background-position: center;
  user-select: none;
  -webkit-user-drag: none;
}

.protected-image::after {
  content: "Sentya";
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-family: var(--font-primary);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.status-badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-badge--available {
  background: rgba(18, 50, 123, 0.08);
  color: var(--navy-700);
}

.status-badge--soon {
  background: var(--steel-100);
  color: var(--steel-600);
}

.feature-card__text { display: grid; gap: 1rem; }

.feature-card__text .label {
  margin: 0;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.story-card h3,
.feature-card h3,
.legal-content h3 {
  margin: 0 0 1rem;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.legal-content {
  max-width: 760px;
  display: grid;
  gap: 1.25rem;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.5rem;
  color: var(--steel-600);
  line-height: 1.7;
}

.legal-content a { color: var(--navy-700); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem 1rem;
  border: 1px solid var(--steel-200);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 11rem;
  background: var(--steel-50);
  color: var(--text-strong);
  font-weight: 600;
}

.legal-table td { color: var(--steel-600); }

.band .legal-updated { font-size: 0.85rem; font-style: italic; }

@media (max-width: 640px) {
  .legal-table th,
  .legal-table td { display: block; width: auto; }
  .legal-table th { border-bottom: 0; }
}

.contact-form {
  max-width: 760px;
  display: grid;
  gap: 1.5rem;
}

.contact-form[hidden],
.contact-thanks[hidden] { display: none; }

.contact-thanks { max-width: 760px; }

.contact-thanks a { color: var(--navy-700); }

.contact-thanks .button { justify-self: start; cursor: pointer; }

.form-field { display: grid; gap: 0.5rem; }

.form-field label {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-strong);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--steel-200);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.form-field textarea { resize: vertical; min-height: 9rem; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
}

.form-field [aria-invalid="true"] { border-color: #b42318; }

.band .form-hint {
  font-size: 0.82rem;
  text-align: right;
}

.form-asterisk { color: #b42318; }

.band .form-hint--legend { text-align: left; margin-bottom: -0.5rem; }

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-check input {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.3rem;
  accent-color: var(--navy-700);
}

.form-check label {
  color: var(--steel-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.form-check a,
.form-legal a { color: var(--navy-700); }

.form-required,
.form-optional { white-space: nowrap; font-size: 0.85rem; }

.form-required { color: var(--text-strong); }

.form-legal {
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
}

.band .form-legal p { font-size: 0.82rem; line-height: 1.7; }

.band .form-status { min-height: 1.6em; color: var(--text-strong); }

.band .form-status.is-error { color: #b42318; }

.contact-form .button {
  justify-self: start;
  border: 1px solid var(--text-strong);
  cursor: pointer;
}

.contact-form .button:disabled { opacity: 0.5; cursor: default; }

.privacy-dialog {
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 2rem;
  border: none;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 60px rgba(16,24,40,0.18);
}

.privacy-dialog[open] { display: grid; gap: 1.25rem; }

.privacy-dialog::backdrop { background: rgba(10, 26, 61, 0.55); }

.band .privacy-dialog h2 { font-size: clamp(1.6rem, 3vw, 2rem); }

.privacy-dialog__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.contact-form .privacy-dialog__actions .button { justify-self: auto; }

.button-ghost {
  background: transparent;
  color: var(--text-strong);
  border: 1px solid var(--steel-200);
}

.button-ghost:hover,
.button-ghost:focus-visible { border-color: var(--text-strong); }

@media (max-width: 640px) {
  .privacy-dialog { padding: 1.5rem 1.25rem; }
  .privacy-dialog__actions .button { flex: 1 1 100%; }
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.split-panel {
  display: flex;
  flex-direction: column;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--steel-200);
}

.split-panel .band-head { margin-bottom: 1.75rem; }

.split-panel .button {
  margin-top: auto;
  align-self: flex-start;
}

.closing-cta {
  padding: 4rem 0;
  background: var(--steel-50);
  border-top: 1px solid var(--steel-200);
  text-align: center;
}

.closing-cta p { max-width: 42rem; margin: 0 auto 2rem; }

.article-index {
  list-style: none;
  margin: 0 auto 2.5rem;
  padding: 0;
  max-width: 32rem;
  display: grid;
  gap: 0.85rem;
}

.article-index a {
  display: inline-block;
  color: var(--text-strong);
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid var(--steel-200);
  padding-bottom: 0.2rem;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.article-index a:hover,
.article-index a:focus-visible {
  color: var(--navy-700);
  border-color: var(--navy-700);
}

.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--steel-200);
  background: var(--steel-50);
}

.footer-simple {
  margin: 0;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: var(--steel-600);
}

.footer-simple a {
  color: var(--steel-600);
  text-decoration: none;
}

.footer-simple a:hover,
.footer-simple a:focus-visible {
  color: var(--navy-700);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .home-page .hero { min-height: auto; }
  .band-grid,
  .about-page .band-grid,
  .split-grid { grid-template-columns: minmax(0, 1fr); }
  .site-header__actions { justify-content: flex-start; }
}

@media (max-width: 640px) {
  .page-shell { padding: 1.75rem 1rem 2rem; }
  .site-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .site-nav { justify-content: flex-start; gap: 1rem; }
  .hero { padding: 2.5rem 1.5rem; }
  .home-page .hero { padding: 2.5rem 0; }
  .hero h1 { font-size: 2.8rem; }
  .hero-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
}
