/*
Theme Name: VCarboN Institutional
Description: A custom, governance-first single-page institutional website for PT Visi Carbon Indonesia (VCarboN).
Version: 1.3.0
Author: VCarboN
Text Domain: vcarbon-wordpress
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --paper: #f7f5ee;
  --paper-bright: #fcfbf7;
  --sand: #ece8db;
  --ink: #17211d;
  --muted: #66716c;
  --forest: #0b2d27;
  --forest-mid: #124239;
  --forest-soft: #1f5448;
  --moss: #bfd08c;
  --moss-dark: #91a65f;
  --clay: #9b6b4d;
  --line: rgba(23, 33, 29, 0.16);
  --line-light: rgba(255, 255, 255, 0.17);
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: min(1200px, calc(100vw - 64px));
  --radius: 2px;
  --ease: cubic-bezier(.2,.75,.2,1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--moss);
  color: var(--forest);
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

svg {
  display: block;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: 14px;
  padding: 10px 14px;
  background: var(--paper-bright);
  color: var(--forest);
  transform: translateY(-180%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.13);
  transition: background .35s ease, color .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(252, 251, 247, .94);
  border-color: var(--line);
  box-shadow: 0 12px 40px rgba(11, 45, 39, .06);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  width: fit-content;
  min-width: 0;
}

/*
 * The uploaded logo is never forced into a square. Both dimensions stay
 * automatic while max-height and max-width provide safe header boundaries.
 */
.brand--image {
  max-width: var(--brand-logo-max-width, 230px);
}

.brand--header.brand--image {
  max-width: min(var(--brand-logo-max-width, 230px), 260px);
}

.brand--with-name .brand-logo {
  max-width: min(var(--brand-logo-height, 42px), 56px);
}

.brand-logo-stack {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  max-width: 100%;
}

.brand-logo {
  display: block;
  width: auto !important;
  height: auto !important;
  max-width: var(--brand-logo-max-width, 230px);
  max-height: var(--brand-logo-height, 42px);
  object-fit: contain;
  object-position: left center;
}

.brand-site-name {
  flex: 0 0 auto;
  font-size: 1.18rem;
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1;
  color: currentColor;
}

/* Inverse artwork is shown over the dark hero; primary artwork after scroll. */
.brand--header .brand-logo--primary {
  display: none;
}

.brand--header .brand-logo--inverse {
  display: block;
}

.site-header.is-scrolled .brand--header .brand-logo--primary,
.site-header.menu-active .brand--header .brand-logo--primary {
  display: block;
}

.site-header.is-scrolled .brand--header .brand-logo--inverse,
.site-header.menu-active .brand--header .brand-logo--inverse {
  display: none;
}

/* When only one logo is configured it remains visible in both header states. */
.brand--header .brand-logo--single {
  display: block !important;
}

.brand--footer .brand-logo {
  max-height: min(var(--brand-logo-height, 42px), 48px);
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.brand-word {
  font-weight: 650;
  letter-spacing: -.025em;
  font-size: 1.18rem;
}

.brand-word span {
  color: var(--moss);
}

.site-header.is-scrolled .brand-word span,
.site-header.menu-active .brand-word span {
  color: var(--forest-soft);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.25vw, 34px);
}

.desktop-nav a {
  position: relative;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .78;
  transition: opacity .2s ease;
  white-space: nowrap;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: currentColor;
  transition: right .3s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.is-active {
  opacity: 1;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
  right: 0;
}

.header-cta {
  text-decoration: none;
  font-size: .74rem;
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.55);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.header-cta:hover {
  color: var(--forest);
  background: var(--moss);
  border-color: var(--moss);
}

.site-header.is-scrolled .header-cta,
.site-header.menu-active .header-cta {
  border-color: var(--ink);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  min-height: 880px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 25%, rgba(191, 208, 140, .11), transparent 31%),
    linear-gradient(112deg, #092720 0%, #0b2d27 57%, #113c33 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.95), rgba(0,0,0,.2));
}

.hero-atlas {
  position: absolute;
  inset: 0;
  opacity: .13;
  pointer-events: none;
}

.hero-atlas svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #dbe7bd;
  stroke-width: 1.25;
}

.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 810px;
  padding-top: 148px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(470px, .94fr);
  align-items: center;
  gap: clamp(56px, 7vw, 110px);
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.2rem, 6.5vw, 7.1rem);
  font-weight: 400;
  line-height: .93;
  letter-spacing: -.055em;
}

.hero-lead {
  max-width: 635px;
  margin: 34px 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255,255,255,.73);
}

.hero-actions {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.button {
  min-height: 50px;
  padding: 0 21px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 700;
}

.button-primary {
  color: var(--forest);
  background: var(--moss);
  border: 1px solid var(--moss);
  transition: transform .25s var(--ease), background .25s ease;
}

.button-primary:hover {
  background: #d0dfa4;
  transform: translateY(-2px);
}

.text-link {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,.42);
  padding-bottom: 5px;
}

.text-link span {
  margin-left: 8px;
}

.hero-facts {
  margin-top: 74px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  gap: 20px 32px;
  flex-wrap: wrap;
}

.hero-facts span {
  position: relative;
  font-size: .69rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.56);
}

.hero-facts span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -17px;
  top: 50%;
  width: 3px;
  height: 3px;
  background: var(--moss);
  transform: translateY(-50%);
}

.architecture-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(2,20,17,.36);
  box-shadow: 0 34px 75px rgba(0,0,0,.17);
  backdrop-filter: blur(12px);
}

.architecture-card::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 86px;
  height: 86px;
  border-top: 1px solid var(--moss);
  border-right: 1px solid var(--moss);
}

.architecture-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

.platform-node {
  width: 74%;
  margin: 40px auto 0;
  padding: 22px 24px 23px;
  text-align: center;
  background: var(--moss);
  color: var(--forest);
}

.node-kicker,
.platform-node small,
.project-node span,
.project-node small {
  display: block;
}

.node-kicker,
.project-node span {
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.platform-node strong {
  display: block;
  margin-top: 5px;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 500;
}

.platform-node small {
  margin-top: 5px;
  font-size: .69rem;
  color: rgba(11,45,39,.7);
}

.architecture-connector {
  position: relative;
  width: 76%;
  height: 62px;
  margin: 0 auto;
  border-left: 1px solid rgba(255,255,255,.34);
  border-right: 1px solid rgba(255,255,255,.34);
  border-bottom: 1px solid rgba(255,255,255,.34);
}

.architecture-connector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: -1px;
  width: 1px;
  background: rgba(255,255,255,.34);
}

.architecture-connector span {
  position: absolute;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--moss);
  background: var(--forest);
}

.architecture-connector span:nth-child(1) { left: -4px; }
.architecture-connector span:nth-child(2) { left: calc(50% - 3px); }
.architecture-connector span:nth-child(3) { right: -4px; }

.project-nodes {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.project-node {
  min-height: 136px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.025);
}

.project-node span {
  color: rgba(255,255,255,.48);
}

.project-node strong {
  margin-top: 20px;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 500;
}

.project-node small {
  color: rgba(255,255,255,.55);
  font-size: .67rem;
}

.architecture-note {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.16);
}

.note-line {
  height: 1px;
  margin-top: 11px;
  background: var(--moss);
}

.architecture-note p {
  margin: 0;
  font-size: .76rem;
  line-height: 1.55;
  color: rgba(255,255,255,.62);
}

.hero-footer {
  position: relative;
  z-index: 2;
  height: 70px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: .65rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.48);
}

.hero-footer-line {
  height: 1px;
  background: rgba(255,255,255,.13);
}

.section-pad {
  padding-block: clamp(110px, 11vw, 172px);
}

.statement-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 50px;
}

.section-index {
  padding-top: 8px;
}

.section-index span,
.section-number {
  display: block;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--forest-soft);
}

.section-index p,
.section-label {
  margin: 6px 0 0;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}

.statement-large {
  max-width: 980px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.65rem, 5vw, 5.3rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}

.statement-columns {
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.statement-columns p {
  margin: 0;
  color: #53605a;
  font-size: .95rem;
}

.building {
  background: var(--paper-bright);
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(280px, 360px);
  gap: 40px;
  align-items: start;
}

.section-heading h2,
.portfolio-intro h2,
.governance-heading h2,
.institutional-intro h2,
.contact-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.03;
}

.section-heading h2 {
  max-width: 620px;
  font-size: clamp(3rem, 4.8vw, 5rem);
}

.section-heading > p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.outcomes {
  margin-top: 110px;
  border-top: 1px solid var(--line);
}

.outcome {
  min-height: 175px;
  display: grid;
  grid-template-columns: 180px minmax(280px, .8fr) 1.2fr;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, padding .3s var(--ease);
}

.outcome:hover {
  background: var(--sand);
  padding-inline: 22px;
}

.outcome > span {
  font-family: var(--display);
  color: var(--moss-dark);
}

.outcome h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  font-weight: 400;
  line-height: 1.08;
}

.outcome p {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
}

.layer-diagram {
  margin-top: 115px;
  padding: 38px 40px;
  display: grid;
  grid-template-columns: 1fr 86px 1fr 86px 1fr;
  align-items: center;
  gap: 22px;
  color: #fff;
  background: var(--forest);
}

.layer-label span {
  display: block;
  color: var(--moss);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.layer-label strong {
  display: block;
  margin-top: 8px;
  font-family: var(--display);
  font-size: 1.27rem;
  font-weight: 500;
}

.layer-line {
  position: relative;
  height: 1px;
  background: rgba(255,255,255,.28);
}

.layer-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--moss);
  border-right: 1px solid var(--moss);
  transform: rotate(45deg);
}

.portfolio {
  background: var(--sand);
}

.portfolio-intro {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
}

.portfolio-intro > div:last-child {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .6fr);
  gap: 60px;
  align-items: start;
}

.portfolio-intro h2 {
  max-width: 600px;
  font-size: clamp(3rem, 5vw, 5.3rem);
}

.portfolio-intro p {
  margin: 8px 0 0;
  color: var(--muted);
}

.portfolio-list {
  margin-top: 108px;
  border-top: 1px solid rgba(23,33,29,.26);
}

.portfolio-item {
  min-height: 230px;
  display: grid;
  grid-template-columns: 180px .85fr 1fr 180px;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid rgba(23,33,29,.26);
}

.portfolio-count {
  align-self: start;
  padding-top: 38px;
  font-family: var(--display);
  color: var(--forest-soft);
}

.portfolio-type span {
  display: block;
  margin-bottom: 8px;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-type h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.04em;
}

.portfolio-attributes {
  display: grid;
  gap: 10px;
}

.portfolio-attributes span {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(23,33,29,.14);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .035em;
}

.portfolio-symbol {
  justify-self: end;
  width: 132px;
  height: 132px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23,33,29,.22);
}

.portfolio-symbol svg {
  width: 102px;
  height: 102px;
  fill: none;
  stroke: var(--forest-soft);
  stroke-width: 1.15;
  stroke-linecap: square;
}

.evaluation {
  margin-top: 46px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  align-items: center;
}

.evaluation > p {
  margin: 0;
  font-size: .65rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.evaluation > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.evaluation span {
  padding: 15px 16px;
  border: 1px solid rgba(23,33,29,.22);
  text-align: center;
  font-size: .76rem;
  font-weight: 650;
}

.governance {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--forest);
}

.governance::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
}

.governance .container {
  position: relative;
  z-index: 1;
}

.governance-heading {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 40px;
}

.section-number-light {
  color: var(--moss);
}

.section-label-light {
  color: rgba(255,255,255,.52);
}

.governance-heading h2 {
  max-width: 900px;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
}

.authority-model {
  margin-top: 105px;
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  border-top: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
}

.authority-column {
  padding: 44px 0 46px;
}

.platform-authority {
  padding-right: 50px;
}

.project-authority {
  padding-left: 50px;
}

.authority-tag {
  display: block;
  color: var(--moss);
  font-size: .64rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.authority-column h3 {
  margin: 12px 0 42px;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.4vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
}

.authority-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.authority-column li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line-light);
  color: rgba(255,255,255,.72);
}

.authority-column li span {
  color: rgba(191,208,140,.72);
  font-family: var(--display);
}

.boundary {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
}

.boundary span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .59rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.44);
}

.boundary div {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--moss);
  background: var(--forest);
  transform: translateY(-50%) rotate(45deg);
}

.governance-statement {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.governance-statement p {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid rgba(191,208,140,.5);
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.7vw, 3rem);
  line-height: 1.14;
  color: rgba(255,255,255,.88);
}

.institutional {
  background: var(--paper-bright);
}

.institutional-grid {
  display: grid;
  grid-template-columns: minmax(330px, .75fr) 1.25fr;
  gap: clamp(70px, 10vw, 150px);
  align-items: start;
}

.institutional-intro {
  position: sticky;
  top: 130px;
}

.institutional-intro h2 {
  margin-top: 35px;
  font-size: clamp(3rem, 4.5vw, 5rem);
}

.institutional-intro > p:last-child {
  max-width: 460px;
  margin-top: 32px;
  color: var(--muted);
}

.principles {
  border-top: 1px solid var(--line);
}

.principle {
  min-height: 205px;
  display: grid;
  grid-template-columns: 65px 1fr;
  align-content: center;
  column-gap: 25px;
  border-bottom: 1px solid var(--line);
}

.principle > span {
  grid-row: 1 / 3;
  padding-top: 8px;
  font-family: var(--display);
  color: var(--moss-dark);
}

.principle h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.3vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
}

.principle p {
  max-width: 620px;
  margin: 15px 0 0;
  color: var(--muted);
}

.contact {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #071f1a;
}

.contact-grid-lines {
  position: absolute;
  inset: 0;
  opacity: .55;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 70% 40%, black, transparent 72%);
}

.contact-inner {
  position: relative;
  z-index: 1;
  min-height: 700px;
  padding-block: clamp(110px, 11vw, 170px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .78fr);
  gap: 90px;
  align-items: start;
}

.contact-heading h2 {
  max-width: 710px;
  margin-top: 40px;
  font-size: clamp(3.5rem, 6vw, 6.7rem);
}

.contact-heading > p:last-child {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255,255,255,.58);
}

.contact-details {
  margin: 40px 0 0;
  font-style: normal;
  border-top: 1px solid var(--line-light);
}

.contact-row {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 25px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-light);
}

.contact-row span {
  font-size: .63rem;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.43);
}

.contact-row strong {
  font-size: .92rem;
  font-weight: 550;
  color: rgba(255,255,255,.86);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-light);
}

.footer-inner {
  min-height: 130px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
}

.brand-footer,
.brand--footer {
  color: #fff;
}

.footer-inner p {
  margin: 0;
  font-size: .69rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.43);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 48px, 1000px);
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid rgba(255,255,255,.45);
    background: transparent;
    color: currentColor;
    cursor: pointer;
  }

  .site-header.is-scrolled .menu-button,
  .site-header.menu-active .menu-button {
    border-color: var(--line);
  }

  .menu-button span {
    width: 19px;
    height: 1px;
    background: currentColor;
    transition: transform .25s ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 99;
    inset: 80px 0 auto;
    min-height: calc(100vh - 80px);
    padding: 38px max(24px, calc((100vw - 952px) / 2));
    display: grid;
    align-content: start;
    background: var(--paper-bright);
    color: var(--ink);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease;
  }

  .mobile-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    font-family: var(--display);
    font-size: clamp(1.7rem, 4vw, 2.6rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    padding-bottom: 85px;
  }

  .hero-copy h1 {
    max-width: 820px;
  }

  .architecture-card {
    max-width: 760px;
  }

  .section-heading {
    grid-template-columns: 140px 1fr;
  }

  .section-heading > p {
    grid-column: 2;
    max-width: 650px;
  }

  .outcome {
    grid-template-columns: 120px minmax(260px, .9fr) 1.1fr;
  }

  .layer-diagram {
    grid-template-columns: 1fr;
  }

  .layer-line {
    width: 1px;
    height: 36px;
    margin-left: 5px;
  }

  .layer-line::after {
    right: -3px;
    top: auto;
    bottom: 0;
    transform: rotate(135deg);
  }

  .portfolio-intro > div:last-child {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .portfolio-item {
    grid-template-columns: 110px .8fr 1fr 130px;
    gap: 28px;
  }

  .portfolio-symbol {
    width: 112px;
    height: 112px;
  }

  .institutional-grid {
    grid-template-columns: 1fr;
  }

  .institutional-intro {
    position: static;
    max-width: 760px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-details {
    max-width: 720px;
  }
}

@media (max-width: 760px) {
  :root {
    --container: calc(100vw - 36px);
  }

  html {
    scroll-padding-top: 74px;
  }

  .header-inner {
    min-height: 72px;
  }

  .site-header {
    border-bottom-color: rgba(255,255,255,.11);
  }

  .brand-word {
    font-size: 1.04rem;
  }

  .brand-mark {
    width: 29px;
    height: 29px;
  }

  .brand--header .brand-logo {
    max-width: min(var(--brand-logo-max-width, 230px), 180px);
    max-height: min(var(--brand-logo-height, 42px), 38px);
  }

  .brand-site-name {
    font-size: 1.04rem;
  }

  .menu-button {
    width: 40px;
    height: 40px;
  }

  .mobile-menu {
    inset: 72px 0 auto;
    min-height: calc(100vh - 72px);
    padding: 28px 18px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 140px;
    gap: 70px;
  }

  .hero-copy h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
    line-height: .94;
  }

  .hero-lead {
    margin-top: 25px;
    font-size: 1.03rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
  }

  .hero-facts {
    margin-top: 55px;
    display: grid;
    gap: 10px;
  }

  .hero-facts span::after {
    display: none;
  }

  .architecture-card {
    padding: 18px;
  }

  .architecture-header {
    font-size: .58rem;
  }

  .platform-node {
    width: 90%;
  }

  .architecture-connector {
    width: 86%;
  }

  .project-nodes {
    gap: 7px;
  }

  .project-node {
    min-height: 124px;
    padding: 14px 10px;
  }

  .project-node span,
  .node-kicker {
    font-size: .52rem;
  }

  .project-node strong {
    font-size: 1rem;
  }

  .project-node small {
    font-size: .57rem;
  }

  .architecture-note {
    grid-template-columns: 28px 1fr;
  }

  .hero-footer {
    height: 60px;
  }

  .hero-footer span:last-child {
    display: none;
  }

  .section-pad {
    padding-block: 92px;
  }

  .statement-grid,
  .section-heading,
  .portfolio-intro,
  .governance-heading {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .statement-large {
    font-size: clamp(2.65rem, 12vw, 4.5rem);
  }

  .statement-columns {
    margin-top: 52px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .section-heading > p {
    grid-column: auto;
  }

  .section-heading h2,
  .portfolio-intro h2,
  .institutional-intro h2 {
    font-size: clamp(2.75rem, 12vw, 4.4rem);
  }

  .outcomes {
    margin-top: 70px;
  }

  .outcome {
    min-height: 0;
    padding: 34px 0;
    grid-template-columns: 42px 1fr;
    gap: 10px 16px;
    align-items: start;
  }

  .outcome:hover {
    padding-inline: 0;
    background: transparent;
  }

  .outcome > span {
    grid-row: 1 / 3;
  }

  .outcome h3 {
    font-size: 2rem;
  }

  .outcome p {
    grid-column: 2;
  }

  .layer-diagram {
    margin-top: 75px;
    padding: 28px 24px;
  }

  .portfolio-intro > div:last-child {
    grid-template-columns: 1fr;
  }

  .portfolio-list {
    margin-top: 70px;
  }

  .portfolio-item {
    min-height: 0;
    padding: 36px 0;
    grid-template-columns: 42px 1fr;
    gap: 20px 16px;
  }

  .portfolio-count {
    grid-row: 1 / 4;
    padding-top: 8px;
  }

  .portfolio-attributes {
    grid-column: 2;
  }

  .portfolio-symbol {
    grid-column: 2;
    justify-self: start;
    width: 100px;
    height: 100px;
  }

  .portfolio-symbol svg {
    width: 78px;
    height: 78px;
  }

  .evaluation {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .evaluation > div {
    grid-template-columns: 1fr;
  }

  .evaluation span {
    text-align: left;
  }

  .governance-heading h2,
  .contact-heading h2 {
    font-size: clamp(3rem, 13vw, 5rem);
  }

  .authority-model {
    margin-top: 70px;
    grid-template-columns: 1fr;
  }

  .authority-column,
  .platform-authority,
  .project-authority {
    padding: 38px 0;
  }

  .boundary {
    height: 72px;
    flex-direction: row;
    border: 0;
    border-top: 1px solid var(--line-light);
    border-bottom: 1px solid var(--line-light);
  }

  .boundary span {
    writing-mode: horizontal-tb;
    transform: none;
  }

  .boundary div {
    left: 50%;
    top: -5px;
  }

  .governance-statement {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .institutional-grid {
    gap: 70px;
  }

  .principle {
    min-height: 0;
    padding: 35px 0;
    grid-template-columns: 42px 1fr;
    gap: 0 16px;
  }

  .principle h3 {
    font-size: 2.25rem;
  }

  .contact-inner {
    min-height: auto;
    padding-block: 95px;
  }

  .contact-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .footer-inner {
    padding-block: 35px;
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Keep the fixed navigation below the WordPress admin toolbar while logged in. */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}


/* ========================================================================== 
   VCarboN 1.3 — Forest narrative hero, automatic dual-state logo, project media
   ========================================================================== */

/* Keep both logo variants in the same footprint to avoid navigation movement. */
.brand-logo-stack {
  display: grid;
  align-items: center;
  justify-items: start;
}

.brand-logo-stack > .brand-logo {
  grid-area: 1 / 1;
}

/* A dedicated white logo remains the best option. These filters provide a safe
   automatic fallback when only one coloured logo has been uploaded. */
.brand-logo--auto-light {
  filter: brightness(0) invert(1);
}

.brand-logo--auto-dark {
  filter: brightness(0) saturate(100%);
}

.site-header {
  background: linear-gradient(180deg, rgba(3, 16, 12, .48) 0%, rgba(3, 16, 12, .10) 74%, transparent 100%);
  border-bottom-color: rgba(255,255,255,.16);
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(255, 255, 255, .96);
  border-bottom-color: rgba(23, 33, 29, .12);
  box-shadow: 0 12px 34px rgba(4, 25, 19, .08);
}

/* Full-bleed image hero. */
.hero.hero--forest {
  position: relative;
  min-height: max(780px, 100svh);
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: #071f1a;
}

.hero.hero--forest::after {
  content: none;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  overflow: hidden;
  background: #071f1a;
}

.hero-background-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
  transform: scale(1.012);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 18, 13, .84) 0%, rgba(4, 25, 18, .68) 32%, rgba(4, 23, 18, .30) 64%, rgba(4, 23, 18, .09) 100%),
    linear-gradient(180deg, rgba(2, 12, 9, .42) 0%, rgba(2, 12, 9, .04) 34%, rgba(2, 12, 9, .46) 100%);
}

.hero-content {
  min-height: max(690px, calc(100svh - 92px));
  padding-top: clamp(150px, 18vh, 210px);
  padding-bottom: clamp(150px, 18vh, 205px);
  display: flex;
  align-items: center;
}

.hero-narrative {
  position: relative;
  z-index: 2;
  width: min(100%, 1030px);
}

.hero-narrative h1 {
  max-width: 1020px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.3rem, 7.55vw, 8.25rem);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.058em;
  text-wrap: balance;
  text-shadow: 0 8px 42px rgba(0, 0, 0, .24);
}

.hero--forest .hero-lead {
  max-width: 720px;
  margin: 36px 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255,255,255,.82);
  text-shadow: 0 3px 22px rgba(0, 0, 0, .26);
}

.hero--forest .hero-actions {
  margin-top: 42px;
}

.hero--forest .button-primary {
  color: var(--forest);
  background: #d2dfa8;
  border-color: #d2dfa8;
}

.hero--forest .button-primary:hover {
  background: #e0e9c2;
}

.hero--forest .text-link {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.58);
}

.hero-rail {
  position: absolute;
  z-index: 3;
  inset: auto 0 0;
  border-top: 1px solid rgba(255,255,255,.25);
  background: rgba(3, 20, 15, .25);
  backdrop-filter: blur(9px);
}

.hero-rail-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.hero-rail-inner span {
  min-height: 38px;
  padding: 0 clamp(20px, 3vw, 42px);
  display: flex;
  align-items: center;
  font-size: .66rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .105em;
  text-transform: uppercase;
  color: rgba(255,255,255,.78);
}

.hero-rail-inner span:first-child {
  padding-left: 0;
}

.hero-rail-inner span:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,.22);
}

/* Image-led portfolio cards with uploadable WordPress media. */
.portfolio-cards {
  margin-top: clamp(72px, 8vw, 112px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.portfolio-card {
  min-width: 0;
  background: rgba(252, 251, 247, .72);
  border: 1px solid rgba(23,33,29,.17);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s ease;
}

.portfolio-card:hover {
  transform: translateY(-7px);
  border-color: rgba(23,33,29,.30);
  box-shadow: 0 24px 52px rgba(27, 43, 35, .10);
}

.portfolio-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--forest);
}

.portfolio-card-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.portfolio-card:hover .portfolio-card-image {
  transform: scale(1.035);
}

.portfolio-media-index {
  position: absolute;
  z-index: 3;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.48);
  background: rgba(3, 25, 19, .46);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--display);
  font-size: .78rem;
}

.portfolio-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 22%, rgba(191,208,140,.22), transparent 32%),
    linear-gradient(135deg, #0b2d27 0%, #16483d 100%);
}

.portfolio-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(2,16,12,.52) 100%);
}

.portfolio-placeholder svg {
  position: absolute;
  inset: -10% -18%;
  width: 136%;
  height: 120%;
  fill: none;
  stroke: rgba(218, 231, 185, .34);
  stroke-width: 1.25;
}

.portfolio-placeholder > div {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3px;
}

.portfolio-placeholder span,
.portfolio-placeholder small {
  font-size: .60rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.portfolio-placeholder span {
  color: var(--moss);
}

.portfolio-placeholder strong {
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 400;
  line-height: 1;
}

.portfolio-placeholder small {
  margin-top: 7px;
  color: rgba(255,255,255,.58);
}

.portfolio-card-body {
  padding: 28px 28px 30px;
}

.portfolio-card-title span {
  display: block;
  font-size: .60rem;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted);
}

.portfolio-card-title h3 {
  margin: 8px 0 0;
  font-family: var(--display);
  font-size: clamp(2.35rem, 3.2vw, 3.65rem);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.04em;
}

.portfolio-card-attributes {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(23,33,29,.17);
}

.portfolio-card-attributes li {
  position: relative;
  padding: 12px 0 12px 17px;
  border-bottom: 1px solid rgba(23,33,29,.12);
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: .025em;
}

.portfolio-card-attributes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  width: 5px;
  height: 5px;
  background: var(--moss-dark);
  transform: rotate(45deg);
}

.portfolio-cards + .evaluation {
  margin-top: 52px;
}

@media (max-width: 1120px) {
  .hero.hero--forest {
    min-height: max(760px, 100svh);
  }

  .hero-content {
    min-height: calc(100svh - 88px);
    padding-top: 150px;
    padding-bottom: 170px;
  }

  .hero-narrative h1 {
    max-width: 900px;
    font-size: clamp(4.15rem, 10.2vw, 7.5rem);
  }

  .portfolio-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  }

  .portfolio-card:last-child .portfolio-card-media {
    aspect-ratio: auto;
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .site-header {
    background: linear-gradient(180deg, rgba(3, 16, 12, .58) 0%, rgba(3, 16, 12, .10) 100%);
  }

  .hero.hero--forest {
    min-height: max(720px, 100svh);
  }

  .hero-background-image {
    object-position: 58% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(3, 18, 13, .82) 0%, rgba(4, 25, 18, .52) 72%, rgba(4, 23, 18, .28) 100%),
      linear-gradient(180deg, rgba(2, 12, 9, .38) 0%, rgba(2, 12, 9, .04) 30%, rgba(2, 12, 9, .63) 100%);
  }

  .hero-content {
    min-height: 100svh;
    padding-top: 132px;
    padding-bottom: 170px;
    align-items: center;
  }

  .hero-narrative h1 {
    font-size: clamp(3.3rem, 15.2vw, 5.15rem);
    line-height: .91;
    letter-spacing: -.052em;
    text-wrap: pretty;
  }

  .hero--forest .hero-lead {
    margin-top: 25px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero--forest .hero-actions {
    margin-top: 32px;
  }

  .hero-rail-inner {
    min-height: 116px;
    padding-block: 15px;
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-rail-inner span,
  .hero-rail-inner span:first-child {
    min-height: 0;
    padding: 0;
    border: 0;
    font-size: .57rem;
  }

  .portfolio-cards {
    margin-top: 68px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-card:last-child {
    grid-column: auto;
    display: block;
  }

  .portfolio-card:last-child .portfolio-card-media,
  .portfolio-card-media {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .portfolio-card-body {
    padding: 25px 23px 27px;
  }

  .portfolio-placeholder {
    padding: 23px;
  }

  .portfolio-placeholder strong {
    font-size: 1.85rem;
  }
}
