/* CET Ember Executive: a continuous, layered environment for the homepage. */
.home-page {
  --ember: var(--cet-orange);
  --ember-dim: var(--cet-orange-deep);
  --ink: #080a0c;
  --paper: #f5f1eb;
  --muted: #c4bdb5;
  background: #080a0c;
  color: var(--paper);
  font-family: Montserrat, sans-serif;
}
.home-page .top-rule { height: 1px; background: linear-gradient(90deg, transparent, var(--cet-orange-deep) 50%, transparent); }
.home-page .site-header {
  inset: 1px 0 auto;
  height: 88px;
  background: linear-gradient(180deg, #08090ce8, #08090cb5);
  border-bottom: 1px solid rgb(var(--cet-orange-light-rgb) / 0.133);
  backdrop-filter: blur(24px);
}
.home-page .site-header nav a { color: #e2dcd3; font-size: 13px; letter-spacing: .04em; }
.home-page .site-header nav a:after { background: var(--cet-orange); height: 1px; }
.home-page .site-header .brand-art { height: 76px; }
.home-page .eyebrow { color: var(--cet-orange); letter-spacing: .2em; font-size: 12px; }
.home-page .button { border-radius: 2px; min-height: 55px; font-size: 11px; letter-spacing: .12em; }
.home-page .button.primary {
  background: linear-gradient(135deg, var(--cet-orange), var(--cet-orange-deep));
  color: #14100d;
  box-shadow: 0 10px 38px rgb(var(--cet-orange-deep-rgb) / 0.122), inset 0 1px rgb(var(--cet-orange-light-rgb) / 0.671);
}
.home-page .button.outline { border-color: rgb(var(--cet-orange-rgb) / 0.459); color: #ede4d8; background: #12131575; }
.home-page .button:hover { transform: translateY(-2px); }
.home-page .button:focus-visible, .home-page a:focus-visible,
.home-page button:focus-visible { outline: 2px solid var(--cet-orange-light); outline-offset: 4px; }

/* Image, content and foreground glass occupy separate planes. */
.home-page .hero {
  display: flex;
  align-items: center;
  min-height: min(870px, 100svh);
  padding: 150px 6vw 120px;
  isolation: isolate;
  background: #07090b;
}
.home-page .hero:before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #080a0cf7 0%, #080a0ce6 32%, #080a0c59 57%, transparent 84%),
    linear-gradient(0deg, #080a0c 0%, transparent 28%, #080a0c32 100%);
}
.home-page .hero:after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 100px; bottom: 60px; left: 4vw;
  width: 1px;
  background: linear-gradient(transparent, rgb(var(--cet-orange-rgb) / 0.42) 48%, transparent);
  pointer-events: none;
}
.home-page .hero-visual { inset: 0; z-index: 0; display: block; }
.home-page .hero-visual img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  transform: translateY(var(--parallax,0px)) scale(1.015);
}
.home-page .hero-visual:after { display: none; }
.home-page .hero-glow { width: 330px; height: 330px; background: rgb(var(--cet-orange-deep-rgb) / 0.141); filter: blur(95px); right: 4%; top: 8%; }
.home-page .ambient { z-index: 2; border: 0; border-radius: 0; pointer-events: none; }
.home-page .ambient-one { left: 11%; top: 3%; width: 1px; height: 85%; background: linear-gradient(transparent, #ffffff16, transparent); animation: none; }
.home-page .ambient-two { width: 33%; height: 1px; right: -5%; bottom: 18%; background: linear-gradient(90deg, transparent, rgb(var(--cet-orange-rgb) / 0.341), transparent); box-shadow: 0 0 24px rgb(var(--cet-orange-rgb) / 0.376); animation: ember-glint 11s ease-in-out infinite; }
.home-page .hero-copy { z-index: 4; width: min(695px, 58vw); max-width: none; padding: 0; }
.home-page .hero h1 {
  width: 100%; max-width: none;
  margin: 24px 0 25px;
  font: 600 clamp(34px, 3vw, 48px)/1.12 Montserrat, sans-serif;
  letter-spacing: -.045em;
  text-transform: uppercase;
  text-wrap: balance;
}
.home-page .hero h1>span, .home-page .hero h1 em span { white-space: normal; }
.home-page .hero h1 em { color: var(--cet-orange); text-shadow: 0 0 38px rgb(var(--cet-orange-deep-rgb) / 0.18); }
.home-page .hero-support { max-width: 590px; color: #dfd8ce; font-size: 16px; line-height: 1.78; }
.home-page .hero-actions { flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The proof strip is smoked glass rather than a white interruption. */
.home-page .trust-strip {
  width: min(1200px, 90%); margin: -64px auto 0; padding: 0;
  background: #171a1ce8; border: 1px solid rgb(var(--cet-orange-light-rgb) / 0.251); border-radius: 4px;
  box-shadow: 0 36px 75px #000a, inset 0 1px #ffffff16;
  backdrop-filter: blur(18px); overflow: hidden;
}
.home-page .trust-strip img { display: block; width: 100%; filter: grayscale(1) invert(1); opacity: .83; mix-blend-mode: screen; }

/* An architectural wall: four illuminated compartments on one continuous surface. */
.home-page .alpha-problem {
  margin-top: -40px;
  padding: 185px 6vw 145px;
  background: radial-gradient(ellipse at 76% 20%, rgb(var(--cet-orange-deep-rgb) / 0.086), transparent 44%),
    linear-gradient(100deg, #0d1012, #121416 47%, #080a0c);
  border: 0;
}
.home-page .alpha-problem:before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), #ffffff09 calc(25% - 1px) 25%),
    linear-gradient(0deg, transparent 85%, #080a0c);
  opacity: .58;
}
.home-page .problem-grid-bg { background-size: 96px 96px; opacity: .22; }
.home-page .alpha-problem .section-intro { max-width: 850px; }
.home-page .problem-section h2 { max-width: 790px; font-size: clamp(31px, 3.6vw, 58px); line-height: 1.13; }
.home-page .problem-section h2 em, .home-page .belief-heading h2 em { color: var(--cet-orange); }
.home-page .alpha-problem .section-intro>p:last-child { color: #c3beb7; max-width: 720px; font-size: 16px; }
.home-page .story-path {
  margin-top: 74px; gap: 0; border: 1px solid rgb(var(--cet-orange-rgb) / 0.192);
  background: linear-gradient(180deg, #181a1b, #0c0e10 95%);
  box-shadow: 0 30px 90px #0009, inset 0 2px rgb(var(--cet-orange-light-rgb) / 0.2);
}
.home-page .story-path:before {
  content: ""; position: absolute; z-index: 1; inset: -24px 0 auto; height: 24px;
  background: linear-gradient(180deg, transparent, rgb(var(--cet-orange-deep-rgb) / 0.082));
  border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.141);
}
.home-page .story-line { top: 81px; background: rgb(var(--cet-orange-rgb) / 0.133); }
.home-page .story-line span { background: var(--cet-orange); box-shadow: 0 0 22px rgb(var(--cet-orange-rgb) / 0.631); }
.home-page .story-card {
  min-height: 380px; padding: 46px 29px 31px;
  border-right: 1px solid rgb(var(--cet-orange-rgb) / 0.251);
  background: linear-gradient(180deg, rgb(var(--cet-orange-rgb) / 0.063), transparent 24%, #00000030 100%);
}
.home-page .story-card:after { background: var(--cet-orange); box-shadow: 0 0 22px rgb(var(--cet-orange-rgb) / 0.533); height: 2px; }
.home-page .story-card:hover, .home-page .story-card:focus, .home-page .story-card.active {
  transform: none;
  background: linear-gradient(180deg, rgb(var(--cet-orange-light-rgb) / 0.133), #121517 29%, #0b0d0f);
}
.home-page .story-card b { color: rgb(var(--cet-orange-light-rgb) / 0.251); font-size: 37px; }
.home-page .story-icon {
  border-color: rgb(var(--cet-orange-rgb) / 0.549); color: var(--cet-orange); background: #1d1d1b;
  box-shadow: 0 0 26px rgb(var(--cet-orange-rgb) / 0.094);
}
.home-page .story-card:hover .story-icon, .home-page .story-card:focus .story-icon,
.home-page .story-card.active .story-icon {
  color: var(--cet-orange-light); background: #3c2a1e; box-shadow: 0 0 38px rgb(var(--cet-orange-rgb) / 0.376); transform: none;
}
.home-page .story-step { color: var(--cet-orange)!important; font-size: 12px!important; }
.home-page .story-card h3 { color: #f4eee6; }
.home-page .story-card>p:last-child { color: #b9b3ab; font-size: 14px; }
.home-page .story-conclusion {
  border: 0; border-top: 1px solid rgb(var(--cet-orange-rgb) / 0.388); padding: 32px 0 0;
  background: transparent; color: #b9b4ae; font-size: clamp(18px, 2vw, 25px);
}

/* A view through the glass room fades into the interactive strategy table. */
.home-page .belief-system {
  isolation: isolate;
  padding: 145px 6vw 150px;
  border-top: 0;
  background: #090b0d;
}
.home-page .belief-system:before {
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 720px;
  background: linear-gradient(90deg, #080a0cf7, #080a0cb8 40%, #080a0c1a 75%),
    linear-gradient(0deg, #090b0d, transparent 55%, #090b0d4d),
    url('assets/585520A5-6096-4764-B8F0-25AF67C6768C.jpeg') center 43% / cover no-repeat;
}
.home-page .belief-system:after {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(0deg, #090b0d 0, transparent 43%),
    radial-gradient(ellipse at 30% 65%, rgb(var(--cet-orange-deep-rgb) / 0.094), transparent 38%);
  pointer-events: none;
}
.home-page .belief-grid-bg { opacity: .2; }
.home-page .belief-orbit { display: none; }
.home-page .belief-heading { max-width: 780px; }
.home-page .belief-heading h2 { font-size: clamp(34px, 4.1vw, 61px); line-height: 1.12; }
.home-page .belief-heading>p:last-child { color: #dad2c9; }
.home-page .belief-experience {
  margin-top: 105px;
  border: 1px solid rgb(var(--cet-orange-rgb) / 0.302);
  background: #101416d9;
  box-shadow: 0 35px 90px #000b, inset 0 1px rgb(var(--cet-orange-light-rgb) / 0.133);
  backdrop-filter: blur(16px);
}
.home-page .belief-experience:after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(106deg, transparent 42%, #ffffff0a 50%, transparent 58%);
  background-size: 240% 100%;
  animation: glass-reflection 19s ease-in-out infinite;
}
.home-page .belief-path { border-color: rgb(var(--cet-orange-rgb) / 0.22); }
.home-page .belief-stage {
  background: #141719b8; color: #d3cbc2;
  border-color: rgb(var(--cet-orange-rgb) / 0.188); min-height: 150px;
}
.home-page .belief-stage:hover, .home-page .belief-stage:focus, .home-page .belief-stage.active {
  background: linear-gradient(90deg, rgb(var(--cet-orange-rgb) / 0.188), #1b1c1c8c);
  box-shadow: inset 2px 0 var(--cet-orange);
}
.home-page .belief-stage>span { color: rgb(var(--cet-orange-light-rgb) / 0.333); }
.home-page .belief-stage.active>span, .home-page .belief-stage.active small { color: var(--cet-orange); text-shadow: none; }
.home-page .belief-stage strong { color: #f1e9df; }
.home-page .decision-panel {
  background: radial-gradient(circle at 85% 75%, rgb(var(--cet-orange-deep-rgb) / 0.161), transparent 35%), #101314e8;
}
.home-page .decision-label { color: var(--cet-orange); }
.home-page .decision-signal span { background: var(--cet-orange); box-shadow: 0 0 12px var(--cet-orange); }
.home-page .decision-panel #beliefStageCopy p { color: #c7beb4; font-size: 15px; }
.home-page .decision-core { border-color: rgb(var(--cet-orange-rgb) / 0.478); background: #1b1815; box-shadow: 0 0 50px rgb(var(--cet-orange-rgb) / 0.169); }
.home-page .decision-core:before { border-color: rgb(var(--cet-orange-rgb) / 0.302); }
.home-page .decision-core span { color: var(--cet-orange); }
.home-page .belief-close { margin-top: 95px; }
.home-page .belief-close>p { color: #f0e7dc; }
.home-page .belief-close>div span { border-color: rgb(var(--cet-orange-rgb) / 0.251); color: #c8bdb1; }
.home-page .belief-close>div span:hover { border-color: var(--cet-orange); background: rgb(var(--cet-orange-deep-rgb) / 0.133); box-shadow: 0 0 25px rgb(var(--cet-orange-deep-rgb) / 0.188); }

/* Resources are displayed as a continuous library wall, with dividers instead of cards. */
.home-page .resources-section {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 135px 6vw 165px;
  color: #f2eee7; border-top: 1px solid rgb(var(--cet-orange-deep-rgb) / 0.173);
  background: linear-gradient(110deg, #0b0d0f, #111416 53%, #090b0d);
}
.home-page .resources-section:before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(ellipse at 70% 8%, rgb(var(--cet-orange-deep-rgb) / 0.125), transparent 43%),
    repeating-linear-gradient(90deg, transparent 0 19%, #ffffff08 19.1% 19.2%, transparent 19.3% 20%);
  opacity: .7;
}
.home-page .resources-section h2 { font-size: clamp(35px, 3.5vw, 53px); }
.home-page .section-head>p { color: #c1b8ae; font-size: 16px; }
.home-page .resource-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  margin-top: 65px; gap: 0; border-top: 1px solid rgb(var(--cet-orange-rgb) / 0.471); border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.388);
  box-shadow: 0 -20px 55px rgb(var(--cet-orange-deep-rgb) / 0.125);
}
.home-page .resource-grid article, .home-page .resource-grid article.featured {
  min-height: 405px; padding: 40px 32px 35px;
  border: 0; border-right: 1px solid rgb(var(--cet-orange-rgb) / 0.22); border-radius: 0;
  background: linear-gradient(180deg, rgb(var(--cet-orange-rgb) / 0.071), #0d1012 40%, #090b0d);
  color: #f4efe7; box-shadow: none;
}
.home-page .resource-grid article:last-child { border-right: 0; }
.home-page .resource-grid article:hover { transform: none; background: linear-gradient(180deg, rgb(var(--cet-orange-rgb) / 0.141), #141719 48%, #090b0d); box-shadow: inset 0 1px rgb(var(--cet-orange-light-rgb) / 0.584); }
.home-page .resource-grid article:before { display: none; }
.home-page .resource-no, .home-page .featured .resource-no { color: rgb(var(--cet-orange-light-rgb) / 0.302); }
.home-page .resource-icon { border: 0; border-radius: 0; background: transparent; color: var(--cet-orange); margin: 5px 0 38px; width: 48px; height: 48px; }
.home-page .resource-grid article:hover .resource-icon { background: transparent; color: var(--cet-orange-light); box-shadow: none; }
.home-page .resource-grid h3 { font-size: clamp(19px, 1.8vw, 25px); }
.home-page .resource-grid p, .home-page .resource-grid .featured p { color: #bfb7ac; font-size: 15px; }
.home-page .resource-grid a { color: var(--cet-orange-light); }

/* The closing Ember Chamber has a light source beyond the frame. */
.home-page .home-contact {
  isolation: isolate; overflow: hidden;
  padding: 155px 7vw 110px; gap: 65px;
  border-top: 0; background: #080a0c;
}
.home-page .home-contact:before {
  content: ""; position: absolute; z-index: -2; inset: 0;
  background: radial-gradient(ellipse at 2% 88%, rgb(var(--cet-orange-rgb) / 0.22), transparent 38%),
    radial-gradient(ellipse at 80% 38%, rgb(var(--cet-orange-deep-rgb) / 0.137), transparent 37%),
    linear-gradient(115deg, #0c0d0e, #07090a 70%);
  animation: ember-breathe 13s ease-in-out infinite;
}
.home-page .home-contact:after {
  content: ""; display: block; position: absolute; z-index: -1;
  width: auto; height: auto; border: 0; border-radius: 0; box-shadow: none;
  inset: 0; pointer-events: none;
  background: radial-gradient(circle at 8% 70%, rgb(var(--cet-orange-light-rgb) / 0.522) 0 1px, transparent 2px),
    radial-gradient(circle at 73% 28%, rgb(var(--cet-orange-light-rgb) / 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 88% 67%, rgb(var(--cet-orange-light-rgb) / 0.471) 0 1px, transparent 2px);
  animation: ember-drift 18s linear infinite;
}
.home-page .contact-portrait {
  width: min(28vw, 300px); height: 380px; border-radius: 2px;
  border: 1px solid rgb(var(--cet-orange-rgb) / 0.412); box-shadow: 0 30px 85px #000c, 0 0 45px rgb(var(--cet-orange-rgb) / 0.188);
  position: relative;
}
.home-page .contact-portrait:after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #15100c6b, transparent 65%); }
.home-page .contact-portrait img { filter: brightness(.83) saturate(.78); object-position: center 35%; }
.home-page .contact-section h2 { font-size: clamp(38px, 4.6vw, 70px); }
.home-page .contact-section>div>p { color: #c8beb3; font-size: 16px; }
.home-page .contact-details { border-color: rgb(var(--cet-orange-rgb) / 0.251); }
.home-page .contact-details a, .home-page .contact-details span { color: #c7b9aa; }
.home-page footer { background: #080a0c; border-top: 1px solid rgb(var(--cet-orange-rgb) / 0.161); color: #a49b91; }

@keyframes ember-glint { 50% { opacity: .38; transform: translateX(-10%); } }
@keyframes ember-breathe { 50% { opacity: .68; } }
@keyframes ember-drift { 50% { transform: translateY(-30px); opacity: .4; } }
@keyframes glass-reflection { 0%, 28%, 100% { background-position: 100% 0; } 70% { background-position: -90% 0; } }

@media (max-width: 1100px) {
  .home-page .hero { min-height: 760px; }
  .home-page .hero-copy { width: min(640px, 65vw); }
  .home-page .hero h1 { font-size: clamp(33px, 3.8vw, 41px); }
  .home-page .hero:before { background: linear-gradient(90deg, #080a0cf7, #080a0cdd 39%, #080a0c55 70%), linear-gradient(0deg, #080a0c, transparent 30%); }
  .home-page .story-card { padding: 39px 24px 30px; }
}
@media (max-width: 900px) {
  .home-page .site-header { height: 76px; }
  .home-page .site-header nav { background: #101315f5; border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.333); }
  .home-page .site-header nav a { font-size: 16px; }
  .home-page .menu-button { border-color: rgb(var(--cet-orange-rgb) / 0.439); border-radius: 2px; }
  .home-page .hero { min-height: 750px; padding: 145px 5vw 100px; }
  .home-page .hero-copy { width: min(620px, 75vw); }
  .home-page .hero-visual { inset: 0; }
  .home-page .hero-visual img { object-position: 66% center; }
  .home-page .hero h1 { font-size: clamp(31px, 4.2vw, 39px); }
  .home-page .trust-strip { width: 94%; margin-top: -38px; }
  .home-page .alpha-problem { padding: 150px 5vw 115px; }
  .home-page .story-path { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .home-page .story-card:nth-child(2) { border-right: 0; }
  .home-page .story-card:nth-child(-n+2) { border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.22); }
  .home-page .belief-system { padding: 105px 5vw 120px; }
  .home-page .belief-system:before { height: 650px; background-position: center, center, 58% center; }
  .home-page .belief-experience { margin-top: 85px; }
  .home-page .resource-grid { grid-template-columns: 1fr; }
  .home-page .resource-grid article, .home-page .resource-grid article.featured { min-height: 0; padding: 32px 25px; border-right: 0; border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.22); }
  .home-page .resource-grid article:last-child { border-bottom: 0; }
  .home-page .resource-icon { margin: 0 0 18px; }
  .home-page .resource-grid a { margin-top: 25px; }
}
@media (max-width: 640px) {
  .home-page .site-header { padding: 0 20px; }
  .home-page .hero { display: block; min-height: 0; padding: 380px 22px 105px; }
  .home-page .hero:before { background: linear-gradient(0deg, #080a0c 0%, #080a0cf5 39%, #080a0c7d 63%, transparent 88%), linear-gradient(90deg, #080a0c38, transparent); }
  .home-page .hero:after { left: 10px; top: 130px; bottom: 35px; }
  .home-page .hero-visual { inset: 0 0 auto; height: 530px; }
  .home-page .hero-visual img { object-position: 72% 44%; }
  .home-page .hero-copy { width: 100%; }
  .home-page .hero h1 { font-size: clamp(28px, 6.5vw, 34px); line-height: 1.16; letter-spacing: -.035em; }
  .home-page .hero-support { font-size: 15px; line-height: 1.7; }
  .home-page .hero-actions { gap: 10px; }
  .home-page .hero-actions .button { width: 100%; }
  .home-page .ambient-one { display: none; }
  .home-page .trust-strip { width: calc(100% - 28px); margin: -60px auto 0; padding: 0; overflow-x: auto; }
  .home-page .trust-strip img { width: 760px; max-width: none; }
  .home-page .alpha-problem { padding: 145px 22px 95px; margin-top: -30px; }
  .home-page .problem-section h2 { font-size: clamp(30px, 8vw, 41px); }
  .home-page .story-path { grid-template-columns: 1fr; margin-top: 55px; }
  .home-page .story-card, .home-page .story-card:nth-child(2), .home-page .story-card:nth-child(3) { min-height: 0; padding: 34px 25px; border-right: 0; border-bottom: 1px solid rgb(var(--cet-orange-rgb) / 0.22); }
  .home-page .story-card:last-child { border-bottom: 0; }
  .home-page .story-conclusion { justify-content: flex-start; }
  .home-page .belief-system { padding: 95px 22px 100px; }
  .home-page .belief-system:before { height: 550px; background-position: center, center, 58% center; background-size: cover; opacity: .8; }
  .home-page .belief-heading h2 { font-size: clamp(30px, 7.9vw, 42px); }
  .home-page .belief-heading>p:last-child { font-size: 15px; }
  .home-page .belief-experience { margin-top: 75px; }
  .home-page .belief-stage { min-height: 0; padding: 20px 25px; }
  .home-page .decision-panel { min-height: 490px; padding: 35px 25px; }
  .home-page .resources-section { padding: 105px 22px 115px; }
  .home-page .resources-section h2 { font-size: clamp(31px, 8vw, 42px); }
  .home-page .section-head>p { font-size: 15px; }
  .home-page .home-contact { display: block; padding: 110px 22px 75px; }
  .home-page .contact-portrait { width: 150px; height: 185px; margin: 0 0 38px; }
  .home-page .contact-section h2 { font-size: clamp(34px, 8.8vw, 48px); }
  .home-page .contact-actions { flex-direction: column; }
  .home-page .contact-actions .button { width: 100%; }
  .home-page .contact-details { margin-top: 65px; gap: 18px; }
  .home-page footer { padding: 36px 22px; grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .ambient-two, .home-page .home-contact:before, .home-page .home-contact:after,
  .home-page .belief-experience:after { animation: none; }
  .home-page .reveal { opacity: 1; transform: none; transition: none; }
}
