@import url("/assets/fonts/fonts.css");

:root {
  --green: #173f36;
  --green-soft: #315a50;
  --limestone: #e8e6da;
  --ivory: #f7f5ee;
  --charcoal: #1b1b1b;
  --display: "Cormorant", Georgia, serif;
  --brand: "Marcellus", Georgia, serif;
  --page-gutter: clamp(1.25rem, 4.8vw, 5rem);
  --section-space: clamp(3.25rem, 5.2vw, 5.5rem);
  --content-width: 1280px;
}

* { box-sizing: border-box; }
html { background: var(--limestone); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--green);
  background: var(--limestone);
  font-family: var(--display);
}

img, video { max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p { margin-top: 0; }

.brand-title,
.main-nav,
.market-link,
.site-footer,
.investor-link,
.contact-email,
.bio-back,
.bio-role,
.leader-card-role,
.leader-card-team,
.bio-chapter h2 {
  font-family: var(--brand);
  letter-spacing: 0.12em;
}

.masthead,
.page-masthead {
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(10rem, 1fr);
  grid-template-areas:
    ". brand ."
    ". nav market";
  align-items: start;
  row-gap: 0.8rem;
  column-gap: 1.5rem;
}

.masthead { max-width: 1600px; margin: 0 auto; }
.page-masthead {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.7rem) var(--page-gutter) 0;
}

.brand {
  display: block;
  grid-area: brand;
  justify-self: center;
  color: var(--green);
  text-align: center;
  text-decoration: none;
}

.brand-title {
  display: block;
  font-size: clamp(1.4rem, 1.9vw, 2.1rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-rendering: geometricPrecision;
}

.main-nav {
  display: flex;
  grid-area: nav;
  justify-content: center;
  gap: clamp(1.1rem, 2.5vw, 2.4rem);
  font-size: 0.55rem;
}

.main-nav a,
.market-link { color: var(--green-soft); text-decoration: none; }
.main-nav a:hover,
.market-link:hover,
.site-footer a:hover,
.bio-back:hover { color: var(--green); }

.main-nav a[aria-current="page"] { color: var(--green); }

.market-link {
  grid-area: market;
  justify-self: end;
  font-size: 0.55rem;
}

.hero {
  max-width: 1600px;
  margin: 0 auto;
  padding: clamp(1.6rem, 3vw, 2.8rem) var(--page-gutter) 0;
  background: var(--limestone);
}

.video-hero {
  position: relative;
  height: clamp(28rem, 46vw, 39rem);
  margin-top: clamp(1.5rem, 2.8vw, 2.7rem);
  overflow: hidden;
  background: var(--green-soft);
}

.video-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 28, 24, 0.68) 0%, rgba(8, 28, 24, 0.3) 46%, rgba(8, 28, 24, 0.04) 78%),
    linear-gradient(0deg, rgba(8, 28, 24, 0.2), transparent 55%);
  pointer-events: none;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.78) contrast(0.96);
}

.hero-copy {
  position: absolute;
  bottom: clamp(2rem, 5vw, 4.6rem);
  left: clamp(1.4rem, 6vw, 6.5rem);
  z-index: 2;
  max-width: 38rem;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 600ms ease 90ms, transform 600ms ease 90ms;
}

.is-ready .hero-copy { opacity: 1; transform: translateY(0); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.058em;
}

h1 {
  max-width: 10.5ch;
  margin-bottom: 0;
  font-size: clamp(3.8rem, 6.4vw, 7.1rem);
  line-height: 0.84;
}

h1 em,
h2 em { font-style: italic; font-weight: 300; letter-spacing: -0.065em; }
h1 em { display: block; margin-top: 0.14em; padding-left: 0.32em; }

.hero-copy > p {
  max-width: 31rem;
  margin: 1.7rem 0 0;
  color: rgba(247, 245, 238, 0.9);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 300;
  line-height: 1.42;
}

.section-content {
  width: min(100%, var(--content-width));
  margin: 0 auto;
}

.about,
.focus,
.leadership,
.news,
.contact {
  padding: var(--section-space) var(--page-gutter);
}

.about { color: var(--ivory); background: var(--green); }
.about .section-content { max-width: 1020px; }

h2 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 5.5vw, 6.2rem);
  line-height: 0.86;
}

h2 em { display: block; margin-top: 0.12em; }
.about h2,
.news h2 { color: var(--ivory); }

.about p,
.news p {
  max-width: 42rem;
  margin-bottom: 0;
  color: rgba(247, 245, 238, 0.84);
  font-size: clamp(1.15rem, 1.5vw, 1.42rem);
  font-weight: 300;
  line-height: 1.46;
}

.focus { background: var(--ivory); }
.focus h2 { max-width: 14ch; }
.focus-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.5rem);
  margin-top: clamp(2.5rem, 4.5vw, 4.4rem);
}

.focus-list article { padding: 0; }
.focus-list h3 {
  max-width: 10ch;
  margin-bottom: 0.85rem;
  font-size: clamp(1.9rem, 2.2vw, 2.55rem);
  line-height: 0.94;
}

.focus-list p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--green-soft);
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.4;
}

.leadership { background: var(--limestone); }
.leadership .section-content { max-width: 1320px; }
.leadership-intro { max-width: 680px; }
.leadership-intro h2 { margin-bottom: 0; }
.leadership-intro p {
  max-width: 36rem;
  margin: 1.45rem 0 0;
  color: var(--green-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 300;
  line-height: 1.45;
}

.leadership-group-portrait {
  width: min(100%, 1120px);
  margin: clamp(2rem, 3.8vw, 3.25rem) auto 0;
  padding: clamp(0.9rem, 1.8vw, 1.55rem);
  background: #383c3a;
}

.leadership-group-portrait img {
  display: block;
  width: min(100%, 760px);
  height: auto;
  margin: 0 auto;
  filter: grayscale(1) contrast(1.02);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 1.8vw, 1.5rem);
  margin-top: clamp(2.6rem, 4vw, 3.5rem);
}

.leader-card {
  display: block;
  min-width: 0;
  color: var(--green);
  text-decoration: none;
}

.leader-card-photo {
  aspect-ratio: 4 / 5;
  margin: 0 0 0.9rem;
  overflow: hidden;
  background: #d4d1c5;
}

.leader-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.28) contrast(1.01);
  transition: transform 340ms ease, filter 340ms ease;
}

.leader-card:hover .leader-card-photo img,
.leader-card:focus-visible .leader-card-photo img {
  filter: grayscale(0) contrast(1.02);
  transform: scale(1.018);
}

.leader-card-team {
  display: block;
  min-height: 1.5em;
  margin-bottom: 0.6rem;
  color: rgba(49, 90, 80, 0.72);
  font-size: 0.53rem;
  letter-spacing: 0.13em;
}

.leader-card h3 {
  min-height: 1.8em;
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 2.1vw, 2.4rem);
  line-height: 0.9;
}

.leader-card-role {
  display: block;
  color: var(--green-soft);
  font-size: 0.58rem;
  line-height: 1.5;
}

.leader-card:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 5px;
}

.news { color: var(--ivory); background: #254a40; padding-block: clamp(3rem, 4.3vw, 4.5rem); }
.news .section-content {
  display: grid;
  grid-template-columns: minmax(14rem, 0.86fr) minmax(20rem, 1fr);
  align-items: end;
  gap: 1.5rem clamp(2.5rem, 7vw, 8rem);
  max-width: 1120px;
}

.news h2 { margin-bottom: 0; }
.news p { max-width: 36rem; }
.news .investor-link { margin-top: 0; }
.contact .section-content { max-width: 760px; }

.investor-link,
.contact-email {
  display: inline-block;
  margin-top: 2rem;
  font-size: 0.58rem;
  text-decoration: none;
}

.investor-link { color: var(--ivory); }
.investor-link:hover { color: rgba(247, 245, 238, 0.72); }

.contact { background: var(--ivory); }
.contact p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--green-soft);
  font-size: clamp(1.1rem, 1.38vw, 1.3rem);
  font-weight: 300;
  line-height: 1.44;
}

.contact-email { color: var(--green); font-size: clamp(0.62rem, 0.9vw, 0.72rem); }

/* Newsroom */
.news-page { min-height: 100svh; background: var(--ivory); }
.news-main { padding: clamp(2rem, 4.4vw, 4.2rem) var(--page-gutter) var(--section-space); }
.news-shell { width: min(100%, 1200px); margin: 0 auto; }

.news-page-hero {
  max-width: 820px;
  padding-bottom: clamp(2.8rem, 5.5vw, 5.25rem);
}

.news-kicker,
.news-story-meta,
.news-story-type {
  color: var(--green-soft);
  font-family: var(--brand);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.news-kicker { margin-bottom: 1.35rem; }
.news-page-title { max-width: 10.5ch; margin-bottom: 1.5rem; color: var(--green); }
.news-page-title em { padding-left: 0.22em; }
.news-page-hero > p {
  max-width: 36rem;
  margin-bottom: 0;
  color: var(--green-soft);
  font-size: clamp(1.13rem, 1.45vw, 1.35rem);
  font-weight: 300;
  line-height: 1.45;
}

.news-story {
  display: grid;
  grid-template-columns: minmax(10rem, 0.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  padding: clamp(2rem, 4.4vw, 4.5rem);
  background: var(--limestone);
}

.news-story-meta { padding-top: 0.45rem; }
.news-story-date { margin-bottom: 0.7rem; }
.news-story-type { margin-bottom: 0; color: rgba(49, 90, 80, 0.68); }
.news-story-content { min-width: 0; }
.news-story h2 {
  max-width: 15ch;
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--green);
  font-size: clamp(2.65rem, 4.7vw, 5rem);
}

.news-story-body { max-width: 46rem; }
.news-story-body p {
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.53;
}
.news-story-body p:last-child { margin-bottom: 0; }

.news-brief {
  display: grid;
  grid-template-columns: minmax(14rem, 0.9fr) minmax(16rem, 1fr);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
  max-width: 1050px;
  padding-top: clamp(3.5rem, 6vw, 6rem);
}
.news-brief h2 { margin-bottom: 0; }
.news-brief p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--green-soft);
  font-size: clamp(1.08rem, 1.35vw, 1.25rem);
  font-weight: 300;
  line-height: 1.48;
}
.news-brief .contact-email { margin-top: 1.6rem; }

.site-footer {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) auto minmax(9rem, 1fr);
  align-items: center;
  gap: 1.2rem;
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.6rem var(--page-gutter);
  color: var(--green-soft);
  font-size: 0.52rem;
}

.site-footer a { color: inherit; text-decoration: none; }
.footer-brand { justify-self: start; font-family: var(--brand); letter-spacing: 0.13em; }
.site-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.7rem, 1.6vw, 1.5rem);
}

.site-social {
  display: inline-flex;
  gap: 0.42rem;
  align-items: baseline;
  font-family: var(--brand);
  font-size: clamp(0.56rem, 0.8vw, 0.66rem);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.site-social span { font-size: 0.78em; letter-spacing: 0.04em; }
.site-social-active:hover { color: var(--green); }
.site-social-pending { color: rgba(49, 90, 80, 0.67); }
.footer-meta { display: flex; justify-self: end; gap: clamp(0.9rem, 1.8vw, 1.8rem); }

/* Executive biography pages */
.bio-page { min-height: 100svh; background: var(--ivory); }
.bio-main { padding: clamp(1.8rem, 3.6vw, 3.4rem) var(--page-gutter) var(--section-space); }
.bio-shell { width: min(100%, 1200px); margin: 0 auto; }
.bio-back {
  display: inline-block;
  margin-bottom: clamp(1.75rem, 3.6vw, 3.1rem);
  color: var(--green-soft);
  font-size: 0.58rem;
  text-decoration: none;
}

.bio-hero {
  display: grid;
  grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2.2rem, 5vw, 5.5rem);
}

.bio-portrait {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #d4d1c5;
}

.bio-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(0.82) contrast(0.97);
}

.bio-team {
  margin: 0 0 1.2rem;
  color: rgba(49, 90, 80, 0.72);
  font-family: var(--brand);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
}

.bio-name {
  max-width: 8ch;
  margin: 0 0 1rem;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(3.8rem, 5.8vw, 6.4rem);
  font-weight: 300;
  letter-spacing: -0.075em;
  line-height: 0.77;
}

.bio-role {
  margin: 0;
  color: var(--green-soft);
  font-size: clamp(0.66rem, 0.85vw, 0.78rem);
  line-height: 1.65;
}

.bio-biography { max-width: 920px; margin: clamp(3rem, 5vw, 4.75rem) 0 0 auto; }
.bio-chapter {
  display: grid;
  grid-template-columns: minmax(9rem, 0.27fr) minmax(0, 1fr);
  gap: clamp(1.4rem, 3vw, 3.4rem);
  margin-bottom: clamp(1.8rem, 3vw, 2.8rem);
}

.bio-chapter h2 {
  margin: 0;
  color: var(--green-soft);
  font-size: 0.61rem;
  font-weight: 400;
  line-height: 1.4;
}

.bio-chapter p {
  max-width: 47rem;
  margin: 0;
  color: var(--green);
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  font-weight: 300;
  line-height: 1.52;
}

@media (max-width: 1000px) {
  .leadership-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.25rem; }
  .leader-card h3 { font-size: clamp(2rem, 4.8vw, 2.8rem); }
  .news .section-content { grid-template-columns: 1fr; gap: 1.35rem; }
  .news .investor-link { margin-top: 0.2rem; }
  .news-story,
  .news-brief { grid-template-columns: 1fr; gap: 1.5rem; }
  .news-story-meta { display: flex; gap: 1rem; padding-top: 0; }
}

@media (max-width: 900px) {
  .masthead,
  .page-masthead {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "market";
    justify-items: center;
    row-gap: 0.75rem;
  }
  .main-nav { display: none; }
  .market-link { justify-self: center; }
  .bio-hero { grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1fr); gap: 2.6rem; }
}

@media (max-width: 680px) {
  .hero { padding: 1.45rem 1.25rem 0; }
  .page-masthead { padding: 1.45rem 1.25rem 0; }
  .brand-title { font-size: 1.28rem; }
  .market-link { font-size: 0.49rem; }
  .video-hero { height: min(70svh, 38rem); margin: 1.7rem -1.25rem 0; }
  .video-hero::after { background: linear-gradient(0deg, rgba(8, 28, 24, 0.63), rgba(8, 28, 24, 0.08) 70%); }
  .hero-copy { right: 1.35rem; bottom: 2.25rem; left: 1.35rem; }
  h1 { max-width: 10.5ch; font-size: clamp(3.6rem, 15vw, 5rem); }
  .hero-copy > p { margin-top: 1.4rem; font-size: 1.06rem; }
  .about, .focus, .leadership, .news, .contact { padding: 3.5rem 1.25rem; }
  h2 { font-size: clamp(3.35rem, 14vw, 5rem); }
  .focus-list { grid-template-columns: 1fr; gap: 2.3rem; margin-top: 2.8rem; }
  .focus-list h3 { font-size: 2.25rem; }
  .leadership-group-portrait { width: 100%; margin-top: 2rem; padding: 0.75rem; }
  .leadership-grid { grid-template-columns: 1fr; gap: 2.4rem; margin-top: 2.6rem; }
  .leader-card { max-width: 22rem; }
  .leader-card h3 { font-size: 2.55rem; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; gap: 1.05rem; padding: 1.4rem 1.25rem; text-align: center; }
  .footer-brand, .footer-meta { justify-self: center; }
  .site-socials { display: grid; grid-template-columns: repeat(2, auto); gap: 0.72rem 1.25rem; }
  .site-social { font-size: 0.6rem; }
  .bio-main { padding: 1.8rem 1.25rem 3.8rem; }
  .bio-back { margin-bottom: 2rem; }
  .bio-hero { grid-template-columns: 1fr; gap: 2.1rem; }
  .bio-portrait { max-width: 19rem; }
  .bio-name { font-size: clamp(4rem, 17vw, 5.9rem); }
  .bio-biography { margin-top: 3rem; }
  .bio-chapter { grid-template-columns: 1fr; gap: 0.65rem; margin-bottom: 2rem; }
  .bio-chapter h2 { font-size: 0.56rem; }
  .bio-chapter p { font-size: 1.05rem; line-height: 1.5; }
  .news-main { padding: 1.8rem 1.25rem 3.8rem; }
  .news-page-hero { padding-bottom: 3.25rem; }
  .news-page-title { font-size: clamp(3.6rem, 15vw, 5rem); }
  .news-story { margin: 0 -1.25rem; padding: 2.1rem 1.25rem; }
  .news-story h2 { font-size: clamp(2.65rem, 12.5vw, 4.2rem); }
  .news-story-body p, .news-brief p { font-size: 1.05rem; }
  .news-brief { padding-top: 3.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .hero-copy { opacity: 1; transform: none; }
}
