/* ═══════════════════════════════════════════════════
   Pollion Group · Mockup 3B
   Fonts:   Playfair Display (display) · DM Sans (body)
   Palette: Bone · Silver · Pale Horizon · Sky Haze
            Herbal Frost · Granite · Graphite
            Blue Shale · Deep Tides · Pinewood
   ═══════════════════════════════════════════════════ */


/* ─── 1 · DESIGN TOKENS ────────────────────────────────────── */
:root {
  /* Raw palette — colour definitions only */
  --bone:           #f8f8f8;
  --silver:         #eeeeee;
  --pale-horizon:   #d8dce1;
  --sky-haze:       #acc5db;
  --herbal-frost:   #83a998;
  --granite:        #878580;
  --graphite:       #3a3a3a;
  --blue-shale:     #648497;
  --deep-tides:     #134d67;
  --pinewood:       #456849;
  --pinewood-light: #5a8060;

  /* Semantic aliases — use these in components, not the palette names.
     Swapping a palette value here automatically updates every usage. */
  --text:           var(--graphite);     /* primary body text            */
  --text-muted:     var(--granite);      /* captions, secondary copy     */
  --bg:             #fafafa;             /* page background              */
  --bg-light:       var(--bone);         /* light section backgrounds    */
  --bg-mid:         var(--pale-horizon); /* mid-tone section backgrounds */
  --accent:         #4e7490;             /* brand accent (eyebrows, CTA) */
  --accent-pale:    var(--sky-haze);     /* pale accent on dark surfaces */
  --dark:           var(--deep-tides);   /* primary dark section bg      */
  --dark-alt:       var(--graphite);     /* secondary dark bg            */
  --card-alt:       var(--pinewood);     /* accent card background       */
  --card-alt-hover: var(--pinewood-light);
  --line:           rgba(58, 58, 58, 0.1);
  --line-light:     rgba(255, 255, 255, 0.14);

  /* Typography */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body:    "DM Sans", Arial, Helvetica, sans-serif;

  /* Consistent vertical rhythm — use on all page sections */
  --section-pad: clamp(72px, 8vh, 112px);
}


/* ─── 2 · RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html   { scroll-behavior: smooth; }
body   { margin: 0; color: var(--text); background: var(--bg); font-family: var(--font-body); font-size: 15px; line-height: 1.6; }
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }


/* ─── 3 · GLOBAL TYPOGRAPHY ─────────────────────────────────── */
h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 86px);
  font-weight: 400;
  line-height: 0.93;
}


/* ─── 4 · UTILITIES ─────────────────────────────────────────── */

/* Constrained centred container — drop this on any page section */
.container {
  width: min(calc(100% - 48px), 1420px);
  margin-inline: auto;
}

/* Eyebrow label — small uppercase tag above headings */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow.light { color: var(--accent-pale); }

/* Section header — eyebrow + h2 (+ optional body paragraph).
   Reuse on any subpage to get consistent section introductions.
   Override via parent context (.thesis .section-header, etc.)    */
.section-header         { margin-bottom: 52px; }
.section-header h2      { max-width: 640px; }
.section-header p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-top: 18px;
  max-width: 580px;
}

/* Buttons — shared base + variants */
.btn-primary,
.btn-ghost,
.btn-bronze {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-width: 146px;
  min-height: 43px;
  width: fit-content;
  transition: background 200ms ease;
}
.btn-primary             { background: var(--deep-tides); color: var(--bone); }
.btn-primary:hover       { background: #24637a; }
.btn-ghost               { background: var(--sky-haze); color: var(--deep-tides); }
.btn-ghost:hover         { background: var(--pale-horizon); color: var(--text); }
.btn-bronze              { background: var(--accent); color: var(--bone); margin-top: 10px; }
.btn-bronze:hover        { background: var(--dark); }


/* ─── 5 · SITE CHROME ───────────────────────────────────────── */

/* ── Header ── */
.site-header {
  position: fixed;
  z-index: 30;
  inset-block-start: 0;
  inset-inline: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 22px clamp(24px, 5vw, 72px);
  border-bottom: 1px solid transparent;
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease;
}
.site-header.is-scrolled {
  padding-block: 13px;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
}
.brand-logo { width: 30px; height: auto; }

.nav {
  display: flex;
  gap: clamp(18px, 3vw, 48px);
  justify-content: center;
  padding: 8px 18px;
  background: rgba(248, 248, 248, 0.72);
  border: 1px solid rgba(58, 58, 58, 0.08);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav a       { opacity: 0.72; transition: opacity 160ms; }
.nav a:hover { opacity: 1; }
/* Strip pill style once the header has a background of its own */
.site-header.is-scrolled .nav {
  padding-inline: 0;
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.cta-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--text);
  color: var(--bone);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 200ms;
}
.cta-pill:hover { background: var(--accent); }

/* ── Footer ── */
.site-footer { background: var(--dark-alt); color: var(--bone); }

.footer-gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 220px;
  overflow: hidden;
}
.footer-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.7) saturate(0.75);
  transition: filter 300ms ease;
}
.footer-gallery img:hover { filter: brightness(0.9) saturate(1); }

.footer-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(280px, 0.5fr);
  gap: clamp(40px, 10vw, 160px);
  padding: 64px clamp(24px, calc((100vw - 1420px) / 2 + 64px), 128px) 36px;
}
.footer-brand-mark             { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.footer-brand-mark img         { width: 30px; }
.footer-brand-mark span        { color: var(--bone); font-size: 16px; font-weight: 500; }
.footer-brand p {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  font-weight: 300;
  color: rgba(248, 248, 248, 0.62);
  max-width: 400px;
  line-height: 1.42;
}
.footer-links                  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.footer-links nav              { display: grid; gap: 12px; align-content: start; }
.footer-links span             { font-size: 9px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(248, 248, 248, 0.34); margin-bottom: 4px; }
.footer-links a                { font-size: 13px; color: rgba(248, 248, 248, 0.60); transition: color 160ms; }
.footer-links a:hover          { color: var(--bone); }

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(24px, calc((100vw - 1420px) / 2 + 64px), 128px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  color: rgba(248, 248, 248, 0.36);
}
.footer-legal div     { display: flex; gap: 24px; }
.footer-legal a       { color: rgba(248, 248, 248, 0.36); transition: color 160ms; }
.footer-legal a:hover { color: rgba(248, 248, 248, 0.72); }


/* ─── 6 · PAGE SECTIONS ─────────────────────────────────────── */

/* ── Hero ── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: var(--bg-light);
  overflow: hidden;
}
.hero-content {
  display: grid;
  align-content: end;
  padding:
    clamp(100px, 16vh, 200px)
    clamp(32px, 6vw, 88px)
    clamp(80px, 10vh, 140px)
    clamp(24px, calc((100vw - 1420px) / 2 + 64px), 128px);
}
.hero-content h1     { font-family: var(--font-display); font-size: clamp(52px, 6.5vw, 118px); font-weight: 400; line-height: 0.88; margin-bottom: 28px; max-width: 600px; }
.hero-content h1 em  { font-style: italic; color: var(--accent); }
.hero-lead           { max-width: 440px; color: var(--text-muted); line-height: 1.68; margin-bottom: 38px; }
.hero-actions        { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* Photo collage */
.hero-gallery        { position: relative; overflow: hidden; background: var(--bg-mid); }
.gallery-main        { position: absolute; inset: 0 0 0 40px; overflow: hidden; }
.gallery-main img    { width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.hero:hover .gallery-main img { transform: scale(1.04); }

.gallery-secondary {
  position: absolute;
  z-index: 2;
  bottom: 80px; left: -24px;
  width: 44%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: 0 28px 72px rgba(58, 58, 58, 0.22);
}
.gallery-secondary img { width: 100%; height: 100%; object-fit: cover; }

.gallery-badge {
  position: absolute;
  z-index: 3;
  top: 48px; right: 44px;
  display: grid;
  gap: 2px;
  text-align: center;
  padding: 18px 22px;
  background: var(--bg);
  border: 1px solid var(--line);
  box-shadow: 0 12px 38px rgba(58, 58, 58, 0.12);
}
.gallery-badge span   { font-size: 9px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.gallery-badge strong { font-family: var(--font-display); font-size: 44px; font-weight: 300; line-height: 1; color: var(--accent); }


/* ── Ticker ── */
.ticker              { overflow: hidden; background: var(--dark); padding-block: 13px; }
.ticker-track        { display: flex; gap: 28px; white-space: nowrap; width: max-content; animation: marquee 30s linear infinite; }
.ticker-track:hover  { animation-play-state: paused; }
.ticker-track span   { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(248, 248, 248, 0.7); }
.ticker-track .sep   { color: var(--sky-haze); letter-spacing: 0; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.stat-item        { display: grid; gap: 8px; padding: clamp(40px, 6vh, 72px) clamp(32px, 6vw, 80px); text-align: center; }
.stat-item strong { font-family: var(--font-display); font-size: clamp(64px, 9vw, 128px); font-weight: 300; line-height: 0.82; color: var(--text); letter-spacing: -0.02em; }
.stat-item span   { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.stat-divider     { font-family: var(--font-display); font-size: clamp(48px, 6vw, 96px); font-weight: 300; color: var(--sky-haze); line-height: 1; padding-inline: 12px; user-select: none; }


/* ── Thesis / Conviction ── */
.thesis {
  position: relative;
  background: var(--dark);
  color: var(--bone);
  overflow: hidden;
}
/* Watermark: logo ghost behind content */
.thesis::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 126px;
  right: clamp(-38px, 3vw, 42px);
  bottom: -30px;
  width: min(59.8vw, 874px);
  background: url("assets/logo_4b_white.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.thesis-inner {
  position: relative;
  z-index: 1;
  padding: 96px clamp(24px, calc((100vw - 1420px) / 2 + 64px), 128px);
}
/* Section-header overrides for the dark thesis context */
.thesis .section-header      { max-width: 900px; margin-bottom: 64px; }
.thesis .section-header h2   { color: var(--bone); margin-bottom: 22px; }
.thesis .section-header p    { color: rgba(248, 248, 248, 0.64); max-width: 680px; }

.thesis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}
.thesis-grid article               { padding: 40px 32px; display: grid; align-content: space-between; min-height: 300px; transition: background 200ms; cursor: default; }
.thesis-grid article:nth-child(1)  { background: rgba(255, 255, 255, 0.10); }
.thesis-grid article:nth-child(2)  { background: rgba(255, 255, 255, 0.20); }
.thesis-grid article:nth-child(3)  { background: rgba(255, 255, 255, 0.30); }
.thesis-grid article:hover         { background: rgba(255, 255, 255, 0.34); }

.pillar-num      { font-family: var(--font-display); font-size: 52px; font-weight: 300; color: var(--accent-pale); line-height: 1; }
.pillar-body h3  { font-family: var(--font-display); font-size: 34px; font-weight: 400; color: var(--bone); margin-bottom: 14px; }
.pillar-body p   { color: rgba(248, 248, 248, 0.64); font-size: 14px; line-height: 1.62; }


/* ── Sectors ── */
.sectors { background: var(--bg-light); padding: var(--section-pad) 0; overflow: hidden; }

.sectors-showcase {
  display: grid;
  grid-template-columns: minmax(340px, 1fr) minmax(260px, 0.48fr);
  gap: 16px;
  align-items: stretch;
}

.sector-feature              { position: relative; overflow: hidden; min-height: 580px; }
.sector-feature figure       { position: absolute; inset: 0; }
.sector-feature figure img   { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.sector-feature:hover figure img { transform: scale(1.04); }
.sector-feature::after       { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 38%, rgba(19, 77, 103, 0.86)); }

.sector-card-body            { position: absolute; z-index: 1; left: 28px; right: 28px; bottom: 28px; color: var(--bone); }
.sector-card-body span       { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-pale); margin-bottom: 10px; }
.sector-card-body h3         { font-family: var(--font-display); font-size: 36px; font-weight: 400; line-height: 0.97; margin-bottom: 12px; }
.sector-card-body p          { font-size: 13px; color: rgba(248, 248, 248, 0.76); line-height: 1.55; }

.sectors-secondary           { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }

.sector-card                 { background: var(--silver); padding: 28px 26px; display: grid; align-content: end; transition: background 200ms; }
.sector-card:hover           { background: var(--pale-horizon); }
.sector-card > span          { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sector-card h3              { font-family: var(--font-display); font-size: 26px; font-weight: 400; line-height: 1.05; margin-bottom: 10px; }
.sector-card p               { font-size: 13px; color: var(--text-muted); line-height: 1.55; }

.sector-card.accent          { background: var(--card-alt); color: var(--bone); }
.sector-card.accent > span   { color: var(--accent-pale); }
.sector-card.accent:hover    { background: var(--card-alt-hover); }
.sector-card.accent p        { color: rgba(248, 248, 248, 0.72); }

.sector-card.photo           { position: relative; overflow: hidden; padding: 0; }
.sector-card.photo img       { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.sector-card.photo:hover img { transform: scale(1.06); }

.sector-card-overlay         { position: absolute; z-index: 1; inset: 0; display: grid; align-content: end; padding: 24px 22px; background: linear-gradient(180deg, transparent 28%, rgba(19, 77, 103, 0.84)); color: var(--bone); }
.sector-card-overlay span    { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-pale); margin-bottom: 8px; }
.sector-card-overlay h3      { font-family: var(--font-display); font-size: 24px; font-weight: 400; line-height: 1.05; }


/* ── Atlas ── */
.atlas                 { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; background: var(--bg-mid); }
.atlas-image           { overflow: hidden; }
.atlas-image img       { width: 100%; height: 100%; object-fit: cover; }
.atlas-body            { display: grid; align-content: center; padding: 80px clamp(40px, 7vw, 96px) 80px clamp(48px, 6vw, 80px); }
.atlas-body h2         { margin-bottom: 18px; }
.atlas-body > p        { color: var(--text-muted); line-height: 1.7; margin-bottom: 44px; max-width: 440px; }

.atlas-steps > div          { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; align-items: baseline; padding: 18px 0; border-top: 1px solid var(--line); }
.atlas-steps > div:last-child { border-bottom: 1px solid var(--line); }
.atlas-steps strong     { font-size: 13px; font-weight: 600; color: var(--text); }
.atlas-steps span       { font-size: 13px; color: var(--text-muted); line-height: 1.5; }


/* ── Process ── */
.process               { background: var(--blue-shale); color: var(--bone); padding: var(--section-pad) 0; }
.process-inner         { display: grid; gap: 60px; }
/* Section-header override for the blue-shale context */
.process .section-header h2  { color: var(--bone); }
.process .section-header p   { color: var(--bone); }

.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.12); }
.process-steps article              { padding: 40px 30px; }
.process-steps article:nth-child(1) { background: rgba(19, 77, 103, 0.10); }
.process-steps article:nth-child(2) { background: rgba(19, 77, 103, 0.20); }
.process-steps article:nth-child(3) { background: rgba(19, 77, 103, 0.30); }

.process-steps span    { display: block; font-family: var(--font-display); font-size: 52px; font-weight: 300; color: var(--sky-haze); margin-bottom: 22px; line-height: 1; }
.process-steps h3      { font-size: 18px; font-weight: 500; color: var(--bone); margin-bottom: 14px; }
.process-steps p       { font-size: 14px; color: rgba(248, 248, 248, 0.58); line-height: 1.62; }


/* ── Partnership CTA ── */
.partnership           { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; background: var(--dark-alt); color: var(--bone); }
.partnership-image     { overflow: hidden; }
.partnership-image img { width: 100%; height: 100%; object-fit: cover; }
.partnership-copy      { display: grid; align-content: center; padding: 80px clamp(40px, 7vw, 96px); }
.partnership-copy h2   { color: var(--bone); max-width: 500px; margin-bottom: 24px; }
.partnership-copy p    { color: rgba(248, 248, 248, 0.66); line-height: 1.72; max-width: 440px; margin-bottom: 16px; }


/* ── Quote Band ── */
.quote-band {
  background: var(--bg);
  padding: var(--section-pad) clamp(24px, 10vw, 180px);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.quote-band blockquote { font-family: var(--font-display); font-size: clamp(28px, 4.2vw, 68px); font-style: italic; font-weight: 300; line-height: 1.18; color: var(--text); max-width: 900px; margin: 0 auto; }
.quote-mark            { font-size: 1.3em; line-height: 0; vertical-align: -0.18em; color: var(--accent); margin-right: 0.08em; }


/* ─── 7 · RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1140px) {
  .site-header                        { grid-template-columns: 1fr auto; }
  .nav                                { display: none; }
  .hero, .atlas, .partnership         { grid-template-columns: 1fr; }
  .hero-gallery                       { min-height: 58vh; }
  .stats-bar                          { grid-template-columns: 1fr 1fr 1fr; }
  .stat-divider                       { display: none; }
  .thesis-grid                        { grid-template-columns: 1fr; }
  .sectors-showcase                   { grid-template-columns: 1fr; }
  .sectors-secondary                  { grid-template-rows: auto; grid-template-columns: repeat(3, 1fr); }
  .process-steps                      { grid-template-columns: 1fr; }
  .footer-gallery                     { grid-template-columns: repeat(3, 1fr); }
  .footer-gallery img:nth-child(n+4)  { display: none; }
}

@media (max-width: 780px) {
  .hero-content      { padding: 120px 20px 68px; }
  .gallery-secondary { width: 55%; left: -16px; }
  .gallery-badge     { top: 28px; right: 24px; }
  .stats-bar         { grid-template-columns: 1fr; }
  .stat-item         { border-bottom: 1px solid var(--line); }
  .thesis-inner      { padding: 72px 20px; }
  .sectors           { padding: 72px 0; }
  .sectors-secondary { grid-template-columns: 1fr; }
  .atlas-body        { padding: 60px 20px; }
  .process           { padding: 72px 0; }
  .partnership-copy  { padding: 60px 20px; }
  .quote-band        { padding: 72px 20px; }
  .footer-gallery    { grid-template-columns: repeat(3, 1fr); height: 160px; }
  .footer-body       { grid-template-columns: 1fr; padding: 48px 20px 28px; }
  .footer-links      { grid-template-columns: 1fr 1fr; }
  .footer-legal      { flex-direction: column; gap: 12px; padding: 20px; text-align: center; }
}
