:root {
  --ink: #073f39;
  --teal: #297770;
  --paper: #f7f5ef;
  --white: #ffffff;
  --coral: #f06442;
  --gold: #fab522;
  --pink: #e72f66;
  --purple: #693993;
  --blue: #1678bd;
  --cyan: #01aa9a;
  --green: #66b439;
  --radius: 1.5rem;
  --shadow: 0 24px 80px rgba(7, 63, 57, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; padding: .75rem 1rem; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 86px;
  padding: 0 clamp(1.25rem, 4vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: rgba(247, 245, 239, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(7, 63, 57, .11);
  transition: height .25s ease, box-shadow .25s ease;
}
.site-header.compact { height: 72px; box-shadow: 0 10px 40px rgba(7,63,57,.08); }
.brand img { width: clamp(165px, 18vw, 235px); height: 58px; object-fit: contain; object-position: left center; }
.site-header nav { display: flex; align-items: center; gap: 2rem; }
.site-header nav a { text-decoration: none; font-size: .9rem; font-weight: 700; }
.site-header nav a:hover { color: var(--pink); }
.header-cta { padding: .75rem 1rem; border-radius: 999px; text-decoration: none; color: white; background: var(--ink); font-weight: 800; font-size: .85rem; }
.header-cta span, .button span, .text-link span, .visit-link span { margin-left: .45rem; }

.hero { min-height: 100svh; padding: 9.5rem clamp(1.5rem, 6vw, 7rem) 6rem; position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 4rem; background: var(--ink); color: white; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 35%, rgba(1,170,154,.26), transparent 32%), radial-gradient(circle at 12% 90%, rgba(231,47,102,.13), transparent 28%); z-index: -2; }
.eyebrow { margin: 0 0 1rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .75rem; }
.hero h1, .section-heading h2, .closing h2 { margin: 0; font-size: clamp(3.8rem, 8vw, 8.4rem); letter-spacing: -.065em; line-height: .91; }
.hero h1, .section-heading h2, .closing h2 { font-weight: 500; }
.hero h1 span { color: var(--gold); }
.hero-lead { max-width: 710px; margin: 2rem 0 0; font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: rgba(255,255,255,.78); }
.hero-actions { margin-top: 2.25rem; display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: .85rem 1.35rem; border-radius: 999px; text-decoration: none; font-weight: 900; }
.button.primary { background: var(--gold); color: var(--ink); }
.button.primary:hover { background: white; transform: translateY(-2px); }
.button.light { background: white; color: var(--ink); }
.text-link { font-weight: 800; text-underline-offset: .35rem; }
.hero-statement { position: relative; z-index: 2; padding: 2.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 50% 50% 46% 54% / 46% 53% 47% 54%; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; transform: rotate(3deg); }
.hero-statement span { font-size: clamp(1.1rem, 2vw, 1.7rem); color: rgba(255,255,255,.65); }
.hero-statement strong { font-size: clamp(2.8rem, 5vw, 5.3rem); line-height: 1; color: var(--gold); letter-spacing: -.05em; font-weight: 600; }
.hero-rings { position: absolute; right: -12vw; top: 15%; width: 52vw; aspect-ratio: 1; z-index: -1; opacity: .75; }
.hero-rings i, .closing-rings i { position: absolute; inset: calc(var(--i, 0) * 7%); border: clamp(8px, 1.2vw, 18px) solid; border-left-color: transparent !important; border-bottom-color: transparent !important; border-radius: 50%; transform: rotate(-20deg); }
.hero-rings i:nth-child(1) { --i: 0; border-color: var(--coral); }
.hero-rings i:nth-child(2) { --i: 1; border-color: var(--pink); }
.hero-rings i:nth-child(3) { --i: 2; border-color: var(--purple); }
.hero-rings i:nth-child(4) { --i: 3; border-color: var(--blue); }
.hero-rings i:nth-child(5) { --i: 4; border-color: var(--cyan); }
.hero-rings i:nth-child(6) { --i: 5; border-color: var(--green); }
.marquee { position: absolute; inset: auto 0 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.16); background: rgba(0,0,0,.12); }
.marquee-track { width: max-content; display: flex; animation: marquee-flow 24s linear infinite; will-change: transform; }
.marquee-group { flex: none; width: max-content; min-width: 100vw; display: flex; justify-content: space-around; gap: 1.4rem; align-items: center; padding: .85rem 1.4rem .85rem 0; font-weight: 900; font-size: .78rem; letter-spacing: .15em; }
.marquee b { color: var(--gold); }
@keyframes marquee-flow { to { transform: translateX(-50%); } }

.section { padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 7rem); }
.mission { display: grid; grid-template-columns: .85fr 1.15fr; gap: 4rem 7rem; }
.section-heading h2 { font-size: clamp(3.3rem, 6.4vw, 6.8rem); }
.section-heading.narrow { max-width: 850px; }
.section-heading > p:last-child { max-width: 660px; font-size: 1.2rem; color: rgba(7,63,57,.72); }
.mission-copy { font-size: clamp(1.25rem, 2vw, 1.65rem); padding-top: 2.2rem; }
.mission-copy p:first-child { margin-top: 0; }
.three-steps { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.step { position: relative; padding: 2rem; min-height: 310px; border-radius: var(--radius); color: white; overflow: hidden; }
.step:nth-child(1) { background: var(--pink); }
.step:nth-child(2) { background: var(--purple); }
.step:nth-child(3) { background: var(--cyan); }
.step-number { display: inline-flex; width: 2.7rem; height: 2.7rem; border-radius: 50%; align-items: center; justify-content: center; background: rgba(255,255,255,.18); font-weight: 900; }
.step h3 { margin: 3.5rem 0 1rem; font-size: clamp(1.7rem, 3vw, 3rem); letter-spacing: -.04em; font-weight: 600; }
.step p { max-width: 440px; font-size: 1.05rem; }
.manifesto { grid-column: 1 / -1; margin: 2rem 0 0; padding: 4rem 0 0; font-size: clamp(2.2rem, 5.2vw, 5.3rem); line-height: 1.04; letter-spacing: -.055em; }
.manifesto strong { color: var(--teal); font-weight: 600; }

.brands { background: white; }
.brand-list { margin-top: 5rem; border-top: 1px solid rgba(7,63,57,.18); }
.brand-card { --accent: var(--pink); display: grid; grid-template-columns: 70px minmax(200px, .75fr) 1.55fr; gap: 2.5rem; align-items: start; padding: 4rem 0; border-bottom: 1px solid rgba(7,63,57,.18); }
.brand-finance { --accent: var(--coral); }
.brand-esg { --accent: var(--cyan); }
.brand-academy { --accent: var(--teal); }
.brand-wakaaro { --accent: var(--purple); }
.brand-podcast { --accent: var(--blue); }
.brand-index { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: white; font-weight: 900; }
.brand-logo { min-height: 190px; padding: 1.4rem; display: grid; place-items: center; border-radius: var(--radius); background: var(--paper); }
.brand-logo img { max-height: 145px; width: 100%; object-fit: contain; }
.brand-logo.square img { max-height: 175px; }
.brand-logo.wide img { max-height: 110px; }
.brand-tagline { margin: 0 0 .75rem; color: var(--accent); font-size: .8rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.brand-body h3 { max-width: 730px; margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 550; }
.brand-body > p:not(.brand-tagline) { max-width: 760px; font-size: 1.08rem; color: rgba(7,63,57,.76); }
details { max-width: 760px; margin: 1.4rem 0 1.7rem; border-top: 1px solid rgba(7,63,57,.16); border-bottom: 1px solid rgba(7,63,57,.16); }
summary { padding: 1rem 2rem 1rem 0; cursor: pointer; font-weight: 900; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font-size: 1.4rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
.details-copy { padding: 0 2rem .75rem 0; color: rgba(7,63,57,.75); }
.visit-link { display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1.1rem; border-radius: 999px; background: var(--accent); color: white; font-weight: 900; text-decoration: none; }

.projects { background: var(--ink); color: white; }
.project-grid { margin-top: 4rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.project-card { min-height: 290px; padding: 2rem; display: flex; flex-direction: column; border-radius: var(--radius); text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: transform .25s ease, background .25s ease; }
.project-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.14); }
.project-card.featured { background: var(--cyan); border-color: transparent; }
.project-type { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 900; color: var(--gold); }
.featured .project-type { color: var(--ink); }
.project-card h3 { margin: auto 0 .6rem; font-size: clamp(2rem, 4vw, 4rem); line-height: .96; letter-spacing: -.04em; font-weight: 550; }
.project-card p { max-width: 600px; margin: 0 0 1rem; color: rgba(255,255,255,.78); }
.featured p { color: rgba(7,63,57,.82); }
.project-url { font-weight: 900; }

.closing { position: relative; min-height: 78vh; padding: 8rem clamp(1.5rem, 6vw, 7rem); display: flex; flex-direction: column; justify-content: center; background: var(--gold); overflow: hidden; }
.closing h2 { font-size: clamp(4rem, 9vw, 9.5rem); position: relative; z-index: 2; }
.closing > p:not(.eyebrow) { max-width: 600px; font-size: 1.35rem; position: relative; z-index: 2; }
.closing .button { align-self: flex-start; margin-top: 1rem; position: relative; z-index: 2; }
.closing-rings { position: absolute; width: 55vw; aspect-ratio: 1; right: -10vw; top: 50%; transform: translateY(-50%); opacity: .75; }
.closing-rings i { border-width: clamp(14px, 2vw, 30px); }
.closing-rings i:nth-child(1) { --i: 0; border-color: var(--pink); }
.closing-rings i:nth-child(2) { --i: 2; border-color: var(--purple); }
.closing-rings i:nth-child(3) { --i: 4; border-color: var(--cyan); }

footer { min-height: 150px; padding: 2rem clamp(1.5rem, 6vw, 7rem); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 2rem; background: white; }
footer img { width: 220px; max-height: 70px; object-fit: contain; object-position: left center; }
footer p { color: var(--teal); }
footer a { font-weight: 900; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }

@media (max-width: 960px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 9rem; }
  .hero-statement { width: min(70vw, 500px); justify-self: end; }
  .mission { grid-template-columns: 1fr; gap: 1rem; }
  .three-steps { grid-template-columns: 1fr; }
  .step { min-height: 250px; }
  .brand-card { grid-template-columns: 58px 1fr; }
  .brand-logo { grid-column: 2; }
  .brand-body { grid-column: 2; }
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { height: 72px; }
  .brand img { width: 150px; }
  .header-cta { font-size: 0; width: 44px; height: 44px; padding: 0; }
  .header-cta span { font-size: 1rem; margin: 0; }
  .hero { min-height: auto; padding-bottom: 7rem; }
  .hero h1 { font-size: clamp(3.4rem, 17vw, 5.6rem); }
  .hero-statement { width: 82vw; }
  .section { padding-block: 5rem; }
  .brand-card { grid-template-columns: 1fr; gap: 1.25rem; padding: 3rem 0; }
  .brand-index, .brand-logo, .brand-body { grid-column: 1; }
  .brand-logo { min-height: 165px; }
  footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
