/* Base styles */
@font-face {
  font-family: 'Primark';
  src: url('./fonts for the site/Primark/Web-TT/Primark.woff2') format('woff2'),
       url('./fonts for the site/Primark/Web-TT/Primark.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'DM Sans', sans-serif;
  color: #243746;
  background: #f6fbff;
  line-height: 1.6;
}

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

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

button,
a {
  transition: opacity 0.25s ease;
}

/* Header */
.site-header {
  position: fixed;
  inset: 20px 0 auto 0;
  z-index: 50;
  width: 100%;
  display: flex;
  justify-content: center;
}

.header-inner {
  width: 92%;
  max-width: 1200px;
  padding: 12px 36px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: white;
}

.site-header.scrolled .header-inner {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(208, 220, 232, 0.6);
  box-shadow: 0 24px 60px rgba(36, 55, 70, 0.12);
  color: #243746;
}

.logo {
  font-family: 'Primark', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: opacity 0.22s ease, transform 0.22s ease;
  display: inline-block;
}

.site-nav > a:hover,
.dropdown-trigger:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.footer-links a:hover,
.hero-cta:hover {
  opacity: 0.78;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lang-link {
  opacity: 0.45;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.lang-link.active {
  opacity: 1;
  font-weight: 600;
}

.lang-link:hover {
  opacity: 0.75;
}

.lang-sep {
  opacity: 0.35;
  font-size: 0.86rem;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0;
}

.dropdown-trigger::after {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-bottom: 2px;
  transition: transform 0.2s ease, margin-bottom 0.2s ease;
  opacity: 0.7;
}

.nav-dropdown:hover .dropdown-trigger::after {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 230px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(36, 55, 70, 0.1);
  border-radius: 12px;
  padding: 0.8rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 16px 40px rgba(36, 55, 70, 0.1);
  z-index: 10;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #243746;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.2s ease, opacity 0.2s ease;
  display: block;
}

.dropdown-menu a:hover {
  background: rgba(36, 55, 70, 0.05);
  opacity: 0.75;
  transform: translateX(3px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("./images for the site/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.36);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(92vw, 920px);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-logo-script {
  font-family: 'Primark', serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  color: #fff;
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.6rem, 8vw, 7rem);
  font-style: italic;
  font-weight: 300;
  color: #fff;
  line-height: 0.96;
  margin: 0;
}

.hero-definition {
  margin-top: 0.9rem;
  padding-left: 2.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.03em;
}

.hero-sub {
  margin-top: 1.6rem;
  padding-left: 2.5rem;
  max-width: 540px;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.22em;
  font-size: 0.98rem;
  line-height: 1.8;
  text-transform: uppercase;
}

.hero::before {
  content: '';
  position: absolute;
  left: 10%;
  top: 38%;
  width: 72px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.hero::after {
  content: '';
  position: absolute;
  right: 12%;
  bottom: 14%;
  width: 1px;
  height: 96px;
  background: rgba(255, 255, 255, 0.18);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.1rem;
  align-self: center;
  padding: 14px 30px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Manifesto */
.manifesto {
  position: relative;
  padding: 110px 2rem 80px;
  text-align: center;
}

.manifesto::before {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 0;
  height: 1px;
  background: rgba(36, 55, 70, 0.08);
}

.manifesto-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #6a7d8a;
  margin: 0;
}

.divider {
  width: 70px;
  height: 1px;
  margin: 1.4rem auto;
  background: #d7e1ea;
}

.manifesto-text,
.manifesto-definition {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-text {
  margin-top: 1.4rem;
  font-size: 1.05rem;
  line-height: 1.9;
  color: #243746;
}

.manifesto-definition {
  margin-top: 1.8rem;
  font-size: 1rem;
  color: #3a5160;
}

/* Image section */
.image-section {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.image-wrap {
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(36, 55, 70, 0.08);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(36, 55, 70, 0.08);
}

.image-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 18px;
  height: 1px;
  background: rgba(36, 55, 70, 0.08);
  z-index: 1;
}

.image-wrap::after {
  content: '';
  position: absolute;
  right: 2rem;
  top: 14%;
  width: 1px;
  height: 100px;
  background: rgba(36, 55, 70, 0.08);
  z-index: 1;
}

.image-section img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.image-caption {
  display: block;
  width: 100%;
  max-width: 1140px;
  margin: 10px auto 0;
  padding: 0 1.5rem 0 0;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(45, 45, 42, 0.72);
  align-self: stretch;
}

/* Meta */
.meta {
  padding: 110px 2rem 120px;
  text-align: center;
}

.meta p {
  margin: 0.75rem auto;
  max-width: 720px;
}

.meta p:first-child {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #6a7d8a;
  white-space: nowrap;
  overflow: visible;
  margin-bottom: 2rem;
  max-width: none;
  display: inline-block;
}

/* Footer */
.footer {
  padding: 100px 2rem 70px;
  background: #f6f9ff;
  text-align: center;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: rgba(36, 55, 70, 0.1);
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-brand {
  margin-bottom: 3rem;
}

.footer-logo {
  font-family: 'Primark', serif;
  font-size: 3rem;
  font-weight: 400;
  color: #243746;
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-style: italic;
  color: #3a5160;
  line-height: 1.2;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 2.2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(36, 55, 70, 0.08);
  border-bottom: 1px solid rgba(36, 55, 70, 0.08);
  width: 100%;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #243746;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.55;
}

.copy {
  margin: 0;
  font-family: 'Primark', serif;
  color: #8a9aaa;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ─── HAMBURGER BUTTON ───────────────────────────────────────── */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  color: inherit;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.mobile-lang {
  display: none;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

@media (max-width: 900px) {
  .header-inner {
    padding: 16px 20px;
  }

  .site-nav {
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 12px 0 auto 0;
  }

  .header-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 18px;
  }

  .logo {
    margin-right: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
  }

  body.nav-open .site-nav {
    display: flex;
    position: fixed;
    top: var(--header-bottom, 82px);
    left: 16px;
    width: calc(100% - 32px);
    z-index: 49;
    background: rgba(245, 245, 242, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(36, 55, 70, 0.08);
    flex-direction: column;
    align-items: center;
    padding: 22px 32px;
    gap: 20px;
    text-align: center;
    overflow: hidden;
  }

  body.nav-open .site-nav > a,
  body.nav-open .dropdown-trigger {
    font-size: 1.15rem;
    letter-spacing: 0.08em;
    color: #243746;
    text-transform: uppercase;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    display: block;
  }

  .nav-dropdown {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .dropdown-trigger::after {
    display: none !important;
  }

  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 14px 0 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
    min-width: 0 !important;
    width: 100% !important;
    transition: none !important;
  }

  .dropdown-menu a {
    font-size: 1.15rem !important;
    color: #243746 !important;
    font-weight: 500 !important;
    white-space: normal !important;
    text-align: left !important;
    padding: 0 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    width: 100% !important;
    display: block !important;
  }

  .dropdown-menu a:hover {
    background: none !important;
    transform: none !important;
  }

  .language-switch {
    display: none;
  }

  body.nav-open .mobile-lang {
    display: flex !important;
    justify-content: center;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(36, 55, 70, 0.08);
  }

  body.nav-open .mobile-lang .lang-link {
    opacity: 0.65;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    color: #243746;
  }

  body.nav-open .mobile-lang .lang-link.active {
    opacity: 1;
    font-weight: 600;
    color: #243746;
  }

  body.nav-open .mobile-lang .lang-sep {
    opacity: 0.5;
    font-size: 0.82rem;
    color: #243746;
  }

  figcaption {
    font-size: 9px;
    letter-spacing: 0.10em;
  }

  .image-caption {
    font-size: 10px;
    letter-spacing: 0.06em;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 10vw, 4.2rem);
  }

  .hero-definition,
  .hero-sub {
    padding-left: 1rem;
  }

  .hero-cta {
    padding: 12px 24px;
  }

  .manifesto {
    padding: 80px 1.5rem 60px;
  }

  .meta {
    padding: 70px 1.5rem 80px;
  }

  .meta p:first-child {
    white-space: normal;
    letter-spacing: 0.14em;
    font-size: 0.82rem;
  }
}

@media (max-width: 520px) {
  .hero-logo-script {
    font-size: 2.4rem;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
  }

  .hero-definition,
  .hero-sub {
    padding-left: 0;
  }

  .hero-sub {
    letter-spacing: 0.10em;
    font-size: 0.88rem;
  }

  .divider {
    width: 50px;
  }

  figcaption {
    font-size: 8.5px;
  }

  .image-caption {
    font-size: 9px;
    padding: 0;
  }

  .footer {
    padding: 70px 1.5rem 50px;
  }
}
