:root {
  --ink: #0e0c15;
  --paper: #f7f2ec;
  --accent: #f4512c;
  --accent-soft: #ffdbc9;
  --muted: rgba(255, 255, 255, 0.65);
  --radius: 22px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 10% 20%, rgba(244, 81, 44, 0.16), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.1), transparent 30%),
    var(--ink);
  color: #fefefe;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Times New Roman", serif;
  margin: 0;
  color: #fff;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

a {
  color: #fff;
  text-decoration: none;
}

#app-root,
.page {
  min-height: 100vh;
}

.page {
  position: relative;
  overflow-x: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 5vw;
  backdrop-filter: blur(14px);
  background: rgba(14, 12, 21, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.nav__brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff8a5b);
  box-shadow: 0 0 20px rgba(244, 81, 44, 0.4);
}

.nav__name {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
  color: #fff;
}

.nav__role {
  font-size: 12px;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 18px;
}


.nav__langs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav__langs .pill {
  padding: 0.25rem 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.flag-icon-img {
  height: 18px;
  width: auto;
  display: block;
}
.nav__links a {
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 14px;
  transition: background 0.2s ease, color 0.2s ease;
  color: #fff;
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: stretch;
  padding: 30px 0 70px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(14, 12, 21, 0.8), rgba(14, 12, 21, 0.2));
  pointer-events: none;
}

.hero__carousel {
  position: relative;
  min-height: clamp(520px, 78vh, 880px);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  filter: saturate(1.1);
  transform: scale(1);
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: hero-kenburns 8s ease-in-out infinite alternate;
}

.hero__content {
  position: relative;
  padding: 110px 8vw 60px;
  max-width: 680px;
  z-index: 2;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: var(--accent-soft);
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 64px);
  margin-bottom: 18px;
}

.hero p {
  max-width: 520px;
  font-size: 18px;
}

.hero__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero__tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #ff8a5b);
  color: #0e0c15;
  font-weight: 700;
  border: none;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(244, 81, 44, 0.35);
}

.btn:hover {
  filter: brightness(1.05);
}

.hero__bullets {
  position: absolute;
  bottom: 32px;
  left: 8vw;
  display: flex;
  gap: 12px;
}

.hero__bullets button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
}

.hero__bullets button.is-active {
  background: #fff;
  border-color: #fff;
}

.hero__glass {
  position: absolute;
  right: 5vw;
  bottom: 60px;
  display: grid;
  gap: 12px;
  width: min(360px, 90vw);
}

.hero__mini {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(14, 12, 21, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.pill {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.pill-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

.mini__title {
  font-size: 18px;
  margin: 10px 0 6px;
}

.mini__meta {
  color: var(--muted);
  font-size: 14px;
}

.mini__links {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.section {
  padding: 80px 7vw;
}

.section--dark {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
}

.about__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.about__story p {
  font-size: 18px;
  line-height: 1.8;
}

.about__pillars {
  display: grid;
  gap: 12px;
}

.about__card {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.section__title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.section__eyebrow {
  letter-spacing: 0.15em;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.ghost {
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-height: 200px;
}

.card__body h3 {
  margin: 6px 0 8px;
}

.card__eyebrow {
  color: var(--accent-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.card__date {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.02);
}

.gallery__button {
  display: block;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item figcaption {
  padding: 12px 14px 16px;
}

.gallery__item p {
  margin: 6px 0 0;
}

.cards--videos .card {
  padding: 0;
  overflow: hidden;
}

.video__frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.card--video .card__body {
  padding: 16px 16px 20px;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.quote {
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.quote__author {
  font-weight: 700;
}

.quote__role {
  color: var(--muted);
  font-size: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(244, 81, 44, 0.5);
}

.contact {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.contact__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.contact__cta {
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(244, 81, 44, 0.08), rgba(255, 255, 255, 0.02));
}

.footer {
  padding: 30px 7vw 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__links {
  display: flex;
  gap: 16px;
}

.loader {
  min-height: 70vh;
  display: grid;
  place-items: center;
  gap: 12px;
}

.loader__orbit {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
}

.error {
  min-height: 60vh;
  display: grid;
  place-items: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  gap: 10px;
}

.lightbox__content {
  margin: 0 auto;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__title {
  margin-top: 12px;
  font-size: 18px;
}

.lightbox p {
  margin: 6px 0 0;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.lightbox__arrow {
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 26px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__arrow:hover,
.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hero-kenburns {
  from { transform: scale(1) translateY(0); }
  to { transform: scale(1.12) translateY(-2%); }
}

@media (max-width: 900px) {
  .nav__links {
    position: fixed;
    top: 70px;
    left: 5vw;
    right: 5vw;
    background: rgba(14, 12, 21, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 14px 12px;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 300;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }

  .nav.nav-open .nav__links {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav__toggle {
    display: inline-flex;
  }

  .hero__glass {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 16px 5vw;
    width: auto;
  }

  .hero__content {
    padding: 90px 8vw 60px;
  }

  .hero__bullets {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .about__grid {
    grid-template-columns: 1fr;
  }
}
