/* Company pages (Klesia suite, Work, UTSAV, Studio, About, Contact).
   Khairo's Chrome Horizon look: Unbounded, wine, dark base. Each page has its own hero. */

/* shared hero frame */
.cohero { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--rule); padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.cohero__t { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 18px; }
.cohero__h { font-family: var(--serif); font-weight: 400; font-size: clamp(2.25rem, 3.2vw + 1rem, 4.25rem); line-height: 1.06; letter-spacing: -0.03em; max-width: 14ch; text-wrap: balance; }
.cohero__p { color: var(--ink-2); font-size: 1.125rem; line-height: 1.6; max-width: 54ch; }
.cohero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }

/* tighter, calmer shared sections on these pages */
body .wsec { padding-block: clamp(48px, 6vw, 88px); }
body .whead { margin-bottom: clamp(20px, 2.5vw, 32px); }
body .whead__h { font-weight: 400; letter-spacing: -0.03em; }
body .wprod, body .concept, body .wcase { transition: border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out); }
body .wprod:hover, body .concept:hover { border-color: var(--rule-2); }

/* ---- Klesia suite: the week as a sky, dawn on Sunday to night on Saturday */
.sk { background: linear-gradient(180deg, #0B0712, var(--paper)); }
.skweek { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; list-style: none; margin: clamp(32px, 4vw, 56px) 0 0; padding: 0; }
.skday { --c: var(--kn-sw); position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 230px; padding: 16px 14px; border-radius: 16px; overflow: hidden;
  background: color-mix(in srgb, var(--c) 10%, var(--paper-2)); box-shadow: inset 0 3px 0 var(--c), inset 0 0 0 1px rgba(244, 242, 247, .06); }
.skday--kc { --c: var(--kc-sw); } .skday--kv { --c: var(--kv-sw); }
.skday b { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; }
.skday span { position: relative; z-index: 1; font-size: .875rem; line-height: 1.4; color: var(--ink-2); }
@keyframes sk-rise { from { opacity: 0; transform: translateY(24px); } }
.sklegend { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: .875rem; color: var(--muted); }
.sklegend span { display: inline-flex; align-items: center; gap: 8px; }

/* ---- Work: a tilted wall of real screens */
.wk { min-height: min(72vh, 640px); display: flex; align-items: center; }
.wkwall { position: absolute; inset: -20% -10%; z-index: -2; transform: rotate(-8deg); opacity: .5; -webkit-mask: linear-gradient(90deg, transparent, #000 45%); mask: linear-gradient(90deg, transparent, #000 45%); }
.wkwall__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; width: 120%; }
.wkwall img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-radius: 10px; filter: saturate(.85); }
@keyframes wk-drift { to { transform: translateY(-18%); } }
.wk::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--paper) 42%, rgba(5, 4, 7, .78) 66%, rgba(5, 4, 7, .35)); }

/* ---- UTSAV: a gold starry night */
.ut { background: radial-gradient(70% 80% at 80% 0%, #1B1440, #07060F 70%); min-height: min(76vh, 680px); display: flex; align-items: center; }
.utsky { position: absolute; inset: 0; z-index: -1; opacity: .9;
  background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #FCE7B0, transparent), radial-gradient(1.5px 1.5px at 55% 30%, #fff, transparent), radial-gradient(1px 1px at 75% 60%, #FCE7B0, transparent), radial-gradient(1.2px 1.2px at 90% 15%, #fff, transparent), radial-gradient(1px 1px at 45% 85%, #fff, transparent), radial-gradient(1.4px 1.4px at 20% 50%, #FCE7B0, transparent), radial-gradient(1px 1px at 65% 10%, #fff, transparent);
  background-size: 420px 420px; }
@keyframes ut-twinkle { to { opacity: .55; } }
.utstar { position: absolute; right: max(4vw, 24px); top: 50%; width: min(36vw, 420px); transform: translateY(-50%) rotate(-8deg); z-index: -1; overflow: visible; }
.utstar path { fill: rgba(232, 196, 106, .06); stroke: #E8C46A; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: ut-draw 3s cubic-bezier(.65, 0, .35, 1) .3s forwards; }
@keyframes ut-draw { to { stroke-dashoffset: 0; } }
.utmeta { color: #E8C46A; font-size: .9375rem; }
.utwhen { display: flex; gap: 10px 24px; flex-wrap: wrap; font-size: .9375rem; color: var(--ink); }
.utwhen span { padding-left: 14px; border-left: 2px solid #E8C46A; }

/* ---- Studio: a blueprint that draws itself (a real build plan, so the grid earns its place) */
.st { background: #050710; }
.stline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: clamp(36px, 4.5vw, 64px) 0 0; padding: 0; }
.stline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--rule-2); transform-origin: left; animation: st-line 1.6s cubic-bezier(.65, 0, .35, 1) .2s both; }
@keyframes st-line { from { transform: scaleX(0); } }
.stline li { position: relative; padding-top: 30px; display: flex; flex-direction: column; gap: 4px; animation: sk-rise .7s ease both; animation-delay: calc(.4s + var(--d) * .3s); }
.stline li::before { content: ""; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--wine); }
.stline b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; }
.stline span { color: var(--muted); font-size: .9375rem; }

/* ---- About: chrome words with a slow sweep of light */
.ab { text-align: center; }
.ab .cohero__t { align-items: center; }
.abh { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.035em; }
.abh span { display: block; }
.abh span + span { color: var(--ink-2); }
@keyframes ab-sweep { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* ---- Contact: a late sunset behind the form */
.ct { padding-bottom: clamp(56px, 7vw, 96px); }
.ctsun { display: none; }

@media (max-width: 60rem) {
  .skweek { grid-template-columns: repeat(7, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .skday { scroll-snap-align: start; min-height: 190px; }
  .stline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .stline::before { display: none; }
  .utstar { opacity: .35; width: 70vw; }
  .wkwall__in { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .skday, .stline li, .wkwall__in, .utsky, .abh span { animation: none; }
  .stline::before { animation: none; } .utstar path { animation: none; stroke-dashoffset: 0; }
}

/* the display face has no italic: emphasis is colour only */
.about-lead em, .whead__h em, .cs-hero__h em { font-style: normal; }

/* glyph fields behind company heroes (glyph.js) */
.cohero .gf { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; display: block; }
.st, .ct { min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; }
.ab { min-height: min(80vh, 760px); display: flex; flex-direction: column; justify-content: center; }
.ab .cohero__t::before, .ct .cohero__t::before, .st .cohero__t::before { content: ""; position: absolute; inset: -20% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(5, 4, 7, .8), rgba(5, 4, 7, 0)); pointer-events: none; }
.st .cohero__t, .ct .cohero__t { max-width: min(var(--container), 100%); }
@media (max-width: 60rem) { .cohero .gf { opacity: .55; } }
