/*
Theme Name: Akama
Theme URI: https://akamaholding.com
Author: Akama Holding
Description: Custom theme for Akama Holding. Renders the existing pages with the investments and news post types, their ACF fields, and the current media library.
Version: 1.9.11
Text Domain: akama
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --ink: #0b0d10;
  --navy: #0b0d10;
  --navy-2: #14171c;
  --blue: #2492da;
  --brand: #2492da;
  --brand-deep: #1572b3;
  --paper: #f6f5f2;
  --paper-2: #ffffff;
  --white: #ffffff;
  --muted: #6b6f76;
  --line: #e3e1db;
  --red: #2492da;
  --serif: "Newsreader", Georgia, serif;
  --display: "Inter Tight", "Inter", sans-serif;
  --sans: "Inter", "Segoe UI", sans-serif;
  --shadow: none;
  --header: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: #373737;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }
h1, h2, h3, p { margin: 0; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink);
}

h1, h2, h3, .pull, .address, .stat strong, .timeline strong {
  font-family: var(--display);
  font-weight: 500;
  font-style: normal;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.serif { font-family: var(--serif); font-weight: 500; }
h1 { font-size: clamp(3.6rem, 7.4vw, 6.4rem); line-height: 0.96; font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.05; font-weight: 500; }
h3 { font-size: 1.45rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: inherit;
  letter-spacing: 0;
}

.lead {
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.55;
  color: inherit;
}

.muted { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 80px;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
.header-inner {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-logo {
  position: relative;
  display: block;
  height: 36px;
  aspect-ratio: 695 / 195;
  overflow: hidden;
  flex: none;
}
.site-logo img {
  position: absolute;
  top: -41%;
  left: -23.74%;
  width: 147.34%;
  max-width: none;
  height: auto;
}
.site-header.is-overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-overlay .site-logo.is-dark { display: none; }
.site-header.is-overlay .menu a { color: rgba(255, 255, 255, .65); }
.site-header.is-overlay .menu a:hover,
.site-header.is-overlay .menu .current-menu-item > a,
.site-header.is-overlay .menu .current_page_item > a { color: white; }
.site-header.is-overlay .nav-toggle { color: white; }
.site-header.is-overlay.is-stuck {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: var(--line);
}
.site-header.is-overlay.is-stuck .site-logo.is-light { display: none; }
.site-header.is-overlay.is-stuck .site-logo.is-dark { display: block; }
.site-header.is-overlay.is-stuck .menu a { color: #5f6271; }
.site-header.is-overlay.is-stuck .menu a:hover,
.site-header.is-overlay.is-stuck .menu .current-menu-item > a,
.site-header.is-overlay.is-stuck .menu .current_page_item > a { color: var(--ink); }
.site-header.is-overlay.is-stuck .nav-toggle { color: var(--ink); }
.site-header.is-overlay.is-stuck .header-cta { background: var(--ink); color: white; }
.site-header.is-overlay.is-stuck .header-cta:hover { background: var(--brand-deep); color: white; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.nav-panel-bar { display: none; }
.menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}
.menu a {
  position: relative;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: #5f6271;
  padding: 8px 16px;
}
.menu a:hover,
.menu .current-menu-item > a,
.menu .current_page_item > a { color: var(--ink); }
.site-header.is-overlay .menu .current-menu-item > a::after,
.site-header.is-overlay .menu .current_page_item > a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 2px;
  height: 1px;
  background: var(--brand);
}
.header-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: transform .35s ease, background .35s ease, gap .35s ease;
}
.btn-dark::after, .btn-light::after {
  content: "↗";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}
.header-cta, .btn-dark {
  background: #111;
  color: white;
}
.header-cta::after, .btn-dark::after { background: #2b2b2b; color: white; }
.header-cta:hover, .btn-dark:hover, .btn-light:hover { transform: translateY(-2px); gap: 16px; }
.btn-light { background: white; color: #161922; }
.btn-light::after { background: #161922; color: white; }
.site-header .header-cta {
  margin-left: 16px;
  min-height: 0;
  padding: 10px 20px;
  background: white;
  color: var(--ink);
}
.site-header .header-cta::after { content: none; background: none; width: auto; height: auto; }
.site-header.is-overlay .header-cta:hover { background: var(--brand); color: white; transform: none; gap: 12px; }
.site-header:not(.is-overlay) .header-cta { background: var(--ink); color: white; }
.site-header:not(.is-overlay) .header-cta:hover { background: var(--brand-deep); color: white; transform: none; }
.mp-form .btn-dark,
.home-talk .btn-light {
  min-height: 0;
  padding: 12px 22px;
}
.mp-form .btn-dark::after,
.home-talk .btn-light::after {
  content: "→";
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  color: inherit;
  display: inline;
  font-size: 16px;
}
.mp-form .btn-dark:hover { background: var(--brand-deep); transform: none; gap: 12px; }
.home-talk .btn-light:hover { transform: none; gap: 12px; }
.btn-line {
  background: none;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  color: var(--ink);
  gap: 8px;
}
.btn-line::after { content: "→"; transition: transform .35s ease; }
.btn-line:hover::after { transform: translateX(4px); }
.hero .btn-line { color: white; }
.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span:not(.screen-reader-text) {
  position: absolute;
  right: 11px;
  height: 1px;
  background: currentColor;
  transform-origin: center;
  transition: top .3s ease, width .3s ease, right .3s ease, transform .3s ease, opacity .2s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; width: 22px; }
.nav-toggle span:nth-child(2) { top: 21px; width: 15px; }
.nav-toggle span:nth-child(3) { top: 26px; width: 9px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1),
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 21px;
  right: 13px;
  width: 18px;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(40deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-40deg); }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  display: flex;
  align-items: flex-end;
  color: white;
  overflow: hidden;
  background: var(--navy);
}
.hero-media, .hero-media::after { position: absolute; inset: 0; }
.hero-media {
  background: var(--hero) center/cover no-repeat;
  overflow: hidden;
}
.hero-media iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: 177.78vh;
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 10, 14, .22) 0%, rgba(8, 10, 14, .12) 46%, rgba(8, 10, 14, .58) 100%);
}
.hero-media::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 14, 18, .72) 0%, rgba(12, 14, 18, .28) 62%, rgba(12, 14, 18, .4) 100%),
    linear-gradient(180deg, rgba(12, 14, 18, .18), rgba(12, 14, 18, .45));
}
.hero-copy { position: relative; padding: 12vh 0 80px; }
.hero .kicker, .hero h1, .hero .lead { color: white; }
.hero .kicker { background: rgba(255,255,255,.16); }
.hero .kicker::before { background: white; }
.hero-copy { animation: rise .9s cubic-bezier(.22,1,.36,1) both; }
.hero .lead { margin-top: 18px; color: rgba(255,255,255,.86); font-weight: 400; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.page-hero { min-height: 62vh; }
.page-hero h1 { font-size: clamp(3.2rem, 7vw, 5.8rem); }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  position: relative;
  background: transparent;
  color: var(--ink);
  border: 0;
}
.stat { padding: 8px 24px 8px 0; border: 0; }
.stat:last-child { border-right: 0; }
.stat strong {
  display: block;
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  line-height: 1;
  color: var(--ink);
  font-weight: 500;
}
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 15px; }

.section { padding: 96px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head p { max-width: 34rem; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.prose p + p { margin-top: 1.1em; }
.prose p { font-size: 1.05rem; }
.pull {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  line-height: 0.95;
}

.logo-grid, .news-grid, .board-grid {
  display: grid;
  gap: 16px;
}
.logo-grid { grid-template-columns: repeat(4, 1fr); }
.news-grid { grid-template-columns: repeat(3, 1fr); }
.board-grid { grid-template-columns: repeat(3, 1fr); }

.logo-card, .news-card, .person-card {
  background: transparent;
  border: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.logo-card {
  min-height: 160px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.logo-card img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  transition: transform .55s cubic-bezier(.22,1,.36,1);
}
.logo-card:hover img { transform: scale(1.08); }
.logo-card strong { display: block; margin-top: 16px; font-size: 15px; font-weight: 500; letter-spacing: 0; }
.logo-card small { color: var(--muted); font-size: 12px; }
.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
}
.logo-card.is-exited { background: transparent; }
.logo-card.is-exited img { filter: grayscale(1); opacity: .72; }

.news-card { display: flex; flex-direction: column; overflow: hidden; }
.news-card img { width: 100%; height: 230px; object-fit: cover; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.news-card:hover img { transform: scale(1.05); }
.news-card div { padding: 16px 0 0; }
.news-card time { color: var(--muted); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.news-card h3 { margin-top: 10px; font-size: 1.45rem; }
.news-fallback { background: linear-gradient(160deg, var(--navy), var(--navy-2)); height: 210px; }

.leaders { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.leader {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  background: transparent;
  border: 0;
  min-height: 420px;
  gap: 28px;
}
.leader img { width: 100%; height: 100%; object-fit: cover; }
.leader div, .person-copy { padding: 32px; }
.leader .prose p { color: var(--muted); }
.role { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 8px; }
.person-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center 18%; }
.person-card h3 { margin: 4px 0 6px; }
.person-card p { color: var(--muted); font-size: 14px; }
.person-card .btn { margin-top: 12px; }

.timeline { display: grid; gap: 0; margin-top: 28px; }
.timeline article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.timeline strong { font-size: 2rem; }

.band {
  position: relative;
  color: white;
  overflow: hidden;
  background: var(--navy);
}
.band-media { position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; opacity: .28; }
.band .wrap { position: relative; padding: 88px 0; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.band h2 { max-width: 14ch; color: white; }
.band .kicker { color: white; }


.home-hero { min-height: 720px; height: 720px; }
@media (min-width: 640px) {
  .home-hero, .home-hero-body { min-height: 880px; height: 880px; }
}
.home-hero .hero-media::after { content: none; }
.home-hero .hero-shade { background: rgba(11, 13, 16, .25); }
.home-hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  min-height: 720px;
  padding-bottom: 48px;
}
.home-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 255, 255, .85);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.home-textlink::after { content: "→"; }
.home-textlink:hover { color: white; }
.home-hero .hero-copy { padding: 0; max-width: none; }
.home-hero h1 {
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  max-width: none;
  text-shadow: 0 1px 24px rgba(0, 0, 0, .35);
}
.home-hero .hero-actions { margin-top: 22px; }
.home-scroll {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .7);
  font-size: 12px;
}
.home-scroll::after { content: "↓"; }
@media (min-width: 760px) { .home-scroll { display: flex; } }

.home-kicker { color: var(--brand); font-size: 14px; font-weight: 500; }
.home-grow { padding: 96px 0 120px; }
.home-grow-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.home-years {
  margin-top: 28px;
  font-family: var(--display);
  font-size: clamp(6rem, 10vw, 10rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--ink);
}
.home-years span { color: var(--brand); }
.home-years-note { margin-top: 12px; font-size: 1.125rem; color: var(--muted); }
.home-grow h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.home-grow h2 em { color: var(--brand-deep); font-weight: 400; }
.home-grow-lead { max-width: 40rem; margin-top: 28px; font-size: 1.125rem; line-height: 1.7; color: var(--muted); }
.home-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
  margin: 56px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}
.home-stats > div { display: flex; flex-direction: column; align-items: flex-start; }
.home-stats dd {
  display: flex;
  align-items: baseline;
  margin: 0;
  line-height: 1;
}
.home-stats strong,
.home-stats dd > span {
  font-family: var(--display);
  font-size: clamp(2.6rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}
.home-stats dd > span { color: var(--brand); }
.home-stats dt { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.4; }

.home-ace { background: var(--ink); color: white; }
.home-ace-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.home-ace h2 { max-width: 16ch; color: white; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.home-ace h2 em { color: rgba(255,255,255,.7); font-weight: 400; }
.home-ace-head p { max-width: 28rem; color: #9aa0a8; font-size: 1.05rem; line-height: 1.6; }
.home-ace .wrap { padding: 96px 0 108px; }
.home-ace-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  border-radius: 18px;
  background: #2a2f37;
}
.home-ace-steps li { background: #14171c; padding: 36px 32px 40px; }
.home-ace-steps span { color: var(--brand); font-family: var(--display); font-size: 14px; font-weight: 500; }
.home-ace-steps h3 { margin-top: 48px; color: white; font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 600; letter-spacing: -0.02em; }
.home-ace-steps h3 em { color: var(--brand); font-style: normal; font-family: var(--display); font-weight: 600; }
.home-ace-steps p { margin-top: 14px; color: #9aa0a8; font-size: 15px; line-height: 1.6; }
.home-ace-notes {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 8px 56px;
  align-items: start;
  margin-top: 40px;
  color: rgba(255, 255, 255, .8);
  font-size: 15px;
}
.home-ace-notes p {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}
.home-ace-notes strong {
  color: white;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.home-ace-notes span { margin-top: 8px; line-height: 1.35; }

.home-portfolio { padding: 108px 0 120px; }
.home-portfolio-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.home-portfolio h2 { margin-top: 12px; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.025em; }
.home-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: white;
}
.home-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 168px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
  text-decoration: none;
  color: inherit;
}
.home-logo img {
  max-height: 64px;
  max-width: 70%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter .2s ease;
}
.home-logo:hover img { filter: none; }

.home-talk { background: var(--brand); color: white; }
.home-talk .wrap {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 72px 0 80px;
}
.home-talk h2 { max-width: 14ch; color: white; font-size: clamp(2.4rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.home-talk h2 em { color: white; font-weight: 400; }

.page-mast {
  position: relative;
  isolation: isolate;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: white;
  background: var(--ink) var(--photo) center/cover no-repeat;
  overflow: hidden;
}
.page-mast::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, .55);
}
.page-mast .wrap { position: relative; padding: 144px 0 72px; }
.page-mast h1 {
  margin-top: 16px;
  max-width: 14ch;
  color: white;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
.page-mast h1 em { font-weight: 400; color: white; }
.page-mast-split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.page-mast-split > p { max-width: 22rem; color: rgba(255,255,255,.75); font-size: 1.05rem; line-height: 1.6; }

.inv-intro { padding: 96px 0; }
.inv-intro-grid { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 64px; }
.inv-intro h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; }
.inv-intro-grid > div > p { font-family: var(--display); font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.35; }
.inv-list { border-top: 1px solid var(--line); background: white; padding: 72px 0 96px; }
.inv-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.inv-bar h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; }
.inv-bar div[role="tablist"] { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.inv-bar button { border: 0; background: transparent; border-radius: 999px; padding: 8px 18px; font: inherit; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; }
.inv-bar button.is-on { background: var(--ink); color: white; }
.inv-bar button span { margin-left: 6px; }
.inv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.inv-card { display: flex; flex-direction: column; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; color: inherit; overflow: hidden; }
.inv-card:hover { box-shadow: inset 0 0 0 1px rgba(11,13,16,.3); }
.inv-mark { display: flex; align-items: center; justify-content: center; height: 144px; background: white; padding: 24px; }
.inv-mark img { max-height: 56px; max-width: 75%; width: auto; object-fit: contain; }
.inv-card.is-exited img { filter: grayscale(1); opacity: .7; }
.inv-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: auto; padding: 12px 16px; border-top: 1px solid var(--line); }
.inv-meta p { font-size: 15px; font-weight: 600; }
.inv-meta small { display: block; color: var(--muted); font-size: 13px; }
.inv-meta span { color: var(--muted); }
.inv-exited-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 72px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.inv-exited-head p { color: var(--muted); font-size: 14px; }
[data-portfolio][data-show="current"] [data-group="exited"],
[data-portfolio][data-show="exited"] [data-group="current"] { display: none; }
[data-portfolio][data-show="exited"] .inv-exited-head,
[data-portfolio][data-show="current"] .inv-exited-head { display: none; }

.news-mast { background: var(--ink); color: white; }
.news-mast .wrap { padding: 144px 0 80px; }
.news-mast-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.news-mast h1 { color: white; font-size: clamp(3.2rem, 7vw, 4.8rem); font-weight: 600; letter-spacing: -0.03em; }
.news-mast-head p { max-width: 22rem; color: #9aa0a8; font-size: 1.05rem; }
.news-feature { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; margin-top: 56px; }
.news-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 16px; }
.news-feature h2 { margin-top: 16px; color: white; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.news-feature p { color: #9aa0a8; font-size: 14px; }
.news-archive { padding: 80px 0 100px; }
.news-archive h2 { padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: clamp(1.8rem, 3vw, 2.2rem); font-weight: 600; }
.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.news-cards a { display: block; text-decoration: none; color: inherit; }
.news-cards img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 12px; }
.news-cards time { display: block; margin-top: 18px; color: var(--muted); font-size: 14px; }
.news-cards h3 { margin-top: 8px; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.news-cards a:hover h3 { color: var(--brand-deep); }

.contact-layout { padding: 72px 0 100px; }
.contact-layout-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: start; }
.contact-card { background: white; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); padding: 40px; }
.contact-card h2 { font-size: clamp(1.5rem, 2vw, 1.9rem); font-weight: 600; }
.mp-form fieldset { margin: 28px 0 0; padding: 0; border: 0; }
.mp-form legend { font-size: 14px; font-weight: 500; }
.topic-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.topic-picks button { border: 0; border-radius: 999px; padding: 8px 16px; background: var(--paper); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.topic-picks button.is-on { background: var(--ink); color: white; box-shadow: none; }
.mp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.mp-form label span, .mp-form legend { text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 500; }
.mp-form input, .mp-form textarea {
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 12px 16px;
}
.mp-form textarea { min-height: 120px; }
.mp-form input:focus, .mp-form textarea:focus { border-color: var(--brand); }
.mp-submit { display: flex; justify-content: flex-end; align-items: center; gap: 16px; margin-top: 28px; }
.mp-submit p { color: var(--muted); font-size: 13px; }
.contact-sent span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #e6f2fb; color: var(--brand-deep); font-size: 22px; }
.contact-sent h2 { margin-top: 24px; }
.contact-sent p { margin-top: 12px; max-width: 28rem; color: var(--muted); font-size: 1.05rem; }
.contact-sent a { display: inline-block; margin-top: 28px; color: var(--brand-deep); font-weight: 600; text-decoration: none; }
.office { padding: 28px 0; border-top: 1px solid var(--line); }
.office:last-of-type { border-bottom: 1px solid var(--line); }
.office h3 { margin-top: 8px; font-size: 2rem; }
.office p { margin-top: 6px; color: var(--muted); font-size: 15px; }
.office a { color: var(--ink); font-weight: 500; text-decoration: none; }
.contact-direct { margin-top: 28px; color: var(--muted); font-size: 15px; }
.contact-direct a { color: var(--ink); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.address {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 0.95;
}
form { display: grid; gap: 14px; }
form .btn { justify-self: start; width: auto; }
label span { display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
input, textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid #d5d5d5;
  background: transparent;
  color: var(--ink);
  padding: 14px 0;
  border-radius: 0;
  outline: none;
  transition: border-color .3s ease;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus { border-color: var(--blue); }
.notice {
  padding: 14px 16px;
  border-radius: 0;
  background: #e7f6ec;
  color: #0f6b38;
  margin-bottom: 16px;
}
.notice.is-error { background: #fdecec; color: #9f1d1d; }
.hp { position: absolute; left: -9999px; }

.article { padding: 64px 0 96px; }
.article-layout { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.article-logo {
  background: transparent;
  border: 0;
  padding: 0;
}
.article-logo img { width: 100%; height: 140px; object-fit: contain; }
.story img.cover { width: 100%; max-height: 520px; object-fit: cover; margin-bottom: 28px; }
.story h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin-bottom: 12px; }

.site-footer { background: var(--ink); color: white; padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.15fr .7fr .9fr .9fr; gap: 48px; }
.site-footer .site-logo { height: 40px; }
.site-footer a { text-decoration: none; }
.site-footer .menu { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; }
.site-footer .menu a { padding: 0; color: #9aa0a8; font-size: 15px; }
.site-footer .menu a:hover { color: white; }
.footer-brand p { max-width: 24rem; margin-top: 24px; color: #9aa0a8; font-size: 15px; line-height: 1.6; }
.footer-social { display: inline-flex; margin-top: 28px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 500; }
.footer-social::after { content: " ↗"; }
.footer-social:hover { color: white; }
.footer-col h3 { color: white; font-size: 14px; font-weight: 500; }
.footer-col address { margin-top: 16px; font-style: normal; color: #9aa0a8; font-size: 15px; line-height: 1.7; }
.footer-col address a { color: inherit; }
.footer-col address a:hover { color: white; }
.legal {
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid #2a2f37;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #9aa0a8;
  font-size: 13px;
}
.empty { padding: 28px; border: 1px dashed var(--line); }

@media (max-width: 980px) {
  .stats, .logo-grid, .leaders, .split, .contact-grid, .footer-grid, .article-layout, .home-grow-grid, .home-ace-steps, .inv-intro-grid, .news-feature, .contact-layout-grid, .page-mast-split { grid-template-columns: 1fr; }
  .inv-grid, .news-cards, .home-logo-grid { grid-template-columns: 1fr 1fr; }
  .home-ace-head, .home-portfolio-head, .home-talk .wrap, .news-mast-head, .inv-bar, .page-mast-split { flex-direction: column; align-items: flex-start; }
  .mp-fields { grid-template-columns: 1fr; }
  .news-grid, .board-grid { grid-template-columns: 1fr 1fr; }
  .leader { grid-template-columns: 180px 1fr; }
  .band .wrap, .section-head, .legal { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .wrap, .header-inner { width: min(1180px, calc(100% - 32px)); }
  .nav-toggle { display: block; }
  body.nav-open { overflow: hidden; }
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 80;
    margin: 0;
    background: #0b0d10;
    padding: 96px 28px 48px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .35s ease, visibility .35s ease;
  }
  .admin-bar .site-nav { top: 32px; height: calc(100dvh - 32px); }
  .site-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-panel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 0 12px 0 16px;
  }
  .site-header.is-overlay.is-stuck .nav-panel-bar .site-logo.is-light { display: block; }
  .nav-close {
    position: relative;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: white;
    cursor: pointer;
  }
  .nav-close span:not(.screen-reader-text) {
    position: absolute;
    left: 13px;
    top: 21px;
    width: 18px;
    height: 1px;
    background: currentColor;
  }
  .nav-close span:nth-child(1) { transform: rotate(40deg); }
  .nav-close span:nth-child(2) { transform: rotate(-40deg); }
  .site-nav .menu {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .site-nav .menu a,
  .site-header.is-overlay .site-nav .menu a,
  .site-header.is-overlay.is-stuck .site-nav .menu a {
    color: rgba(255, 255, 255, .82);
    font-family: var(--display);
    font-size: clamp(2.8rem, 12vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.15;
    padding: 8px 0;
  }
  .site-nav .menu a:hover,
  .site-nav .menu .current-menu-item > a,
  .site-nav .menu .current_page_item > a,
  .site-header.is-overlay .site-nav .menu a:hover,
  .site-header.is-overlay .site-nav .menu .current-menu-item > a,
  .site-header.is-overlay .site-nav .menu .current_page_item > a,
  .site-header.is-overlay.is-stuck .site-nav .menu a:hover,
  .site-header.is-overlay.is-stuck .site-nav .menu .current-menu-item > a,
  .site-header.is-overlay.is-stuck .site-nav .menu .current_page_item > a { color: white; }
  .site-header .site-nav .menu .current-menu-item > a::after,
  .site-header .site-nav .menu .current_page_item > a::after {
    left: 50%;
    right: auto;
    bottom: 2px;
    width: 36px;
    height: 1px;
    background: var(--brand);
    transform: translateX(-50%);
  }
  .site-nav .header-cta,
  .site-header:not(.is-overlay) .site-nav .header-cta,
  .site-header.is-overlay.is-stuck .site-nav .header-cta {
    margin: 52px 0 0;
    background: white;
    color: var(--ink);
  }
  .news-grid, .board-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .stat { border: 0; padding: 0; text-align: center; }
  .leader { grid-template-columns: 1fr; }
  .leader img { height: 320px; }
  .section { padding: 68px 0; }
  h1, .home-hero h1 { font-size: 3.5rem; }
  .home-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 12px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .home-stats > div { align-items: center; text-align: center; }
  .home-stats dd { justify-content: center; }
  .home-stats strong,
  .home-stats dd > span { font-size: 1.65rem; }
  .home-stats dt { margin-top: 6px; font-size: 13px; line-height: 1.3; }
  .home-ace-notes {
    grid-template-columns: 1fr 1fr;
    justify-items: center;
    gap: 12px 16px;
    width: 100%;
  }
  .home-ace-notes p { align-items: center; text-align: center; }
  .home-ace-notes strong { font-size: 1.7rem; }
  .home-grow, .home-portfolio { padding-top: 72px; }
  .home-years { font-size: 6.5rem; }
  .home-logo-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
  .admin-bar .site-nav { top: 46px; height: calc(100dvh - 46px); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo-card, .news-card, .btn, .header-cta, .reveal { transition: none; }
  .reveal, .hero-copy { opacity: 1; transform: none; animation: none; }
}
