:root {
  --navy-dark: #0a0940;
  --navy-darker: #07062e;
  --blue-hero: #3444b3;
  --blue-hero-2: #4351bd;
  --purple-light: #b9b8ea;
  --text-navy: #14134f;
  --text-muted: #55547e;
  --text-muted-light: #c7c6ea;
  --accent: #4f5fd6;
  --warm: #b5762c;
  --warm-light: #e8b878;
  --white: #ffffff;
  --heading-font: 'Fraunces', Georgia, serif;
  --logo-font: 'Fraunces', Georgia, serif;
  --body-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: 0.2s ease;
  --section-pad: clamp(56px, 8vw, 96px);

  /* Type scale: a limited, consistent set of sizes and weights.
     Static sizes step from --fs-2xs up to --fs-2xl; --fs-display and
     --fs-heading are the only two responsive (clamp) tiers, reserved
     for full-width page headings. */
  --fs-2xs: 0.78rem;
  --fs-xs: 0.85rem;
  --fs-sm: 0.9rem;
  --fs-base: 0.95rem;
  --fs-md: 1rem;
  --fs-lg: 1.15rem;
  --fs-xl: 1.3rem;
  --fs-2xl: 2rem;
  --fs-heading: clamp(1.6rem, 2.8vw, 2.2rem);
  --fs-display: clamp(2.2rem, 4.2vw, 3.4rem);

  --fw-regular: 400;
  --fw-medium: 600;
  --fw-bold: 700;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--body-font);
  color: var(--text-navy);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

img { max-width: 100%; }

/* Reveal-on-scroll */
.reveal .product-directory,
.reveal .team-card,
.reveal .news-card,
.reveal .stat-card,
.reveal .trending-card {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view .product-directory,
.reveal.in-view .team-card,
.reveal.in-view .news-card,
.reveal.in-view .stat-card,
.reveal.in-view .trending-card {
  opacity: 1;
  transform: translateY(0);
}

.reveal :nth-child(1) { transition-delay: 0.02s; }
.reveal :nth-child(2) { transition-delay: 0.1s; }
.reveal :nth-child(3) { transition-delay: 0.18s; }
.reveal :nth-child(4) { transition-delay: 0.26s; }
.reveal :nth-child(5) { transition-delay: 0.34s; }
.reveal :nth-child(6) { transition-delay: 0.42s; }

.reveal-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-fade.in-view { opacity: 1; transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(24px, 5vw, 56px);
  background: var(--white);
  border-bottom: 1px solid #e6e6ec;
}

.logo {
  display: block;
  line-height: 0;
}

.logo img {
  height: 34px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav li {
  font-family: var(--body-font);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
}

nav li a {
  color: var(--navy-dark);
  transition: color var(--ease);
}

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

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-dark);
  transition: transform var(--ease), opacity var(--ease);
}

.site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Shared section heading */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 20px;
}

.section-head h2 {
  font-family: var(--heading-font);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  letter-spacing: -0.2px;
  line-height: 1.35;
  margin: 0 0 18px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: url("hero-background.png") no-repeat center center / cover;
  overflow: hidden;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 140px 60px 120px;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50% { transform: translateY(8px); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-family: var(--heading-font);
  font-weight: var(--fw-medium);
  color: var(--white);
  font-size: var(--fs-display);
  letter-spacing: -0.5px;
  line-height: 1.18;
  max-width: 760px;
  margin: 0 0 44px;
  text-wrap: balance;
  animation: fadeSlideUp 0.85s ease both;
}

.cta-pill {
  background: var(--navy-darker);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 15px 28px;
  font-family: var(--body-font);
  font-size: var(--fs-xs);
  letter-spacing: 2.5px;
  font-weight: var(--fw-bold);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.cta-pill:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(79, 95, 214, 0.35);
}

.cta-pill:active { transform: translateY(0); }

.hero-cta {
  animation: fadeSlideUp 0.85s ease 0.15s both;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--ease);
  animation: bounce 2.2s ease-in-out infinite;
}

.scroll-cue:hover { color: var(--white); }

.scroll-cue svg {
  width: 26px;
  height: 26px;
}

/* ============ ART teaser (clickable icons below hero) ============ */
.art-teaser {
  background: var(--white);
  padding: var(--section-pad) 24px;
  text-align: center;
}

.art-teaser h2 {
  font-family: var(--heading-font);
  color: var(--navy-dark);
  font-size: var(--fs-heading);
  font-weight: var(--fw-medium);
  letter-spacing: -0.2px;
  line-height: 1.4;
  margin: 0 0 44px;
}

.art-teaser-grid {
  display: flex;
  max-width: 1140px;
  margin: 0 auto 36px;
  border: 1px solid #dcdce8;
  border-radius: 4px;
  overflow: hidden;
}

.art-teaser-card {
  position: relative;
  flex: 1;
  border-right: 1px solid #dcdce8;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.art-teaser-card:last-child { border-right: none; }

.art-teaser-card:hover,
.art-teaser-card:focus-visible {
  background: var(--navy-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(10, 9, 64, 0.2);
  z-index: 1;
  outline: none;
}

.art-teaser-card .icon-box {
  background: #e4e4ed;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease);
}

.art-teaser-card:hover .icon-box,
.art-teaser-card:focus-visible .icon-box {
  background: transparent;
}

.art-teaser-card .icon-box svg {
  width: 62px;
  height: 62px;
  color: var(--navy-dark);
  transition: color var(--ease);
}

.art-teaser-card:hover .icon-box svg,
.art-teaser-card:focus-visible .icon-box svg {
  color: var(--white);
}

.art-teaser-card .icon-box img {
  width: 76px;
  height: auto;
  flex-shrink: 0;
}

.art-teaser-card .label {
  padding: 18px 12px 8px;
  font-family: var(--heading-font);
  font-weight: var(--fw-medium);
  color: var(--navy-dark);
  font-size: var(--fs-base);
  line-height: 1.35;
  transition: color var(--ease);
}

.art-teaser-card:hover .label,
.art-teaser-card:focus-visible .label {
  color: var(--white);
}

.art-teaser-card .peek {
  display: block;
  font-family: var(--body-font);
  font-weight: var(--fw-medium);
  font-size: var(--fs-2xs);
  color: var(--warm-light);
  padding-bottom: 16px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity var(--ease), transform var(--ease);
}

.art-teaser-card:hover .peek,
.art-teaser-card:focus-visible .peek {
  opacity: 1;
  transform: translateY(0);
}

.art-teaser .tagline {
  font-family: var(--heading-font);
  font-weight: var(--fw-bold);
  color: var(--navy-dark);
  font-size: var(--fs-lg);
  margin: 0;
}

/* Land on a product panel from the teaser above */
.tab-panel.just-landed {
  animation: targetFlash 1.8s ease;
}

@keyframes targetFlash {
  0% { box-shadow: 0 0 0 3px var(--accent); }
  100% { box-shadow: 0 0 0 0 rgba(79, 95, 214, 0); }
}

.hero-illustration {
  position: absolute;
  right: 60px;
  bottom: 40px;
  width: 240px;
  text-align: left;
  color: var(--white);
  z-index: 2;
  animation: fadeSlideUp 0.9s ease 0.3s both;
}

.hero-illustration .circle-wrap {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.hero-illustration img {
  width: 190px;
  height: auto;
  display: block;
  animation: floaty 5.5s ease-in-out infinite;
}

.hero-illustration p {
  font-family: var(--heading-font);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  letter-spacing: 0.3px;
  line-height: 1.45;
  margin: 0;
  color: var(--text-muted-light);
}

/* ============ Why It Matters ============ */
.impact-section {
  background: var(--navy-dark);
  color: var(--white);
  text-align: center;
  padding: var(--section-pad) 24px;
}

.impact-section .section-head h2 {
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 20px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  max-width: 900px;
  margin: 64px auto 0;
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
}

.stat-card {
  background: var(--navy-dark);
  padding: 52px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: background-color var(--ease);
}

.stat-card:hover { background: #100f4f; }

.stat-card .stat-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  color: var(--warm-light);
}

.stat-card .num {
  font-family: var(--heading-font);
  font-weight: var(--fw-bold);
  font-size: var(--fs-display);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.stat-card .label {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-muted-light);
  max-width: 240px;
  line-height: 1.55;
}

/* ============ Products and Services ============ */
.products-section {
  text-align: center;
  padding: var(--section-pad) 24px;
  background: var(--white);
}

.products-section .section-head::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin: 0 auto 28px;
}

.products-lead {
  max-width: 780px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.75;
}

.btn-outline {
  display: inline-block;
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
  font-family: var(--body-font);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 30px;
  transition: background-color var(--ease), color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.btn-outline:hover {
  background: var(--navy-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(10, 9, 64, 0.18);
}

.product-directory {
  max-width: 1000px;
  margin: 48px auto 36px;
  text-align: left;
  scroll-margin-top: 100px;
}

.products-cta {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid #e6e6f2;
}

.tab-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #e6e6f2;
}

.tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--body-font);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  padding: 14px 18px 16px;
  border-bottom: 3px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}

.tab-btn .icon-badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: opacity var(--ease);
}

.tab-btn .icon-badge img { width: 28px; height: auto; }
.tab-btn .icon-badge svg { width: 24px; height: 24px; }

.tab-btn.active { color: var(--navy-dark); border-color: var(--accent); }
.tab-btn.active .icon-badge { opacity: 1; }
.tab-btn:hover { color: var(--navy-dark); }

.tab-panels { padding-top: 40px; }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: panelFadeIn 0.25s ease; }

@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.tab-panel h3 {
  font-family: var(--heading-font);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: -0.1px;
  color: var(--navy-dark);
  margin: 0 0 18px;
  text-align: center;
}

.tab-panel h3 a {
  color: inherit;
  transition: color var(--ease);
}

.tab-panel h3 a:hover {
  color: var(--accent);
}

.tab-panel-body {
  max-width: 640px;
  margin: 0 auto;
}

.tab-panel p {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.tab-panel p:last-child { margin-bottom: 0; }

.tab-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

.tab-panel li + li { margin-top: 8px; }

.tab-panel-cta {
  display: block;
  width: fit-content;
  margin: 24px auto 0;
}

/* ============ Team page ============ */
.team-section {
  padding: var(--section-pad) 24px;
  background: var(--white);
  text-align: center;
}

.team-section .section-head::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--warm);
  margin: 0 auto 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1080px;
  margin: 40px auto 0;
}

.team-card {
  background: #f7f7fb;
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--ease), box-shadow var(--ease);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 42px rgba(10, 9, 64, 0.12);
}

.team-card.founder {
  border-color: var(--warm);
}

.team-card .photo-wrap {
  display: inline-block;
  padding: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--warm-light), var(--accent));
  margin-bottom: 22px;
}

.team-card img {
  display: block;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
}

.team-card h3 {
  font-family: var(--heading-font);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  letter-spacing: -0.2px;
  color: var(--navy-dark);
  margin: 0 0 6px;
}

.team-card .divider {
  width: 30px;
  height: 2px;
  background: var(--warm);
  border: none;
  margin: 14px auto 16px;
}

.team-card p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
  text-align: left;
}

/* ============ About page ============ */
.about-section {
  padding: var(--section-pad) 24px;
  background: var(--white);
}

.about-section .about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.about-section p {
  color: var(--text-muted);
  font-size: var(--fs-md);
  line-height: 1.9;
  margin: 0 0 22px;
}

.about-section p:first-of-type {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  font-family: var(--heading-font);
  color: var(--text-navy);
}

/* ============ News and Print ============ */
.news-section {
  display: none;
  padding: var(--section-pad) 24px;
  background: #171c5e;
  text-align: center;
}

.news-section .section-head h2 {
  color: var(--white);
}

.news-section .section-head h2 a {
  color: var(--warm-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

.news-section .section-head h2 a:hover {
  color: var(--white);
}

.news-section .section-head::before {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 2px;
  background: var(--warm-light);
  margin: 0 auto 28px;
}

.news-section .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.news-section .btn-outline:hover {
  background: var(--white);
  color: var(--navy-dark);
}

.news-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  max-width: 1240px;
  margin: 44px auto 36px;
  text-align: left;
}

.news-card {
  flex: 1 1 320px;
  max-width: 380px;
  background: var(--white);
  border: 1px solid #e6e6f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(10, 9, 64, 0.05);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(10, 9, 64, 0.12);
}

.news-card .news-thumb {
  aspect-ratio: 4/3;
  background: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.news-card .news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.news-card:hover .news-thumb img { transform: scale(1.05); }

.news-card .news-card-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card h3 {
  font-family: var(--heading-font);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--navy-dark);
  line-height: 1.4;
  margin: 0 0 10px;
}

.news-card .news-date {
  font-size: var(--fs-2xs);
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}

.news-card .excerpt {
  position: relative;
  max-height: 190px;
  overflow: hidden;
  margin-bottom: 4px;
}

.news-card .excerpt::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white) 88%);
  pointer-events: none;
}

.news-card p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.news-card .excerpt ul {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

.news-card .excerpt ul ul {
  margin: 6px 0 0;
}

.news-card .excerpt li + li {
  margin-top: 5px;
}

.news-card .excerpt a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.news-card .read-link {
  position: relative;
  z-index: 1;
  font-family: var(--body-font);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  color: var(--accent);
  transition: color var(--ease), gap var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.news-card .read-link:hover {
  color: var(--navy-dark);
  gap: 8px;
}

/* ============ Trending Topics ============ */
.trending-section {
  display: none;
  padding: var(--section-pad) 24px;
  background-image: url("Backgroundchronicles.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.trending-card {
  display: block;
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid #e6e6f2;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(7, 6, 46, 0.35);
  padding: 40px 44px;
  text-align: left;
}

.chronicles-title {
  font-family: var(--heading-font);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-medium);
  letter-spacing: 1.5px;
  color: var(--navy-dark);
  text-align: center;
  margin: 0 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid #e9e9f4;
}

.trending-heading {
  font-family: var(--heading-font);
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  letter-spacing: -0.2px;
  color: var(--navy-dark);
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e9e9f4;
}

.trending-list {
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: trending-counter;
  text-align: left;
}

.trending-list li {
  counter-increment: trending-counter;
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid #e9e9f4;
}

.trending-list li:first-child { border-top: none; padding-top: 0; }

.trending-list li::before {
  content: counter(trending-counter);
  flex: 0 0 auto;
  min-width: 26px;
  font-family: var(--heading-font);
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--accent);
}

.trending-list .trending-title {
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-navy);
  line-height: 1.5;
}

.trending-cta {
  display: block;
  width: fit-content;
  margin: 32px auto 0;
}

/* ============ Footer ============ */
.footer-bottom {
  margin-top: auto;
  background: #4e4ec7;
  color: var(--white);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 60px) 16px;
}

.footer-bottom .linkedin {
  width: 32px;
  height: 32px;
  background: var(--white);
  color: #4e4ec7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
}

.footer-bottom .linkedin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted-light);
}

.footer-bottom p a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--ease);
}

.footer-bottom p a:hover {
  color: var(--white);
}

.footer-disclosure {
  padding: 4px clamp(24px, 5vw, 60px) 26px;
  font-size: var(--fs-2xs);
  line-height: 1.7;
  color: rgba(255,255,255,0.55);
  max-width: 1100px;
}

.footer-disclosure a {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.footer-disclosure a:hover { color: var(--white); }

/* ============ Contact page ============ */
.contact-section {
  padding: var(--section-pad) 24px;
  background: linear-gradient(180deg, #f7f7fb 0%, var(--white) 340px);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 32px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-info {
  background: var(--navy-dark);
  border-radius: 20px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
}

.contact-info-inner { width: 100%; }

.contact-info h2 {
  font-family: var(--heading-font);
  font-weight: var(--fw-medium);
  font-size: var(--fs-display);
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 0 0 28px;
}

.contact-info .contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--navy-dark);
  background: var(--white);
  border-radius: 30px;
  padding: 14px 26px;
  transition: transform var(--ease), box-shadow var(--ease), background-color var(--ease), color var(--ease);
}

.contact-info .contact-email svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.contact-info .contact-email:hover {
  background: var(--warm-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.contact-form {
  background: var(--white);
  border: 1px solid #e6e6f2;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(10, 9, 64, 0.05);
  padding: 40px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 22px;
}

.contact-form .field {
  margin-bottom: 22px;
}

.contact-form label {
  display: block;
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--text-navy);
  margin-bottom: 8px;
}

.contact-form label .req {
  color: var(--warm);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1.5px solid #e0e0ef;
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--body-font);
  font-size: var(--fs-base);
  color: var(--text-navy);
  background: #fbfbfd;
  transition: border-color var(--ease), background-color var(--ease);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8988ad;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(79, 95, 214, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .submit-btn {
  width: 100%;
  background: var(--navy-darker);
  color: var(--white);
  border: none;
  border-radius: 30px;
  padding: 18px;
  font-family: var(--body-font);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  cursor: pointer;
  transition: background-color var(--ease), transform var(--ease);
}

.contact-form .submit-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

@media (max-width: 980px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 90px 24px 70px; text-align: center; }
  .hero-content { width: 100%; }
  .hero h1 { width: 100%; max-width: 100%; text-align: center; }
  .hero-cta { display: block; width: fit-content; margin: 0 auto; }
  .hero-illustration { position: static; width: auto; margin: 40px auto 0; }
  .hero-illustration .circle-wrap { justify-content: center; }
  .scroll-cue { display: none; }
}

@media (max-width: 900px) {
  .art-teaser-grid { flex-wrap: wrap; }
  .art-teaser-card { flex: 1 1 50%; border-bottom: 1px solid #dcdce8; }
  .news-card { flex: 1 1 100%; max-width: 100%; }
  .tab-btn { font-size: var(--fs-2xs); padding: 12px 10px 14px; }
  .tab-btn .icon-badge { width: 24px; height: 24px; }
  .tab-btn .icon-badge img { width: 24px; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #e6e6ec;
    box-shadow: 0 16px 28px rgba(10, 9, 64, 0.1);
  }

  .site-header.nav-open nav { display: block; }

  nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  nav li { text-align: center; }
  nav li a { display: block; padding: 12px 24px; }
  .stat-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 14px; text-align: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
