
:root {
  --primary: #365B6D;
  --secondary: #F6F4E8;
  --third: #263F4A;
  --paper: #F6F4E8;
  --ink: #263F4A;
  --line: rgba(38,63,74,.14);
  --muted: #5B7077;
  --mist: #E9EDE8;
  --serif: "Manrope", sans-serif;
  --sans: "DM Sans", sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22,.8,.24,1);
  --shadow-sm: 0 1px 2px rgba(38,63,74,.06), 0 4px 14px rgba(38,63,74,.05);
  --shadow-md: 0 2px 4px rgba(38,63,74,.05), 0 18px 44px rgba(38,63,74,.11);
  --shadow-lg: 0 4px 8px rgba(38,63,74,.06), 0 30px 70px rgba(38,63,74,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

::selection { background: var(--primary); color: var(--secondary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }

.container { width: min(1280px, 88%); margin-inline: auto; }

/* scroll progress */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 100%;
  background: var(--primary);
  transform-origin: left; transform: scaleX(0);
  z-index: 200;
}

/* ---------- shared ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--primary);
  font-size: 12px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before {
  content: ""; width: 28px; height: 1.5px;
  background: currentColor; border-radius: 2px;
}

.light-button {
  display: inline-flex; align-items: center; gap: 16px;
  padding: 8px 8px 8px 24px;
  background: var(--secondary); color: var(--third);
  font-size: 14px; font-weight: 600;
  border-radius: 100px;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.light-button span {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--third); color: var(--secondary);
  font-size: 16px;
  transition: transform .35s var(--ease);
}
.light-button:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 34px rgba(0,0,0,.26); }
.light-button:hover span { transform: rotate(45deg); }

/* ---------- header ---------- */

.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 80px;
  padding-inline: max(6%, calc((100vw - 1280px) / 2));
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(246,244,232,.78);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: height .35s var(--ease), border-color .3s, box-shadow .3s, background .3s;
}
.header.scrolled {
  height: 68px;
  border-color: var(--line);
  background: rgba(246,244,232,.9);
  box-shadow: 0 8px 30px rgba(38,63,74,.06);
}

.logo img { width: 50px; max-height: 100px; object-fit: contain; object-position: left center; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }

.nav a:not(.nav-cta) {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--primary);
  padding: 6px 0;
  transition: color .25s;
}
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--third);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:not(.nav-cta):hover,
.nav a.active { color: var(--third); }
.nav a:not(.nav-cta):hover::after,
.nav a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  border-radius: 100px;
  padding: 12px 22px;
  background: var(--third);
  color: var(--secondary) !important;
  font-size: 14px; font-weight: 600;
  transition: background .3s, transform .3s var(--ease);
}
.nav-cta:hover { background: var(--primary); transform: translateY(-2px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 1px solid var(--line); border-radius: 50%;
  color: var(--third); font-size: 20px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 190px 0 85px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 55% at 85% 35%, rgba(54,91,109,.14), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(54,91,109,.08), transparent 70%),
    linear-gradient(rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(38,63,74,.045) 1px, transparent 1px) 0 0 / 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 85% 80% at 60% 40%, #000 30%, transparent 85%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 60px; }

.hero h1 {
  max-width: 860px;
  margin-top: 28px;
  font: 700 clamp(48px, 7vw, 100px)/1.02 var(--serif);
  letter-spacing: -.05em;
}
.hero h1 span {
  background: linear-gradient(100deg, var(--primary), #5E8798);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--primary);
}

.hero-description {
  width: 320px; flex: none;
  padding-bottom: 10px;
  color: var(--muted);
  font-size: 16px; line-height: 1.75;
}

.hero-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 75px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
}
.hero-index { color: var(--primary); }

.hero .container > * { opacity: 0; transform: translateY(25px); animation: rise .9s var(--ease) forwards; }
.hero .container > *:nth-child(2) { animation-delay: .2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- featured ---------- */

.featured-section { padding: 0 0 clamp(88px, 9vw, 130px); }

.featured {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  min-height: 520px;
  background: radial-gradient(70% 90% at 100% 100%, rgba(54,91,109,.45), transparent 60%), var(--third);
  color: var(--secondary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.featured-image { min-height: 520px; position: relative; overflow: hidden; }
.featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  filter: saturate(.7);
  transition: transform 1s var(--ease);
}
.featured:hover .featured-image img { transform: scale(1.05); }

.featured-content { padding: 60px 56px 48px; display: flex; flex-direction: column; align-items: flex-start; }

.featured-label {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 32px;
  color: #C3D1D0;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.featured-label::before { content: ""; width: 28px; height: 1.5px; background: currentColor; border-radius: 2px; }

.featured-content h2 {
  margin-bottom: 22px;
  font: 700 clamp(30px, 3.4vw, 46px)/1.1 var(--serif);
  letter-spacing: -.04em;
}
.featured-content > p { max-width: 420px; color: rgba(246,244,232,.78); font-size: 15px; line-height: 1.75; }

.article-meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.article-meta span {
  padding: 6px 12px;
  border: 1px solid rgba(246,244,232,.28); border-radius: 100px;
  color: #C3D1D0;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}

.read-link {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(246,244,232,.3);
  font-size: 13px; font-weight: 700;
  color: var(--secondary);
}
.featured-content .article-meta + .read-link { margin-top: auto; }
.featured-content .read-link { margin-top: 40px; }
.read-link span { font-size: 18px; transition: transform .3s var(--ease); }
.read-link:hover span { transform: translate(4px, -4px); }

/* ---------- content intro ---------- */

.content-intro { padding: 0 0 56px; }
.content-intro-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.content-intro h2 { font: 700 clamp(40px, 5.2vw, 70px)/1.05 var(--serif); letter-spacing: -.04em; }
.content-intro p { max-width: 380px; padding-bottom: 6px; color: var(--muted); font-size: 16px; line-height: 1.75; }

/* ---------- filters ---------- */

.filter-section { padding: 26px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-btn {
  padding: 11px 20px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--muted);
  font-size: 13px; font-weight: 600;
  transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.filter-btn:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--third); }
.filter-btn.active { background: var(--third); border-color: var(--third); color: var(--secondary); }

.search-box {
  display: flex; align-items: center; gap: 10px;
  width: 260px;
  padding: 11px 18px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line); border-radius: 100px;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.search-box:focus-within { background: #fff; border-color: var(--primary); box-shadow: var(--shadow-sm); }
.search-box input {
  width: 100%;
  background: transparent; border: 0; outline: 0;
  color: var(--ink); font-size: 14px;
}
.search-box input::placeholder { color: #829095; }
.search-icon { color: var(--primary); font-size: 17px; }

/* ---------- article grid ---------- */

.articles-section { padding: 56px 0 clamp(88px, 9vw, 130px); }

.articles-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.articles-top strong { color: var(--third); font-weight: 700; }

.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.article-card {
  display: flex; flex-direction: column;
  min-width: 0;
  padding: 14px 14px 24px;
  background: rgba(255,255,255,.5);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, border-color .3s;
}
.article-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: #fff; border-color: transparent; }
.article-card[hidden] { display: none; }

.card-image {
  display: block;
  aspect-ratio: 1.42;
  margin-bottom: 24px;
  overflow: hidden;
  background: #DCE3E2;
  border-radius: var(--radius);
  position: relative;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 1s var(--ease); }
.article-card:hover .card-image img { transform: scale(1.06); }

.card-category,
.article-card h3,
.article-card > p,
.card-bottom { margin-inline: 12px; }

.card-category {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 11px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}

.article-card h3 { margin-bottom: 12px; max-width: 360px; font: 700 clamp(21px, 1.9vw, 25px)/1.2 var(--serif); letter-spacing: -.03em; }
.article-card > p { margin-bottom: 24px; max-width: 380px; color: var(--muted); font-size: 15px; line-height: 1.65; }

.card-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 16px;
  border-top: 1px solid var(--line);
}
.card-bottom span { color: var(--muted); font-size: 13px; font-weight: 600; }
.card-bottom a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  color: var(--primary); font-size: 16px;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.article-card:hover .card-bottom a { transform: rotate(45deg); background: var(--third); color: var(--secondary); border-color: var(--third); }

.no-results { display: none; text-align: center; padding: 75px 20px; color: var(--muted); font-size: 16px; }
.no-results.visible { display: block; }

/* ---------- article detail ---------- */

.article-detail { display: none; background: var(--paper); }
.article-detail.visible { display: block; }
.landing-content.hidden { display: none; }

.detail-hero { padding: 160px 0 60px; }

.back-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 56px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--primary);
  color: var(--primary);
  font-size: 14px; font-weight: 600;
  transition: color .25s, border-color .25s;
}
.back-link:hover { color: var(--third); border-color: var(--third); }

.detail-category {
  display: inline-block;
  margin-bottom: 24px;
  padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 100px;
  background: rgba(255,255,255,.55);
  color: var(--primary);
  font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.detail-category:empty { display: none; }

.detail-hero h1 { max-width: 980px; font: 700 clamp(38px, 6vw, 76px)/1.04 var(--serif); letter-spacing: -.045em; }

.detail-subtitle { max-width: 640px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.7; }

.detail-meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.detail-meta span {
  padding: 6px 13px;
  border: 1px solid var(--line); border-radius: 100px;
  color: var(--muted);
  font-size: 12px; font-weight: 600;
}

.detail-image {
  width: 100%; height: 500px;
  margin-bottom: 80px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  filter: saturate(.8);
}

.detail-body { max-width: 760px; margin: 0 auto; padding: 0 0 100px; }
.detail-body p { margin-bottom: 25px; color: #44595F; font-size: 17px; line-height: 1.85; }
.detail-body h2 { margin: 56px 0 20px; font: 700 clamp(26px, 3vw, 34px)/1.15 var(--serif); letter-spacing: -.035em; }
.detail-body h3 { margin: 35px 0 15px; font: 700 21px var(--serif); letter-spacing: -.02em; }

.detail-quote {
  margin: 48px 0;
  padding: 34px 38px;
  background: radial-gradient(80% 90% at 100% 100%, rgba(94,135,152,.4), transparent 60%), var(--third);
  border-radius: var(--radius-lg);
  color: var(--secondary);
  font: 700 clamp(21px, 2.4vw, 28px)/1.3 var(--serif);
  letter-spacing: -.03em;
}

.detail-related { padding: 90px 0 110px; background: var(--mist); }
.detail-related h2 { margin-bottom: 40px; font: 700 clamp(34px, 4.4vw, 56px)/1.05 var(--serif); letter-spacing: -.04em; }

/* ---------- CTA ---------- */

.cta {
  position: relative; overflow: hidden;
  padding-block: clamp(88px, 10vw, 140px);
  background: radial-gradient(70% 80% at 100% 0%, rgba(94,135,152,.4), transparent 60%), var(--primary);
  color: var(--secondary);
}
.cta::before {
  content: "INSIGHTS";
  position: absolute; left: -2%; bottom: -40px;
  font: 800 clamp(100px, 19vw, 270px)/.8 var(--serif);
  letter-spacing: -.06em;
  color: rgba(246,244,232,.055);
  pointer-events: none;
}
.cta::after {
  content: ""; position: absolute;
  width: 520px; height: 520px;
  right: -180px; top: -260px;
  border: 1px solid rgba(246,244,232,.2); border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(246,244,232,.035), 0 0 0 110px rgba(246,244,232,.025);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 50px; }
.cta .eyebrow { color: var(--secondary); }
.cta h2 { max-width: 760px; margin: 28px 0 24px; font: 700 clamp(42px, 5.8vw, 80px)/1.03 var(--serif); letter-spacing: -.05em; }
.cta p { max-width: 440px; color: rgba(246,244,232,.82); font-size: 16px; line-height: 1.8; }

/* ---------- footer ---------- */

.footer { background: var(--third); color: var(--secondary); padding: 72px max(7%, calc((100vw - 1280px) / 2)) 24px; }
.footer-main { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 50px; padding-bottom: 70px; }
.footer-brand img { display: block; width: 100px; height: auto; max-height: 65px; object-fit: contain; object-position: left center; }
.footer-brand p { max-width: 300px; margin-top: 20px; color: rgba(246,244,232,.65); font-size: 14px; line-height: 1.75; }

.footer-column { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-column h4 { margin-bottom: 8px; color: #B9C9CD; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.footer-column a { color: rgba(246,244,232,.82); font-size: 14px; transition: color .2s, transform .3s var(--ease); }
.footer-column a:hover { color: #fff; transform: translateX(4px); }

.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(246,244,232,.18); color: rgba(246,244,232,.55); font-size: 11px; letter-spacing: .08em; }

/* ---------- reveal ---------- */

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.featured.reveal.visible { transition: opacity .9s ease, transform .5s var(--ease), box-shadow .5s var(--ease); }
.reveal.visible.featured:hover { transform: translateY(-6px); }
.article-card.reveal.visible { transition: opacity .9s ease, transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, border-color .3s; }
.reveal.visible.article-card:hover { transform: translateY(-6px); }

/* ---------- responsive ---------- */

@media (max-width: 1050px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-content { padding: 45px 38px 38px; }
}

@media (max-width: 800px) {
  .header { height: 72px; padding-inline: 6%; }
  .header.scrolled { height: 64px; }
  .menu-toggle { display: block; }

  .nav {
    position: absolute; top: 100%; left: 3%; right: 3%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 22px 22px;
    background: rgba(246,244,232,.97);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: .3s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a:not(.nav-cta) { padding: 14px 0; font-size: 16px; }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }

  .hero { padding: 140px 0 60px; }
  .hero-top { display: block; }
  .hero-description { width: auto; max-width: 480px; margin-top: 28px; }
  .hero-bottom { margin-top: 50px; }

  .featured { grid-template-columns: 1fr; }
  .featured-image { min-height: 300px; }

  .content-intro-inner { display: block; }
  .content-intro p { margin-top: 20px; }

  .filter-top { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }

  .detail-hero { padding: 120px 0 40px; }
  .detail-image { height: 340px; margin-bottom: 55px; }

  .cta-inner { display: block; }
  .cta .light-button { margin-top: 30px; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 540px) {
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .hero-bottom { font-size: 9px; }
  .hero-bottom .hero-index { display: none; }

  .featured-image { min-height: 240px; }
  .featured-content { padding: 32px 26px 28px; }
  .featured-label { margin-bottom: 22px; }

  .filters { gap: 7px; }
  .filter-btn { padding: 10px 15px; font-size: 12px; }

  .articles-section { padding: 40px 0 82px; }
  .article-grid { grid-template-columns: 1fr; gap: 16px; }

  .detail-image { height: 250px; }
  .detail-body p { font-size: 16px; }
  .detail-quote { padding: 26px 24px; }
  .detail-related { padding: 70px 0 82px; }

  .cta .light-button { width: 100%; justify-content: space-between; }

  .footer-main { gap: 35px 20px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .hero .container > * { opacity: 1; transform: none; }
}


@media (max-width: 768px) {
  .cta::before {
    display: none;
    content: none;
  }
}