/* The QuSS mobile vocabulary, bounded to the GMJ artboard at every viewport. */
:root{--site-width:480px;--header-height:72px;--color-black:#010327;--color-black-rgb:1 3 39;--color-base:#010327;--color-white:#fff;--color-snow:#fff;--color-bg:#fff;--accent:#00178f;--page-height:calc(100dvh - var(--header-height));--ease-quantum:cubic-bezier(.42,.1,0,1);--ease-quantum-out:cubic-bezier(.15,.32,0,1);font-size:clamp(8px,2.5vw,10px)}
html{scroll-snap-type:none;scroll-behavior:auto;overflow-anchor:none;scroll-padding-top:var(--header-height);background:#e9eaf0}
body{margin:0;padding-top:var(--header-height);background:transparent;color:var(--color-base);font-size:1.5rem;line-height:1.85;overflow-x:clip}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{cursor:pointer}button{font:inherit}button:disabled{opacity:.25;cursor:default}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--accent);outline-offset:5px}img{display:block;max-width:100%;height:auto}button[hidden],[hidden]{display:none!important}
.site-wrapper{width:100%;max-width:480px;margin:0 auto;background:#fff;position:relative}
.gmj-header{position:fixed;z-index:1000;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:var(--header-height);padding:20px 30px;background:#fff;display:flex;align-items:center;justify-content:space-between}
.brand{display:block;text-align:left;width:118px;max-width:calc(100% - 155px);flex:0 1 118px;line-height:1}.brand img{width:100%}.brand span{display:block;font-family:var(--font-family-noto-sans);font-size:8px;letter-spacing:.13em;margin-top:5px}
/* Compact header CTAs reuse the existing pill background and hover animation. */
.header-actions{display:flex;align-items:center;flex-wrap:nowrap;gap:8px;flex-shrink:0}
.header-actions>.header-cta{display:inline-flex;align-items:center;justify-content:center;font-size:13px;padding:3px 8px;width:auto;height:auto;box-sizing:border-box;flex:0 0 auto;white-space:nowrap;margin:0;line-height:1}
.header-cta .c-button-text,.side-cta .c-button-text{font:inherit}
.header-cta .c-button-bg,.side-cta .c-button-bg{background:var(--color-base)}
.desktop-side{display:none}
/* Each fixed panel occupies precisely the gutter next to the 480px artboard. */
@media(min-width:1024px){
.desktop-side{position:fixed;top:50%;transform:translateY(-50%);width:calc((100% - var(--site-width))/2);display:flex;align-items:center;justify-content:center;z-index:800}
.desktop-logo{left:0}.desktop-logo img{width:153.4px;max-width:calc(100% - 48px);height:auto}
.desktop-actions{right:0;flex-direction:column;gap:14px}
.desktop-actions>.side-cta{width:225px;max-width:calc(100% - 40px);min-height:69px;padding:18.5px 30px;justify-content:center;font-size:16px;white-space:nowrap}
}
.swipe-section{height:var(--page-height);min-height:var(--page-height);max-height:var(--page-height);scroll-snap-align:start;scroll-snap-stop:always;width:100%;padding:24px 30px 52px;position:relative;display:flex;align-items:center}
.screen-content{width:100%;display:flex;flex-direction:column;gap:2.2rem;margin:auto 0;position:relative;min-width:0}
.section-heading{text-align:center;line-height:1.3}.eyebrow{font-family:var(--font-family-imbue);font-size:5.6rem;font-weight:400;line-height:.95;letter-spacing:-.02em;margin-bottom:1.8rem}.section-heading h2,.hero-heading h1,.closing-copy{font-family:var(--font-family-base);font-size:3.2rem;line-height:1.5;font-weight:400;letter-spacing:-.02em;text-wrap:balance}.section-heading h2{text-align:right;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:rgb(1 3 39 / 40%)}
.prose{font-size:1.5rem;line-height:1.85;text-align:left;letter-spacing:.015em}.prose p+p{margin-top:1.3em}.prose p:first-child{text-indent:4.6rem;position:relative}.prose p:first-child:before{content:"";height:1px;width:3.7rem;position:absolute;left:0;top:.9em;background:currentColor}
.hero-heading{margin-top:1rem}.hero-heading .eyebrow{font-size:3.2rem;text-align:left;margin-bottom:3.2rem}.hero-heading h1{text-align:right;font-size:3.5rem;line-height:1.6}.hero-heading h1 span,.closing-copy span{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:5px}.hero-motto{font-size:2rem;text-align:right;line-height:1.5}.concept .prose{margin-top:1.4rem}.concept .prose p:first-child{text-indent:0}.concept .prose p:first-child:before{display:none}.hero-signature{font:2rem/1.15 var(--font-family-imbue);text-align:right;margin-top:.5rem}.gmj-cta{align-self:center;margin-top:.6rem}.gmj-cta .c-button-text{font-size:3.2rem}.gmj-cta .c-button-bg{background:var(--color-base)}
.section-photo{align-self:center;width:min(68%,22rem);height:min(24dvh,19rem);flex-shrink:0;margin:0}.section-photo img{width:100%;height:100%;object-fit:cover;border-radius:50%}.section-photo.oval{width:100%;height:min(22dvh,17rem)}.section-photo.oval img{border-radius:9999px}.with-photo .screen-content{gap:1.8rem}#message .section-photo img{object-position:50% 39%}#work .section-photo img{object-position:46% 60%}#company .section-photo img{object-position:50% 55%}
.short-lead{font-size:1.5rem;text-align:center;line-height:1.7}.roles{font-size:1.4rem;line-height:1.65}.roles>div+div{margin-top:1.2rem}.roles dt{font-size:1.8rem}.roles dd{font-size:1.4rem;margin-top:.3rem}.roles dt:before{content:"—";margin-right:.7rem}.bracket{position:relative;padding:4.2rem 0}.bracket:before,.bracket:after{content:"";position:absolute;left:0;right:0;height:2.5rem;background-position:center;background-size:100% 100%;background-repeat:no-repeat;pointer-events:none}.bracket:before{top:0;background-image:url('../images/common/paren_sp_m_t.svg')}.bracket:after{bottom:0;background-image:url('../images/common/paren_sp_m_b.svg')}
.feature{text-align:center;margin-block:.5rem}.feature-label{font-size:1.3rem;margin-bottom:1rem}.feature-word{font:6rem/1 var(--font-family-imbue)}.feature-word span{display:block;font:1.4rem/1.5 var(--font-family-base);margin-top:1.2rem}.statement{font-size:1.8rem;text-align:center;line-height:1.9}.income-feature{display:flex;flex-direction:column;gap:1.3rem;text-align:center;padding-block:3.6rem}.income-row>p:first-child{font-size:1.2rem}.income-number{font:8rem/1 var(--font-family-imbue);letter-spacing:-.04em}.income-number span{font:2rem/1 var(--font-family-base);margin-left:.7rem}.caption{font:1.15rem/1.65 var(--font-family-noto-sans);color:#4e5065}.passion-list{display:grid;gap:2rem;font-size:1.6rem}.passion-list li{position:relative;padding-left:1em}.passion-list li:before{content:"・";position:absolute;left:0}
.display-word{font:9rem/.83 var(--font-family-imbue);letter-spacing:-.035em}.closing .screen-content{gap:3rem}.closing-copy{text-align:right;margin-top:1rem}.closing .section-photo{height:min(24dvh,18rem)}.text-link{font-size:1.3rem;text-align:center;text-decoration:underline;text-underline-offset:5px;align-self:center;padding:8px 0}.text-link span{margin-left:10px}.facts{font-size:1.5rem;line-height:1.7}.facts>div{display:grid;grid-template-columns:6.5em 1fr;gap:1rem;padding:1rem 0;border-bottom:1px solid rgb(1 3 39 / 20%)}.facts dt{font-family:var(--font-family-noto-sans);font-size:1.25rem;font-weight:500}.facts dd{overflow-wrap:anywhere}.facts a{text-decoration:underline;text-underline-offset:4px}.facts.compact{font-size:1.4rem}.section-note{text-align:center;font-size:1.3rem;letter-spacing:.1em;margin-top:-1rem}.details-screen .eyebrow{font-size:5rem}.details-screen .screen-content{gap:1.7rem}.job-details{font-size:1.25rem;line-height:1.75}.job-details h3{font-size:1.5rem;margin-bottom:.6rem}.job-details li:before,.simple-list li:before,.benefits-list li:before{content:"・"}.simple-list{font-size:1.6rem;line-height:2.1}.leave-block{padding-inline:1rem}.benefits-list{font-size:1.5rem;line-height:1.8}.benefits-list>div{padding:1.8rem 0;border-bottom:1px solid rgb(1 3 39 / 25%)}.benefits-list dt{font-size:2rem;margin-bottom:.8rem}.benefits-list dd+dd{margin-top:1rem}.benefits-list ul{font-size:1.25rem}.benefits-list small{font-size:1.2rem}
.page-controls{position:fixed;z-index:900;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:40px;display:flex;align-items:center;justify-content:space-between;padding:0 26px;background:#fff;border-top:1px solid rgb(1 3 39 / 15%);font-family:var(--font-family-noto-sans)}.page-controls>button{width:40px;height:36px;text-align:center;font-size:20px}.page-controls p{display:flex;gap:4px;align-items:center;font-size:10px}.page-controls #page-number{font:22px/1 var(--font-family-imbue)}.page-count{color:#6b6d7b}#page-label{margin-left:12px;font-size:10px}
.swipe-section.is-long-section{height:auto;min-height:var(--page-height);max-height:none;scroll-snap-stop:normal;padding-top:3.8rem;padding-bottom:70px;display:block}.entry-intro{font-size:1.4rem;line-height:1.9;margin-block:1rem}#entry-form{display:flex;flex-direction:column;gap:2.8rem}#entry-form>label{display:block;font-size:1.5rem;line-height:1.6}.required,.optional{font:1rem/1 var(--font-family-noto-sans);margin-left:10px}.required{color:var(--accent)}.optional{color:#707080}input,select,textarea{display:block;width:100%;margin-top:1rem;padding:1.2rem 1.3rem;border:1px solid rgb(1 3 39 / 45%);border-radius:0;background:white;color:var(--color-base);font-family:var(--font-family-noto-sans);font-size:16px;line-height:1.7;min-height:46px;box-sizing:border-box}input::placeholder,textarea::placeholder{color:#7e7e8c;font-size:13px}textarea{min-height:160px;resize:vertical}select{appearance:none;-webkit-appearance:none;padding-right:48px;background-image:url("../images/common/select-chevron.svg");background-repeat:no-repeat;background-position:right 18px center;background-size:12px 8px}.form-button{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:17px 24px;width:100%;border-radius:9999px;color:white;background:var(--color-base);font-size:1.5rem;line-height:1.4;text-align:center}.form-button:hover{background:var(--accent)}#entry-review{display:flex;flex-direction:column;gap:2rem}#entry-review h3{font-size:2.2rem}#review-values>div{display:block}#review-values dd{white-space:pre-wrap;margin-top:.7rem}.gmj-footer{margin-top:6rem;border-top:1px solid currentColor;padding-top:5rem;text-align:center;position:relative}.gmj-footer:before{content:"";width:5px;height:5px;border-radius:50%;position:absolute;right:0;top:-3px;background:currentColor}.gmj-footer img{width:85%;margin:0 auto 2rem}.gmj-footer>p{font-size:1.5rem}.gmj-footer .footer-contact{font-size:1.2rem;margin-top:3rem;line-height:1.9}.gmj-footer .copyright{font:1.5rem/1 var(--font-family-imbue);margin-top:3rem}.gmj-footer .text-link{margin-top:2rem}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-height:800px){.swipe-section{padding-top:14px;padding-bottom:46px}.screen-content,.with-photo .screen-content{gap:1.4rem}.eyebrow{font-size:4.4rem;margin-bottom:1rem}.section-heading h2,.hero-heading h1,.closing-copy{font-size:2.9rem;line-height:1.4}.section-photo{height:13dvh;max-width:15rem}.section-photo.oval{height:14dvh;max-width:none}.prose{line-height:1.7}.prose p+p{margin-top:.85em}.hero-heading .eyebrow{margin-bottom:2rem}.concept .prose{margin-top:0}.hero-signature{font-size:1.6rem}.bracket{padding-block:3rem}.feature-word{font-size:5rem}.income-number{font-size:6.4rem}.passion-list{gap:1.5rem}.display-word{font-size:8rem}.closing .screen-content{gap:2rem}.facts>div{padding:.65rem 0}.benefits-list>div{padding:1.2rem 0}}
@media(max-height:620px){:root{--header-height:60px}.gmj-header{padding:14px 24px}.swipe-section{padding:10px 24px 44px}.screen-content,.with-photo .screen-content{gap:1rem}.eyebrow{font-size:3.4rem;margin-bottom:.7rem}.section-heading h2,.hero-heading h1,.closing-copy{font-size:2.5rem;line-height:1.35}.hero-heading{margin:0}.hero-heading .eyebrow{font-size:2.4rem;margin-bottom:1.4rem}.hero-motto{font-size:1.7rem}.hero-signature{display:none}.prose{font-size:1.4rem;line-height:1.6}.prose p+p{margin-top:.6em}.section-photo,.section-photo.oval{height:10dvh}.section-photo{max-width:10rem}.gmj-cta{padding:1rem 3rem;margin-top:0}.gmj-cta .c-button-text{font-size:2.8rem}.roles dt{font-size:1.6rem}.roles>div+div{margin-top:.6rem}.short-lead,.roles dd{font-size:1.3rem}.bracket{padding-block:2.5rem}.bracket:before,.bracket:after{height:1.7rem}.feature-word{font-size:4.5rem}.feature-word span{margin-top:.7rem;font-size:1.3rem}.income-number{font-size:5.2rem}.income-feature{gap:.6rem}.income-row>p:first-child{font-size:1.1rem}.caption{font-size:1.05rem}.details-screen .eyebrow{font-size:3.2rem}.details-screen .screen-content{gap:1rem}.facts.compact{font-size:1.3rem}.facts>div{padding:.45rem 0}.job-details{font-size:1.2rem;line-height:1.6}.benefits-list{font-size:1.4rem;line-height:1.65}.benefits-list>div{padding:.8rem 0}.benefits-list dt{font-size:1.7rem;margin-bottom:.4rem}.closing .screen-content{gap:1.8rem}.closing .section-photo{height:15dvh}.display-word{font-size:7rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.swipe-section:not(.is-long-section){touch-action:pan-x pinch-zoom}
/* Keep Japanese body copy readable even on a 320px-wide screen. */
.prose,.benefits-list{font-size:clamp(14px,1.5rem,15px)}
.short-lead,.roles dd,.facts.compact{font-size:clamp(13px,1.4rem,14px)}
.facts{font-size:clamp(14px,1.5rem,15px)}
.job-details,.benefits-list ul,.caption{font-size:clamp(12px,1.25rem,13px)}
.passion-list,.simple-list{font-size:clamp(14px,1.6rem,16px)}
@media(min-height:741px) and (max-height:860px){.screen-content{gap:1.8rem}.section-photo{height:min(22dvh,17rem)}.income-feature{padding-block:3rem}.income-number{font-size:7.2rem}}
#duties .job-details{font-size:clamp(14px,1.5rem,15px);line-height:1.9}#duties .job-details li+li{margin-top:.6rem}
@media(max-height:620px){#training .feature{padding-block:1.9rem;margin:0}#training .feature-label{margin-bottom:.4rem}#training .feature-word{font-size:3.4rem}#training .feature-word span{margin-top:.3rem}#duties .job-details{font-size:13px;line-height:1.65}#duties .job-details li+li{margin-top:.3rem}}
.section-photo.circle{width:min(20rem,21dvh);height:min(20rem,21dvh);max-width:none}
@media(max-height:800px){.section-photo.circle{width:14dvh;height:14dvh}}
@media(max-height:620px){.section-photo.oval{height:80px}.section-photo.circle{width:80px;height:80px}}
@media(min-height:621px) and (max-height:800px){.screen-content{gap:1rem}.feature-word{font-size:4.3rem}.feature{padding-block:2.6rem}.income-feature{padding-block:2.5rem;gap:.8rem}.income-number{font-size:5.2rem}.benefits-list{line-height:1.65}.benefits-list>div{padding:.8rem 0}.benefits-list dt{font-size:1.8rem;margin-bottom:.5rem}.details-screen .screen-content{gap:1rem}}
@media(min-height:741px) and (max-height:860px){.screen-content,.with-photo .screen-content,.details-screen .screen-content{gap:1.2rem}.section-photo.oval{height:16rem}.section-photo.circle{width:16rem;height:16rem}.income-number{font-size:6.8rem}.closing .screen-content{gap:2.2rem}.benefits-list>div{padding:1.5rem 0}}
@media(min-height:621px) and (max-height:800px){#life .feature{padding-block:2.3rem}}
@media(min-height:741px) and (max-height:860px){.concept .screen-content{gap:1.1rem}}

/* Original manuscript: retain sentences when mapping copy to existing components. */
.roles>p{margin-bottom:.4rem}.roles li{padding-left:1em;position:relative}.roles li:before{content:"・";position:absolute;left:0}.roles li+li{margin-top:.6rem}.roles li span{white-space:nowrap}
.income-row>p:not(.income-number),.income-bridge{font-size:14px;line-height:1.7}.income-bridge{text-align:left}.benefit-limit{font-size:14px}
@media(max-height:740px){#schedule .simple-list{line-height:1.55}}
@media(max-height:620px){#income .income-feature{padding-block:1.3rem}}

/* Section 00: match the Daito test-video implementation. */
.swipe-section.test-video-section{padding:0;gap:0;justify-content:center}
.test-video-section video{display:block;width:100%;height:100%;max-height:100%;object-fit:cover;object-position:center}

/* Reference arc pair and oversized editorial type, reserved for the final message. */
.closing-signature{text-align:center;padding-block:3.6rem}
.closing-wordmark{font:400 clamp(150px,46vw,210px)/.82 var(--font-family-imbue);letter-spacing:-.045em}
.closing-wordmark>span{display:block;font-size:2.8rem;line-height:1.2;letter-spacing:0;margin-top:1.2rem}
.closing-signature .closing-copy{text-align:right;margin-top:1.6rem;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em;text-decoration-color:rgb(1 3 39 / 40%)}
@media(max-height:740px){.closing-wordmark{font-size:140px}.closing-signature{padding-block:2.8rem}.closing-wordmark>span{font-size:2.4rem;margin-top:.8rem}.closing-signature .closing-copy{margin-top:1rem}.closing .screen-content{gap:1.4rem}}
@media(max-height:620px){.closing-wordmark{font-size:120px}.closing-signature{padding-block:2.2rem}.closing .section-photo{height:70px}.closing .screen-content{gap:1rem}}
@media(min-height:741px){.closing .screen-content{gap:1.6rem}.closing .section-photo{max-height:140px}.closing-wordmark{font-size:clamp(150px,46vw,190px)}}

/* Opening wordmark follows the reference's large name / small subtitle hierarchy. */
.hero-heading .hero-wordmark{font-size:clamp(150px,48vw,220px);line-height:.8;letter-spacing:-.045em;text-align:center;margin-bottom:2rem}
.hero-wordmark>span{display:block;font-size:2.6rem;line-height:1.2;letter-spacing:0;margin-top:1rem}
@media(max-height:860px){.concept .screen-content{gap:1rem}.hero-heading .hero-wordmark{font-size:125px;margin-bottom:1.2rem}.hero-wordmark>span{font-size:2.2rem;margin-top:.6rem}.concept .hero-signature{display:none}}
@media(max-height:620px){.hero-heading .hero-wordmark{font-size:105px;margin-bottom:.8rem}.hero-wordmark>span{font-size:1.9rem;margin-top:.4rem}}
@media(min-height:621px) and (max-height:740px){.hero-heading .hero-wordmark{font-size:150px}.concept .screen-content{gap:.6rem}.concept .prose{line-height:1.55}.concept .prose p+p{margin-top:.5em}}
@media(min-height:741px) and (max-height:860px){.hero-heading .hero-wordmark{font-size:160px}}
@media(min-height:861px) and (max-height:1020px){.concept .screen-content{gap:1rem}.concept .hero-signature{display:none}.hero-heading .hero-wordmark{font-size:200px;margin-bottom:1rem}}
@media(min-height:621px) and (max-height:740px){.concept .hero-heading{margin-top:0}}

/* Reuse the source site's horizontal/vertical arc assets for key statements. */
.arc-sides{position:relative;padding:12px 16px;margin-inline:-16px}
.arc-sides:before,.arc-sides:after{content:"";position:absolute;top:0;bottom:0;width:12px;background-repeat:no-repeat;background-position:center;background-size:100% 100%;pointer-events:none}
.arc-sides:before{left:0;background-image:url('../images/common/paren_pc_sm_l-fluid.svg')}
.arc-sides:after{right:0;background-image:url('../images/common/paren_pc_sm_r-fluid.svg')}
.passion-frame{padding-block:20px}
#growth .career-emphasis{padding-block:20px}
#growth .career-emphasis:before,#growth .career-emphasis:after{height:14px}
@media(max-height:740px){#growth .career-emphasis{padding-block:15px}#growth .career-emphasis:before,#growth .career-emphasis:after{height:10px}}

#growth .career-emphasis:before{background-image:url('../images/common/paren_sp_m_t-fluid.svg')}
#growth .career-emphasis:after{background-image:url('../images/common/paren_sp_m_b-fluid.svg')}
/* Give the work photograph a leading role without reducing the manuscript. */
#work .section-photo.circle{width:100%;height:clamp(80px,calc(100dvh - 640px),420px);max-width:none}
#work .section-photo.circle img{border-radius:50%;object-position:46% 60%}
@media(min-height:861px){#work .section-photo.circle{width:min(100%,calc(100dvh - 640px),420px);height:auto;aspect-ratio:1}}
@media(max-height:620px){#work .section-photo.circle{height:90px}}
/* Use tall screens for the team photo rather than empty outer margins. */
@media(min-height:861px){
#message .screen-content{min-height:calc(var(--page-height) - 140px);justify-content:space-between}
#message .section-photo.oval{height:min(calc(30dvh - 10px),300px)}
}
@media(min-height:861px){
#training .screen-content{min-height:calc(var(--page-height) - 140px);justify-content:space-between}
#training .feature-word{font-size:8rem}
#training .feature{padding-block:5rem}
}
@media(min-height:861px){
#training .feature{min-height:min(32dvh,360px);display:flex;align-items:center;justify-content:center;flex-direction:column}
#training .feature-word{font-size:10rem}
}

/* Modest Japanese tracking; keep display Latin, numerals and compact CTAs intact. */
.short-lead,.roles,.statement,.passion-list,.simple-list,.benefits-list,.entry-intro{letter-spacing:.02em}
.facts,.job-details,.income-row>p:not(.income-number),.income-bridge,#entry-form>label{letter-spacing:.01em}
.hero-motto,.feature-word>span{letter-spacing:.025em}
#entry-form input,#entry-form select,#entry-form textarea{letter-spacing:.015em}
/* Arc wipes reveal the original SVGs; default state remains fully visible. */
.bracket,.arc-sides{--arc-reveal:0%}
.bracket:before{clip-path:inset(0 var(--arc-reveal) 0 0)}
.bracket:after{clip-path:inset(0 0 0 var(--arc-reveal))}
.arc-sides:before{clip-path:inset(0 0 var(--arc-reveal) 0)}
.arc-sides:after{clip-path:inset(var(--arc-reveal) 0 0 0)}
.section-photo{overflow:hidden;border-radius:50%}
@media(prefers-reduced-motion:reduce){.bracket:before,.bracket:after,.arc-sides:before,.arc-sides:after{clip-path:none}}
.section-photo.oval{border-radius:9999px}

/* JS navigation owns movement; do not re-snap to an old browser snap target. */
html.bounded-scroll{scroll-snap-type:none;scroll-behavior:auto;overscroll-behavior-y:none;overflow-anchor:none}
#requirements,#duties,#schedule,#benefits,#entry{touch-action:pan-x pan-y pinch-zoom}
/* Preserve existing minimum screen sizing while allowing longer copy to grow. */
#requirements,#duties,#schedule,#benefits{height:auto;min-height:var(--page-height);max-height:none}

#entry textarea{overscroll-behavior-y:contain}

/* Generated desktop backdrop, restored at the user's request. */
@media(min-width:1024px){
html{background-color:#eef0f2;background-image:url('../images/desktop-background-v1.png');background-position:center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed}
}

/* Native gestures belong to form controls; page gestures belong to navigation. */
#entry input,#entry textarea,#entry select,#entry [contenteditable="true"]{touch-action:pan-x pan-y pinch-zoom}

/* Daito v3-style dedicated scroll viewport. Header, content width and panel
   dimensions stay unchanged; only #main owns vertical page movement. */
html,body{overflow:hidden;}
#main{height:calc(100dvh - var(--header-height));overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-width:none;scroll-behavior:auto;overflow-anchor:none;}
#main::-webkit-scrollbar{display:none;}
