/* ──────────────────────────────────────────────────────────────
   Web Development page. Built on the homepage system (home.css):
   the same ink, mint, type, buttons and motion. This file only lays the
   page out. Every figure is drawn by web-flow.js on one fixed canvas;
   the elements here just reserve the space each figure lives in.
   ────────────────────────────────────────────────────────────── */

.web-flow{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}
.web-page .dim{color:#85918c}
.web-page h2{font-size:clamp(36px,4.2vw,64px);font-weight:500;letter-spacing:-.045em;line-height:1.06;margin:0 0 24px;color:#f2fbf7}
.web-page .web-lede,.web-head p{font-size:15px;line-height:1.9;color:#b7cfc7;max-width:580px;margin:0}
.web-index{display:flex;align-items:center;gap:12px;margin:0;font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#7fb3a0}
.web-index>span{color:var(--mint)}

/* ─── Hero ─── */
.web-hero{position:relative;min-height:min(980px,100svh);padding:150px 0 120px;display:flex;align-items:center;
  background:radial-gradient(ellipse 50% 60% at 74% 48%,#0d4a3a26,transparent 62%)}
.web-hero-grid{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);gap:clamp(36px,4.5vw,84px);align-items:center}
.web-hero h1{font-size:clamp(44px,4.5vw,78px);font-weight:600;letter-spacing:-.055em;line-height:1.03;margin:26px 0 30px;color:#f2fbf7}
.web-hero-figure{width:100%;aspect-ratio:520/480;max-height:74svh}
.web-chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:46px 0 0;padding:0;max-width:680px}
.web-chips a{display:inline-flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid var(--line);font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:#a9cbbf;transition:border-color .25s,color .25s,background .25s}
.web-chips a:before{content:'';width:4px;height:4px;border-radius:50%;background:var(--mint-2);box-shadow:0 0 6px #4dc0ae99}
.web-chips a:hover{border-color:#71f6d17a;color:var(--mint);background:#71f6d10a}
.motion-ready .web-chips{animation:system-in .8s cubic-bezier(.16,1,.3,1) .74s both}

/* ─── 01 A split: the claim on the left, three conditions on the right. ─── */
.web-statement{padding:clamp(72px,8vw,108px) 0 clamp(36px,5vw,64px)}
.web-statement .sec-label{margin-bottom:20px}
.web-statement h2{font-size:clamp(28px,3vw,44px);max-width:11em;margin:0}
.web-true{display:grid;grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);gap:clamp(28px,5vw,88px);align-items:end}
.web-true-list{list-style:none;margin:0;padding:0}
.web-true-list li{display:grid;grid-template-columns:84px minmax(0,1fr);gap:16px;align-items:baseline;padding:16px 0;border-top:1px solid var(--line)}
.web-true-list li:last-child{border-bottom:1px solid var(--line)}
.web-true-list span{font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--mint)}
.web-true-list p{margin:0;font-size:16px;line-height:1.45;color:#e7f4ee}

/* ─── Section heads ─── */
.web-head{max-width:900px;margin-bottom:clamp(40px,5vw,76px)}
.web-head h2{max-width:16ch}

/* ─── 02 Services: the copy scrolls, the figure stays ─── */
.web-services{padding:clamp(90px,9vw,140px) 0 clamp(40px,5vw,80px)}
.web-services-grid{--stage-h:min(560px,66svh);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.04fr);gap:clamp(40px,6vw,110px)}
.web-service{min-height:76svh;display:flex;flex-direction:column;justify-content:center;padding:56px 0;border-top:1px solid var(--line);transition:opacity .5s ease}
.web-service:last-child{border-bottom:1px solid var(--line)}
.web-service h3{font-size:clamp(30px,2.8vw,44px);font-weight:500;letter-spacing:-.04em;line-height:1.08;margin:18px 0 18px;color:#f2fbf7}
.web-pitch{font-size:15px;line-height:1.9;color:#b7cfc7;max-width:520px;margin:0}
.web-includes{list-style:none;margin:28px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 24px;max-width:540px}
.web-includes li{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line);font-size:13.5px;color:#cbe3da}
.web-includes li:before{content:'';width:5px;height:5px;flex:none;border-radius:50%;background:var(--mint-2);box-shadow:0 0 8px #4dc0ae80}
.web-for{margin:24px 0 0;font-size:13px;color:#8fada3;display:flex;gap:14px;align-items:baseline;flex-wrap:wrap}
.web-for span{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--mint)}
.web-stage{display:none}
.web-slot{display:none}

/* The figure stage: a frame of hairlines and mono captions, like the
   homepage figures, with the art drawn on the shared canvas between them. */
.web-stage-head,.web-stage-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;font-family:var(--mono);font-size:9px;letter-spacing:.15em;text-transform:uppercase;color:#78a99a}
.web-stage-head{padding:0 2px 14px;border-bottom:1px solid var(--line)}
.web-stage-head b{font-weight:400;color:var(--mint)}
.web-stage-foot{padding:14px 2px 0}
.web-stage-foot>span:last-child{display:flex;align-items:center;gap:8px}
.web-ticks{display:flex;gap:5px}
.web-ticks i{width:16px;height:2px;background:#72e6c626;transition:background .4s}
.web-ticks i.on{background:var(--mint)}

@media(min-width:961px){
  .js .web-stage{display:flex;flex-direction:column;position:sticky;top:calc(45px + 50svh - var(--stage-h) / 2);height:var(--stage-h)}
  .js .web-stage-figure{flex:1;min-height:0}
  .js .web-service:not(.is-active){opacity:.38}
}

/* ─── 03 Process: pinned while the six stages play ─── */
.web-process{position:relative}
.web-process-pin{padding:clamp(90px,9vw,140px) 0}
.web-process-grid{display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);gap:clamp(40px,5vw,96px);align-items:center}
.web-process-copy h2{font-size:clamp(34px,3.4vw,54px);max-width:17ch;margin-bottom:10px}
.web-steps{list-style:none;margin:30px 0 0;padding:0 0 0 2px;position:relative}
.web-step{display:grid;grid-template-columns:46px minmax(0,1fr);padding:15px 0;border-top:1px solid #72e6c614;transition:opacity .45s ease}
.web-step:last-child{border-bottom:1px solid #72e6c614}
.web-step-n{font-family:var(--mono);font-size:11px;letter-spacing:.12em;color:#5f8f7f;padding-top:6px;transition:color .45s}
.web-step h3{font-size:21px;font-weight:500;letter-spacing:-.02em;margin:0;color:#eefaf5}
.web-step p{font-size:14px;line-height:1.8;color:#b7cfc7;margin:10px 0 12px;max-width:460px}
.web-out{display:inline-flex;align-items:center;gap:10px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;text-transform:uppercase;color:var(--mint)}
.web-out:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--mint);box-shadow:0 0 8px #71f6d1}
.web-step-more{display:grid;grid-template-rows:1fr}
.web-step-more>div{overflow:hidden;min-height:0}
.web-process-stage{display:none}

@media(min-width:961px){
  .js .web-process{height:calc(100svh + 6 * 70svh)}
  .js .web-process-pin{position:sticky;top:0;height:100svh;padding:90px 0 0;display:flex;align-items:center}
  .js .web-process-grid{width:calc(100% - var(--page-gutter) * 2)}
  .js .web-process-stage{display:flex;flex-direction:column;height:min(580px,72svh)}
  .js .web-process-figure{flex:1;min-height:0}
  .js .web-step{opacity:.4}
  .js .web-step.is-done{opacity:.62}
  .js .web-step.is-active{opacity:1}
  .js .web-step.is-active .web-step-n{color:var(--mint)}
  .js .web-step-more{grid-template-rows:0fr;transition:grid-template-rows .55s cubic-bezier(.16,1,.3,1)}
  .js .web-step.is-active .web-step-more{grid-template-rows:1fr}
  /* A rail beside the list fills as the stages pass. */
  .js .web-steps:before,.js .web-steps:after{content:'';position:absolute;left:-22px;top:0;bottom:0;width:1px;background:#72e6c61f}
  .js .web-steps:after{background:var(--mint);transform-origin:top;transform:scaleY(var(--web-progress,0));box-shadow:0 0 10px #71f6d180}
}
@media(min-width:961px) and (max-height:820px){
  .web-hero{padding:112px 0 64px}
  .web-hero h1{font-size:clamp(40px,4vw,62px);margin:18px 0 18px}
  .web-chips{margin-top:28px}
  .js .web-process-pin{padding-top:76px}
  .js .web-process-copy h2{font-size:36px;margin-bottom:0}
  .js .web-step{padding:8px 0}
  .js .web-step h3{font-size:18px}
  .js .web-step p{margin:6px 0 8px}
}

/* ─── 04 What you own ─── */
.web-own{padding:clamp(100px,10vw,160px) 0}
.web-own-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(40px,6vw,110px);align-items:center}
.web-mark{width:100%;aspect-ratio:520/480;max-height:70svh}
.web-own-copy h2{max-width:13ch}
.web-own-list{list-style:none;margin:40px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 30px}
.web-own-list li{display:grid;grid-template-columns:34px minmax(0,1fr);row-gap:4px;padding:18px 0;border-top:1px solid var(--line)}
.web-own-list span{grid-row:span 2;font-family:var(--mono);font-size:10px;letter-spacing:.12em;color:var(--mint);padding-top:5px}
.web-own-list b{font-weight:500;font-size:15.5px;color:#eefaf5}
.web-own-list small{font-size:13px;line-height:1.6;color:#8fada3}

/* ─── 05 Ways to start ─── */
.web-start{padding:clamp(70px,7vw,120px) 0 clamp(80px,8vw,130px)}
.web-start-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line)}
.web-start-card+.web-start-card{border-left:1px solid var(--line)}
.web-start-card:nth-child(odd){border-left:0}
.web-start-card:nth-child(n+3){border-top:1px solid var(--line)}
.web-start-card{position:relative;display:flex;flex-direction:column;min-height:340px;padding:34px 32px 30px;background:#060a09f0;transition:background .35s ease}
.web-start-card:before{content:'';position:absolute;left:0;right:0;top:-1px;height:1px;background:var(--mint);transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.web-start-card:hover{background:#0a1311f2}
.web-start-card:hover:before{transform:scaleX(1)}
.web-start-card h3{font-size:clamp(24px,2.1vw,30px);font-weight:500;letter-spacing:-.035em;margin:52px 0 14px;color:#f2fbf7}
.web-start-card p{font-size:14px;line-height:1.8;color:#b7cfc7;margin:0 0 34px}
.web-card-link{margin-top:auto;display:inline-flex;align-items:center;gap:16px;color:var(--mint);font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;transition:gap .25s}
.web-card-link .line-icon{width:15px;height:15px}
.web-start-card:hover .web-card-link{gap:24px}

/* ─── CTA ─── */
.web-cta{padding:clamp(90px,9vw,150px) 0 clamp(100px,10vw,160px);border-top:1px solid #72e6c616;
  background:radial-gradient(ellipse 50% 70% at 78% 50%,#0d4a3a22,transparent 62%)}
.web-cta-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:clamp(30px,5vw,90px);align-items:center}
.web-cta h2{font-size:clamp(42px,5vw,82px);font-weight:600;letter-spacing:-.055em;line-height:1.02;max-width:13ch}
.web-cta-copy>p{font-size:15px;line-height:1.9;color:#b7cfc7;max-width:540px;margin:0}
.web-cta .hero-actions{display:flex;align-items:center;gap:28px;margin-top:38px;flex-wrap:wrap}
.web-cta .hero-learn{gap:12px}
.web-cta .hero-learn .line-icon{width:17px;height:17px;color:var(--mint)}
.web-prompt{width:100%;aspect-ratio:520/480;max-height:62svh}

/* ─── Narrow screens: no pinning (it fights touch scrolling, as on the
   homepage). Each service and stage carries its own figure slot instead,
   and the flock migrates from slot to slot. ─── */
@media(max-width:1100px){
  .web-own-list{grid-template-columns:1fr}
}
@media(max-width:960px){
  .web-page .container{width:calc(100% - 48px)}
  .web-hero{min-height:auto;padding:118px 0 96px}
  .web-true{grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
  .web-hero-grid{grid-template-columns:minmax(0,1fr);gap:8px}
  .web-hero-figure{order:-1;width:min(380px,82%);justify-self:center;max-height:none;margin-bottom:-6px}
  .web-hero h1{font-size:clamp(40px,8.6vw,64px);margin-top:20px}
  .web-services-grid{grid-template-columns:minmax(0,1fr)}
  .web-service{min-height:0;padding:44px 0 50px}
  .js .web-slot{display:block;width:min(460px,100%);aspect-ratio:520/480;margin:0 auto 26px}
  .web-process-pin{padding:80px 0 30px}
  .web-process-grid{grid-template-columns:minmax(0,1fr)}
  .web-step{grid-template-columns:38px minmax(0,1fr);padding:30px 0}
  .web-step .web-slot{grid-column:1/-1}
  .web-own-grid{grid-template-columns:minmax(0,1fr);gap:20px}
  .web-mark{width:min(440px,100%);justify-self:center;max-height:none}
  .web-own-list{grid-template-columns:1fr 1fr}
  .web-start-grid{grid-template-columns:minmax(0,1fr)}
  .web-start-card{min-height:0}
  .web-start-card+.web-start-card{border-left:0;border-top:1px solid var(--line)}
  .web-start-card h3{margin-top:34px}
  .web-cta-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .web-prompt{order:-1;width:min(320px,80%);justify-self:center;max-height:none}
}
@media(max-width:600px){
  .web-page .container{width:calc(100% - 40px)}
  .web-hero{padding:88px 0 84px}
  .web-hero h1{font-size:clamp(36px,10.4vw,52px);line-height:1.04}
  .web-chips{margin-top:34px}
  .web-chips a{font-size:11px;padding:9px 12px;letter-spacing:.08em}
  .web-page h2{font-size:clamp(32px,8.6vw,42px)}
  .web-statement{padding:56px 0 28px}
  .web-service h3{font-size:30px}
  .web-pitch,.web-page .web-lede,.web-head p,.web-cta-copy>p{font-size:14px;line-height:1.85}
  .web-includes{grid-template-columns:1fr}
  .web-own-list{grid-template-columns:1fr}
  .web-start-card{padding:28px 22px 26px}
  .web-cta h2{font-size:clamp(36px,10vw,50px)}
  .web-cta .hero-actions{flex-direction:column;align-items:flex-start;gap:16px}
}

@media(prefers-reduced-motion:reduce){
  .web-service,.web-step,.web-step-more,.web-ticks i,.web-start-card,.web-start-card:before{transition:none!important}
}
