/* =========================================================================
   Kuumba — company pages (industries, how we work, security, about)
   Loaded after main.css and pages.css on those four root pages only.
   Order: 0 hero points + jump index · 1 industry sections · 2 service links ·
   3 See / Decide / Act loop · 4 robots column · 5 one memory · 6 data flow ·
   7 beliefs · 8 structure layers · 9 brand pair · 10 quiet dusk band
   ========================================================================= */

/* ---------- 0. Hero points (three short statements under the sub) ---------- */
.hpoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--line); }
.hpoint { display: grid; gap: 8px; align-content: start; padding: 22px 20px 0 0; }
.hpoint + .hpoint { padding-left: 20px; border-left: 1px solid var(--line); }
.hpoint__k { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hpoint__k .ic { width: 16px; height: 16px; }
.hpoint__t { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.2; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.hpoint__n { font-size: 14px; line-height: 20px; color: var(--muted); max-width: 30ch; }
@media (max-width: 1100px) {
  .hpoints { grid-template-columns: 1fr; }
  .hpoint, .hpoint + .hpoint { padding: 16px 0; border-left: 0; }
  .hpoint + .hpoint { border-top: 1px solid var(--line); }
}

/* Jump index (industries hero) */
.jump { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.jump a { display: grid; grid-template-columns: 28px minmax(0, 1fr) 20px; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); transition: color .2s; }
.jump__n { font-size: 13px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; }
.jump__t { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.3; letter-spacing: -0.01em; }
.jump__t small { display: block; font-size: 14px; line-height: 20px; letter-spacing: 0; color: var(--muted); }
.jump .ic { width: 18px; height: 18px; color: var(--muted); transform: rotate(90deg); transition: transform .35s var(--ease-out), color .2s; }
.jump a:hover .ic { color: var(--ink); transform: rotate(90deg) translateX(3px); }

/* ---------- 1. Industry sections ---------- */
.ind-sec { scroll-margin-top: 72px; }
.ind { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.ind--flip .ind__media { order: 2; }
.ind__media {
  position: sticky; top: 104px; margin: 0;
  height: min(700px, calc(100vh - 140px)); min-height: 440px;
  border-radius: var(--r-xl); overflow: hidden; isolation: isolate; background: #BFAEA4;
}
.ind__media img { position: absolute; inset: -5% 0; width: 100%; height: 110%; max-width: none; object-fit: cover; }
.ind__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 26, 24, 0) 58%, rgba(28, 26, 24, .4) 100%); pointer-events: none; }
.ind__cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .92); }
.ind__cap .ic { width: 16px; height: 16px; }
.ind__body .lede { margin-top: 24px; }
.ind__k { margin: clamp(40px, 4.4vw, 56px) 0 4px; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.press { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.press li { padding: 20px 0 22px; border-top: 1px solid var(--line); }
.press h4 { margin: 0; font-size: 18px; line-height: 25px; font-weight: 500; letter-spacing: -0.01em; text-wrap: balance; }
.press p { margin-top: 6px; color: var(--muted); text-wrap: pretty; }
.dolist { display: grid; }
.dolist li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); color: #3A3835; }
.dolist .ic { width: 18px; height: 18px; margin-top: 3px; color: var(--ink); }
.dolist b { font-weight: 500; color: var(--ink); }
@media (max-width: 1100px) { .press { grid-template-columns: 1fr; } }
@media (max-width: 900px) {
  .ind { grid-template-columns: 1fr; gap: 32px; }
  .ind--flip .ind__media { order: 0; }
  .ind__media { position: relative; top: auto; height: auto; min-height: 0; aspect-ratio: 4 / 3; border-radius: var(--r-lg); }
}

/* ---------- 2. Service links (pill links to service pages) ---------- */
.svc-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.svc-links a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px;
  border-radius: var(--r-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  font-size: 14px; font-weight: 500; transition: background-color .25s, color .25s, box-shadow .25s;
}
.svc-links .ic { width: 17px; height: 17px; color: var(--muted); transition: color .25s, transform .35s var(--ease-out); }
.svc-links .ic:last-child { width: 15px; height: 15px; }
.svc-links a:hover { background: var(--ink); color: #fff; box-shadow: none; }
.svc-links a:hover .ic { color: #fff; }
.svc-links a:hover .ic:last-child { transform: translateX(3px); }
.pills a { transition: color .2s; }
.pills a:hover { color: var(--muted); }

/* ---------- 3. See / Decide / Act loop ---------- */
.loop { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: loop; }
.loop__stage { position: relative; display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.loop__media { position: relative; height: clamp(200px, 17vw, 250px); margin: 8px 8px 0; border-radius: 22px; overflow: hidden; isolation: isolate; background: #BFAEA4; }
.loop__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.2s var(--ease-out); }
.loop__stage:hover .loop__media img { transform: scale(1); }
.loop__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px clamp(22px, 2.2vw, 30px) 28px; }
.loop__k { display: flex; gap: 12px; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.loop__k span { color: var(--muted); }
.loop__body h3 { font-size: clamp(23px, 1.9vw, 27px); line-height: 1.2; font-weight: 300; letter-spacing: -0.025em; text-wrap: balance; }
.loop__body > p { color: var(--muted); text-wrap: pretty; }
.loop__facts { display: grid; gap: 0; margin-top: 4px; }
.loop__facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.loop__facts dt { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.loop__facts dd { margin-top: 4px; font-size: 15px; line-height: 22px; color: #3A3835; }
.loop__body .who { margin-top: auto; padding-top: 6px; }
.loop__join { position: absolute; z-index: 2; left: -10px; top: calc(clamp(200px, 17vw, 250px) / 2 + 8px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 0 0 6px var(--ground); }
.section--rail .loop__join { box-shadow: 0 0 0 6px var(--rail); }
.loop__join .ic { width: 18px; height: 18px; }
.loop__return { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 16px; margin-top: 20px; padding: 18px 24px; border-radius: var(--r-lg); outline: 1px dashed #C9C9C4; outline-offset: -1px; }
.loop__return .round { width: 40px; height: 40px; background: var(--accent-soft); color: #4B33D6; box-shadow: none; }
.loop__return .round .ic { width: 18px; height: 18px; }
.loop__return p { color: var(--muted); }
.loop__return b { color: var(--ink); font-weight: 500; }
@media (max-width: 960px) {
  .loop { grid-template-columns: 1fr; gap: 28px; }
  .loop__media { height: auto; aspect-ratio: 16 / 9; }
  .loop__join { left: 50%; top: -14px; transform: translate(-50%, -50%) rotate(90deg); }
  .loop__return { padding: 16px 18px; align-items: start; }
}

/* ---------- 4. Third column for the split: robots go where people shouldn't ---------- */
.split__col--robot {
  grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px clamp(32px, 5vw, 80px); align-items: start;
  background: transparent; outline: 1px dashed #C9C9C4; outline-offset: -1px;
}
.split__col--robot .split__list { margin-top: 0; }
.split__col--robot .split__list li:first-child { border-top: 0; padding-top: 4px; }
@media (max-width: 900px) { .split__col--robot { grid-template-columns: 1fr; } .split__col--robot .split__list { margin-top: 20px; } .split__col--robot .split__list li:first-child { border-top: 1px solid rgba(28, 26, 24, .08); padding-top: 14px; } }

/* ---------- 5. One memory (lifecycle hand-offs through Kuumba Work) ---------- */
.memory { position: relative; isolation: isolate; display: grid; gap: clamp(32px, 4vw, 48px); padding: clamp(28px, 4vw, 56px); border-radius: var(--r-xl); background: var(--sunken); overflow: hidden; }
.memory__stages { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.memory__stages::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: #D9D9D5; z-index: -1; }
.memory__stage { display: grid; gap: 12px; align-content: start; }
.memory__dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(28, 26, 24, .06); }
.memory__dot .ic { width: 24px; height: 24px; }
.memory__stage h3 { font-size: 18px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.memory__stage p { font-size: 15px; line-height: 22px; color: var(--muted); }
.memory__stage p b { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.memory__core { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px 32px; padding: 24px 28px; border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: 0 16px 48px rgba(28, 26, 24, .2); }
.memory__head { display: flex; align-items: center; gap: 14px; }
.memory__tile { width: 36px; height: 36px; flex: none; }
.memory__name { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: -0.01em; }
.memory__desc { margin-top: 2px; font-size: 14px; line-height: 20px; color: #B8B4AD; }
.memory__caps { display: flex; flex-wrap: wrap; gap: 8px; }
.memory__caps li { display: inline-flex; align-items: center; height: 36px; padding-inline: 14px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); color: #E8E5DF; font-size: 14px; font-weight: 500; }
@media (max-width: 1000px) {
  .memory__stages { grid-template-columns: 1fr; gap: 0; }
  .memory__stages::before { left: 27px; right: auto; top: 28px; bottom: 28px; width: 1px; height: auto; }
  .memory__stage { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 18px; padding-bottom: 20px; }
  .memory__stage:last-child { padding-bottom: 0; }
  .memory__dot { grid-row: span 2; }
  .memory__stage h3 { padding-top: 6px; }
  .memory__core { grid-template-columns: 1fr; padding: 22px 20px; }
}

/* ---------- 6. Data flow diagram (security) ---------- */
.flow { position: relative; isolation: isolate; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flow__grid { display: grid; grid-template-columns: minmax(0, .72fr) 112px minmax(0, 1.2fr) minmax(0, 1.25fr); align-items: center; }
.flow__right { display: grid; gap: 16px; }
.flow__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; }
.flow__box { padding: 18px 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.flow__box h3 { display: flex; align-items: center; gap: 10px; font-size: 16.5px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; }
.flow__box h3 .ic { width: 18px; height: 18px; color: var(--muted); }
.flow__box p { margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--muted); }
.flow__zone { position: relative; padding: 38px 12px 12px; border-radius: 24px; outline: 1.5px solid rgba(47, 125, 85, .45); outline-offset: -1.5px; background: rgba(47, 125, 85, .05); }
.flow__zone--out { outline: 1.5px dashed #BDBDB8; background: var(--sunken); }
.flow__tag { position: absolute; left: 16px; top: 12px; display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--success); }
.flow__tag .ic { width: 14px; height: 14px; }
.flow__zone--out .flow__tag { color: var(--muted); }
.flow__env { padding: 22px; border-radius: var(--r-lg); background: var(--ink); color: #fff; box-shadow: 0 16px 48px rgba(28, 26, 24, .2); }
.flow__env-head { display: flex; align-items: center; gap: 12px; }
.flow__env-head svg { width: 32px; height: 32px; flex: none; }
.flow__env-name { font-size: 18px; line-height: 22px; font-weight: 500; letter-spacing: -0.01em; }
.flow__env-desc { margin-top: 2px; font-size: 13px; line-height: 18px; color: #B8B4AD; }
.flow__parts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 16px; }
.flow__parts li { display: flex; align-items: center; gap: 8px; height: 38px; padding-inline: 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); color: #E8E5DF; font-size: 13.5px; font-weight: 500; }
.flow__parts .ic { width: 16px; height: 16px; color: #B8B4AD; }
.flow__rules { display: grid; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.flow__rules li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 10px; font-size: 13.5px; line-height: 19px; color: #D8D5CF; }
.flow__rules .ic { width: 16px; height: 16px; margin-top: 1px; color: #fff; }
.flow__link { display: grid; justify-items: center; gap: 8px; padding-inline: 10px; text-align: center; }
.flow__line { position: relative; display: block; width: 100%; height: 1.5px; background: var(--ink); }
.flow__line::before, .flow__line::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.flow__line::after { right: 0; transform: translate(0, -50%) rotate(45deg); }
.flow__line::before { left: 0; transform: translate(0, -50%) rotate(-135deg); }
.flow__line--back::after { display: none; }
.flow__line--dash { background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 9px); }
.flow__line--dash::before, .flow__line--dash::after { border-color: var(--muted); }
.flow__label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--muted); }
.flow__legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: clamp(24px, 3vw, 36px); padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.flow__legend span { display: inline-flex; align-items: center; gap: 10px; }
.flow__legend i { display: inline-block; width: 26px; height: 14px; border-radius: 5px; }
.flow__legend .lg-in { outline: 1.5px solid rgba(47, 125, 85, .45); outline-offset: -1.5px; background: rgba(47, 125, 85, .06); }
.flow__legend .lg-out { outline: 1.5px dashed #BDBDB8; outline-offset: -1.5px; background: var(--sunken); }
.flow__legend .lg-line { height: 1.5px; border-radius: 0; background: repeating-linear-gradient(90deg, var(--muted) 0 5px, transparent 5px 9px); }
.flow__note { margin-top: 14px; font-size: 14px; line-height: 20px; color: var(--muted); max-width: 72ch; }
@media (max-width: 1080px) {
  .flow__grid, .flow__row { grid-template-columns: 1fr; }
  .flow__right { gap: 0; }
  .flow__link { grid-template-columns: 1.5px auto; justify-content: start; align-items: center; gap: 16px; padding: 12px 0 12px 32px; text-align: left; }
  .flow__line { width: 1.5px; height: 48px; }
  .flow__line--dash { background: repeating-linear-gradient(180deg, var(--muted) 0 5px, transparent 5px 9px); }
  .flow__line::after { top: auto; bottom: 0; right: auto; left: 50%; transform: translate(-50%, 0) rotate(135deg); }
  .flow__line::before { top: 0; left: 50%; transform: translate(-50%, 0) rotate(-45deg); }
  .flow__label { max-width: 30ch; }
}
@media (max-width: 520px) { .flow { padding: 16px; } .flow__parts { grid-template-columns: 1fr; } .flow__env { padding: 18px; } .flow__zone { padding: 36px 8px 8px; } }

/* Links inside FAQ answers */
.faq__a a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.faq__a a:hover { text-decoration-color: var(--ink); }

/* ---------- 7. Beliefs (numbered statements) ---------- */
.beliefs { border-top: 1px solid var(--line); counter-reset: belief; }
.belief { display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, .9fr); gap: 12px clamp(24px, 4vw, 64px); padding: clamp(28px, 3.4vw, 44px) 0; border-bottom: 1px solid var(--line); }
.belief__n { font-size: 13px; line-height: 16px; font-weight: 500; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 12px; }
.belief h3 { font-size: clamp(28px, 3vw, 44px); line-height: 1.1; font-weight: 300; letter-spacing: -0.03em; text-wrap: balance; }
.belief p { color: var(--muted); max-width: 46ch; text-wrap: pretty; padding-top: 6px; }
@media (max-width: 900px) {
  .belief { grid-template-columns: 1fr; }
  .belief__n { padding-top: 0; }
}

/* ---------- 8. Structure layers (about) ---------- */
.layers { display: grid; gap: 12px; }
.layer { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 16px clamp(32px, 5vw, 80px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.layer--core { background: var(--ink); color: #fff; box-shadow: none; }
.layer--partner { background: transparent; box-shadow: none; outline: 1px dashed #C9C9C4; outline-offset: -1px; }
.layer__k { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.layer--core .layer__k { color: #B8B4AD; }
.layer__k svg { width: 18px; height: 18px; }
.layer h3 { font-size: clamp(24px, 2.3vw, 32px); line-height: 1.15; font-weight: 300; letter-spacing: -0.025em; max-width: 18ch; text-wrap: balance; }
.layer__body > p { color: var(--muted); max-width: 58ch; text-wrap: pretty; }
.layer--core .layer__body > p { color: #D8D5CF; }
.layer .pills { margin-top: 18px; }
.layer--core .pills li { background: rgba(255, 255, 255, .08); color: #E8E5DF; box-shadow: none; }
.layer--core :focus-visible { outline-color: #fff; }
@media (max-width: 900px) { .layer { grid-template-columns: 1fr; border-radius: var(--r-lg); } }

/* ---------- 9. Brand pair (Kuumba + Kuumba Work) ---------- */
.brandpair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.brandcard { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.brandcard--sub { background: var(--sunken); box-shadow: none; }
.brandcard__mark { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.brandcard__mark svg { width: 40px; height: 40px; }
.brandcard__mark span { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; letter-spacing: -0.025em; }
.brandcard__mark span em { font-style: normal; font-weight: 300; color: var(--muted); }
.brandcard__role { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.brandcard h3 { font-size: clamp(22px, 1.9vw, 27px); line-height: 1.22; font-weight: 300; letter-spacing: -0.02em; max-width: 24ch; text-wrap: balance; }
.brandcard p { color: var(--muted); max-width: 48ch; text-wrap: pretty; }
.brandcard .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 900px) { .brandpair { grid-template-columns: 1fr; } .brandcard { border-radius: var(--r-lg); } }

/* ---------- 10. Quiet dusk band (a statement, no actions) ---------- */
.cta--quiet .cta__band { min-height: clamp(360px, 30vw, 440px); }
.cta--quiet .cta__sub + .cta__sub { margin-top: 14px; }

/* ---------- 11. Three statements (about: who we are) ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.cols3 li { padding-top: 24px; border-top: 1px solid rgba(28, 26, 24, .12); }
.cols3 h3 { font-size: clamp(22px, 1.8vw, 26px); line-height: 1.22; font-weight: 300; letter-spacing: -0.02em; text-wrap: balance; }
.cols3 p { margin-top: 12px; color: var(--muted); max-width: 42ch; text-wrap: pretty; }
@media (max-width: 900px) { .cols3 { grid-template-columns: 1fr; gap: 28px; } }
