/* Soft tree — layout delta vs studio mockup (SOFT-MOCKUP-DELTA.md). Base 6d89718. */
@import url("./tokens-soft.css");

.soft-tree {
  display: none;
  background: #f5f3eb;
  color: #153d30;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.65;
  min-height: 100vh;
  flex-direction: column;
}
html[data-theme="soft"] .industrial-tree { display: none !important; }
html[data-theme="soft"] .soft-tree { display: flex !important; }
.industrial-tree[hidden],
.soft-tree[hidden] { display: none !important; }
html[data-theme="soft"] .soft-tree[hidden] { display: flex !important; }

.soft-tree a { color: inherit; text-decoration: none; }
.soft-tree a.soft-cta-primary { color: #f5f3eb; }
.soft-tree a.soft-cta-lime { color: #153d30; }
.soft-tree a.soft-cta-primary:hover { color: #f5f3eb; }
.soft-tree a.soft-cta-lime:hover { color: #153d30; }
.soft-tree a:focus-visible { outline: 2px solid #153d30; outline-offset: 3px; }

/* R2-0 width — Kasper Soft too wide; 1080 @1280 */
.soft-wrap {
  width: min(1080px, calc(100% - 144px)); /* 72px min gutter */
  margin-inline: auto;
  max-width: 100%;
}
@media (max-width: 1100px) {
  .soft-wrap { width: min(1080px, calc(100% - 96px)); }
}
@media (max-width: 700px) {
  .soft-wrap { width: min(1080px, calc(100% - 40px)); }
}

.soft-skip { position: absolute; left: -9999px; }
.soft-skip:focus {
  left: 1rem; top: 1rem; z-index: 100;
  background: #153d30; color: #f5f3eb;
  padding: 0.5rem 0.75rem; border-radius: 4px;
}

/* A. Header */
.soft-header {
  height: 108px;
  padding: 0;
  display: flex;
  align-items: center;
  background: #f5f3eb;
  border: none;
}
.soft-header .soft-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1080px, calc(100% - 144px));
}
.soft-brand { display: inline-flex; align-items: center; gap: 0.65rem; }
.soft-brand-mark { width: 34px; height: 34px; display: block; }
.soft-brand-text {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 650;
  font-size: 29px;
  letter-spacing: -1.5px;
  text-transform: none;
  line-height: 1;
}
.soft-brand-text .tld { font-weight: 600; opacity: 0.65; font-size: 0.85em; }
.soft-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
}
.soft-nav a { opacity: 0.75; }
.soft-nav a:hover { opacity: 1; }
.soft-header-end { display: flex; align-items: center; gap: 0.65rem; }
@media (max-width: 960px) { .soft-nav { display: none; } }

/* Buttons — radius 4 */
.soft-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 4px;
  border: 1.5px solid #153d30;
  background: transparent;
  color: #153d30;
  font-family: inherit;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  text-transform: none;
  line-height: 1.2;
}
.soft-cta-primary,
.soft-tree a.soft-cta-primary {
  background: #153d30;
  color: #f5f3eb;
  border-color: #153d30;
}
.soft-cta-primary:hover,
.soft-tree a.soft-cta-primary:hover {
  background: #0f2c23;
  color: #f5f3eb;
}
.soft-cta-ghost { border-color: #aeb8a6; }
.soft-cta-ghost:hover { background: rgba(174, 184, 166, 0.18); }
.soft-cta-lime,
.soft-tree a.soft-cta-lime {
  background: #c5eb78;
  color: #153d30;
  border-color: #c5eb78;
  border-radius: 4px;
  min-height: 48px;
}
.soft-cta-lime:hover,
.soft-tree a.soft-cta-lime:hover {
  background: #b5db68;
  color: #153d30;
}
.soft-header .soft-cta-primary {
  min-height: 42px;
  padding: 11px 18px;
}

.soft-main { flex: 1; }

/* B. Hero */
.soft-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  min-height: 680px;
  padding: 30px 0 55px;
}
.soft-hero-kicker {
  margin: 0 0 0.85rem;
  font-size: 10px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: #153d30;
}
.soft-hero-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(54px, 5.8vw, 82px);
  line-height: 1.07;
  letter-spacing: -0.05em;
  text-transform: none;
  max-width: 12ch;
  color: #153d30;
}
.soft-hero-title .soft-hero-tint { color: #54794d; }
.soft-hero-lead {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 17px;
  line-height: 1.7;
  color: #58675c;
}
.soft-hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}
.soft-hero-caption {
  margin: 1.15rem 0 0;
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #58675c;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.soft-hero-caption::before {
  content: "✦";
  font-size: 9px;
  color: #54794d;
}
.soft-hero-visual {
  position: relative;
  align-self: stretch;
  width: 100%;
  min-height: 640px;
  height: 100%;
  border-radius: 0;
  margin-right: -24px; /* R2-0: never -56 */
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}
.soft-hero-visual::before,
.soft-hero-visual::after { display: none; }
.soft-hero-visual img,
.soft-hero-botanical {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 640px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  filter: none;
  aspect-ratio: auto;
}
@media (max-width: 900px) {
  .soft-hero { grid-template-columns: 1fr; min-height: 0; }
  .soft-hero-visual { min-height: 360px; margin-right: 0; }
  .soft-hero-visual img,
  .soft-hero-botanical { min-height: 360px; }
}

/* C. Work */
.soft-work {
  border-top: 1px solid #cfd3c5;
  padding-top: 52px;
  padding-bottom: 2rem;
}
.soft-work-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.soft-work-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.03em;
  text-transform: none;
}
.soft-work-lead {
  margin: 0.35rem 0 0;
  max-width: 36rem;
  font-size: 15px;
  line-height: 1.65;
  color: #58675c;
}
.soft-work-all {
  font-size: 13px;
  border-bottom: 1px solid rgba(21, 61, 48, 0.3);
}
.soft-work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.soft-work-card {
  height: 455px;
  border-radius: 6px;
  padding: 29px 30px 0;
  border: none;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #e2e9dc;
}
.soft-work-card:nth-child(odd) { background: #e9e5f0; }
.soft-work-card:nth-child(even) { background: #e2e9dc; }
.soft-work-card h3 {
  margin: 0 0 0.35rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  text-transform: none;
  letter-spacing: -0.02em;
}
.soft-work-meta {
  margin: 0;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #58675c;
}
.soft-work-preview {
  position: relative;
  height: 340px;
  margin-top: 27px;
  border-radius: 6px 6px 0 0;
  background: #fff;
  overflow: hidden;
  flex: 1;
}
/* Decorative dashboard chrome — no metrics/names */
.soft-work-preview::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 72px;
  background: #f0eee8;
  border-right: 1px solid #e4e1d8;
}
.soft-work-preview::after {
  content: "";
  position: absolute;
  left: 96px; right: 24px; top: 28px;
  height: 64px;
  background:
    linear-gradient(#f5f3eb, #f5f3eb) 0 0 / 28% 100%,
    linear-gradient(#f5f3eb, #f5f3eb) 36% 0 / 28% 100%,
    linear-gradient(#f5f3eb, #f5f3eb) 72% 0 / 28% 100%;
  background-repeat: no-repeat;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px #e4e1d8;
}
.soft-work-preview .soft-preview-chart {
  position: absolute;
  left: 96px; right: 24px; bottom: 36px; top: 120px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, transparent 60%, rgba(84, 121, 77, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 23px, #eceae3 23px 24px);
}
.soft-work-preview .soft-preview-chart::after {
  content: "";
  position: absolute;
  left: 8%; right: 8%; top: 35%;
  height: 2px;
  background: #153d30;
  opacity: 0.45;
  border-radius: 2px;
  transform: rotate(-8deg);
}
.soft-work-card:nth-child(even) .soft-work-preview::before { width: 0; border: none; }
.soft-work-card:nth-child(even) .soft-work-preview::after {
  left: 50%; top: 50%;
  width: 72px; height: 72px;
  transform: translate(-50%, -70%);
  background: #153d30;
  border-radius: 6px;
  box-shadow: none;
}
.soft-work-card:nth-child(even) .soft-preview-chart {
  left: 18%; right: 18%; top: 28%; bottom: 18%;
  background: transparent;
  border: 1px solid #e4e1d8;
  border-radius: 8px;
}
.soft-work-card:nth-child(even) .soft-preview-chart::before,
.soft-work-card:nth-child(even) .soft-preview-chart::after {
  content: "";
  position: absolute;
  width: 56px; height: 28px;
  background: #fff;
  border: 1px solid #e4e1d8;
  border-radius: 4px;
}
.soft-work-card:nth-child(even) .soft-preview-chart::before { left: -18px; top: 20%; }
.soft-work-card:nth-child(even) .soft-preview-chart::after { right: -18px; bottom: 22%; left: auto; top: auto; height: 28px; }
@media (max-width: 800px) {
  .soft-work-grid { grid-template-columns: 1fr; }
  .soft-work-card { height: auto; min-height: 420px; }
}

/* D. Process */
.soft-process { padding: 72px 0 84px; }
.soft-process-title {
  margin: 0 0 0.75rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(29px, 3vw, 42px);
  letter-spacing: -0.03em;
  text-transform: none;
}
.soft-process-lead {
  margin: 0 0 2.75rem;
  max-width: 40rem;
  font-size: 15px;
  line-height: 1.7;
  color: #58675c;
}
.soft-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.soft-process-item {
  padding: 0 36px;
  border-left: 1px solid #cfd3c5;
  display: block;
}
.soft-process-item:first-child { padding-left: 0; border-left: none; }
.soft-process-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}
.soft-process-item svg { width: 40px; height: 40px; color: #153d30; }
.soft-process-item .num {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #58675c;
}
.soft-process-item h3 {
  margin: 0 0 0.65rem;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 21px;
  text-transform: none;
  letter-spacing: -0.02em;
}
.soft-process-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #58675c;
  max-width: 340px;
}
.soft-process-more {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 13px;
}
.soft-process-more a {
  border-bottom: 1px solid rgba(21, 61, 48, 0.28);
}
@media (max-width: 800px) {
  .soft-process-grid { grid-template-columns: 1fr; gap: 2rem; }
  .soft-process-item { border-left: none; border-top: 1px solid #cfd3c5; padding: 1.5rem 0 0; }
  .soft-process-item:first-child { border-top: none; padding-top: 0; }
}

/* F. Contact — full-bleed forest */
.soft-contact {
  margin: 0;
  padding: 65px 0;
  background: #153d30;
  color: #f5f3eb;
}
.soft-contact .soft-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.soft-contact-title {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(34px, 4.1vw, 57px);
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.1;
}
.soft-contact-lead {
  margin: 0.85rem 0 1.5rem;
  max-width: 32rem;
  opacity: 0.88;
  font-size: 15px;
  line-height: 1.65;
}
.soft-contact-aside {
  margin-right: 70px;
  text-align: center;
  color: #c5eb78;
  flex-shrink: 0;
}
.soft-contact-aside img {
  width: 59px;
  height: 59px;
  display: block;
  margin: 0 auto 0.75rem;
  filter: brightness(0) saturate(100%) invert(89%) sepia(27%) saturate(700%) hue-rotate(28deg) brightness(1.05);
}
.soft-contact-aside span {
  display: block;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  max-width: 16ch;
  margin: 0 auto;
  line-height: 1.45;
}
@media (max-width: 800px) {
  .soft-contact .soft-wrap { flex-direction: column; align-items: flex-start; }
  .soft-contact-aside { margin-right: 0; text-align: left; }
  .soft-contact-aside img, .soft-contact-aside span { margin-left: 0; }
}

/* G. Footer */
.soft-footer {
  min-height: 136px;
  display: flex;
  align-items: center;
  background: #f5f3eb;
  border: none;
}
.soft-footer .soft-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: min(1080px, calc(100% - 144px));
}
.soft-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.soft-footer-brand img { width: 28px; height: 28px; display: block; }
.soft-footer-brand span {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -1px;
}
.soft-footer-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 12px;
  color: #58675c;
}
.soft-footer-micro {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  font-size: 9px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #58675c;
}
.soft-footer-micro::before {
  content: "";
  width: 36px;
  height: 1px;
  background: #153d30;
}

/* Theme switcher */
.theme { position: relative; }
.theme-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2rem; padding: 0.35rem 0.65rem;
  border: 1.5px solid currentColor; background: transparent; color: inherit;
  font-family: "Manrope", system-ui, sans-serif; font-size: 0.6875rem; letter-spacing: 0.06em;
  text-transform: none; cursor: pointer; line-height: 1; border-radius: 4px;
}
html:not([data-theme="soft"]) .theme-btn { border-radius: 0; }
.theme-btn:hover, .theme-btn[aria-pressed="true"] {
  background: #153d30; color: #f5f3eb; border-color: #153d30;
}
html:not([data-theme="soft"]) .theme-btn:hover,
html:not([data-theme="soft"]) .theme-btn[aria-pressed="true"] {
  background: #0b0b0a; color: #f2f0e9; border-color: #0b0b0a;
}
.theme-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.theme-btn-icon { width: 12px; height: 12px; flex-shrink: 0; display: block; }
.theme-btn-label { white-space: nowrap; }
.soft-tree .locale-btn { border-radius: 4px; border: 1.5px solid #153d30; }
.soft-tree .locale-menu { border-radius: 6px; }

/* --- DELTA-v2 work interiors + contact aside --- */
.soft-work-head { align-items: flex-end; }
.soft-work-lead { margin: 0; max-width: 36rem; font-size: 15px; line-height: 1.65; color: #58675c; }
.soft-work-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}
.soft-work-go {
  font-size: 12px;
  white-space: nowrap;
  opacity: 0.75;
}
.soft-work-card h3 {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 500;
  font-size: 24px;
}
.soft-work-preview {
  height: 340px;
  margin-top: 27px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #dfdce7;
  box-shadow: 0 7px 18px #44365d0a;
  overflow: hidden;
}
.soft-preview-dash {
  display: grid;
  grid-template-columns: 24% 1fr;
  height: 100%;
}
.soft-dash-rail {
  background: #f3f1ec;
  border-right: 1px solid #e4e1d8;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.soft-dash-rail span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: #e0ddd5;
}
.soft-dash-main { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.soft-dash-greet { height: 14px; width: 42%; border-radius: 4px; background: #ebe8e1; }
.soft-dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.soft-dash-stats i {
  display: block; height: 44px; border-radius: 6px;
  background: #f5f3eb; border: 1px solid #e4e1d8;
}
.soft-dash-chart { width: 100%; height: 72px; display: block; }
.soft-dash-rows { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.soft-dash-rows b {
  display: block; height: 10px; border-radius: 99px; background: #ebe8e1;
  position: relative; padding-left: 18px;
}
.soft-dash-rows b::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px; border-radius: 50%; background: #d5d1c7;
}

.soft-preview-nodes {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  height: 100%;
  padding: 28px 22px;
  background:
    linear-gradient(#cfd3c5, #cfd3c5) center / 1px 55% no-repeat,
    #fff;
}
.soft-node-col { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.soft-node-col i {
  width: 48px; height: 66px; border-radius: 6px;
  background: #f6f7f1; border: 1px solid #e4e1d8;
}
.soft-node-center {
  width: 95px; height: 95px; border-radius: 11px;
  background: #153d30;
  display: flex; align-items: center; justify-content: center;
}
.soft-node-center img {
  width: 48px; height: 48px;
  filter: brightness(0) saturate(100%) invert(89%) sepia(27%) saturate(700%) hue-rotate(28deg) brightness(1.05);
}

.soft-process-more {
  margin-top: 2rem;
  font-size: 12px;
  color: #58675c;
  letter-spacing: 0.02em;
}
.soft-process-more a { border-bottom: none; }
.soft-process-more span { margin: 0 0.35rem; opacity: 0.45; }

.soft-contact-kicker {
  margin: 0 0 0.75rem;
  font-size: 10px;
  letter-spacing: 1.9px;
  text-transform: uppercase;
  color: #c5eb78;
}
.soft-contact-aside-stack {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #c5eb78;
  line-height: 1.25;
}
/* R2-1 hard lock — Kasper unlock: Manrope (mockup-closest) */
.soft-tree,
.soft-tree * {
  font-family: "Manrope", system-ui, -apple-system, sans-serif !important;
  font-optical-sizing: auto;
}
.soft-tree .soft-hero-title,
.soft-tree .soft-work-title,
.soft-tree .soft-process-title,
.soft-tree .soft-contact-title,
.soft-tree .soft-brand-text,
.soft-tree .soft-footer-brand span,
.soft-tree .soft-work-card h3,
.soft-tree .soft-process-item h3 {
  font-weight: 500 !important;
  font-stretch: normal;
  font-variation-settings: normal;
}
.soft-tree .soft-hero-title {
  letter-spacing: -0.05em !important;
  line-height: 1.07 !important;
}


/* R2-2b botanical — column fill reinforce */
.soft-hero-botanical {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-width: none !important;
  border-radius: 0;
  filter: none;
}
