:root {
    --gold: #edc981;
    --pink: #ef2997;
    --bg: #080809;
    --cream: #f6efe7;
    --muted: #c8bbad;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--bg);
    color: var(--cream);
    font:
        16px/1.6 Arial,
        sans-serif;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
}
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 4px;
}
h1,
h2,
h3 {
    font-family: Georgia, serif;
    font-weight: normal;
    line-height: 1.12;
}
h2 {
    font-size: clamp(32px, 3.6vw, 59px);
    margin: 12px 0 20px;
}
h2 em,
h1 em {
    color: var(--pink);
    font-style: normal;
}
.wrap {
    max-width: 1200px;
    width: 92%;
    margin: auto;
}
.skip {
    position: absolute;
    top: -80px;
    left: 12px;
    background: #271324;
    padding: 12px;
    z-index: 100;
}
.skip:focus {
    top: 10px;
}
.hero {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 570px;
    background: radial-gradient(ellipse at 80% 50%, #3c192c, #080809 65%);
}
.hero-photo {
    position: relative;
    overflow: hidden;
}
.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 65%, #0b090ce8);
}
.hero-content {
    align-self: center;
    padding: 60px min(6vw, 100px) 60px 4vw;
}
.eyebrow,
.section-index span {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: var(--gold);
}
.hero h1 {
    font-size: clamp(47px, 5.2vw, 86px);
    margin: 17px 0 23px;
}
.hero p {
    max-width: 570px;
    font-size: 18px;
    color: #e6d7da;
}
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold);
    padding: 12px 21px;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: bold;
    text-transform: uppercase;
    min-height: 44px;
}
.pinkbtn {
    background: var(--pink);
    border-color: var(--pink);
    color: #fff;
}
.outline {
    background: #0b0910a3;
    color: var(--gold);
}
.btn:hover {
    background: #7b255b;
    color: #fff;
}
.section-nav {
    position: sticky;
    top: 0;
    z-index: 25;
    background: #100c0ff2;
    border-top: 1px solid #80653b;
    border-bottom: 1px solid #80653b;
    backdrop-filter: blur(12px);
}
.section-nav-inner {
    max-width: 1440px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}
.section-nav a {
    padding: 15px 10px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    border-right: 1px solid #5c482c;
}
.section-nav a:hover {
    color: var(--pink);
    background: #291721;
}
.section-nav small {
    display: block;
    color: var(--gold);
    margin-top: 5px;
}
.section {
    padding: 78px max(4%, calc((100vw - 1400px) / 2));
    scroll-margin-top: 90px;
}
.section-index {
    font:
        40px Georgia,
        serif;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}
.section-index span {
    border-left: 1px solid var(--gold);
    padding-left: 16px;
}
.section p {
    color: #e1d5d7;
}




.foundation {
  position: relative;
  background:
    linear-gradient(
      90deg,
      #080609 0%,
      #080609 32%,
      rgba(8, 6, 9, 0.98) 43%,
      rgba(8, 6, 9, 0.88) 54%,
      rgba(8, 6, 9, 0.15) 78%,
      transparent 100%
    ),
    url("assets/hero-behavior-is-not-intentB.png")
      right center / cover no-repeat;

  min-height: 590px;
  /*display: flex;*/
  align-items: center;
}

.foundation-grid {
    display: grid;
    grid-template-columns: 31% 27% 1fr;
    gap: 36px;
    align-items: center;
}



.foundation .foundation-content {
  position: relative;
  z-index: 2;
  width: min(100%, 850px);
  margin-left: max(5%, calc((100vw - 1200px) / 2));
  padding: 70px 25px 70px 0;
}

.foundation .foundation-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.foundation .foundation-description {
  border-left: 1px solid #b99257;
  padding-left: 30px;
}

@media (max-width: 850px) {
  .foundation {
    background-position: 65% center;
  }

  .foundation .foundation-content {
    width: 100%;
    margin-left: 0;
    padding: 50px 6%;
    background: rgba(8, 6, 9, 0.78);
  }

  .foundation .foundation-columns {
    grid-template-columns: 1fr;
  }

  .foundation .foundation-description {
    border-left: 0;
    border-top: 1px solid #b99257;
    padding: 25px 0 0;
  }
}









/*.foundation {
    	background:
        linear-gradient(90deg, #120b12aa, #13091230),
        url("assets/hero-behavior-is-not-intentB.png") center/cover;
}
.foundation-grid {
    display: grid;
    grid-template-columns: 31% 27% 1fr;
    gap: 36px;
    align-items: center;
}
.foundation h2 {
    font-size: clamp(35px, 4.2vw, 70px);
}*/
.foundation-statement {
    border-left: 1px solid #816342;
    padding-left: 28px;
}
.foundation-statement p {
    font-size: 15px;
}
.text-link {
    display: inline-block;
    color: var(--gold);
    font-weight: bold;
    border-bottom: 1px solid var(--gold);
    margin-top: 18px;
    font-size: 13px;
}
.portrait-panel {
    min-height: 365px;
    /*background:
        linear-gradient(90deg, #120b12aa, #13091230),
        url("assets/portrait.webp") center/cover;*/
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*border: 1px solid #674c39;*/
    padding: 25px;
}
.portrait-panel span {
    font-size: 12px;
    letter-spacing: 0.15em;
    line-height: 2.5;
    color: var(--gold);
    text-align: right;
    text-shadow: 0 2px 8px #000;
}
.evolution {
    background: linear-gradient(125deg, #0a070b, #210d1d 60%, #080809);
}
.evolution-intro {
    display: grid;
    grid-template-columns: 36% 1fr;
    align-items: center;
    gap: 30px;
}
.evolution-intro p {
    max-width: 440px;
}
.evolution-art {
    height: 360px;
    overflow: hidden;
    border: 1px solid #61442e;
}
.evolution-art img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.level-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border: 1px solid #98703c;
    margin-top: 24px;
}
.level-strip button {
    background: #0e0b10e9;
    color: #fff;
    text-align: left;
    border: 0;
    border-right: 1px solid #765539;
    min-height: 178px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.level-strip button:last-child {
    border-right: 0;
}
.level-strip button:hover,
.level-strip button.selected {
    background: #33182b;
}
.level-strip span {
    color: var(--gold);
    font:
        26px Georgia,
        serif;
}
.level-strip strong {
    font-size: 13px;
    text-transform: uppercase;
    line-height: 1.4;
}
.level-strip small {
    color: #e6d9d8;
}
.level-strip b {
    margin-top: auto;
    color: var(--pink);
    font-size: 12px;
}
.level-detail {
    border: 1px solid #765339;
    border-top: 0;
    padding: 25px 30px;
    min-height: 150px;
    background: #1a101b;
}
.level-detail h3 {
    color: var(--gold);
    font-size: 28px;
    margin: 7px 0;
}
.level-detail p {
    margin: 0;
}
.framework {
    display: grid;
    grid-template-columns: 47% 1fr;
    gap: 55px;
    align-items: center;
    background: radial-gradient(ellipse at 30% 50%, #3a142b, #0a090a 68%);
}
.framework-copy h2 {
    font-size: clamp(32px, 3.3vw, 52px);
}
.framework-copy .note {
    font-size: 13px;
    color: #bdb0b8;
}
.orbital {
    width: min(100%, 460px);
    aspect-ratio: 1;
    position: relative;
    border-radius: 50%;
    border: 2px solid #b77c44;
    background: radial-gradient(circle, #1b0e16 15%, #39112e 45%, #100c11 70%);
    box-shadow: 0 0 70px #b86d433b;
    margin: auto;
}
.orbit-core {
    position: absolute;
    left: 31%;
    top: 32%;
    width: 38%;
    height: 38%;
    display: grid;
    place-items: center;
    text-align: center;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: #130b13;
    color: var(--gold);
    font:
        17px/1.25 Georgia,
        serif;
}
.orbit-node {
    position: absolute;
    width: 40%;
    min-height: 100px;
    border: 1px solid #d69b60;
    border-radius: 60px;
    background: linear-gradient(140deg, #471333, #170d19);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #f4d7a5;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 0 22px #a456594a;
}
.orbit-node small {
    display: block;
    color: #d8c7d1;
    font-size: 11px;
    font-weight: normal;
}
.n1 {
    left: 30%;
    top: -5%;
}
.n2 {
    right: -5%;
    top: 39%;
}
.n3 {
    left: 30%;
    bottom: -5%;
}
.n4 {
    left: -5%;
    top: 39%;
}
.manifesto {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: linear-gradient(110deg, #130d11, #28151b, #100d12);
}
.manifesto blockquote {
    font:
        italic clamp(23px, 2.6vw, 39px) / 1.4 Georgia,
        serif;
    color: var(--gold);
    border-left: 1px solid #906a3d;
    padding-left: 40px;
}
.manifesto cite {
    display: block;
    font:
        12px Arial,
        sans-serif;
    letter-spacing: 0.12em;
    margin-top: 25px;
    color: #f0cf96;
}
.research {
    display: grid;
    grid-template-columns: 35% 1fr;
    gap: 70px;
    align-items: center;
    background: linear-gradient(100deg, #110b0f, #080809);
}
.research-art img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border: 1px solid #795b38;
}
.research-links {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.research-links a {
    border-top: 1px solid #87623a;
    padding-top: 14px;
    color: var(--gold);
    font-weight: bold;
    font-size: 12px;
}
.research-links small {
    display: block;
    font-weight: normal;
    color: #b9acb5;
    margin-top: 7px;
}
.apply {
    background: linear-gradient(100deg, #0d0a0d, #1b1019);
}
.apply {
    display: grid;
    grid-template-columns: 31% 1fr;
    gap: 30px;
}
.tool-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    align-items: stretch;
}
.tool-grid article {
    padding: 23px;
    border: 1px solid #7c5a42;
    background: #1c1319;
    display: flex;
    flex-direction: column;
}
.tool-grid article > span {
    font-size: 34px;
    color: var(--gold);
}
.tool-grid h3 {
    font-size: 23px;
    color: #f4dfbf;
}
.tool-grid p {
    font-size: 14px;
}
.tool-grid a {
    color: var(--pink);
    font-size: 12px;
    font-weight: bold;
    margin-top: auto;
}
.closing {
    text-align: center;
    padding: 70px 5%;
    background: linear-gradient(100deg, #130b11, #321329, #0e090e);
}
.closing h2 {
    font-size: clamp(31px, 3.5vw, 53px);
}
.closing p {
    color: #cdbec7;
}
footer {
    border-top: 1px solid #785d3a;
    padding: 28px 0;
    color: #c7bbae;
    font-size: 13px;
}
@media (max-width: 1050px) {
    .foundation-grid {
        grid-template-columns: 1fr 1fr;
    }
    .portrait-panel {
        grid-column: 1/-1;
        min-height: 240px;
    }
    .apply {
        grid-template-columns: 1fr;
    }
    .hero {
        grid-template-columns: 45% 55%;
    }
    .hero-content {
        padding: 35px;
    }
    .section-nav-inner {
        grid-template-columns: repeat(3, 1fr);
    }
    .section {
        scroll-margin-top: 140px;
    }
}
@media (max-width: 720px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-photo {
        height: 320px;
    }
    .hero-photo:after {
        background: linear-gradient(0deg, #080809, transparent 45%);
    }
    .hero-content {
        padding: 25px 6% 50px;
    }
    .section-nav-inner {
        display: flex;
        overflow-x: auto;
    }
    .section-nav a {
        flex: 0 0 auto;
        min-width: 145px;
    }
    .foundation-grid,
    .evolution-intro,
    .framework,
    .manifesto,
    .research {
        grid-template-columns: 1fr;
    }
    .foundation-statement {
        border-left: 0;
        padding: 0;
    }
    .portrait-panel {
        grid-column: auto;
    }
    .level-strip {
        grid-template-columns: 1fr 1fr;
    }
    .level-strip button {
        min-height: 160px;
        border-bottom: 1px solid #765539;
    }
    .tool-grid {
        grid-template-columns: 1fr;
    }
    .research-links {
        grid-template-columns: 1fr;
    }
    .evolution-art {
        height: 250px;
    }
    .section {
        padding: 55px 5%;
        scroll-margin-top: 90px;
    }
    .manifesto blockquote {
        margin: 0;
        padding-left: 22px;
    }
    .orbital {
        width: min(90%, 380px);
    }
}
@media (max-width: 430px) {
    .level-strip {
        grid-template-columns: 1fr;
    }
    .level-strip button {
        min-height: 115px;
    }
    .hero h1 {
        font-size: 51px;
    }
    .orbit-node {
        font-size: 10px;
        min-height: 76px;
    }
    .orbit-node small {
        font-size: 9px;
    }
    .orbit-core {
        font-size: 12px;
    }
    .orbital {
        margin: 25px auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Preserve the approved full-width CII hero artwork, including its built-in typography. */
.hero-original {
    display: block;
    min-height: 0;
    background: #080809;
}
.hero-original-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.hero-below-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 22px 4% 28px;
    background: #080809;
}

/* Approved pillar mockup hero: portrait left, statement right, real CTA links. */
.hero.hero-approved {
    display: grid;
    grid-template-columns: 47% 53%;
    min-height: 510px;
    background: radial-gradient(ellipse at 78% 50%, #321020, #080809 70%);
}
.hero-approved .hero-photo {
    position: relative;
    overflow: hidden;
    min-height: 510px;
}
.hero-approved .hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
}
.hero-approved .hero-photo:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 72%, #0b080bc9), linear-gradient(0deg, #08080970, transparent 35%);
}
.hero-approved .hero-content {
    align-self: center;
    padding: 45px clamp(25px, 5vw, 90px) 45px 4vw;
}
.hero-approved h1 {
    font:
        normal clamp(48px, 5.2vw, 84px) / 1.05 Georgia,
        serif;
    letter-spacing: -0.035em;
    margin: 12px 0 20px;
}
.hero-approved h1 em {
    font-style: italic;
    color: #edc981;
}
.hero-approved p {
    font:
        19px/1.6 Georgia,
        serif;
    color: #eadfd6;
    max-width: 560px;
}
.hero-approved .actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}
@media (max-width: 720px) {
    .hero.hero-approved {
        grid-template-columns: 1fr;
    }
    .hero-approved .hero-photo {
        min-height: 0;
        height: 340px;
    }
    .hero-approved .hero-content {
        padding: 30px 6% 55px;
    }
    .hero-approved h1 {
        font-size: clamp(46px, 10vw, 67px);
    }
}
