/* Thalia Venturis Partners — site stylesheet
   Brand tokens pulled from the live Sitejet build (Aug 2026):
   navy #1c3d79 (hero/footer), indigo #607ae6 (accent), Roboto Slab headings,
   Helvetica Neue/Arial body. */

:root {
  --navy: #1c3d79;
  --navy-dark: #142c59;
  --indigo: #607ae6;
  --text: #333333;
  --text-light: #6b7280;
  --white: #ffffff;
  --gray-bg: #f3f4f6;
  --border: #e5e7eb;
  --font-heading: 'Roboto Slab', Georgia, 'Times New Roman', serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
  line-height: 1.2;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand img { height: 32px; width: 32px; }
.brand span {
  font-size: 1.05rem;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

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

.site-nav a {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.site-nav a:hover { color: var(--indigo); text-decoration: none; }
.site-nav a.active { color: #337ab7; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .site-nav.open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .site-nav li { border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: 14px 0; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28,61,121,0.75), rgba(28,61,121,0.45));
}
/* Brightens just the houses along the bottom of the hero photo, same
   technique as the newspaper strip on the News and Insights banner:
   a second copy of the background, filtered brighter, masked to only
   that region, layered above the dark overlay. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  filter: brightness(1.3) contrast(1.1) saturate(1.15);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, black 72%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 58%, black 72%);
}
.hero .container { position: relative; z-index: 1; text-align: right; }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
  margin: 0;
}

/* ---------- Page title band (inner pages) ---------- */
.page-band {
  position: relative;
  background: var(--navy);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(28,61,121,0.82), rgba(28,61,121,0.6));
}
.page-band .container { position: relative; z-index: 1; }

/* ---------- Photo band: title overlaid directly on a full-bleed photo
   (the whole source image, uncropped — nothing hidden or split off) ---------- */
.photo-band {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.photo-band-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-band-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(120deg, rgba(28,61,121,0.55), rgba(28,61,121,0.35));
}
/* Used when the photo has its own strong focal point lower down (e.g. the
   News banner's newspapers) — keeps the title's dark backdrop up top only,
   fading to fully clear so the rest of the photo isn't dimmed. */
.photo-band-overlay-top {
  align-items: flex-start;
  background: linear-gradient(to bottom, rgba(20,44,89,0.78) 0%, rgba(20,44,89,0.45) 45%, rgba(20,44,89,0) 75%);
  padding-top: 40px;
}
.photo-band-overlay h1 {
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  margin: 0;
}
/* Brightens just the lower portion of the photo (e.g. the newspapers):
   a second copy of the same image, clipped to that region, with a real
   brightness/contrast filter — keeps full detail and contrast, unlike
   a translucent white wash which fades everything out. */
.photo-band-img-bright {
  position: absolute;
  top: 0;
  left: 0;
  filter: brightness(1.25) contrast(1.1) saturate(1.1);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, black 58%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 42%, black 58%);
}
.page-band h1 { color: var(--white); margin-bottom: 0.3em; }
.page-band p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
}

/* ---------- Mission / intro section ---------- */
.mission {
  background: var(--gray-bg);
  padding: 64px 0;
  text-align: center;
}
.mission h2 {
  color: var(--indigo);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}
.mission h2 .line { display: inline; }
.mission p {
  max-width: 820px;
  margin: 1.2em auto 0;
  color: var(--text);
}

/* ---------- Card grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 64px 0;
}
@media (max-width: 780px) {
  .cards { grid-template-columns: 1fr; }
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card .icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  color: var(--indigo);
}
.card .card-photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--gray-bg);
  box-shadow: 0 2px 8px rgba(28,61,121,0.18);
}
.card h3 {
  font-size: 1.15rem;
  color: var(--navy);
}
.card p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

/* ---------- Growth sector grid ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 56px 0 64px;
}
@media (max-width: 900px) {
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sectors { grid-template-columns: 1fr; }
}
.sector {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--indigo);
  border-radius: 6px;
  padding: 24px;
}
.sector h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.4em;
}
.sector p { margin: 0 0 0.6em; color: var(--text); font-size: 0.92rem; }
.sector .potential {
  font-size: 0.85rem;
  color: var(--text-light);
  font-style: italic;
}

/* ---------- News / insights ---------- */
.news-hero {
  background: var(--gray-bg);
  padding: 24px 0;
}
.news-hero .box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  max-width: 900px;
  margin: 0 auto;
}
.box-with-logo {
  display: flex;
  align-items: center;
  gap: 24px;
}
.box-logo-link { flex-shrink: 0; }
.box-logo { width: 130px; height: auto; }
@media (max-width: 600px) {
  .box-with-logo { flex-direction: column; align-items: flex-start; }
}
.article-list {
  padding: 32px 0 40px;
  display: grid;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.article {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
}
.article p { font-size: 0.95rem; }
@media (max-width: 700px) {
  .article { grid-template-columns: 1fr; }
}
.article img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; }
.article.article-text-only { grid-template-columns: 1fr; }
.article h3 { color: var(--navy); margin-bottom: 0.3em; }
.article .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.5em;
}
/* Breaking News: same plain-text tag style as "In the know", just with
   a pulsing glow on the text itself (on-theme indigo) to draw the eye
   without a jarring badge/box. */
.article .tag-breaking {
  color: #dc2626;
  animation: breaking-glow 1.8s ease-in-out infinite;
}
@keyframes breaking-glow {
  0%, 100% { text-shadow: 0 0 0 rgba(220,38,38,0); }
  50% { text-shadow: 0 0 8px rgba(220,38,38,0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .tag-breaking { animation: none; }
}

/* Nefotir.ai mention: their own brand mark and accent color, so it
   reads as a distinct partner brand rather than blending into ours. */
.nefotir-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}
.article .nefotir-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
  object-fit: contain;
}
.nefotir-link {
  color: #0FBFA6;
}
.nefotir-link:hover {
  color: #0a9585;
}
.link-list {
  max-width: 900px;
  margin: 0 auto 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 28px;
}
.link-list h2 { color: var(--navy); margin-bottom: 0.6em; font-size: 1.3rem; }
.link-list ul { padding-left: 1.2em; margin: 0; }
.link-list li { margin-bottom: 0.5em; font-size: 0.95rem; }
.link-list > p { font-size: 0.95rem; }

/* ---------- At a glance ---------- */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 48px 0 16px;
}
@media (max-width: 900px) {
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .glance-grid { grid-template-columns: 1fr; }
}
.glance-tile {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
}
.glance-tile .icon {
  width: 40px;
  height: 40px;
  color: var(--indigo);
  margin: 0 auto 14px;
}
.glance-tile h3 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3em;
}
.glance-tile p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}
.glance-more {
  text-align: center;
  padding: 8px 0 64px;
  font-weight: 600;
}

/* ---------- Contact form ---------- */
.contact-wrap {
  padding: 56px 0 72px;
  max-width: 680px;
  margin: 0 auto;
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(96,122,230,0.15);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.submit-btn {
  background: var(--indigo);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.submit-btn:hover { background: var(--navy); }
.form-note { font-size: 0.85rem; color: var(--text-light); margin-top: 10px; }
.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-status.error { display: block; background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 24px;
}
.footer-heading {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.footer-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto 36px;
  text-align: center;
}
@media (max-width: 700px) {
  .footer-items { grid-template-columns: repeat(2, 1fr); }
}
.footer-items .icon {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  color: var(--white);
}
.footer-items h5 {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
  margin: 0;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
}
.footer-bottom a { color: rgba(255,255,255,0.85); }
