/* =============================================
   AIHUB Porto — Global Stylesheet
   Navy #0D0E2E | Blue #3B3FD8 | Iris #6B6FE8
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

/* ── Custom Properties ── */
:root {
  --navy:      #0D0E2E;
  --blue:      #3B3FD8;
  --iris:      #6B6FE8;
  --off-white: #EDEDEB;
  --charcoal:  #1A1A1A;
  --stone:     #888888;
  --white:     #FFFFFF;

  --font-display: 'DM Sans', Calibri, sans-serif;
  --font-sans:    'DM Sans', Calibri, sans-serif;

  --xs:  4px;
  --sm:  8px;
  --md:  16px;
  --lg:  24px;
  --xl:  32px;
  --2xl: 64px;

  --radius:    4px;
  --radius-lg: 10px;
  --trans:     0.2s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ── */
h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 300; letter-spacing: -0.025em; line-height: 1.15; }
h3 { font-size: clamp(1.25rem, 2vw, 1.625rem); font-weight: 400; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; letter-spacing: 0.01em; }
p { max-width: 65ch; }

.display { font-family: var(--font-display); font-style: italic; }

/* ── Layout ── */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--xl);
}
@media (max-width: 600px) { .container { padding: 0 var(--md); } }

.section     { padding: var(--2xl) 0; }
.section--sm { padding: var(--xl)  0; }
.section--dark      { background: var(--navy);     color: var(--white); }
.section--off-white { background: var(--off-white); }
.section--blue      { background: var(--blue);     color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--xl); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--xl); }

@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .clipping-mini-grid { grid-template-columns: 1fr !important; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sm);
  padding: 12px 28px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--trans);
  white-space: nowrap;
  line-height: 1;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--iris); }
.btn--outline { border: 1.5px solid var(--blue); color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--outline-white { border: 1.5px solid rgba(255,255,255,0.5); color: var(--white); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn--sm { padding: 9px 20px; font-size: 0.8125rem; }

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  border-color: rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xl);
  height: 100px;
}
.navbar__logo img {
  height: 88px;
  width: auto;
  object-fit: contain;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: var(--xl);
  margin-left: auto;
  margin-right: var(--lg);
}
.navbar__links a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal);
  opacity: 0.7;
  transition: opacity var(--trans);
}
.navbar__links a:hover,
.navbar__links a.active { opacity: 1; color: var(--blue); }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 8px 5px;
  border: 1.5px solid rgba(0,0,0,0.15);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--charcoal);
  border-radius: 2px;
  transition: all var(--trans);
}

/* Mobile overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: var(--2xl);
}
.nav-overlay.open { display: flex; }
.nav-overlay__close {
  position: absolute;
  top: 16px; right: var(--lg);
  font-size: 1.75rem;
  color: var(--charcoal);
  line-height: 1;
  padding: 14px;
  cursor: pointer;
}
.nav-overlay a {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--charcoal);
  margin-bottom: var(--lg);
  transition: color var(--trans);
}
.nav-overlay a:hover { color: var(--blue); }
.nav-overlay .btn { margin-top: var(--xl); font-size: 1rem; }

@media (max-width: 900px) {
  .navbar__links { display: none; }
  .navbar__cta   { display: none; }
  .navbar__hamburger { display: flex; }
}

/* ── Hero ── */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,111,232,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,63,216,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--md) 0;
  max-width: 750px;
}
.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: var(--lg);
}
.hero__title {
  font-size: clamp(2.5rem, 5.5vw, 4.75rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.06;
  color: var(--white);
  margin-bottom: var(--md);
}
.hero__title em {
  font-style: italic;
  color: var(--iris);
}
.hero__rotating::after {
  content: '|';
  margin-left: 2px;
  color: var(--iris);
  animation: blink 0.75s step-end infinite;
}
@keyframes blink {
  from, to { opacity: 1; }
  50%       { opacity: 0; }
}
.hero__subtitle {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--xl);
  line-height: 1.65;
  max-width: 52ch;
}
.hero__actions { display: flex; gap: var(--md); flex-wrap: wrap; }

/* ── Hero intro animation ── */
@keyframes heroReveal {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title,
.hero__subtitle,
.hero__actions { opacity: 0; }
.hero--revealed .hero__title {
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero--revealed .hero__subtitle {
  animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}
.hero--revealed .hero__actions {
  animation: heroReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.65s forwards;
}

/* ── Page Header (inner pages) ── */
.page-header {
  padding: 140px 0 72px;
  background: var(--navy);
  color: var(--white);
}
.page-header__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--iris);
  margin-bottom: var(--md);
  animation: heroReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
.page-header__title {
  color: var(--white);
  animation: heroReveal 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}
.page-header__subtitle {
  margin-top: var(--md);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.6);
  max-width: 52ch;
  animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

/* ── Section Headers ── */
.section-header { margin-bottom: var(--2xl); }
.section-header--center { text-align: center; }
.section-header--center p { margin: 0 auto; }

.section-tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--md);
}
.section-tag--iris { color: var(--iris); }
.section-header h2 { margin-bottom: var(--md); }
.section-header p { color: var(--stone); font-size: 1.0625rem; }
.section--dark .section-header p { color: rgba(255,255,255,0.55); }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
  margin-top: var(--md);
  transition: gap var(--trans);
}
.section-link:hover { gap: 12px; }
.section--dark .section-link { color: var(--iris); }
.section--off-white .section-link { color: var(--blue); }

/* ── Feature Pillars ── */
.pillar {
  padding: var(--xl) 0;
  border-top: 1px solid var(--off-white);
}
.pillar:last-child { border-bottom: 1px solid var(--off-white); }
.pillar__num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--stone);
  margin-bottom: var(--lg);
}
.pillar__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--lg);
  font-size: 1.25rem;
}
.pillar__title { font-size: 1.25rem; font-weight: 500; margin-bottom: var(--md); }
.pillar__body  { color: var(--stone); font-size: 0.9375rem; line-height: 1.7; }

/* ── Event Cards ── */
.event-card {
  background: var(--white);
  border: 1px solid var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--trans), transform var(--trans);
}
.event-card:hover {
  box-shadow: 0 12px 40px rgba(13,14,46,0.1);
  transform: translateY(-3px);
}
.event-card__header {
  background: var(--navy);
  padding: var(--lg) var(--xl);
  display: flex;
  align-items: baseline;
  gap: var(--sm);
}
.event-card__day {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1;
}
.event-card__month {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--iris);
}
.event-card__body { padding: var(--xl); flex: 1; display: flex; flex-direction: column; }
.event-card__tag {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--sm);
}
.event-card__title { font-size: 1.0625rem; font-weight: 500; margin-bottom: var(--md); line-height: 1.4; }
.event-card__desc  { font-size: 0.9rem; color: var(--stone); line-height: 1.65; flex: 1; margin-bottom: var(--lg); }
.event-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sm);
  padding-top: var(--md);
  border-top: 1px solid var(--off-white);
}
.event-card__meta {
  display: flex;
  align-items: center;
  gap: var(--xs);
  font-size: 0.8125rem;
  color: var(--stone);
}

/* Past events */
.event-card--past { opacity: 0.6; }
.event-card--past:hover { transform: none; box-shadow: none; }
.event-card--past .event-card__header { background: var(--stone); }
.past-badge {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  padding: 3px 8px;
  border-radius: 100px;
  margin-left: auto;
}

/* ── News Cards ── */
.news-card { display: flex; flex-direction: column; }
.news-card__image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--iris) 100%);
  position: relative;
}
.news-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__tag  { margin-bottom: var(--sm); }
.news-card__title {
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: var(--md);
  letter-spacing: -0.01em;
  line-height: 1.4;
  transition: color var(--trans);
}
.news-card:hover .news-card__title { color: var(--blue); }
.news-card__excerpt { font-size: 0.9rem; color: var(--stone); line-height: 1.65; margin-bottom: var(--md); }
.news-card__meta    { font-size: 0.8125rem; color: var(--stone); }
.news-card__link {
  margin-top: auto;
  padding-top: var(--md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}
.news-card__link:hover { gap: 12px; }

/* ── Newsletter ── */
.newsletter-wrap { max-width: 520px; }
.newsletter-form {
  display: flex;
  gap: var(--sm);
  margin-top: var(--lg);
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 12px var(--md);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--trans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--iris); }
.newsletter-note {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-top: var(--md);
}
.newsletter-note a { color: rgba(255,255,255,0.65); text-decoration: underline; }

@media (max-width: 480px) {
  .newsletter-form { flex-direction: column; }
}

/* ── About ── */
.about-lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--2xl);
  align-items: start;
}
.about-lead-grid .lead {
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.5;
}
@media (max-width: 768px) { .about-lead-grid { grid-template-columns: 1fr; } }

.value-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--xl);
  align-items: start;
  padding: var(--xl) 0;
  border-top: 1px solid var(--off-white);
}
.value-row:last-child { border-bottom: 1px solid var(--off-white); }
.value-row__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  font-weight: 300;
  color: var(--iris);
  line-height: 1;
}
.value-row__title { font-size: 1.125rem; font-weight: 500; margin-bottom: var(--sm); }
.value-row__body  { font-size: 0.9375rem; color: var(--stone); line-height: 1.7; max-width: none; }

/* ── Stat blocks ── */
.stat-block { text-align: center; padding: var(--xl); }
.stat-block__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--iris);
  line-height: 1;
  margin-bottom: var(--sm);
}
.stat-block__label { font-size: 0.9rem; color: rgba(255,255,255,0.6); }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--2xl);
  align-items: start;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.form-group { margin-bottom: var(--lg); }
.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-control {
  width: 100%;
  padding: 11px var(--md);
  border: 1.5px solid var(--off-white);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--white);
  outline: none;
  transition: border-color var(--trans);
}
.form-control:focus { border-color: var(--blue); }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { appearance: none; cursor: pointer; }

.contact-info-item {
  display: flex;
  gap: var(--md);
  align-items: flex-start;
  padding: var(--lg) 0;
  border-bottom: 1px solid var(--off-white);
}
.contact-info-item:first-child { border-top: 1px solid var(--off-white); }
.contact-info-item__icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info-item__label { font-size: 0.8125rem; color: var(--stone); margin-bottom: 3px; }
.contact-info-item__value { font-weight: 500; font-size: 0.9375rem; }
.contact-info-item__value a { color: var(--blue); }

/* ── Legal ── */
.legal-body { max-width: 780px; }
.legal-body h2 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--navy);
  margin: var(--2xl) 0 var(--md);
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  margin: var(--xl) 0 var(--md);
}
.legal-body p  { margin-bottom: var(--md); color: #444; max-width: none; font-size: 0.9375rem; }
.legal-body ul { list-style: disc; padding-left: var(--xl); margin-bottom: var(--md); }
.legal-body li { margin-bottom: var(--sm); color: #444; font-size: 0.9375rem; }
.legal-body a  { color: var(--blue); text-decoration: underline; }
.legal-body strong { color: var(--charcoal); }

/* ── Footer ── */
.footer {
  background: var(--navy);
  color: var(--white);
}
.footer__top {
  padding: var(--2xl) 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__top { grid-template-columns: 1fr; } }

.footer__logo { height: 65px; width: auto; object-fit: contain; display: block; }
.footer__tagline { font-size: 0.9rem; color: rgba(255,255,255,0.45); margin-bottom: var(--lg); max-width: 28ch; }
.footer__social-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: var(--sm); }
.footer__social { display: flex; gap: var(--md); }
.footer__social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: all var(--trans);
}
.footer__social a:hover { border-color: var(--iris); color: var(--white); background: rgba(107,111,232,0.2); }

.footer__col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--lg);
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--trans); }
.footer__links a:hover { color: var(--white); }

.footer__bottom {
  padding: var(--lg) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--md);
}
.footer__copy  { font-size: 0.8125rem; color: rgba(255,255,255,0.3); }
.footer__legal { display: flex; gap: var(--lg); }
.footer__legal a { font-size: 0.8125rem; color: rgba(255,255,255,0.3); transition: color var(--trans); }
.footer__legal a:hover { color: rgba(255,255,255,0.7); }

/* ── Cookie Banner ── */
.cookie {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--charcoal);
  color: var(--white);
  z-index: 200;
  transform: translateY(100%);
}
.cookie.animate { transition: transform 0.35s ease; }
.cookie.visible { transform: translateY(0); }
.cookie__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--xl);
  flex-wrap: wrap;
  padding: var(--lg) 0;
}
.cookie__text { font-size: 0.875rem; color: rgba(255,255,255,0.78); max-width: none; }
.cookie__text a { color: var(--iris); text-decoration: underline; }
.cookie__actions { display: flex; gap: var(--sm); flex-shrink: 0; }

/* ── Page entrance ── */
/* ── Page transitions ── */
@keyframes pageEnter {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pageExit {
  from { opacity: 1; }
  to   { opacity: 0; }
}
body { animation: pageEnter 0.4s ease both; }
body.is-leaving { animation: pageExit 0.15s ease forwards; }

/* ── Scroll fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Divider ── */
hr.divider { border: none; border-top: 1px solid var(--off-white); margin: var(--2xl) 0; }

/* ── Utilities ── */
.mt-sm  { margin-top: var(--sm);  }
.mt-md  { margin-top: var(--md);  }
.mt-lg  { margin-top: var(--lg);  }
.mt-xl  { margin-top: var(--xl);  }
.mt-2xl { margin-top: var(--2xl); }
.mb-sm  { margin-bottom: var(--sm);  }
.mb-md  { margin-bottom: var(--md);  }
.mb-lg  { margin-bottom: var(--lg);  }
.text-center { text-align: center; }
.text-stone  { color: var(--stone);   }
.text-blue   { color: var(--blue);    }
.text-iris   { color: var(--iris);    }
.text-navy   { color: var(--navy);    }
.text-white  { color: var(--white);   }
.font-light  { font-weight: 300; }
.font-medium { font-weight: 500; }

/* ── Pagination ── */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sm);
  margin-top: var(--2xl);
}
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  border: 1.5px solid var(--off-white);
  color: var(--stone);
  transition: all var(--trans);
}
.pagination a:hover { border-color: var(--blue); color: var(--blue); }
.pagination .active { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ── Tag badge ── */
.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(59,63,216,0.08);
  color: var(--blue);
}
.tag--iris { background: rgba(107,111,232,0.1); color: var(--iris); }

/* ── Form success message ── */
.form-success {
  display: none;
  align-items: center;
  gap: var(--md);
  padding: var(--md) var(--lg);
  background: rgba(59,63,216,0.07);
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--blue);
  margin-top: var(--md);
}
.form-success.show { display: flex; }

/* ── Photo gallery ── */
.photo-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  cursor: zoom-in;
}
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.photo-item:hover img { transform: scale(1.05); }

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox__img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  user-select: none;
  pointer-events: none;
}
.lightbox__close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 2rem;
  color: var(--white);
  line-height: 1;
  padding: 8px 14px;
  opacity: 0.65;
  transition: opacity var(--trans);
}
.lightbox__close:hover { opacity: 1; }
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  font-size: 3rem;
  color: var(--white);
  padding: 12px 22px;
  opacity: 0.55;
  transition: opacity var(--trans);
  line-height: 1;
}
.lightbox__prev:hover,
.lightbox__next:hover { opacity: 1; }
.lightbox__prev { left: 12px; }
.lightbox__next { right: 12px; }
.lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
}
@media (max-width: 600px) {
  .lightbox__prev { left: 4px; padding: 10px 14px; }
  .lightbox__next { right: 4px; padding: 10px 14px; }
}

.gallery-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--lg);
}
