/* tanso.group -- subversive corporate carbon syndicate */
:root {
  --frost-white: #e4e8f0;
  --corporate-navy: #1a2a4a;
  --rebel-orange: #e86a30;
  --frost-blue: #a8b8c8;
  --leather-brown: #6a4a2a;
  --blob-dark: #2a3a50;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--frost-white);
  color: var(--corporate-navy);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(168,184,200,0.4), transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(232,106,48,0.06), transparent 55%),
    radial-gradient(ellipse at 50% 90%, rgba(168,184,200,0.45), transparent 60%),
    var(--frost-white);
}

/* ===== Frost noise overlay ===== */
.frost-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: rgba(228,232,240,0.0);
  filter: url(#frostNoise);
  opacity: 0.5;
}

/* ===== Organic blobs ===== */
.blob-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.blob {
  position: absolute;
  display: block;
  background: rgba(42,58,80,0.08);
  filter: blur(40px);
}
.blob-1 {
  width: 540px; height: 540px;
  left: -8%; top: -10%;
  border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%;
  animation: blobMorph1 22s ease-in-out infinite, blobDrift1 32s ease-in-out infinite;
}
.blob-2 {
  width: 460px; height: 460px;
  right: -6%; top: 18%;
  background: rgba(42,58,80,0.07);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: blobMorph2 26s ease-in-out infinite, blobDrift2 38s ease-in-out infinite;
}
.blob-3 {
  width: 620px; height: 620px;
  left: 22%; top: 56%;
  background: rgba(42,58,80,0.06);
  border-radius: 50% 50% 60% 40% / 40% 60% 40% 60%;
  animation: blobMorph1 28s ease-in-out infinite, blobDrift3 44s ease-in-out infinite;
}
.blob-4 {
  width: 380px; height: 380px;
  right: 8%; bottom: 4%;
  background: rgba(232,106,48,0.05);
  border-radius: 40% 60% 50% 50% / 60% 30% 70% 40%;
  animation: blobMorph2 30s ease-in-out infinite, blobDrift1 36s ease-in-out infinite reverse;
}
@keyframes blobMorph1 {
  0%, 100% { border-radius: 60% 40% 70% 30% / 50% 60% 40% 50%; }
  50%      { border-radius: 30% 70% 50% 50% / 40% 50% 60% 40%; }
}
@keyframes blobMorph2 {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50%      { border-radius: 70% 30% 30% 70% / 60% 40% 40% 60%; }
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(40px, 28px, 0); }
}
@keyframes blobDrift2 {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(-50px, 24px, 0); }
}
@keyframes blobDrift3 {
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(30px, -36px, 0); }
}

/* ===== HUD corner brackets ===== */
.hud-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--corporate-navy);
}
.hud-corner.tl { top: 22px; left: 22px; border-top: 1px solid var(--corporate-navy); border-left: 1px solid var(--corporate-navy); }
.hud-corner.tr { top: 22px; right: 22px; border-top: 1px solid var(--corporate-navy); border-right: 1px solid var(--corporate-navy); }
.hud-corner.bl { bottom: 22px; left: 22px; border-bottom: 1px solid var(--corporate-navy); border-left: 1px solid var(--corporate-navy); }
.hud-corner.br { bottom: 22px; right: 22px; border-bottom: 1px solid var(--corporate-navy); border-right: 1px solid var(--corporate-navy); }

/* ===== Status bar (HUD-ish) ===== */
.status-bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--corporate-navy);
  margin-bottom: 36px;
}
.status-cell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid rgba(26,42,74,0.22);
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot-rebel {
  background: var(--rebel-orange);
  box-shadow: 0 0 6px rgba(232,106,48,0.55);
}
.dot-blue {
  background: var(--frost-blue);
  box-shadow: 0 0 6px rgba(168,184,200,0.6);
}

/* ===== Opening ===== */
.opening {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 12vh 8vw 12vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rebel-orange);
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease 200ms, transform 700ms ease 200ms;
}
.eyebrow.in { opacity: 1; transform: translateY(0); }

.title {
  font-family: "Nunito", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(56px, 11vw, 168px);
  line-height: 0.94;
  letter-spacing: -0.02em;
  color: var(--corporate-navy);
  margin-bottom: 32px;
}
.title .word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, 1.6, .3, 1);
}
.title.in .word.w1 { opacity: 1; transform: translateY(0) scale(1); transition-delay: 200ms; }
.title.in .word.w2 { opacity: 1; transform: translateY(0) scale(1); transition-delay: 380ms; color: var(--rebel-orange); }

.lede {
  font-family: "Nunito", sans-serif;
  font-weight: 400;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.6;
  color: var(--corporate-navy);
  max-width: 36em;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 800ms ease 600ms, transform 800ms ease 600ms;
}
.lede.in { opacity: 1; transform: translateY(0); }

.opening-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-family: "Space Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--corporate-navy);
}
.opening-meta b {
  color: var(--rebel-orange);
  font-weight: 700;
  margin-right: 8px;
}

/* ===== Dashboard panels ===== */
.dashboard {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 8vh 6vw 12vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.panel.wide { grid-column: 1 / -1; }
@media (max-width: 880px) {
  .dashboard { grid-template-columns: 1fr; }
  .panel.wide { grid-column: auto; }
}

.panel {
  position: relative;
  padding: 32px 32px 36px;
  border-radius: 4px;
  border: 1px solid rgba(26,42,74,0.18);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
}
.panel::before, .panel::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
}
.panel::before { top: 8px; left: 8px; border-top: 1px solid var(--corporate-navy); border-left: 1px solid var(--corporate-navy); }
.panel::after { bottom: 8px; right: 8px; border-bottom: 1px solid var(--corporate-navy); border-right: 1px solid var(--corporate-navy); }

.panel-frost {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.panel-leather {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,235,210,0.18), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(58,30,16,0.18), transparent 60%),
    repeating-radial-gradient(circle at 30% 40%, rgba(58,30,16,0.05) 0 1px, transparent 1px 3px),
    repeating-radial-gradient(circle at 65% 70%, rgba(255,235,210,0.04) 0 1px, transparent 1px 4px),
    linear-gradient(135deg, #b58a5e, #8e6238 60%, #5e3a1c);
  color: #fff5e8;
  border-color: var(--leather-brown);
  box-shadow: 0 18px 40px rgba(58,30,16,0.30), inset 0 0 50px rgba(58,30,16,0.25);
}
.panel-leather::before, .panel-leather::after { border-color: rgba(255,245,232,0.7); }
.panel-leather p, .panel-leather .bracket, .panel-leather h2 { color: #fff5e8; }
.panel-leather .quote { color: #fff5e8; }
.panel-leather .attribution { color: rgba(255,245,232,0.7); }

.slide-left  { transform: translateX(-50px); }
.slide-right { transform: translateX(50px); }
.slide-left.in, .slide-right.in {
  opacity: 1;
  transform: translateX(0);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(26,42,74,0.18);
}
.panel-leather .panel-head {
  border-bottom-color: rgba(255,245,232,0.3);
}
.panel-head .bracket {
  font-family: "Space Mono", monospace;
  font-size: 22px;
  color: var(--corporate-navy);
  opacity: 0.75;
}
.panel-head h2 {
  flex: 1;
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 32px);
  color: var(--corporate-navy);
  letter-spacing: -0.005em;
}

.panel-body p { margin-bottom: 14px; max-width: 50ch; }
.panel-body em { color: var(--rebel-orange); font-style: italic; }
.panel-leather .panel-body em { color: #ffd6a0; }

.quote {
  font-family: "Nunito", sans-serif;
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.45;
  margin-bottom: 14px;
}
.attribution {
  font-family: "Space Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--frost-blue);
  margin-bottom: 18px;
}

/* Subsidiary list */
.sub-list {
  list-style: none;
}
.sub-list li {
  display: grid;
  grid-template-columns: minmax(180px, 0.4fr) 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(26,42,74,0.18);
}
.sub-list li:last-child { border-bottom: none; }
.sub-name {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--corporate-navy);
}
.sub-line {
  font-size: 15px;
  color: var(--corporate-navy);
  opacity: 0.85;
}
@media (max-width: 600px) {
  .sub-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* Annual report data block */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) {
  .two-col { grid-template-columns: 1fr; }
}
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dotted rgba(26,42,74,0.22);
  font-family: "Space Mono", monospace;
  font-size: 13px;
  color: var(--corporate-navy);
  margin-bottom: 0;
}
.data-key { opacity: 0.75; }
.data-val { color: var(--rebel-orange); }

/* Manifesto section */
.manifesto p {
  font-family: "Nunito", sans-serif;
  font-size: clamp(17px, 1.9vw, 22px);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 60ch;
}

.signoff {
  margin-top: 18px;
  font-family: "Nunito", sans-serif;
  font-style: italic;
  color: var(--rebel-orange);
}

/* ===== Closing ===== */
.closing {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 8vh 6vw 12vh;
  border-top: 1px solid rgba(26,42,74,0.18);
}
.closing-mark {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  color: var(--corporate-navy);
  letter-spacing: 0.02em;
}
.dot-mark {
  color: var(--rebel-orange);
}
