/* Connect Studio / Strategy-first web production concept.
   A short bilingual typographic system, plus a real perspective-transformed 3D pathway.
   2026-10-16. This intentionally overrides only selected existing rules. */
:root { --growth-ink:#080e1c; --growth-blue:#7395ff; }

/* Give the existing WebGL stage the leading role. */
.hero { min-height:760px; }
.hero .hero-kicker { font-size:12px;letter-spacing:.14em;color:#a6badc; }
.hero .hero-title.growth-hero-title {
  position:absolute;left:var(--gutter);top:clamp(210px,25vh,295px);
  z-index:6;width:min(48vw,750px);max-width:unset;
  font-family:var(--display);font-weight:600;line-height:1.03;
  pointer-events:none;letter-spacing:-.077em;
}
.hero .hero-title .line-first.hero-head-en {
  position:static;display:block;left:auto;top:auto;
  font:600 clamp(74px,8.25vw,132px)/1.0 var(--display)!important;
  letter-spacing:-.082em;white-space:nowrap;color:#f8f9fb;
}
.hero .hero-title .line-last.hero-head-ja.hero-head-english {
  position:static;display:block;left:auto;top:auto;
  margin-top:clamp(3px,.55vw,9px);
  font:600 clamp(76px,9.4vw,146px)/1.0 var(--display)!important;
  letter-spacing:-.079em;white-space:nowrap;color:#7d9bff;
}
.hero .hero-title .hero-dot { color:#f4f5fa; }
.hero .hero-caption.growth-hero-caption { bottom:clamp(146px,17vh,196px);max-width:620px; }
.hero .hero-caption.growth-hero-caption p {
  font:500 clamp(23px,2.25vw,33px)/1.6 var(--sans); color:#f5f6fb;
  letter-spacing:.01em; margin:0;
}
.hero .spatial-stage {inset:26px 0 58px;}
.hero .interaction-label {font-size:12px;bottom:clamp(148px,17.5vh,204px);}
.hero .interaction-label .interaction-hint-icon {display:inline!important;margin-right:8px!important;}

/* The projects lead; do not introduce them with another paragraph about philosophy. */
.works-section .section-heading.concise-work-heading {margin-bottom:clamp(43px,5.7vw,84px);}
.concise-work-heading .section-title .portfolio-en {font-size:clamp(60px,6.2vw,99px);}
.concise-work-heading .section-aside p{font-size:clamp(16px,1.35vw,19px);white-space:nowrap;color:#616b78;}
.showcase-feature .showcase-credit {margin-top:26px;}

/* One clear movement through the work: entry -> Web -> action.
   The pieces below are real browser-rendered 3D planes, not a flattened background image. */
.growth-section {
 position:relative;isolation:isolate;overflow:hidden;
 background:#080d1a;color:#f5f6fa;
 padding:clamp(96px,9vw,150px) 0 clamp(84px,7vw,130px);
 border-top:1px solid #111c30;
}
.growth-section:before{content:"";position:absolute;inset:-30% -12% -20% 20%;pointer-events:none;z-index:-1;
 background:radial-gradient(ellipse at 64% 48%,rgba(27,77,186,.31),transparent 44%),radial-gradient(ellipse at 80% 90%,rgba(42,78,154,.13),transparent 43%);}
.growth-section:after{content:"";position:absolute;right:6.2%;top:0;height:100%;width:1px;background:linear-gradient(transparent,#7297e322,transparent);pointer-events:none;}
.growth-layout{display:grid;grid-template-columns:minmax(300px,.86fr) minmax(0,1.14fr);gap:10px;align-items:center;min-height:550px;}
.growth-copy{position:relative;z-index:3;align-self:center;padding-bottom:10px;}
.growth-eyebrow {color:#a5b9e1; margin-bottom:clamp(36px,5vw,76px);letter-spacing:.14em;}
.growth-heading{display:flex;flex-direction:column;align-items:flex-start;margin:0;gap:30px;}
.growth-heading>span{font:500 clamp(62px,6.6vw,111px)/.98 var(--display);letter-spacing:-.074em;color:#f2f4fa;white-space:nowrap;}
.growth-heading strong{font:550 clamp(26px,2.75vw,43px)/1.47 var(--sans);letter-spacing:-.055em;color:#96adff;}
.growth-one-line{font-size:clamp(15px,1.23vw,19px);line-height:1.8;color:#c4cbd8;margin:clamp(27px,3.4vw,48px) 0 0;}
.growth-about-link{display:inline-flex;align-items:center;justify-content:space-between;gap:55px;font-size:15px;font-weight:500;min-height:46px;border-bottom:1px solid #687896;margin-top:42px;transition:color .25s,border-color .25s;}
.growth-about-link:hover{color:#9cb4ff;border-color:#9cb4ff;}
.growth-about-link>span{font-size:21px;font-weight:400;transition:transform .25s;}
.growth-about-link:hover>span{transform:translate(3px,-3px)}

.growth-stage{--rx:-9deg;--ry:-17deg;position:relative;min-width:0;width:100%;height:620px;perspective:1050px;perspective-origin:54% 46%;touch-action:pan-y;cursor:grab;outline-offset:8px;}
.growth-stage:focus-visible{outline:2px solid #95adff;}
.growth-stage.is-dragging{cursor:grabbing;}
.growth-aura{position:absolute;left:50%;top:51%;transform:translate(-50%,-50%);width:min(95%,840px);height:84%;border-radius:50%;background:radial-gradient(ellipse,rgba(14,62,161,.30),rgba(15,31,68,.13) 43%,transparent 68%);filter:blur(16px);pointer-events:none;}
.growth-rig{position:absolute;left:50%;top:50%;width:730px;height:460px;transform-style:preserve-3d;transform:translate(-50%,-50%) rotateX(var(--rx)) rotateY(var(--ry));transition:transform .55s cubic-bezier(.22,.8,.26,1);will-change:transform;pointer-events:none;}
.growth-plane,.growth-window,.growth-glass-slab,.growth-rail{position:absolute;transform-style:preserve-3d;backface-visibility:hidden;}
.growth-plane{border:1px solid rgba(156,183,238,.48);background:linear-gradient(130deg,rgba(67,102,171,.22),rgba(5,18,41,.66));box-shadow:inset 0 0 0 1px rgba(175,204,255,.06),0 30px 90px #01071299;}
.growth-plane:before{position:absolute;content:"";inset:6px;border:1px solid rgba(150,186,252,.10);pointer-events:none;}
.growth-plane-meta{font:600 12px/1.4 var(--display);letter-spacing:.14em;color:#bbd0ff;}
.growth-plane--entry{left:6px;top:99px;width:235px;height:302px;padding:28px 24px;transform:translate3d(-20px,-16px,-143px) rotateY(-20deg) rotateZ(-3deg);}
.growth-plane-word{display:block;margin-top:55px;font:500 36px/1.43 var(--sans);letter-spacing:.04em;color:#e4edff;}
.growth-plane-stripe{position:absolute;left:25px;bottom:28px;width:100px;height:3px;background:#3d8fff;box-shadow:0 0 24px #3987ff87;}
.growth-rail{top:270px;height:2px;background:linear-gradient(90deg,transparent,#518aff,#bfe1ff,transparent);box-shadow:0 0 21px #417ce0aa;}
.growth-rail--left{left:170px;width:196px;transform:translateZ(-85px) rotateY(-4deg)}
.growth-rail--right{right:-1px;width:192px;transform:translateZ(102px) rotateY(5deg)}
.growth-window{left:177px;top:95px;width:472px;height:308px;transform:translate3d(0,0,84px);background:#0f1b36;box-shadow:17px 17px 0 #05102b,22px 24px 0 #132b5e,35px 35px 70px #010713a6,0 0 0 1px #8eb3f69c;overflow:visible;}
.growth-window-chrome{height:41px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #334b7c;background:linear-gradient(125deg,#172640,#202d48);padding:0 17px;color:#a0b0ca;font:500 11px/1 var(--display);letter-spacing:.02em;}
.growth-win-dots{display:inline-flex;align-items:center;gap:5px;}.growth-win-dots i{width:7px;height:7px;background:#7591b6;border-radius:50%}.growth-win-arrow{font-size:18px;}
.growth-window-body{position:relative;display:flex;flex-direction:column;height:calc(100% - 41px);padding:27px 29px;background:linear-gradient(145deg,#243b80 0%,#114ad3 46%,#061536 100%);overflow:hidden;}
.growth-window-body:before{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(192,225,255,.28);border-radius:50%;top:-42px;right:-44px;transform:rotateX(68deg) rotateY(20deg);box-shadow:0 0 60px #bbdbff1e,0 0 0 31px #3e8dff12,0 0 0 80px #66a9ff09;}
.growth-window-body:after{content:"";position:absolute;width:165px;height:245px;top:10px;right:30px;transform:rotate(34deg);background:linear-gradient(90deg,transparent,rgba(255,255,255,.23),transparent);filter:blur(13px);}
.growth-window-tag{font:600 11px var(--display);letter-spacing:.13em;color:#aecfff;position:relative;z-index:1;}
.growth-window-big{font:650 104px/.95 var(--display);letter-spacing:-.095em;color:#f2f6ff;margin-top:25px;position:relative;z-index:1;}
.growth-window-big span{color:#90c4ff}.growth-window-line{width:170px;height:8px;margin-top:25px;background:#c8dbff66;position:relative;z-index:1;}
.growth-window-text{width:110px;height:6px;margin-top:10px;background:#cedbff44;position:relative;z-index:1;}
.growth-window-button{display:flex;justify-content:space-between;align-items:center;position:absolute;bottom:25px;left:29px;width:153px;height:37px;padding:0 12px;color:#0e3275;background:#f8fbff;font:700 11px var(--display);letter-spacing:.12em;}
.growth-window-button b{font-size:16px;}
.growth-window-bottom{position:absolute;bottom:16px;right:19px;width:75px;height:1px;background:#d2e2ff66;}
.growth-plane--result{left:510px;top:16px;width:243px;height:168px;padding:22px 20px;transform:translate3d(0,0,218px) rotateY(14deg) rotateZ(4deg);background:linear-gradient(135deg,#edf4ff,#b9d4ff);color:#0e245a;box-shadow:0 21px 80px #010b2a99,9px 11px 0 #4671c0;}
.growth-plane--result:before{border-color:rgba(20,56,109,.12)}
.growth-plane--result .growth-plane-meta{color:#446cb5;}
.growth-result-word{display:block;margin-top:26px;font:600 23px/1.38 var(--sans);letter-spacing:-.045em;}
.growth-result-check{float:right;font:400 27px var(--display);color:#3761d7;margin-top:-3px;}
.growth-result-line{position:absolute;bottom:12px;left:20px;height:2px;width:50px;background:#3d6be4;}
.growth-glass-slab{width:250px;height:345px;left:295px;top:54px;border:1px solid #729def3c;background:linear-gradient(115deg,transparent,#9dcfff0b,transparent);transform:translate3d(35px,-36px,-68px) rotateY(-19deg) rotateZ(13deg);pointer-events:none;}
.growth-stage-hint{position:absolute;right:0;bottom:5px;color:#91a8d1;font:500 12px/1.5 var(--sans);letter-spacing:.03em;}
.growth-section .eyebrow{color:#9fb9ef;}

/* Keep the simplified final CTA and important navigation legible. */
.site-footer .footer-description{margin-top:12px;font-size:15px;}
.cj-work-archive .page-top .page-heading-ja{font-size:clamp(21px,2vw,29px);}

@media (min-width:761px) and (max-width:1199px){
  .hero .hero-title.growth-hero-title{top:clamp(210px,25vh,270px);width:55vw;}
  .hero .hero-title .line-first.hero-head-en{font-size:clamp(66px,8vw,102px)!important;}
  .hero .hero-title .line-last.hero-head-ja.hero-head-english{font-size:clamp(75px,9vw,117px)!important;}
  .growth-layout{grid-template-columns:minmax(245px,.77fr) minmax(0,1.23fr);}
  .growth-stage{height:580px;}
  .growth-rig{transform:translate(-50%,-50%) scale(.79) rotateX(var(--rx)) rotateY(var(--ry));}
}
@media(max-width:760px){
  .hero{min-height:740px;min-height:100svh;}
  .hero .hero-kicker{top:131px;left:var(--gutter);max-width:calc(100% - 2*var(--gutter));font-size:11px;}
  .hero .hero-title.growth-hero-title{top:178px;left:var(--gutter);width:auto;max-width:calc(100% - 2*var(--gutter));}
  .hero .hero-title .line-first.hero-head-en{font-size:clamp(60px,14.4vw,98px)!important;}
  .hero .hero-title .line-last.hero-head-ja.hero-head-english{font-size:clamp(66px,15vw,103px)!important;}
  .hero .hero-caption.growth-hero-caption{bottom:145px;max-width:calc(100% - 2*var(--gutter));}
  .hero .hero-caption.growth-hero-caption p{font-size:clamp(19px,5vw,25px);line-height:1.6;}
  .hero .interaction-label{right:var(--gutter);bottom:119px;font-size:10px;}
  .hero .spatial-stage{inset:80px -6% 58px;}
  .works-section .section-heading.concise-work-heading{margin-bottom:34px;}
  .concise-work-heading .section-title .portfolio-en{font-size:clamp(48px,11.2vw,71px);line-height:1.05;}
  .concise-work-heading .section-aside{margin-top:20px;}
  .concise-work-heading .section-aside p{white-space:normal;font-size:16px;line-height:1.7;}
  .growth-section{padding:96px 0 77px;}
  .growth-layout{display:block;min-height:0;}
  .growth-eyebrow{margin-bottom:28px;font-size:12px;}
  .growth-heading{gap:22px;}
  .growth-heading>span{font-size:clamp(59px,15vw,91px);}
  .growth-heading strong{font-size:clamp(27px,7.6vw,37px);line-height:1.52;}
  .growth-one-line{font-size:16px;margin-top:19px;}
  .growth-about-link{margin-top:22px;font-size:14px;}
  .growth-stage{margin-top:15px;height:455px;perspective:850px;}
  .growth-rig{transform:translate(-50%,-50%) scale(.61) rotateX(var(--rx)) rotateY(var(--ry));}
  .growth-stage-hint{right:5px;bottom:0;font-size:11px;}
}
@media(max-width:420px){
  .hero .hero-title .line-first.hero-head-en{font-size:14.5vw!important;}
  .hero .hero-title .line-last.hero-head-ja.hero-head-english{font-size:15.1vw!important;}
  .hero .hero-caption.growth-hero-caption{bottom:151px;}
  .growth-stage{height:395px;margin-inline:calc(var(--gutter) * -1);width:calc(100% + 2*var(--gutter));}
  .growth-rig{transform:translate(-50%,-50%) scale(.48) rotateX(var(--rx)) rotateY(var(--ry));}
  .growth-stage-hint{right:var(--gutter);bottom:-8px;}
}
@media(prefers-reduced-motion:reduce){
  .growth-rig{transition:none!important;}
  .growth-stage{cursor:default;}
}
/* Scene framing refinements: keep all three planes visible, including on narrow screens. */
.growth-plane--entry{left:-83px;top:92px;transform:translate3d(-8px,-10px,-85px) rotateY(-25deg) rotateZ(-3deg);}
.growth-plane--result{left:471px;top:16px;width:220px;height:158px;padding:21px 19px;transform:translate3d(0,0,189px) rotateY(14deg) rotateZ(4deg);}
.growth-result-word{font-size:21px;margin-top:22px;}
@media(min-width:761px) and (max-width:1199px){
  .growth-stage{perspective-origin:48% 46%;}
  .growth-rig{left:45%;transform:translate(-50%,-50%) scale(.73) rotateX(var(--rx)) rotateY(var(--ry));}
}
@media(max-width:760px){
  .growth-rig{left:47%;transform:translate(-50%,-50%) scale(.54) rotateX(var(--rx)) rotateY(var(--ry));}
}
@media(max-width:420px){
  .growth-rig{left:43%;transform:translate(-50%,-50%) scale(.405) rotateX(var(--rx)) rotateY(var(--ry));}
}
