/* KOSIF EARTH • office-first front door
   Film remains an optional introduction. The second screen uses warm daylight,
   neutral white surfaces, forest-green controls and IBM Plex Sans Arabic.
   No full-image green tint, hue-rotate, or low-res image enlargement.
*/
body{
  background:
    linear-gradient(135deg,rgba(7,33,27,.16),rgba(250,249,242,.35)),
    url(./earth-office-sunlit-4k.webp) center/cover no-repeat fixed;
  color:#142820;
}
.world{display:none!important}
.shell{
  grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);
  width:min(1180px,100%);
  min-height:670px;
  border:1px solid rgba(247,255,249,.85);
  background:rgba(255,255,255,.95);
  border-radius:26px;
  box-shadow:0 30px 110px -28px rgba(12,44,31,.45);
}
.visual{
  background:
    linear-gradient(180deg,rgba(9,37,28,.08) 8%,rgba(6,36,28,.42) 60%,rgba(6,36,28,.87) 100%),
    url(./earth-office-sunlit-4k.webp) 60% center/cover no-repeat;
  color:#fff;
}
.visual::after{background:linear-gradient(180deg,rgba(15,48,31,.04),rgba(5,42,30,.10) 44%,rgba(6,35,26,.84) 100%)}
.visual>.visual-film{display:none}
.visual .wm-logo{display:none}
.visual .wm::before{
  content:"KOSIF";
  font:800 35px/1 "Montserrat",system-ui,sans-serif;
  letter-spacing:.02em;
  color:#fff;
  display:block;
  text-shadow:0 3px 20px rgba(0,0,0,.30);
}
.visual .wm::after{
  content:"E A R T H";
  align-self:flex-end;
  margin-inline-start:10px;
  font:700 12px "Montserrat",system-ui,sans-serif;
  color:#b9f3cd;
  text-shadow:0 2px 8px rgba(0,0,0,.3);
}
.claim h2{font-size:clamp(30px,3vw,43px);font-weight:700;letter-spacing:-.018em}
.claim p{color:#def7e6;font:600 12px "Montserrat",sans-serif;letter-spacing:.04em}
.claim i{background:linear-gradient(90deg,#a7eabb,#d7edc5)}
.card{
  color:#193129;
  background:rgba(255,255,255,.92);
  padding:42px clamp(22px,3vw,44px) 35px;
}
.card .logo{display:none}
.brand-tag{
  color:#377454;
  font-weight:700;
  font-size:12px;
  letter-spacing:.02em;
}
.card h1{
  font:800 clamp(28px,2.5vw,37px)/1.2 "Montserrat",system-ui,sans-serif;
  letter-spacing:.02em;color:#113f2e;
  margin:9px 0 15px;
}
.card h2{font-weight:700}
.card .sub{color:#4e655a;line-height:1.9;font-size:14px}
:root{
  --sk-surface:#fff;
  --sk-surface-2:#f6f9f5;
  --sk-line:#dbe7dd;
  --sk-line-2:#bed1c3;
  --sk-ink:#192b23;
  --sk-ink-3:#64796c;
  --sk-brand:#176b4b;
  --sk-brand-soft:#e4f3e7;
  --sk-on-brand:#fff;
  --sk-focus:#187852;
  --sk-shadow-2:0 16px 40px -23px rgba(9,55,32,.28);
}
.gate-list{gap:13px}
.gate{
  border-radius:17px;
  min-height:86px;
  padding:15px;
  border-color:var(--sk-line);
  background:linear-gradient(120deg,#fff,#f6faf5);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.gate:hover{border-color:var(--sk-brand);transform:translateY(-2px);box-shadow:var(--sk-shadow-2)}
.gate-ic{
  border-radius:15px;
  background:linear-gradient(150deg,#176b4b,#0c4c38);
  box-shadow:0 10px 22px -15px #13583a;
}
.gate-t b{font-size:18px;font-weight:700;letter-spacing:-.01em}
.gate-t small{font-size:12.5px;line-height:1.7}
.gate.has-art{padding-inline-end:calc(21% + 12px)}
.gate.has-art::after{
  width:25%;
  opacity:.58;
  filter:saturate(.86) contrast(.92);
  mask-image:linear-gradient(to right,#193c2b 32%,transparent);
  -webkit-mask-image:linear-gradient(to right,#193c2b 32%,transparent);
}
.sector,.co,.corpus,.corpus-co{
  background:#f8faf7;
  color:#173527;
  border-color:#dbe7dd;
  border-radius:14px;
}
.sector.pri,.co.last{background:#e9f5ec;border-color:#8db99b}
.sector-img{filter:none}
.co:hover,.sector:hover{border-color:#176b4b;background:#fff}
.co-ic{background:#e2f2e6;color:#176b4b}
button.submit{background:linear-gradient(130deg,#218861,#145b42);color:#fff;box-shadow:0 11px 25px -13px rgba(15,87,54,.40)}
button.submit:hover:not(:disabled){box-shadow:0 14px 32px -14px rgba(15,87,54,.55)}
.field input,.corpus input{background:#f7faf6;border-color:#c7d9ca;color:#143826}
.field input:focus,.corpus input:focus{border-color:#176b4b;box-shadow:0 0 0 4px rgba(23,107,75,.14)}
.eye:focus-visible,button.submit:focus-visible,.linkish:focus-visible{outline:3px solid #218861;outline-offset:3px}
.badge{background:#e8f4e9;color:#175e43}
.earth-door-steps{
  display:flex;
  flex-wrap:wrap;align-items:center;justify-content:center;
  gap:6px 10px;
  padding:11px 9px;
  margin:6px 0 10px;
  border-top:1px solid #e4ece4;
  border-bottom:1px solid #e4ece4;
  color:#42644f;
  font-size:12px;
  font-weight:600;
}
.earth-door-steps strong{color:#176b4b}
.earth-door-steps .arrow{color:#79a587;font-weight:700}
/* A restrained, timeline-driven ink stroke inspired by hand-drawn storytelling.
   Decorative only: it never delays navigation or conveys mandatory state. */
.earth-door-steps .earth-steps-ink{
  display:block;
  flex:0 0 100%;
  width:min(320px,92%);
  height:12px;
  margin:0 auto;
  pointer-events:none;
  overflow:visible;
}
.earth-door-steps .earth-steps-ink path{
  fill:none;
  stroke:#218861;
  stroke-width:2.4;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:100;
  stroke-dashoffset:100;
  animation:earth-ink-draw 1.25s cubic-bezier(.22,.72,.23,1) .2s forwards;
}
@keyframes earth-ink-draw{to{stroke-dashoffset:0}}
@media(prefers-reduced-motion:reduce){
  .earth-door-steps .earth-steps-ink path{animation:none;stroke-dashoffset:0}
}
.co-hint{color:#627968}
@media(max-width:820px){
  body{background-image:linear-gradient(180deg,rgba(17,57,36,.13),rgba(252,255,251,.66)),url(./earth-office-sunlit-mobile.webp);background-attachment:scroll}
  .shell{grid-template-columns:1fr;width:100%;border-radius:20px;min-height:0}
  .visual{
    min-height:260px;
    padding:22px 23px;
    background-image:linear-gradient(180deg,rgba(13,42,31,.05),rgba(7,37,28,.79)),url(./earth-office-sunlit-mobile.webp);
    background-position:center 51%;
  }
  .claim h2{font-size:25px}
  .visual .wm::before{font-size:28px}
  .card{padding:28px 20px 25px}
  .gate{min-height:82px}
  .gate-t b{font-size:16px}
  .gate.has-art{padding-inline-end:calc(18% + 10px)}
}
@media(prefers-reduced-motion:reduce){
  .gate{transition:none}
  .gate:hover{transform:none}
}
