@import url('https://fonts.googleapis.com/css2?family=Geologica:wght@400;600;700&display=swap');

:root {
  --nav-bg-color: #222B2A;      /* header/footer surface */
  --page-bg-color: #1B2221;     /* page background */
  --text-color: #E8F6F4;        /* primary text */
  --accent-color: #1AB0A0;      /* brand teal */
  --border-color: #2E3837;      /* outlines */
  --hover-color: #7AE582;       /* hover accent */
  --background-card: #222B2A;   /* card surface */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-weight: 400;
  background-color: var(--page-bg-color);
  color: var(--text-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

header {
  width: 100%;
  background-color: var(--nav-bg-color);
  position: sticky;
  top: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  height: 64px;
  border-bottom: 1px solid var(--border-color);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-color);
  user-select: none;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  height: 100%;
}

nav a {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--accent-color);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

.contact-pill {
  background-color: transparent;
  color: var(--accent-color);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  text-align: center;
  margin: 2rem auto;
  display: inline-block;
  border: 1.5px solid var(--accent-color);
  border-radius: 9999px;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.contact-pill:hover {
  background-color: var(--accent-color);
  color: var(--nav-bg-color);
  box-shadow: none;
}

  a {
    color: var(--accent-color);
    transition: color 0.3s ease;
    text-decoration: none; /* remove default underline globally */
  }
  a:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    text-decoration: none;
  }

 a:visited {
   color: #147F75;
}

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

.hero-image {
  position: relative;
  height: calc(100vh - 64px);
  width: 100%;
  background-image: url('media/romastreet.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

/* .hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.9) 100%);
  z-index: 0;
} */

.hero-text {
  position: relative;
  color: var(--text-color);
  font-size: 2.75rem;
  font-weight: 700;
  text-align: center;
  max-width: 700px;
  z-index: 1;
  line-height: 1.1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (min-width: 601px) {
  .hero-image {
    background-attachment: fixed;
  }
}

@media (max-width: 600px) {
  .hero-text {
    font-size: 1.75rem;
  }
  .panel img {
    max-width: 90%;
    margin: 0 auto;
    object-fit: cover;
  }
}

main {
  text-align: center;
  padding: 5rem 2rem;
  width: 100%;
  max-width: 900px;
}

.title {
  font-size: 3.25rem;
  margin-bottom: 3rem;
  font-weight: 600;
  color: var(--text-color);
}

.info-box {
  background: var(--background-card);
  border-radius: 6px;
  border: 1px solid var(--border-color);
  padding: 3rem 2rem;
  margin-top: 3rem;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--text-color);
  box-shadow: none;
}

.panel {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.panel img {
  width: 100%;
  max-width: 480px;
  border-radius: 6px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}

.panel-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--text-color);
  font-weight: 400;
  max-width: 480px;
  text-align: center;
  padding: 0 1rem;
}

.panel-text h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.panel-text p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.panel.panel-middle {
  flex-direction: row;
  text-align: left;
  justify-content: center;
}

.panel.panel-middle .panel-text {
  max-width: 480px;
  text-align: left;
  padding: 0;
}

.panel.panel-middle img {
  max-width: 480px;
  margin-top: 0;
  height: auto;
  object-fit: cover;
}

@media (max-width: 800px) {
  .panel {
    flex-direction: column;
  }

  .panel img,
  .panel-text {
    max-width: 100%;
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .panel.panel-middle {
    flex-direction: column-reverse;
  }

  .panel.panel-middle .panel-text {
    text-align: center;
  }
}

.call-to-action {
  height: calc(100vh - 64px);
  background-image: url('media/finale.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 0 1rem;
}

/* .call-to-action::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.7) 0%, rgba(18,18,18,0.9) 100%);
  z-index: 0;
} */

.cta-content {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 2rem;
  background-color: var(--background-card);
  border-radius: 12px;
  box-shadow: none;
}

.call-to-action h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.cta-button {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background-color: var(--accent-color);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  box-shadow: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.cta-button:hover {
  background-color: var(--hover-color);
  transform: scale(1.05);
}

.join-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.85rem 2.5rem;
  background-color: var(--nav-bg-color);
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
  border: 1.5px solid var(--accent-color);
  cursor: pointer;
}

.join-button:hover {
  background-color: var(--accent-color);
  color: var(--nav-bg-color);
  transform: scale(1.05);
}

footer {
  width: 100%;
  max-width: 100%;
  padding: 1rem 2rem;
  background-color: var(--nav-bg-color);
  color: var(--text-color);
  text-align: center;
  font-size: 0.8rem;
  margin-top: 5rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--border-color);
}

html {
  scroll-behavior: smooth;
}

#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: none;
  z-index: 2000;
  transition: background-color 0.3s ease;
}

#back-to-top:hover {
  background-color: var(--hover-color);
}

.dark-mode {
  --nav-bg-color: #121212;
  --page-bg-color: #1e1e1e;
  --text-color: #e0e0e0;
  --accent-color: #7f5af0;
  --border-color: #2c2c2c;
  --hover-color: #9a6cff;
  --background-card: #2a2a2a;
}

#dark-toggle {
  position: fixed;
  bottom: 20px;
  right: 100px;
  background: var(--accent-color);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: none;
  z-index: 2000;
  transition: background-color 0.3s ease;
}

#dark-toggle:hover {
  background-color: var(--hover-color);
}

.meet-the-team {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  text-align: center;
}

@media (max-width: 599px) {
  .meet-the-team {
    margin-bottom: 2.5rem;
  }
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-items: center;
  align-items: stretch;
  /* default: mobile */
  grid-template-columns: 1fr;
}
@media (min-width: 600px) and (max-width: 991px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.team-member {
  background: var(--background-card);
  padding: 1.5rem 1rem;
  border-radius: 6px;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  box-shadow: none;
  text-align: center;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.team-member:hover {
  background-color: var(--border-color);
}

.team-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  margin-bottom: 1rem;
  object-fit: cover;
  max-width: 120px;
  display: block;
}

.team-member h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  margin-top: 0.5rem;
  text-align: center;
}

.team-member p {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.3;
  text-align: center;
}

.team-member p.secondary {
  color: var(--accent-color);
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Updated FAQ styles for modern look */

.faq {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  padding: 3rem 2rem 4rem 2rem;
  text-align: center;
  background: transparent;
  border: none;
}

.faq-discord-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 4rem auto 0 auto;
  padding: 0 2rem;
}

.discord-widget {
  flex: 0 0 350px;
  max-width: 350px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: none;
}

.faq {
  flex: 1 1 500px;
}

.faq-item {
  margin-bottom: 1.5rem;
  text-align: left;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--background-card);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: transparent;
  color: var(--text-color);
  font-weight: 700;
  border: none;
  padding: 1rem 1.25rem;
  cursor: pointer;
  text-align: left;
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-size: 1rem;
}

.faq-question:hover {
  background-color: var(--hover-color);
  color: #000;
}

.faq-question.active {
  background-color: var(--hover-color);
  color: #000;
}

.faq-arrow {
  display: inline-block;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  font-size: 0.8rem;
  user-select: none;
}

.faq-question.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: padding 0.3s ease, opacity 0.3s ease;
  background: var(--background-card);
  color: var(--text-color);
  padding: 0 1.25rem;
  border-radius: 0 0 8px 8px;
  border-top: 1px solid var(--border-color);
  line-height: 1.5;
}

.faq-answer.open {
  max-height: 1000px;
  opacity: 1;
  padding: 1rem 1.25rem;
  overflow: visible;
}

body {
  margin: 0;
  padding: 0;
}

.call-to-action {
  margin-bottom: 0;
}

/* Mobile menu toggle */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 22px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: var(--accent-color);
  border-radius: 2px;
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.menu-toggle span:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  nav {
    position: fixed;
    top: 64px;
    right: 0;
    background-color: var(--nav-bg-color);
    height: calc(100vh - 64px);
    width: 220px;
    flex-direction: column;
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 8px rgba(0,0,0,0.5);
  }

  nav.open {
    transform: translateX(0);
  }

  nav a {
    font-size: 1.125rem;
    padding: 1rem 0;
  }

  .nav-container {
    gap: 1rem;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 599px) {
  .team-member {
    max-width: 280px;
    margin: 0 auto;
  }
}


/* =============================
   V2 — SEQTA Landing (test.html)
   Scoped styles to avoid touching index.html
   ============================= */

/* Palette (SEQTA V2) */
:root {
  --v2-bg: #1B2221;            /* Dark background */
  --v2-surface: #222B2A;       /* Surfaces (header/footer) */
  --v2-card: #222B2A;          /* Cards */
  --v2-text: #E8F6F4;          /* Primary text */
  --v2-muted: #96B2AF;         /* Secondary text */
  --v2-accent: #1AB0A0;        /* Teal */
  --v2-accent-strong: #14867C; /* Teal dark */
  --v2-blue: #7AE582;          /* Fresh green accent */
  --v2-outline: color-mix(in oklab, #E8F6F4 14%, transparent);
  --v2-glow: 0 10px 30px rgba(26, 176, 160, 0.25);
}

/* Typography & base */
body.v2 {
  background: radial-gradient(1200px 800px at 10% -10%, color-mix(in oklab, var(--v2-accent) 18%, transparent), transparent),
              radial-gradient(1000px 700px at 110% 10%, color-mix(in oklab, var(--v2-blue) 16%, transparent), transparent),
              var(--v2-bg);
  color: var(--v2-text);
  font-family: 'Geologica', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  display: block;
}

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

/* Header */
.v2-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.85rem 1rem; height: 64px;
  backdrop-filter: saturate(140%) blur(10px);
  background: color-mix(in oklab, var(--v2-surface), transparent 35%);
  border-bottom: 1px solid var(--v2-outline);
}
.v2-logo { font-weight: 700; letter-spacing: .5px; color: var(--v2-text); text-decoration: none; }

.v2-nav { display: flex; gap: 1rem; align-items: center; }
.v2-nav a { color: var(--v2-text); text-decoration: none; font-weight: 600; opacity: .9; }
.v2-nav a:hover { color: var(--v2-accent); }
.v2-stats { align-items: stretch; }
.v2-stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72px;  
}
.v2-stat span { line-height: 1.1; }
.v2-stat small { margin-top: .25rem; }
/* Responsive sizing for stat chip text */
.v2-stat span { font-size: clamp(1rem, 3.2vw, 1.15rem); }
.v2-stat small { font-size: clamp(.85rem, 2.8vw, .95rem); }

/* Prevent stat chips from overflowing in grid; allow text to wrap safely */
.v2-stat { min-width: 0; }
.v2-stat span,
.v2-stat small { 
  overflow-wrap: anywhere; /* allow breaks inside long words */
  word-break: break-word;  /* fallback */
}

/* Responsive layout for hero stat chips */
@media (max-width: 740px) {
  .v2-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 360px) {
  .v2-stat span { font-size: clamp(.85rem, 4.2vw, .95rem); }
  .v2-stat small { font-size: clamp(.7rem, 3.8vw, .85rem); }
  .v2-stat { padding: .55rem .7rem; }
}
@media (max-width: 768px) {
  /* Stack chips vertically on mobile */
  .v2-stats { grid-template-columns: 1fr; grid-auto-rows: auto; gap: .6rem; width: 100%; }
  .v2-stat { min-height: auto; padding: .45rem .6rem; }
  /* Even smaller type so words never overflow */
  .v2-stat span { font-size: clamp(.65rem, 2.5vw, .8rem); }
  .v2-stat small { font-size: clamp(.55rem, 2.2vw, .75rem); }
}
.v2-btn { display: inline-block; padding: .65rem 1.1rem; border-radius: 9999px; text-decoration: none; font-weight: 700; border: 1px solid transparent; }
.v2-btn-pill { border: 1px solid var(--v2-accent); color: var(--v2-accent); }
.v2-btn-ghost { background: transparent; }
.v2-btn-primary { background: linear-gradient(135deg, var(--v2-accent-strong), var(--v2-blue)); color: #fff; box-shadow: var(--v2-glow); }
.v2-btn-primary:hover { filter: brightness(1.05); }

.v2-burger { display: none; width: 34px; height: 28px; align-items: center; justify-content: center; gap: 4px; background: transparent; border: none; cursor: pointer; flex-direction: column; }
.v2-burger span { width: 22px; height: 2px; background: var(--v2-text); display: block; transition: transform .2s ease, opacity .2s ease; }
.v2-burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.v2-burger.open span:nth-child(2) { opacity: 0; }
.v2-burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .v2-burger { display: inline-flex; }
  .v2-nav { position: fixed; top: 64px; right: 0; height: calc(100vh - 64px); width: 280px;
            background: color-mix(in oklab, var(--v2-surface), transparent 10%);
            backdrop-filter: saturate(140%) blur(10px);
            border-left: 1px solid var(--v2-outline);
            transform: translateX(100%); transition: transform .25s ease; flex-direction: column; padding: 1rem; }
  .v2-nav.open { transform: translateX(0); }
}

/* Hero */
.v2-hero { position: relative; min-height: calc(100vh - 64px); display: grid; place-items: center; overflow: hidden; overflow-x: hidden; }
.v2-hero-bg { position: absolute; inset: 0; background: url('media/romastreet.jpg') center/cover no-repeat fixed; filter: contrast(1.05) saturate(1.05); }
.v2-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31,26,36,.35), rgba(31,26,36,.65)); }

.v2-hero-inner { position: relative; z-index: 1; max-width: 920px; margin: 0 1rem; padding: 2rem; border-radius: 16px; text-align: center; }
.v2-hero-inner h1 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.1; margin-bottom: .75rem; }
.v2-hero-inner p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--v2-muted); margin-bottom: 1rem; }
.v2-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

.v2-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; margin-top: 1rem; }
/* Mobile override (placed after base rule so it wins): stack chips + shrink text */
@media (max-width: 768px) {
  .v2-stats { grid-template-columns: 1fr !important; grid-auto-rows: auto; gap: .55rem; }
  .v2-stat { min-height: auto; padding: .42rem .55rem; }
  .v2-stat span { font-size: clamp(.62rem, 2.2vw, .78rem); }
  .v2-stat small { font-size: clamp(.54rem, 2vw, .72rem); }
}
.v2-stat { background: color-mix(in oklab, var(--v2-card), black 5%); border: 1px solid var(--v2-outline); padding: .8rem; border-radius: 12px; text-align: center; }
.v2-stat span { display: block; font-weight: 700; }
.v2-stat small { color: var(--v2-muted); }

/* Gradient blobs */
.v2-blob { position: absolute; filter: blur(48px); opacity: .45; border-radius: 50%; will-change: transform; }
.v2-blob.b1 { width: 480px; height: 480px; background: radial-gradient(circle, var(--v2-accent-strong), transparent 60%); top: -120px; left: -120px; animation: float1 12s ease-in-out infinite; }
.v2-blob.b2 { width: 420px; height: 420px; background: radial-gradient(circle, var(--v2-blue), transparent 60%); bottom: -120px; right: -100px; animation: float2 14s ease-in-out infinite; }
.v2-blob.b3 { width: 360px; height: 360px; background: radial-gradient(circle, var(--v2-accent), transparent 60%); top: 40%; left: 60%; animation: float3 16s ease-in-out infinite; }

@keyframes float1 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(20px, 10px);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(-20px, -10px);} }
@keyframes float3 { 0%,100%{ transform: translate(0,0);} 50%{ transform: translate(10px, -20px);} }

@media (prefers-reduced-motion: reduce) {
  .v2-blob { animation: none !important; }
}

/* Sections */
.v2-section { padding: clamp(3rem, 6vw, 5rem) 1rem; max-width: 1200px; margin: 0 auto; }
/* Performance: avoid laying out offscreen sections until needed */
.v2-section, .press-grid, .v2-grid, .v2-team-grid, .v2-accordion {
  content-visibility: auto;
  contain-intrinsic-size: 800px; /* reserve space to prevent layout shifts */
}
/* Fine-tune intrinsic sizes per section where helpful */
.v2-gallery .v2-grid { contain-intrinsic-size: 1200px; }
.v2-team .v2-team-grid { contain-intrinsic-size: 900px; }
.v2-faq .v2-accordion { contain-intrinsic-size: 700px; }
.v2-h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin-bottom: 1rem; text-align: center; }

/* Cards */
.v2-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.v2-card { border: 1px solid var(--v2-outline); border-radius: 14px; padding: 1.1rem; }
.v2-card h3 { margin-bottom: .4rem; }
.v2-card p { color: var(--v2-muted); }

@media (max-width: 900px) { .v2-cards { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .v2-cards { grid-template-columns: 1fr; } }

/* Gallery */
.v2-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; grid-auto-flow: dense; align-items: start; }
.v2-shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--v2-outline); background: var(--v2-card); align-self: start; }
.v2-shot img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: saturate(1.05) contrast(1.02); }
.v2-shot.wide { grid-column: span 3; }

.v2-shot figcaption { font-size: .9rem; color: var(--v2-muted); padding: .5rem .6rem; }

.v2-shot { display: flex; flex-direction: column; }
.v2-shot figcaption {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.4em;
}

/* Allow wrapping on small screens for readability */
@media (max-width: 560px) {
  .v2-shot figcaption {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    min-height: 0;
  }
}

@media (max-width: 900px) { .v2-grid { grid-template-columns: repeat(4, 1fr); } .v2-shot.wide { grid-column: span 2; } }
@media (max-width: 560px) { .v2-grid { grid-template-columns: repeat(2, 1fr); } .v2-shot.wide { grid-column: 1 / -1; } }

/* Team */
.v2-team-grid { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: .9rem; }
.v2-person { text-align: center; padding: 1rem; border-radius: 14px; border: 1px solid var(--v2-outline); }
.v2-person img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto .5rem; }
.v2-person .muted { color: var(--v2-muted); font-size: .95rem; }

@media (max-width: 900px) { .v2-team-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .v2-team-grid { grid-template-columns: repeat(2, 1fr); } }

/* FAQ */
.v2-accordion { display: grid; gap: .75rem; max-width: 900px; margin: 0 auto; }
.v2-acc-item { border-radius: 12px; border: 1px solid var(--v2-outline); overflow: hidden; }
.v2-acc-btn { width: 100%; text-align: left; background: transparent; color: var(--v2-text); font-weight: 700; border: none; padding: 1rem 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.v2-acc-item.open .v2-acc-btn { background: color-mix(in oklab, var(--v2-card), black 5%); }
.v2-acc-panel { display: none; padding: 0 1.1rem 1rem; color: var(--v2-muted); }
.v2-acc-item.open .v2-acc-panel { display: block; }

/* Discord */
.v2-discord-card { padding: 1.25rem; border-radius: 16px; border: 1px solid var(--v2-outline); text-align: center; }
.v2-discord-wrap { overflow: hidden; border-radius: 12px; border: 1px solid var(--v2-outline); margin: .75rem auto 1rem; max-width: 720px; }
.v2-discord iframe { width: 100%; height: 380px; display: block; }

/* CTA Banner */
.v2-cta-banner { position: relative; min-height: 58vh; display: grid; place-items: center; overflow: hidden; }
.v2-cta-bg { position: absolute; inset: 0; background: url('media/finale.jpg') center/cover no-repeat fixed; filter: brightness(.95) saturate(1.1); }
/* Timeline (2025 Presence) */
.v2-timeline { max-width: 1000px; }
.v2-tl-list { list-style: none; counter-reset: tl; display: grid; gap: .9rem; margin: 0 auto; padding-left: 0; }
.v2-tl-item { position: relative; border: 1px solid var(--v2-outline); border-radius: 14px; padding: 1rem 1rem 1rem 3.25rem; background: color-mix(in oklab, var(--v2-card), transparent 12%); display: block; }
.v2-tl-item::before { counter-increment: tl; content: counter(tl); position: absolute; left: .9rem; top: 1rem; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, var(--v2-accent-strong), var(--v2-blue)); box-shadow: var(--v2-glow); }
/* Center the vertical connecting line through the timeline circle */
.v2-tl-item::after {
  content: "";
  position: absolute;
  left: calc(.9rem + 14px); /* center of the 28px circle placed at .9rem */
  top: 2.6rem;
  bottom: -1rem;
  width: 2px;
  background: var(--v2-outline);
}
.v2-tl-item:last-child::after { display: none; }
.v2-tl-head { display: flex; align-items: baseline; gap: .75rem; justify-content: flex-start; margin-bottom: .25rem; }
.v2-tl-month { color: var(--v2-accent); font-weight: 700; }
.v2-tl-title { font-size: 1.05rem; margin: 0; }
.v2-tl-text { color: var(--v2-muted); margin: .25rem 0 .5rem; }
.v2-tl-thumb { width: 100%; max-width: 720px; border-radius: 12px; overflow: hidden; border: 1px solid var(--v2-outline); margin: .6rem auto 0; }
.v2-tl-thumb img { width: 100%; aspect-ratio: 16/9; height: auto; object-fit: cover; object-position: center; filter: saturate(1.02) contrast(1.02); display: block; }
/* Timeline: stacked layout (no alternation) */
@media (max-width: 860px) {
  .v2-tl-item {}
  .v2-tl-thumb { margin-top: .5rem; max-width: 100%; }
}
.v2-tl-note { color: var(--v2-muted); text-align: center; margin-top: .5rem; font-size: .95rem; }

@media (max-width: 560px) {
  .v2-tl-item { padding-left: 3rem; }
  .v2-tl-item::before { left: .7rem; }
  .v2-tl-item::after {
    left: calc(.7rem + 14px); /* center of the circle at this breakpoint */
  }
}
.v2-cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(31,26,36,.35), rgba(31,26,36,.65)); }
.v2-cta-card { position: relative; z-index: 1; padding: 1.5rem; border-radius: 16px; text-align: center; }
.v2-cta-card h2 { margin-bottom: .35rem; }
.v2-cta-card p { color: var(--v2-muted); margin-bottom: .75rem; }

/* Footer */
.v2-footer { padding: 1rem; text-align: center; color: var(--v2-muted); border-top: 1px solid var(--v2-outline); background: var(--v2-surface); }

/* Glass helper */
.v2-glass { background: color-mix(in oklab, var(--v2-card), transparent 20%); backdrop-filter: blur(10px) saturate(140%); box-shadow: var(--v2-glow); }

/* Floating actions */
.v2-contact-bubble { position: fixed; right: 20px; bottom: 20px; z-index: 1100; padding: .7rem 1rem; border-radius: 9999px; background: linear-gradient(135deg, var(--v2-accent-strong), var(--v2-blue)); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid var(--v2-outline); box-shadow: var(--v2-glow); }
.v2-top { position: fixed; right: 20px; bottom: 72px; padding: .55rem .8rem; border-radius: 9999px; background: var(--v2-surface); color: var(--v2-text); border: 1px solid var(--v2-outline); opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.v2-top.show { opacity: 1; visibility: visible; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .v2-hero-bg { background-attachment: initial; }
}
/* Timeline collapse controls */
.v2-tl-controls { text-align: center; margin-bottom: .5rem; }
.v2-tl-toggle .chev { margin-left: .5rem; transition: transform .2s ease; }
.v2-timeline.open .v2-tl-toggle .chev { transform: rotate(180deg); }
.v2-timeline.collapsed .v2-tl-list { display: none; }
.v2-timeline.collapsed .v2-tl-note { display: none; }
.v2-timeline.collapsed { padding-top: clamp(2rem, 3vw, 3rem); padding-bottom: clamp(2rem, 3vw, 3rem); }
/* Reveal-on-scroll animations for test.html (scoped to .v2) */
body.v2 :where(.v2-hero-inner, .v2-card, .v2-shot, .v2-person, .v2-acc-item, .v2-discord-card, .v2-cta-card, .v2-tl-item) {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .6s ease;
  will-change: opacity, transform;
}
body.v2 :where(.v2-hero-inner, .v2-card, .v2-shot, .v2-person, .v2-acc-item, .v2-discord-card, .v2-cta-card, .v2-tl-item).is-visible {
  opacity: 1;
  transform: none;
}
/* gentle hover micro-interactions */
body.v2 .v2-shot img { transition: transform .25s ease, filter .25s ease; }
body.v2 .v2-shot:hover img { transform: scale(1.03); }
body.v2 .v2-card { transition: transform .2s ease, box-shadow .2s ease; }
body.v2 .v2-card:hover { transform: translateY(-2px); box-shadow: var(--v2-glow); }

@media (prefers-reduced-motion: reduce) {
  body.v2 :where(.v2-hero-inner, .v2-card, .v2-shot, .v2-person, .v2-acc-item, .v2-discord-card, .v2-cta-card, .v2-tl-item) {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* =============================
   V2 — Press page styles
   ============================= */
.v2-hero.press-hero { min-height: 48vh; }

/* Grid */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (max-width: 1024px) { .press-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .press-grid { grid-template-columns: 1fr; } }

/* Card */
.press-card { border: 1px solid var(--v2-outline); border-radius: 14px; padding: 1rem; background: color-mix(in oklab, var(--v2-card), transparent 12%); }
.press-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--v2-outline); margin-bottom: .75rem; }
.press-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.press-meta { color: var(--v2-accent); font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.press-title { font-size: 1.1rem; margin: 0 0 .4rem; }
.press-preview { color: var(--v2-muted); }
.press-full { color: var(--v2-text); margin-top: .5rem; }
.press-actions { display: flex; gap: .5rem; margin-top: .8rem; }

/* Hover/elevation */
.press-card { transition: transform .2s ease, box-shadow .2s ease; }
.press-card:hover { transform: translateY(-2px); box-shadow: var(--v2-glow); }

/* Reveal (press) */
body.v2 .press-card { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .6s ease; }
body.v2 .press-card.is-visible { opacity: 1; transform: none; }

/* --- Press page layout --- */
.press-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; max-width: 1100px; margin: 0 auto; }
@media (max-width: 1024px) { .press-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px) { .press-grid { grid-template-columns: 1fr; } }
.press-card { border: 1px solid var(--v2-outline); border-radius: 14px; padding: 1rem; background: color-mix(in oklab, var(--v2-card), transparent 12%); transition: transform .2s ease, box-shadow .2s ease; }
.press-card:hover { transform: translateY(-2px); box-shadow: var(--v2-glow); }
.press-img { border-radius: 10px; overflow: hidden; border: 1px solid var(--v2-outline); margin-bottom: .75rem; }
.press-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; filter: saturate(1.05) contrast(1.02); }
.press-meta { color: var(--v2-accent); font-weight: 700; font-size: .95rem; margin-bottom: .25rem; }
.press-title { font-size: 1.1rem; margin: 0 0 .4rem; }
.press-preview { color: var(--v2-muted); }
.press-full { color: var(--v2-text); margin-top: .5rem; }
.press-actions { display: flex; gap: .5rem; margin-top: .8rem; }

/* Expanded single article view for press */
.v2-card.single-article,
.v2-glass.v2-card.single-article,
.v2-glass.v2-card.press-article {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}
@media (min-width: 1024px) {
  .v2-card.single-article,
  .v2-glass.v2-card.single-article,
  .v2-glass.v2-card.press-article {
    max-width: 1200px;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
@media (max-width: 768px) {
  .v2-card.single-article,
  .v2-glass.v2-card.single-article,
  .v2-glass.v2-card.press-article {
    max-width: 100%;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* modal */
.press-modal { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; place-items: center; padding: 1rem; z-index: 1500; }
.press-modal.open { display: grid; }
.press-modal-dialog { max-width: 920px; width: min(92vw, 920px); border-radius: 16px; border: 1px solid var(--v2-outline); }
.press-modal-head { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: .5rem; padding: .9rem 1rem; border-bottom: 1px solid var(--v2-outline); }
.press-modal-title { margin: 0; font-size: 1.1rem; }
.press-modal-date { color: var(--v2-accent); font-weight: 700; justify-self: end; }
.press-modal-close { background: transparent; color: var(--v2-text); border: 1px solid var(--v2-outline); border-radius: 10px; padding: .35rem .55rem; cursor: pointer; }
.press-modal-body { padding: 1rem; }
.press-modal-body img { width: 100%; height: auto; display: block; margin-bottom: .75rem; border-radius: 10px; border: 1px solid var(--v2-outline); }
/* === Press width overrides (full-width grid and article) === */
/* Make the press section span the page width */
.v2-section.v2-press { 
  max-width: none !important; 
  width: 100% !important; 
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* Full-width grid; more columns on large screens */
.press-grid { 
  max-width: none !important; 
  width: 100% !important; 
  grid-template-columns: repeat(4, minmax(0,1fr));
}
@media (max-width: 1200px) { .press-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 900px)  { .press-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px)  { .press-grid { grid-template-columns: 1fr; } }

/* Single article view: take the whole width */
.v2-card.single-article,
.v2-glass.v2-card.single-article,
.v2-glass.v2-card.press-article {
  max-width: none !important;
  width: 100% !important;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1rem, 3vw, 2.5rem);
  padding-right: clamp(1rem, 3vw, 2.5rem);
}

/* Optional: when an article is open, let the container truly stretch */
body.v2.press-open .v2-section.v2-press { max-width: none; width: 100%; }

/* Single-article layout: make grid a block so the article can span full width */
.press-grid.single { 
  display: block !important; 
  width: 100% !important; 
  max-width: 100% !important; 
  padding: 0; 
}

/* Full-width article container */
.press-article-full { 
  max-width: 1400px; 
  margin: 0 auto; 
  padding: clamp(2rem, 4vw, 3rem) clamp(2rem, 6vw, 5rem); 
}
.press-article-head { 
  display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; 
}
.press-article-head .press-date { 
  color: var(--v2-accent); font-weight: 700; margin-left: auto; 
}
.press-article-title { 
  margin: .6rem 0 1rem; font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; 
}

/* When an article is open, paint a soft background behind the press section */
body.v2.press-open .v2-section.v2-press { 
  background: radial-gradient(900px 600px at 10% -10%, rgba(168,146,189,.12), transparent),
              radial-gradient(900px 600px at 100% 10%, rgba(126,136,201,.10), transparent); 
  border-top: 1px solid var(--v2-outline);
}

/* Press: flashy Read more button */
.press-cta {
  border: 0;
  border-radius: 9999px;
  padding: .7rem 1.15rem;
  background: linear-gradient(135deg, var(--v2-accent-strong), var(--v2-blue));
  color: #fff !important;
  box-shadow: var(--v2-glow);
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: .2px;
}
.press-cta::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transform: translateX(-120%);
  transition: transform .55s ease;
}
.press-cta:hover::after{ transform: translateX(120%); }
.press-cta:hover{ filter: brightness(1.06); transform: translateY(-1px); }
/* =====================================================
   SEQTA — Teal/Green Theme Overrides + Press Full‑Width
   (Aug 2025)
   ===================================================== */
:root {
  /* Brand (teal/green) */
  --v2-accent: #1AB0A0;            /* Teal primary */
  --v2-accent-strong: #14867C;     /* Teal dark */
  --v2-blue: #7AE582;              /* Fresh green accent */
  --v2-text: #E8F6F4;
  --v2-muted: #96B2AF;
  --v2-card: #222B2A;
  --v2-outline: color-mix(in oklab, #E8F6F4 14%, transparent);
  --v2-glow: 0 10px 30px rgba(26,176,160,.25);
  --v2-grad-primary: linear-gradient(135deg, #1AB0A0 0%, #7AE582 100%);
  --v2-bg: #1B2221;
  --v2-surface: #222B2A;
}

/* Buttons that use brand tokens */
.v2-btn-primary,
.press-cta { background: var(--v2-grad-primary) !important; color: #fff !important; border: none; }
.v2-btn-ghost { border-color: var(--v2-outline) !important; }

/* Accents */
.press-date, .v2-h2, .v2-nav a[aria-current="page"] { color: var(--v2-accent) !important; }

/* Full‑width press section (list + single) */
section#press.v2-section.v2-press { /* break out of the default 1200px cap */
  max-width: none !important;
  width: 100% !important;
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}

/* Grid spans the whole row */
section#press .press-grid {
  max-width: none !important;
  width: 100% !important;
}

/* Single article view: make container non‑grid and full‑bleed */
section#press .press-grid.single {
  display: block !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* The article itself is full width */
.press-article-full {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1.25rem, 6vw, 5rem) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
}

/* Images inside article scale beautifully */
.press-article-full .press-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--v2-outline); margin: .75rem 0 1rem; }
.press-article-full .press-img img { width: 100%; height: auto; display: block; }

/* Soft background when a post is open */
body.v2.press-open section#press.v2-section.v2-press {
  background: radial-gradient(900px 600px at 10% -10%, rgba(26,176,160,.10), transparent),
              radial-gradient(900px 600px at 100% 10%, rgba(122,229,130,.10), transparent);
  border-top: 1px solid var(--v2-outline);
}
/* === Press: align Read more buttons across cards (flex column) === */
.press-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
/* Let the preview area occupy free vertical space so actions sit at bottom */
.press-preview { flex: 1 1 auto; }
/* Pin action row to the bottom of each card */
.press-actions { margin-top: auto; }
@media (max-width: 600px) {
  .v2-hero-bg { background-attachment: scroll !important; }
}

/* =============================
   Campaign — Sunflower
   ============================= */
body.v2.campaign { background: radial-gradient(1200px 800px at 15% -10%, rgba(255, 215, 64, .12), transparent), radial-gradient(900px 600px at 100% 10%, rgba(26, 176, 160, .12), transparent), var(--v2-bg); }
.camp-hero { position: relative; min-height: 62vh; display: grid; place-items: center; overflow: hidden; }
.camp-hero-bg { position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255, 215, 64,.35), transparent 40%), radial-gradient(circle at 80% 30%, rgba(122, 229, 130,.28), transparent 45%), linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.45)); filter: saturate(1.05) contrast(1.02); }
.camp-chips .v2-stat { background: color-mix(in oklab, var(--v2-card), black 5%); border: 1px solid var(--v2-outline); }
.camp-section .camp-lead { max-width: 900px; margin: 0 auto 1rem; color: var(--v2-text); }
.camp-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
@media (max-width: 900px) { .camp-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .camp-grid { grid-template-columns: 1fr; } }
.camp-asks { max-width: 1000px; margin: .5rem auto 0; padding-left: 1.1rem; line-height: 1.6; }
.camp-asks li { margin-bottom: .4rem; }
.camp-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: .5rem; }
.camp-note { text-align: center; color: var(--v2-muted); margin-top: .75rem; }
